2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
14 # Copyright (C) 2009-2012 Jay Freeman (saurik)
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 # Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
142 _as_can_reexec
=no
; export _as_can_reexec
;
143 # We cannot yet assume a decent shell, so we have to provide a
144 # neutralization value for shells without unset; and this also
145 # works around shells that cannot unset nonexistent variables.
146 # Preserve -v and -x to the replacement shell.
149 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
151 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157 # Admittedly, this is quite paranoid, since all the known shells bail
158 # out after a failed `exec'.
159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec
=; unset _as_can_reexec
;}
164 if test "x$CONFIG_SHELL" = x
; then
165 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
173 case \`(set -o) 2>/dev/null\` in #(
181 as_required
="as_fn_return () { (exit \$1); }
182 as_fn_success () { as_fn_return 0; }
183 as_fn_failure () { as_fn_return 1; }
184 as_fn_ret_success () { return 0; }
185 as_fn_ret_failure () { return 1; }
188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195 exitcode=1; echo positional parameters were not saved.
197 test x\$exitcode = x0 || exit 1
199 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208 PATH=/empty FPATH=/empty; export PATH FPATH
209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211 test \$(( 1 + 1 )) = 2 || exit 1"
212 if (eval "$as_required") 2>/dev
/null
; then :
217 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
229 for as_base
in sh bash ksh sh5
; do
230 # Try only shells that exist, to save several forks.
231 as_shell
=$as_dir/$as_base
232 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$as_shell as_have_required
=yes
235 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
243 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
245 CONFIG_SHELL
=$SHELL as_have_required
=yes
250 if test "x$CONFIG_SHELL" != x
; then :
252 # We cannot yet assume a decent shell, so we have to provide a
253 # neutralization value for shells without unset; and this also
254 # works around shells that cannot unset nonexistent variables.
255 # Preserve -v and -x to the replacement shell.
258 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
260 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
265 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266 # Admittedly, this is quite paranoid, since all the known shells bail
267 # out after a failed `exec'.
268 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272 if test x
$as_have_required = xno
; then :
273 $as_echo "$0: This script requires a shell more modern than all"
274 $as_echo "$0: the shells that I found on your system."
275 if test x
${ZSH_VERSION+set} = xset
; then
276 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
279 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
280 $0: about your system, including any error possibly output
281 $0: before this message. Then install a modern shell, or
282 $0: manually run the script under such a shell if you do
289 SHELL
=${CONFIG_SHELL-/bin/sh}
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE
= GREP_OPTIONS
=
293 unset CLICOLOR_FORCE GREP_OPTIONS
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
300 # Portably unset VAR.
303 { eval $1=; unset $1;}
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" || eval $as_mkdir_p || {
338 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 $as_echo X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
411 as_val
=`expr "$@" || test $? -eq 1`
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
423 as_status
=$1; test $as_status -eq 0 && as_status
=1
425 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428 $as_echo "$as_me: error: $2" >&2
429 as_fn_exit
$as_status
432 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
439 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
451 as_me
=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
470 # Avoid depending upon Character Ranges.
471 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits
='0123456789'
475 as_cr_alnum
=$as_cr_Letters$as_cr_digits
478 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
479 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498 chmod +x
"$as_me.lineno" ||
499 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec
=no
; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
509 # Exit status is that of the last command.
513 ECHO_C
= ECHO_N
= ECHO_T
=
514 case `echo -n x` in #(((((
516 case `echo 'xy\c'` in
517 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
519 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
526 rm -f conf$$ conf$$.exe conf$$.
file
527 if test -d conf$$.dir
; then
528 rm -f conf$$.dir
/conf$$.
file
531 mkdir conf$$.dir
2>/dev
/null
533 if (echo >conf$$.
file) 2>/dev
/null
; then
534 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
536 # ... but there are two gotchas:
537 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539 # In both cases, we have to default to `cp -pR'.
540 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
542 elif ln conf$$.
file conf$$
2>/dev
/null
; then
550 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
551 rmdir conf$$.dir
2>/dev
/null
553 if mkdir -p .
2>/dev
/null
; then
554 as_mkdir_p
='mkdir -p "$as_dir"'
556 test -d .
/-p && rmdir .
/-p
561 as_executable_p
=as_fn_executable_p
563 # Sed expression to map a string onto a valid CPP name.
564 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
566 # Sed expression to map a string onto a valid variable name.
567 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
569 SHELL
=${CONFIG_SHELL-/bin/sh}
572 test -n "$DJDIR" || exec 7<&0 </dev
/null
576 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577 # so uname gets run too.
578 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
583 ac_default_prefix
=/usr
/local
585 ac_config_libobj_dir
=.
592 # Identity of this package.
593 PACKAGE_NAME
='Cycript'
594 PACKAGE_TARNAME
='cycript'
595 PACKAGE_VERSION
='0.9'
596 PACKAGE_STRING
='Cycript 0.9'
597 PACKAGE_BUGREPORT
='saurik@saurik.com'
598 PACKAGE_URL
='http://www.cycript.org/'
600 ac_unique_file
="Console.cpp"
601 # Factoring default headers for most tests.
602 ac_includes_default
="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
718 am__fastdepOBJCXX_FALSE
719 am__fastdepOBJCXX_TRUE
753 INSTALL_STRIP_PROGRAM
795 program_transform_name
808 enable_option_checking
810 enable_dependency_tracking
824 ac_precious_vars
='build_alias
853 # Initialize some variables set by options.
855 ac_init_version
=false
856 ac_unrecognized_opts
=
858 # The variables have the same names as the options, with
859 # dashes changed to underlines.
867 program_transform_name
=s
,x
,x
,
875 # Installation directory options.
876 # These are left unexpanded so users can "make install exec_prefix=/foo"
877 # and all the variables that are supposed to be based on exec_prefix
878 # by default will actually change.
879 # Use braces instead of parens because sh, perl, etc. also accept them.
880 # (The list follows the same order as the GNU Coding Standards.)
881 bindir
='${exec_prefix}/bin'
882 sbindir
='${exec_prefix}/sbin'
883 libexecdir
='${exec_prefix}/libexec'
884 datarootdir
='${prefix}/share'
885 datadir
='${datarootdir}'
886 sysconfdir
='${prefix}/etc'
887 sharedstatedir
='${prefix}/com'
888 localstatedir
='${prefix}/var'
889 includedir
='${prefix}/include'
890 oldincludedir
='/usr/include'
891 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
892 infodir
='${datarootdir}/info'
897 libdir
='${exec_prefix}/lib'
898 localedir
='${datarootdir}/locale'
899 mandir
='${datarootdir}/man'
905 # If the previous option needs an argument, assign it.
906 if test -n "$ac_prev"; then
907 eval $ac_prev=\
$ac_option
913 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
918 # Accept the important Cygnus configure options, so we can diagnose typos.
920 case $ac_dashdash$ac_option in
924 -bindir | --bindir | --bindi | --bind | --bin | --bi)
926 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
929 -build | --build | --buil | --bui | --bu)
930 ac_prev
=build_alias
;;
931 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
932 build_alias
=$ac_optarg ;;
934 -cache-file | --cache-file | --cache-fil | --cache-fi \
935 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
936 ac_prev
=cache_file
;;
937 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
938 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
939 cache_file
=$ac_optarg ;;
942 cache_file
=config.cache
;;
944 -datadir | --datadir | --datadi | --datad)
946 -datadir=* | --datadir=* | --datadi=* | --datad=*)
947 datadir
=$ac_optarg ;;
949 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
950 | --dataroo | --dataro | --datar)
951 ac_prev
=datarootdir
;;
952 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
953 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
954 datarootdir
=$ac_optarg ;;
956 -disable-* | --disable-*)
957 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
960 as_fn_error $?
"invalid feature name: $ac_useropt"
961 ac_useropt_orig
=$ac_useropt
962 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 case $ac_user_opts in
967 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
968 ac_unrecognized_sep
=', ';;
970 eval enable_
$ac_useropt=no
;;
972 -docdir | --docdir | --docdi | --doc | --do)
974 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
977 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
979 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
982 -enable-* | --enable-*)
983 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
986 as_fn_error $?
"invalid feature name: $ac_useropt"
987 ac_useropt_orig
=$ac_useropt
988 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
993 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994 ac_unrecognized_sep
=', ';;
996 eval enable_
$ac_useropt=\
$ac_optarg ;;
998 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
999 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1000 | --exec | --exe | --ex)
1001 ac_prev
=exec_prefix
;;
1002 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1003 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1004 | --exec=* | --exe=* | --ex=*)
1005 exec_prefix
=$ac_optarg ;;
1007 -gas | --gas | --ga | --g)
1008 # Obsolete; use --with-gas.
1011 -help | --help | --hel | --he | -h)
1012 ac_init_help
=long
;;
1013 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1014 ac_init_help
=recursive
;;
1015 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1016 ac_init_help
=short
;;
1018 -host | --host | --hos | --ho)
1019 ac_prev
=host_alias
;;
1020 -host=* | --host=* | --hos=* | --ho=*)
1021 host_alias
=$ac_optarg ;;
1023 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1025 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1027 htmldir
=$ac_optarg ;;
1029 -includedir | --includedir | --includedi | --included | --include \
1030 | --includ | --inclu | --incl | --inc)
1031 ac_prev
=includedir
;;
1032 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1033 | --includ=* | --inclu=* | --incl=* | --inc=*)
1034 includedir
=$ac_optarg ;;
1036 -infodir | --infodir | --infodi | --infod | --info | --inf)
1038 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1039 infodir
=$ac_optarg ;;
1041 -libdir | --libdir | --libdi | --libd)
1043 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1044 libdir
=$ac_optarg ;;
1046 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1047 | --libexe | --libex | --libe)
1048 ac_prev
=libexecdir
;;
1049 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1050 | --libexe=* | --libex=* | --libe=*)
1051 libexecdir
=$ac_optarg ;;
1053 -localedir | --localedir | --localedi | --localed | --locale)
1054 ac_prev
=localedir
;;
1055 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1056 localedir
=$ac_optarg ;;
1058 -localstatedir | --localstatedir | --localstatedi | --localstated \
1059 | --localstate | --localstat | --localsta | --localst | --locals)
1060 ac_prev
=localstatedir
;;
1061 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1062 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1063 localstatedir
=$ac_optarg ;;
1065 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1067 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1068 mandir
=$ac_optarg ;;
1070 -nfp | --nfp | --nf)
1071 # Obsolete; use --without-fp.
1074 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1075 | --no-cr | --no-c | -n)
1078 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1079 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1082 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1083 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1084 | --oldin | --oldi | --old | --ol | --o)
1085 ac_prev
=oldincludedir
;;
1086 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1087 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1088 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1089 oldincludedir
=$ac_optarg ;;
1091 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1093 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1094 prefix
=$ac_optarg ;;
1096 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1097 | --program-pre | --program-pr | --program-p)
1098 ac_prev
=program_prefix
;;
1099 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1100 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1101 program_prefix
=$ac_optarg ;;
1103 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1104 | --program-suf | --program-su | --program-s)
1105 ac_prev
=program_suffix
;;
1106 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1107 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1108 program_suffix
=$ac_optarg ;;
1110 -program-transform-name | --program-transform-name \
1111 | --program-transform-nam | --program-transform-na \
1112 | --program-transform-n | --program-transform- \
1113 | --program-transform | --program-transfor \
1114 | --program-transfo | --program-transf \
1115 | --program-trans | --program-tran \
1116 | --progr-tra | --program-tr | --program-t)
1117 ac_prev
=program_transform_name
;;
1118 -program-transform-name=* | --program-transform-name=* \
1119 | --program-transform-nam=* | --program-transform-na=* \
1120 | --program-transform-n=* | --program-transform-=* \
1121 | --program-transform=* | --program-transfor=* \
1122 | --program-transfo=* | --program-transf=* \
1123 | --program-trans=* | --program-tran=* \
1124 | --progr-tra=* | --program-tr=* | --program-t=*)
1125 program_transform_name
=$ac_optarg ;;
1127 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1129 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1130 pdfdir
=$ac_optarg ;;
1132 -psdir | --psdir | --psdi | --psd | --ps)
1134 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138 | -silent | --silent | --silen | --sile | --sil)
1141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1145 sbindir
=$ac_optarg ;;
1147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1149 | --sharedst | --shareds | --shared | --share | --shar \
1151 ac_prev
=sharedstatedir
;;
1152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1156 sharedstatedir
=$ac_optarg ;;
1158 -site | --site | --sit)
1160 -site=* | --site=* | --sit=*)
1163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1166 srcdir
=$ac_optarg ;;
1168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1169 | --syscon | --sysco | --sysc | --sys | --sy)
1170 ac_prev
=sysconfdir
;;
1171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1173 sysconfdir
=$ac_optarg ;;
1175 -target | --target | --targe | --targ | --tar | --ta | --t)
1176 ac_prev
=target_alias
;;
1177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1178 target_alias
=$ac_optarg ;;
1180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1183 -version | --version | --versio | --versi | --vers | -V)
1184 ac_init_version
=: ;;
1187 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1190 as_fn_error $?
"invalid package name: $ac_useropt"
1191 ac_useropt_orig
=$ac_useropt
1192 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1198 ac_unrecognized_sep
=', ';;
1200 eval with_
$ac_useropt=\
$ac_optarg ;;
1202 -without-* | --without-*)
1203 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1206 as_fn_error $?
"invalid package name: $ac_useropt"
1207 ac_useropt_orig
=$ac_useropt
1208 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1213 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1214 ac_unrecognized_sep
=', ';;
1216 eval with_
$ac_useropt=no
;;
1219 # Obsolete; use --with-x.
1222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1223 | --x-incl | --x-inc | --x-in | --x-i)
1224 ac_prev
=x_includes
;;
1225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1227 x_includes
=$ac_optarg ;;
1229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1231 ac_prev
=x_libraries
;;
1232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1234 x_libraries
=$ac_optarg ;;
1236 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1237 Try \`$0 --help' for more information"
1241 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1242 # Reject names that are not valid shell variable names.
1243 case $ac_envvar in #(
1244 '' | [0-9]* | *[!_$as_cr_alnum]* )
1245 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1247 eval $ac_envvar=\
$ac_optarg
1248 export $ac_envvar ;;
1251 # FIXME: should be removed in autoconf 3.0.
1252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1261 if test -n "$ac_prev"; then
1262 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1263 as_fn_error $?
"missing argument to $ac_option"
1266 if test -n "$ac_unrecognized_opts"; then
1267 case $enable_option_checking in
1269 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1274 # Check all directory arguments for consistency.
1275 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1276 datadir sysconfdir sharedstatedir localstatedir includedir \
1277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1278 libdir localedir mandir
1280 eval ac_val
=\$
$ac_var
1281 # Remove trailing slashes.
1284 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1285 eval $ac_var=\
$ac_val;;
1287 # Be sure to have absolute directory names.
1289 [\\/$
]* | ?
:[\\/]* ) continue;;
1290 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1292 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target
=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x
; then
1304 if test "x$build_alias" = x
; then
1305 cross_compiling
=maybe
1306 elif test "x$build_alias" != "x$host_alias"; then
1312 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1314 test "$silent" = yes && exec 6>/dev
/null
1317 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1318 ac_ls_di
=`ls -di .` &&
1319 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1320 as_fn_error $?
"working directory cannot be determined"
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322 as_fn_error $?
"pwd does not report name of working directory"
1325 # Find the source files, if location was not specified.
1326 if test -z "$srcdir"; then
1327 ac_srcdir_defaulted
=yes
1328 # Try the directory containing this script, then the parent directory.
1329 ac_confdir
=`$as_dirname -- "$as_myself" ||
1330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1331 X"$as_myself" : 'X\(//\)[^/]' \| \
1332 X"$as_myself" : 'X\(//\)$' \| \
1333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1334 $as_echo X"$as_myself" |
1335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1353 if test ! -r "$srcdir/$ac_unique_file"; then
1357 ac_srcdir_defaulted
=no
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1361 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1363 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1375 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 for ac_var
in $ac_precious_vars; do
1378 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1379 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1380 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1381 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1391 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking ...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1440 --htmldir=DIR html documentation [DOCDIR]
1441 --dvidir=DIR dvi documentation [DOCDIR]
1442 --pdfdir=DIR pdf documentation [DOCDIR]
1443 --psdir=DIR ps documentation [DOCDIR]
1449 --program-prefix=PREFIX prepend PREFIX to installed program names
1450 --program-suffix=SUFFIX append SUFFIX to installed program names
1451 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1454 --build=BUILD configure
for building on BUILD
[guessed
]
1455 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1459 if test -n "$ac_init_help"; then
1460 case $ac_init_help in
1461 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1466 --disable-option-checking ignore unrecognized
--enable/--with options
1467 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1468 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1469 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1470 --disable-silent-rules verbose build output
(undo
: "make V=0")
1471 --enable-dependency-tracking
1472 do not reject slow dependency extractors
1473 --disable-dependency-tracking
1474 speeds up one
-time build
1475 --enable-static[=PKGS
] build static libraries
[default
=no
]
1476 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1477 --enable-fast-install[=PKGS
]
1478 optimize
for fast installation
[default
=yes]
1479 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1480 --enable-javascript[=ENGINE
]
1481 use a JavaScript runtime
(currently the only
1482 available option
for ENGINE is JavaScriptCore
)
1484 --disable-rpath do not hardcode runtime library paths
1487 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1488 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1489 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1491 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1492 --with-sysroot=DIR Search
for dependent libraries within DIR
1493 (or the compiler
's sysroot if not specified).
1494 --with-frameworks=DIRS add to DIRS (space separated) to the Darwin include
1495 path for frameworks with -F
1496 --with-apr=PATH prefix for installed APR or the full path to
1498 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1499 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1500 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1502 Some influential environment variables
:
1503 CXX C
++ compiler
command
1504 CXXFLAGS C
++ compiler flags
1505 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1506 nonstandard directory
<lib dir
>
1507 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1508 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1509 you have headers
in a nonstandard directory
<include dir
>
1510 OBJCXX Objective C
++ compiler
command
1511 OBJCXXFLAGS Objective C
++ compiler flags
1512 CC C compiler
command
1513 CFLAGS C compiler flags
1515 CXXCPP C
++ preprocessor
1516 PKG_CONFIG path to pkg
-config utility
1518 directories to add to pkg
-config's search path
1520 path overriding pkg-config's built
-in search path
1521 BISON GNU Project parser generator
(yacc replacement
)
1522 FLEX the fast lexical analyser generator
1523 GPERF perfect
hash function generator
1524 GNUTAR a very sticky lump of files
1526 C compiler flags
for WEBKIT
, overriding pkg
-config
1527 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
1529 C compiler flags
for LIBFFI
, overriding pkg
-config
1530 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
1532 prints information about the current gnustep installation
1534 Use these variables to override the choices made by
`configure' or to help
1535 it to find libraries and programs with nonstandard names/locations.
1537 Report bugs to <saurik@saurik.com>.
1538 Cycript home page: <http://www.cycript.org/>.
1543 if test "$ac_init_help" = "recursive"; then
1544 # If there are subdirs, report their specific --help.
1545 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1546 test -d "$ac_dir" ||
1547 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1552 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1555 # A ".." for each directory in $ac_dir_suffix.
1556 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1557 case $ac_top_builddir_sub in
1558 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1559 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1562 ac_abs_top_builddir=$ac_pwd
1563 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1564 # for backward compatibility:
1565 ac_top_builddir=$ac_top_build_prefix
1568 .) # We are building in place.
1570 ac_top_srcdir=$ac_top_builddir_sub
1571 ac_abs_top_srcdir=$ac_pwd ;;
1572 [\\/]* | ?:[\\/]* ) # Absolute name.
1573 ac_srcdir=$srcdir$ac_dir_suffix;
1574 ac_top_srcdir=$srcdir
1575 ac_abs_top_srcdir=$srcdir ;;
1577 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1578 ac_top_srcdir=$ac_top_build_prefix$srcdir
1579 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1581 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1583 cd "$ac_dir" || { ac_status=$?; continue; }
1584 # Check for guested configure.
1585 if test -f "$ac_srcdir/configure.gnu"; then
1587 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1588 elif test -f "$ac_srcdir/configure"; then
1590 $SHELL "$ac_srcdir/configure" --help=recursive
1592 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1594 cd "$ac_pwd" || { ac_status=$?; break; }
1598 test -n "$ac_init_help" && exit $ac_status
1599 if $ac_init_version; then
1601 Cycript configure 0.9
1602 generated by GNU Autoconf 2.69
1604 Copyright (C) 2012 Free Software Foundation, Inc.
1605 This configure script is free software; the Free Software Foundation
1606 gives unlimited permission to copy, distribute and modify it.
1608 Copyright (C) 2009-2012 Jay Freeman (saurik)
1613 ## ------------------------ ##
1614 ## Autoconf initialization. ##
1615 ## ------------------------ ##
1617 # ac_fn_cxx_try_compile LINENO
1618 # ----------------------------
1619 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1620 ac_fn_cxx_try_compile ()
1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 rm -f conftest.$ac_objext
1624 if { { ac_try="$ac_compile"
1626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1627 *) ac_try_echo
=$ac_try;;
1629 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_compile") 2>conftest.err
1633 if test -s conftest.err
; then
1634 grep -v '^ *+' conftest.err
>conftest.er1
1635 cat conftest.er1
>&5
1636 mv -f conftest.er1 conftest.err
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; } && {
1640 test -z "$ac_cxx_werror_flag" ||
1641 test ! -s conftest.err
1642 } && test -s conftest.
$ac_objext; then :
1645 $as_echo "$as_me: failed program was:" >&5
1646 sed 's/^/| /' conftest.
$ac_ext >&5
1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 as_fn_set_status
$ac_retval
1653 } # ac_fn_cxx_try_compile
1655 # ac_fn_objcxx_try_compile LINENO
1656 # -------------------------------
1657 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1658 ac_fn_objcxx_try_compile
()
1660 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1661 rm -f conftest.
$ac_objext
1662 if { { ac_try
="$ac_compile"
1664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_compile") 2>conftest.err
1671 if test -s conftest.err; then
1672 grep -v '^ *+' conftest.err >conftest.er1
1673 cat conftest.er1 >&5
1674 mv -f conftest.er1 conftest.err
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && {
1678 test -z "$ac_objcxx_werror_flag" ||
1679 test ! -s conftest.err
1680 } && test -s conftest.$ac_objext; then :
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.$ac_ext >&5
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status $ac_retval
1691 } # ac_fn_objcxx_try_compile
1693 # ac_fn_c_try_compile LINENO
1694 # --------------------------
1695 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1696 ac_fn_c_try_compile ()
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 rm -f conftest.$ac_objext
1700 if { { ac_try="$ac_compile"
1702 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1703 *) ac_try_echo
=$ac_try;;
1705 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_compile") 2>conftest.err
1709 if test -s conftest.err
; then
1710 grep -v '^ *+' conftest.err
>conftest.er1
1711 cat conftest.er1
>&5
1712 mv -f conftest.er1 conftest.err
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_c_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest.
$ac_objext; then :
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.
$ac_ext >&5
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status
$ac_retval
1729 } # ac_fn_c_try_compile
1731 # ac_fn_c_try_link LINENO
1732 # -----------------------
1733 # Try to link conftest.$ac_ext, and return whether this succeeded.
1736 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1737 rm -f conftest.
$ac_objext conftest
$ac_exeext
1738 if { { ac_try
="$ac_link"
1740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1741 *) ac_try_echo=$ac_try;;
1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_link") 2>conftest.err
1747 if test -s conftest.err; then
1748 grep -v '^ *+' conftest.err >conftest.er1
1749 cat conftest.er1 >&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } && {
1754 test -z "$ac_c_werror_flag" ||
1755 test ! -s conftest.err
1756 } && test -s conftest$ac_exeext && {
1757 test "$cross_compiling" = yes ||
1758 test -x conftest$ac_exeext
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.$ac_ext >&5
1767 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1768 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1769 # interfere with the next link command; also delete a directory that is
1770 # left behind by Apple's compiler. We do this before executing the actions.
1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status $ac_retval
1775 } # ac_fn_c_try_link
1777 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1778 # -------------------------------------------------------
1779 # Tests whether HEADER exists and can be compiled using the include files in
1780 # INCLUDES, setting the cache variable VAR accordingly.
1781 ac_fn_c_check_header_compile ()
1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \${$3+:} false; then :
1787 $as_echo_n "(cached) " >&6
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_c_try_compile "$LINENO"; then :
1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 } # ac_fn_c_check_header_compile
1808 # ac_fn_c_try_cpp LINENO
1809 # ----------------------
1810 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 if { { ac_try="$ac_cpp conftest.$ac_ext"
1816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1817 *) ac_try_echo
=$ac_try;;
1819 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1823 if test -s conftest.err
; then
1824 grep -v '^ *+' conftest.err
>conftest.er1
1825 cat conftest.er1
>&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } > conftest.i
&& {
1830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1831 test ! -s conftest.err
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.
$ac_ext >&5
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status
$ac_retval
1845 # ac_fn_c_try_run LINENO
1846 # ----------------------
1847 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1848 # that executables *can* be run.
1851 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1852 if { { ac_try
="$ac_link"
1854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1855 *) ac_try_echo=$ac_try;;
1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_link") 2>&5
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1863 { { case "(($ac_try" in
1864 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1865 *) ac_try_echo
=$ac_try;;
1867 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_try") 2>&5
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; }; }; then :
1875 $as_echo "$as_me: program exited with status $ac_status" >&5
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.
$ac_ext >&5
1879 ac_retval
=$ac_status
1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 as_fn_set_status
$ac_retval
1887 # ac_fn_c_check_func LINENO FUNC VAR
1888 # ----------------------------------
1889 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1890 ac_fn_c_check_func
()
1892 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \
${$3+:} false
; then :
1896 $as_echo_n "(cached) " >&6
1898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1900 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1902 #define $2 innocuous_$2
1904 /* System header to define __stub macros and hopefully few prototypes,
1905 which can conflict with char $2 (); below.
1906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1907 <limits.h> exists even on freestanding compilers. */
1910 # include <limits.h>
1912 # include <assert.h>
1917 /* Override any GCC internal prototype to avoid an error.
1918 Use char because int might match the return type of a GCC
1919 builtin and then its argument prototype would still apply. */
1924 /* The GNU C library defines this for functions which it implements
1925 to always fail with ENOSYS. Some functions are actually named
1926 something starting with __ and the normal name is an alias. */
1927 #if defined __stub_$2 || defined __stub___$2
1939 if ac_fn_c_try_link
"$LINENO"; then :
1944 rm -f core conftest.err conftest.
$ac_objext \
1945 conftest
$ac_exeext conftest.
$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 } # ac_fn_c_check_func
1954 # ac_fn_cxx_try_cpp LINENO
1955 # ------------------------
1956 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1957 ac_fn_cxx_try_cpp
()
1959 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1960 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1969 if test -s conftest.err; then
1970 grep -v '^ *+' conftest.err >conftest.er1
1971 cat conftest.er1 >&5
1972 mv -f conftest.er1 conftest.err
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } > conftest.i && {
1976 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1977 test ! -s conftest.err
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.$ac_ext >&5
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987 as_fn_set_status $ac_retval
1989 } # ac_fn_cxx_try_cpp
1991 # ac_fn_cxx_try_link LINENO
1992 # -------------------------
1993 # Try to link conftest.$ac_ext, and return whether this succeeded.
1994 ac_fn_cxx_try_link ()
1996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1997 rm -f conftest.$ac_objext conftest$ac_exeext
1998 if { { ac_try="$ac_link"
2000 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2001 *) ac_try_echo
=$ac_try;;
2003 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_link") 2>conftest.err
2007 if test -s conftest.err
; then
2008 grep -v '^ *+' conftest.err
>conftest.er1
2009 cat conftest.er1
>&5
2010 mv -f conftest.er1 conftest.err
2012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2013 test $ac_status = 0; } && {
2014 test -z "$ac_cxx_werror_flag" ||
2015 test ! -s conftest.err
2016 } && test -s conftest
$ac_exeext && {
2017 test "$cross_compiling" = yes ||
2018 test -x conftest
$ac_exeext
2022 $as_echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.
$ac_ext >&5
2027 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2028 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2029 # interfere with the next link command; also delete a directory that is
2030 # left behind by Apple's compiler. We do this before executing the actions.
2031 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2032 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 as_fn_set_status
$ac_retval
2035 } # ac_fn_cxx_try_link
2037 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2038 # ---------------------------------------------------------
2039 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2040 # the include files in INCLUDES and setting the cache variable VAR
2042 ac_fn_cxx_check_header_mongrel
()
2044 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2045 if eval \
${$3+:} false
; then :
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2047 $as_echo_n "checking for $2... " >&6; }
2048 if eval \
${$3+:} false
; then :
2049 $as_echo_n "(cached) " >&6
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2055 # Is the header compilable?
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2057 $as_echo_n "checking $2 usability... " >&6; }
2058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h. */
2063 if ac_fn_cxx_try_compile
"$LINENO"; then :
2064 ac_header_compiler
=yes
2066 ac_header_compiler
=no
2068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2070 $as_echo "$ac_header_compiler" >&6; }
2072 # Is the header present?
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2074 $as_echo_n "checking $2 presence... " >&6; }
2075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2079 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2080 ac_header_preproc
=yes
2082 ac_header_preproc
=no
2084 rm -f conftest.err conftest.i conftest.
$ac_ext
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2086 $as_echo "$ac_header_preproc" >&6; }
2088 # So? What about this header?
2089 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2092 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2098 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2100 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2102 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2104 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2107 ( $as_echo "## -------------------------------- ##
2108 ## Report this to saurik@saurik.com ##
2109 ## -------------------------------- ##"
2110 ) | sed "s/^/$as_me: WARNING: /" >&2
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if eval \
${$3+:} false
; then :
2116 $as_echo_n "(cached) " >&6
2118 eval "$3=\$ac_header_compiler"
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122 $as_echo "$ac_res" >&6; }
2124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2126 } # ac_fn_cxx_check_header_mongrel
2128 # ac_fn_objcxx_try_link LINENO
2129 # ----------------------------
2130 # Try to link conftest.$ac_ext, and return whether this succeeded.
2131 ac_fn_objcxx_try_link
()
2133 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2134 rm -f conftest.
$ac_objext conftest
$ac_exeext
2135 if { { ac_try
="$ac_link"
2137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2138 *) ac_try_echo=$ac_try;;
2140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2141 $as_echo "$ac_try_echo"; } >&5
2142 (eval "$ac_link") 2>conftest.err
2144 if test -s conftest.err; then
2145 grep -v '^ *+' conftest.err >conftest.er1
2146 cat conftest.er1 >&5
2147 mv -f conftest.er1 conftest.err
2149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2150 test $ac_status = 0; } && {
2151 test -z "$ac_objcxx_werror_flag" ||
2152 test ! -s conftest.err
2153 } && test -s conftest$ac_exeext && {
2154 test "$cross_compiling" = yes ||
2155 test -x conftest$ac_exeext
2159 $as_echo "$as_me: failed program was:" >&5
2160 sed 's/^/| /' conftest.$ac_ext >&5
2164 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2165 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2166 # interfere with the next link command; also delete a directory that is
2167 # left behind by Apple's compiler. We do this before executing the actions.
2168 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2170 as_fn_set_status $ac_retval
2172 } # ac_fn_objcxx_try_link
2173 cat >config.log <<_ACEOF
2174 This file contains any messages produced by compilers while
2175 running configure, to aid debugging if configure makes a mistake.
2177 It was created by Cycript $as_me 0.9, which was
2178 generated by GNU Autoconf 2.69. Invocation command line was
2190 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2191 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2192 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2193 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2194 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2196 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2197 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2199 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2200 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2201 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2202 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2203 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2204 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2205 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir=.
2214 $as_echo "PATH: $as_dir"
2230 # Keep a trace of the command line.
2231 # Strip out --no-create and --no-recursion so they do not pile up.
2232 # Strip out --silent because we don't want to record it for future runs.
2233 # Also quote any args containing shell meta-characters.
2234 # Make two passes to allow for proper duplicate-argument suppression.
2238 ac_must_keep_next=false
2244 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2246 | -silent | --silent | --silen | --sile | --sil)
2249 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2252 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2254 as_fn_append ac_configure_args1 " '$ac_arg'"
2255 if test $ac_must_keep_next = true; then
2256 ac_must_keep_next=false # Got value, back to normal.
2259 *=* | --config-cache | -C | -disable-* | --disable-* \
2260 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2261 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2262 | -with-* | --with-* | -without-* | --without-* | --x)
2263 case "$ac_configure_args0 " in
2264 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2267 -* ) ac_must_keep_next=true ;;
2270 as_fn_append ac_configure_args " '$ac_arg'"
2275 { ac_configure_args0=; unset ac_configure_args0;}
2276 { ac_configure_args1=; unset ac_configure_args1;}
2278 # When interrupted or exit'd, cleanup temporary files, and complete
2279 # config.log. We remove comments because anyway the quotes in there
2280 # would cause problems or look ugly.
2281 # WARNING: Use '\'' to represent an apostrophe within the trap.
2282 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2283 trap 'exit_status=$?
2284 # Save into config.log some information that might help in debugging.
2288 $as_echo "## ---------------- ##
2289 ## Cache variables. ##
2290 ## ---------------- ##"
2292 # The following way of writing the cache mishandles newlines in values,
2294 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2295 eval ac_val=\$$ac_var
2299 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2300 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2303 _ | IFS | as_nl) ;; #(
2304 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2305 *) { eval $ac_var=; unset $ac_var;} ;;
2310 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2311 *${as_nl}ac_space=\ *)
2313 "s/'\''/'\''\\\\'\'''\''/g;
2314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2317 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2324 $as_echo "## ----------------- ##
2325 ## Output variables. ##
2326 ## ----------------- ##"
2328 for ac_var in $ac_subst_vars
2330 eval ac_val=\$$ac_var
2332 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2334 $as_echo "$ac_var='\''$ac_val'\''"
2338 if test -n "$ac_subst_files"; then
2339 $as_echo "## ------------------- ##
2340 ## File substitutions. ##
2341 ## ------------------- ##"
2343 for ac_var in $ac_subst_files
2345 eval ac_val=\$$ac_var
2347 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2349 $as_echo "$ac_var='\''$ac_val'\''"
2354 if test -s confdefs.h; then
2355 $as_echo "## ----------- ##
2362 test "$ac_signal" != 0 &&
2363 $as_echo "$as_me: caught signal $ac_signal"
2364 $as_echo "$as_me: exit $exit_status"
2366 rm -f core *.core core.conftest.* &&
2367 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2370 for ac_signal in 1 2 13 15; do
2371 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2375 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2376 rm -f -r conftest* confdefs.h
2378 $as_echo "/* confdefs.h */" > confdefs.h
2380 # Predefined preprocessor variables.
2382 cat >>confdefs.h <<_ACEOF
2383 #define PACKAGE_NAME "$PACKAGE_NAME"
2386 cat >>confdefs.h <<_ACEOF
2387 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2390 cat >>confdefs.h <<_ACEOF
2391 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2394 cat >>confdefs.h <<_ACEOF
2395 #define PACKAGE_STRING "$PACKAGE_STRING"
2398 cat >>confdefs.h <<_ACEOF
2399 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2402 cat >>confdefs.h <<_ACEOF
2403 #define PACKAGE_URL "$PACKAGE_URL"
2407 # Let the site file select an alternate cache file if it wants to.
2408 # Prefer an explicitly selected file to automatically selected ones.
2411 if test -n "$CONFIG_SITE"; then
2412 # We do not want a PATH search for config.site.
2413 case $CONFIG_SITE in #((
2414 -*) ac_site_file1=./$CONFIG_SITE;;
2415 */*) ac_site_file1=$CONFIG_SITE;;
2416 *) ac_site_file1=./$CONFIG_SITE;;
2418 elif test "x$prefix" != xNONE; then
2419 ac_site_file1=$prefix/share/config.site
2420 ac_site_file2=$prefix/etc/config.site
2422 ac_site_file1=$ac_default_prefix/share/config.site
2423 ac_site_file2=$ac_default_prefix/etc/config.site
2425 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2427 test "x$ac_site_file" = xNONE && continue
2428 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2430 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2431 sed 's/^/| /' "$ac_site_file" >&5
2433 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 as_fn_error $? "failed to load site
script $ac_site_file
2436 See \
`config.log' for more details" "$LINENO" 5; }
2440 if test -r "$cache_file"; then
2441 # Some versions of bash will fail to source /dev/null (special files
2442 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2443 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2445 $as_echo "$as_me: loading cache $cache_file" >&6;}
2447 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2448 *) . "./$cache_file";;
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2453 $as_echo "$as_me: creating cache $cache_file" >&6;}
2457 # Check that the precious variables saved in the cache have kept the same
2459 ac_cache_corrupted=false
2460 for ac_var in $ac_precious_vars; do
2461 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2462 eval ac_new_set=\$ac_env_${ac_var}_set
2463 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2464 eval ac_new_val=\$ac_env_${ac_var}_value
2465 case $ac_old_set,$ac_new_set in
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2468 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2469 ac_cache_corrupted=: ;;
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2472 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2473 ac_cache_corrupted=: ;;
2476 if test "x$ac_old_val" != "x$ac_new_val"; then
2477 # differences in whitespace do not lead to failure.
2478 ac_old_val_w=`echo x
$ac_old_val`
2479 ac_new_val_w=`echo x
$ac_new_val`
2480 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2482 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2483 ac_cache_corrupted=:
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2486 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2487 eval $ac_var=\$ac_old_val
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2490 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2492 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2495 # Pass precious variables to config.status.
2496 if test "$ac_new_set" = set; then
2498 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2499 *) ac_arg=$ac_var=$ac_new_val ;;
2501 case " $ac_configure_args " in
2502 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2503 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2507 if $ac_cache_corrupted; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2511 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2512 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2514 ## -------------------- ##
2515 ## Main body of script. ##
2516 ## -------------------- ##
2519 ac_cpp='$CPP $CPPFLAGS'
2520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2529 for ac_dir in . "$srcdir"/.; do
2530 if test -f "$ac_dir/install-sh"; then
2532 ac_install_sh="$ac_aux_dir/install-sh -c"
2534 elif test -f "$ac_dir/install.sh"; then
2536 ac_install_sh="$ac_aux_dir/install.sh -c"
2538 elif test -f "$ac_dir/shtool"; then
2540 ac_install_sh="$ac_aux_dir/shtool install -c"
2544 if test -z "$ac_aux_dir"; then
2545 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2548 # These three variables are undocumented and unsupported,
2549 # and are intended to be withdrawn in a future Autoconf release.
2550 # They can cause serious problems if a builder's source tree is in a directory
2551 # whose full name contains unusual characters.
2552 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2553 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2554 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2559 am__api_version='1.13'
2561 # Find a good install program. We prefer a C program (faster),
2562 # so one script is as good as another. But avoid the broken or
2563 # incompatible versions:
2564 # SysV /etc/install, /usr/sbin/install
2565 # SunOS /usr/etc/install
2566 # IRIX /sbin/install
2568 # AmigaOS /C/install, which installs bootblocks on floppy discs
2569 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2570 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2571 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2572 # OS/2's system install, which has a completely different semantic
2573 # ./install, which can be erroneously created by make from ./install.sh.
2574 # Reject install programs that cannot install multiple files.
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2576 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2577 if test -z "$INSTALL"; then
2578 if ${ac_cv_path_install+:} false; then :
2579 $as_echo_n "(cached) " >&6
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir=.
2586 # Account for people who put trailing slashes in PATH elements.
2587 case $as_dir/ in #((
2588 ./ | .// | /[cC]/* | \
2589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2590 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2593 # OSF1 and SCO ODT 3.0 have their own names for install.
2594 # Don't use installbsd from OSF since it installs stuff as root
2596 for ac_prog in ginstall scoinst install; do
2597 for ac_exec_ext in '' $ac_executable_extensions; do
2598 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2599 if test $ac_prog = install &&
2600 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2601 # AIX install. It has an incompatible calling convention.
2603 elif test $ac_prog = install &&
2604 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2605 # program-specific install script used by HP pwplus--don't use.
2608 rm -rf conftest.one conftest.two conftest.dir
2609 echo one > conftest.one
2610 echo two > conftest.two
2612 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2613 test -s conftest.one && test -s conftest.two &&
2614 test -s conftest.dir/conftest.one &&
2615 test -s conftest.dir/conftest.two
2617 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2630 rm -rf conftest.one conftest.two conftest.dir
2633 if test "${ac_cv_path_install+set}" = set; then
2634 INSTALL=$ac_cv_path_install
2636 # As a last resort, use the slow shell script. Don't cache a
2637 # value for INSTALL within a source directory, because that will
2638 # break other packages using the cache if that directory is
2639 # removed, or if the value is a relative name.
2640 INSTALL=$ac_install_sh
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2644 $as_echo "$INSTALL" >&6; }
2646 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2647 # It thinks the first close brace ends the variable substitution.
2648 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2650 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2652 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2655 $as_echo_n "checking whether build environment is sane... " >&6; }
2656 # Reject unsafe characters in $srcdir or the absolute working directory
2657 # name. Accept space and tab only in the latter.
2661 *[\\\"\#\$\&\'\`$am_lf]*)
2662 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2665 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2666 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2669 # Do 'set' in a subshell so we don't clobber the current shell's
2670 # arguments. Must try -L first in case configure is actually a
2671 # symlink; some systems play weird games with the mod time of symlinks
2672 # (eg FreeBSD returns the mod time of the symlink's containing
2676 for am_try in 1 2; do
2677 echo "timestamp, slept: $am_has_slept" > conftest.file
2678 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2679 if test "$*" = "X"; then
2681 set X `ls -t "$srcdir/configure" conftest.
file`
2683 if test "$*" != "X $srcdir/configure conftest.file" \
2684 && test "$*" != "X conftest.file $srcdir/configure"; then
2686 # If neither matched, then we have a broken ls. This can happen
2687 # if, for instance, CONFIG_SHELL is bash and it inherits a
2688 # broken ls alias from the environment. This has actually
2689 # happened. Such a system could not be considered "sane".
2690 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2691 alias in your environment" "$LINENO" 5
2693 if test "$2" = conftest.file || test $am_try -eq 2; then
2700 test "$2" = conftest.file
2706 as_fn_error $? "newly created file is older than distributed files!
2707 Check your system clock" "$LINENO" 5
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2710 $as_echo "yes" >&6; }
2711 # If we didn't sleep, we still need to ensure time stamps of config.status and
2712 # generated files are strictly newer.
2714 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2721 test "$program_prefix" != NONE &&
2722 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2723 # Use a double $ so make ignores it.
2724 test "$program_suffix" != NONE &&
2725 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2726 # Double any \ or $.
2727 # By default was `s
,x
,x
', remove it if useless.
2728 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2729 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2731 # expand $ac_aux_dir to an absolute path
2732 am_aux_dir=`cd $ac_aux_dir && pwd`
2734 if test x"${MISSING+set}" != xset; then
2737 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2739 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2742 # Use eval to expand $SHELL
2743 if eval "$MISSING --is-lightweight"; then
2744 am_missing_run="$MISSING "
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2748 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2751 if test x"${install_sh}" != xset; then
2754 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2756 install_sh="\${SHELL} $am_aux_dir/install-sh"
2760 # Installed binaries are usually stripped using 'strip
' when the user
2761 # run "make install-strip". However 'strip
' might not be the right
2762 # tool to use in cross-compilation environments, therefore Automake
2763 # will honor the 'STRIP
' environment variable to overrule this program.
2764 if test "$cross_compiling" != no; then
2765 if test -n "$ac_tool_prefix"; then
2766 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2767 set dummy ${ac_tool_prefix}strip; ac_word=$2
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769 $as_echo_n "checking for $ac_word... " >&6; }
2770 if ${ac_cv_prog_STRIP+:} false; then :
2771 $as_echo_n "(cached) " >&6
2773 if test -n "$STRIP"; then
2774 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2783 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 STRIP=$ac_cv_prog_STRIP
2794 if test -n "$STRIP"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2796 $as_echo "$STRIP" >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799 $as_echo "no" >&6; }
2804 if test -z "$ac_cv_prog_STRIP"; then
2806 # Extract the first word of "strip", so it can be a program name with args.
2807 set dummy strip; ac_word=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$ac_ct_STRIP"; then
2814 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir=.
2821 for ac_exec_ext in '' $ac_executable_extensions; do
2822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2823 ac_cv_prog_ac_ct_STRIP="strip"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2834 if test -n "$ac_ct_STRIP"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2836 $as_echo "$ac_ct_STRIP" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2842 if test "x$ac_ct_STRIP" = x; then
2845 case $cross_compiling:$ac_tool_warned in
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2849 ac_tool_warned=yes ;;
2854 STRIP="$ac_cv_prog_STRIP"
2858 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2861 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2862 if test -z "$MKDIR_P"; then
2863 if ${ac_cv_path_mkdir+:} false; then :
2864 $as_echo_n "(cached) " >&6
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2870 test -z "$as_dir" && as_dir=.
2871 for ac_prog in mkdir gmkdir; do
2872 for ac_exec_ext in '' $ac_executable_extensions; do
2873 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2874 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2875 'mkdir (GNU coreutils
) '* | \
2876 'mkdir (coreutils
) '* | \
2877 'mkdir (fileutils
) '4.1*)
2878 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2888 test -d ./--version && rmdir ./--version
2889 if test "${ac_cv_path_mkdir+set}" = set; then
2890 MKDIR_P="$ac_cv_path_mkdir -p"
2892 # As a last resort, use the slow shell script. Don't cache a
2893 # value for MKDIR_P within a source directory, because that will
2894 # break other packages using the cache if that directory is
2895 # removed, or if the value is a relative name.
2896 MKDIR_P
="$ac_install_sh -d"
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2900 $as_echo "$MKDIR_P" >&6; }
2902 for ac_prog
in gawk mawk nawk
awk
2904 # Extract the first word of "$ac_prog", so it can be a program name with args.
2905 set dummy
$ac_prog; ac_word
=$2
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2907 $as_echo_n "checking for $ac_word... " >&6; }
2908 if ${ac_cv_prog_AWK+:} false
; then :
2909 $as_echo_n "(cached) " >&6
2911 if test -n "$AWK"; then
2912 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2918 test -z "$as_dir" && as_dir
=.
2919 for ac_exec_ext
in '' $ac_executable_extensions; do
2920 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2921 ac_cv_prog_AWK
="$ac_prog"
2922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2932 if test -n "$AWK"; then
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2934 $as_echo "$AWK" >&6; }
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2937 $as_echo "no" >&6; }
2941 test -n "$AWK" && break
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2945 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2947 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2948 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2949 $as_echo_n "(cached) " >&6
2951 cat >conftest.
make <<\_ACEOF
2954 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2956 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2957 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2959 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2961 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2965 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2967 $as_echo "yes" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2972 SET_MAKE
="MAKE=${MAKE-make}"
2975 rm -rf .tst
2>/dev
/null
2976 mkdir .tst
2>/dev
/null
2977 if test -d .tst
; then
2982 rmdir .tst
2>/dev
/null
2984 # Check whether --enable-silent-rules was given.
2985 if test "${enable_silent_rules+set}" = set; then :
2986 enableval
=$enable_silent_rules;
2989 case $enable_silent_rules in # (((
2990 yes) AM_DEFAULT_VERBOSITY
=0;;
2991 no
) AM_DEFAULT_VERBOSITY
=1;;
2992 *) AM_DEFAULT_VERBOSITY
=1;;
2994 am_make
=${MAKE-make}
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2996 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2997 if ${am_cv_make_support_nested_variables+:} false
; then :
2998 $as_echo_n "(cached) " >&6
3000 if $as_echo 'TRUE=$(BAR$(V))
3006 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3007 am_cv_make_support_nested_variables
=yes
3009 am_cv_make_support_nested_variables
=no
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3013 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3014 if test $am_cv_make_support_nested_variables = yes; then
3016 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3018 AM_V
=$AM_DEFAULT_VERBOSITY
3019 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3023 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3024 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3025 # is not polluted with repeated "-I."
3026 am__isrc
=' -I$(srcdir)'
3027 # test to see if srcdir already configured
3028 if test -f $srcdir/config.status
; then
3029 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3033 # test whether we have cygpath
3034 if test -z "$CYGPATH_W"; then
3035 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3036 CYGPATH_W
='cygpath -w'
3043 # Define the identity of the package.
3048 cat >>confdefs.h
<<_ACEOF
3049 #define PACKAGE "$PACKAGE"
3053 cat >>confdefs.h
<<_ACEOF
3054 #define VERSION "$VERSION"
3057 # Some tools Automake needs.
3059 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3062 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3065 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3068 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3071 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3073 # For better backward compatibility. To be removed once Automake 1.9.x
3074 # dies out for good. For more background, see:
3075 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3076 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3077 mkdir_p
='$(MKDIR_P)'
3079 # We need awk for the "check" target. The system "awk" is bad on
3081 # Always define AMTAR for backward compatibility. Yes, it's still used
3082 # in the wild :-( We should find a proper way to deprecate it ...
3085 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3093 ac_cpp
='$CXXCPP $CPPFLAGS'
3094 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3095 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3096 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3097 if test -z "$CXX"; then
3098 if test -n "$CCC"; then
3101 if test -n "$ac_tool_prefix"; then
3102 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3104 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3105 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107 $as_echo_n "checking for $ac_word... " >&6; }
3108 if ${ac_cv_prog_CXX+:} false
; then :
3109 $as_echo_n "(cached) " >&6
3111 if test -n "$CXX"; then
3112 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir
=.
3119 for ac_exec_ext
in '' $ac_executable_extensions; do
3120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3121 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3132 if test -n "$CXX"; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3134 $as_echo "$CXX" >&6; }
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 $as_echo "no" >&6; }
3141 test -n "$CXX" && break
3144 if test -z "$CXX"; then
3146 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3148 # Extract the first word of "$ac_prog", so it can be a program name with args.
3149 set dummy
$ac_prog; ac_word
=$2
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151 $as_echo_n "checking for $ac_word... " >&6; }
3152 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3153 $as_echo_n "(cached) " >&6
3155 if test -n "$ac_ct_CXX"; then
3156 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3162 test -z "$as_dir" && as_dir
=.
3163 for ac_exec_ext
in '' $ac_executable_extensions; do
3164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3165 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3176 if test -n "$ac_ct_CXX"; then
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3178 $as_echo "$ac_ct_CXX" >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181 $as_echo "no" >&6; }
3185 test -n "$ac_ct_CXX" && break
3188 if test "x$ac_ct_CXX" = x
; then
3191 case $cross_compiling:$ac_tool_warned in
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3195 ac_tool_warned
=yes ;;
3203 # Provide some information about the compiler.
3204 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3207 for ac_option
in --version -v -V -qversion; do
3208 { { ac_try
="$ac_compiler $ac_option >&5"
3210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3214 $as_echo "$ac_try_echo"; } >&5
3215 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3217 if test -s conftest.err; then
3219 ... rest of stderr output deleted ...
3220 10q' conftest.err >conftest.er1
3221 cat conftest.er1 >&5
3223 rm -f conftest.er1 conftest.err
3224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3225 test $ac_status = 0; }
3228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3239 ac_clean_files_save=$ac_clean_files
3240 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3241 # Try to create an executable without -o first, disregard a.out.
3242 # It will help us diagnose broken compilers, and finding out an intuition
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3245 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3246 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3248 # The possible output files:
3249 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3252 for ac_file in $ac_files
3255 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3256 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3261 if { { ac_try="$ac_link_default"
3263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3264 *) ac_try_echo
=$ac_try;;
3266 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3267 $as_echo "$ac_try_echo"; } >&5
3268 (eval "$ac_link_default") 2>&5
3270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3271 test $ac_status = 0; }; then :
3272 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3273 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3274 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3275 # so that the user can short-circuit this test for compilers unknown to
3277 for ac_file
in $ac_files ''
3279 test -f "$ac_file" || continue
3281 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3284 # We found the default executable, but exeext='' is most
3288 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3290 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3292 # We set ac_cv_exeext here because the later test for it is not
3293 # safe: cross compilers may not add the suffix if given an `-o'
3294 # argument, so we may need to know it at that point already.
3295 # Even if this section looks crufty: it has the advantage of
3302 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3307 if test -z "$ac_file"; then :
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309 $as_echo "no" >&6; }
3310 $as_echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.
$ac_ext >&5
3313 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3315 as_fn_error
77 "C++ compiler cannot create executables
3316 See \`config.log' for more details" "$LINENO" 5; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3319 $as_echo "yes" >&6; }
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3322 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3324 $as_echo "$ac_file" >&6; }
3325 ac_exeext
=$ac_cv_exeext
3327 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3328 ac_clean_files
=$ac_clean_files_save
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3330 $as_echo_n "checking for suffix of executables... " >&6; }
3331 if { { ac_try
="$ac_link"
3333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3337 $as_echo "$ac_try_echo"; } >&5
3338 (eval "$ac_link") 2>&5
3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341 test $ac_status = 0; }; then :
3342 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3343 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3344 # work properly (i.e., refer to `conftest.exe'), while it won't with
3346 for ac_file
in conftest.exe conftest conftest.
*; do
3347 test -f "$ac_file" || continue
3349 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3350 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3359 See \`config.log' for more details" "$LINENO" 5; }
3361 rm -f conftest conftest
$ac_cv_exeext
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3363 $as_echo "$ac_cv_exeext" >&6; }
3365 rm -f conftest.
$ac_ext
3366 EXEEXT
=$ac_cv_exeext
3368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3374 FILE *f = fopen ("conftest.out", "w");
3375 return ferror (f) || fclose (f) != 0;
3381 ac_clean_files
="$ac_clean_files conftest.out"
3382 # Check that the compiler produces executables we can run. If not, either
3383 # the compiler is broken, or we cross compile.
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3385 $as_echo_n "checking whether we are cross compiling... " >&6; }
3386 if test "$cross_compiling" != yes; then
3387 { { ac_try
="$ac_link"
3389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3390 *) ac_try_echo=$ac_try;;
3392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3393 $as_echo "$ac_try_echo"; } >&5
3394 (eval "$ac_link") 2>&5
3396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3397 test $ac_status = 0; }
3398 if { ac_try='./conftest$ac_cv_exeext'
3399 { { case "(($ac_try" in
3400 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3401 *) ac_try_echo
=$ac_try;;
3403 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3404 $as_echo "$ac_try_echo"; } >&5
3405 (eval "$ac_try") 2>&5
3407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3408 test $ac_status = 0; }; }; then
3411 if test "$cross_compiling" = maybe
; then
3414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3416 as_fn_error $?
"cannot run C++ compiled programs.
3417 If you meant to cross compile, use \`--host'.
3418 See \`config.log' for more details" "$LINENO" 5; }
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3423 $as_echo "$cross_compiling" >&6; }
3425 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3426 ac_clean_files
=$ac_clean_files_save
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3428 $as_echo_n "checking for suffix of object files... " >&6; }
3429 if ${ac_cv_objext+:} false
; then :
3430 $as_echo_n "(cached) " >&6
3432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3443 rm -f conftest.o conftest.obj
3444 if { { ac_try
="$ac_compile"
3446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3447 *) ac_try_echo=$ac_try;;
3449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3450 $as_echo "$ac_try_echo"; } >&5
3451 (eval "$ac_compile") 2>&5
3453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3454 test $ac_status = 0; }; then :
3455 for ac_file in conftest.o conftest.obj conftest.*; do
3456 test -f "$ac_file" || continue;
3458 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3459 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3464 $as_echo "$as_me: failed program was:" >&5
3465 sed 's/^/| /' conftest.$ac_ext >&5
3467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3470 See \
`config.log' for more details" "$LINENO" 5; }
3472 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3475 $as_echo "$ac_cv_objext" >&6; }
3476 OBJEXT=$ac_cv_objext
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3479 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3480 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3481 $as_echo_n "(cached) " >&6
3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h. */
3497 if ac_fn_cxx_try_compile "$LINENO"; then :
3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3507 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3508 if test $ac_compiler_gnu = yes; then
3513 ac_test_CXXFLAGS=${CXXFLAGS+set}
3514 ac_save_CXXFLAGS=$CXXFLAGS
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3516 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3517 if ${ac_cv_prog_cxx_g+:} false; then :
3518 $as_echo_n "(cached) " >&6
3520 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3521 ac_cxx_werror_flag=yes
3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525 /* end confdefs.h. */
3535 if ac_fn_cxx_try_compile "$LINENO"; then :
3536 ac_cv_prog_cxx_g=yes
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3550 if ac_fn_cxx_try_compile "$LINENO"; then :
3553 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3566 if ac_fn_cxx_try_compile "$LINENO"; then :
3567 ac_cv_prog_cxx_g=yes
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3574 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3577 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3578 if test "$ac_test_CXXFLAGS" = set; then
3579 CXXFLAGS=$ac_save_CXXFLAGS
3580 elif test $ac_cv_prog_cxx_g = yes; then
3581 if test "$GXX" = yes; then
3587 if test "$GXX" = yes; then
3594 ac_cpp='$CPP $CPPFLAGS'
3595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3598 DEPDIR="${am__leading_dot}deps"
3600 ac_config_commands="$ac_config_commands depfiles"
3603 am_make=${MAKE-make}
3604 cat > confinc << 'END'
3606 @echo this is the am__doit target
3609 # If we don't find an include directive, just comment out the code.
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3611 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3615 # First try GNU make style include.
3616 echo "include confinc" > confmf
3617 # Ignore all kinds of additional output from 'make'.
3618 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3619 *the\ am__doit\ target*)
3625 # Now try BSD make style include.
3626 if test "$am__include" = "#"; then
3627 echo '.include "confinc"' > confmf
3628 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3629 *the\ am__doit\ target*)
3630 am__include=.include
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3639 $as_echo "$_am_result" >&6; }
3640 rm -f confinc confmf
3642 # Check whether --enable-dependency-tracking was given.
3643 if test "${enable_dependency_tracking+set}" = set; then :
3644 enableval=$enable_dependency_tracking;
3647 if test "x$enable_dependency_tracking" != xno; then
3648 am_depcomp="$ac_aux_dir/depcomp"
3652 if test "x$enable_dependency_tracking" != xno; then
3662 depcc="$CXX" am_compiler_list=
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3665 $as_echo_n "checking dependency style of $depcc... " >&6; }
3666 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3667 $as_echo_n "(cached) " >&6
3669 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3670 # We make a subdir and do the tests there. Otherwise we can end up
3671 # making bogus files that we don't know about and never remove. For
3672 # instance it was reported that on HP-UX the gcc test will end up
3673 # making a dummy file named 'D' -- because '-MD' means "put the output
3677 # Copy depcomp to subdir because otherwise we won't find it if we're
3678 # using a relative directory.
3679 cp "$am_depcomp" conftest.dir
3681 # We will build objects and dependencies in a subdirectory because
3682 # it helps to detect inapplicable dependency modes. For instance
3683 # both Tru64's cc and ICC support -MD to output dependencies as a
3684 # side effect of compilation, but ICC will put the dependencies in
3685 # the current directory while Tru64 will put them in the object
3689 am_cv_CXX_dependencies_compiler_type=none
3690 if test "$am_compiler_list" = ""; then
3691 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3694 case " $depcc " in #(
3695 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3698 for depmode in $am_compiler_list; do
3699 # Setup a source with many dependencies, because some compilers
3700 # like to wrap large dependency lists on column 80 (with \), and
3701 # we should not choose a depcomp mode which is confused by this.
3703 # We need to recreate these files for each test, as the compiler may
3704 # overwrite some of them when testing with obscure command lines.
3705 # This happens at least with the AIX C compiler.
3707 for i in 1 2 3 4 5 6; do
3708 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3709 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3710 # Solaris 10 /bin/sh.
3711 echo '/* dummy */' > sub/conftst$i.h
3713 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3715 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3716 # mode. It turns out that the SunPro C++ compiler does not properly
3717 # handle '-M -o', and we need to detect this. Also, some Intel
3718 # versions had trouble with output in subdirs.
3719 am__obj=sub/conftest.${OBJEXT-o}
3720 am__minus_obj="-o $am__obj"
3723 # This depmode causes a compiler race in universal mode.
3724 test "$am__universal" = false || continue
3727 # After this tag, mechanisms are not by side-effect, so they'll
3728 # only be used when explicitly requested.
3729 if test "x$enable_dependency_tracking" = xyes; then
3735 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3736 # This compiler won't grok '-c -o', but also, the minuso test has
3737 # not run yet. These depmodes are late enough in the game, and
3738 # so weak that their functioning should not be impacted.
3739 am__obj=conftest.${OBJEXT-o}
3744 if depmode=$depmode \
3745 source=sub/conftest.c object=$am__obj \
3746 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3747 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3748 >/dev/null 2>conftest.err &&
3749 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3750 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3751 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3752 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3753 # icc doesn't choke on unknown options, it will just issue warnings
3754 # or remarks (even with -Werror). So we grep stderr for any message
3755 # that says an option was ignored or not supported.
3756 # When given -MP, icc 7.0 and 7.1 complain thusly:
3757 # icc: Command line warning: ignoring option '-M'; no argument required
3758 # The diagnosis changed in icc 8.0:
3759 # icc: Command line remark: option '-MP' not supported
3760 if (grep 'ignoring option' conftest.err ||
3761 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3762 am_cv_CXX_dependencies_compiler_type=$depmode
3771 am_cv_CXX_dependencies_compiler_type=none
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3776 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3777 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3780 test "x$enable_dependency_tracking" != xno \
3781 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3782 am__fastdepCXX_TRUE=
3783 am__fastdepCXX_FALSE='#'
3785 am__fastdepCXX_TRUE='#'
3786 am__fastdepCXX_FALSE=
3791 ac_cpp='$OBJCXXCPP $CPPFLAGS'
3792 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3793 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3794 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
3795 if test -n "$ac_tool_prefix"; then
3796 for ac_prog in g++ objc++ objcxx c++ CXX
3798 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3799 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3801 $as_echo_n "checking for $ac_word... " >&6; }
3802 if ${ac_cv_prog_OBJCXX+:} false; then :
3803 $as_echo_n "(cached) " >&6
3805 if test -n "$OBJCXX"; then
3806 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
3808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 test -z "$as_dir" && as_dir=.
3813 for ac_exec_ext in '' $ac_executable_extensions; do
3814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3815 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
3816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3825 OBJCXX=$ac_cv_prog_OBJCXX
3826 if test -n "$OBJCXX"; then
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
3828 $as_echo "$OBJCXX" >&6; }
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3831 $as_echo "no" >&6; }
3835 test -n "$OBJCXX" && break
3838 if test -z "$OBJCXX"; then
3839 ac_ct_OBJCXX=$OBJCXX
3840 for ac_prog in g++ objc++ objcxx c++ CXX
3842 # Extract the first word of "$ac_prog", so it can be a program name with args.
3843 set dummy $ac_prog; ac_word=$2
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845 $as_echo_n "checking for $ac_word... " >&6; }
3846 if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then :
3847 $as_echo_n "(cached) " >&6
3849 if test -n "$ac_ct_OBJCXX"; then
3850 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 test -z "$as_dir" && as_dir=.
3857 for ac_exec_ext in '' $ac_executable_extensions; do
3858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3859 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
3870 if test -n "$ac_ct_OBJCXX"; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
3872 $as_echo "$ac_ct_OBJCXX" >&6; }
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875 $as_echo "no" >&6; }
3879 test -n "$ac_ct_OBJCXX" && break
3882 if test "x$ac_ct_OBJCXX" = x; then
3885 case $cross_compiling:$ac_tool_warned in
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3889 ac_tool_warned=yes ;;
3891 OBJCXX=$ac_ct_OBJCXX
3895 # Provide some information about the compiler.
3896 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
3899 for ac_option in --version -v -V -qversion; do
3900 { { ac_try="$ac_compiler $ac_option >&5"
3902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3903 *) ac_try_echo
=$ac_try;;
3905 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3906 $as_echo "$ac_try_echo"; } >&5
3907 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3909 if test -s conftest.err
; then
3911 ... rest of stderr output deleted ...
3912 10q' conftest.err
>conftest.er1
3913 cat conftest.er1
>&5
3915 rm -f conftest.er1 conftest.err
3916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3917 test $ac_status = 0; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
3921 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
3922 if ${ac_cv_objcxx_compiler_gnu+:} false
; then :
3923 $as_echo_n "(cached) " >&6
3925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3939 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3945 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
3949 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
3950 if test $ac_compiler_gnu = yes; then
3955 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
3956 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
3958 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
3959 if ${ac_cv_prog_objcxx_g+:} false
; then :
3960 $as_echo_n "(cached) " >&6
3962 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
3963 ac_objcxx_werror_flag
=yes
3964 ac_cv_prog_objcxx_g
=no
3966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3977 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3978 ac_cv_prog_objcxx_g
=yes
3981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h. */
3992 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3995 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
3997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4008 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4009 ac_cv_prog_objcxx_g
=yes
4011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4016 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4019 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4020 if test "$ac_test_OBJCXXFLAGS" = set; then
4021 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
4022 elif test $ac_cv_prog_objcxx_g = yes; then
4023 if test "$GOBJCXX" = yes; then
4024 OBJCXXFLAGS
="-g -O2"
4029 if test "$GOBJCXX" = yes; then
4036 ac_cpp
='$CPP $CPPFLAGS'
4037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4041 depcc
="$OBJCXX" am_compiler_list
='gcc3 gcc'
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4044 $as_echo_n "checking dependency style of $depcc... " >&6; }
4045 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false
; then :
4046 $as_echo_n "(cached) " >&6
4048 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4049 # We make a subdir and do the tests there. Otherwise we can end up
4050 # making bogus files that we don't know about and never remove. For
4051 # instance it was reported that on HP-UX the gcc test will end up
4052 # making a dummy file named 'D' -- because '-MD' means "put the output
4056 # Copy depcomp to subdir because otherwise we won't find it if we're
4057 # using a relative directory.
4058 cp "$am_depcomp" conftest.dir
4060 # We will build objects and dependencies in a subdirectory because
4061 # it helps to detect inapplicable dependency modes. For instance
4062 # both Tru64's cc and ICC support -MD to output dependencies as a
4063 # side effect of compilation, but ICC will put the dependencies in
4064 # the current directory while Tru64 will put them in the object
4068 am_cv_OBJCXX_dependencies_compiler_type
=none
4069 if test "$am_compiler_list" = ""; then
4070 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4075 for depmode
in $am_compiler_list; do
4076 # Setup a source with many dependencies, because some compilers
4077 # like to wrap large dependency lists on column 80 (with \), and
4078 # we should not choose a depcomp mode which is confused by this.
4080 # We need to recreate these files for each test, as the compiler may
4081 # overwrite some of them when testing with obscure command lines.
4082 # This happens at least with the AIX C compiler.
4084 for i
in 1 2 3 4 5 6; do
4085 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4086 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4087 # Solaris 10 /bin/sh.
4088 echo '/* dummy */' > sub
/conftst
$i.h
4090 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4092 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4093 # mode. It turns out that the SunPro C++ compiler does not properly
4094 # handle '-M -o', and we need to detect this. Also, some Intel
4095 # versions had trouble with output in subdirs.
4096 am__obj
=sub
/conftest.
${OBJEXT-o}
4097 am__minus_obj
="-o $am__obj"
4100 # This depmode causes a compiler race in universal mode.
4101 test "$am__universal" = false
|| continue
4104 # After this tag, mechanisms are not by side-effect, so they'll
4105 # only be used when explicitly requested.
4106 if test "x$enable_dependency_tracking" = xyes
; then
4112 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4113 # This compiler won't grok '-c -o', but also, the minuso test has
4114 # not run yet. These depmodes are late enough in the game, and
4115 # so weak that their functioning should not be impacted.
4116 am__obj
=conftest.
${OBJEXT-o}
4121 if depmode
=$depmode \
4122 source=sub
/conftest.c object
=$am__obj \
4123 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4124 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4125 >/dev
/null
2>conftest.err
&&
4126 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4127 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4128 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4129 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4130 # icc doesn't choke on unknown options, it will just issue warnings
4131 # or remarks (even with -Werror). So we grep stderr for any message
4132 # that says an option was ignored or not supported.
4133 # When given -MP, icc 7.0 and 7.1 complain thusly:
4134 # icc: Command line warning: ignoring option '-M'; no argument required
4135 # The diagnosis changed in icc 8.0:
4136 # icc: Command line remark: option '-MP' not supported
4137 if (grep 'ignoring option' conftest.err
||
4138 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4139 am_cv_OBJCXX_dependencies_compiler_type
=$depmode
4148 am_cv_OBJCXX_dependencies_compiler_type
=none
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4153 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4154 OBJCXXDEPMODE
=depmode
=$am_cv_OBJCXX_dependencies_compiler_type
4157 test "x$enable_dependency_tracking" != xno \
4158 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3
; then
4159 am__fastdepOBJCXX_TRUE
=
4160 am__fastdepOBJCXX_FALSE
='#'
4162 am__fastdepOBJCXX_TRUE
='#'
4163 am__fastdepOBJCXX_FALSE
=
4168 ac_cpp
='$CPP $CPPFLAGS'
4169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4172 if test -n "$ac_tool_prefix"; then
4173 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4174 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4176 $as_echo_n "checking for $ac_word... " >&6; }
4177 if ${ac_cv_prog_CC+:} false
; then :
4178 $as_echo_n "(cached) " >&6
4180 if test -n "$CC"; then
4181 ac_cv_prog_CC
="$CC" # Let the user override the test.
4183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4187 test -z "$as_dir" && as_dir
=.
4188 for ac_exec_ext
in '' $ac_executable_extensions; do
4189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4190 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 if test -n "$CC"; then
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4203 $as_echo "$CC" >&6; }
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206 $as_echo "no" >&6; }
4211 if test -z "$ac_cv_prog_CC"; then
4213 # Extract the first word of "gcc", so it can be a program name with args.
4214 set dummy gcc
; ac_word
=$2
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4216 $as_echo_n "checking for $ac_word... " >&6; }
4217 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4218 $as_echo_n "(cached) " >&6
4220 if test -n "$ac_ct_CC"; then
4221 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4227 test -z "$as_dir" && as_dir
=.
4228 for ac_exec_ext
in '' $ac_executable_extensions; do
4229 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4230 ac_cv_prog_ac_ct_CC
="gcc"
4231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4240 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4241 if test -n "$ac_ct_CC"; then
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4243 $as_echo "$ac_ct_CC" >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246 $as_echo "no" >&6; }
4249 if test "x$ac_ct_CC" = x
; then
4252 case $cross_compiling:$ac_tool_warned in
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4256 ac_tool_warned
=yes ;;
4264 if test -z "$CC"; then
4265 if test -n "$ac_tool_prefix"; then
4266 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4267 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4269 $as_echo_n "checking for $ac_word... " >&6; }
4270 if ${ac_cv_prog_CC+:} false
; then :
4271 $as_echo_n "(cached) " >&6
4273 if test -n "$CC"; then
4274 ac_cv_prog_CC
="$CC" # Let the user override the test.
4276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4280 test -z "$as_dir" && as_dir
=.
4281 for ac_exec_ext
in '' $ac_executable_extensions; do
4282 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4283 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 if test -n "$CC"; then
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4296 $as_echo "$CC" >&6; }
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4299 $as_echo "no" >&6; }
4305 if test -z "$CC"; then
4306 # Extract the first word of "cc", so it can be a program name with args.
4307 set dummy cc
; ac_word
=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if ${ac_cv_prog_CC+:} false
; then :
4311 $as_echo_n "(cached) " >&6
4313 if test -n "$CC"; then
4314 ac_cv_prog_CC
="$CC" # Let the user override the test.
4317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4321 test -z "$as_dir" && as_dir
=.
4322 for ac_exec_ext
in '' $ac_executable_extensions; do
4323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4325 ac_prog_rejected
=yes
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 if test $ac_prog_rejected = yes; then
4337 # We found a bogon in the path, so make sure we never use it.
4338 set dummy
$ac_cv_prog_CC
4340 if test $# != 0; then
4341 # We chose a different compiler from the bogus one.
4342 # However, it has the same basename, so the bogon will be chosen
4343 # first if we set CC to just the basename; use the full file name.
4345 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4351 if test -n "$CC"; then
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4353 $as_echo "$CC" >&6; }
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4356 $as_echo "no" >&6; }
4361 if test -z "$CC"; then
4362 if test -n "$ac_tool_prefix"; then
4363 for ac_prog
in cl.exe
4365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4366 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4368 $as_echo_n "checking for $ac_word... " >&6; }
4369 if ${ac_cv_prog_CC+:} false
; then :
4370 $as_echo_n "(cached) " >&6
4372 if test -n "$CC"; then
4373 ac_cv_prog_CC
="$CC" # Let the user override the test.
4375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4379 test -z "$as_dir" && as_dir
=.
4380 for ac_exec_ext
in '' $ac_executable_extensions; do
4381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4382 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 if test -n "$CC"; then
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4395 $as_echo "$CC" >&6; }
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4398 $as_echo "no" >&6; }
4402 test -n "$CC" && break
4405 if test -z "$CC"; then
4407 for ac_prog
in cl.exe
4409 # Extract the first word of "$ac_prog", so it can be a program name with args.
4410 set dummy
$ac_prog; ac_word
=$2
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4412 $as_echo_n "checking for $ac_word... " >&6; }
4413 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4414 $as_echo_n "(cached) " >&6
4416 if test -n "$ac_ct_CC"; then
4417 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4423 test -z "$as_dir" && as_dir
=.
4424 for ac_exec_ext
in '' $ac_executable_extensions; do
4425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4426 ac_cv_prog_ac_ct_CC
="$ac_prog"
4427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4437 if test -n "$ac_ct_CC"; then
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4439 $as_echo "$ac_ct_CC" >&6; }
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4442 $as_echo "no" >&6; }
4446 test -n "$ac_ct_CC" && break
4449 if test "x$ac_ct_CC" = x
; then
4452 case $cross_compiling:$ac_tool_warned in
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4456 ac_tool_warned
=yes ;;
4465 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4467 as_fn_error $?
"no acceptable C compiler found in \$PATH
4468 See \`config.log' for more details" "$LINENO" 5; }
4470 # Provide some information about the compiler.
4471 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4474 for ac_option
in --version -v -V -qversion; do
4475 { { ac_try
="$ac_compiler $ac_option >&5"
4477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4478 *) ac_try_echo=$ac_try;;
4480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4481 $as_echo "$ac_try_echo"; } >&5
4482 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4484 if test -s conftest.err; then
4486 ... rest of stderr output deleted ...
4487 10q' conftest.err >conftest.er1
4488 cat conftest.er1 >&5
4490 rm -f conftest.er1 conftest.err
4491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4492 test $ac_status = 0; }
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4496 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4497 if ${ac_cv_c_compiler_gnu+:} false; then :
4498 $as_echo_n "(cached) " >&6
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4514 if ac_fn_c_try_compile "$LINENO"; then :
4519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4520 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4524 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4525 if test $ac_compiler_gnu = yes; then
4530 ac_test_CFLAGS=${CFLAGS+set}
4531 ac_save_CFLAGS=$CFLAGS
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4533 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4534 if ${ac_cv_prog_cc_g+:} false; then :
4535 $as_echo_n "(cached) " >&6
4537 ac_save_c_werror_flag=$ac_c_werror_flag
4538 ac_c_werror_flag=yes
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4552 if ac_fn_c_try_compile "$LINENO"; then :
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4567 if ac_fn_c_try_compile "$LINENO"; then :
4570 ac_c_werror_flag=$ac_save_c_werror_flag
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4583 if ac_fn_c_try_compile "$LINENO"; then :
4586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 ac_c_werror_flag=$ac_save_c_werror_flag
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4594 $as_echo "$ac_cv_prog_cc_g" >&6; }
4595 if test "$ac_test_CFLAGS" = set; then
4596 CFLAGS=$ac_save_CFLAGS
4597 elif test $ac_cv_prog_cc_g = yes; then
4598 if test "$GCC" = yes; then
4604 if test "$GCC" = yes; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4611 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4612 if ${ac_cv_prog_cc_c89+:} false; then :
4613 $as_echo_n "(cached) " >&6
4615 ac_cv_prog_cc_c89=no
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4622 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4623 struct buf { int x; };
4624 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4625 static char *e (p, i)
4631 static char *f (char * (*g) (char **, int), char **p, ...)
4636 s = g (p, va_arg (v,int));
4641 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4642 function prototypes and stuff, but not '\xHH' hex character constants.
4643 These don't provoke an error unfortunately, instead are silently treated
4644 as 'x'. The following induces an error, until -std is added to get
4645 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4646 array size at least. It's necessary to write '\x00'==0 to get something
4647 that's true only with -std. */
4648 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4650 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4651 inside strings and character constants. */
4653 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4655 int test (int i, double x);
4656 struct s1 {int (*f) (int a);};
4657 struct s2 {int (*f) (double a);};
4658 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4664 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4669 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4670 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4672 CC="$ac_save_CC $ac_arg"
4673 if ac_fn_c_try_compile "$LINENO"; then :
4674 ac_cv_prog_cc_c89=$ac_arg
4676 rm -f core conftest.err conftest.$ac_objext
4677 test "x$ac_cv_prog_cc_c89" != "xno" && break
4679 rm -f conftest.$ac_ext
4684 case "x$ac_cv_prog_cc_c89" in
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4687 $as_echo "none needed" >&6; } ;;
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4690 $as_echo "unsupported" >&6; } ;;
4692 CC="$CC $ac_cv_prog_cc_c89"
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4694 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4696 if test "x$ac_cv_prog_cc_c89" != xno; then :
4701 ac_cpp='$CPP $CPPFLAGS'
4702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4706 depcc="$CC" am_compiler_list=
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4709 $as_echo_n "checking dependency style of $depcc... " >&6; }
4710 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4711 $as_echo_n "(cached) " >&6
4713 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4714 # We make a subdir and do the tests there. Otherwise we can end up
4715 # making bogus files that we don't know about and never remove. For
4716 # instance it was reported that on HP-UX the gcc test will end up
4717 # making a dummy file named 'D' -- because '-MD' means "put the output
4721 # Copy depcomp to subdir because otherwise we won't find it if we're
4722 # using a relative directory.
4723 cp "$am_depcomp" conftest.dir
4725 # We will build objects and dependencies in a subdirectory because
4726 # it helps to detect inapplicable dependency modes. For instance
4727 # both Tru64's cc and ICC support -MD to output dependencies as a
4728 # side effect of compilation, but ICC will put the dependencies in
4729 # the current directory while Tru64 will put them in the object
4733 am_cv_CC_dependencies_compiler_type=none
4734 if test "$am_compiler_list" = ""; then
4735 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4738 case " $depcc " in #(
4739 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4742 for depmode in $am_compiler_list; do
4743 # Setup a source with many dependencies, because some compilers
4744 # like to wrap large dependency lists on column 80 (with \), and
4745 # we should not choose a depcomp mode which is confused by this.
4747 # We need to recreate these files for each test, as the compiler may
4748 # overwrite some of them when testing with obscure command lines.
4749 # This happens at least with the AIX C compiler.
4751 for i in 1 2 3 4 5 6; do
4752 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4753 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4754 # Solaris 10 /bin/sh.
4755 echo '/* dummy */' > sub/conftst$i.h
4757 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4759 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4760 # mode. It turns out that the SunPro C++ compiler does not properly
4761 # handle '-M -o', and we need to detect this. Also, some Intel
4762 # versions had trouble with output in subdirs.
4763 am__obj=sub/conftest.${OBJEXT-o}
4764 am__minus_obj="-o $am__obj"
4767 # This depmode causes a compiler race in universal mode.
4768 test "$am__universal" = false || continue
4771 # After this tag, mechanisms are not by side-effect, so they'll
4772 # only be used when explicitly requested.
4773 if test "x$enable_dependency_tracking" = xyes; then
4779 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4780 # This compiler won't grok '-c -o', but also, the minuso test has
4781 # not run yet. These depmodes are late enough in the game, and
4782 # so weak that their functioning should not be impacted.
4783 am__obj=conftest.${OBJEXT-o}
4788 if depmode=$depmode \
4789 source=sub/conftest.c object=$am__obj \
4790 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4791 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4792 >/dev/null 2>conftest.err &&
4793 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4794 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4795 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4796 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4797 # icc doesn't choke on unknown options, it will just issue warnings
4798 # or remarks (even with -Werror). So we grep stderr for any message
4799 # that says an option was ignored or not supported.
4800 # When given -MP, icc 7.0 and 7.1 complain thusly:
4801 # icc: Command line warning: ignoring option '-M'; no argument required
4802 # The diagnosis changed in icc 8.0:
4803 # icc: Command line remark: option '-MP' not supported
4804 if (grep 'ignoring option' conftest.err ||
4805 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4806 am_cv_CC_dependencies_compiler_type=$depmode
4815 am_cv_CC_dependencies_compiler_type=none
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4820 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4821 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4824 test "x$enable_dependency_tracking" != xno \
4825 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4827 am__fastdepCC_FALSE='#'
4829 am__fastdepCC_TRUE='#'
4830 am__fastdepCC_FALSE=
4835 if test -n "$ac_tool_prefix"; then
4836 for ac_prog in ar lib "link -lib"
4838 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4839 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4841 $as_echo_n "checking for $ac_word... " >&6; }
4842 if ${ac_cv_prog_AR+:} false; then :
4843 $as_echo_n "(cached) " >&6
4845 if test -n "$AR"; then
4846 ac_cv_prog_AR="$AR" # Let the user override the test.
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852 test -z "$as_dir" && as_dir=.
4853 for ac_exec_ext in '' $ac_executable_extensions; do
4854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4855 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4866 if test -n "$AR"; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4868 $as_echo "$AR" >&6; }
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4871 $as_echo "no" >&6; }
4875 test -n "$AR" && break
4878 if test -z "$AR"; then
4880 for ac_prog in ar lib "link -lib"
4882 # Extract the first word of "$ac_prog", so it can be a program name with args.
4883 set dummy $ac_prog; ac_word=$2
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4887 $as_echo_n "(cached) " >&6
4889 if test -n "$ac_ct_AR"; then
4890 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir=.
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_ac_ct_AR="$ac_prog"
4900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4910 if test -n "$ac_ct_AR"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4912 $as_echo "$ac_ct_AR" >&6; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4919 test -n "$ac_ct_AR" && break
4922 if test "x$ac_ct_AR" = x; then
4925 case $cross_compiling:$ac_tool_warned in
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4929 ac_tool_warned=yes ;;
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4938 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4939 if ${am_cv_ar_interface+:} false; then :
4940 $as_echo_n "(cached) " >&6
4942 am_cv_ar_interface=ar
4943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4944 /* end confdefs.h. */
4945 int some_variable = 0;
4947 if ac_fn_c_try_compile "$LINENO"; then :
4948 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4949 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4950 (eval $am_ar_try) 2>&5
4952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4953 test $ac_status = 0; }
4954 if test "$ac_status" -eq 0; then
4955 am_cv_ar_interface=ar
4957 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4958 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4959 (eval $am_ar_try) 2>&5
4961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4962 test $ac_status = 0; }
4963 if test "$ac_status" -eq 0; then
4964 am_cv_ar_interface=lib
4966 am_cv_ar_interface=unknown
4969 rm -f conftest.lib libconftest.a
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4976 $as_echo "$am_cv_ar_interface" >&6; }
4978 case $am_cv_ar_interface in
4982 # Microsoft lib, so override with the ar-lib wrapper script.
4983 # FIXME: It is wrong to rewrite AR.
4984 # But if we don't then we get into trouble of one sort or another.
4985 # A longer-term fix would be to have automake use am__AR in this case,
4986 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4988 AR="$am_aux_dir/ar-lib $AR"
4991 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5000 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5005 macro_version='2.4.2'
5006 macro_revision='1.3337'
5020 ltmain="$ac_aux_dir/ltmain.sh"
5022 # Make sure we can run config.sub.
5023 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5024 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5027 $as_echo_n "checking build system type... " >&6; }
5028 if ${ac_cv_build+:} false; then :
5029 $as_echo_n "(cached) " >&6
5031 ac_build_alias=$build_alias
5032 test "x$ac_build_alias" = x &&
5033 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5034 test "x$ac_build_alias" = x &&
5035 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5036 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5037 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5041 $as_echo "$ac_cv_build" >&6; }
5042 case $ac_cv_build in
5044 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5047 ac_save_IFS=$IFS; IFS='-'
5053 # Remember, the first character of IFS is used to create $*,
5054 # except with old shells:
5057 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5061 $as_echo_n "checking host system type... " >&6; }
5062 if ${ac_cv_host+:} false; then :
5063 $as_echo_n "(cached) " >&6
5065 if test "x$host_alias" = x; then
5066 ac_cv_host=$ac_cv_build
5068 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5069 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5074 $as_echo "$ac_cv_host" >&6; }
5077 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5080 ac_save_IFS=$IFS; IFS='-'
5086 # Remember, the first character of IFS is used to create $*,
5087 # except with old shells:
5090 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5093 # Backslashify metacharacters that are still active within
5094 # double-quoted strings.
5095 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5097 # Same as above, but do not quote variable references.
5098 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5100 # Sed substitution to delay expansion of an escaped shell variable in a
5101 # double_quote_subst'ed string.
5102 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5104 # Sed substitution to delay expansion of an escaped single quote.
5105 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5107 # Sed substitution to avoid accidental globbing in evaled expressions
5108 no_glob_subst='s/\*/\\\*/g'
5110 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5111 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5112 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5115 $as_echo_n "checking how to print
strings...
" >&6; }
5116 # Test print first, because it will be a builtin if present.
5117 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5118 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5120 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5123 # Use this function as a fallback that always works.
5124 func_fallback_echo ()
5126 eval 'cat <<_LTECHO_EOF
5130 ECHO='func_fallback_echo'
5133 # func_echo_all arg...
5134 # Invoke $ECHO with all args, space-separated.
5141 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5142 $as_echo "printf" >&6; } ;;
5143 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5144 $as_echo "print
-r" >&6; } ;;
5145 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5146 $as_echo "cat" >&6; } ;;
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5163 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5164 if ${ac_cv_path_SED+:} false; then :
5165 $as_echo_n "(cached
) " >&6
5167 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5168 for ac_i in 1 2 3 4 5 6 7; do
5169 ac_script="$ac_script$as_nl$ac_script"
5171 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5172 { ac_script=; unset ac_script;}
5173 if test -z "$SED"; then
5174 ac_path_SED_found=false
5175 # Loop through the user's path and test for each of PROGNAME-LIST
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 test -z "$as_dir" && as_dir=.
5181 for ac_prog in sed gsed; do
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5184 as_fn_executable_p "$ac_path_SED" || continue
5185 # Check for GNU ac_path_SED and select it if it is found.
5186 # Check for GNU $ac_path_SED
5187 case `"$ac_path_SED" --version 2>&1` in
5189 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5192 $as_echo_n 0123456789 >"conftest.
in"
5195 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5196 mv "conftest.tmp
" "conftest.
in"
5197 cp "conftest.
in" "conftest.
nl"
5198 $as_echo '' >> "conftest.
nl"
5199 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5200 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5201 as_fn_arith $ac_count + 1 && ac_count=$as_val
5202 if test $ac_count -gt ${ac_path_SED_max-0}; then
5203 # Best one so far, save it but keep looking for a better one
5204 ac_cv_path_SED="$ac_path_SED"
5205 ac_path_SED_max=$ac_count
5207 # 10*(2^10) chars as input seems more than enough
5208 test $ac_count -gt 10 && break
5210 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5213 $ac_path_SED_found && break 3
5218 if test -z "$ac_cv_path_SED"; then
5219 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5227 $as_echo "$ac_cv_path_SED" >&6; }
5228 SED="$ac_cv_path_SED"
5231 test -z "$SED" && SED=sed
5232 Xsed="$SED -e 1s
/^X
//"
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5245 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5246 if ${ac_cv_path_GREP+:} false; then :
5247 $as_echo_n "(cached
) " >&6
5249 if test -z "$GREP"; then
5250 ac_path_GREP_found=false
5251 # Loop through the user's path and test for each of PROGNAME-LIST
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5256 test -z "$as_dir" && as_dir=.
5257 for ac_prog in grep ggrep; do
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5260 as_fn_executable_p "$ac_path_GREP" || continue
5261 # Check for GNU ac_path_GREP and select it if it is found.
5262 # Check for GNU $ac_path_GREP
5263 case `"$ac_path_GREP" --version 2>&1` in
5265 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5268 $as_echo_n 0123456789 >"conftest.
in"
5271 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5272 mv "conftest.tmp
" "conftest.
in"
5273 cp "conftest.
in" "conftest.
nl"
5274 $as_echo 'GREP' >> "conftest.
nl"
5275 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5276 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5277 as_fn_arith $ac_count + 1 && ac_count=$as_val
5278 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5279 # Best one so far, save it but keep looking for a better one
5280 ac_cv_path_GREP="$ac_path_GREP"
5281 ac_path_GREP_max=$ac_count
5283 # 10*(2^10) chars as input seems more than enough
5284 test $ac_count -gt 10 && break
5286 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5289 $ac_path_GREP_found && break 3
5294 if test -z "$ac_cv_path_GREP"; then
5295 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5298 ac_cv_path_GREP=$GREP
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5303 $as_echo "$ac_cv_path_GREP" >&6; }
5304 GREP="$ac_cv_path_GREP"
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5308 $as_echo_n "checking
for egrep...
" >&6; }
5309 if ${ac_cv_path_EGREP+:} false; then :
5310 $as_echo_n "(cached
) " >&6
5312 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5313 then ac_cv_path_EGREP="$GREP -E"
5315 if test -z "$EGREP"; then
5316 ac_path_EGREP_found=false
5317 # Loop through the user's path and test for each of PROGNAME-LIST
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5322 test -z "$as_dir" && as_dir=.
5323 for ac_prog in egrep; do
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5326 as_fn_executable_p "$ac_path_EGREP" || continue
5327 # Check for GNU ac_path_EGREP and select it if it is found.
5328 # Check for GNU $ac_path_EGREP
5329 case `"$ac_path_EGREP" --version 2>&1` in
5331 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5334 $as_echo_n 0123456789 >"conftest.
in"
5337 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5338 mv "conftest.tmp
" "conftest.
in"
5339 cp "conftest.
in" "conftest.
nl"
5340 $as_echo 'EGREP' >> "conftest.
nl"
5341 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5342 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5343 as_fn_arith $ac_count + 1 && ac_count=$as_val
5344 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5345 # Best one so far, save it but keep looking for a better one
5346 ac_cv_path_EGREP="$ac_path_EGREP"
5347 ac_path_EGREP_max=$ac_count
5349 # 10*(2^10) chars as input seems more than enough
5350 test $ac_count -gt 10 && break
5352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5355 $ac_path_EGREP_found && break 3
5360 if test -z "$ac_cv_path_EGREP"; then
5361 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5364 ac_cv_path_EGREP=$EGREP
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5370 $as_echo "$ac_cv_path_EGREP" >&6; }
5371 EGREP="$ac_cv_path_EGREP"
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5375 $as_echo_n "checking
for fgrep...
" >&6; }
5376 if ${ac_cv_path_FGREP+:} false; then :
5377 $as_echo_n "(cached
) " >&6
5379 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5380 then ac_cv_path_FGREP="$GREP -F"
5382 if test -z "$FGREP"; then
5383 ac_path_FGREP_found=false
5384 # Loop through the user's path and test for each of PROGNAME-LIST
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5389 test -z "$as_dir" && as_dir=.
5390 for ac_prog in fgrep; do
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5393 as_fn_executable_p "$ac_path_FGREP" || continue
5394 # Check for GNU ac_path_FGREP and select it if it is found.
5395 # Check for GNU $ac_path_FGREP
5396 case `"$ac_path_FGREP" --version 2>&1` in
5398 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5401 $as_echo_n 0123456789 >"conftest.
in"
5404 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5405 mv "conftest.tmp
" "conftest.
in"
5406 cp "conftest.
in" "conftest.
nl"
5407 $as_echo 'FGREP' >> "conftest.
nl"
5408 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5409 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5410 as_fn_arith $ac_count + 1 && ac_count=$as_val
5411 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5412 # Best one so far, save it but keep looking for a better one
5413 ac_cv_path_FGREP="$ac_path_FGREP"
5414 ac_path_FGREP_max=$ac_count
5416 # 10*(2^10) chars as input seems more than enough
5417 test $ac_count -gt 10 && break
5419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5422 $ac_path_FGREP_found && break 3
5427 if test -z "$ac_cv_path_FGREP"; then
5428 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5431 ac_cv_path_FGREP=$FGREP
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5437 $as_echo "$ac_cv_path_FGREP" >&6; }
5438 FGREP="$ac_cv_path_FGREP"
5441 test -z "$GREP" && GREP=grep
5461 # Check whether --with-gnu-ld was given.
5462 if test "${with_gnu_ld+set}" = set; then :
5463 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5469 if test "$GCC" = yes; then
5470 # Check if gcc -print-prog-name=ld gives a path.
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5472 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5475 # gcc leaves a trailing carriage return which upsets mingw
5476 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5478 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5481 # Accept absolute paths.
5483 re_direlt='/[^/][^/]*/\.\./'
5484 # Canonicalize the pathname of ld
5485 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5486 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5487 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5489 test -z "$LD" && LD="$ac_prog"
5492 # If it fails, then pretend we aren't using GCC.
5496 # If it is relative, then search for the first ld in PATH.
5500 elif test "$with_gnu_ld" = yes; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5502 $as_echo_n "checking
for GNU ld...
" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5505 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5507 if ${lt_cv_path_LD+:} false; then :
5508 $as_echo_n "(cached
) " >&6
5510 if test -z "$LD"; then
5511 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5512 for ac_dir in $PATH; do
5514 test -z "$ac_dir" && ac_dir=.
5515 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5516 lt_cv_path_LD="$ac_dir/$ac_prog"
5517 # Check to see if the program is GNU ld. I'd rather use --version,
5518 # but apparently some variants of GNU ld only accept -v.
5519 # Break only if it was the GNU/non-GNU ld that we prefer.
5520 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5521 *GNU* | *'with BFD'*)
5522 test "$with_gnu_ld" != no && break
5525 test "$with_gnu_ld" != yes && break
5532 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5537 if test -n "$LD"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5539 $as_echo "$LD" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5542 $as_echo "no
" >&6; }
5544 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5546 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5547 if ${lt_cv_prog_gnu_ld+:} false; then :
5548 $as_echo_n "(cached
) " >&6
5550 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5551 case `$LD -v 2>&1 </dev/null` in
5552 *GNU* | *'with BFD'*)
5553 lt_cv_prog_gnu_ld=yes
5556 lt_cv_prog_gnu_ld=no
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5561 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5562 with_gnu_ld=$lt_cv_prog_gnu_ld
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5573 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5574 if ${lt_cv_path_NM+:} false; then :
5575 $as_echo_n "(cached
) " >&6
5577 if test -n "$NM"; then
5578 # Let the user override the test.
5581 lt_nm_to_check="${ac_tool_prefix}nm
"
5582 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5583 lt_nm_to_check="$lt_nm_to_check nm
"
5585 for lt_tmp_nm in $lt_nm_to_check; do
5586 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5587 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5589 test -z "$ac_dir" && ac_dir=.
5590 tmp_nm="$ac_dir/$lt_tmp_nm"
5591 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5592 # Check to see if the nm accepts a BSD-compat flag.
5593 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5594 # nm: unknown option "B
" ignored
5595 # Tru64's nm complains that /dev/null is an invalid object file
5596 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5597 */dev/null* | *'Invalid file or object type'*)
5598 lt_cv_path_NM="$tmp_nm -B"
5602 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5604 lt_cv_path_NM="$tmp_nm -p"
5608 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5609 continue # so that we can try to find one that supports BSD flags
5618 : ${lt_cv_path_NM=no}
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5622 $as_echo "$lt_cv_path_NM" >&6; }
5623 if test "$lt_cv_path_NM" != "no
"; then
5626 # Didn't find any BSD compatible name lister, look for dumpbin.
5627 if test -n "$DUMPBIN"; then :
5628 # Let the user override the test.
5630 if test -n "$ac_tool_prefix"; then
5631 for ac_prog in dumpbin "link
-dump"
5633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5636 $as_echo_n "checking
for $ac_word...
" >&6; }
5637 if ${ac_cv_prog_DUMPBIN+:} false; then :
5638 $as_echo_n "(cached
) " >&6
5640 if test -n "$DUMPBIN"; then
5641 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 test -z "$as_dir" && as_dir=.
5648 for ac_exec_ext in '' $ac_executable_extensions; do
5649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5660 DUMPBIN=$ac_cv_prog_DUMPBIN
5661 if test -n "$DUMPBIN"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5663 $as_echo "$DUMPBIN" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5666 $as_echo "no
" >&6; }
5670 test -n "$DUMPBIN" && break
5673 if test -z "$DUMPBIN"; then
5674 ac_ct_DUMPBIN=$DUMPBIN
5675 for ac_prog in dumpbin "link
-dump"
5677 # Extract the first word of "$ac_prog", so it can be a program name with args.
5678 set dummy $ac_prog; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5680 $as_echo_n "checking
for $ac_word...
" >&6; }
5681 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5682 $as_echo_n "(cached
) " >&6
5684 if test -n "$ac_ct_DUMPBIN"; then
5685 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5704 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5705 if test -n "$ac_ct_DUMPBIN"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5707 $as_echo "$ac_ct_DUMPBIN" >&6; }
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5710 $as_echo "no
" >&6; }
5714 test -n "$ac_ct_DUMPBIN" && break
5717 if test "x
$ac_ct_DUMPBIN" = x; then
5720 case $cross_compiling:$ac_tool_warned in
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5723 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5724 ac_tool_warned=yes ;;
5726 DUMPBIN=$ac_ct_DUMPBIN
5730 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5732 DUMPBIN="$DUMPBIN -symbols"
5740 if test "$DUMPBIN" != ":"; then
5744 test -z "$NM" && NM=nm
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5752 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5753 if ${lt_cv_nm_interface+:} false; then :
5754 $as_echo_n "(cached
) " >&6
5756 lt_cv_nm_interface="BSD nm
"
5757 echo "int some_variable
= 0;" > conftest.$ac_ext
5758 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5759 (eval "$ac_compile" 2>conftest.err)
5760 cat conftest.err >&5
5761 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5762 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5763 cat conftest.err >&5
5764 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5765 cat conftest.out >&5
5766 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5767 lt_cv_nm_interface="MS dumpbin
"
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5772 $as_echo "$lt_cv_nm_interface" >&6; }
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5775 $as_echo_n "checking whether
ln -s works...
" >&6; }
5777 if test "$LN_S" = "ln -s"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5779 $as_echo "yes" >&6; }
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5782 $as_echo "no
, using
$LN_S" >&6; }
5785 # find the maximum length of command line arguments
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5787 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5788 if ${lt_cv_sys_max_cmd_len+:} false; then :
5789 $as_echo_n "(cached
) " >&6
5796 # On DJGPP, this test can blow up pretty badly due to problems in libc
5797 # (any single argument exceeding 2000 bytes causes a buffer overrun
5798 # during glob expansion). Even if it were fixed, the result of this
5799 # check would be larger than it should be.
5800 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5804 # Under GNU Hurd, this test is not required because there is
5805 # no limit to the length of command line arguments.
5806 # Libtool will interpret -1 as no limit whatsoever
5807 lt_cv_sys_max_cmd_len=-1;
5810 cygwin* | mingw* | cegcc*)
5811 # On Win9x/ME, this test blows up -- it succeeds, but takes
5812 # about 5 minutes as the teststring grows exponentially.
5813 # Worse, since 9x/ME are not pre-emptively multitasking,
5814 # you end up with a "frozen
" computer, even though with patience
5815 # the test eventually succeeds (with a max line length of 256k).
5816 # Instead, let's just punt: use the minimum linelength reported by
5817 # all of the supported platforms: 8192 (on NT/2K/XP).
5818 lt_cv_sys_max_cmd_len=8192;
5822 # On MiNT this can take a long time and run out of memory.
5823 lt_cv_sys_max_cmd_len=8192;
5827 # On AmigaOS with pdksh, this test takes hours, literally.
5828 # So we just punt and use a minimum line length of 8192.
5829 lt_cv_sys_max_cmd_len=8192;
5832 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5833 # This has been around since 386BSD, at least. Likely further.
5834 if test -x /sbin/sysctl; then
5835 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5836 elif test -x /usr/sbin/sysctl; then
5837 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5839 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5841 # And add a safety zone
5842 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5843 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5847 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5848 lt_cv_sys_max_cmd_len=196608
5852 # The test takes a long time on OS/2.
5853 lt_cv_sys_max_cmd_len=8192
5857 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5858 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5859 # nice to cause kernel panics so lets avoid the loop below.
5860 # First set a reasonable default.
5861 lt_cv_sys_max_cmd_len=16384
5863 if test -x /sbin/sysconfig; then
5864 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5865 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5870 lt_cv_sys_max_cmd_len=102400
5872 sysv5* | sco5v6* | sysv4.2uw2*)
5873 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5874 if test -n "$kargmax"; then
5875 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5877 lt_cv_sys_max_cmd_len=32768
5881 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5882 if test -n "$lt_cv_sys_max_cmd_len"; then
5883 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5884 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5886 # Make teststring a little bigger before we do anything with it.
5887 # a 1K string should be a reasonable start.
5888 for i in 1 2 3 4 5 6 7 8 ; do
5889 teststring=$teststring$teststring
5891 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5892 # If test is not a shell built-in, we'll probably end up computing a
5893 # maximum length that is only half of the actual maximum length, but
5895 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5896 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5897 test $i != 17 # 1/2 MB should be enough
5900 teststring=$teststring$teststring
5902 # Only check the string length outside the loop.
5903 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5905 # Add a significant safety factor because C++ compilers can tack on
5906 # massive amounts of additional arguments before passing them to the
5907 # linker. It appears as though 1/2 is a usable value.
5908 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5915 if test -n $lt_cv_sys_max_cmd_len ; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5917 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5920 $as_echo "none
" >&6; }
5922 max_cmd_len=$lt_cv_sys_max_cmd_len
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5934 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5935 # Try some XSI features
5938 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5940 && eval 'test $(( 1 + 1 )) -eq 2 \
5941 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5944 $as_echo "$xsi_shell" >&6; }
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5948 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5950 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5952 && lt_shell_append=yes
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5954 $as_echo "$lt_shell_append" >&6; }
5957 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5967 # test EBCDIC or ASCII
5968 case `echo X|tr X '\101'` in
5969 A) # ASCII based system
5970 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5971 lt_SP2NL='tr \040 \012'
5972 lt_NL2SP='tr \015\012 \040\040'
5974 *) # EBCDIC based system
5975 lt_SP2NL='tr \100 \n'
5976 lt_NL2SP='tr \r\n \100\100'
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5989 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5990 if ${lt_cv_to_host_file_cmd+:} false; then :
5991 $as_echo_n "(cached
) " >&6
5996 *-*-mingw* ) # actually msys
5997 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6000 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6002 * ) # otherwise, assume *nix
6003 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6009 *-*-mingw* ) # actually msys
6010 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6013 lt_cv_to_host_file_cmd=func_convert_file_noop
6015 * ) # otherwise, assume *nix
6016 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6020 * ) # unhandled hosts (and "normal
" native builds)
6021 lt_cv_to_host_file_cmd=func_convert_file_noop
6027 to_host_file_cmd=$lt_cv_to_host_file_cmd
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6029 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6036 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6037 if ${lt_cv_to_tool_file_cmd+:} false; then :
6038 $as_echo_n "(cached
) " >&6
6040 #assume ordinary cross tools, or native build.
6041 lt_cv_to_tool_file_cmd=func_convert_file_noop
6045 *-*-mingw* ) # actually msys
6046 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6054 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6056 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6063 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6064 if ${lt_cv_ld_reload_flag+:} false; then :
6065 $as_echo_n "(cached
) " >&6
6067 lt_cv_ld_reload_flag='-r'
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6070 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6071 reload_flag=$lt_cv_ld_reload_flag
6072 case $reload_flag in
6074 *) reload_flag=" $reload_flag" ;;
6076 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6078 cygwin* | mingw* | pw32* | cegcc*)
6079 if test "$GCC" != yes; then
6084 if test "$GCC" = yes; then
6085 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6087 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6100 if test -n "$ac_tool_prefix"; then
6101 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6102 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6104 $as_echo_n "checking
for $ac_word...
" >&6; }
6105 if ${ac_cv_prog_OBJDUMP+:} false; then :
6106 $as_echo_n "(cached
) " >&6
6108 if test -n "$OBJDUMP"; then
6109 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 test -z "$as_dir" && as_dir=.
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6128 OBJDUMP=$ac_cv_prog_OBJDUMP
6129 if test -n "$OBJDUMP"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6131 $as_echo "$OBJDUMP" >&6; }
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6134 $as_echo "no
" >&6; }
6139 if test -z "$ac_cv_prog_OBJDUMP"; then
6140 ac_ct_OBJDUMP=$OBJDUMP
6141 # Extract the first word of "objdump
", so it can be a program name with args.
6142 set dummy objdump; ac_word=$2
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6144 $as_echo_n "checking
for $ac_word...
" >&6; }
6145 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6146 $as_echo_n "(cached
) " >&6
6148 if test -n "$ac_ct_OBJDUMP"; then
6149 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6158 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6168 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6169 if test -n "$ac_ct_OBJDUMP"; then
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6171 $as_echo "$ac_ct_OBJDUMP" >&6; }
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6174 $as_echo "no
" >&6; }
6177 if test "x
$ac_ct_OBJDUMP" = x; then
6180 case $cross_compiling:$ac_tool_warned in
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6183 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6184 ac_tool_warned=yes ;;
6186 OBJDUMP=$ac_ct_OBJDUMP
6189 OBJDUMP="$ac_cv_prog_OBJDUMP"
6192 test -z "$OBJDUMP" && OBJDUMP=objdump
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6203 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6204 if ${lt_cv_deplibs_check_method+:} false; then :
6205 $as_echo_n "(cached
) " >&6
6207 lt_cv_file_magic_cmd='$MAGIC_CMD'
6208 lt_cv_file_magic_test_file=
6209 lt_cv_deplibs_check_method='unknown'
6210 # Need to set the preceding variable on all platforms that support
6211 # interlibrary dependencies.
6212 # 'none' -- dependencies not supported.
6213 # `unknown' -- same as none, but documents that we really don't know.
6214 # 'pass_all' -- all dependencies passed with no checks.
6215 # 'test_compile' -- check by making test program.
6216 # 'file_magic [[regex]]' -- check by looking for files in library path
6217 # which responds to the $file_magic_cmd with a given extended regex.
6218 # If you have `file' or equivalent on your system and you're not sure
6219 # whether `pass_all' will *always* work, you probably want this one.
6223 lt_cv_deplibs_check_method=pass_all
6227 lt_cv_deplibs_check_method=pass_all
6231 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6232 lt_cv_file_magic_cmd='/usr/bin/file -L'
6233 lt_cv_file_magic_test_file=/shlib/libc.so
6237 # func_win32_libid is a shell function defined in ltmain.sh
6238 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6239 lt_cv_file_magic_cmd='func_win32_libid'
6243 # Base MSYS/MinGW do not provide the 'file' command needed by
6244 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6245 # unless we find 'file', for example because we are cross-compiling.
6246 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6247 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6248 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6249 lt_cv_file_magic_cmd='func_win32_libid'
6251 # Keep this pattern in sync with the one in func_win32_libid.
6252 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6253 lt_cv_file_magic_cmd='$OBJDUMP -f'
6258 # use the weaker test based on 'objdump'. See mingw*.
6259 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6260 lt_cv_file_magic_cmd='$OBJDUMP -f'
6263 darwin* | rhapsody*)
6264 lt_cv_deplibs_check_method=pass_all
6267 freebsd* | dragonfly*)
6268 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6271 # Not sure whether the presence of OpenBSD here was a mistake.
6272 # Let's accept both of them until this is cleared up.
6273 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6274 lt_cv_file_magic_cmd=/usr/bin/file
6275 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6279 lt_cv_deplibs_check_method=pass_all
6284 lt_cv_deplibs_check_method=pass_all
6288 lt_cv_deplibs_check_method=pass_all
6291 hpux10.20* | hpux11*)
6292 lt_cv_file_magic_cmd=/usr/bin/file
6295 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6296 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6299 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]'
6300 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6303 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6304 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6310 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6311 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6314 irix5* | irix6* | nonstopux*)
6316 *-32|*"-32 ") libmagic=32-bit;;
6317 *-n32|*"-n32 ") libmagic=N32;;
6318 *-64|*"-64 ") libmagic=64-bit;;
6319 *) libmagic=never-match;;
6321 lt_cv_deplibs_check_method=pass_all
6324 # This must be glibc/ELF.
6325 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6326 lt_cv_deplibs_check_method=pass_all
6330 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6338 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6339 lt_cv_file_magic_cmd=/usr/bin/file
6340 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6344 lt_cv_deplibs_check_method=pass_all
6348 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6349 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6351 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6355 osf3* | osf4* | osf5*)
6356 lt_cv_deplibs_check_method=pass_all
6360 lt_cv_deplibs_check_method=pass_all
6364 lt_cv_deplibs_check_method=pass_all
6367 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6368 lt_cv_deplibs_check_method=pass_all
6372 case $host_vendor in
6374 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]'
6375 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6378 lt_cv_deplibs_check_method=pass_all
6381 lt_cv_file_magic_cmd='/bin/file'
6382 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6385 lt_cv_file_magic_cmd='/bin/file'
6386 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6387 lt_cv_file_magic_test_file=/lib/libc.so
6390 lt_cv_deplibs_check_method=pass_all
6393 lt_cv_deplibs_check_method=pass_all
6399 lt_cv_deplibs_check_method=pass_all
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6405 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 if test "$build" = "$host"; then
6412 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6415 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6421 file_magic_cmd=$lt_cv_file_magic_cmd
6422 deplibs_check_method=$lt_cv_deplibs_check_method
6423 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6446 if test -n "$ac_tool_prefix"; then
6447 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6448 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6450 $as_echo_n "checking
for $ac_word...
" >&6; }
6451 if ${ac_cv_prog_DLLTOOL+:} false; then :
6452 $as_echo_n "(cached
) " >&6
6454 if test -n "$DLLTOOL"; then
6455 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6461 test -z "$as_dir" && as_dir=.
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6464 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6474 DLLTOOL=$ac_cv_prog_DLLTOOL
6475 if test -n "$DLLTOOL"; then
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6477 $as_echo "$DLLTOOL" >&6; }
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6480 $as_echo "no
" >&6; }
6485 if test -z "$ac_cv_prog_DLLTOOL"; then
6486 ac_ct_DLLTOOL=$DLLTOOL
6487 # Extract the first word of "dlltool
", so it can be a program name with args.
6488 set dummy dlltool; ac_word=$2
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6490 $as_echo_n "checking
for $ac_word...
" >&6; }
6491 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6492 $as_echo_n "(cached
) " >&6
6494 if test -n "$ac_ct_DLLTOOL"; then
6495 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 test -z "$as_dir" && as_dir=.
6502 for ac_exec_ext in '' $ac_executable_extensions; do
6503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6504 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6505 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6514 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6515 if test -n "$ac_ct_DLLTOOL"; then
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6517 $as_echo "$ac_ct_DLLTOOL" >&6; }
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6520 $as_echo "no
" >&6; }
6523 if test "x
$ac_ct_DLLTOOL" = x; then
6526 case $cross_compiling:$ac_tool_warned in
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6529 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6530 ac_tool_warned=yes ;;
6532 DLLTOOL=$ac_ct_DLLTOOL
6535 DLLTOOL="$ac_cv_prog_DLLTOOL"
6538 test -z "$DLLTOOL" && DLLTOOL=dlltool
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6550 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6551 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6552 $as_echo_n "(cached
) " >&6
6554 lt_cv_sharedlib_from_linklib_cmd='unknown'
6557 cygwin* | mingw* | pw32* | cegcc*)
6558 # two different shell functions defined in ltmain.sh
6559 # decide which to use based on capabilities of $DLLTOOL
6560 case `$DLLTOOL --help 2>&1` in
6561 *--identify-strict*)
6562 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6565 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6570 # fallback: assume linklib IS sharedlib
6571 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6577 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6578 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6579 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6587 if test -n "$ac_tool_prefix"; then
6590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6593 $as_echo_n "checking
for $ac_word...
" >&6; }
6594 if ${ac_cv_prog_AR+:} false; then :
6595 $as_echo_n "(cached
) " >&6
6597 if test -n "$AR"; then
6598 ac_cv_prog_AR="$AR" # Let the user override the test.
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6607 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6618 if test -n "$AR"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6620 $as_echo "$AR" >&6; }
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6623 $as_echo "no
" >&6; }
6627 test -n "$AR" && break
6630 if test -z "$AR"; then
6634 # Extract the first word of "$ac_prog", so it can be a program name with args.
6635 set dummy $ac_prog; ac_word=$2
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6637 $as_echo_n "checking
for $ac_word...
" >&6; }
6638 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6639 $as_echo_n "(cached
) " >&6
6641 if test -n "$ac_ct_AR"; then
6642 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648 test -z "$as_dir" && as_dir=.
6649 for ac_exec_ext in '' $ac_executable_extensions; do
6650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6651 ac_cv_prog_ac_ct_AR="$ac_prog"
6652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6661 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6662 if test -n "$ac_ct_AR"; then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6664 $as_echo "$ac_ct_AR" >&6; }
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6667 $as_echo "no
" >&6; }
6671 test -n "$ac_ct_AR" && break
6674 if test "x
$ac_ct_AR" = x; then
6677 case $cross_compiling:$ac_tool_warned in
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6680 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6681 ac_tool_warned=yes ;;
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6701 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6702 if ${lt_cv_ar_at_file+:} false; then :
6703 $as_echo_n "(cached
) " >&6
6706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6707 /* end confdefs.h. */
6717 if ac_fn_c_try_compile "$LINENO"; then :
6718 echo conftest.$ac_objext > conftest.lst
6719 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6720 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6721 (eval $lt_ar_try) 2>&5
6723 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6724 test $ac_status = 0; }
6725 if test "$ac_status" -eq 0; then
6726 # Ensure the archiver fails upon bogus file names.
6727 rm -f conftest.$ac_objext libconftest.a
6728 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6729 (eval $lt_ar_try) 2>&5
6731 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6732 test $ac_status = 0; }
6733 if test "$ac_status" -ne 0; then
6737 rm -f conftest.* libconftest.a
6740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6744 $as_echo "$lt_cv_ar_at_file" >&6; }
6746 if test "x
$lt_cv_ar_at_file" = xno; then
6749 archiver_list_spec=$lt_cv_ar_at_file
6758 if test -n "$ac_tool_prefix"; then
6759 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6760 set dummy ${ac_tool_prefix}strip; ac_word=$2
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6762 $as_echo_n "checking
for $ac_word...
" >&6; }
6763 if ${ac_cv_prog_STRIP+:} false; then :
6764 $as_echo_n "(cached
) " >&6
6766 if test -n "$STRIP"; then
6767 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6773 test -z "$as_dir" && as_dir=.
6774 for ac_exec_ext in '' $ac_executable_extensions; do
6775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6776 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6786 STRIP=$ac_cv_prog_STRIP
6787 if test -n "$STRIP"; then
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6789 $as_echo "$STRIP" >&6; }
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6792 $as_echo "no
" >&6; }
6797 if test -z "$ac_cv_prog_STRIP"; then
6799 # Extract the first word of "strip
", so it can be a program name with args.
6800 set dummy strip; ac_word=$2
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6802 $as_echo_n "checking
for $ac_word...
" >&6; }
6803 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6804 $as_echo_n "(cached
) " >&6
6806 if test -n "$ac_ct_STRIP"; then
6807 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 test -z "$as_dir" && as_dir=.
6814 for ac_exec_ext in '' $ac_executable_extensions; do
6815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6816 ac_cv_prog_ac_ct_STRIP="strip
"
6817 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6826 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6827 if test -n "$ac_ct_STRIP"; then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6829 $as_echo "$ac_ct_STRIP" >&6; }
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6832 $as_echo "no
" >&6; }
6835 if test "x
$ac_ct_STRIP" = x; then
6838 case $cross_compiling:$ac_tool_warned in
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6841 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6842 ac_tool_warned=yes ;;
6847 STRIP="$ac_cv_prog_STRIP"
6850 test -z "$STRIP" && STRIP=:
6857 if test -n "$ac_tool_prefix"; then
6858 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6859 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6861 $as_echo_n "checking
for $ac_word...
" >&6; }
6862 if ${ac_cv_prog_RANLIB+:} false; then :
6863 $as_echo_n "(cached
) " >&6
6865 if test -n "$RANLIB"; then
6866 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6872 test -z "$as_dir" && as_dir=.
6873 for ac_exec_ext in '' $ac_executable_extensions; do
6874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6875 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6885 RANLIB=$ac_cv_prog_RANLIB
6886 if test -n "$RANLIB"; then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6888 $as_echo "$RANLIB" >&6; }
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6891 $as_echo "no
" >&6; }
6896 if test -z "$ac_cv_prog_RANLIB"; then
6897 ac_ct_RANLIB=$RANLIB
6898 # Extract the first word of "ranlib
", so it can be a program name with args.
6899 set dummy ranlib; ac_word=$2
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6901 $as_echo_n "checking
for $ac_word...
" >&6; }
6902 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6903 $as_echo_n "(cached
) " >&6
6905 if test -n "$ac_ct_RANLIB"; then
6906 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 test -z "$as_dir" && as_dir=.
6913 for ac_exec_ext in '' $ac_executable_extensions; do
6914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6915 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6925 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6926 if test -n "$ac_ct_RANLIB"; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6928 $as_echo "$ac_ct_RANLIB" >&6; }
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6931 $as_echo "no
" >&6; }
6934 if test "x
$ac_ct_RANLIB" = x; then
6937 case $cross_compiling:$ac_tool_warned in
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6940 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6941 ac_tool_warned=yes ;;
6943 RANLIB=$ac_ct_RANLIB
6946 RANLIB="$ac_cv_prog_RANLIB"
6949 test -z "$RANLIB" && RANLIB=:
6956 # Determine commands to create old-style static archives.
6957 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6958 old_postinstall_cmds='chmod 644 $oldlib'
6959 old_postuninstall_cmds=
6961 if test -n "$RANLIB"; then
6964 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6967 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6970 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6975 lock_old_archive_extraction=yes ;;
6977 lock_old_archive_extraction=no ;;
7018 # If no C compiler was specified, use CC.
7021 # If no C compiler flags were specified, use CFLAGS.
7022 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7024 # Allow CC to be a program name with arguments.
7028 # Check for command to grab the raw symbol name followed by C symbol from nm.
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7030 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7031 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7032 $as_echo_n "(cached
) " >&6
7035 # These are sane defaults that work on at least a few old systems.
7036 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7038 # Character class describing NM global symbol codes.
7039 symcode='[BCDEGRST]'
7041 # Regexp to match symbols that can be accessed directly from C.
7042 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7044 # Define system-specific variables.
7049 cygwin* | mingw* | pw32* | cegcc*)
7050 symcode='[ABCDGISTW]'
7053 if test "$host_cpu" = ia64; then
7054 symcode='[ABCDEGRST]'
7058 symcode='[BCDEGRST]'
7061 symcode='[BCDEGQRST]'
7072 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7080 # If we're using GNU nm, then use its standard symbol codes.
7081 case `$NM -V 2>&1` in
7082 *GNU* | *'with BFD'*)
7083 symcode='[ABCDGIRSTW]' ;;
7086 # Transform an extracted symbol line into a proper C declaration.
7087 # Some systems (esp. on ia64) link data and code symbols differently,
7088 # so use this general approach.
7089 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7091 # Transform an extracted symbol line into symbol name and symbol address
7092 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7093 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'"
7095 # Handle CRLF in mingw tool chain
7099 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7103 # Try without a prefix underscore, then with it.
7104 for ac_symprfx in "" "_
"; do
7106 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7107 symxfrm="\\1 $ac_symprfx\\2 \\2"
7109 # Write the raw and C identifiers.
7110 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7111 # Fake it for dumpbin and say T for any non-static function
7112 # and D for any global variable.
7113 # Also find C++ and __fastcall symbols from MSVC++,
7114 # which start with @ or ?.
7115 lt_cv_sys_global_symbol_pipe="$AWK '"\
7116 " {last_section=section; section=\$ 3};"\
7117 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7118 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7119 " \$ 0!~/External *\|/{next};"\
7120 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7121 " {if(hide[section]) next};"\
7122 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7123 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7124 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7125 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7126 " ' prfx
=^
$ac_symprfx"
7128 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7130 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7132 # Check to see that the pipe works correctly.
7136 cat > conftest.$ac_ext <<_LT_EOF
7141 void nm_test_func(void);
7142 void nm_test_func(void){}
7146 int main(){nm_test_var='a';nm_test_func();return(0);}
7149 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150 (eval $ac_compile) 2>&5
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7153 test $ac_status = 0; }; then
7154 # Now try to grab the symbols.
7156 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7157 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7159 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7160 test $ac_status = 0; } && test -s "$nlist"; then
7161 # Try sorting and uniquifying the output.
7162 if sort "$nlist" | uniq > "$nlist"T; then
7163 mv -f "$nlist"T "$nlist"
7168 # Make sure that we snagged all the symbols we need.
7169 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7170 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7171 cat <<_LT_EOF > conftest.$ac_ext
7172 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7173 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7174 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7175 relocations are performed -- see ld's documentation on pseudo-relocs. */
7176 # define LT_DLSYM_CONST
7177 #elif defined(__osf__)
7178 /* This system does not cope well with relocations in const data. */
7179 # define LT_DLSYM_CONST
7181 # define LT_DLSYM_CONST const
7189 # Now generate the symbol file.
7190 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7192 cat <<_LT_EOF >> conftest.$ac_ext
7194 /* The mapping between symbol names and symbols. */
7195 LT_DLSYM_CONST struct {
7199 lt__PROGRAM__LTX_preloaded_symbols[] =
7201 { "@PROGRAM@
", (void *) 0 },
7203 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7204 cat <<\_LT_EOF >> conftest.$ac_ext
7208 /* This works around a problem in FreeBSD linker */
7209 #ifdef FREEBSD_WORKAROUND
7210 static const void *lt_preloaded_setup() {
7211 return lt__PROGRAM__LTX_preloaded_symbols;
7219 # Now try linking the two files.
7220 mv conftest.$ac_objext conftstm.$ac_objext
7221 lt_globsym_save_LIBS=$LIBS
7222 lt_globsym_save_CFLAGS=$CFLAGS
7223 LIBS="conftstm.
$ac_objext"
7224 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7225 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7226 (eval $ac_link) 2>&5
7228 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7229 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7232 LIBS=$lt_globsym_save_LIBS
7233 CFLAGS=$lt_globsym_save_CFLAGS
7235 echo "cannot
find nm_test_func
in $nlist" >&5
7238 echo "cannot
find nm_test_var
in $nlist" >&5
7241 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7244 echo "$progname: failed program was
:" >&5
7245 cat conftest.$ac_ext >&5
7247 rm -rf conftest* conftst*
7249 # Do not use the global_symbol_pipe unless it works.
7250 if test "$pipe_works" = yes; then
7253 lt_cv_sys_global_symbol_pipe=
7259 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7260 lt_cv_sys_global_symbol_to_cdecl=
7262 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7264 $as_echo "failed
" >&6; }
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7267 $as_echo "ok
" >&6; }
7270 # Response file support.
7271 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7272 nm_file_list_spec='@'
7273 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7274 nm_file_list_spec='@'
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7304 $as_echo_n "checking
for sysroot...
" >&6; }
7306 # Check whether --with-sysroot was given.
7307 if test "${with_sysroot+set}" = set; then :
7308 withval=$with_sysroot;
7315 case ${with_sysroot} in #(
7317 if test "$GCC" = yes; then
7318 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7322 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7328 $as_echo "${with_sysroot}" >&6; }
7329 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7334 $as_echo "${lt_sysroot:-no}" >&6; }
7340 # Check whether --enable-libtool-lock was given.
7341 if test "${enable_libtool_lock+set}" = set; then :
7342 enableval=$enable_libtool_lock;
7345 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7347 # Some flags need to be propagated to the compiler or linker for good
7351 # Find out which ABI we are using.
7352 echo 'int i;' > conftest.$ac_ext
7353 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7354 (eval $ac_compile) 2>&5
7356 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7357 test $ac_status = 0; }; then
7358 case `/usr/bin/file conftest.$ac_objext` in
7370 # Find out which ABI we are using.
7371 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7372 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7373 (eval $ac_compile) 2>&5
7375 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7376 test $ac_status = 0; }; then
7377 if test "$lt_cv_prog_gnu_ld" = yes; then
7378 case `/usr/bin/file conftest.$ac_objext` in
7380 LD="${LD-ld} -melf32bsmip"
7383 LD="${LD-ld} -melf32bmipn32"
7386 LD="${LD-ld} -melf64bmip"
7390 case `/usr/bin/file conftest.$ac_objext` in
7406 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7407 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7408 # Find out which ABI we are using.
7409 echo 'int i;' > conftest.$ac_ext
7410 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7411 (eval $ac_compile) 2>&5
7413 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7414 test $ac_status = 0; }; then
7415 case `/usr/bin/file conftest.o` in
7418 x86_64-*kfreebsd*-gnu)
7419 LD="${LD-ld} -m elf_i386_fbsd
"
7422 LD="${LD-ld} -m elf_i386
"
7424 ppc64-*linux*|powerpc64-*linux*)
7425 LD="${LD-ld} -m elf32ppclinux
"
7428 LD="${LD-ld} -m elf_s390
"
7431 LD="${LD-ld} -m elf32_sparc
"
7437 x86_64-*kfreebsd*-gnu)
7438 LD="${LD-ld} -m elf_x86_64_fbsd
"
7441 LD="${LD-ld} -m elf_x86_64
"
7443 ppc*-*linux*|powerpc*-*linux*)
7444 LD="${LD-ld} -m elf64ppc
"
7446 s390*-*linux*|s390*-*tpf*)
7447 LD="${LD-ld} -m elf64_s390
"
7450 LD="${LD-ld} -m elf64_sparc
"
7460 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7461 SAVE_CFLAGS="$CFLAGS"
7462 CFLAGS="$CFLAGS -belf"
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7464 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7465 if ${lt_cv_cc_needs_belf+:} false; then :
7466 $as_echo_n "(cached
) " >&6
7469 ac_cpp='$CPP $CPPFLAGS'
7470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7475 /* end confdefs.h. */
7485 if ac_fn_c_try_link "$LINENO"; then :
7486 lt_cv_cc_needs_belf=yes
7488 lt_cv_cc_needs_belf=no
7490 rm -f core conftest.err conftest.$ac_objext \
7491 conftest$ac_exeext conftest.$ac_ext
7493 ac_cpp='$CPP $CPPFLAGS'
7494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7500 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7501 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7502 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7503 CFLAGS="$SAVE_CFLAGS"
7507 # Find out which ABI we are using.
7508 echo 'int i;' > conftest.$ac_ext
7509 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7510 (eval $ac_compile) 2>&5
7512 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7513 test $ac_status = 0; }; then
7514 case `/usr/bin/file conftest.o` in
7516 case $lt_cv_prog_gnu_ld in
7520 LD="${LD-ld} -m elf_x86_64
"
7523 LD="${LD-ld} -m elf64_sparc
"
7526 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7527 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7532 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7544 need_locks="$enable_libtool_lock"
7546 if test -n "$ac_tool_prefix"; then
7547 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7548 set dummy ${ac_tool_prefix}mt; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7550 $as_echo_n "checking
for $ac_word...
" >&6; }
7551 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7552 $as_echo_n "(cached
) " >&6
7554 if test -n "$MANIFEST_TOOL"; then
7555 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7564 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7574 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7575 if test -n "$MANIFEST_TOOL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7577 $as_echo "$MANIFEST_TOOL" >&6; }
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7580 $as_echo "no
" >&6; }
7585 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7586 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7587 # Extract the first word of "mt
", so it can be a program name with args.
7588 set dummy mt; ac_word=$2
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7590 $as_echo_n "checking
for $ac_word...
" >&6; }
7591 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7592 $as_echo_n "(cached
) " >&6
7594 if test -n "$ac_ct_MANIFEST_TOOL"; then
7595 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7601 test -z "$as_dir" && as_dir=.
7602 for ac_exec_ext in '' $ac_executable_extensions; do
7603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7604 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7614 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7615 if test -n "$ac_ct_MANIFEST_TOOL"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7617 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7620 $as_echo "no
" >&6; }
7623 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7626 case $cross_compiling:$ac_tool_warned in
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7629 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7630 ac_tool_warned=yes ;;
7632 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7635 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7638 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7640 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7641 if ${lt_cv_path_mainfest_tool+:} false; then :
7642 $as_echo_n "(cached
) " >&6
7644 lt_cv_path_mainfest_tool=no
7645 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7646 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7647 cat conftest.err >&5
7648 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7649 lt_cv_path_mainfest_tool=yes
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7654 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7655 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7665 rhapsody* | darwin*)
7666 if test -n "$ac_tool_prefix"; then
7667 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7668 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7670 $as_echo_n "checking
for $ac_word...
" >&6; }
7671 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7672 $as_echo_n "(cached
) " >&6
7674 if test -n "$DSYMUTIL"; then
7675 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7681 test -z "$as_dir" && as_dir=.
7682 for ac_exec_ext in '' $ac_executable_extensions; do
7683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7684 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7694 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7695 if test -n "$DSYMUTIL"; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7697 $as_echo "$DSYMUTIL" >&6; }
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7700 $as_echo "no
" >&6; }
7705 if test -z "$ac_cv_prog_DSYMUTIL"; then
7706 ac_ct_DSYMUTIL=$DSYMUTIL
7707 # Extract the first word of "dsymutil
", so it can be a program name with args.
7708 set dummy dsymutil; ac_word=$2
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7710 $as_echo_n "checking
for $ac_word...
" >&6; }
7711 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7712 $as_echo_n "(cached
) " >&6
7714 if test -n "$ac_ct_DSYMUTIL"; then
7715 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7721 test -z "$as_dir" && as_dir=.
7722 for ac_exec_ext in '' $ac_executable_extensions; do
7723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7724 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7734 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7735 if test -n "$ac_ct_DSYMUTIL"; then
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7737 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7740 $as_echo "no
" >&6; }
7743 if test "x
$ac_ct_DSYMUTIL" = x; then
7746 case $cross_compiling:$ac_tool_warned in
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7749 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7750 ac_tool_warned=yes ;;
7752 DSYMUTIL=$ac_ct_DSYMUTIL
7755 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7758 if test -n "$ac_tool_prefix"; then
7759 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7760 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7762 $as_echo_n "checking
for $ac_word...
" >&6; }
7763 if ${ac_cv_prog_NMEDIT+:} false; then :
7764 $as_echo_n "(cached
) " >&6
7766 if test -n "$NMEDIT"; then
7767 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7773 test -z "$as_dir" && as_dir=.
7774 for ac_exec_ext in '' $ac_executable_extensions; do
7775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7776 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7786 NMEDIT=$ac_cv_prog_NMEDIT
7787 if test -n "$NMEDIT"; then
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7789 $as_echo "$NMEDIT" >&6; }
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7792 $as_echo "no
" >&6; }
7797 if test -z "$ac_cv_prog_NMEDIT"; then
7798 ac_ct_NMEDIT=$NMEDIT
7799 # Extract the first word of "nmedit
", so it can be a program name with args.
7800 set dummy nmedit; ac_word=$2
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7802 $as_echo_n "checking
for $ac_word...
" >&6; }
7803 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7804 $as_echo_n "(cached
) " >&6
7806 if test -n "$ac_ct_NMEDIT"; then
7807 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 test -z "$as_dir" && as_dir=.
7814 for ac_exec_ext in '' $ac_executable_extensions; do
7815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7816 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7817 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7826 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7827 if test -n "$ac_ct_NMEDIT"; then
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7829 $as_echo "$ac_ct_NMEDIT" >&6; }
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7832 $as_echo "no
" >&6; }
7835 if test "x
$ac_ct_NMEDIT" = x; then
7838 case $cross_compiling:$ac_tool_warned in
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7841 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7842 ac_tool_warned=yes ;;
7844 NMEDIT=$ac_ct_NMEDIT
7847 NMEDIT="$ac_cv_prog_NMEDIT"
7850 if test -n "$ac_tool_prefix"; then
7851 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7852 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7854 $as_echo_n "checking
for $ac_word...
" >&6; }
7855 if ${ac_cv_prog_LIPO+:} false; then :
7856 $as_echo_n "(cached
) " >&6
7858 if test -n "$LIPO"; then
7859 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7868 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7878 LIPO=$ac_cv_prog_LIPO
7879 if test -n "$LIPO"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7881 $as_echo "$LIPO" >&6; }
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7884 $as_echo "no
" >&6; }
7889 if test -z "$ac_cv_prog_LIPO"; then
7891 # Extract the first word of "lipo
", so it can be a program name with args.
7892 set dummy lipo; ac_word=$2
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7894 $as_echo_n "checking
for $ac_word...
" >&6; }
7895 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7896 $as_echo_n "(cached
) " >&6
7898 if test -n "$ac_ct_LIPO"; then
7899 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 test -z "$as_dir" && as_dir=.
7906 for ac_exec_ext in '' $ac_executable_extensions; do
7907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7908 ac_cv_prog_ac_ct_LIPO="lipo
"
7909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7918 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7919 if test -n "$ac_ct_LIPO"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7921 $as_echo "$ac_ct_LIPO" >&6; }
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7924 $as_echo "no
" >&6; }
7927 if test "x
$ac_ct_LIPO" = x; then
7930 case $cross_compiling:$ac_tool_warned in
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7933 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7934 ac_tool_warned=yes ;;
7939 LIPO="$ac_cv_prog_LIPO"
7942 if test -n "$ac_tool_prefix"; then
7943 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7944 set dummy ${ac_tool_prefix}otool; ac_word=$2
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7946 $as_echo_n "checking
for $ac_word...
" >&6; }
7947 if ${ac_cv_prog_OTOOL+:} false; then :
7948 $as_echo_n "(cached
) " >&6
7950 if test -n "$OTOOL"; then
7951 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7957 test -z "$as_dir" && as_dir=.
7958 for ac_exec_ext in '' $ac_executable_extensions; do
7959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7960 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7970 OTOOL=$ac_cv_prog_OTOOL
7971 if test -n "$OTOOL"; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7973 $as_echo "$OTOOL" >&6; }
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7976 $as_echo "no
" >&6; }
7981 if test -z "$ac_cv_prog_OTOOL"; then
7983 # Extract the first word of "otool
", so it can be a program name with args.
7984 set dummy otool; ac_word=$2
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7986 $as_echo_n "checking
for $ac_word...
" >&6; }
7987 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7988 $as_echo_n "(cached
) " >&6
7990 if test -n "$ac_ct_OTOOL"; then
7991 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 test -z "$as_dir" && as_dir=.
7998 for ac_exec_ext in '' $ac_executable_extensions; do
7999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8000 ac_cv_prog_ac_ct_OTOOL="otool
"
8001 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8010 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8011 if test -n "$ac_ct_OTOOL"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8013 $as_echo "$ac_ct_OTOOL" >&6; }
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8016 $as_echo "no
" >&6; }
8019 if test "x
$ac_ct_OTOOL" = x; then
8022 case $cross_compiling:$ac_tool_warned in
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8025 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8026 ac_tool_warned=yes ;;
8031 OTOOL="$ac_cv_prog_OTOOL"
8034 if test -n "$ac_tool_prefix"; then
8035 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8036 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8038 $as_echo_n "checking
for $ac_word...
" >&6; }
8039 if ${ac_cv_prog_OTOOL64+:} false; then :
8040 $as_echo_n "(cached
) " >&6
8042 if test -n "$OTOOL64"; then
8043 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8052 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8062 OTOOL64=$ac_cv_prog_OTOOL64
8063 if test -n "$OTOOL64"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8065 $as_echo "$OTOOL64" >&6; }
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8068 $as_echo "no
" >&6; }
8073 if test -z "$ac_cv_prog_OTOOL64"; then
8074 ac_ct_OTOOL64=$OTOOL64
8075 # Extract the first word of "otool64
", so it can be a program name with args.
8076 set dummy otool64; ac_word=$2
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8078 $as_echo_n "checking
for $ac_word...
" >&6; }
8079 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8080 $as_echo_n "(cached
) " >&6
8082 if test -n "$ac_ct_OTOOL64"; then
8083 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8089 test -z "$as_dir" && as_dir=.
8090 for ac_exec_ext in '' $ac_executable_extensions; do
8091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8092 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8093 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8102 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8103 if test -n "$ac_ct_OTOOL64"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8105 $as_echo "$ac_ct_OTOOL64" >&6; }
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8108 $as_echo "no
" >&6; }
8111 if test "x
$ac_ct_OTOOL64" = x; then
8114 case $cross_compiling:$ac_tool_warned in
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8117 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8118 ac_tool_warned=yes ;;
8120 OTOOL64=$ac_ct_OTOOL64
8123 OTOOL64="$ac_cv_prog_OTOOL64"
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8153 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8154 if ${lt_cv_apple_cc_single_mod+:} false; then :
8155 $as_echo_n "(cached
) " >&6
8157 lt_cv_apple_cc_single_mod=no
8158 if test -z "${LT_MULTI_MODULE}"; then
8159 # By default we will add the -single_module flag. You can override
8160 # by either setting the environment variable LT_MULTI_MODULE
8161 # non-empty at configure time, or by adding -multi_module to the
8163 rm -rf libconftest.dylib*
8164 echo "int foo
(void
){return 1;}" > conftest.c
8165 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8166 -dynamiclib -Wl,-single_module conftest.c
" >&5
8167 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8168 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8170 # If there is a non-empty error log, and "single_module
"
8171 # appears in it, assume the flag caused a linker warning
8172 if test -s conftest.err && $GREP single_module conftest.err; then
8173 cat conftest.err >&5
8174 # Otherwise, if the output was created with a 0 exit code from
8175 # the compiler, it worked.
8176 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8177 lt_cv_apple_cc_single_mod=yes
8179 cat conftest.err >&5
8181 rm -rf libconftest.dylib*
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8186 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8189 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8190 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8191 $as_echo_n "(cached
) " >&6
8193 lt_cv_ld_exported_symbols_list=no
8194 save_LDFLAGS=$LDFLAGS
8195 echo "_main
" > conftest.sym
8196 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8198 /* end confdefs.h. */
8208 if ac_fn_c_try_link "$LINENO"; then :
8209 lt_cv_ld_exported_symbols_list=yes
8211 lt_cv_ld_exported_symbols_list=no
8213 rm -f core conftest.err conftest.$ac_objext \
8214 conftest$ac_exeext conftest.$ac_ext
8215 LDFLAGS="$save_LDFLAGS"
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8219 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8222 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8223 if ${lt_cv_ld_force_load+:} false; then :
8224 $as_echo_n "(cached
) " >&6
8226 lt_cv_ld_force_load=no
8227 cat > conftest.c << _LT_EOF
8228 int forced_loaded() { return 2;}
8230 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8231 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8232 echo "$AR cru libconftest.a conftest.o
" >&5
8233 $AR cru libconftest.a conftest.o 2>&5
8234 echo "$RANLIB libconftest.a
" >&5
8235 $RANLIB libconftest.a 2>&5
8236 cat > conftest.c << _LT_EOF
8237 int main() { return 0;}
8239 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8240 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8242 if test -s conftest.err && $GREP force_load conftest.err; then
8243 cat conftest.err >&5
8244 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8245 lt_cv_ld_force_load=yes
8247 cat conftest.err >&5
8249 rm -f conftest.err libconftest.a conftest conftest.c
8250 rm -rf conftest.dSYM
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8254 $as_echo "$lt_cv_ld_force_load" >&6; }
8256 rhapsody* | darwin1.[012])
8257 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8259 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8260 darwin*) # darwin 5.x on
8261 # if running on 10.5 or later, the deployment target defaults
8262 # to the OS version, if on x86, and 10.4, the deployment
8263 # target defaults to 10.4. Don't you love it?
8264 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8265 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8266 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8268 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8270 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8274 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8275 _lt_dar_single_mod='$single_module'
8277 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8278 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8280 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8282 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8283 _lt_dsymutil='~$DSYMUTIL $lib || :'
8291 ac_cpp='$CPP $CPPFLAGS'
8292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8296 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8297 # On Suns, sometimes $CPP names a directory.
8298 if test -n "$CPP" && test -d "$CPP"; then
8301 if test -z "$CPP"; then
8302 if ${ac_cv_prog_CPP+:} false; then :
8303 $as_echo_n "(cached
) " >&6
8305 # Double quotes because CPP needs to be expanded
8306 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8309 for ac_c_preproc_warn_flag in '' yes
8311 # Use a header file that comes with gcc, so configuring glibc
8312 # with a fresh cross-compiler works.
8313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8314 # <limits.h> exists even on freestanding compilers.
8315 # On the NeXT, cc -E runs the code through the compiler's parser,
8316 # not just through cpp. "Syntax error
" is here to catch this case.
8317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8320 # include <limits.h>
8322 # include <assert.h>
8326 if ac_fn_c_try_cpp "$LINENO"; then :
8329 # Broken: fails on valid input.
8332 rm -f conftest.err conftest.i conftest.$ac_ext
8334 # OK, works on sane cases. Now check whether nonexistent headers
8335 # can be detected and how.
8336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8338 #include <ac_nonexistent.h>
8340 if ac_fn_c_try_cpp "$LINENO"; then :
8341 # Broken: success on invalid input.
8344 # Passes both tests.
8348 rm -f conftest.err conftest.i conftest.$ac_ext
8351 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8352 rm -f conftest.i conftest.err conftest.$ac_ext
8353 if $ac_preproc_ok; then :
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8366 $as_echo "$CPP" >&6; }
8368 for ac_c_preproc_warn_flag in '' yes
8370 # Use a header file that comes with gcc, so configuring glibc
8371 # with a fresh cross-compiler works.
8372 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8373 # <limits.h> exists even on freestanding compilers.
8374 # On the NeXT, cc -E runs the code through the compiler's parser,
8375 # not just through cpp. "Syntax error
" is here to catch this case.
8376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8377 /* end confdefs.h. */
8379 # include <limits.h>
8381 # include <assert.h>
8385 if ac_fn_c_try_cpp "$LINENO"; then :
8388 # Broken: fails on valid input.
8391 rm -f conftest.err conftest.i conftest.$ac_ext
8393 # OK, works on sane cases. Now check whether nonexistent headers
8394 # can be detected and how.
8395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8397 #include <ac_nonexistent.h>
8399 if ac_fn_c_try_cpp "$LINENO"; then :
8400 # Broken: success on invalid input.
8403 # Passes both tests.
8407 rm -f conftest.err conftest.i conftest.$ac_ext
8410 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8411 rm -f conftest.i conftest.err conftest.$ac_ext
8412 if $ac_preproc_ok; then :
8415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8417 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8418 See \`config.log' for more details
" "$LINENO" 5; }
8422 ac_cpp='$CPP $CPPFLAGS'
8423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8429 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8430 if ${ac_cv_header_stdc+:} false; then :
8431 $as_echo_n "(cached
) " >&6
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8448 if ac_fn_c_try_compile "$LINENO"; then :
8449 ac_cv_header_stdc=yes
8451 ac_cv_header_stdc=no
8453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8455 if test $ac_cv_header_stdc = yes; then
8456 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8462 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8463 $EGREP "memchr
" >/dev/null 2>&1; then :
8466 ac_cv_header_stdc=no
8472 if test $ac_cv_header_stdc = yes; then
8473 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8479 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8480 $EGREP "free
" >/dev/null 2>&1; then :
8483 ac_cv_header_stdc=no
8489 if test $ac_cv_header_stdc = yes; then
8490 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8491 if test "$cross_compiling" = yes; then :
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8498 #if ((' ' & 0x0FF) == 0x020)
8499 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8500 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8502 # define ISLOWER(c) \
8503 (('a' <= (c) && (c) <= 'i') \
8504 || ('j' <= (c) && (c) <= 'r') \
8505 || ('s' <= (c) && (c) <= 'z'))
8506 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8509 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8514 for (i = 0; i < 256; i++)
8515 if (XOR (islower (i), ISLOWER (i))
8516 || toupper (i) != TOUPPER (i))
8521 if ac_fn_c_try_run "$LINENO"; then :
8524 ac_cv_header_stdc=no
8526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8527 conftest.$ac_objext conftest.beam conftest.$ac_ext
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8533 $as_echo "$ac_cv_header_stdc" >&6; }
8534 if test $ac_cv_header_stdc = yes; then
8536 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8540 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8541 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8542 inttypes.h stdint.h unistd.h
8544 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8545 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8547 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8548 cat >>confdefs.h
<<_ACEOF
8549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8557 for ac_header
in dlfcn.h
8559 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8561 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8562 cat >>confdefs.h
<<_ACEOF
8563 #define HAVE_DLFCN_H 1
8573 func_stripname_cnf
()
8576 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8577 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8579 } # func_stripname_cnf
8586 # Check whether --enable-static was given.
8587 if test "${enable_static+set}" = set; then :
8588 enableval
=$enable_static; p
=${PACKAGE-default}
8590 yes) enable_static
=yes ;;
8591 no
) enable_static
=no
;;
8594 # Look at the argument we got. We use all the common list separators.
8595 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8596 for pkg
in $enableval; do
8598 if test "X$pkg" = "X$p"; then
8624 # Check whether --enable-shared was given.
8625 if test "${enable_shared+set}" = set; then :
8626 enableval
=$enable_shared; p
=${PACKAGE-default}
8628 yes) enable_shared
=yes ;;
8629 no
) enable_shared
=no
;;
8632 # Look at the argument we got. We use all the common list separators.
8633 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8634 for pkg
in $enableval; do
8636 if test "X$pkg" = "X$p"; then
8657 # Check whether --with-pic was given.
8658 if test "${with_pic+set}" = set; then :
8659 withval
=$with_pic; lt_p
=${PACKAGE-default}
8661 yes|no
) pic_mode
=$withval ;;
8664 # Look at the argument we got. We use all the common list separators.
8665 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8666 for lt_pkg
in $withval; do
8668 if test "X$lt_pkg" = "X$lt_p"; then
8680 test -z "$pic_mode" && pic_mode
=default
8688 # Check whether --enable-fast-install was given.
8689 if test "${enable_fast_install+set}" = set; then :
8690 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8692 yes) enable_fast_install
=yes ;;
8693 no
) enable_fast_install
=no
;;
8695 enable_fast_install
=no
8696 # Look at the argument we got. We use all the common list separators.
8697 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8698 for pkg
in $enableval; do
8700 if test "X$pkg" = "X$p"; then
8701 enable_fast_install
=yes
8708 enable_fast_install
=yes
8721 # This can be used to rebuild libtool when needed
8722 LIBTOOL_DEPS
="$ltmain"
8724 # Always use our own libtool.
8725 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8756 test -z "$LN_S" && LN_S
="ln -s"
8771 if test -n "${ZSH_VERSION+set}" ; then
8772 setopt NO_GLOB_SUBST
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8776 $as_echo_n "checking for objdir... " >&6; }
8777 if ${lt_cv_objdir+:} false
; then :
8778 $as_echo_n "(cached) " >&6
8780 rm -f .libs
2>/dev
/null
8781 mkdir .libs
2>/dev
/null
8782 if test -d .libs
; then
8785 # MS-DOS does not allow filenames that begin with a dot.
8788 rmdir .libs
2>/dev
/null
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8791 $as_echo "$lt_cv_objdir" >&6; }
8792 objdir
=$lt_cv_objdir
8798 cat >>confdefs.h
<<_ACEOF
8799 #define LT_OBJDIR "$lt_cv_objdir/"
8807 # AIX sometimes has problems with the GCC collect2 program. For some
8808 # reason, if we set the COLLECT_NAMES environment variable, the problems
8809 # vanish in a puff of smoke.
8810 if test "X${COLLECT_NAMES+set}" != Xset
; then
8812 export COLLECT_NAMES
8819 can_build_shared
=yes
8821 # All known linkers require a `.a' archive for static linking (except MSVC,
8822 # which needs '.lib').
8825 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8828 old_CFLAGS
="$CFLAGS"
8830 # Set sane defaults for various variables
8831 test -z "$CC" && CC
=cc
8832 test -z "$LTCC" && LTCC
=$CC
8833 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8834 test -z "$LD" && LD
=ld
8835 test -z "$ac_objext" && ac_objext
=o
8837 for cc_temp
in $compiler""; do
8839 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8840 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8845 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8848 # Only perform the check for file, if the check method requires it
8849 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8850 case $deplibs_check_method in
8852 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8854 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8855 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8856 $as_echo_n "(cached) " >&6
8860 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8863 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8864 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8865 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8866 for ac_dir
in $ac_dummy; do
8868 test -z "$ac_dir" && ac_dir
=.
8869 if test -f $ac_dir/${ac_tool_prefix}file; then
8870 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8871 if test -n "$file_magic_test_file"; then
8872 case $deplibs_check_method in
8874 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8875 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8876 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8877 $EGREP "$file_magic_regex" > /dev
/null
; then
8882 *** Warning: the command libtool uses to detect shared libraries,
8883 *** $file_magic_cmd, produces output that libtool cannot recognize.
8884 *** The result is that libtool may fail to recognize shared libraries
8885 *** as such. This will affect the creation of libtool libraries that
8886 *** depend on shared libraries, but programs linked with such libtool
8887 *** libraries will work regardless of this problem. Nevertheless, you
8888 *** may want to report the problem to your system manager and/or to
8889 *** bug-libtool@gnu.org
8899 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8904 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8905 if test -n "$MAGIC_CMD"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8907 $as_echo "$MAGIC_CMD" >&6; }
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8910 $as_echo "no" >&6; }
8917 if test -z "$lt_cv_path_MAGIC_CMD"; then
8918 if test -n "$ac_tool_prefix"; then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8920 $as_echo_n "checking for file... " >&6; }
8921 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8922 $as_echo_n "(cached) " >&6
8926 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8929 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8930 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8931 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8932 for ac_dir
in $ac_dummy; do
8934 test -z "$ac_dir" && ac_dir
=.
8935 if test -f $ac_dir/file; then
8936 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8937 if test -n "$file_magic_test_file"; then
8938 case $deplibs_check_method in
8940 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8941 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8942 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8943 $EGREP "$file_magic_regex" > /dev
/null
; then
8948 *** Warning: the command libtool uses to detect shared libraries,
8949 *** $file_magic_cmd, produces output that libtool cannot recognize.
8950 *** The result is that libtool may fail to recognize shared libraries
8951 *** as such. This will affect the creation of libtool libraries that
8952 *** depend on shared libraries, but programs linked with such libtool
8953 *** libraries will work regardless of this problem. Nevertheless, you
8954 *** may want to report the problem to your system manager and/or to
8955 *** bug-libtool@gnu.org
8965 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8970 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8971 if test -n "$MAGIC_CMD"; then
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8973 $as_echo "$MAGIC_CMD" >&6; }
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8976 $as_echo "no" >&6; }
8989 # Use C for the default configuration in the libtool script
8993 ac_cpp
='$CPP $CPPFLAGS'
8994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8999 # Source file extension for C test sources.
9002 # Object file extension for compiled C test sources.
9006 # Code to be used in simple compile tests
9007 lt_simple_compile_test_code
="int some_variable = 0;"
9009 # Code to be used in simple link tests
9010 lt_simple_link_test_code
='int main(){return(0);}'
9018 # If no C compiler was specified, use CC.
9021 # If no C compiler flags were specified, use CFLAGS.
9022 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9024 # Allow CC to be a program name with arguments.
9027 # Save the default compiler, since it gets overwritten when the other
9028 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9029 compiler_DEFAULT
=$CC
9031 # save warnings/boilerplate of simple test code
9032 ac_outfile
=conftest.
$ac_objext
9033 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9034 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9035 _lt_compiler_boilerplate
=`cat conftest.err`
9038 ac_outfile
=conftest.
$ac_objext
9039 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9040 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9041 _lt_linker_boilerplate
=`cat conftest.err`
9046 ## There is no encapsulation within the following macros, do not change
9047 ## the running order or otherwise move them around unless you know exactly
9048 ## what you are doing...
9049 if test -n "$compiler"; then
9051 lt_prog_compiler_no_builtin_flag
=
9053 if test "$GCC" = yes; then
9054 case $cc_basename in
9056 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9058 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9062 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9063 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9064 $as_echo_n "(cached) " >&6
9066 lt_cv_prog_compiler_rtti_exceptions
=no
9067 ac_outfile
=conftest.
$ac_objext
9068 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9069 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9070 # Insert the option either (1) after the last *FLAGS variable, or
9071 # (2) before a word containing "conftest.", or (3) at the end.
9072 # Note that $ac_compile itself does not contain backslashes and begins
9073 # with a dollar sign (not a hyphen), so the echo should work correctly.
9074 # The option is referenced via a variable to avoid confusing sed.
9075 lt_compile
=`echo "$ac_compile" | $SED \
9076 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9077 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9078 -e 's:$: $lt_compiler_flag:'`
9079 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9080 (eval "$lt_compile" 2>conftest.err
)
9082 cat conftest.err
>&5
9083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084 if (exit $ac_status) && test -s "$ac_outfile"; then
9085 # The compiler can only warn and ignore the option if not recognized
9086 # So say no if there are warnings other than the usual output.
9087 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9088 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9089 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9090 lt_cv_prog_compiler_rtti_exceptions
=yes
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9097 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9099 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9100 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9112 lt_prog_compiler_wl
=
9113 lt_prog_compiler_pic
=
9114 lt_prog_compiler_static
=
9117 if test "$GCC" = yes; then
9118 lt_prog_compiler_wl
='-Wl,'
9119 lt_prog_compiler_static
='-static'
9123 # All AIX code is PIC.
9124 if test "$host_cpu" = ia64
; then
9125 # AIX 5 now supports IA64 processor
9126 lt_prog_compiler_static
='-Bstatic'
9133 # see comment about AmigaOS4 .so support
9134 lt_prog_compiler_pic
='-fPIC'
9137 # FIXME: we need at least 68020 code to build shared libraries, but
9138 # adding the `-m68020' flag to GCC prevents building anything better,
9140 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9145 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9146 # PIC is the default for these OSes.
9149 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9150 # This hack is so that the source file can tell whether it is being
9151 # built for inclusion in a dll (and should export symbols for example).
9152 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9153 # (--disable-auto-import) libraries
9154 lt_prog_compiler_pic
='-DDLL_EXPORT'
9157 darwin
* | rhapsody
*)
9158 # PIC is the default on this platform
9159 # Common symbols not allowed in MH_DYLIB files
9160 lt_prog_compiler_pic
='-fno-common'
9164 # PIC is the default for Haiku.
9165 # The "-static" flag exists, but is broken.
9166 lt_prog_compiler_static
=
9170 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9171 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9172 # sets the default TLS model and affects inlining.
9178 lt_prog_compiler_pic
='-fPIC'
9184 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9185 # Instead, we relocate shared libraries at runtime.
9189 # Just because we use GCC doesn't mean we suddenly get shared libraries
9190 # on systems that don't support them.
9191 lt_prog_compiler_can_build_shared
=no
9196 # QNX uses GNU C++, but need to define -shared option too, otherwise
9198 lt_prog_compiler_pic
='-fPIC -shared'
9202 if test -d /usr
/nec
; then
9203 lt_prog_compiler_pic
=-Kconform_pic
9208 lt_prog_compiler_pic
='-fPIC'
9212 case $cc_basename in
9213 nvcc
*) # Cuda Compiler Driver 2.2
9214 lt_prog_compiler_wl
='-Xlinker '
9215 if test -n "$lt_prog_compiler_pic"; then
9216 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9221 # PORTME Check for flag to pass linker flags through the system compiler.
9224 lt_prog_compiler_wl
='-Wl,'
9225 if test "$host_cpu" = ia64
; then
9226 # AIX 5 now supports IA64 processor
9227 lt_prog_compiler_static
='-Bstatic'
9229 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9233 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9234 # This hack is so that the source file can tell whether it is being
9235 # built for inclusion in a dll (and should export symbols for example).
9236 lt_prog_compiler_pic
='-DDLL_EXPORT'
9239 hpux9
* | hpux10
* | hpux11
*)
9240 lt_prog_compiler_wl
='-Wl,'
9241 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9248 lt_prog_compiler_pic
='+Z'
9251 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9252 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9255 irix5
* | irix6
* | nonstopux
*)
9256 lt_prog_compiler_wl
='-Wl,'
9257 # PIC (with -KPIC) is the default.
9258 lt_prog_compiler_static
='-non_shared'
9261 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9262 case $cc_basename in
9263 # old Intel for x86_64 which still supported -KPIC.
9265 lt_prog_compiler_wl
='-Wl,'
9266 lt_prog_compiler_pic
='-KPIC'
9267 lt_prog_compiler_static
='-static'
9269 # icc used to be incompatible with GCC.
9270 # ICC 10 doesn't accept -KPIC any more.
9272 lt_prog_compiler_wl
='-Wl,'
9273 lt_prog_compiler_pic
='-fPIC'
9274 lt_prog_compiler_static
='-static'
9276 # Lahey Fortran 8.1.
9278 lt_prog_compiler_wl
='-Wl,'
9279 lt_prog_compiler_pic
='--shared'
9280 lt_prog_compiler_static
='--static'
9283 # NAG Fortran compiler
9284 lt_prog_compiler_wl
='-Wl,-Wl,,'
9285 lt_prog_compiler_pic
='-PIC'
9286 lt_prog_compiler_static
='-Bstatic'
9288 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9289 # Portland Group compilers (*not* the Pentium gcc compiler,
9290 # which looks to be a dead project)
9291 lt_prog_compiler_wl
='-Wl,'
9292 lt_prog_compiler_pic
='-fpic'
9293 lt_prog_compiler_static
='-Bstatic'
9296 lt_prog_compiler_wl
='-Wl,'
9297 # All Alpha code is PIC.
9298 lt_prog_compiler_static
='-non_shared'
9300 xl
* | bgxl
* | bgf
* | mpixl
*)
9301 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9302 lt_prog_compiler_wl
='-Wl,'
9303 lt_prog_compiler_pic
='-qpic'
9304 lt_prog_compiler_static
='-qstaticlink'
9307 case `$CC -V 2>&1 | sed 5q` in
9308 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9309 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9310 lt_prog_compiler_pic
='-KPIC'
9311 lt_prog_compiler_static
='-Bstatic'
9312 lt_prog_compiler_wl
=''
9314 *Sun\ F
* | *Sun
*Fortran
*)
9315 lt_prog_compiler_pic
='-KPIC'
9316 lt_prog_compiler_static
='-Bstatic'
9317 lt_prog_compiler_wl
='-Qoption ld '
9321 lt_prog_compiler_pic
='-KPIC'
9322 lt_prog_compiler_static
='-Bstatic'
9323 lt_prog_compiler_wl
='-Wl,'
9325 *Intel
*\
[CF
]*Compiler
*)
9326 lt_prog_compiler_wl
='-Wl,'
9327 lt_prog_compiler_pic
='-fPIC'
9328 lt_prog_compiler_static
='-static'
9331 lt_prog_compiler_wl
='-Wl,'
9332 lt_prog_compiler_pic
='-fpic'
9333 lt_prog_compiler_static
='-Bstatic'
9341 lt_prog_compiler_pic
='-KPIC'
9342 lt_prog_compiler_static
='-Bstatic'
9346 # QNX uses GNU C++, but need to define -shared option too, otherwise
9348 lt_prog_compiler_pic
='-fPIC -shared'
9351 osf3
* | osf4
* | osf5
*)
9352 lt_prog_compiler_wl
='-Wl,'
9353 # All OSF/1 code is PIC.
9354 lt_prog_compiler_static
='-non_shared'
9358 lt_prog_compiler_static
='-non_shared'
9362 lt_prog_compiler_pic
='-KPIC'
9363 lt_prog_compiler_static
='-Bstatic'
9364 case $cc_basename in
9365 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9366 lt_prog_compiler_wl
='-Qoption ld ';;
9368 lt_prog_compiler_wl
='-Wl,';;
9373 lt_prog_compiler_wl
='-Qoption ld '
9374 lt_prog_compiler_pic
='-PIC'
9375 lt_prog_compiler_static
='-Bstatic'
9378 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9379 lt_prog_compiler_wl
='-Wl,'
9380 lt_prog_compiler_pic
='-KPIC'
9381 lt_prog_compiler_static
='-Bstatic'
9385 if test -d /usr
/nec
;then
9386 lt_prog_compiler_pic
='-Kconform_pic'
9387 lt_prog_compiler_static
='-Bstatic'
9391 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9392 lt_prog_compiler_wl
='-Wl,'
9393 lt_prog_compiler_pic
='-KPIC'
9394 lt_prog_compiler_static
='-Bstatic'
9398 lt_prog_compiler_wl
='-Wl,'
9399 lt_prog_compiler_can_build_shared
=no
9403 lt_prog_compiler_pic
='-pic'
9404 lt_prog_compiler_static
='-Bstatic'
9408 lt_prog_compiler_can_build_shared
=no
9414 # For platforms which do not support PIC, -DPIC is meaningless:
9416 lt_prog_compiler_pic
=
9419 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9424 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9425 if ${lt_cv_prog_compiler_pic+:} false
; then :
9426 $as_echo_n "(cached) " >&6
9428 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9431 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9432 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9435 # Check to make sure the PIC flag actually works.
9437 if test -n "$lt_prog_compiler_pic"; then
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9439 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9440 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9441 $as_echo_n "(cached) " >&6
9443 lt_cv_prog_compiler_pic_works
=no
9444 ac_outfile
=conftest.
$ac_objext
9445 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9446 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9447 # Insert the option either (1) after the last *FLAGS variable, or
9448 # (2) before a word containing "conftest.", or (3) at the end.
9449 # Note that $ac_compile itself does not contain backslashes and begins
9450 # with a dollar sign (not a hyphen), so the echo should work correctly.
9451 # The option is referenced via a variable to avoid confusing sed.
9452 lt_compile
=`echo "$ac_compile" | $SED \
9453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9455 -e 's:$: $lt_compiler_flag:'`
9456 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9457 (eval "$lt_compile" 2>conftest.err
)
9459 cat conftest.err
>&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 if (exit $ac_status) && test -s "$ac_outfile"; then
9462 # The compiler can only warn and ignore the option if not recognized
9463 # So say no if there are warnings other than the usual output.
9464 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9465 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9466 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9467 lt_cv_prog_compiler_pic_works
=yes
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9474 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9476 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9477 case $lt_prog_compiler_pic in
9479 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9482 lt_prog_compiler_pic
=
9483 lt_prog_compiler_can_build_shared
=no
9499 # Check to make sure the static flag actually works.
9501 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9503 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9504 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9505 $as_echo_n "(cached) " >&6
9507 lt_cv_prog_compiler_static_works
=no
9508 save_LDFLAGS
="$LDFLAGS"
9509 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9510 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9511 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9512 # The linker can only warn and ignore the option if not recognized
9513 # So say no if there are warnings
9514 if test -s conftest.err
; then
9515 # Append any errors to the config.log.
9516 cat conftest.err
1>&5
9517 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9518 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9519 if diff conftest.exp conftest.er2
>/dev
/null
; then
9520 lt_cv_prog_compiler_static_works
=yes
9523 lt_cv_prog_compiler_static_works
=yes
9527 LDFLAGS
="$save_LDFLAGS"
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9531 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9533 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9536 lt_prog_compiler_static
=
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9546 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9547 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9548 $as_echo_n "(cached) " >&6
9550 lt_cv_prog_compiler_c_o
=no
9551 $RM -r conftest
2>/dev
/null
9555 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9557 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9558 # Insert the option either (1) after the last *FLAGS variable, or
9559 # (2) before a word containing "conftest.", or (3) at the end.
9560 # Note that $ac_compile itself does not contain backslashes and begins
9561 # with a dollar sign (not a hyphen), so the echo should work correctly.
9562 lt_compile
=`echo "$ac_compile" | $SED \
9563 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9564 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9565 -e 's:$: $lt_compiler_flag:'`
9566 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9567 (eval "$lt_compile" 2>out
/conftest.err
)
9569 cat out
/conftest.err
>&5
9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9573 # The compiler can only warn and ignore the option if not recognized
9574 # So say no if there are warnings
9575 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9576 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9577 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9578 lt_cv_prog_compiler_c_o
=yes
9583 # SGI C++ compiler will create directory out/ii_files/ for
9584 # template instantiation
9585 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9586 $RM out
/* && rmdir out
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9593 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9601 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9602 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9603 $as_echo_n "(cached) " >&6
9605 lt_cv_prog_compiler_c_o
=no
9606 $RM -r conftest
2>/dev
/null
9610 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9612 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9613 # Insert the option either (1) after the last *FLAGS variable, or
9614 # (2) before a word containing "conftest.", or (3) at the end.
9615 # Note that $ac_compile itself does not contain backslashes and begins
9616 # with a dollar sign (not a hyphen), so the echo should work correctly.
9617 lt_compile
=`echo "$ac_compile" | $SED \
9618 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9619 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9620 -e 's:$: $lt_compiler_flag:'`
9621 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9622 (eval "$lt_compile" 2>out
/conftest.err
)
9624 cat out
/conftest.err
>&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9628 # The compiler can only warn and ignore the option if not recognized
9629 # So say no if there are warnings
9630 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9631 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9632 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9633 lt_cv_prog_compiler_c_o
=yes
9638 # SGI C++ compiler will create directory out/ii_files/ for
9639 # template instantiation
9640 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9641 $RM out
/* && rmdir out
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9648 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9653 hard_links
="nottested"
9654 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9655 # do not overwrite the value of need_locks provided by the user
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9657 $as_echo_n "checking if we can lock with hard links... " >&6; }
9660 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9662 ln conftest.a conftest.b
2>&5 || hard_links
=no
9663 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9665 $as_echo "$hard_links" >&6; }
9666 if test "$hard_links" = no
; then
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9668 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9681 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9684 allow_undefined_flag
=
9685 always_export_symbols
=no
9687 archive_expsym_cmds
=
9688 compiler_needs_object
=no
9689 enable_shared_with_static_runtimes
=no
9690 export_dynamic_flag_spec
=
9691 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9692 hardcode_automatic
=no
9694 hardcode_direct_absolute
=no
9695 hardcode_libdir_flag_spec
=
9696 hardcode_libdir_separator
=
9698 hardcode_shlibpath_var
=unsupported
9700 link_all_deplibs
=unknown
9703 old_archive_from_new_cmds
=
9704 old_archive_from_expsyms_cmds
=
9705 thread_safe_flag_spec
=
9706 whole_archive_flag_spec
=
9707 # include_expsyms should be a list of space-separated symbols to be *always*
9708 # included in the symbol list
9710 # exclude_expsyms can be an extended regexp of symbols to exclude
9711 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9712 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9713 # as well as any symbol that contains `d'.
9714 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9715 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9716 # platforms (ab)use it in PIC code, but their linkers get confused if
9717 # the symbol is explicitly referenced. Since portable code cannot
9718 # rely on this symbol name, it's probably fine to never include it in
9719 # preloaded symbol tables.
9720 # Exclude shared library initialization/finalization symbols.
9721 extract_expsyms_cmds
=
9724 cygwin
* | mingw
* | pw32
* | cegcc
*)
9725 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9726 # When not using gcc, we currently assume that we are using
9727 # Microsoft Visual C++.
9728 if test "$GCC" != yes; then
9733 # we just hope/assume this is gcc and not c89 (= MSVC++)
9743 # On some targets, GNU ld is compatible enough with the native linker
9744 # that we're better off using the native interface for both.
9745 lt_use_gnu_ld_interface
=no
9746 if test "$with_gnu_ld" = yes; then
9749 # The AIX port of GNU ld has always aspired to compatibility
9750 # with the native linker. However, as the warning in the GNU ld
9751 # block says, versions before 2.19.5* couldn't really create working
9752 # shared libraries, regardless of the interface used.
9753 case `$LD -v 2>&1` in
9754 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9755 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9756 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9758 lt_use_gnu_ld_interface
=yes
9763 lt_use_gnu_ld_interface
=yes
9768 if test "$lt_use_gnu_ld_interface" = yes; then
9769 # If archive_cmds runs LD, not CC, wlarc should be empty
9772 # Set some defaults for GNU ld with shared library support. These
9773 # are reset later if shared libraries are not supported. Putting them
9774 # here allows them to be overridden if necessary.
9775 runpath_var
=LD_RUN_PATH
9776 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9777 export_dynamic_flag_spec
='${wl}--export-dynamic'
9778 # ancient GNU ld didn't support --whole-archive et. al.
9779 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9780 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9782 whole_archive_flag_spec
=
9784 supports_anon_versioning
=no
9785 case `$LD -v 2>&1` in
9786 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9787 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9788 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9789 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9790 *\
2.11.
*) ;; # other 2.11 versions
9791 *) supports_anon_versioning
=yes ;;
9794 # See if GNU ld supports shared libraries.
9797 # On AIX/PPC, the GNU linker is very broken
9798 if test "$host_cpu" != ia64
; then
9802 *** Warning: the GNU linker, at least up to release 2.19, is reported
9803 *** to be unable to reliably create shared libraries on AIX.
9804 *** Therefore, libtool is disabling shared libraries support. If you
9805 *** really care for shared libraries, you may want to install binutils
9806 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9807 *** You will then need to restart the configuration process.
9816 # see comment about AmigaOS4 .so support
9817 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9818 archive_expsym_cmds
=''
9821 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)'
9822 hardcode_libdir_flag_spec
='-L$libdir'
9823 hardcode_minus_L
=yes
9829 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9830 allow_undefined_flag
=unsupported
9831 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9832 # support --undefined. This deserves some investigation. FIXME
9833 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9839 cygwin
* | mingw
* | pw32
* | cegcc
*)
9840 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9841 # as there is no search path for DLLs.
9842 hardcode_libdir_flag_spec
='-L$libdir'
9843 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9844 allow_undefined_flag
=unsupported
9845 always_export_symbols
=no
9846 enable_shared_with_static_runtimes
=yes
9847 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'
9848 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9850 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9851 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9852 # If the export-symbols file already is a .def file (1st line
9853 # is EXPORTS), use it as is; otherwise, prepend...
9854 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9855 cp $export_symbols $output_objdir/$soname.def;
9857 echo EXPORTS > $output_objdir/$soname.def;
9858 cat $export_symbols >> $output_objdir/$soname.def;
9860 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9867 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9868 link_all_deplibs
=yes
9873 hardcode_shlibpath_var
=no
9874 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9875 export_dynamic_flag_spec
='${wl}-E'
9876 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9877 # Instead, shared libraries are loaded at an image base (0x10000000 by
9878 # default) and relocated if they conflict, which is a slow very memory
9879 # consuming and fragmenting process. To avoid this, we pick a random,
9880 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9881 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9882 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9883 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'
9886 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9888 if test "$host_os" = linux
-dietlibc; then
9889 case $cc_basename in
9890 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9893 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9894 && test "$tmp_diet" = no
9896 tmp_addflag
=' $pic_flag'
9897 tmp_sharedflag
='-shared'
9898 case $cc_basename,$host_cpu in
9899 pgcc
*) # Portland Group C compiler
9900 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'
9901 tmp_addflag
=' $pic_flag'
9903 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9904 # Portland Group f77 and f90 compilers
9905 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'
9906 tmp_addflag
=' $pic_flag -Mnomain' ;;
9907 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9908 tmp_addflag
=' -i_dynamic' ;;
9909 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9910 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9911 ifc
* | ifort
*) # Intel Fortran compiler
9912 tmp_addflag
=' -nofor_main' ;;
9913 lf95
*) # Lahey Fortran 8.1
9914 whole_archive_flag_spec
=
9915 tmp_sharedflag
='--shared' ;;
9916 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9917 tmp_sharedflag
='-qmkshrobj'
9919 nvcc
*) # Cuda Compiler Driver 2.2
9920 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'
9921 compiler_needs_object
=yes
9924 case `$CC -V 2>&1 | sed 5q` in
9925 *Sun\ C
*) # Sun C 5.9
9926 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'
9927 compiler_needs_object
=yes
9928 tmp_sharedflag
='-G' ;;
9929 *Sun\ F
*) # Sun Fortran 8.3
9930 tmp_sharedflag
='-G' ;;
9932 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9934 if test "x$supports_anon_versioning" = xyes
; then
9935 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9936 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9937 echo "local: *; };" >> $output_objdir/$libname.ver~
9938 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9941 case $cc_basename in
9942 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9943 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9944 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9945 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9946 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9947 if test "x$supports_anon_versioning" = xyes
; then
9948 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9949 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9950 echo "local: *; };" >> $output_objdir/$libname.ver~
9951 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9961 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9962 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9965 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9966 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9971 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9975 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9976 *** create shared libraries on Solaris systems. Therefore, libtool
9977 *** is disabling shared libraries support. We urge you to upgrade GNU
9978 *** binutils to release 2.9.1 or newer. Another option is to modify
9979 *** your PATH or compiler configuration so that the native linker is
9980 *** used, and then restart.
9983 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9984 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9985 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9991 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9992 case `$LD -v 2>&1` in
9993 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9997 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9998 *** reliably create shared libraries on SCO systems. Therefore, libtool
9999 *** is disabling shared libraries support. We urge you to upgrade GNU
10000 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10001 *** your PATH or compiler configuration so that the native linker is
10002 *** used, and then restart.
10007 # For security reasons, it is highly recommended that you always
10008 # use absolute paths for naming shared libraries, and exclude the
10009 # DT_RUNPATH tag from executables and libraries. But doing so
10010 # requires that you compile everything twice, which is a pain.
10011 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10012 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10013 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10014 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10023 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10025 hardcode_direct
=yes
10026 hardcode_shlibpath_var
=no
10030 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10031 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10032 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10039 if test "$ld_shlibs" = no
; then
10041 hardcode_libdir_flag_spec
=
10042 export_dynamic_flag_spec
=
10043 whole_archive_flag_spec
=
10046 # PORTME fill in a description of your system's linker (not GNU ld)
10049 allow_undefined_flag
=unsupported
10050 always_export_symbols
=yes
10051 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'
10052 # Note: this linker hardcodes the directories in LIBPATH if there
10053 # are no directories specified by -L.
10054 hardcode_minus_L
=yes
10055 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10056 # Neither direct hardcoding nor static linking is supported with a
10058 hardcode_direct
=unsupported
10063 if test "$host_cpu" = ia64
; then
10064 # On IA64, the linker does run time linking by default, so we don't
10065 # have to do anything special.
10066 aix_use_runtimelinking
=no
10067 exp_sym_flag
='-Bexport'
10070 # If we're using GNU nm, then we don't want the "-C" option.
10071 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10072 # Also, AIX nm treats weak defined symbols like other global
10073 # defined symbols, whereas GNU nm marks them as "W".
10074 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10075 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'
10077 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'
10079 aix_use_runtimelinking
=no
10081 # Test if we are trying to use run time linking or normal
10082 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10083 # need to do runtime linking.
10084 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10085 for ld_flag
in $LDFLAGS; do
10086 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10087 aix_use_runtimelinking
=yes
10094 exp_sym_flag
='-bexport'
10095 no_entry_flag
='-bnoentry'
10098 # When large executables or shared objects are built, AIX ld can
10099 # have problems creating the table of contents. If linking a library
10100 # or program results in "error TOC overflow" add -mminimal-toc to
10101 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10102 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10105 hardcode_direct
=yes
10106 hardcode_direct_absolute
=yes
10107 hardcode_libdir_separator
=':'
10108 link_all_deplibs
=yes
10109 file_list_spec
='${wl}-f,'
10111 if test "$GCC" = yes; then
10112 case $host_os in aix4.
[012]|aix4.
[012].
*)
10113 # We only want to do this on AIX 4.2 and lower, the check
10114 # below for broken collect2 doesn't work under 4.3+
10115 collect2name
=`${CC} -print-prog-name=collect2`
10116 if test -f "$collect2name" &&
10117 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10119 # We have reworked collect2
10122 # We have old collect2
10123 hardcode_direct
=unsupported
10124 # It fails to find uninstalled libraries when the uninstalled
10125 # path is not listed in the libpath. Setting hardcode_minus_L
10126 # to unsupported forces relinking
10127 hardcode_minus_L
=yes
10128 hardcode_libdir_flag_spec
='-L$libdir'
10129 hardcode_libdir_separator
=
10133 shared_flag
='-shared'
10134 if test "$aix_use_runtimelinking" = yes; then
10135 shared_flag
="$shared_flag "'${wl}-G'
10139 if test "$host_cpu" = ia64
; then
10140 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10141 # chokes on -Wl,-G. The following line is correct:
10144 if test "$aix_use_runtimelinking" = yes; then
10145 shared_flag
='${wl}-G'
10147 shared_flag
='${wl}-bM:SRE'
10152 export_dynamic_flag_spec
='${wl}-bexpall'
10153 # It seems that -bexpall does not export symbols beginning with
10154 # underscore (_), so it is better to generate a list of symbols to export.
10155 always_export_symbols
=yes
10156 if test "$aix_use_runtimelinking" = yes; then
10157 # Warning - without using the other runtime loading flags (-brtl),
10158 # -berok will link without error, but may produce a broken library.
10159 allow_undefined_flag
='-berok'
10160 # Determine the default libpath from the value encoded in an
10161 # empty executable.
10162 if test "${lt_cv_aix_libpath+set}" = set; then
10163 aix_libpath
=$lt_cv_aix_libpath
10165 if ${lt_cv_aix_libpath_+:} false
; then :
10166 $as_echo_n "(cached) " >&6
10168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10179 if ac_fn_c_try_link
"$LINENO"; then :
10181 lt_aix_libpath_sed
='
10182 /Import File Strings/,/^$/ {
10184 s/^0 *\([^ ]*\) *$/\1/
10188 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10189 # Check for a 64-bit object if we didn't find anything.
10190 if test -z "$lt_cv_aix_libpath_"; then
10191 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10194 rm -f core conftest.err conftest.
$ac_objext \
10195 conftest
$ac_exeext conftest.
$ac_ext
10196 if test -z "$lt_cv_aix_libpath_"; then
10197 lt_cv_aix_libpath_
="/usr/lib:/lib"
10202 aix_libpath
=$lt_cv_aix_libpath_
10205 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10206 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"
10208 if test "$host_cpu" = ia64
; then
10209 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10210 allow_undefined_flag
="-z nodefs"
10211 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"
10213 # Determine the default libpath from the value encoded in an
10214 # empty executable.
10215 if test "${lt_cv_aix_libpath+set}" = set; then
10216 aix_libpath
=$lt_cv_aix_libpath
10218 if ${lt_cv_aix_libpath_+:} false
; then :
10219 $as_echo_n "(cached) " >&6
10221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10232 if ac_fn_c_try_link
"$LINENO"; then :
10234 lt_aix_libpath_sed
='
10235 /Import File Strings/,/^$/ {
10237 s/^0 *\([^ ]*\) *$/\1/
10241 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10242 # Check for a 64-bit object if we didn't find anything.
10243 if test -z "$lt_cv_aix_libpath_"; then
10244 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10247 rm -f core conftest.err conftest.
$ac_objext \
10248 conftest
$ac_exeext conftest.
$ac_ext
10249 if test -z "$lt_cv_aix_libpath_"; then
10250 lt_cv_aix_libpath_
="/usr/lib:/lib"
10255 aix_libpath
=$lt_cv_aix_libpath_
10258 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10259 # Warning - without using the other run time loading flags,
10260 # -berok will link without error, but may produce a broken library.
10261 no_undefined_flag
=' ${wl}-bernotok'
10262 allow_undefined_flag
=' ${wl}-berok'
10263 if test "$with_gnu_ld" = yes; then
10264 # We only use this code for GNU lds that support --whole-archive.
10265 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10267 # Exported symbols can be pulled into shared objects from archives
10268 whole_archive_flag_spec
='$convenience'
10270 archive_cmds_need_lc
=yes
10271 # This is similar to how AIX traditionally builds its shared libraries.
10272 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'
10280 # see comment about AmigaOS4 .so support
10281 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10282 archive_expsym_cmds
=''
10285 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)'
10286 hardcode_libdir_flag_spec
='-L$libdir'
10287 hardcode_minus_L
=yes
10293 export_dynamic_flag_spec
=-rdynamic
10296 cygwin
* | mingw
* | pw32
* | cegcc
*)
10297 # When not using gcc, we currently assume that we are using
10298 # Microsoft Visual C++.
10299 # hardcode_libdir_flag_spec is actually meaningless, as there is
10300 # no search path for DLLs.
10301 case $cc_basename in
10304 hardcode_libdir_flag_spec
=' '
10305 allow_undefined_flag
=unsupported
10306 always_export_symbols
=yes
10308 # Tell ltmain to make .lib files, not .a files.
10310 # Tell ltmain to make .dll files, not .so files.
10312 # FIXME: Setting linknames here is a bad hack.
10313 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10314 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10315 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10317 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10319 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10321 # The linker will not automatically build a static lib if we build a DLL.
10322 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10323 enable_shared_with_static_runtimes
=yes
10324 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10325 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10327 old_postinstall_cmds
='chmod 644 $oldlib'
10328 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10329 lt_tool_outputfile="@TOOL_OUTPUT@"~
10330 case $lt_outputfile in
10333 lt_outputfile="$lt_outputfile.exe"
10334 lt_tool_outputfile="$lt_tool_outputfile.exe"
10337 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10338 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10339 $RM "$lt_outputfile.manifest";
10343 # Assume MSVC wrapper
10344 hardcode_libdir_flag_spec
=' '
10345 allow_undefined_flag
=unsupported
10346 # Tell ltmain to make .lib files, not .a files.
10348 # Tell ltmain to make .dll files, not .so files.
10350 # FIXME: Setting linknames here is a bad hack.
10351 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10352 # The linker will automatically build a .lib file if we build a DLL.
10353 old_archive_from_new_cmds
='true'
10354 # FIXME: Should let the user specify the lib program.
10355 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10356 enable_shared_with_static_runtimes
=yes
10361 darwin
* | rhapsody
*)
10364 archive_cmds_need_lc
=no
10366 hardcode_automatic
=yes
10367 hardcode_shlibpath_var
=unsupported
10368 if test "$lt_cv_ld_force_load" = "yes"; then
10369 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\"`'
10372 whole_archive_flag_spec
=''
10374 link_all_deplibs
=yes
10375 allow_undefined_flag
="$_lt_dar_allow_undefined"
10376 case $cc_basename in
10377 ifort
*) _lt_dar_can_shared
=yes ;;
10378 *) _lt_dar_can_shared
=$GCC ;;
10380 if test "$_lt_dar_can_shared" = "yes"; then
10381 output_verbose_link_cmd
=func_echo_all
10382 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10383 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10384 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}"
10385 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}"
10394 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10395 hardcode_libdir_flag_spec
='-L$libdir'
10396 hardcode_shlibpath_var
=no
10399 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10400 # support. Future versions do this automatically, but an explicit c++rt0.o
10401 # does not break anything, and helps significantly (at the cost of a little
10404 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10405 hardcode_libdir_flag_spec
='-R$libdir'
10406 hardcode_direct
=yes
10407 hardcode_shlibpath_var
=no
10410 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10412 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10413 hardcode_direct
=yes
10414 hardcode_minus_L
=yes
10415 hardcode_shlibpath_var
=no
10418 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10419 freebsd
* | dragonfly
*)
10420 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10421 hardcode_libdir_flag_spec
='-R$libdir'
10422 hardcode_direct
=yes
10423 hardcode_shlibpath_var
=no
10427 if test "$GCC" = yes; then
10428 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'
10430 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'
10432 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10433 hardcode_libdir_separator
=:
10434 hardcode_direct
=yes
10436 # hardcode_minus_L: Not really in the search PATH,
10437 # but as the default location of the library.
10438 hardcode_minus_L
=yes
10439 export_dynamic_flag_spec
='${wl}-E'
10443 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10444 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10446 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10448 if test "$with_gnu_ld" = no
; then
10449 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10450 hardcode_libdir_separator
=:
10451 hardcode_direct
=yes
10452 hardcode_direct_absolute
=yes
10453 export_dynamic_flag_spec
='${wl}-E'
10454 # hardcode_minus_L: Not really in the search PATH,
10455 # but as the default location of the library.
10456 hardcode_minus_L
=yes
10461 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10464 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10467 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10470 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10476 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10479 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10483 # Older versions of the 11.00 compiler do not understand -b yet
10484 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10486 $as_echo_n "checking if $CC understands -b... " >&6; }
10487 if ${lt_cv_prog_compiler__b+:} false
; then :
10488 $as_echo_n "(cached) " >&6
10490 lt_cv_prog_compiler__b
=no
10491 save_LDFLAGS
="$LDFLAGS"
10492 LDFLAGS
="$LDFLAGS -b"
10493 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10494 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10495 # The linker can only warn and ignore the option if not recognized
10496 # So say no if there are warnings
10497 if test -s conftest.err
; then
10498 # Append any errors to the config.log.
10499 cat conftest.err
1>&5
10500 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10501 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10502 if diff conftest.exp conftest.er2
>/dev
/null
; then
10503 lt_cv_prog_compiler__b
=yes
10506 lt_cv_prog_compiler__b
=yes
10510 LDFLAGS
="$save_LDFLAGS"
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10514 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10516 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10517 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10519 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10525 if test "$with_gnu_ld" = no
; then
10526 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10527 hardcode_libdir_separator
=:
10532 hardcode_shlibpath_var
=no
10535 hardcode_direct
=yes
10536 hardcode_direct_absolute
=yes
10537 export_dynamic_flag_spec
='${wl}-E'
10539 # hardcode_minus_L: Not really in the search PATH,
10540 # but as the default location of the library.
10541 hardcode_minus_L
=yes
10547 irix5
* | irix6
* | nonstopux
*)
10548 if test "$GCC" = yes; then
10549 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'
10550 # Try to use the -exported_symbol ld option, if it does not
10551 # work, assume that -exports_file does not work either and
10552 # implicitly export all symbols.
10553 # This should be the same for all languages, so no per-tag cache variable.
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10555 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10556 if ${lt_cv_irix_exported_symbol+:} false
; then :
10557 $as_echo_n "(cached) " >&6
10559 save_LDFLAGS
="$LDFLAGS"
10560 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10563 int foo (void) { return 0; }
10565 if ac_fn_c_try_link
"$LINENO"; then :
10566 lt_cv_irix_exported_symbol
=yes
10568 lt_cv_irix_exported_symbol
=no
10570 rm -f core conftest.err conftest.
$ac_objext \
10571 conftest
$ac_exeext conftest.
$ac_ext
10572 LDFLAGS
="$save_LDFLAGS"
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10575 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10576 if test "$lt_cv_irix_exported_symbol" = yes; then
10577 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'
10580 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'
10581 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'
10583 archive_cmds_need_lc
='no'
10584 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10585 hardcode_libdir_separator
=:
10587 link_all_deplibs
=yes
10591 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10592 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10594 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10596 hardcode_libdir_flag_spec
='-R$libdir'
10597 hardcode_direct
=yes
10598 hardcode_shlibpath_var
=no
10602 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10603 hardcode_direct
=yes
10604 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10605 hardcode_libdir_separator
=:
10606 hardcode_shlibpath_var
=no
10613 if test -f /usr
/libexec
/ld.so
; then
10614 hardcode_direct
=yes
10615 hardcode_shlibpath_var
=no
10616 hardcode_direct_absolute
=yes
10617 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10618 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10619 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10620 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10621 export_dynamic_flag_spec
='${wl}-E'
10624 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10625 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10626 hardcode_libdir_flag_spec
='-R$libdir'
10629 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10630 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10640 hardcode_libdir_flag_spec
='-L$libdir'
10641 hardcode_minus_L
=yes
10642 allow_undefined_flag
=unsupported
10643 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'
10644 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10648 if test "$GCC" = yes; then
10649 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10650 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'
10652 allow_undefined_flag
=' -expect_unresolved \*'
10653 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'
10655 archive_cmds_need_lc
='no'
10656 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10657 hardcode_libdir_separator
=:
10660 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10661 if test "$GCC" = yes; then
10662 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10663 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'
10664 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10666 allow_undefined_flag
=' -expect_unresolved \*'
10667 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'
10668 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~
10669 $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'
10671 # Both c and cxx compiler support -rpath directly
10672 hardcode_libdir_flag_spec
='-rpath $libdir'
10674 archive_cmds_need_lc
='no'
10675 hardcode_libdir_separator
=:
10679 no_undefined_flag
=' -z defs'
10680 if test "$GCC" = yes; then
10682 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10683 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10684 $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'
10686 case `$CC -V 2>&1` in
10689 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10690 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10691 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10695 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10696 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10697 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10701 hardcode_libdir_flag_spec
='-R$libdir'
10702 hardcode_shlibpath_var
=no
10704 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10706 # The compiler driver will combine and reorder linker options,
10707 # but understands `-z linker_flag'. GCC discards it without `$wl',
10708 # but is careful enough not to reorder.
10709 # Supported since Solaris 2.6 (maybe 2.5.1?)
10710 if test "$GCC" = yes; then
10711 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10713 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10717 link_all_deplibs
=yes
10721 if test "x$host_vendor" = xsequent
; then
10722 # Use $CC to link under sequent, because it throws in some extra .o
10723 # files that make .init and .fini sections work.
10724 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10726 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10728 hardcode_libdir_flag_spec
='-L$libdir'
10729 hardcode_direct
=yes
10730 hardcode_minus_L
=yes
10731 hardcode_shlibpath_var
=no
10735 case $host_vendor in
10737 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10738 hardcode_direct
=yes # is this really true???
10741 ## LD is ld it makes a PLAMLIB
10742 ## CC just makes a GrossModule.
10743 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10744 reload_cmds
='$CC -r -o $output$reload_objs'
10748 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10749 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10752 runpath_var
='LD_RUN_PATH'
10753 hardcode_shlibpath_var
=no
10757 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10758 hardcode_shlibpath_var
=no
10759 export_dynamic_flag_spec
='-Bexport'
10763 if test -d /usr
/nec
; then
10764 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10765 hardcode_shlibpath_var
=no
10766 runpath_var
=LD_RUN_PATH
10767 hardcode_runpath_var
=yes
10772 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10773 no_undefined_flag
='${wl}-z,text'
10774 archive_cmds_need_lc
=no
10775 hardcode_shlibpath_var
=no
10776 runpath_var
='LD_RUN_PATH'
10778 if test "$GCC" = yes; then
10779 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10780 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10782 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10783 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10787 sysv5
* | sco3.2v5
* | sco5v6
*)
10788 # Note: We can NOT use -z defs as we might desire, because we do not
10789 # link with -lc, and that would cause any symbols used from libc to
10790 # always be unresolved, which means just about no library would
10791 # ever link correctly. If we're not using GNU ld we use -z text
10792 # though, which does catch some bad symbols but isn't as heavy-handed
10794 no_undefined_flag
='${wl}-z,text'
10795 allow_undefined_flag
='${wl}-z,nodefs'
10796 archive_cmds_need_lc
=no
10797 hardcode_shlibpath_var
=no
10798 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10799 hardcode_libdir_separator
=':'
10800 link_all_deplibs
=yes
10801 export_dynamic_flag_spec
='${wl}-Bexport'
10802 runpath_var
='LD_RUN_PATH'
10804 if test "$GCC" = yes; then
10805 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10806 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10808 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10809 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10814 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10815 hardcode_libdir_flag_spec
='-L$libdir'
10816 hardcode_shlibpath_var
=no
10824 if test x
$host_vendor = xsni
; then
10826 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10827 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10834 $as_echo "$ld_shlibs" >&6; }
10835 test "$ld_shlibs" = no
&& can_build_shared
=no
10837 with_gnu_ld
=$with_gnu_ld
10854 # Do we need to explicitly link libc?
10856 case "x$archive_cmds_need_lc" in
10858 # Assume -lc should be added
10859 archive_cmds_need_lc
=yes
10861 if test "$enable_shared" = yes && test "$GCC" = yes; then
10862 case $archive_cmds in
10864 # FIXME: we may have to deal with multi-command sequences.
10867 # Test whether the compiler implicitly links with -lc since on some
10868 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10869 # to ld, don't add -lc before -lgcc.
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10871 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10872 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10873 $as_echo_n "(cached) " >&6
10876 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10878 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10879 (eval $ac_compile) 2>&5
10881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10882 test $ac_status = 0; } 2>conftest.err
; then
10885 libobjs
=conftest.
$ac_objext
10887 wl
=$lt_prog_compiler_wl
10888 pic_flag
=$lt_prog_compiler_pic
10894 lt_save_allow_undefined_flag
=$allow_undefined_flag
10895 allow_undefined_flag
=
10896 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10897 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10900 test $ac_status = 0; }
10902 lt_cv_archive_cmds_need_lc
=no
10904 lt_cv_archive_cmds_need_lc
=yes
10906 allow_undefined_flag
=$lt_save_allow_undefined_flag
10908 cat conftest.err
1>&5
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10914 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10915 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11074 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11076 if test "$GCC" = yes; then
11078 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11079 *) lt_awk_arg
="/^libraries:/" ;;
11082 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11083 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11085 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11086 case $lt_search_path_spec in
11088 # if the path contains ";" then we assume it to be the separator
11089 # otherwise default to the standard path separator (i.e. ":") - it is
11090 # assumed that no part of a normal pathname contains ";" but that should
11091 # okay in the real world where ";" in dirpaths is itself problematic.
11092 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11095 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11098 # Ok, now we have the path, separated by spaces, we can step through it
11099 # and add multilib dir if necessary.
11100 lt_tmp_lt_search_path_spec
=
11101 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11102 for lt_sys_path
in $lt_search_path_spec; do
11103 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11104 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11106 test -d "$lt_sys_path" && \
11107 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11110 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11111 BEGIN {RS=" "; FS="/|\n";} {
11114 for (lt_i = NF; lt_i > 0; lt_i--) {
11115 if ($lt_i != "" && $lt_i != ".") {
11116 if ($lt_i == "..") {
11119 if (lt_count == 0) {
11120 lt_foo="/" $lt_i lt_foo;
11127 if (lt_foo != "") { lt_freq[lt_foo]++; }
11128 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11130 # AWK program above erroneously prepends '/' to C:/dos/paths
11133 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11134 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11136 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11138 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11140 library_names_spec
=
11141 libname_spec
='lib$name'
11145 postuninstall_cmds
=
11149 shlibpath_overrides_runpath
=unknown
11151 dynamic_linker
="$host_os ld.so"
11152 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11153 need_lib_prefix
=unknown
11154 hardcode_into_libs
=no
11156 # when you set need_version to no, make sure it does not cause -set_version
11157 # flags to be left without arguments
11158 need_version
=unknown
11162 version_type
=linux
# correct to gnu/linux during the next big refactor
11163 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11164 shlibpath_var
=LIBPATH
11166 # AIX 3 has no versioning support, so we append a major version to the name.
11167 soname_spec
='${libname}${release}${shared_ext}$major'
11171 version_type
=linux
# correct to gnu/linux during the next big refactor
11174 hardcode_into_libs
=yes
11175 if test "$host_cpu" = ia64
; then
11176 # AIX 5 supports IA64
11177 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11178 shlibpath_var
=LD_LIBRARY_PATH
11180 # With GCC up to 2.95.x, collect2 would create an import file
11181 # for dependence libraries. The import file would start with
11182 # the line `#! .'. This would cause the generated library to
11183 # depend on `.', always an invalid library. This was fixed in
11184 # development snapshots of GCC prior to 3.0.
11186 aix4
| aix4.
[01] | aix4.
[01].
*)
11187 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11189 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11192 can_build_shared
=no
11196 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11197 # soname into executable. Probably we can add versioning support to
11198 # collect2, so additional links can be useful in future.
11199 if test "$aix_use_runtimelinking" = yes; then
11200 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11201 # instead of lib<name>.a to let people know that these are not
11202 # typical AIX shared libraries.
11203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11205 # We preserve .a as extension for shared libraries through AIX4.2
11206 # and later when we are not doing run time linking.
11207 library_names_spec
='${libname}${release}.a $libname.a'
11208 soname_spec
='${libname}${release}${shared_ext}$major'
11210 shlibpath_var
=LIBPATH
11217 # Since July 2007 AmigaOS4 officially supports .so libraries.
11218 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11222 library_names_spec
='$libname.ixlibrary $libname.a'
11223 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11224 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'
11230 library_names_spec
='${libname}${shared_ext}'
11231 dynamic_linker
="$host_os ld.so"
11232 shlibpath_var
=LIBRARY_PATH
11236 version_type
=linux
# correct to gnu/linux during the next big refactor
11238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11239 soname_spec
='${libname}${release}${shared_ext}$major'
11240 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11241 shlibpath_var
=LD_LIBRARY_PATH
11242 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11243 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11244 # the default ld.so.conf also contains /usr/contrib/lib and
11245 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11246 # libtool to hard-code these into programs
11249 cygwin
* | mingw
* | pw32
* | cegcc
*)
11250 version_type
=windows
11255 case $GCC,$cc_basename in
11258 library_names_spec
='$libname.dll.a'
11259 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11260 postinstall_cmds
='base_file=`basename \${file}`~
11261 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11262 dldir=$destdir/`dirname \$dlpath`~
11263 test -d \$dldir || mkdir -p \$dldir~
11264 $install_prog $dir/$dlname \$dldir/$dlname~
11265 chmod a+x \$dldir/$dlname~
11266 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11267 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11269 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11270 dlpath=$dir/\$dldll~
11272 shlibpath_overrides_runpath
=yes
11276 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11277 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11279 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11282 # MinGW DLLs use traditional 'lib' prefix
11283 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11286 # pw32 DLLs use 'pw' prefix rather than 'lib'
11287 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11290 dynamic_linker
='Win32 ld.exe'
11295 libname_spec
='$name'
11296 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11297 library_names_spec
='${libname}.dll.lib'
11301 sys_lib_search_path_spec
=
11304 for lt_path
in $LIB
11307 # Let DOS variable expansion print the short 8.3 style file name.
11308 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11309 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11312 # Convert to MSYS style.
11313 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11316 # Convert to unix form, then to dos form, then back to unix form
11317 # but this time dos style (no spaces!) so that the unix form looks
11318 # like /cygdrive/c/PROGRA~1:/cygdr...
11319 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11320 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11321 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11324 sys_lib_search_path_spec
="$LIB"
11325 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11326 # It is most probably a Windows format PATH.
11327 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11329 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11331 # FIXME: find the short name or the path components, as spaces are
11332 # common. (e.g. "Program Files" -> "PROGRA~1")
11336 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11337 postinstall_cmds
='base_file=`basename \${file}`~
11338 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11339 dldir=$destdir/`dirname \$dlpath`~
11340 test -d \$dldir || mkdir -p \$dldir~
11341 $install_prog $dir/$dlname \$dldir/$dlname'
11342 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11343 dlpath=$dir/\$dldll~
11345 shlibpath_overrides_runpath
=yes
11346 dynamic_linker
='Win32 link.exe'
11350 # Assume MSVC wrapper
11351 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11352 dynamic_linker
='Win32 ld.exe'
11355 # FIXME: first we should search . and the directory the executable is in
11359 darwin
* | rhapsody
*)
11360 dynamic_linker
="$host_os dyld"
11361 version_type
=darwin
11364 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11365 soname_spec
='${libname}${release}${major}$shared_ext'
11366 shlibpath_overrides_runpath
=yes
11367 shlibpath_var
=DYLD_LIBRARY_PATH
11368 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11370 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11371 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11375 version_type
=linux
# correct to gnu/linux during the next big refactor
11378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11379 soname_spec
='${libname}${release}${shared_ext}$major'
11380 shlibpath_var
=LD_LIBRARY_PATH
11383 freebsd
* | dragonfly
*)
11384 # DragonFly does not have aout. When/if they implement a new
11385 # versioning mechanism, adjust this.
11386 if test -x /usr
/bin
/objformat
; then
11387 objformat
=`/usr/bin/objformat`
11390 freebsd
[23].
*) objformat
=aout
;;
11391 *) objformat
=elf
;;
11394 version_type
=freebsd
-$objformat
11395 case $version_type in
11397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11402 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11406 shlibpath_var
=LD_LIBRARY_PATH
11409 shlibpath_overrides_runpath
=yes
11411 freebsd3.
[01]* | freebsdelf3.
[01]*)
11412 shlibpath_overrides_runpath
=yes
11413 hardcode_into_libs
=yes
11415 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11416 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11417 shlibpath_overrides_runpath
=no
11418 hardcode_into_libs
=yes
11420 *) # from 4.6 on, and DragonFly
11421 shlibpath_overrides_runpath
=yes
11422 hardcode_into_libs
=yes
11428 version_type
=linux
# correct to gnu/linux during the next big refactor
11431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11432 soname_spec
='${libname}${release}${shared_ext}$major'
11433 shlibpath_var
=LD_LIBRARY_PATH
11434 shlibpath_overrides_runpath
=no
11435 hardcode_into_libs
=yes
11439 version_type
=linux
# correct to gnu/linux during the next big refactor
11442 dynamic_linker
="$host_os runtime_loader"
11443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11444 soname_spec
='${libname}${release}${shared_ext}$major'
11445 shlibpath_var
=LIBRARY_PATH
11446 shlibpath_overrides_runpath
=yes
11447 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11448 hardcode_into_libs
=yes
11451 hpux9
* | hpux10
* | hpux11
*)
11452 # Give a soname corresponding to the major version so that dld.sl refuses to
11453 # link against other versions.
11460 hardcode_into_libs
=yes
11461 dynamic_linker
="$host_os dld.so"
11462 shlibpath_var
=LD_LIBRARY_PATH
11463 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11465 soname_spec
='${libname}${release}${shared_ext}$major'
11466 if test "X$HPUX_IA64_MODE" = X32
; then
11467 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11469 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11471 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11475 hardcode_into_libs
=yes
11476 dynamic_linker
="$host_os dld.sl"
11477 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11478 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11480 soname_spec
='${libname}${release}${shared_ext}$major'
11481 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11482 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11486 dynamic_linker
="$host_os dld.sl"
11487 shlibpath_var
=SHLIB_PATH
11488 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11490 soname_spec
='${libname}${release}${shared_ext}$major'
11493 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11494 postinstall_cmds
='chmod 555 $lib'
11495 # or fails outright, so override atomically:
11496 install_override_mode
=555
11500 version_type
=linux
# correct to gnu/linux during the next big refactor
11503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11504 soname_spec
='${libname}${release}${shared_ext}$major'
11505 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11506 shlibpath_var
=LD_LIBRARY_PATH
11507 shlibpath_overrides_runpath
=no
11508 hardcode_into_libs
=yes
11511 irix5
* | irix6
* | nonstopux
*)
11513 nonstopux
*) version_type
=nonstopux
;;
11515 if test "$lt_cv_prog_gnu_ld" = yes; then
11516 version_type
=linux
# correct to gnu/linux during the next big refactor
11523 soname_spec
='${libname}${release}${shared_ext}$major'
11524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11526 irix5
* | nonstopux
*)
11527 libsuff
= shlibsuff
=
11530 case $LD in # libtool.m4 will add one of these switches to LD
11531 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11532 libsuff
= shlibsuff
= libmagic
=32-bit;;
11533 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11534 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11535 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11536 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11537 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11541 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11542 shlibpath_overrides_runpath
=no
11543 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11544 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11545 hardcode_into_libs
=yes
11548 # No shared lib support for Linux oldld, aout, or coff.
11549 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11553 # This must be glibc/ELF.
11554 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11555 version_type
=linux
# correct to gnu/linux during the next big refactor
11558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11559 soname_spec
='${libname}${release}${shared_ext}$major'
11560 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11561 shlibpath_var
=LD_LIBRARY_PATH
11562 shlibpath_overrides_runpath
=no
11564 # Some binutils ld are patched to set DT_RUNPATH
11565 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11566 $as_echo_n "(cached) " >&6
11568 lt_cv_shlibpath_overrides_runpath
=no
11569 save_LDFLAGS
=$LDFLAGS
11570 save_libdir
=$libdir
11571 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11572 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11584 if ac_fn_c_try_link
"$LINENO"; then :
11585 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11586 lt_cv_shlibpath_overrides_runpath
=yes
11589 rm -f core conftest.err conftest.
$ac_objext \
11590 conftest
$ac_exeext conftest.
$ac_ext
11591 LDFLAGS
=$save_LDFLAGS
11592 libdir
=$save_libdir
11596 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11598 # This implies no fast_install, which is unacceptable.
11599 # Some rework will be needed to allow for fast_install
11600 # before this can be enabled.
11601 hardcode_into_libs
=yes
11603 # Append ld.so.conf contents to the search path
11604 if test -f /etc
/ld.so.conf
; then
11605 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' ' '`
11606 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11609 # We used to test for /lib/ld.so.1 and disable shared libraries on
11610 # powerpc, because MkLinux only supported shared libraries with the
11611 # GNU dynamic linker. Since this was broken with cross compilers,
11612 # most powerpc-linux boxes support dynamic linking these days and
11613 # people can always --disable-shared, the test was removed, and we
11614 # assume the GNU/Linux dynamic linker is in use.
11615 dynamic_linker
='GNU/Linux ld.so'
11622 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11624 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11625 dynamic_linker
='NetBSD (a.out) ld.so'
11627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11628 soname_spec
='${libname}${release}${shared_ext}$major'
11629 dynamic_linker
='NetBSD ld.elf_so'
11631 shlibpath_var
=LD_LIBRARY_PATH
11632 shlibpath_overrides_runpath
=yes
11633 hardcode_into_libs
=yes
11637 version_type
=linux
# correct to gnu/linux during the next big refactor
11638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11639 shlibpath_var
=LD_LIBRARY_PATH
11640 shlibpath_overrides_runpath
=yes
11647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11648 soname_spec
='${libname}${release}${shared_ext}$major'
11649 shlibpath_var
=LD_LIBRARY_PATH
11650 shlibpath_overrides_runpath
=no
11651 hardcode_into_libs
=yes
11652 dynamic_linker
='ldqnx.so'
11657 sys_lib_dlsearch_path_spec
="/usr/lib"
11659 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11661 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11662 *) need_version
=no
;;
11664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11665 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11666 shlibpath_var
=LD_LIBRARY_PATH
11667 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11669 openbsd2.
[89] | openbsd2.
[89].
*)
11670 shlibpath_overrides_runpath
=no
11673 shlibpath_overrides_runpath
=yes
11677 shlibpath_overrides_runpath
=yes
11682 libname_spec
='$name'
11685 library_names_spec
='$libname${shared_ext} $libname.a'
11686 dynamic_linker
='OS/2 ld.exe'
11687 shlibpath_var
=LIBPATH
11690 osf3
* | osf4
* | osf5
*)
11694 soname_spec
='${libname}${release}${shared_ext}$major'
11695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11696 shlibpath_var
=LD_LIBRARY_PATH
11697 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11698 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11706 version_type
=linux
# correct to gnu/linux during the next big refactor
11709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11710 soname_spec
='${libname}${release}${shared_ext}$major'
11711 shlibpath_var
=LD_LIBRARY_PATH
11712 shlibpath_overrides_runpath
=yes
11713 hardcode_into_libs
=yes
11714 # ldd complains unless libraries are executable
11715 postinstall_cmds
='chmod +x $lib'
11720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11721 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11722 shlibpath_var
=LD_LIBRARY_PATH
11723 shlibpath_overrides_runpath
=yes
11724 if test "$with_gnu_ld" = yes; then
11731 version_type
=linux
# correct to gnu/linux during the next big refactor
11732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11733 soname_spec
='${libname}${release}${shared_ext}$major'
11734 shlibpath_var
=LD_LIBRARY_PATH
11735 case $host_vendor in
11737 shlibpath_overrides_runpath
=no
11739 runpath_var
=LD_RUN_PATH
11747 shlibpath_overrides_runpath
=no
11748 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11754 if test -d /usr
/nec
;then
11755 version_type
=linux
# correct to gnu/linux during the next big refactor
11756 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11757 soname_spec
='$libname${shared_ext}.$major'
11758 shlibpath_var
=LD_LIBRARY_PATH
11762 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11763 version_type
=freebsd
-elf
11766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11767 soname_spec
='${libname}${release}${shared_ext}$major'
11768 shlibpath_var
=LD_LIBRARY_PATH
11769 shlibpath_overrides_runpath
=yes
11770 hardcode_into_libs
=yes
11771 if test "$with_gnu_ld" = yes; then
11772 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11774 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11777 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11781 sys_lib_dlsearch_path_spec
='/usr/lib'
11785 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11786 version_type
=linux
# correct to gnu/linux during the next big refactor
11789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11790 shlibpath_var
=LD_LIBRARY_PATH
11791 shlibpath_overrides_runpath
=no
11792 hardcode_into_libs
=yes
11796 version_type
=linux
# correct to gnu/linux during the next big refactor
11797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11798 soname_spec
='${libname}${release}${shared_ext}$major'
11799 shlibpath_var
=LD_LIBRARY_PATH
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11807 $as_echo "$dynamic_linker" >&6; }
11808 test "$dynamic_linker" = no
&& can_build_shared
=no
11810 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11811 if test "$GCC" = yes; then
11812 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11815 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11816 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11818 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11819 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11914 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11916 if test -n "$hardcode_libdir_flag_spec" ||
11917 test -n "$runpath_var" ||
11918 test "X$hardcode_automatic" = "Xyes" ; then
11920 # We can hardcode non-existent directories.
11921 if test "$hardcode_direct" != no
&&
11922 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11923 # have to relink, otherwise we might link with an installed library
11924 # when we should be linking with a yet-to-be-installed one
11925 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11926 test "$hardcode_minus_L" != no
; then
11927 # Linking always hardcodes the temporary library directory.
11928 hardcode_action
=relink
11930 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11931 hardcode_action
=immediate
11934 # We cannot hardcode anything, or else we can only hardcode existing
11936 hardcode_action
=unsupported
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11939 $as_echo "$hardcode_action" >&6; }
11941 if test "$hardcode_action" = relink
||
11942 test "$inherit_rpath" = yes; then
11943 # Fast installation is not supported
11944 enable_fast_install
=no
11945 elif test "$shlibpath_overrides_runpath" = yes ||
11946 test "$enable_shared" = no
; then
11947 # Fast installation is not necessary
11948 enable_fast_install
=needless
11956 if test "x$enable_dlopen" != xyes
; then
11957 enable_dlopen
=unknown
11958 enable_dlopen_self
=unknown
11959 enable_dlopen_self_static
=unknown
11966 lt_cv_dlopen
="load_add_on"
11968 lt_cv_dlopen_self
=yes
11971 mingw
* | pw32
* | cegcc
*)
11972 lt_cv_dlopen
="LoadLibrary"
11977 lt_cv_dlopen
="dlopen"
11982 # if libdl is installed we need to link against it
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11984 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11985 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11986 $as_echo_n "(cached) " >&6
11988 ac_check_lib_save_LIBS
=$LIBS
11990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11991 /* end confdefs.h. */
11993 /* Override any GCC internal prototype to avoid an error.
11994 Use char because int might match the return type of a GCC
11995 builtin and then its argument prototype would still apply. */
12008 if ac_fn_c_try_link
"$LINENO"; then :
12009 ac_cv_lib_dl_dlopen
=yes
12011 ac_cv_lib_dl_dlopen
=no
12013 rm -f core conftest.err conftest.
$ac_objext \
12014 conftest
$ac_exeext conftest.
$ac_ext
12015 LIBS
=$ac_check_lib_save_LIBS
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12018 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12019 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12020 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12023 lt_cv_dlopen
="dyld"
12025 lt_cv_dlopen_self
=yes
12032 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12033 if test "x$ac_cv_func_shl_load" = xyes
; then :
12034 lt_cv_dlopen
="shl_load"
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12037 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12038 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12039 $as_echo_n "(cached) " >&6
12041 ac_check_lib_save_LIBS
=$LIBS
12043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12046 /* Override any GCC internal prototype to avoid an error.
12047 Use char because int might match the return type of a GCC
12048 builtin and then its argument prototype would still apply. */
12056 return shl_load ();
12061 if ac_fn_c_try_link
"$LINENO"; then :
12062 ac_cv_lib_dld_shl_load
=yes
12064 ac_cv_lib_dld_shl_load
=no
12066 rm -f core conftest.err conftest.
$ac_objext \
12067 conftest
$ac_exeext conftest.
$ac_ext
12068 LIBS
=$ac_check_lib_save_LIBS
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12071 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12072 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12073 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12075 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12076 if test "x$ac_cv_func_dlopen" = xyes
; then :
12077 lt_cv_dlopen
="dlopen"
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12080 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12081 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12082 $as_echo_n "(cached) " >&6
12084 ac_check_lib_save_LIBS
=$LIBS
12086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12104 if ac_fn_c_try_link
"$LINENO"; then :
12105 ac_cv_lib_dl_dlopen
=yes
12107 ac_cv_lib_dl_dlopen
=no
12109 rm -f core conftest.err conftest.
$ac_objext \
12110 conftest
$ac_exeext conftest.
$ac_ext
12111 LIBS
=$ac_check_lib_save_LIBS
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12114 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12115 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12116 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12119 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12120 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12121 $as_echo_n "(cached) " >&6
12123 ac_check_lib_save_LIBS
=$LIBS
12124 LIBS
="-lsvld $LIBS"
12125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12128 /* Override any GCC internal prototype to avoid an error.
12129 Use char because int might match the return type of a GCC
12130 builtin and then its argument prototype would still apply. */
12143 if ac_fn_c_try_link
"$LINENO"; then :
12144 ac_cv_lib_svld_dlopen
=yes
12146 ac_cv_lib_svld_dlopen
=no
12148 rm -f core conftest.err conftest.
$ac_objext \
12149 conftest
$ac_exeext conftest.
$ac_ext
12150 LIBS
=$ac_check_lib_save_LIBS
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12153 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12154 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12155 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12158 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12159 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12160 $as_echo_n "(cached) " >&6
12162 ac_check_lib_save_LIBS
=$LIBS
12164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12177 return dld_link ();
12182 if ac_fn_c_try_link
"$LINENO"; then :
12183 ac_cv_lib_dld_dld_link
=yes
12185 ac_cv_lib_dld_dld_link
=no
12187 rm -f core conftest.err conftest.
$ac_objext \
12188 conftest
$ac_exeext conftest.
$ac_ext
12189 LIBS
=$ac_check_lib_save_LIBS
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12192 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12193 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12194 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12215 if test "x$lt_cv_dlopen" != xno
; then
12221 case $lt_cv_dlopen in
12223 save_CPPFLAGS
="$CPPFLAGS"
12224 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12226 save_LDFLAGS
="$LDFLAGS"
12227 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12230 LIBS
="$lt_cv_dlopen_libs $LIBS"
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12233 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12234 if ${lt_cv_dlopen_self+:} false
; then :
12235 $as_echo_n "(cached) " >&6
12237 if test "$cross_compiling" = yes; then :
12238 lt_cv_dlopen_self
=cross
12240 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12241 lt_status
=$lt_dlunknown
12242 cat > conftest.
$ac_ext <<_LT_EOF
12243 #line $LINENO "configure"
12244 #include "confdefs.h"
12253 # define LT_DLGLOBAL RTLD_GLOBAL
12256 # define LT_DLGLOBAL DL_GLOBAL
12258 # define LT_DLGLOBAL 0
12262 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12263 find out it does not work in some platform. */
12264 #ifndef LT_DLLAZY_OR_NOW
12266 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12269 # define LT_DLLAZY_OR_NOW DL_LAZY
12272 # define LT_DLLAZY_OR_NOW RTLD_NOW
12275 # define LT_DLLAZY_OR_NOW DL_NOW
12277 # define LT_DLLAZY_OR_NOW 0
12284 /* When -fvisbility=hidden is used, assume the code has been annotated
12285 correspondingly for the symbols needed. */
12286 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12287 int fnord () __attribute__((visibility("default")));
12290 int fnord () { return 42; }
12293 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12294 int status = $lt_dlunknown;
12298 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12301 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12302 else puts (dlerror ());
12304 /* dlclose (self); */
12312 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12313 (eval $ac_link) 2>&5
12315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12316 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12317 (.
/conftest
; exit; ) >&5 2>/dev
/null
12319 case x
$lt_status in
12320 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12321 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12322 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12325 # compilation failed
12326 lt_cv_dlopen_self
=no
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12334 $as_echo "$lt_cv_dlopen_self" >&6; }
12336 if test "x$lt_cv_dlopen_self" = xyes
; then
12337 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12339 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12340 if ${lt_cv_dlopen_self_static+:} false
; then :
12341 $as_echo_n "(cached) " >&6
12343 if test "$cross_compiling" = yes; then :
12344 lt_cv_dlopen_self_static
=cross
12346 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12347 lt_status
=$lt_dlunknown
12348 cat > conftest.
$ac_ext <<_LT_EOF
12349 #line $LINENO "configure"
12350 #include "confdefs.h"
12359 # define LT_DLGLOBAL RTLD_GLOBAL
12362 # define LT_DLGLOBAL DL_GLOBAL
12364 # define LT_DLGLOBAL 0
12368 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12369 find out it does not work in some platform. */
12370 #ifndef LT_DLLAZY_OR_NOW
12372 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12375 # define LT_DLLAZY_OR_NOW DL_LAZY
12378 # define LT_DLLAZY_OR_NOW RTLD_NOW
12381 # define LT_DLLAZY_OR_NOW DL_NOW
12383 # define LT_DLLAZY_OR_NOW 0
12390 /* When -fvisbility=hidden is used, assume the code has been annotated
12391 correspondingly for the symbols needed. */
12392 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12393 int fnord () __attribute__((visibility("default")));
12396 int fnord () { return 42; }
12399 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12400 int status = $lt_dlunknown;
12404 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12407 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12408 else puts (dlerror ());
12410 /* dlclose (self); */
12418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12419 (eval $ac_link) 2>&5
12421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12422 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12423 (.
/conftest
; exit; ) >&5 2>/dev
/null
12425 case x
$lt_status in
12426 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12427 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12428 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12431 # compilation failed
12432 lt_cv_dlopen_self_static
=no
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12440 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12443 CPPFLAGS
="$save_CPPFLAGS"
12444 LDFLAGS
="$save_LDFLAGS"
12449 case $lt_cv_dlopen_self in
12450 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12451 *) enable_dlopen_self
=unknown
;;
12454 case $lt_cv_dlopen_self_static in
12455 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12456 *) enable_dlopen_self_static
=unknown
;;
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12479 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12480 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12481 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12482 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12484 $as_echo "yes" >&6; }
12486 # FIXME - insert some real tests, host_os isn't really good enough
12489 if test -n "$STRIP" ; then
12490 striplib
="$STRIP -x"
12491 old_striplib
="$STRIP -S"
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12493 $as_echo "yes" >&6; }
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12496 $as_echo "no" >&6; }
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12501 $as_echo "no" >&6; }
12517 # Report which library types will actually be built
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12519 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12521 $as_echo "$can_build_shared" >&6; }
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12524 $as_echo_n "checking whether to build shared libraries... " >&6; }
12525 test "$can_build_shared" = "no" && enable_shared
=no
12527 # On AIX, shared libraries and static libraries use the same namespace, and
12528 # are all built from PIC.
12531 test "$enable_shared" = yes && enable_static
=no
12532 if test -n "$RANLIB"; then
12533 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12534 postinstall_cmds
='$RANLIB $lib'
12539 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12540 test "$enable_shared" = yes && enable_static
=no
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12545 $as_echo "$enable_shared" >&6; }
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12548 $as_echo_n "checking whether to build static libraries... " >&6; }
12549 # Make sure either enable_shared or enable_static is yes.
12550 test "$enable_shared" = yes || enable_static
=yes
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12552 $as_echo "$enable_static" >&6; }
12559 ac_cpp
='$CPP $CPPFLAGS'
12560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12566 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12567 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12568 (test "X$CXX" != "Xg++"))) ; then
12570 ac_cpp
='$CXXCPP $CPPFLAGS'
12571 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12572 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12573 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12575 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12576 if test -z "$CXXCPP"; then
12577 if ${ac_cv_prog_CXXCPP+:} false
; then :
12578 $as_echo_n "(cached) " >&6
12580 # Double quotes because CXXCPP needs to be expanded
12581 for CXXCPP
in "$CXX -E" "/lib/cpp"
12583 ac_preproc_ok
=false
12584 for ac_cxx_preproc_warn_flag
in '' yes
12586 # Use a header file that comes with gcc, so configuring glibc
12587 # with a fresh cross-compiler works.
12588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12589 # <limits.h> exists even on freestanding compilers.
12590 # On the NeXT, cc -E runs the code through the compiler's parser,
12591 # not just through cpp. "Syntax error" is here to catch this case.
12592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12595 # include <limits.h>
12597 # include <assert.h>
12601 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12604 # Broken: fails on valid input.
12607 rm -f conftest.err conftest.i conftest.
$ac_ext
12609 # OK, works on sane cases. Now check whether nonexistent headers
12610 # can be detected and how.
12611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12613 #include <ac_nonexistent.h>
12615 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12616 # Broken: success on invalid input.
12619 # Passes both tests.
12623 rm -f conftest.err conftest.i conftest.
$ac_ext
12626 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12627 rm -f conftest.i conftest.err conftest.
$ac_ext
12628 if $ac_preproc_ok; then :
12633 ac_cv_prog_CXXCPP
=$CXXCPP
12636 CXXCPP
=$ac_cv_prog_CXXCPP
12638 ac_cv_prog_CXXCPP
=$CXXCPP
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12641 $as_echo "$CXXCPP" >&6; }
12642 ac_preproc_ok
=false
12643 for ac_cxx_preproc_warn_flag
in '' yes
12645 # Use a header file that comes with gcc, so configuring glibc
12646 # with a fresh cross-compiler works.
12647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12648 # <limits.h> exists even on freestanding compilers.
12649 # On the NeXT, cc -E runs the code through the compiler's parser,
12650 # not just through cpp. "Syntax error" is here to catch this case.
12651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12654 # include <limits.h>
12656 # include <assert.h>
12660 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12663 # Broken: fails on valid input.
12666 rm -f conftest.err conftest.i conftest.
$ac_ext
12668 # OK, works on sane cases. Now check whether nonexistent headers
12669 # can be detected and how.
12670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12672 #include <ac_nonexistent.h>
12674 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12675 # Broken: success on invalid input.
12678 # Passes both tests.
12682 rm -f conftest.err conftest.i conftest.
$ac_ext
12685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12686 rm -f conftest.i conftest.err conftest.
$ac_ext
12687 if $ac_preproc_ok; then :
12690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12692 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12693 See \`config.log' for more details" "$LINENO" 5; }
12697 ac_cpp
='$CPP $CPPFLAGS'
12698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12703 _lt_caught_CXX_error
=yes
12707 ac_cpp
='$CXXCPP $CPPFLAGS'
12708 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12709 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12710 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12712 archive_cmds_need_lc_CXX
=no
12713 allow_undefined_flag_CXX
=
12714 always_export_symbols_CXX
=no
12715 archive_expsym_cmds_CXX
=
12716 compiler_needs_object_CXX
=no
12717 export_dynamic_flag_spec_CXX
=
12718 hardcode_direct_CXX
=no
12719 hardcode_direct_absolute_CXX
=no
12720 hardcode_libdir_flag_spec_CXX
=
12721 hardcode_libdir_separator_CXX
=
12722 hardcode_minus_L_CXX
=no
12723 hardcode_shlibpath_var_CXX
=unsupported
12724 hardcode_automatic_CXX
=no
12725 inherit_rpath_CXX
=no
12727 module_expsym_cmds_CXX
=
12728 link_all_deplibs_CXX
=unknown
12729 old_archive_cmds_CXX
=$old_archive_cmds
12730 reload_flag_CXX
=$reload_flag
12731 reload_cmds_CXX
=$reload_cmds
12732 no_undefined_flag_CXX
=
12733 whole_archive_flag_spec_CXX
=
12734 enable_shared_with_static_runtimes_CXX
=no
12736 # Source file extension for C++ test sources.
12739 # Object file extension for compiled C++ test sources.
12743 # No sense in running all these tests if we already determined that
12744 # the CXX compiler isn't working. Some variables (like enable_shared)
12745 # are currently assumed to apply to all compilers on this platform,
12746 # and will be corrupted by setting them based on a non-working compiler.
12747 if test "$_lt_caught_CXX_error" != yes; then
12748 # Code to be used in simple compile tests
12749 lt_simple_compile_test_code
="int some_variable = 0;"
12751 # Code to be used in simple link tests
12752 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12754 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12761 # If no C compiler was specified, use CC.
12764 # If no C compiler flags were specified, use CFLAGS.
12765 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12767 # Allow CC to be a program name with arguments.
12771 # save warnings/boilerplate of simple test code
12772 ac_outfile
=conftest.
$ac_objext
12773 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12774 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12775 _lt_compiler_boilerplate
=`cat conftest.err`
12778 ac_outfile
=conftest.
$ac_objext
12779 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12780 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12781 _lt_linker_boilerplate
=`cat conftest.err`
12785 # Allow CC to be a program name with arguments.
12787 lt_save_CFLAGS
=$CFLAGS
12791 lt_save_with_gnu_ld
=$with_gnu_ld
12792 lt_save_path_LD
=$lt_cv_path_LD
12793 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12794 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12796 $as_unset lt_cv_prog_gnu_ld
12798 if test -n "${lt_cv_path_LDCXX+set}"; then
12799 lt_cv_path_LD
=$lt_cv_path_LDCXX
12801 $as_unset lt_cv_path_LD
12803 test -z "${LDCXX+set}" || LD
=$LDCXX
12808 for cc_temp
in $compiler""; do
12810 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12811 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12816 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12819 if test -n "$compiler"; then
12820 # We don't want -fno-exception when compiling C++ code, so set the
12821 # no_builtin_flag separately
12822 if test "$GXX" = yes; then
12823 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12825 lt_prog_compiler_no_builtin_flag_CXX
=
12828 if test "$GXX" = yes; then
12829 # Set up default GNU C++ configuration
12833 # Check whether --with-gnu-ld was given.
12834 if test "${with_gnu_ld+set}" = set; then :
12835 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12841 if test "$GCC" = yes; then
12842 # Check if gcc -print-prog-name=ld gives a path.
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12844 $as_echo_n "checking for ld used by $CC... " >&6; }
12847 # gcc leaves a trailing carriage return which upsets mingw
12848 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12850 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12853 # Accept absolute paths.
12855 re_direlt
='/[^/][^/]*/\.\./'
12856 # Canonicalize the pathname of ld
12857 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12858 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12859 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12861 test -z "$LD" && LD
="$ac_prog"
12864 # If it fails, then pretend we aren't using GCC.
12868 # If it is relative, then search for the first ld in PATH.
12869 with_gnu_ld
=unknown
12872 elif test "$with_gnu_ld" = yes; then
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12874 $as_echo_n "checking for GNU ld... " >&6; }
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12877 $as_echo_n "checking for non-GNU ld... " >&6; }
12879 if ${lt_cv_path_LD+:} false
; then :
12880 $as_echo_n "(cached) " >&6
12882 if test -z "$LD"; then
12883 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12884 for ac_dir
in $PATH; do
12886 test -z "$ac_dir" && ac_dir
=.
12887 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12888 lt_cv_path_LD
="$ac_dir/$ac_prog"
12889 # Check to see if the program is GNU ld. I'd rather use --version,
12890 # but apparently some variants of GNU ld only accept -v.
12891 # Break only if it was the GNU/non-GNU ld that we prefer.
12892 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12893 *GNU
* | *'with BFD'*)
12894 test "$with_gnu_ld" != no
&& break
12897 test "$with_gnu_ld" != yes && break
12904 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12908 LD
="$lt_cv_path_LD"
12909 if test -n "$LD"; then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12911 $as_echo "$LD" >&6; }
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12914 $as_echo "no" >&6; }
12916 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12918 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12919 if ${lt_cv_prog_gnu_ld+:} false
; then :
12920 $as_echo_n "(cached) " >&6
12922 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12923 case `$LD -v 2>&1 </dev/null` in
12924 *GNU
* | *'with BFD'*)
12925 lt_cv_prog_gnu_ld
=yes
12928 lt_cv_prog_gnu_ld
=no
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12933 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12934 with_gnu_ld
=$lt_cv_prog_gnu_ld
12942 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12943 # archiving commands below assume that GNU ld is being used.
12944 if test "$with_gnu_ld" = yes; then
12945 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12946 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'
12948 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12949 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12951 # If archive_cmds runs LD, not CC, wlarc should be empty
12952 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12953 # investigate it a little bit more. (MM)
12956 # ancient GNU ld didn't support --whole-archive et. al.
12957 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12958 $GREP 'no-whole-archive' > /dev
/null
; then
12959 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12961 whole_archive_flag_spec_CXX
=
12967 # A generic and very simple default shared library creation
12968 # command for GNU C++ for the case where it uses the native
12969 # linker, instead of GNU ld. If possible, this setting should
12970 # overridden to take advantage of the native linker features on
12971 # the platform it is being used on.
12972 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12975 # Commands to make compiler produce verbose output that lists
12976 # what "hidden" libraries, object files and flags are used when
12977 # linking a shared library.
12978 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12986 # PORTME: fill in a description of your system's C++ link characteristics
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12988 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12992 # FIXME: insert proper C++ library support
12996 if test "$host_cpu" = ia64
; then
12997 # On IA64, the linker does run time linking by default, so we don't
12998 # have to do anything special.
12999 aix_use_runtimelinking
=no
13000 exp_sym_flag
='-Bexport'
13003 aix_use_runtimelinking
=no
13005 # Test if we are trying to use run time linking or normal
13006 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13007 # need to do runtime linking.
13008 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13009 for ld_flag
in $LDFLAGS; do
13012 aix_use_runtimelinking
=yes
13020 exp_sym_flag
='-bexport'
13021 no_entry_flag
='-bnoentry'
13024 # When large executables or shared objects are built, AIX ld can
13025 # have problems creating the table of contents. If linking a library
13026 # or program results in "error TOC overflow" add -mminimal-toc to
13027 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13028 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13030 archive_cmds_CXX
=''
13031 hardcode_direct_CXX
=yes
13032 hardcode_direct_absolute_CXX
=yes
13033 hardcode_libdir_separator_CXX
=':'
13034 link_all_deplibs_CXX
=yes
13035 file_list_spec_CXX
='${wl}-f,'
13037 if test "$GXX" = yes; then
13038 case $host_os in aix4.
[012]|aix4.
[012].
*)
13039 # We only want to do this on AIX 4.2 and lower, the check
13040 # below for broken collect2 doesn't work under 4.3+
13041 collect2name
=`${CC} -print-prog-name=collect2`
13042 if test -f "$collect2name" &&
13043 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13045 # We have reworked collect2
13048 # We have old collect2
13049 hardcode_direct_CXX
=unsupported
13050 # It fails to find uninstalled libraries when the uninstalled
13051 # path is not listed in the libpath. Setting hardcode_minus_L
13052 # to unsupported forces relinking
13053 hardcode_minus_L_CXX
=yes
13054 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13055 hardcode_libdir_separator_CXX
=
13058 shared_flag
='-shared'
13059 if test "$aix_use_runtimelinking" = yes; then
13060 shared_flag
="$shared_flag "'${wl}-G'
13064 if test "$host_cpu" = ia64
; then
13065 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13066 # chokes on -Wl,-G. The following line is correct:
13069 if test "$aix_use_runtimelinking" = yes; then
13070 shared_flag
='${wl}-G'
13072 shared_flag
='${wl}-bM:SRE'
13077 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13078 # It seems that -bexpall does not export symbols beginning with
13079 # underscore (_), so it is better to generate a list of symbols to
13081 always_export_symbols_CXX
=yes
13082 if test "$aix_use_runtimelinking" = yes; then
13083 # Warning - without using the other runtime loading flags (-brtl),
13084 # -berok will link without error, but may produce a broken library.
13085 allow_undefined_flag_CXX
='-berok'
13086 # Determine the default libpath from the value encoded in an empty
13088 if test "${lt_cv_aix_libpath+set}" = set; then
13089 aix_libpath
=$lt_cv_aix_libpath
13091 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13092 $as_echo_n "(cached) " >&6
13094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13105 if ac_fn_cxx_try_link
"$LINENO"; then :
13107 lt_aix_libpath_sed
='
13108 /Import File Strings/,/^$/ {
13110 s/^0 *\([^ ]*\) *$/\1/
13114 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13115 # Check for a 64-bit object if we didn't find anything.
13116 if test -z "$lt_cv_aix_libpath__CXX"; then
13117 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13120 rm -f core conftest.err conftest.
$ac_objext \
13121 conftest
$ac_exeext conftest.
$ac_ext
13122 if test -z "$lt_cv_aix_libpath__CXX"; then
13123 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13128 aix_libpath
=$lt_cv_aix_libpath__CXX
13131 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13133 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"
13135 if test "$host_cpu" = ia64
; then
13136 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13137 allow_undefined_flag_CXX
="-z nodefs"
13138 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"
13140 # Determine the default libpath from the value encoded in an
13141 # empty executable.
13142 if test "${lt_cv_aix_libpath+set}" = set; then
13143 aix_libpath
=$lt_cv_aix_libpath
13145 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13146 $as_echo_n "(cached) " >&6
13148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13159 if ac_fn_cxx_try_link
"$LINENO"; then :
13161 lt_aix_libpath_sed
='
13162 /Import File Strings/,/^$/ {
13164 s/^0 *\([^ ]*\) *$/\1/
13168 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13169 # Check for a 64-bit object if we didn't find anything.
13170 if test -z "$lt_cv_aix_libpath__CXX"; then
13171 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13174 rm -f core conftest.err conftest.
$ac_objext \
13175 conftest
$ac_exeext conftest.
$ac_ext
13176 if test -z "$lt_cv_aix_libpath__CXX"; then
13177 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13182 aix_libpath
=$lt_cv_aix_libpath__CXX
13185 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13186 # Warning - without using the other run time loading flags,
13187 # -berok will link without error, but may produce a broken library.
13188 no_undefined_flag_CXX
=' ${wl}-bernotok'
13189 allow_undefined_flag_CXX
=' ${wl}-berok'
13190 if test "$with_gnu_ld" = yes; then
13191 # We only use this code for GNU lds that support --whole-archive.
13192 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13194 # Exported symbols can be pulled into shared objects from archives
13195 whole_archive_flag_spec_CXX
='$convenience'
13197 archive_cmds_need_lc_CXX
=yes
13198 # This is similar to how AIX traditionally builds its shared
13200 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'
13206 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13207 allow_undefined_flag_CXX
=unsupported
13208 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13209 # support --undefined. This deserves some investigation. FIXME
13210 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13217 case $cc_basename in
13219 # FIXME: insert proper C++ library support
13225 cygwin
* | mingw
* | pw32
* | cegcc
*)
13226 case $GXX,$cc_basename in
13229 # hardcode_libdir_flag_spec is actually meaningless, as there is
13230 # no search path for DLLs.
13231 hardcode_libdir_flag_spec_CXX
=' '
13232 allow_undefined_flag_CXX
=unsupported
13233 always_export_symbols_CXX
=yes
13234 file_list_spec_CXX
='@'
13235 # Tell ltmain to make .lib files, not .a files.
13237 # Tell ltmain to make .dll files, not .so files.
13239 # FIXME: Setting linknames here is a bad hack.
13240 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13241 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13242 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13244 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13246 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13248 # The linker will not automatically build a static lib if we build a DLL.
13249 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13250 enable_shared_with_static_runtimes_CXX
=yes
13252 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13253 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13254 lt_tool_outputfile="@TOOL_OUTPUT@"~
13255 case $lt_outputfile in
13258 lt_outputfile="$lt_outputfile.exe"
13259 lt_tool_outputfile="$lt_tool_outputfile.exe"
13262 func_to_tool_file "$lt_outputfile"~
13263 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13264 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13265 $RM "$lt_outputfile.manifest";
13270 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13271 # as there is no search path for DLLs.
13272 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13273 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13274 allow_undefined_flag_CXX
=unsupported
13275 always_export_symbols_CXX
=no
13276 enable_shared_with_static_runtimes_CXX
=yes
13278 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13279 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'
13280 # If the export-symbols file already is a .def file (1st line
13281 # is EXPORTS), use it as is; otherwise, prepend...
13282 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13283 cp $export_symbols $output_objdir/$soname.def;
13285 echo EXPORTS > $output_objdir/$soname.def;
13286 cat $export_symbols >> $output_objdir/$soname.def;
13288 $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'
13295 darwin
* | rhapsody
*)
13298 archive_cmds_need_lc_CXX
=no
13299 hardcode_direct_CXX
=no
13300 hardcode_automatic_CXX
=yes
13301 hardcode_shlibpath_var_CXX
=unsupported
13302 if test "$lt_cv_ld_force_load" = "yes"; then
13303 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\"`'
13306 whole_archive_flag_spec_CXX
=''
13308 link_all_deplibs_CXX
=yes
13309 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13310 case $cc_basename in
13311 ifort
*) _lt_dar_can_shared
=yes ;;
13312 *) _lt_dar_can_shared
=$GCC ;;
13314 if test "$_lt_dar_can_shared" = "yes"; then
13315 output_verbose_link_cmd
=func_echo_all
13316 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}"
13317 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13318 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}"
13319 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}"
13320 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13321 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}"
13322 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}"
13332 case $cc_basename in
13334 # FIXME: insert proper C++ library support
13338 # Green Hills C++ Compiler
13339 # FIXME: insert proper C++ library support
13343 # FIXME: insert proper C++ library support
13350 # C++ shared libraries reported to be fairly broken before
13356 archive_cmds_need_lc_CXX
=no
13359 freebsd
* | dragonfly
*)
13360 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13369 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13370 link_all_deplibs_CXX
=yes
13374 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13375 hardcode_libdir_separator_CXX
=:
13376 export_dynamic_flag_spec_CXX
='${wl}-E'
13377 hardcode_direct_CXX
=yes
13378 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13379 # but as the default
13380 # location of the library.
13382 case $cc_basename in
13384 # FIXME: insert proper C++ library support
13388 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'
13389 # Commands to make compiler produce verbose output that lists
13390 # what "hidden" libraries, object files and flags are used when
13391 # linking a shared library.
13393 # There doesn't appear to be a way to prevent this compiler from
13394 # explicitly linking system object files so we need to strip them
13395 # from the output so that they don't get included in the library
13397 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"'
13400 if test "$GXX" = yes; then
13401 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'
13403 # FIXME: insert proper C++ library support
13411 if test $with_gnu_ld = no
; then
13412 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13413 hardcode_libdir_separator_CXX
=:
13419 export_dynamic_flag_spec_CXX
='${wl}-E'
13425 hardcode_direct_CXX
=no
13426 hardcode_shlibpath_var_CXX
=no
13429 hardcode_direct_CXX
=yes
13430 hardcode_direct_absolute_CXX
=yes
13431 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13432 # but as the default
13433 # location of the library.
13437 case $cc_basename in
13439 # FIXME: insert proper C++ library support
13445 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13448 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13451 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13454 # Commands to make compiler produce verbose output that lists
13455 # what "hidden" libraries, object files and flags are used when
13456 # linking a shared library.
13458 # There doesn't appear to be a way to prevent this compiler from
13459 # explicitly linking system object files so we need to strip them
13460 # from the output so that they don't get included in the library
13462 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"'
13465 if test "$GXX" = yes; then
13466 if test $with_gnu_ld = no
; then
13469 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13472 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13475 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'
13480 # FIXME: insert proper C++ library support
13488 hardcode_direct_CXX
=no
13489 hardcode_shlibpath_var_CXX
=no
13490 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13491 export_dynamic_flag_spec_CXX
='${wl}-E'
13492 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13493 # Instead, shared libraries are loaded at an image base (0x10000000 by
13494 # default) and relocated if they conflict, which is a slow very memory
13495 # consuming and fragmenting process. To avoid this, we pick a random,
13496 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13497 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13498 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'
13499 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'
13502 case $cc_basename in
13505 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'
13507 # Archives containing C++ object files must be created using
13508 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13509 # necessary to make sure instantiated templates are included
13511 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13514 if test "$GXX" = yes; then
13515 if test "$with_gnu_ld" = no
; then
13516 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'
13518 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'
13521 link_all_deplibs_CXX
=yes
13524 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13525 hardcode_libdir_separator_CXX
=:
13526 inherit_rpath_CXX
=yes
13529 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13530 case $cc_basename in
13532 # Kuck and Associates, Inc. (KAI) C++ Compiler
13534 # KCC will only create a shared library if the output file
13535 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13536 # to its proper name (with version) after linking.
13537 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'
13538 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'
13539 # Commands to make compiler produce verbose output that lists
13540 # what "hidden" libraries, object files and flags are used when
13541 # linking a shared library.
13543 # There doesn't appear to be a way to prevent this compiler from
13544 # explicitly linking system object files so we need to strip them
13545 # from the output so that they don't get included in the library
13547 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"'
13549 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13550 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13552 # Archives containing C++ object files must be created using
13553 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13554 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13559 # version 8.0 and above of icpc choke on multiply defined symbols
13560 # if we add $predep_objects and $postdep_objects, however 7.1 and
13561 # earlier do not add the objects themselves.
13562 case `$CC -V 2>&1` in
13564 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13565 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'
13567 *) # Version 8.0 or newer
13570 ia64
*) tmp_idyn
=' -i_dynamic';;
13572 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13573 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'
13576 archive_cmds_need_lc_CXX
=no
13577 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13578 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13579 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13582 # Portland Group C++ compiler
13584 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13585 prelink_cmds_CXX
='tpldir=Template.dir~
13587 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13588 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13589 old_archive_cmds_CXX
='tpldir=Template.dir~
13591 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13592 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13594 archive_cmds_CXX
='tpldir=Template.dir~
13596 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13597 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13598 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13600 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13601 $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'
13603 *) # Version 6 and above use weak symbols
13604 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13605 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'
13609 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13610 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13611 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'
13615 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13616 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'
13618 runpath_var
=LD_RUN_PATH
13619 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13620 hardcode_libdir_separator_CXX
=:
13622 # Commands to make compiler produce verbose output that lists
13623 # what "hidden" libraries, object files and flags are used when
13624 # linking a shared library.
13626 # There doesn't appear to be a way to prevent this compiler from
13627 # explicitly linking system object files so we need to strip them
13628 # from the output so that they don't get included in the library
13630 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'
13632 xl
* | mpixl
* | bgxl
*)
13633 # IBM XL 8.0 on PPC, with GNU ld
13634 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13635 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13636 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13637 if test "x$supports_anon_versioning" = xyes
; then
13638 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13639 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13640 echo "local: *; };" >> $output_objdir/$libname.ver~
13641 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13645 case `$CC -V 2>&1 | sed 5q` in
13648 no_undefined_flag_CXX
=' -zdefs'
13649 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13650 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'
13651 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13652 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'
13653 compiler_needs_object_CXX
=yes
13655 # Not sure whether something based on
13656 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13658 output_verbose_link_cmd
='func_echo_all'
13660 # Archives containing C++ object files must be created using
13661 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13662 # necessary to make sure instantiated templates are included
13664 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13672 # FIXME: insert proper C++ library support
13677 # FIXME: insert proper C++ library support
13682 case $cc_basename in
13684 # FIXME: insert proper C++ library support
13688 # FIXME: insert proper C++ library support
13695 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13696 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13698 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13699 hardcode_direct_CXX
=yes
13700 hardcode_shlibpath_var_CXX
=no
13702 # Workaround some broken pre-1.5 toolchains
13703 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13711 # C++ shared libraries are fairly broken
13716 if test -f /usr
/libexec
/ld.so
; then
13717 hardcode_direct_CXX
=yes
13718 hardcode_shlibpath_var_CXX
=no
13719 hardcode_direct_absolute_CXX
=yes
13720 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13721 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13722 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13723 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13724 export_dynamic_flag_spec_CXX
='${wl}-E'
13725 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13727 output_verbose_link_cmd
=func_echo_all
13733 osf3
* | osf4
* | osf5
*)
13734 case $cc_basename in
13736 # Kuck and Associates, Inc. (KAI) C++ Compiler
13738 # KCC will only create a shared library if the output file
13739 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13740 # to its proper name (with version) after linking.
13741 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'
13743 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13744 hardcode_libdir_separator_CXX
=:
13746 # Archives containing C++ object files must be created using
13747 # the KAI C++ compiler.
13749 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13750 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13754 # Rational C++ 2.4.1
13755 # FIXME: insert proper C++ library support
13761 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13762 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'
13763 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13766 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13767 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'
13768 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13769 echo "-hidden">> $lib.exp~
13770 $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~
13772 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13776 hardcode_libdir_separator_CXX
=:
13778 # Commands to make compiler produce verbose output that lists
13779 # what "hidden" libraries, object files and flags are used when
13780 # linking a shared library.
13782 # There doesn't appear to be a way to prevent this compiler from
13783 # explicitly linking system object files so we need to strip them
13784 # from the output so that they don't get included in the library
13786 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"'
13789 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13790 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13793 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'
13796 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'
13800 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13801 hardcode_libdir_separator_CXX
=:
13803 # Commands to make compiler produce verbose output that lists
13804 # what "hidden" libraries, object files and flags are used when
13805 # linking a shared library.
13806 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13809 # FIXME: insert proper C++ library support
13817 # FIXME: insert proper C++ library support
13822 case $cc_basename in
13825 # FIXME: insert proper C++ library support
13830 # FIXME: insert proper C++ library support
13834 # FIXME: insert proper C++ library support
13841 case $cc_basename in
13843 # Sun C++ 4.2, 5.x and Centerline C++
13844 archive_cmds_need_lc_CXX
=yes
13845 no_undefined_flag_CXX
=' -zdefs'
13846 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13847 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13848 $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'
13850 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13851 hardcode_shlibpath_var_CXX
=no
13853 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13855 # The compiler driver will combine and reorder linker options,
13856 # but understands `-z linker_flag'.
13857 # Supported since Solaris 2.6 (maybe 2.5.1?)
13858 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13861 link_all_deplibs_CXX
=yes
13863 output_verbose_link_cmd
='func_echo_all'
13865 # Archives containing C++ object files must be created using
13866 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13867 # necessary to make sure instantiated templates are included
13869 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13872 # Green Hills C++ Compiler
13873 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13875 # The C++ compiler must be used to create the archive.
13876 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13879 # GNU C++ compiler with Solaris linker
13880 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13881 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13882 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13883 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13884 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13885 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13887 # Commands to make compiler produce verbose output that lists
13888 # what "hidden" libraries, object files and flags are used when
13889 # linking a shared library.
13890 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13892 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13894 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13895 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13896 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13898 # Commands to make compiler produce verbose output that lists
13899 # what "hidden" libraries, object files and flags are used when
13900 # linking a shared library.
13901 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13904 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13906 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13908 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13916 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13917 no_undefined_flag_CXX
='${wl}-z,text'
13918 archive_cmds_need_lc_CXX
=no
13919 hardcode_shlibpath_var_CXX
=no
13920 runpath_var
='LD_RUN_PATH'
13922 case $cc_basename in
13924 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13925 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13928 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13929 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13934 sysv5
* | sco3.2v5
* | sco5v6
*)
13935 # Note: We can NOT use -z defs as we might desire, because we do not
13936 # link with -lc, and that would cause any symbols used from libc to
13937 # always be unresolved, which means just about no library would
13938 # ever link correctly. If we're not using GNU ld we use -z text
13939 # though, which does catch some bad symbols but isn't as heavy-handed
13941 no_undefined_flag_CXX
='${wl}-z,text'
13942 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13943 archive_cmds_need_lc_CXX
=no
13944 hardcode_shlibpath_var_CXX
=no
13945 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13946 hardcode_libdir_separator_CXX
=':'
13947 link_all_deplibs_CXX
=yes
13948 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13949 runpath_var
='LD_RUN_PATH'
13951 case $cc_basename in
13953 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13954 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13955 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13956 '"$old_archive_cmds_CXX"
13957 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13958 '"$reload_cmds_CXX"
13961 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13962 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13968 case $cc_basename in
13970 # NonStop-UX NCC 3.20
13971 # FIXME: insert proper C++ library support
13975 # FIXME: insert proper C++ library support
13982 # FIXME: insert proper C++ library support
13987 # FIXME: insert proper C++ library support
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13993 $as_echo "$ld_shlibs_CXX" >&6; }
13994 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14000 ## There is no encapsulation within the following macros, do not change
14001 ## the running order or otherwise move them around unless you know exactly
14002 ## what you are doing...
14003 # Dependencies to place before and after the object being linked:
14004 predep_objects_CXX
=
14005 postdep_objects_CXX
=
14008 compiler_lib_search_path_CXX
=
14010 cat > conftest.
$ac_ext <<_LT_EOF
14014 Foo (void) { a = 0; }
14021 _lt_libdeps_save_CFLAGS
=$CFLAGS
14022 case "$CC $CFLAGS " in #(
14023 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14024 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14025 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14029 (eval $ac_compile) 2>&5
14031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14032 test $ac_status = 0; }; then
14033 # Parse the compiler output and extract the necessary
14034 # objects, libraries and library flags.
14036 # Sentinel used to keep track of whether or not we are before
14037 # the conftest object file.
14038 pre_test_object_deps_done
=no
14040 for p
in `eval "$output_verbose_link_cmd"`; do
14041 case ${prev}${p} in
14044 # Some compilers place space between "-{L,R}" and the path.
14045 # Remove the space.
14046 if test $p = "-L" ||
14047 test $p = "-R"; then
14052 # Expand the sysroot to ease extracting the directories later.
14053 if test -z "$prev"; then
14055 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14056 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14057 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14061 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14063 if test "$pre_test_object_deps_done" = no
; then
14066 # Internal compiler library paths should come after those
14067 # provided the user. The postdeps already come after the
14068 # user supplied libs so there is no need to process them.
14069 if test -z "$compiler_lib_search_path_CXX"; then
14070 compiler_lib_search_path_CXX
="${prev}${p}"
14072 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14075 # The "-l" case would never come before the object being
14076 # linked, so don't bother handling this case.
14079 if test -z "$postdeps_CXX"; then
14080 postdeps_CXX
="${prev}${p}"
14082 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14088 *.lto.
$objext) ;; # Ignore GCC LTO objects
14090 # This assumes that the test object file only shows up
14091 # once in the compiler output.
14092 if test "$p" = "conftest.$objext"; then
14093 pre_test_object_deps_done
=yes
14097 if test "$pre_test_object_deps_done" = no
; then
14098 if test -z "$predep_objects_CXX"; then
14099 predep_objects_CXX
="$p"
14101 predep_objects_CXX
="$predep_objects_CXX $p"
14104 if test -z "$postdep_objects_CXX"; then
14105 postdep_objects_CXX
="$p"
14107 postdep_objects_CXX
="$postdep_objects_CXX $p"
14112 *) ;; # Ignore the rest.
14120 echo "libtool.m4: error: problem compiling CXX test program"
14123 $RM -f confest.
$objext
14124 CFLAGS
=$_lt_libdeps_save_CFLAGS
14126 # PORTME: override above test on systems where it is broken
14129 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14130 # hack all around it, let's just trust "g++" to DTRT.
14131 predep_objects_CXX
=
14132 postdep_objects_CXX
=
14137 case `$CC -V 2>&1 | sed 5q` in
14141 # The more standards-conforming stlport4 library is
14142 # incompatible with the Cstd library. Avoid specifying
14143 # it if it's in CXXFLAGS. Ignore libCrun as
14144 # -library=stlport4 depends on it.
14145 case " $CXX $CXXFLAGS " in
14146 *" -library=stlport4 "*)
14147 solaris_use_stlport4
=yes
14151 if test "$solaris_use_stlport4" != yes; then
14152 postdeps_CXX
='-library=Cstd -library=Crun'
14159 case $cc_basename in
14161 # The more standards-conforming stlport4 library is
14162 # incompatible with the Cstd library. Avoid specifying
14163 # it if it's in CXXFLAGS. Ignore libCrun as
14164 # -library=stlport4 depends on it.
14165 case " $CXX $CXXFLAGS " in
14166 *" -library=stlport4 "*)
14167 solaris_use_stlport4
=yes
14171 # Adding this requires a known-good setup of shared libraries for
14172 # Sun compiler versions before 5.6, else PIC objects from an old
14173 # archive will be linked into the output, leading to subtle bugs.
14174 if test "$solaris_use_stlport4" != yes; then
14175 postdeps_CXX
='-library=Cstd -library=Crun'
14183 case " $postdeps_CXX " in
14184 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14186 compiler_lib_search_dirs_CXX
=
14187 if test -n "${compiler_lib_search_path_CXX}"; then
14188 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14221 lt_prog_compiler_wl_CXX
=
14222 lt_prog_compiler_pic_CXX
=
14223 lt_prog_compiler_static_CXX
=
14226 # C++ specific cases for pic, static, wl, etc.
14227 if test "$GXX" = yes; then
14228 lt_prog_compiler_wl_CXX
='-Wl,'
14229 lt_prog_compiler_static_CXX
='-static'
14233 # All AIX code is PIC.
14234 if test "$host_cpu" = ia64
; then
14235 # AIX 5 now supports IA64 processor
14236 lt_prog_compiler_static_CXX
='-Bstatic'
14243 # see comment about AmigaOS4 .so support
14244 lt_prog_compiler_pic_CXX
='-fPIC'
14247 # FIXME: we need at least 68020 code to build shared libraries, but
14248 # adding the `-m68020' flag to GCC prevents building anything better,
14250 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14255 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14256 # PIC is the default for these OSes.
14258 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14259 # This hack is so that the source file can tell whether it is being
14260 # built for inclusion in a dll (and should export symbols for example).
14261 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14262 # (--disable-auto-import) libraries
14263 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14265 darwin
* | rhapsody
*)
14266 # PIC is the default on this platform
14267 # Common symbols not allowed in MH_DYLIB files
14268 lt_prog_compiler_pic_CXX
='-fno-common'
14271 # DJGPP does not support shared libraries at all
14272 lt_prog_compiler_pic_CXX
=
14275 # PIC is the default for Haiku.
14276 # The "-static" flag exists, but is broken.
14277 lt_prog_compiler_static_CXX
=
14280 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14281 # Instead, we relocate shared libraries at runtime.
14284 if test -d /usr
/nec
; then
14285 lt_prog_compiler_pic_CXX
=-Kconform_pic
14289 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14290 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14291 # sets the default TLS model and affects inlining.
14296 lt_prog_compiler_pic_CXX
='-fPIC'
14301 # QNX uses GNU C++, but need to define -shared option too, otherwise
14302 # it will coredump.
14303 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14306 lt_prog_compiler_pic_CXX
='-fPIC'
14312 # All AIX code is PIC.
14313 if test "$host_cpu" = ia64
; then
14314 # AIX 5 now supports IA64 processor
14315 lt_prog_compiler_static_CXX
='-Bstatic'
14317 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14321 case $cc_basename in
14323 # Green Hills C++ Compiler
14324 # _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"
14328 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14329 # This hack is so that the source file can tell whether it is being
14330 # built for inclusion in a dll (and should export symbols for example).
14331 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14334 case $cc_basename in
14336 lt_prog_compiler_pic_CXX
='-KPIC'
14339 # Green Hills C++ Compiler
14340 lt_prog_compiler_pic_CXX
='-pic'
14346 freebsd
* | dragonfly
*)
14347 # FreeBSD uses GNU C++
14349 hpux9
* | hpux10
* | hpux11
*)
14350 case $cc_basename in
14352 lt_prog_compiler_wl_CXX
='-Wl,'
14353 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14354 if test "$host_cpu" != ia64
; then
14355 lt_prog_compiler_pic_CXX
='+Z'
14359 lt_prog_compiler_wl_CXX
='-Wl,'
14360 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14366 lt_prog_compiler_pic_CXX
='+Z'
14375 # This is c89, which is MS Visual C++ (no shared libs)
14376 # Anyone wants to do a port?
14378 irix5
* | irix6
* | nonstopux
*)
14379 case $cc_basename in
14381 lt_prog_compiler_wl_CXX
='-Wl,'
14382 lt_prog_compiler_static_CXX
='-non_shared'
14383 # CC pic flag -KPIC is the default.
14389 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14390 case $cc_basename in
14393 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14394 lt_prog_compiler_pic_CXX
='-fPIC'
14397 # old Intel C++ for x86_64 which still supported -KPIC.
14398 lt_prog_compiler_wl_CXX
='-Wl,'
14399 lt_prog_compiler_pic_CXX
='-KPIC'
14400 lt_prog_compiler_static_CXX
='-static'
14403 # Intel C++, used to be incompatible with GCC.
14404 # ICC 10 doesn't accept -KPIC any more.
14405 lt_prog_compiler_wl_CXX
='-Wl,'
14406 lt_prog_compiler_pic_CXX
='-fPIC'
14407 lt_prog_compiler_static_CXX
='-static'
14410 # Portland Group C++ compiler
14411 lt_prog_compiler_wl_CXX
='-Wl,'
14412 lt_prog_compiler_pic_CXX
='-fpic'
14413 lt_prog_compiler_static_CXX
='-Bstatic'
14417 # Make sure the PIC flag is empty. It appears that all Alpha
14418 # Linux and Compaq Tru64 Unix objects are PIC.
14419 lt_prog_compiler_pic_CXX
=
14420 lt_prog_compiler_static_CXX
='-non_shared'
14422 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14423 # IBM XL 8.0, 9.0 on PPC and BlueGene
14424 lt_prog_compiler_wl_CXX
='-Wl,'
14425 lt_prog_compiler_pic_CXX
='-qpic'
14426 lt_prog_compiler_static_CXX
='-qstaticlink'
14429 case `$CC -V 2>&1 | sed 5q` in
14432 lt_prog_compiler_pic_CXX
='-KPIC'
14433 lt_prog_compiler_static_CXX
='-Bstatic'
14434 lt_prog_compiler_wl_CXX
='-Qoption ld '
14445 case $cc_basename in
14447 lt_prog_compiler_pic_CXX
='-W c,exportall'
14456 # QNX uses GNU C++, but need to define -shared option too, otherwise
14457 # it will coredump.
14458 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14460 osf3
* | osf4
* | osf5
*)
14461 case $cc_basename in
14463 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14466 # Rational C++ 2.4.1
14467 lt_prog_compiler_pic_CXX
='-pic'
14470 # Digital/Compaq C++
14471 lt_prog_compiler_wl_CXX
='-Wl,'
14472 # Make sure the PIC flag is empty. It appears that all Alpha
14473 # Linux and Compaq Tru64 Unix objects are PIC.
14474 lt_prog_compiler_pic_CXX
=
14475 lt_prog_compiler_static_CXX
='-non_shared'
14484 case $cc_basename in
14486 # Sun C++ 4.2, 5.x and Centerline C++
14487 lt_prog_compiler_pic_CXX
='-KPIC'
14488 lt_prog_compiler_static_CXX
='-Bstatic'
14489 lt_prog_compiler_wl_CXX
='-Qoption ld '
14492 # Green Hills C++ Compiler
14493 lt_prog_compiler_pic_CXX
='-PIC'
14500 case $cc_basename in
14503 lt_prog_compiler_pic_CXX
='-pic'
14504 lt_prog_compiler_static_CXX
='-Bstatic'
14508 lt_prog_compiler_pic_CXX
='-pic'
14514 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14515 case $cc_basename in
14517 lt_prog_compiler_wl_CXX
='-Wl,'
14518 lt_prog_compiler_pic_CXX
='-KPIC'
14519 lt_prog_compiler_static_CXX
='-Bstatic'
14524 case $cc_basename in
14526 # NonStop-UX NCC 3.20
14527 lt_prog_compiler_pic_CXX
='-KPIC'
14536 lt_prog_compiler_can_build_shared_CXX
=no
14542 # For platforms which do not support PIC, -DPIC is meaningless:
14544 lt_prog_compiler_pic_CXX
=
14547 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14552 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14553 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14554 $as_echo_n "(cached) " >&6
14556 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14559 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14560 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14563 # Check to make sure the PIC flag actually works.
14565 if test -n "$lt_prog_compiler_pic_CXX"; then
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14567 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14568 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14569 $as_echo_n "(cached) " >&6
14571 lt_cv_prog_compiler_pic_works_CXX
=no
14572 ac_outfile
=conftest.
$ac_objext
14573 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14574 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14575 # Insert the option either (1) after the last *FLAGS variable, or
14576 # (2) before a word containing "conftest.", or (3) at the end.
14577 # Note that $ac_compile itself does not contain backslashes and begins
14578 # with a dollar sign (not a hyphen), so the echo should work correctly.
14579 # The option is referenced via a variable to avoid confusing sed.
14580 lt_compile
=`echo "$ac_compile" | $SED \
14581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14583 -e 's:$: $lt_compiler_flag:'`
14584 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14585 (eval "$lt_compile" 2>conftest.err
)
14587 cat conftest.err
>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 if (exit $ac_status) && test -s "$ac_outfile"; then
14590 # The compiler can only warn and ignore the option if not recognized
14591 # So say no if there are warnings other than the usual output.
14592 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14593 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14594 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14595 lt_cv_prog_compiler_pic_works_CXX
=yes
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14602 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14604 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14605 case $lt_prog_compiler_pic_CXX in
14607 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14610 lt_prog_compiler_pic_CXX
=
14611 lt_prog_compiler_can_build_shared_CXX
=no
14621 # Check to make sure the static flag actually works.
14623 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14625 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14626 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14627 $as_echo_n "(cached) " >&6
14629 lt_cv_prog_compiler_static_works_CXX
=no
14630 save_LDFLAGS
="$LDFLAGS"
14631 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14632 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14633 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14634 # The linker can only warn and ignore the option if not recognized
14635 # So say no if there are warnings
14636 if test -s conftest.err
; then
14637 # Append any errors to the config.log.
14638 cat conftest.err
1>&5
14639 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14640 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14641 if diff conftest.exp conftest.er2
>/dev
/null
; then
14642 lt_cv_prog_compiler_static_works_CXX
=yes
14645 lt_cv_prog_compiler_static_works_CXX
=yes
14649 LDFLAGS
="$save_LDFLAGS"
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14653 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14655 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14658 lt_prog_compiler_static_CXX
=
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14665 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14666 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14667 $as_echo_n "(cached) " >&6
14669 lt_cv_prog_compiler_c_o_CXX
=no
14670 $RM -r conftest
2>/dev
/null
14674 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14676 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14677 # Insert the option either (1) after the last *FLAGS variable, or
14678 # (2) before a word containing "conftest.", or (3) at the end.
14679 # Note that $ac_compile itself does not contain backslashes and begins
14680 # with a dollar sign (not a hyphen), so the echo should work correctly.
14681 lt_compile
=`echo "$ac_compile" | $SED \
14682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14684 -e 's:$: $lt_compiler_flag:'`
14685 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14686 (eval "$lt_compile" 2>out
/conftest.err
)
14688 cat out
/conftest.err
>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14692 # The compiler can only warn and ignore the option if not recognized
14693 # So say no if there are warnings
14694 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14695 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14696 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14697 lt_cv_prog_compiler_c_o_CXX
=yes
14702 # SGI C++ compiler will create directory out/ii_files/ for
14703 # template instantiation
14704 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14705 $RM out
/* && rmdir out
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14712 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14717 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14718 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14719 $as_echo_n "(cached) " >&6
14721 lt_cv_prog_compiler_c_o_CXX
=no
14722 $RM -r conftest
2>/dev
/null
14726 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14728 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14729 # Insert the option either (1) after the last *FLAGS variable, or
14730 # (2) before a word containing "conftest.", or (3) at the end.
14731 # Note that $ac_compile itself does not contain backslashes and begins
14732 # with a dollar sign (not a hyphen), so the echo should work correctly.
14733 lt_compile
=`echo "$ac_compile" | $SED \
14734 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14735 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14736 -e 's:$: $lt_compiler_flag:'`
14737 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14738 (eval "$lt_compile" 2>out
/conftest.err
)
14740 cat out
/conftest.err
>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14744 # The compiler can only warn and ignore the option if not recognized
14745 # So say no if there are warnings
14746 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14747 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14748 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14749 lt_cv_prog_compiler_c_o_CXX
=yes
14754 # SGI C++ compiler will create directory out/ii_files/ for
14755 # template instantiation
14756 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14757 $RM out
/* && rmdir out
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14764 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14769 hard_links
="nottested"
14770 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14771 # do not overwrite the value of need_locks provided by the user
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14773 $as_echo_n "checking if we can lock with hard links... " >&6; }
14776 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14778 ln conftest.a conftest.b
2>&5 || hard_links
=no
14779 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14781 $as_echo "$hard_links" >&6; }
14782 if test "$hard_links" = no
; then
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14784 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14794 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14796 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14797 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14800 # If we're using GNU nm, then we don't want the "-C" option.
14801 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14802 # Also, AIX nm treats weak defined symbols like other global defined
14803 # symbols, whereas GNU nm marks them as "W".
14804 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14805 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'
14807 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'
14811 export_symbols_cmds_CXX
="$ltdll_cmds"
14813 cygwin
* | mingw
* | cegcc
*)
14814 case $cc_basename in
14816 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14819 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'
14820 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14825 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14830 $as_echo "$ld_shlibs_CXX" >&6; }
14831 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14833 with_gnu_ld_CXX
=$with_gnu_ld
14841 # Do we need to explicitly link libc?
14843 case "x$archive_cmds_need_lc_CXX" in
14845 # Assume -lc should be added
14846 archive_cmds_need_lc_CXX
=yes
14848 if test "$enable_shared" = yes && test "$GCC" = yes; then
14849 case $archive_cmds_CXX in
14851 # FIXME: we may have to deal with multi-command sequences.
14854 # Test whether the compiler implicitly links with -lc since on some
14855 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14856 # to ld, don't add -lc before -lgcc.
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14858 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14859 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14860 $as_echo_n "(cached) " >&6
14863 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14865 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14866 (eval $ac_compile) 2>&5
14868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14869 test $ac_status = 0; } 2>conftest.err
; then
14872 libobjs
=conftest.
$ac_objext
14874 wl
=$lt_prog_compiler_wl_CXX
14875 pic_flag
=$lt_prog_compiler_pic_CXX
14881 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14882 allow_undefined_flag_CXX
=
14883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14884 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14887 test $ac_status = 0; }
14889 lt_cv_archive_cmds_need_lc_CXX
=no
14891 lt_cv_archive_cmds_need_lc_CXX
=yes
14893 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14895 cat conftest.err
1>&5
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14901 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14902 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14971 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14973 library_names_spec
=
14974 libname_spec
='lib$name'
14978 postuninstall_cmds
=
14982 shlibpath_overrides_runpath
=unknown
14984 dynamic_linker
="$host_os ld.so"
14985 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14986 need_lib_prefix
=unknown
14987 hardcode_into_libs
=no
14989 # when you set need_version to no, make sure it does not cause -set_version
14990 # flags to be left without arguments
14991 need_version
=unknown
14995 version_type
=linux
# correct to gnu/linux during the next big refactor
14996 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14997 shlibpath_var
=LIBPATH
14999 # AIX 3 has no versioning support, so we append a major version to the name.
15000 soname_spec
='${libname}${release}${shared_ext}$major'
15004 version_type
=linux
# correct to gnu/linux during the next big refactor
15007 hardcode_into_libs
=yes
15008 if test "$host_cpu" = ia64
; then
15009 # AIX 5 supports IA64
15010 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15011 shlibpath_var
=LD_LIBRARY_PATH
15013 # With GCC up to 2.95.x, collect2 would create an import file
15014 # for dependence libraries. The import file would start with
15015 # the line `#! .'. This would cause the generated library to
15016 # depend on `.', always an invalid library. This was fixed in
15017 # development snapshots of GCC prior to 3.0.
15019 aix4
| aix4.
[01] | aix4.
[01].
*)
15020 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15022 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15025 can_build_shared
=no
15029 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15030 # soname into executable. Probably we can add versioning support to
15031 # collect2, so additional links can be useful in future.
15032 if test "$aix_use_runtimelinking" = yes; then
15033 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15034 # instead of lib<name>.a to let people know that these are not
15035 # typical AIX shared libraries.
15036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15038 # We preserve .a as extension for shared libraries through AIX4.2
15039 # and later when we are not doing run time linking.
15040 library_names_spec
='${libname}${release}.a $libname.a'
15041 soname_spec
='${libname}${release}${shared_ext}$major'
15043 shlibpath_var
=LIBPATH
15050 # Since July 2007 AmigaOS4 officially supports .so libraries.
15051 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15055 library_names_spec
='$libname.ixlibrary $libname.a'
15056 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15057 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'
15063 library_names_spec
='${libname}${shared_ext}'
15064 dynamic_linker
="$host_os ld.so"
15065 shlibpath_var
=LIBRARY_PATH
15069 version_type
=linux
# correct to gnu/linux during the next big refactor
15071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072 soname_spec
='${libname}${release}${shared_ext}$major'
15073 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15074 shlibpath_var
=LD_LIBRARY_PATH
15075 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15076 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15077 # the default ld.so.conf also contains /usr/contrib/lib and
15078 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15079 # libtool to hard-code these into programs
15082 cygwin
* | mingw
* | pw32
* | cegcc
*)
15083 version_type
=windows
15088 case $GCC,$cc_basename in
15091 library_names_spec
='$libname.dll.a'
15092 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15093 postinstall_cmds
='base_file=`basename \${file}`~
15094 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15095 dldir=$destdir/`dirname \$dlpath`~
15096 test -d \$dldir || mkdir -p \$dldir~
15097 $install_prog $dir/$dlname \$dldir/$dlname~
15098 chmod a+x \$dldir/$dlname~
15099 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15100 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15102 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15103 dlpath=$dir/\$dldll~
15105 shlibpath_overrides_runpath
=yes
15109 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15110 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15114 # MinGW DLLs use traditional 'lib' prefix
15115 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15118 # pw32 DLLs use 'pw' prefix rather than 'lib'
15119 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15122 dynamic_linker
='Win32 ld.exe'
15127 libname_spec
='$name'
15128 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15129 library_names_spec
='${libname}.dll.lib'
15133 sys_lib_search_path_spec
=
15136 for lt_path
in $LIB
15139 # Let DOS variable expansion print the short 8.3 style file name.
15140 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15141 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15144 # Convert to MSYS style.
15145 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15148 # Convert to unix form, then to dos form, then back to unix form
15149 # but this time dos style (no spaces!) so that the unix form looks
15150 # like /cygdrive/c/PROGRA~1:/cygdr...
15151 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15152 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15153 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15156 sys_lib_search_path_spec
="$LIB"
15157 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15158 # It is most probably a Windows format PATH.
15159 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15161 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15163 # FIXME: find the short name or the path components, as spaces are
15164 # common. (e.g. "Program Files" -> "PROGRA~1")
15168 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15169 postinstall_cmds
='base_file=`basename \${file}`~
15170 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15171 dldir=$destdir/`dirname \$dlpath`~
15172 test -d \$dldir || mkdir -p \$dldir~
15173 $install_prog $dir/$dlname \$dldir/$dlname'
15174 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15175 dlpath=$dir/\$dldll~
15177 shlibpath_overrides_runpath
=yes
15178 dynamic_linker
='Win32 link.exe'
15182 # Assume MSVC wrapper
15183 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15184 dynamic_linker
='Win32 ld.exe'
15187 # FIXME: first we should search . and the directory the executable is in
15191 darwin
* | rhapsody
*)
15192 dynamic_linker
="$host_os dyld"
15193 version_type
=darwin
15196 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15197 soname_spec
='${libname}${release}${major}$shared_ext'
15198 shlibpath_overrides_runpath
=yes
15199 shlibpath_var
=DYLD_LIBRARY_PATH
15200 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15202 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15206 version_type
=linux
# correct to gnu/linux during the next big refactor
15209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15210 soname_spec
='${libname}${release}${shared_ext}$major'
15211 shlibpath_var
=LD_LIBRARY_PATH
15214 freebsd
* | dragonfly
*)
15215 # DragonFly does not have aout. When/if they implement a new
15216 # versioning mechanism, adjust this.
15217 if test -x /usr
/bin
/objformat
; then
15218 objformat
=`/usr/bin/objformat`
15221 freebsd
[23].
*) objformat
=aout
;;
15222 *) objformat
=elf
;;
15225 version_type
=freebsd
-$objformat
15226 case $version_type in
15228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15233 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15237 shlibpath_var
=LD_LIBRARY_PATH
15240 shlibpath_overrides_runpath
=yes
15242 freebsd3.
[01]* | freebsdelf3.
[01]*)
15243 shlibpath_overrides_runpath
=yes
15244 hardcode_into_libs
=yes
15246 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15247 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15248 shlibpath_overrides_runpath
=no
15249 hardcode_into_libs
=yes
15251 *) # from 4.6 on, and DragonFly
15252 shlibpath_overrides_runpath
=yes
15253 hardcode_into_libs
=yes
15259 version_type
=linux
# correct to gnu/linux during the next big refactor
15262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15263 soname_spec
='${libname}${release}${shared_ext}$major'
15264 shlibpath_var
=LD_LIBRARY_PATH
15265 shlibpath_overrides_runpath
=no
15266 hardcode_into_libs
=yes
15270 version_type
=linux
# correct to gnu/linux during the next big refactor
15273 dynamic_linker
="$host_os runtime_loader"
15274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15275 soname_spec
='${libname}${release}${shared_ext}$major'
15276 shlibpath_var
=LIBRARY_PATH
15277 shlibpath_overrides_runpath
=yes
15278 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15279 hardcode_into_libs
=yes
15282 hpux9
* | hpux10
* | hpux11
*)
15283 # Give a soname corresponding to the major version so that dld.sl refuses to
15284 # link against other versions.
15291 hardcode_into_libs
=yes
15292 dynamic_linker
="$host_os dld.so"
15293 shlibpath_var
=LD_LIBRARY_PATH
15294 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15296 soname_spec
='${libname}${release}${shared_ext}$major'
15297 if test "X$HPUX_IA64_MODE" = X32
; then
15298 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15300 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15302 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15306 hardcode_into_libs
=yes
15307 dynamic_linker
="$host_os dld.sl"
15308 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15309 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15311 soname_spec
='${libname}${release}${shared_ext}$major'
15312 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15313 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15317 dynamic_linker
="$host_os dld.sl"
15318 shlibpath_var
=SHLIB_PATH
15319 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15320 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15321 soname_spec
='${libname}${release}${shared_ext}$major'
15324 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15325 postinstall_cmds
='chmod 555 $lib'
15326 # or fails outright, so override atomically:
15327 install_override_mode
=555
15331 version_type
=linux
# correct to gnu/linux during the next big refactor
15334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15335 soname_spec
='${libname}${release}${shared_ext}$major'
15336 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15337 shlibpath_var
=LD_LIBRARY_PATH
15338 shlibpath_overrides_runpath
=no
15339 hardcode_into_libs
=yes
15342 irix5
* | irix6
* | nonstopux
*)
15344 nonstopux
*) version_type
=nonstopux
;;
15346 if test "$lt_cv_prog_gnu_ld" = yes; then
15347 version_type
=linux
# correct to gnu/linux during the next big refactor
15354 soname_spec
='${libname}${release}${shared_ext}$major'
15355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15357 irix5
* | nonstopux
*)
15358 libsuff
= shlibsuff
=
15361 case $LD in # libtool.m4 will add one of these switches to LD
15362 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15363 libsuff
= shlibsuff
= libmagic
=32-bit;;
15364 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15365 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15366 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15367 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15368 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15372 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15373 shlibpath_overrides_runpath
=no
15374 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15375 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15376 hardcode_into_libs
=yes
15379 # No shared lib support for Linux oldld, aout, or coff.
15380 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15384 # This must be glibc/ELF.
15385 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15386 version_type
=linux
# correct to gnu/linux during the next big refactor
15389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15390 soname_spec
='${libname}${release}${shared_ext}$major'
15391 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15392 shlibpath_var
=LD_LIBRARY_PATH
15393 shlibpath_overrides_runpath
=no
15395 # Some binutils ld are patched to set DT_RUNPATH
15396 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15397 $as_echo_n "(cached) " >&6
15399 lt_cv_shlibpath_overrides_runpath
=no
15400 save_LDFLAGS
=$LDFLAGS
15401 save_libdir
=$libdir
15402 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15403 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15415 if ac_fn_cxx_try_link
"$LINENO"; then :
15416 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15417 lt_cv_shlibpath_overrides_runpath
=yes
15420 rm -f core conftest.err conftest.
$ac_objext \
15421 conftest
$ac_exeext conftest.
$ac_ext
15422 LDFLAGS
=$save_LDFLAGS
15423 libdir
=$save_libdir
15427 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15429 # This implies no fast_install, which is unacceptable.
15430 # Some rework will be needed to allow for fast_install
15431 # before this can be enabled.
15432 hardcode_into_libs
=yes
15434 # Append ld.so.conf contents to the search path
15435 if test -f /etc
/ld.so.conf
; then
15436 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' ' '`
15437 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15440 # We used to test for /lib/ld.so.1 and disable shared libraries on
15441 # powerpc, because MkLinux only supported shared libraries with the
15442 # GNU dynamic linker. Since this was broken with cross compilers,
15443 # most powerpc-linux boxes support dynamic linking these days and
15444 # people can always --disable-shared, the test was removed, and we
15445 # assume the GNU/Linux dynamic linker is in use.
15446 dynamic_linker
='GNU/Linux ld.so'
15453 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15455 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15456 dynamic_linker
='NetBSD (a.out) ld.so'
15458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15459 soname_spec
='${libname}${release}${shared_ext}$major'
15460 dynamic_linker
='NetBSD ld.elf_so'
15462 shlibpath_var
=LD_LIBRARY_PATH
15463 shlibpath_overrides_runpath
=yes
15464 hardcode_into_libs
=yes
15468 version_type
=linux
# correct to gnu/linux during the next big refactor
15469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15470 shlibpath_var
=LD_LIBRARY_PATH
15471 shlibpath_overrides_runpath
=yes
15478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15479 soname_spec
='${libname}${release}${shared_ext}$major'
15480 shlibpath_var
=LD_LIBRARY_PATH
15481 shlibpath_overrides_runpath
=no
15482 hardcode_into_libs
=yes
15483 dynamic_linker
='ldqnx.so'
15488 sys_lib_dlsearch_path_spec
="/usr/lib"
15490 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15492 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15493 *) need_version
=no
;;
15495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15496 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15497 shlibpath_var
=LD_LIBRARY_PATH
15498 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15500 openbsd2.
[89] | openbsd2.
[89].
*)
15501 shlibpath_overrides_runpath
=no
15504 shlibpath_overrides_runpath
=yes
15508 shlibpath_overrides_runpath
=yes
15513 libname_spec
='$name'
15516 library_names_spec
='$libname${shared_ext} $libname.a'
15517 dynamic_linker
='OS/2 ld.exe'
15518 shlibpath_var
=LIBPATH
15521 osf3
* | osf4
* | osf5
*)
15525 soname_spec
='${libname}${release}${shared_ext}$major'
15526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15527 shlibpath_var
=LD_LIBRARY_PATH
15528 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15529 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15537 version_type
=linux
# correct to gnu/linux during the next big refactor
15540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15541 soname_spec
='${libname}${release}${shared_ext}$major'
15542 shlibpath_var
=LD_LIBRARY_PATH
15543 shlibpath_overrides_runpath
=yes
15544 hardcode_into_libs
=yes
15545 # ldd complains unless libraries are executable
15546 postinstall_cmds
='chmod +x $lib'
15551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15552 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15553 shlibpath_var
=LD_LIBRARY_PATH
15554 shlibpath_overrides_runpath
=yes
15555 if test "$with_gnu_ld" = yes; then
15562 version_type
=linux
# correct to gnu/linux during the next big refactor
15563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15564 soname_spec
='${libname}${release}${shared_ext}$major'
15565 shlibpath_var
=LD_LIBRARY_PATH
15566 case $host_vendor in
15568 shlibpath_overrides_runpath
=no
15570 runpath_var
=LD_RUN_PATH
15578 shlibpath_overrides_runpath
=no
15579 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15585 if test -d /usr
/nec
;then
15586 version_type
=linux
# correct to gnu/linux during the next big refactor
15587 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15588 soname_spec
='$libname${shared_ext}.$major'
15589 shlibpath_var
=LD_LIBRARY_PATH
15593 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15594 version_type
=freebsd
-elf
15597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15598 soname_spec
='${libname}${release}${shared_ext}$major'
15599 shlibpath_var
=LD_LIBRARY_PATH
15600 shlibpath_overrides_runpath
=yes
15601 hardcode_into_libs
=yes
15602 if test "$with_gnu_ld" = yes; then
15603 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15605 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15608 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15612 sys_lib_dlsearch_path_spec
='/usr/lib'
15616 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15617 version_type
=linux
# correct to gnu/linux during the next big refactor
15620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15621 shlibpath_var
=LD_LIBRARY_PATH
15622 shlibpath_overrides_runpath
=no
15623 hardcode_into_libs
=yes
15627 version_type
=linux
# correct to gnu/linux during the next big refactor
15628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15629 soname_spec
='${libname}${release}${shared_ext}$major'
15630 shlibpath_var
=LD_LIBRARY_PATH
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15638 $as_echo "$dynamic_linker" >&6; }
15639 test "$dynamic_linker" = no
&& can_build_shared
=no
15641 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15642 if test "$GCC" = yes; then
15643 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15646 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15647 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15649 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15650 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15691 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15692 hardcode_action_CXX
=
15693 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15694 test -n "$runpath_var_CXX" ||
15695 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15697 # We can hardcode non-existent directories.
15698 if test "$hardcode_direct_CXX" != no
&&
15699 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15700 # have to relink, otherwise we might link with an installed library
15701 # when we should be linking with a yet-to-be-installed one
15702 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15703 test "$hardcode_minus_L_CXX" != no
; then
15704 # Linking always hardcodes the temporary library directory.
15705 hardcode_action_CXX
=relink
15707 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15708 hardcode_action_CXX
=immediate
15711 # We cannot hardcode anything, or else we can only hardcode existing
15713 hardcode_action_CXX
=unsupported
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15716 $as_echo "$hardcode_action_CXX" >&6; }
15718 if test "$hardcode_action_CXX" = relink
||
15719 test "$inherit_rpath_CXX" = yes; then
15720 # Fast installation is not supported
15721 enable_fast_install
=no
15722 elif test "$shlibpath_overrides_runpath" = yes ||
15723 test "$enable_shared" = no
; then
15724 # Fast installation is not necessary
15725 enable_fast_install
=needless
15734 fi # test -n "$compiler"
15737 CFLAGS
=$lt_save_CFLAGS
15741 with_gnu_ld
=$lt_save_with_gnu_ld
15742 lt_cv_path_LDCXX
=$lt_cv_path_LD
15743 lt_cv_path_LD
=$lt_save_path_LD
15744 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15745 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15746 fi # test "$_lt_caught_CXX_error" != yes
15749 ac_cpp
='$CPP $CPPFLAGS'
15750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15768 ac_config_commands
="$ac_config_commands libtool"
15773 # Only expand once:
15778 ac_cpp
='$CXXCPP $CPPFLAGS'
15779 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15780 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15781 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15790 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15791 if test -n "$ac_tool_prefix"; then
15792 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15793 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15795 $as_echo_n "checking for $ac_word... " >&6; }
15796 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15797 $as_echo_n "(cached) " >&6
15799 case $PKG_CONFIG in
15801 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15805 for as_dir
in $PATH
15808 test -z "$as_dir" && as_dir
=.
15809 for ac_exec_ext
in '' $ac_executable_extensions; do
15810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15811 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15822 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15823 if test -n "$PKG_CONFIG"; then
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15825 $as_echo "$PKG_CONFIG" >&6; }
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15828 $as_echo "no" >&6; }
15833 if test -z "$ac_cv_path_PKG_CONFIG"; then
15834 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15835 # Extract the first word of "pkg-config", so it can be a program name with args.
15836 set dummy pkg
-config; ac_word
=$2
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15838 $as_echo_n "checking for $ac_word... " >&6; }
15839 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15840 $as_echo_n "(cached) " >&6
15842 case $ac_pt_PKG_CONFIG in
15844 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15848 for as_dir
in $PATH
15851 test -z "$as_dir" && as_dir
=.
15852 for ac_exec_ext
in '' $ac_executable_extensions; do
15853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15854 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15865 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15866 if test -n "$ac_pt_PKG_CONFIG"; then
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15868 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15871 $as_echo "no" >&6; }
15874 if test "x$ac_pt_PKG_CONFIG" = x
; then
15877 case $cross_compiling:$ac_tool_warned in
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15881 ac_tool_warned
=yes ;;
15883 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15886 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15890 if test -n "$PKG_CONFIG"; then
15891 _pkg_min_version
=0.22
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15893 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15894 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15896 $as_echo "yes" >&6; }
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15899 $as_echo "no" >&6; }
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
15905 $as_echo_n "checking for GNU make... " >&6; }
15906 if ${_cv_gnu_make_command+:} false
; then :
15907 $as_echo_n "(cached) " >&6
15909 _cv_gnu_make_command
='' ;
15910 for a
in "$MAKE" make gmake gnumake
; do
15911 if test -z "$a" ; then continue ; fi ;
15912 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
15913 _cv_gnu_make_command
=$a ;
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
15920 $as_echo "$_cv_gnu_make_command" >&6; } ;
15921 if test "x$_cv_gnu_make_command" != "x" ; then
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
15926 $as_echo "\"Not found\"" >&6; };
15930 GMAKE
=$_cv_gnu_make_command
15932 if test "x$GMAKE" = x
; then :
15933 as_fn_error $?
"You need GNU make" "$LINENO" 5
15936 # Extract the first word of "bash", so it can be a program name with args.
15937 set dummy bash
; ac_word
=$2
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15939 $as_echo_n "checking for $ac_word... " >&6; }
15940 if ${ac_cv_path__BASH+:} false
; then :
15941 $as_echo_n "(cached) " >&6
15945 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
15948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15949 for as_dir
in $PATH
15952 test -z "$as_dir" && as_dir
=.
15953 for ac_exec_ext
in '' $ac_executable_extensions; do
15954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15955 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
15956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15963 test -z "$ac_cv_path__BASH" && ac_cv_path__BASH
="as_fn_error $? "missing
\"bash
\"" "$LINENO" 5"
15967 _BASH
=$ac_cv_path__BASH
15968 if test -n "$_BASH"; then
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
15970 $as_echo "$_BASH" >&6; }
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15973 $as_echo "no" >&6; }
15977 # Extract the first word of "git", so it can be a program name with args.
15978 set dummy git
; ac_word
=$2
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15980 $as_echo_n "checking for $ac_word... " >&6; }
15981 if ${ac_cv_path_GIT+:} false
; then :
15982 $as_echo_n "(cached) " >&6
15986 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
15989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15990 for as_dir
in $PATH
15993 test -z "$as_dir" && as_dir
=.
15994 for ac_exec_ext
in '' $ac_executable_extensions; do
15995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15996 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
15997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16007 GIT
=$ac_cv_path_GIT
16008 if test -n "$GIT"; then
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16010 $as_echo "$GIT" >&6; }
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16013 $as_echo "no" >&6; }
16017 # Extract the first word of "time", so it can be a program name with args.
16018 set dummy
time; ac_word
=$2
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16020 $as_echo_n "checking for $ac_word... " >&6; }
16021 if ${ac_cv_path_TIME+:} false
; then :
16022 $as_echo_n "(cached) " >&6
16026 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16030 for as_dir
in $PATH
16033 test -z "$as_dir" && as_dir
=.
16034 for ac_exec_ext
in '' $ac_executable_extensions; do
16035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16036 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16047 TIME
=$ac_cv_path_TIME
16048 if test -n "$TIME"; then
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16050 $as_echo "$TIME" >&6; }
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16053 $as_echo "no" >&6; }
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16063 $as_echo_n "checking for bison >= 2.3... " >&6; }
16064 if test -z "$BISON"; then
16065 ac_path_BISON_found
=false
16066 # Loop through the user's path and test for each of PROGNAME-LIST
16067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16068 for as_dir
in $PATH
16071 test -z "$as_dir" && as_dir
=.
16072 for ac_prog
in bison
; do
16073 for ac_exec_ext
in '' $ac_executable_extensions; do
16074 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16075 as_fn_executable_p
"$ac_path_BISON" || continue
16076 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16077 if ${version:+false} :; then :
16080 as_awk_strverscmp
='
16081 # Use only awk features that work with 7th edition Unix awk (1978).
16082 # My, what an old awk you have, Mr. Solaris!
16084 while (length(v1) && length(v2)) {
16085 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16086 # Normally this is a single character, but if v1 and v2 contain digits,
16087 # compare them as integers and fractions as strverscmp does.
16088 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16089 # Split v1 and v2 into their leading digit string components d1 and d2,
16090 # and advance v1 and v2 past the leading digit strings.
16091 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16092 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16093 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16094 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16097 # Compare two fractions.
16098 while (d1 ~ /^0/ && d2 ~ /^0/) {
16099 d1 = substr(d1, 2); len1--
16100 d2 = substr(d2, 2); len2--
16102 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16103 # The two components differ in length, and the common prefix
16104 # contains only leading zeros. Consider the longer to be less.
16108 # Otherwise, compare as strings.
16113 # A fraction is less than an integer.
16118 # An integer is greater than a fraction.
16121 # Compare two integers.
16127 # The normal case, without worrying about digits.
16128 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16129 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16131 if (d1 < d2) exit 1
16132 if (d1 > d2) exit 2
16134 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16135 # which mishandles some comparisons of empty strings to integers.
16136 if (length(v2)) exit 1
16137 if (length(v1)) exit 2
16142 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16147 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16149 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16155 $ac_path_BISON_found && break 3
16160 if test -z "$ac_cv_path_BISON"; then
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16162 $as_echo "no" >&6; }
16165 ac_cv_path_BISON
=$BISON
16171 BISON
=$ac_cv_path_BISON
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16174 $as_echo "$BISON" >&6; }
16179 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16186 $as_echo "no" >&6; }
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16195 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16196 if test -z "$FLEX"; then
16197 ac_path_FLEX_found
=false
16198 # Loop through the user's path and test for each of PROGNAME-LIST
16199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16200 for as_dir
in $PATH
16203 test -z "$as_dir" && as_dir
=.
16204 for ac_prog
in flex
; do
16205 for ac_exec_ext
in '' $ac_executable_extensions; do
16206 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16207 as_fn_executable_p
"$ac_path_FLEX" || continue
16208 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16209 if ${version:+false} :; then :
16214 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16219 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16221 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16227 $ac_path_FLEX_found && break 3
16232 if test -z "$ac_cv_path_FLEX"; then
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16234 $as_echo "no" >&6; }
16237 ac_cv_path_FLEX
=$FLEX
16243 FLEX
=$ac_cv_path_FLEX
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16246 $as_echo "$FLEX" >&6; }
16251 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16258 $as_echo "no" >&6; }
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16267 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16268 if test -z "$GPERF"; then
16269 ac_path_GPERF_found
=false
16270 # Loop through the user's path and test for each of PROGNAME-LIST
16271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16272 for as_dir
in $PATH
16275 test -z "$as_dir" && as_dir
=.
16276 for ac_prog
in gperf
; do
16277 for ac_exec_ext
in '' $ac_executable_extensions; do
16278 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16279 as_fn_executable_p
"$ac_path_GPERF" || continue
16280 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16281 if ${version:+false} :; then :
16286 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16291 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16293 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16299 $ac_path_GPERF_found && break 3
16304 if test -z "$ac_cv_path_GPERF"; then
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16306 $as_echo "no" >&6; }
16309 ac_cv_path_GPERF
=$GPERF
16315 GPERF
=$ac_cv_path_GPERF
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16318 $as_echo "$GPERF" >&6; }
16323 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16330 $as_echo "no" >&6; }
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16339 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16340 if test -z "$GNUTAR"; then
16341 ac_path_GNUTAR_found
=false
16342 # Loop through the user's path and test for each of PROGNAME-LIST
16343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16344 for as_dir
in $PATH
16347 test -z "$as_dir" && as_dir
=.
16348 for ac_prog
in tar gtar gnutar
; do
16349 for ac_exec_ext
in '' $ac_executable_extensions; do
16350 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16351 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16352 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16353 if ${version:+false} :; then :
16358 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16363 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16365 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16371 $ac_path_GNUTAR_found && break 3
16376 if test -z "$ac_cv_path_GNUTAR"; then
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16378 $as_echo "no" >&6; }
16381 ac_cv_path_GNUTAR
=$GNUTAR
16387 GNUTAR
=$ac_cv_path_GNUTAR
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16390 $as_echo "$GNUTAR" >&6; }
16395 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16402 $as_echo "no" >&6; }
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16409 $as_echo_n "checking bison for %code{}... " >&6; }
16410 echo '%code{}%%_:' >conftest.y
16411 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16413 for element
in Bison24
; do
16415 for x
in $CY_FILTERS; do
16417 acl_save_prefix
="$prefix"
16418 prefix
="$acl_final_prefix"
16419 acl_save_exec_prefix
="$exec_prefix"
16420 exec_prefix
="$acl_final_exec_prefix"
16422 exec_prefix
="$acl_save_exec_prefix"
16423 prefix
="$acl_save_prefix"
16425 if test "X$x" = "X$element"; then
16430 if test -z "$haveit"; then
16431 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16436 $as_echo "yes" >&6; }
16439 for element
in Bison23
; do
16441 for x
in $CY_FILTERS; do
16443 acl_save_prefix
="$prefix"
16444 prefix
="$acl_final_prefix"
16445 acl_save_exec_prefix
="$exec_prefix"
16446 exec_prefix
="$acl_final_exec_prefix"
16448 exec_prefix
="$acl_save_exec_prefix"
16449 prefix
="$acl_save_prefix"
16451 if test "X$x" = "X$element"; then
16456 if test -z "$haveit"; then
16457 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16462 $as_echo "no" >&6; }
16476 if ${CFLAGS+:} false
; then :
16477 case " $CFLAGS " in
16479 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16480 (: CFLAGS already contains
) 2>&5
16482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16483 test $ac_status = 0; }
16486 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16487 (: CFLAGS
="$CFLAGS ") 2>&5
16489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16490 test $ac_status = 0; }
16499 ac_cpp
='$CPP $CPPFLAGS'
16500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16505 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16506 if ${ac_cv_cflags_warn_all+:} false
; then :
16507 $as_echo_n "(cached) " >&6
16509 ac_cv_cflags_warn_all
="no, unknown"
16510 ac_save_CFLAGS
="$CFLAGS"
16511 for ac_arg
in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
16512 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16524 if ac_fn_c_try_compile
"$LINENO"; then :
16525 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16529 CFLAGS
="$ac_save_CFLAGS"
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16533 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16535 case ".$ac_cv_cflags_warn_all" in
16538 *) if ${CFLAGS+:} false
; then :
16539 case " $CFLAGS " in
16540 *" $ac_cv_cflags_warn_all "*)
16541 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16542 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16545 test $ac_status = 0; }
16548 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16549 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16552 test $ac_status = 0; }
16553 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16557 CFLAGS
="$ac_cv_cflags_warn_all"
16563 ac_cpp
='$CXXCPP $CPPFLAGS'
16564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16570 ac_cpp
='$CXXCPP $CPPFLAGS'
16571 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16572 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16573 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16576 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16577 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16578 $as_echo_n "(cached) " >&6
16580 ac_cv_cxxflags_warn_all
="no, unknown"
16581 ac_save_CXXFLAGS
="$CXXFLAGS"
16582 for ac_arg
in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
16583 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16585 /* end confdefs.h. */
16595 if ac_fn_cxx_try_compile
"$LINENO"; then :
16596 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16600 CXXFLAGS
="$ac_save_CXXFLAGS"
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16604 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16606 case ".$ac_cv_cxxflags_warn_all" in
16609 *) if ${CXXFLAGS+:} false
; then :
16610 case " $CXXFLAGS " in
16611 *" $ac_cv_cxxflags_warn_all "*)
16612 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16613 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16616 test $ac_status = 0; }
16619 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16620 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16623 test $ac_status = 0; }
16624 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16628 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16634 ac_cpp
='$CXXCPP $CPPFLAGS'
16635 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16636 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16637 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-overloaded-virtual" >&5
16643 $as_echo_n "checking for -Wno-overloaded-virtual... " >&6; }
16647 for element
in -Wno-overloaded-virtual; do
16649 for x
in $CXXFLAGS; do
16651 acl_save_prefix
="$prefix"
16652 prefix
="$acl_final_prefix"
16653 acl_save_exec_prefix
="$exec_prefix"
16654 exec_prefix
="$acl_final_exec_prefix"
16656 exec_prefix
="$acl_save_exec_prefix"
16657 prefix
="$acl_save_prefix"
16659 if test "X$x" = "X$element"; then
16664 if test -z "$haveit"; then
16665 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16674 if ac_fn_cxx_try_compile
"$LINENO"; then :
16679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16682 if test "x$cy_good" = x1
; then :
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16684 $as_echo "yes" >&6; }
16687 for element
in -Wno-overloaded-virtual; do
16689 for x
in $CFLAGS; do
16691 acl_save_prefix
="$prefix"
16692 prefix
="$acl_final_prefix"
16693 acl_save_exec_prefix
="$exec_prefix"
16694 exec_prefix
="$acl_final_exec_prefix"
16696 exec_prefix
="$acl_save_exec_prefix"
16697 prefix
="$acl_save_prefix"
16699 if test "X$x" = "X$element"; then
16704 if test -z "$haveit"; then
16705 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16710 for element
in -Wno-overloaded-virtual; do
16712 for x
in $CXXFLAGS; do
16714 acl_save_prefix
="$prefix"
16715 prefix
="$acl_final_prefix"
16716 acl_save_exec_prefix
="$exec_prefix"
16717 exec_prefix
="$acl_final_exec_prefix"
16719 exec_prefix
="$acl_save_exec_prefix"
16720 prefix
="$acl_save_prefix"
16722 if test "X$x" = "X$element"; then
16727 if test -z "$haveit"; then
16728 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16733 for element
in -Wno-overloaded-virtual; do
16735 for x
in $OBJCCXXFLAGS; do
16737 acl_save_prefix
="$prefix"
16738 prefix
="$acl_final_prefix"
16739 acl_save_exec_prefix
="$exec_prefix"
16740 exec_prefix
="$acl_final_exec_prefix"
16742 exec_prefix
="$acl_save_exec_prefix"
16743 prefix
="$acl_save_prefix"
16745 if test "X$x" = "X$element"; then
16750 if test -z "$haveit"; then
16751 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16759 $as_echo "no" >&6; }
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-parentheses" >&5
16765 $as_echo_n "checking for -Wno-parentheses... " >&6; }
16769 for element
in -Wno-parentheses; do
16771 for x
in $CXXFLAGS; do
16773 acl_save_prefix
="$prefix"
16774 prefix
="$acl_final_prefix"
16775 acl_save_exec_prefix
="$exec_prefix"
16776 exec_prefix
="$acl_final_exec_prefix"
16778 exec_prefix
="$acl_save_exec_prefix"
16779 prefix
="$acl_save_prefix"
16781 if test "X$x" = "X$element"; then
16786 if test -z "$haveit"; then
16787 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16793 /* end confdefs.h. */
16796 if ac_fn_cxx_try_compile
"$LINENO"; then :
16801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16804 if test "x$cy_good" = x1
; then :
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16806 $as_echo "yes" >&6; }
16809 for element
in -Wno-parentheses; do
16811 for x
in $CFLAGS; do
16813 acl_save_prefix
="$prefix"
16814 prefix
="$acl_final_prefix"
16815 acl_save_exec_prefix
="$exec_prefix"
16816 exec_prefix
="$acl_final_exec_prefix"
16818 exec_prefix
="$acl_save_exec_prefix"
16819 prefix
="$acl_save_prefix"
16821 if test "X$x" = "X$element"; then
16826 if test -z "$haveit"; then
16827 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16832 for element
in -Wno-parentheses; do
16834 for x
in $CXXFLAGS; do
16836 acl_save_prefix
="$prefix"
16837 prefix
="$acl_final_prefix"
16838 acl_save_exec_prefix
="$exec_prefix"
16839 exec_prefix
="$acl_final_exec_prefix"
16841 exec_prefix
="$acl_save_exec_prefix"
16842 prefix
="$acl_save_prefix"
16844 if test "X$x" = "X$element"; then
16849 if test -z "$haveit"; then
16850 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16855 for element
in -Wno-parentheses; do
16857 for x
in $OBJCCXXFLAGS; do
16859 acl_save_prefix
="$prefix"
16860 prefix
="$acl_final_prefix"
16861 acl_save_exec_prefix
="$exec_prefix"
16862 exec_prefix
="$acl_final_exec_prefix"
16864 exec_prefix
="$acl_save_exec_prefix"
16865 prefix
="$acl_save_prefix"
16867 if test "X$x" = "X$element"; then
16872 if test -z "$haveit"; then
16873 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16881 $as_echo "no" >&6; }
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-unneeded-internal-declaration" >&5
16887 $as_echo_n "checking for -Wno-unneeded-internal-declaration... " >&6; }
16891 for element
in -Wno-unneeded-internal-declaration; do
16893 for x
in $CXXFLAGS; do
16895 acl_save_prefix
="$prefix"
16896 prefix
="$acl_final_prefix"
16897 acl_save_exec_prefix
="$exec_prefix"
16898 exec_prefix
="$acl_final_exec_prefix"
16900 exec_prefix
="$acl_save_exec_prefix"
16901 prefix
="$acl_save_prefix"
16903 if test "X$x" = "X$element"; then
16908 if test -z "$haveit"; then
16909 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16918 if ac_fn_cxx_try_compile
"$LINENO"; then :
16923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16926 if test "x$cy_good" = x1
; then :
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16928 $as_echo "yes" >&6; }
16931 for element
in -Wno-unneeded-internal-declaration; do
16933 for x
in $CFLAGS; do
16935 acl_save_prefix
="$prefix"
16936 prefix
="$acl_final_prefix"
16937 acl_save_exec_prefix
="$exec_prefix"
16938 exec_prefix
="$acl_final_exec_prefix"
16940 exec_prefix
="$acl_save_exec_prefix"
16941 prefix
="$acl_save_prefix"
16943 if test "X$x" = "X$element"; then
16948 if test -z "$haveit"; then
16949 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16954 for element
in -Wno-unneeded-internal-declaration; do
16956 for x
in $CXXFLAGS; do
16958 acl_save_prefix
="$prefix"
16959 prefix
="$acl_final_prefix"
16960 acl_save_exec_prefix
="$exec_prefix"
16961 exec_prefix
="$acl_final_exec_prefix"
16963 exec_prefix
="$acl_save_exec_prefix"
16964 prefix
="$acl_save_prefix"
16966 if test "X$x" = "X$element"; then
16971 if test -z "$haveit"; then
16972 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16977 for element
in -Wno-unneeded-internal-declaration; do
16979 for x
in $OBJCCXXFLAGS; do
16981 acl_save_prefix
="$prefix"
16982 prefix
="$acl_final_prefix"
16983 acl_save_exec_prefix
="$exec_prefix"
16984 exec_prefix
="$acl_final_exec_prefix"
16986 exec_prefix
="$acl_save_exec_prefix"
16987 prefix
="$acl_save_prefix"
16989 if test "X$x" = "X$element"; then
16994 if test -z "$haveit"; then
16995 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17003 $as_echo "no" >&6; }
17008 for cy_arch
in ppc ppc64 i386 x86_64 armv6
; do
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
17010 $as_echo_n "checking for -arch $cy_arch... " >&6; }
17014 for element
in "-arch $cy_arch"; do
17016 for x
in $CXXFLAGS; do
17018 acl_save_prefix
="$prefix"
17019 prefix
="$acl_final_prefix"
17020 acl_save_exec_prefix
="$exec_prefix"
17021 exec_prefix
="$acl_final_exec_prefix"
17023 exec_prefix
="$acl_save_exec_prefix"
17024 prefix
="$acl_save_prefix"
17026 if test "X$x" = "X$element"; then
17031 if test -z "$haveit"; then
17032 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17048 if ac_fn_cxx_try_link
"$LINENO"; then :
17053 rm -f core conftest.err conftest.
$ac_objext \
17054 conftest
$ac_exeext conftest.
$ac_ext
17057 if test "x$cy_good" = x1
; then :
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17059 $as_echo "yes" >&6; }
17061 for element
in "-arch $cy_arch"; do
17063 for x
in $CY_ARCH; do
17065 acl_save_prefix
="$prefix"
17066 prefix
="$acl_final_prefix"
17067 acl_save_exec_prefix
="$exec_prefix"
17068 exec_prefix
="$acl_final_exec_prefix"
17070 exec_prefix
="$acl_save_exec_prefix"
17071 prefix
="$acl_save_prefix"
17073 if test "X$x" = "X$element"; then
17078 if test -z "$haveit"; then
17079 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17086 $as_echo "no" >&6; }
17093 # Check whether --with-frameworks was given.
17094 if test "${with_frameworks+set}" = set; then :
17095 withval
=$with_frameworks;
17096 for cy_framework
in $withval; do
17099 for element
in -F$cy_framework; do
17101 for x
in $CFLAGS; do
17103 acl_save_prefix
="$prefix"
17104 prefix
="$acl_final_prefix"
17105 acl_save_exec_prefix
="$exec_prefix"
17106 exec_prefix
="$acl_final_exec_prefix"
17108 exec_prefix
="$acl_save_exec_prefix"
17109 prefix
="$acl_save_prefix"
17111 if test "X$x" = "X$element"; then
17116 if test -z "$haveit"; then
17117 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17122 for element
in -F$cy_framework; do
17124 for x
in $CXXFLAGS; do
17126 acl_save_prefix
="$prefix"
17127 prefix
="$acl_final_prefix"
17128 acl_save_exec_prefix
="$exec_prefix"
17129 exec_prefix
="$acl_final_exec_prefix"
17131 exec_prefix
="$acl_save_exec_prefix"
17132 prefix
="$acl_save_prefix"
17134 if test "X$x" = "X$element"; then
17139 if test -z "$haveit"; then
17140 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17145 for element
in -F$cy_framework; do
17147 for x
in $OBJCCXXFLAGS; do
17149 acl_save_prefix
="$prefix"
17150 prefix
="$acl_final_prefix"
17151 acl_save_exec_prefix
="$exec_prefix"
17152 exec_prefix
="$acl_final_exec_prefix"
17154 exec_prefix
="$acl_save_exec_prefix"
17155 prefix
="$acl_save_prefix"
17157 if test "X$x" = "X$element"; then
17162 if test -z "$haveit"; then
17163 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
17175 # Check whether --enable-javascript was given.
17176 if test "${enable_javascript+set}" = set; then :
17177 enableval
=$enable_javascript;
17178 case $enableval in #(
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17186 $as_echo_n "checking for WEBKIT... " >&6; }
17188 if test -n "$WEBKIT_CFLAGS"; then
17189 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17190 elif test -n "$PKG_CONFIG"; then
17191 if test -n "$PKG_CONFIG" && \
17192 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17193 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17196 test $ac_status = 0; }; then
17197 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
17204 if test -n "$WEBKIT_LIBS"; then
17205 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17206 elif test -n "$PKG_CONFIG"; then
17207 if test -n "$PKG_CONFIG" && \
17208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17209 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17212 test $ac_status = 0; }; then
17213 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
17223 if test $pkg_failed = yes; then
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17225 $as_echo "no" >&6; }
17227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17228 _pkg_short_errors_supported
=yes
17230 _pkg_short_errors_supported
=no
17232 if test $_pkg_short_errors_supported = yes; then
17233 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
17235 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
17237 # Put the nasty error message in config.log where it belongs
17238 echo "$WEBKIT_PKG_ERRORS" >&5
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17244 $as_echo_n "checking for WEBKIT... " >&6; }
17246 if test -n "$WEBKIT_CFLAGS"; then
17247 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17248 elif test -n "$PKG_CONFIG"; then
17249 if test -n "$PKG_CONFIG" && \
17250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17251 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17254 test $ac_status = 0; }; then
17255 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17262 if test -n "$WEBKIT_LIBS"; then
17263 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17264 elif test -n "$PKG_CONFIG"; then
17265 if test -n "$PKG_CONFIG" && \
17266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17267 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17270 test $ac_status = 0; }; then
17271 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17281 if test $pkg_failed = yes; then
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17283 $as_echo "no" >&6; }
17285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17286 _pkg_short_errors_supported
=yes
17288 _pkg_short_errors_supported
=no
17290 if test $_pkg_short_errors_supported = yes; then
17291 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17293 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17295 # Put the nasty error message in config.log where it belongs
17296 echo "$WEBKIT_PKG_ERRORS" >&5
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17301 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17302 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17303 $as_echo_n "(cached) " >&6
17306 ac_check_framework_save_LIBS
=$LIBS
17307 LIBS
="-framework JavaScriptCore $LIBS"
17308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17311 #include <JavaScriptCore/JSBase.h>
17317 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17323 if ac_fn_cxx_try_link
"$LINENO"; then :
17325 ac_cv_framework_JavaScriptCore
=yes
17328 ac_cv_framework_JavaScriptCore
=no
17330 rm -f core conftest.err conftest.
$ac_objext \
17331 conftest
$ac_exeext conftest.
$ac_ext
17332 LIBS
=$ac_check_framework_save_LIBS
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17336 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17337 if test $ac_cv_framework_JavaScriptCore = yes; then :
17340 for element
in "-framework JavaScriptCore $LIBS"; do
17344 acl_save_prefix
="$prefix"
17345 prefix
="$acl_final_prefix"
17346 acl_save_exec_prefix
="$exec_prefix"
17347 exec_prefix
="$acl_final_exec_prefix"
17349 exec_prefix
="$acl_save_exec_prefix"
17350 prefix
="$acl_save_prefix"
17352 if test "X$x" = "X$element"; then
17357 if test -z "$haveit"; then
17358 LIBS
="${LIBS}${LIBS:+ }$element"
17369 elif test $pkg_failed = untried
; then
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17371 $as_echo "no" >&6; }
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17375 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17376 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17377 $as_echo_n "(cached) " >&6
17380 ac_check_framework_save_LIBS
=$LIBS
17381 LIBS
="-framework JavaScriptCore $LIBS"
17382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17385 #include <JavaScriptCore/JSBase.h>
17391 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17397 if ac_fn_cxx_try_link
"$LINENO"; then :
17399 ac_cv_framework_JavaScriptCore
=yes
17402 ac_cv_framework_JavaScriptCore
=no
17404 rm -f core conftest.err conftest.
$ac_objext \
17405 conftest
$ac_exeext conftest.
$ac_ext
17406 LIBS
=$ac_check_framework_save_LIBS
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17410 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17411 if test $ac_cv_framework_JavaScriptCore = yes; then :
17414 for element
in "-framework JavaScriptCore $LIBS"; do
17418 acl_save_prefix
="$prefix"
17419 prefix
="$acl_final_prefix"
17420 acl_save_exec_prefix
="$exec_prefix"
17421 exec_prefix
="$acl_final_exec_prefix"
17423 exec_prefix
="$acl_save_exec_prefix"
17424 prefix
="$acl_save_prefix"
17426 if test "X$x" = "X$element"; then
17431 if test -z "$haveit"; then
17432 LIBS
="${LIBS}${LIBS:+ }$element"
17444 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17445 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17447 $as_echo "yes" >&6; }
17452 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17454 for x
in $CXXFLAGS; do
17456 acl_save_prefix
="$prefix"
17457 prefix
="$acl_final_prefix"
17458 acl_save_exec_prefix
="$exec_prefix"
17459 exec_prefix
="$acl_final_exec_prefix"
17461 exec_prefix
="$acl_save_exec_prefix"
17462 prefix
="$acl_save_prefix"
17464 if test "X$x" = "X$element"; then
17469 if test -z "$haveit"; then
17470 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17475 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17479 acl_save_prefix
="$prefix"
17480 prefix
="$acl_final_prefix"
17481 acl_save_exec_prefix
="$exec_prefix"
17482 exec_prefix
="$acl_final_exec_prefix"
17484 exec_prefix
="$acl_save_exec_prefix"
17485 prefix
="$acl_save_prefix"
17487 if test "X$x" = "X$element"; then
17492 if test -z "$haveit"; then
17493 LIBS
="${LIBS}${LIBS:+ }$element"
17500 elif test $pkg_failed = untried
; then
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17502 $as_echo "no" >&6; }
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17507 $as_echo_n "checking for WEBKIT... " >&6; }
17509 if test -n "$WEBKIT_CFLAGS"; then
17510 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17511 elif test -n "$PKG_CONFIG"; then
17512 if test -n "$PKG_CONFIG" && \
17513 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17514 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17517 test $ac_status = 0; }; then
17518 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17525 if test -n "$WEBKIT_LIBS"; then
17526 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17527 elif test -n "$PKG_CONFIG"; then
17528 if test -n "$PKG_CONFIG" && \
17529 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17530 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17533 test $ac_status = 0; }; then
17534 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17544 if test $pkg_failed = yes; then
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17546 $as_echo "no" >&6; }
17548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17549 _pkg_short_errors_supported
=yes
17551 _pkg_short_errors_supported
=no
17553 if test $_pkg_short_errors_supported = yes; then
17554 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17556 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17558 # Put the nasty error message in config.log where it belongs
17559 echo "$WEBKIT_PKG_ERRORS" >&5
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17564 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17565 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17566 $as_echo_n "(cached) " >&6
17569 ac_check_framework_save_LIBS
=$LIBS
17570 LIBS
="-framework JavaScriptCore $LIBS"
17571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17574 #include <JavaScriptCore/JSBase.h>
17580 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17586 if ac_fn_cxx_try_link
"$LINENO"; then :
17588 ac_cv_framework_JavaScriptCore
=yes
17591 ac_cv_framework_JavaScriptCore
=no
17593 rm -f core conftest.err conftest.
$ac_objext \
17594 conftest
$ac_exeext conftest.
$ac_ext
17595 LIBS
=$ac_check_framework_save_LIBS
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17599 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17600 if test $ac_cv_framework_JavaScriptCore = yes; then :
17603 for element
in "-framework JavaScriptCore $LIBS"; 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"
17632 elif test $pkg_failed = untried
; then
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17634 $as_echo "no" >&6; }
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17638 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17639 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17640 $as_echo_n "(cached) " >&6
17643 ac_check_framework_save_LIBS
=$LIBS
17644 LIBS
="-framework JavaScriptCore $LIBS"
17645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17648 #include <JavaScriptCore/JSBase.h>
17654 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17660 if ac_fn_cxx_try_link
"$LINENO"; then :
17662 ac_cv_framework_JavaScriptCore
=yes
17665 ac_cv_framework_JavaScriptCore
=no
17667 rm -f core conftest.err conftest.
$ac_objext \
17668 conftest
$ac_exeext conftest.
$ac_ext
17669 LIBS
=$ac_check_framework_save_LIBS
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17673 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17674 if test $ac_cv_framework_JavaScriptCore = yes; then :
17677 for element
in "-framework JavaScriptCore $LIBS"; do
17681 acl_save_prefix
="$prefix"
17682 prefix
="$acl_final_prefix"
17683 acl_save_exec_prefix
="$exec_prefix"
17684 exec_prefix
="$acl_final_exec_prefix"
17686 exec_prefix
="$acl_save_exec_prefix"
17687 prefix
="$acl_save_prefix"
17689 if test "X$x" = "X$element"; then
17694 if test -z "$haveit"; then
17695 LIBS
="${LIBS}${LIBS:+ }$element"
17707 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17708 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17710 $as_echo "yes" >&6; }
17715 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17717 for x
in $CXXFLAGS; do
17719 acl_save_prefix
="$prefix"
17720 prefix
="$acl_final_prefix"
17721 acl_save_exec_prefix
="$exec_prefix"
17722 exec_prefix
="$acl_final_exec_prefix"
17724 exec_prefix
="$acl_save_exec_prefix"
17725 prefix
="$acl_save_prefix"
17727 if test "X$x" = "X$element"; then
17732 if test -z "$haveit"; then
17733 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17738 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17742 acl_save_prefix
="$prefix"
17743 prefix
="$acl_final_prefix"
17744 acl_save_exec_prefix
="$exec_prefix"
17745 exec_prefix
="$acl_final_exec_prefix"
17747 exec_prefix
="$acl_save_exec_prefix"
17748 prefix
="$acl_save_prefix"
17750 if test "X$x" = "X$element"; then
17755 if test -z "$haveit"; then
17756 LIBS
="${LIBS}${LIBS:+ }$element"
17764 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17765 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17767 $as_echo "yes" >&6; }
17772 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
17774 for x
in $CXXFLAGS; do
17776 acl_save_prefix
="$prefix"
17777 prefix
="$acl_final_prefix"
17778 acl_save_exec_prefix
="$exec_prefix"
17779 exec_prefix
="$acl_final_exec_prefix"
17781 exec_prefix
="$acl_save_exec_prefix"
17782 prefix
="$acl_save_prefix"
17784 if test "X$x" = "X$element"; then
17789 if test -z "$haveit"; then
17790 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17795 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
17799 acl_save_prefix
="$prefix"
17800 prefix
="$acl_final_prefix"
17801 acl_save_exec_prefix
="$exec_prefix"
17802 exec_prefix
="$acl_final_exec_prefix"
17804 exec_prefix
="$acl_save_exec_prefix"
17805 prefix
="$acl_save_prefix"
17807 if test "X$x" = "X$element"; then
17812 if test -z "$haveit"; then
17813 LIBS
="${LIBS}${LIBS:+ }$element"
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17830 $as_echo_n "checking for WEBKIT... " >&6; }
17832 if test -n "$WEBKIT_CFLAGS"; then
17833 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17834 elif test -n "$PKG_CONFIG"; then
17835 if test -n "$PKG_CONFIG" && \
17836 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17837 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17840 test $ac_status = 0; }; then
17841 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
17848 if test -n "$WEBKIT_LIBS"; then
17849 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17850 elif test -n "$PKG_CONFIG"; then
17851 if test -n "$PKG_CONFIG" && \
17852 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17853 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17856 test $ac_status = 0; }; then
17857 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
17867 if test $pkg_failed = yes; then
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17869 $as_echo "no" >&6; }
17871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17872 _pkg_short_errors_supported
=yes
17874 _pkg_short_errors_supported
=no
17876 if test $_pkg_short_errors_supported = yes; then
17877 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
17879 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
17881 # Put the nasty error message in config.log where it belongs
17882 echo "$WEBKIT_PKG_ERRORS" >&5
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17888 $as_echo_n "checking for WEBKIT... " >&6; }
17890 if test -n "$WEBKIT_CFLAGS"; then
17891 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17892 elif test -n "$PKG_CONFIG"; then
17893 if test -n "$PKG_CONFIG" && \
17894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17895 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17898 test $ac_status = 0; }; then
17899 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17906 if test -n "$WEBKIT_LIBS"; then
17907 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17908 elif test -n "$PKG_CONFIG"; then
17909 if test -n "$PKG_CONFIG" && \
17910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17911 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17914 test $ac_status = 0; }; then
17915 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17925 if test $pkg_failed = yes; then
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17927 $as_echo "no" >&6; }
17929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17930 _pkg_short_errors_supported
=yes
17932 _pkg_short_errors_supported
=no
17934 if test $_pkg_short_errors_supported = yes; then
17935 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17937 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17939 # Put the nasty error message in config.log where it belongs
17940 echo "$WEBKIT_PKG_ERRORS" >&5
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17945 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17946 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17947 $as_echo_n "(cached) " >&6
17950 ac_check_framework_save_LIBS
=$LIBS
17951 LIBS
="-framework JavaScriptCore $LIBS"
17952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17955 #include <JavaScriptCore/JSBase.h>
17961 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17967 if ac_fn_cxx_try_link
"$LINENO"; then :
17969 ac_cv_framework_JavaScriptCore
=yes
17972 ac_cv_framework_JavaScriptCore
=no
17974 rm -f core conftest.err conftest.
$ac_objext \
17975 conftest
$ac_exeext conftest.
$ac_ext
17976 LIBS
=$ac_check_framework_save_LIBS
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17980 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17981 if test $ac_cv_framework_JavaScriptCore = yes; then :
17984 for element
in "-framework JavaScriptCore $LIBS"; do
17988 acl_save_prefix
="$prefix"
17989 prefix
="$acl_final_prefix"
17990 acl_save_exec_prefix
="$exec_prefix"
17991 exec_prefix
="$acl_final_exec_prefix"
17993 exec_prefix
="$acl_save_exec_prefix"
17994 prefix
="$acl_save_prefix"
17996 if test "X$x" = "X$element"; then
18001 if test -z "$haveit"; then
18002 LIBS
="${LIBS}${LIBS:+ }$element"
18013 elif test $pkg_failed = untried
; then
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18015 $as_echo "no" >&6; }
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18019 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18020 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18021 $as_echo_n "(cached) " >&6
18024 ac_check_framework_save_LIBS
=$LIBS
18025 LIBS
="-framework JavaScriptCore $LIBS"
18026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18029 #include <JavaScriptCore/JSBase.h>
18035 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18041 if ac_fn_cxx_try_link
"$LINENO"; then :
18043 ac_cv_framework_JavaScriptCore
=yes
18046 ac_cv_framework_JavaScriptCore
=no
18048 rm -f core conftest.err conftest.
$ac_objext \
18049 conftest
$ac_exeext conftest.
$ac_ext
18050 LIBS
=$ac_check_framework_save_LIBS
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18054 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18055 if test $ac_cv_framework_JavaScriptCore = yes; then :
18058 for element
in "-framework JavaScriptCore $LIBS"; do
18062 acl_save_prefix
="$prefix"
18063 prefix
="$acl_final_prefix"
18064 acl_save_exec_prefix
="$exec_prefix"
18065 exec_prefix
="$acl_final_exec_prefix"
18067 exec_prefix
="$acl_save_exec_prefix"
18068 prefix
="$acl_save_prefix"
18070 if test "X$x" = "X$element"; then
18075 if test -z "$haveit"; then
18076 LIBS
="${LIBS}${LIBS:+ }$element"
18088 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18089 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18091 $as_echo "yes" >&6; }
18096 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18098 for x
in $CXXFLAGS; do
18100 acl_save_prefix
="$prefix"
18101 prefix
="$acl_final_prefix"
18102 acl_save_exec_prefix
="$exec_prefix"
18103 exec_prefix
="$acl_final_exec_prefix"
18105 exec_prefix
="$acl_save_exec_prefix"
18106 prefix
="$acl_save_prefix"
18108 if test "X$x" = "X$element"; then
18113 if test -z "$haveit"; then
18114 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18119 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18123 acl_save_prefix
="$prefix"
18124 prefix
="$acl_final_prefix"
18125 acl_save_exec_prefix
="$exec_prefix"
18126 exec_prefix
="$acl_final_exec_prefix"
18128 exec_prefix
="$acl_save_exec_prefix"
18129 prefix
="$acl_save_prefix"
18131 if test "X$x" = "X$element"; then
18136 if test -z "$haveit"; then
18137 LIBS
="${LIBS}${LIBS:+ }$element"
18144 elif test $pkg_failed = untried
; then
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18146 $as_echo "no" >&6; }
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18151 $as_echo_n "checking for WEBKIT... " >&6; }
18153 if test -n "$WEBKIT_CFLAGS"; then
18154 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18155 elif test -n "$PKG_CONFIG"; then
18156 if test -n "$PKG_CONFIG" && \
18157 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18158 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18161 test $ac_status = 0; }; then
18162 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18169 if test -n "$WEBKIT_LIBS"; then
18170 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18171 elif test -n "$PKG_CONFIG"; then
18172 if test -n "$PKG_CONFIG" && \
18173 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18174 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18177 test $ac_status = 0; }; then
18178 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18188 if test $pkg_failed = yes; then
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18190 $as_echo "no" >&6; }
18192 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18193 _pkg_short_errors_supported
=yes
18195 _pkg_short_errors_supported
=no
18197 if test $_pkg_short_errors_supported = yes; then
18198 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18200 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18202 # Put the nasty error message in config.log where it belongs
18203 echo "$WEBKIT_PKG_ERRORS" >&5
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18208 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18209 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18210 $as_echo_n "(cached) " >&6
18213 ac_check_framework_save_LIBS
=$LIBS
18214 LIBS
="-framework JavaScriptCore $LIBS"
18215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18216 /* end confdefs.h. */
18218 #include <JavaScriptCore/JSBase.h>
18224 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18230 if ac_fn_cxx_try_link
"$LINENO"; then :
18232 ac_cv_framework_JavaScriptCore
=yes
18235 ac_cv_framework_JavaScriptCore
=no
18237 rm -f core conftest.err conftest.
$ac_objext \
18238 conftest
$ac_exeext conftest.
$ac_ext
18239 LIBS
=$ac_check_framework_save_LIBS
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18243 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18244 if test $ac_cv_framework_JavaScriptCore = yes; then :
18247 for element
in "-framework JavaScriptCore $LIBS"; do
18251 acl_save_prefix
="$prefix"
18252 prefix
="$acl_final_prefix"
18253 acl_save_exec_prefix
="$exec_prefix"
18254 exec_prefix
="$acl_final_exec_prefix"
18256 exec_prefix
="$acl_save_exec_prefix"
18257 prefix
="$acl_save_prefix"
18259 if test "X$x" = "X$element"; then
18264 if test -z "$haveit"; then
18265 LIBS
="${LIBS}${LIBS:+ }$element"
18276 elif test $pkg_failed = untried
; then
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18278 $as_echo "no" >&6; }
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18282 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18283 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18284 $as_echo_n "(cached) " >&6
18287 ac_check_framework_save_LIBS
=$LIBS
18288 LIBS
="-framework JavaScriptCore $LIBS"
18289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18290 /* end confdefs.h. */
18292 #include <JavaScriptCore/JSBase.h>
18298 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18304 if ac_fn_cxx_try_link
"$LINENO"; then :
18306 ac_cv_framework_JavaScriptCore
=yes
18309 ac_cv_framework_JavaScriptCore
=no
18311 rm -f core conftest.err conftest.
$ac_objext \
18312 conftest
$ac_exeext conftest.
$ac_ext
18313 LIBS
=$ac_check_framework_save_LIBS
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18317 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18318 if test $ac_cv_framework_JavaScriptCore = yes; then :
18321 for element
in "-framework JavaScriptCore $LIBS"; do
18325 acl_save_prefix
="$prefix"
18326 prefix
="$acl_final_prefix"
18327 acl_save_exec_prefix
="$exec_prefix"
18328 exec_prefix
="$acl_final_exec_prefix"
18330 exec_prefix
="$acl_save_exec_prefix"
18331 prefix
="$acl_save_prefix"
18333 if test "X$x" = "X$element"; then
18338 if test -z "$haveit"; then
18339 LIBS
="${LIBS}${LIBS:+ }$element"
18351 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18352 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18354 $as_echo "yes" >&6; }
18359 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18361 for x
in $CXXFLAGS; do
18363 acl_save_prefix
="$prefix"
18364 prefix
="$acl_final_prefix"
18365 acl_save_exec_prefix
="$exec_prefix"
18366 exec_prefix
="$acl_final_exec_prefix"
18368 exec_prefix
="$acl_save_exec_prefix"
18369 prefix
="$acl_save_prefix"
18371 if test "X$x" = "X$element"; then
18376 if test -z "$haveit"; then
18377 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18382 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18386 acl_save_prefix
="$prefix"
18387 prefix
="$acl_final_prefix"
18388 acl_save_exec_prefix
="$exec_prefix"
18389 exec_prefix
="$acl_final_exec_prefix"
18391 exec_prefix
="$acl_save_exec_prefix"
18392 prefix
="$acl_save_prefix"
18394 if test "X$x" = "X$element"; then
18399 if test -z "$haveit"; then
18400 LIBS
="${LIBS}${LIBS:+ }$element"
18408 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18409 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18411 $as_echo "yes" >&6; }
18416 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
18418 for x
in $CXXFLAGS; do
18420 acl_save_prefix
="$prefix"
18421 prefix
="$acl_final_prefix"
18422 acl_save_exec_prefix
="$exec_prefix"
18423 exec_prefix
="$acl_final_exec_prefix"
18425 exec_prefix
="$acl_save_exec_prefix"
18426 prefix
="$acl_save_prefix"
18428 if test "X$x" = "X$element"; then
18433 if test -z "$haveit"; then
18434 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18439 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
18443 acl_save_prefix
="$prefix"
18444 prefix
="$acl_final_prefix"
18445 acl_save_exec_prefix
="$exec_prefix"
18446 exec_prefix
="$acl_final_exec_prefix"
18448 exec_prefix
="$acl_save_exec_prefix"
18449 prefix
="$acl_save_prefix"
18451 if test "X$x" = "X$element"; then
18456 if test -z "$haveit"; then
18457 LIBS
="${LIBS}${LIBS:+ }$element"
18465 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18474 $as_echo_n "checking for WEBKIT... " >&6; }
18476 if test -n "$WEBKIT_CFLAGS"; then
18477 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18478 elif test -n "$PKG_CONFIG"; then
18479 if test -n "$PKG_CONFIG" && \
18480 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
18481 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
18483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18484 test $ac_status = 0; }; then
18485 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
18492 if test -n "$WEBKIT_LIBS"; then
18493 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18494 elif test -n "$PKG_CONFIG"; then
18495 if test -n "$PKG_CONFIG" && \
18496 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
18497 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
18499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18500 test $ac_status = 0; }; then
18501 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
18511 if test $pkg_failed = yes; then
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18513 $as_echo "no" >&6; }
18515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18516 _pkg_short_errors_supported
=yes
18518 _pkg_short_errors_supported
=no
18520 if test $_pkg_short_errors_supported = yes; then
18521 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
18523 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
18525 # Put the nasty error message in config.log where it belongs
18526 echo "$WEBKIT_PKG_ERRORS" >&5
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18532 $as_echo_n "checking for WEBKIT... " >&6; }
18534 if test -n "$WEBKIT_CFLAGS"; then
18535 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18536 elif test -n "$PKG_CONFIG"; then
18537 if test -n "$PKG_CONFIG" && \
18538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18539 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18542 test $ac_status = 0; }; then
18543 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18550 if test -n "$WEBKIT_LIBS"; then
18551 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18552 elif test -n "$PKG_CONFIG"; then
18553 if test -n "$PKG_CONFIG" && \
18554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18555 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18558 test $ac_status = 0; }; then
18559 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18569 if test $pkg_failed = yes; then
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18571 $as_echo "no" >&6; }
18573 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18574 _pkg_short_errors_supported
=yes
18576 _pkg_short_errors_supported
=no
18578 if test $_pkg_short_errors_supported = yes; then
18579 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18581 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18583 # Put the nasty error message in config.log where it belongs
18584 echo "$WEBKIT_PKG_ERRORS" >&5
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18589 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18590 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18591 $as_echo_n "(cached) " >&6
18594 ac_check_framework_save_LIBS
=$LIBS
18595 LIBS
="-framework JavaScriptCore $LIBS"
18596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18599 #include <JavaScriptCore/JSBase.h>
18605 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18611 if ac_fn_cxx_try_link
"$LINENO"; then :
18613 ac_cv_framework_JavaScriptCore
=yes
18616 ac_cv_framework_JavaScriptCore
=no
18618 rm -f core conftest.err conftest.
$ac_objext \
18619 conftest
$ac_exeext conftest.
$ac_ext
18620 LIBS
=$ac_check_framework_save_LIBS
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18624 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18625 if test $ac_cv_framework_JavaScriptCore = yes; then :
18628 for element
in "-framework JavaScriptCore $LIBS"; do
18632 acl_save_prefix
="$prefix"
18633 prefix
="$acl_final_prefix"
18634 acl_save_exec_prefix
="$exec_prefix"
18635 exec_prefix
="$acl_final_exec_prefix"
18637 exec_prefix
="$acl_save_exec_prefix"
18638 prefix
="$acl_save_prefix"
18640 if test "X$x" = "X$element"; then
18645 if test -z "$haveit"; then
18646 LIBS
="${LIBS}${LIBS:+ }$element"
18657 elif test $pkg_failed = untried
; then
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18659 $as_echo "no" >&6; }
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18663 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18664 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18665 $as_echo_n "(cached) " >&6
18668 ac_check_framework_save_LIBS
=$LIBS
18669 LIBS
="-framework JavaScriptCore $LIBS"
18670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h. */
18673 #include <JavaScriptCore/JSBase.h>
18679 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18685 if ac_fn_cxx_try_link
"$LINENO"; then :
18687 ac_cv_framework_JavaScriptCore
=yes
18690 ac_cv_framework_JavaScriptCore
=no
18692 rm -f core conftest.err conftest.
$ac_objext \
18693 conftest
$ac_exeext conftest.
$ac_ext
18694 LIBS
=$ac_check_framework_save_LIBS
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18698 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18699 if test $ac_cv_framework_JavaScriptCore = yes; then :
18702 for element
in "-framework JavaScriptCore $LIBS"; do
18706 acl_save_prefix
="$prefix"
18707 prefix
="$acl_final_prefix"
18708 acl_save_exec_prefix
="$exec_prefix"
18709 exec_prefix
="$acl_final_exec_prefix"
18711 exec_prefix
="$acl_save_exec_prefix"
18712 prefix
="$acl_save_prefix"
18714 if test "X$x" = "X$element"; then
18719 if test -z "$haveit"; then
18720 LIBS
="${LIBS}${LIBS:+ }$element"
18732 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18733 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18735 $as_echo "yes" >&6; }
18740 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18742 for x
in $CXXFLAGS; do
18744 acl_save_prefix
="$prefix"
18745 prefix
="$acl_final_prefix"
18746 acl_save_exec_prefix
="$exec_prefix"
18747 exec_prefix
="$acl_final_exec_prefix"
18749 exec_prefix
="$acl_save_exec_prefix"
18750 prefix
="$acl_save_prefix"
18752 if test "X$x" = "X$element"; then
18757 if test -z "$haveit"; then
18758 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18763 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18767 acl_save_prefix
="$prefix"
18768 prefix
="$acl_final_prefix"
18769 acl_save_exec_prefix
="$exec_prefix"
18770 exec_prefix
="$acl_final_exec_prefix"
18772 exec_prefix
="$acl_save_exec_prefix"
18773 prefix
="$acl_save_prefix"
18775 if test "X$x" = "X$element"; then
18780 if test -z "$haveit"; then
18781 LIBS
="${LIBS}${LIBS:+ }$element"
18788 elif test $pkg_failed = untried
; then
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18790 $as_echo "no" >&6; }
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18795 $as_echo_n "checking for WEBKIT... " >&6; }
18797 if test -n "$WEBKIT_CFLAGS"; then
18798 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18799 elif test -n "$PKG_CONFIG"; then
18800 if test -n "$PKG_CONFIG" && \
18801 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18802 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18805 test $ac_status = 0; }; then
18806 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18813 if test -n "$WEBKIT_LIBS"; then
18814 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18815 elif test -n "$PKG_CONFIG"; then
18816 if test -n "$PKG_CONFIG" && \
18817 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18818 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18821 test $ac_status = 0; }; then
18822 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18832 if test $pkg_failed = yes; then
18833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18834 $as_echo "no" >&6; }
18836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18837 _pkg_short_errors_supported
=yes
18839 _pkg_short_errors_supported
=no
18841 if test $_pkg_short_errors_supported = yes; then
18842 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18844 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18846 # Put the nasty error message in config.log where it belongs
18847 echo "$WEBKIT_PKG_ERRORS" >&5
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18852 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18853 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18854 $as_echo_n "(cached) " >&6
18857 ac_check_framework_save_LIBS
=$LIBS
18858 LIBS
="-framework JavaScriptCore $LIBS"
18859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18860 /* end confdefs.h. */
18862 #include <JavaScriptCore/JSBase.h>
18868 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18874 if ac_fn_cxx_try_link
"$LINENO"; then :
18876 ac_cv_framework_JavaScriptCore
=yes
18879 ac_cv_framework_JavaScriptCore
=no
18881 rm -f core conftest.err conftest.
$ac_objext \
18882 conftest
$ac_exeext conftest.
$ac_ext
18883 LIBS
=$ac_check_framework_save_LIBS
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18887 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18888 if test $ac_cv_framework_JavaScriptCore = yes; then :
18891 for element
in "-framework JavaScriptCore $LIBS"; do
18895 acl_save_prefix
="$prefix"
18896 prefix
="$acl_final_prefix"
18897 acl_save_exec_prefix
="$exec_prefix"
18898 exec_prefix
="$acl_final_exec_prefix"
18900 exec_prefix
="$acl_save_exec_prefix"
18901 prefix
="$acl_save_prefix"
18903 if test "X$x" = "X$element"; then
18908 if test -z "$haveit"; then
18909 LIBS
="${LIBS}${LIBS:+ }$element"
18920 elif test $pkg_failed = untried
; then
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18922 $as_echo "no" >&6; }
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18926 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18927 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18928 $as_echo_n "(cached) " >&6
18931 ac_check_framework_save_LIBS
=$LIBS
18932 LIBS
="-framework JavaScriptCore $LIBS"
18933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18936 #include <JavaScriptCore/JSBase.h>
18942 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18948 if ac_fn_cxx_try_link
"$LINENO"; then :
18950 ac_cv_framework_JavaScriptCore
=yes
18953 ac_cv_framework_JavaScriptCore
=no
18955 rm -f core conftest.err conftest.
$ac_objext \
18956 conftest
$ac_exeext conftest.
$ac_ext
18957 LIBS
=$ac_check_framework_save_LIBS
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18961 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18962 if test $ac_cv_framework_JavaScriptCore = yes; then :
18965 for element
in "-framework JavaScriptCore $LIBS"; do
18969 acl_save_prefix
="$prefix"
18970 prefix
="$acl_final_prefix"
18971 acl_save_exec_prefix
="$exec_prefix"
18972 exec_prefix
="$acl_final_exec_prefix"
18974 exec_prefix
="$acl_save_exec_prefix"
18975 prefix
="$acl_save_prefix"
18977 if test "X$x" = "X$element"; then
18982 if test -z "$haveit"; then
18983 LIBS
="${LIBS}${LIBS:+ }$element"
18995 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18996 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18998 $as_echo "yes" >&6; }
19003 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
19005 for x
in $CXXFLAGS; do
19007 acl_save_prefix
="$prefix"
19008 prefix
="$acl_final_prefix"
19009 acl_save_exec_prefix
="$exec_prefix"
19010 exec_prefix
="$acl_final_exec_prefix"
19012 exec_prefix
="$acl_save_exec_prefix"
19013 prefix
="$acl_save_prefix"
19015 if test "X$x" = "X$element"; then
19020 if test -z "$haveit"; then
19021 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19026 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
19030 acl_save_prefix
="$prefix"
19031 prefix
="$acl_final_prefix"
19032 acl_save_exec_prefix
="$exec_prefix"
19033 exec_prefix
="$acl_final_exec_prefix"
19035 exec_prefix
="$acl_save_exec_prefix"
19036 prefix
="$acl_save_prefix"
19038 if test "X$x" = "X$element"; then
19043 if test -z "$haveit"; then
19044 LIBS
="${LIBS}${LIBS:+ }$element"
19052 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19053 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19055 $as_echo "yes" >&6; }
19060 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
19062 for x
in $CXXFLAGS; do
19064 acl_save_prefix
="$prefix"
19065 prefix
="$acl_final_prefix"
19066 acl_save_exec_prefix
="$exec_prefix"
19067 exec_prefix
="$acl_final_exec_prefix"
19069 exec_prefix
="$acl_save_exec_prefix"
19070 prefix
="$acl_save_prefix"
19072 if test "X$x" = "X$element"; then
19077 if test -z "$haveit"; then
19078 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19083 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
19087 acl_save_prefix
="$prefix"
19088 prefix
="$acl_final_prefix"
19089 acl_save_exec_prefix
="$exec_prefix"
19090 exec_prefix
="$acl_final_exec_prefix"
19092 exec_prefix
="$acl_save_exec_prefix"
19093 prefix
="$acl_save_prefix"
19095 if test "X$x" = "X$element"; then
19100 if test -z "$haveit"; then
19101 LIBS
="${LIBS}${LIBS:+ }$element"
19114 if test "$target_os" = "os2-emx"; then
19115 # Scripts don't pass test -x on OS/2
19121 acceptable_majors
="1"
19123 apr_temp_acceptable_apr_config
=""
19124 for apr_temp_major
in $acceptable_majors
19126 case $apr_temp_major in
19128 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
19131 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
19137 $as_echo_n "checking for APR... " >&6; }
19139 # Check whether --with-apr was given.
19140 if test "${with_apr+set}" = set; then :
19142 if test "$withval" = "no" || test "$withval" = "yes"; then
19143 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
19146 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19148 for lookdir
in "$withval/bin" "$withval"
19150 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
19151 apr_config
="$lookdir/$apr_temp_apr_config_file"
19159 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
19160 apr_config
="$withval"
19164 if test "$apr_found" != "yes"; then
19165 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
19170 if test -n "1" && test "1" = "1"; then
19171 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19173 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
19174 apr_config
="$apr_temp_apr_config_file"
19179 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
19180 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
19181 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
19190 if test "$apr_found" = "no" && test -d ""; then
19191 apr_temp_abs_srcdir
="`cd && pwd`"
19192 apr_found
="reconfig"
19193 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
19194 case $apr_bundled_major in
19196 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
19199 apr_temp_apr_config_file
="apr-config"
19202 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
19205 if test -n ""; then
19206 apr_config
="/$apr_temp_apr_config_file"
19208 apr_config
="/$apr_temp_apr_config_file"
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
19216 $as_echo "$apr_found" >&6; }
19218 case $apr_found in #(
19222 for element
in `$apr_config --includes`; do
19224 for x
in $CPPFLAGS; do
19226 acl_save_prefix
="$prefix"
19227 prefix
="$acl_final_prefix"
19228 acl_save_exec_prefix
="$exec_prefix"
19229 exec_prefix
="$acl_final_exec_prefix"
19231 exec_prefix
="$acl_save_exec_prefix"
19232 prefix
="$acl_save_prefix"
19234 if test "X$x" = "X$element"; then
19239 if test -z "$haveit"; then
19240 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19245 for element
in `$apr_config --link-libtool`; do
19247 for x
in $LTLIBAPR; do
19249 acl_save_prefix
="$prefix"
19250 prefix
="$acl_final_prefix"
19251 acl_save_exec_prefix
="$exec_prefix"
19252 exec_prefix
="$acl_final_exec_prefix"
19254 exec_prefix
="$acl_save_exec_prefix"
19255 prefix
="$acl_save_prefix"
19257 if test "X$x" = "X$element"; then
19262 if test -z "$haveit"; then
19263 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
19270 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5 ;;
19275 if test "x$CY_EXECUTE" = x1
; then
19277 CY_EXECUTE_FALSE
='#'
19279 CY_EXECUTE_TRUE
='#'
19286 case $CY_EXECUTE in #(
19289 for ac_header
in ffi.h ffi
/ffi.h
19291 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19292 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19293 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19294 cat >>confdefs.h
<<_ACEOF
19295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19302 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19308 $as_echo_n "checking for LIBFFI... " >&6; }
19310 if test -n "$LIBFFI_CFLAGS"; then
19311 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19312 elif test -n "$PKG_CONFIG"; then
19313 if test -n "$PKG_CONFIG" && \
19314 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19315 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19318 test $ac_status = 0; }; then
19319 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19326 if test -n "$LIBFFI_LIBS"; then
19327 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19328 elif test -n "$PKG_CONFIG"; then
19329 if test -n "$PKG_CONFIG" && \
19330 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19331 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19334 test $ac_status = 0; }; then
19335 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19345 if test $pkg_failed = yes; then
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19347 $as_echo "no" >&6; }
19349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19350 _pkg_short_errors_supported
=yes
19352 _pkg_short_errors_supported
=no
19354 if test $_pkg_short_errors_supported = yes; then
19355 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19357 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19359 # Put the nasty error message in config.log where it belongs
19360 echo "$LIBFFI_PKG_ERRORS" >&5
19362 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19363 elif test $pkg_failed = untried
; then
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19365 $as_echo "no" >&6; }
19366 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19368 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19369 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19371 $as_echo "yes" >&6; }
19374 for element
in `$PKG_CONFIG --cflags libffi`; do
19376 for x
in $CXXFLAGS; do
19378 acl_save_prefix
="$prefix"
19379 prefix
="$acl_final_prefix"
19380 acl_save_exec_prefix
="$exec_prefix"
19381 exec_prefix
="$acl_final_exec_prefix"
19383 exec_prefix
="$acl_save_exec_prefix"
19384 prefix
="$acl_save_prefix"
19386 if test "X$x" = "X$element"; then
19391 if test -z "$haveit"; then
19392 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19397 for element
in `$PKG_CONFIG --libs libffi`; do
19401 acl_save_prefix
="$prefix"
19402 prefix
="$acl_final_prefix"
19403 acl_save_exec_prefix
="$exec_prefix"
19404 exec_prefix
="$acl_final_exec_prefix"
19406 exec_prefix
="$acl_save_exec_prefix"
19407 prefix
="$acl_save_prefix"
19409 if test "X$x" = "X$element"; then
19414 if test -z "$haveit"; then
19415 LIBS
="${LIBS}${LIBS:+ }$element"
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19425 $as_echo_n "checking for library containing ffi_call... " >&6; }
19426 if ${ac_cv_search_ffi_call+:} false
; then :
19427 $as_echo_n "(cached) " >&6
19429 ac_func_search_save_LIBS
=$LIBS
19430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19433 /* Override any GCC internal prototype to avoid an error.
19434 Use char because int might match the return type of a GCC
19435 builtin and then its argument prototype would still apply. */
19443 return ffi_call ();
19448 for ac_lib
in '' ffi
; do
19449 if test -z "$ac_lib"; then
19450 ac_res
="none required"
19453 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19455 if ac_fn_cxx_try_link
"$LINENO"; then :
19456 ac_cv_search_ffi_call
=$ac_res
19458 rm -f core conftest.err conftest.
$ac_objext \
19460 if ${ac_cv_search_ffi_call+:} false
; then :
19464 if ${ac_cv_search_ffi_call+:} false
; then :
19467 ac_cv_search_ffi_call
=no
19469 rm conftest.
$ac_ext
19470 LIBS
=$ac_func_search_save_LIBS
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19473 $as_echo "$ac_cv_search_ffi_call" >&6; }
19474 ac_res
=$ac_cv_search_ffi_call
19475 if test "$ac_res" != no
; then :
19476 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19480 case $ac_cv_search_ffi_call in #(
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19486 $as_echo_n "checking for LIBFFI... " >&6; }
19488 if test -n "$LIBFFI_CFLAGS"; then
19489 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19490 elif test -n "$PKG_CONFIG"; then
19491 if test -n "$PKG_CONFIG" && \
19492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19493 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19496 test $ac_status = 0; }; then
19497 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19504 if test -n "$LIBFFI_LIBS"; then
19505 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19506 elif test -n "$PKG_CONFIG"; then
19507 if test -n "$PKG_CONFIG" && \
19508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19509 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19512 test $ac_status = 0; }; then
19513 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19523 if test $pkg_failed = yes; then
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19525 $as_echo "no" >&6; }
19527 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19528 _pkg_short_errors_supported
=yes
19530 _pkg_short_errors_supported
=no
19532 if test $_pkg_short_errors_supported = yes; then
19533 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19535 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19537 # Put the nasty error message in config.log where it belongs
19538 echo "$LIBFFI_PKG_ERRORS" >&5
19540 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19541 elif test $pkg_failed = untried
; then
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19543 $as_echo "no" >&6; }
19544 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19546 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19547 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19549 $as_echo "yes" >&6; }
19552 for element
in `$PKG_CONFIG --cflags libffi`; do
19554 for x
in $CXXFLAGS; do
19556 acl_save_prefix
="$prefix"
19557 prefix
="$acl_final_prefix"
19558 acl_save_exec_prefix
="$exec_prefix"
19559 exec_prefix
="$acl_final_exec_prefix"
19561 exec_prefix
="$acl_save_exec_prefix"
19562 prefix
="$acl_save_prefix"
19564 if test "X$x" = "X$element"; then
19569 if test -z "$haveit"; then
19570 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19575 for element
in `$PKG_CONFIG --libs libffi`; do
19579 acl_save_prefix
="$prefix"
19580 prefix
="$acl_final_prefix"
19581 acl_save_exec_prefix
="$exec_prefix"
19582 exec_prefix
="$acl_final_exec_prefix"
19584 exec_prefix
="$acl_save_exec_prefix"
19585 prefix
="$acl_save_prefix"
19587 if test "X$x" = "X$element"; then
19592 if test -z "$haveit"; then
19593 LIBS
="${LIBS}${LIBS:+ }$element"
19606 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19607 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19608 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19609 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19613 $as_echo_n "checking if we really have Objective C++... " >&6; }
19614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19615 /* end confdefs.h. */
19618 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19622 $as_echo "yes" >&6; }
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19626 $as_echo "no" >&6; }
19628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19630 if test "x$CY_OBJECTIVEC" = x1
; then :
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19634 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19635 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19636 $as_echo_n "(cached) " >&6
19639 ac_check_framework_save_LIBS
=$LIBS
19640 LIBS
="-framework CoreFoundation $LIBS"
19641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19642 /* end confdefs.h. */
19644 #include <CoreFoundation/CFBase.h>
19649 CFAllocatorGetDefault();
19654 if ac_fn_objcxx_try_link
"$LINENO"; then :
19656 ac_cv_framework_CoreFoundation
=yes
19659 ac_cv_framework_CoreFoundation
=no
19661 rm -f core conftest.err conftest.
$ac_objext \
19662 conftest
$ac_exeext conftest.
$ac_ext
19663 LIBS
=$ac_check_framework_save_LIBS
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19667 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19668 if test $ac_cv_framework_CoreFoundation = yes; then :
19671 for element
in "-framework CoreFoundation $LIBS"; do
19675 acl_save_prefix
="$prefix"
19676 prefix
="$acl_final_prefix"
19677 acl_save_exec_prefix
="$exec_prefix"
19678 exec_prefix
="$acl_final_exec_prefix"
19680 exec_prefix
="$acl_save_exec_prefix"
19681 prefix
="$acl_save_prefix"
19683 if test "X$x" = "X$element"; then
19688 if test -z "$haveit"; then
19689 LIBS
="${LIBS}${LIBS:+ }$element"
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19699 $as_echo_n "checking for framework Foundation... " >&6; }
19700 if ${ac_cv_framework_Foundation+:} false
; then :
19701 $as_echo_n "(cached) " >&6
19704 ac_check_framework_save_LIBS
=$LIBS
19705 LIBS
="-framework Foundation $LIBS"
19706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19707 /* end confdefs.h. */
19709 #include <Foundation/NSObject.h>
19714 [[NSObject alloc] init];
19719 if ac_fn_objcxx_try_link
"$LINENO"; then :
19721 ac_cv_framework_Foundation
=yes
19724 ac_cv_framework_Foundation
=no
19726 rm -f core conftest.err conftest.
$ac_objext \
19727 conftest
$ac_exeext conftest.
$ac_ext
19728 LIBS
=$ac_check_framework_save_LIBS
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19732 $as_echo "$ac_cv_framework_Foundation" >&6; }
19733 if test $ac_cv_framework_Foundation = yes; then :
19736 for element
in "-framework Foundation $LIBS"; do
19740 acl_save_prefix
="$prefix"
19741 prefix
="$acl_final_prefix"
19742 acl_save_exec_prefix
="$exec_prefix"
19743 exec_prefix
="$acl_final_exec_prefix"
19745 exec_prefix
="$acl_save_exec_prefix"
19746 prefix
="$acl_save_prefix"
19748 if test "X$x" = "X$element"; then
19753 if test -z "$haveit"; then
19754 LIBS
="${LIBS}${LIBS:+ }$element"
19758 cat >>confdefs.h
<<_ACEOF
19759 #define HAVE_FRAMEWORK_FOUNDATION 1
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
19768 $as_echo_n "checking for framework WebKit... " >&6; }
19769 if ${ac_cv_framework_WebKit+:} false
; then :
19770 $as_echo_n "(cached) " >&6
19773 ac_check_framework_save_LIBS
=$LIBS
19774 LIBS
="-framework WebKit $LIBS"
19775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19778 #include <WebKit/WebScriptObject.h>
19783 [[WebScriptObject alloc] init];
19788 if ac_fn_objcxx_try_link
"$LINENO"; then :
19790 ac_cv_framework_WebKit
=yes
19793 ac_cv_framework_WebKit
=no
19795 rm -f core conftest.err conftest.
$ac_objext \
19796 conftest
$ac_exeext conftest.
$ac_ext
19797 LIBS
=$ac_check_framework_save_LIBS
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
19801 $as_echo "$ac_cv_framework_WebKit" >&6; }
19802 if test $ac_cv_framework_WebKit = yes; then :
19805 for element
in "-framework WebKit $LIBS"; do
19809 acl_save_prefix
="$prefix"
19810 prefix
="$acl_final_prefix"
19811 acl_save_exec_prefix
="$exec_prefix"
19812 exec_prefix
="$acl_final_exec_prefix"
19814 exec_prefix
="$acl_save_exec_prefix"
19815 prefix
="$acl_save_prefix"
19817 if test "X$x" = "X$element"; then
19822 if test -z "$haveit"; then
19823 LIBS
="${LIBS}${LIBS:+ }$element"
19827 cat >>confdefs.h
<<_ACEOF
19828 #define HAVE_FRAMEWORK_WEBKIT 1
19838 for ac_prog
in gnustep
-config
19840 # Extract the first word of "$ac_prog", so it can be a program name with args.
19841 set dummy
$ac_prog; ac_word
=$2
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19843 $as_echo_n "checking for $ac_word... " >&6; }
19844 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19845 $as_echo_n "(cached) " >&6
19847 if test -n "$GNUSTEP_CONFIG"; then
19848 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19851 for as_dir
in $PATH
19854 test -z "$as_dir" && as_dir
=.
19855 for ac_exec_ext
in '' $ac_executable_extensions; do
19856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19857 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19867 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19868 if test -n "$GNUSTEP_CONFIG"; then
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19870 $as_echo "$GNUSTEP_CONFIG" >&6; }
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19873 $as_echo "no" >&6; }
19877 test -n "$GNUSTEP_CONFIG" && break
19881 if test "x$GNUSTEP_CONFIG" != x
; then :
19885 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19887 for x
in $OBJCXXFLAGS; do
19889 acl_save_prefix
="$prefix"
19890 prefix
="$acl_final_prefix"
19891 acl_save_exec_prefix
="$exec_prefix"
19892 exec_prefix
="$acl_final_exec_prefix"
19894 exec_prefix
="$acl_save_exec_prefix"
19895 prefix
="$acl_save_prefix"
19897 if test "X$x" = "X$element"; then
19902 if test -z "$haveit"; then
19903 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19908 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19912 acl_save_prefix
="$prefix"
19913 prefix
="$acl_final_prefix"
19914 acl_save_exec_prefix
="$exec_prefix"
19915 exec_prefix
="$acl_final_exec_prefix"
19917 exec_prefix
="$acl_save_exec_prefix"
19918 prefix
="$acl_save_prefix"
19920 if test "X$x" = "X$element"; then
19925 if test -z "$haveit"; then
19926 LIBS
="${LIBS}${LIBS:+ }$element"
19941 ac_cpp
='$CXXCPP $CPPFLAGS'
19942 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19943 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19944 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19951 if test "x$CY_OBJECTIVEC" = x1
; then
19952 CY_OBJECTIVEC_TRUE
=
19953 CY_OBJECTIVEC_FALSE
='#'
19955 CY_OBJECTIVEC_TRUE
='#'
19956 CY_OBJECTIVEC_FALSE
=
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19962 $as_echo_n "checking for a readline compatible library... " >&6; }
19963 if ${ax_cv_lib_readline+:} false
; then :
19964 $as_echo_n "(cached) " >&6
19968 for readline_lib
in readline edit editline
; do
19969 for termcap_lib
in "" termcap curses ncurses
; do
19970 if test -z "$termcap_lib"; then
19971 TRY_LIB
="-l$readline_lib"
19973 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19975 LIBS
="$ORIG_LIBS $TRY_LIB"
19976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19977 /* end confdefs.h. */
19979 /* Override any GCC internal prototype to avoid an error.
19980 Use char because int might match the return type of a GCC
19981 builtin and then its argument prototype would still apply. */
19989 return readline ();
19994 if ac_fn_cxx_try_link
"$LINENO"; then :
19995 ax_cv_lib_readline
="$TRY_LIB"
19997 rm -f core conftest.err conftest.
$ac_objext \
19998 conftest
$ac_exeext conftest.
$ac_ext
19999 if test -n "$ax_cv_lib_readline"; then
20003 if test -n "$ax_cv_lib_readline"; then
20007 if test -z "$ax_cv_lib_readline"; then
20008 ax_cv_lib_readline
="no"
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
20014 $as_echo "$ax_cv_lib_readline" >&6; }
20016 if test "$ax_cv_lib_readline" != "no"; then
20017 LIBS
="$LIBS $ax_cv_lib_readline"
20019 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
20021 for ac_header
in readline.h readline
/readline.h
20023 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20024 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20025 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20026 cat >>confdefs.h
<<_ACEOF
20027 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
20035 $as_echo_n "checking whether readline supports history... " >&6; }
20036 if ${ax_cv_lib_readline_history+:} false
; then :
20037 $as_echo_n "(cached) " >&6
20040 ax_cv_lib_readline_history
="no"
20041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20042 /* end confdefs.h. */
20044 /* Override any GCC internal prototype to avoid an error.
20045 Use char because int might match the return type of a GCC
20046 builtin and then its argument prototype would still apply. */
20050 char add_history ();
20054 return add_history ();
20059 if ac_fn_cxx_try_link
"$LINENO"; then :
20060 ax_cv_lib_readline_history
="yes"
20062 rm -f core conftest.err conftest.
$ac_objext \
20063 conftest
$ac_exeext conftest.
$ac_ext
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
20067 $as_echo "$ax_cv_lib_readline_history" >&6; }
20068 if test "$ax_cv_lib_readline_history" = "yes"; then
20070 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
20072 for ac_header
in history.h readline
/history.h
20074 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20075 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20076 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20077 cat >>confdefs.h
<<_ACEOF
20078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20088 case $vl_cv_lib_readline in #(
20090 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
20096 $as_echo_n "checking for library containing cur_term... " >&6; }
20097 if ${ac_cv_search_cur_term+:} false
; then :
20098 $as_echo_n "(cached) " >&6
20100 ac_func_search_save_LIBS
=$LIBS
20101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20102 /* end confdefs.h. */
20104 /* Override any GCC internal prototype to avoid an error.
20105 Use char because int might match the return type of a GCC
20106 builtin and then its argument prototype would still apply. */
20114 return cur_term ();
20119 for ac_lib
in '' termcap
; do
20120 if test -z "$ac_lib"; then
20121 ac_res
="none required"
20124 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20126 if ac_fn_cxx_try_link
"$LINENO"; then :
20127 ac_cv_search_cur_term
=$ac_res
20129 rm -f core conftest.err conftest.
$ac_objext \
20131 if ${ac_cv_search_cur_term+:} false
; then :
20135 if ${ac_cv_search_cur_term+:} false
; then :
20138 ac_cv_search_cur_term
=no
20140 rm conftest.
$ac_ext
20141 LIBS
=$ac_func_search_save_LIBS
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
20144 $as_echo "$ac_cv_search_cur_term" >&6; }
20145 ac_res
=$ac_cv_search_cur_term
20146 if test "$ac_res" != no
; then :
20147 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20153 ac_cpp
='$CPP $CPPFLAGS'
20154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20159 if test "X$prefix" = "XNONE"; then
20160 acl_final_prefix
="$ac_default_prefix"
20162 acl_final_prefix
="$prefix"
20164 if test "X$exec_prefix" = "XNONE"; then
20165 acl_final_exec_prefix
='${prefix}'
20167 acl_final_exec_prefix
="$exec_prefix"
20169 acl_save_prefix
="$prefix"
20170 prefix
="$acl_final_prefix"
20171 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
20172 prefix
="$acl_save_prefix"
20176 # Check whether --with-gnu-ld was given.
20177 if test "${with_gnu_ld+set}" = set; then :
20178 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
20183 # Prepare PATH_SEPARATOR.
20184 # The user is always right.
20185 if test "${PATH_SEPARATOR+set}" != set; then
20186 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
20187 # contains only /bin. Note that ksh looks also at the FPATH variable,
20188 # so we have to set that as well for the test.
20190 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
20191 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
20192 || PATH_SEPARATOR
=';'
20197 if test "$GCC" = yes; then
20198 # Check if gcc -print-prog-name=ld gives a path.
20199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20200 $as_echo_n "checking for ld used by $CC... " >&6; }
20203 # gcc leaves a trailing carriage return which upsets mingw
20204 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20206 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
20209 # Accept absolute paths.
20211 re_direlt
='/[^/][^/]*/\.\./'
20212 # Canonicalize the pathname of ld
20213 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
20214 while echo "$ac_prog" | grep "$re_direlt" > /dev
/null
2>&1; do
20215 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
20217 test -z "$LD" && LD
="$ac_prog"
20220 # If it fails, then pretend we aren't using GCC.
20224 # If it is relative, then search for the first ld in PATH.
20225 with_gnu_ld
=unknown
20228 elif test "$with_gnu_ld" = yes; then
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20230 $as_echo_n "checking for GNU ld... " >&6; }
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20233 $as_echo_n "checking for non-GNU ld... " >&6; }
20235 if ${acl_cv_path_LD+:} false
; then :
20236 $as_echo_n "(cached) " >&6
20238 if test -z "$LD"; then
20239 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
20240 for ac_dir
in $PATH; do
20241 IFS
="$acl_save_ifs"
20242 test -z "$ac_dir" && ac_dir
=.
20243 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20244 acl_cv_path_LD
="$ac_dir/$ac_prog"
20245 # Check to see if the program is GNU ld. I'd rather use --version,
20246 # but apparently some variants of GNU ld only accept -v.
20247 # Break only if it was the GNU/non-GNU ld that we prefer.
20248 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
20249 *GNU
* | *'with BFD'*)
20250 test "$with_gnu_ld" != no
&& break
20253 test "$with_gnu_ld" != yes && break
20258 IFS
="$acl_save_ifs"
20260 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
20264 LD
="$acl_cv_path_LD"
20265 if test -n "$LD"; then
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20267 $as_echo "$LD" >&6; }
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20270 $as_echo "no" >&6; }
20272 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
20273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20274 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20275 if ${acl_cv_prog_gnu_ld+:} false
; then :
20276 $as_echo_n "(cached) " >&6
20278 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20279 case `$LD -v 2>&1 </dev/null` in
20280 *GNU
* | *'with BFD'*)
20281 acl_cv_prog_gnu_ld
=yes
20284 acl_cv_prog_gnu_ld
=no
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
20289 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
20290 with_gnu_ld
=$acl_cv_prog_gnu_ld
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
20296 $as_echo_n "checking for shared library run path origin... " >&6; }
20297 if ${acl_cv_rpath+:} false
; then :
20298 $as_echo_n "(cached) " >&6
20301 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
20302 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
20304 rm -f .
/conftest.sh
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
20309 $as_echo "$acl_cv_rpath" >&6; }
20311 acl_libext
="$acl_cv_libext"
20312 acl_shlibext
="$acl_cv_shlibext"
20313 acl_libname_spec
="$acl_cv_libname_spec"
20314 acl_library_names_spec
="$acl_cv_library_names_spec"
20315 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
20316 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
20317 acl_hardcode_direct
="$acl_cv_hardcode_direct"
20318 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
20319 # Check whether --enable-rpath was given.
20320 if test "${enable_rpath+set}" = set; then :
20321 enableval
=$enable_rpath; :
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
20334 $as_echo_n "checking for 64-bit host... " >&6; }
20335 if ${gl_cv_solaris_64bit+:} false
; then :
20336 $as_echo_n "(cached) " >&6
20338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20339 /* end confdefs.h. */
20346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20347 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
20348 gl_cv_solaris_64bit
=yes
20350 gl_cv_solaris_64bit
=no
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
20357 $as_echo "$gl_cv_solaris_64bit" >&6; }
20358 if test $gl_cv_solaris_64bit = yes; then
20359 acl_libdirstem
=lib
/64
20360 case "$host_cpu" in
20361 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
20362 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
20367 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
20368 if test -n "$searchpath"; then
20369 acl_save_IFS
="${IFS= }"; IFS
=":"
20370 for searchdir
in $searchpath; do
20371 if test -d "$searchdir"; then
20372 case "$searchdir" in
20373 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
20375 # Better ignore directories of this form. They are misleading.
20377 *) searchdir
=`cd "$searchdir" && pwd`
20378 case "$searchdir" in
20379 */lib64
) acl_libdirstem
=lib64
;;
20384 IFS
="$acl_save_IFS"
20388 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
20403 acl_save_prefix
="$prefix"
20404 prefix
="$acl_final_prefix"
20405 acl_save_exec_prefix
="$exec_prefix"
20406 exec_prefix
="$acl_final_exec_prefix"
20408 eval additional_includedir
=\"$includedir\"
20409 eval additional_libdir
=\"$libdir\"
20411 exec_prefix
="$acl_save_exec_prefix"
20412 prefix
="$acl_save_prefix"
20415 # Check whether --with-libiconv-prefix was given.
20416 if test "${with_libiconv_prefix+set}" = set; then :
20417 withval
=$with_libiconv_prefix;
20418 if test "X$withval" = "Xno"; then
20421 if test "X$withval" = "X"; then
20423 acl_save_prefix
="$prefix"
20424 prefix
="$acl_final_prefix"
20425 acl_save_exec_prefix
="$exec_prefix"
20426 exec_prefix
="$acl_final_exec_prefix"
20428 eval additional_includedir
=\"$includedir\"
20429 eval additional_libdir
=\"$libdir\"
20431 exec_prefix
="$acl_save_exec_prefix"
20432 prefix
="$acl_save_prefix"
20435 additional_includedir
="$withval/include"
20436 additional_libdir
="$withval/$acl_libdirstem"
20437 if test "$acl_libdirstem2" != "$acl_libdirstem" \
20438 && ! test -d "$withval/$acl_libdirstem"; then
20439 additional_libdir
="$withval/$acl_libdirstem2"
20453 names_already_handled
=
20454 names_next_round
='iconv '
20455 while test -n "$names_next_round"; do
20456 names_this_round
="$names_next_round"
20458 for name
in $names_this_round; do
20460 for n
in $names_already_handled; do
20461 if test "$n" = "$name"; then
20462 already_handled
=yes
20466 if test -z "$already_handled"; then
20467 names_already_handled
="$names_already_handled $name"
20468 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
20469 eval value
=\"\
$HAVE_LIB$uppername\"
20470 if test -n "$value"; then
20471 if test "$value" = yes; then
20472 eval value
=\"\
$LIB$uppername\"
20473 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
20474 eval value
=\"\
$LTLIB$uppername\"
20475 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
20484 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
20485 if test -n "$acl_shlibext"; then
20486 shrext
=".$acl_shlibext" # typically: shrext=.so
20490 if test $use_additional = yes; then
20491 dir
="$additional_libdir"
20492 if test -n "$acl_shlibext"; then
20493 if test -f "$dir/$libname$shrext"; then
20495 found_so
="$dir/$libname$shrext"
20497 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20498 ver
=`(cd "$dir" && \
20499 for f in "$libname$shrext".*; do echo "$f"; done \
20500 | sed -e "s,^$libname$shrext\\\\.,," \
20501 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20502 | sed 1q ) 2>/dev/null`
20503 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20505 found_so
="$dir/$libname$shrext.$ver"
20508 eval library_names
=\"$acl_library_names_spec\"
20509 for f
in $library_names; do
20510 if test -f "$dir/$f"; then
20519 if test "X$found_dir" = "X"; then
20520 if test -f "$dir/$libname.$acl_libext"; then
20522 found_a
="$dir/$libname.$acl_libext"
20525 if test "X$found_dir" != "X"; then
20526 if test -f "$dir/$libname.la"; then
20527 found_la
="$dir/$libname.la"
20531 if test "X$found_dir" = "X"; then
20532 for x
in $LDFLAGS $LTLIBICONV; do
20534 acl_save_prefix
="$prefix"
20535 prefix
="$acl_final_prefix"
20536 acl_save_exec_prefix
="$exec_prefix"
20537 exec_prefix
="$acl_final_exec_prefix"
20539 exec_prefix
="$acl_save_exec_prefix"
20540 prefix
="$acl_save_prefix"
20544 dir
=`echo "X$x" | sed -e 's/^X-L//'`
20545 if test -n "$acl_shlibext"; then
20546 if test -f "$dir/$libname$shrext"; then
20548 found_so
="$dir/$libname$shrext"
20550 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20551 ver
=`(cd "$dir" && \
20552 for f in "$libname$shrext".*; do echo "$f"; done \
20553 | sed -e "s,^$libname$shrext\\\\.,," \
20554 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20555 | sed 1q ) 2>/dev/null`
20556 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20558 found_so
="$dir/$libname$shrext.$ver"
20561 eval library_names
=\"$acl_library_names_spec\"
20562 for f
in $library_names; do
20563 if test -f "$dir/$f"; then
20572 if test "X$found_dir" = "X"; then
20573 if test -f "$dir/$libname.$acl_libext"; then
20575 found_a
="$dir/$libname.$acl_libext"
20578 if test "X$found_dir" != "X"; then
20579 if test -f "$dir/$libname.la"; then
20580 found_la
="$dir/$libname.la"
20585 if test "X$found_dir" != "X"; then
20590 if test "X$found_dir" != "X"; then
20591 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
20592 if test "X$found_so" != "X"; then
20593 if test "$enable_rpath" = no \
20594 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
20595 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
20596 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20599 for x
in $ltrpathdirs; do
20600 if test "X$x" = "X$found_dir"; then
20605 if test -z "$haveit"; then
20606 ltrpathdirs
="$ltrpathdirs $found_dir"
20608 if test "$acl_hardcode_direct" = yes; then
20609 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20611 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
20612 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20614 for x
in $rpathdirs; do
20615 if test "X$x" = "X$found_dir"; then
20620 if test -z "$haveit"; then
20621 rpathdirs
="$rpathdirs $found_dir"
20625 for x
in $LDFLAGS $LIBICONV; do
20627 acl_save_prefix
="$prefix"
20628 prefix
="$acl_final_prefix"
20629 acl_save_exec_prefix
="$exec_prefix"
20630 exec_prefix
="$acl_final_exec_prefix"
20632 exec_prefix
="$acl_save_exec_prefix"
20633 prefix
="$acl_save_prefix"
20635 if test "X$x" = "X-L$found_dir"; then
20640 if test -z "$haveit"; then
20641 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20643 if test "$acl_hardcode_minus_L" != no
; then
20644 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20646 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20652 if test "X$found_a" != "X"; then
20653 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
20655 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20658 additional_includedir
=
20659 case "$found_dir" in
20660 */$acl_libdirstem | */$acl_libdirstem/)
20661 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
20662 if test "$name" = 'iconv'; then
20663 LIBICONV_PREFIX
="$basedir"
20665 additional_includedir
="$basedir/include"
20667 */$acl_libdirstem2 | */$acl_libdirstem2/)
20668 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
20669 if test "$name" = 'iconv'; then
20670 LIBICONV_PREFIX
="$basedir"
20672 additional_includedir
="$basedir/include"
20675 if test "X$additional_includedir" != "X"; then
20676 if test "X$additional_includedir" != "X/usr/include"; then
20678 if test "X$additional_includedir" = "X/usr/local/include"; then
20679 if test -n "$GCC"; then
20681 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20685 if test -z "$haveit"; then
20686 for x
in $CPPFLAGS $INCICONV; do
20688 acl_save_prefix
="$prefix"
20689 prefix
="$acl_final_prefix"
20690 acl_save_exec_prefix
="$exec_prefix"
20691 exec_prefix
="$acl_final_exec_prefix"
20693 exec_prefix
="$acl_save_exec_prefix"
20694 prefix
="$acl_save_prefix"
20696 if test "X$x" = "X-I$additional_includedir"; then
20701 if test -z "$haveit"; then
20702 if test -d "$additional_includedir"; then
20703 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20709 if test -n "$found_la"; then
20710 save_libdir
="$libdir"
20711 case "$found_la" in
20712 */* | *\\*) .
"$found_la" ;;
20713 *) .
"./$found_la" ;;
20715 libdir
="$save_libdir"
20716 for dep
in $dependency_libs; do
20719 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
20720 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
20721 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
20723 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
20724 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
20725 if test -n "$GCC"; then
20727 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20731 if test -z "$haveit"; then
20733 for x
in $LDFLAGS $LIBICONV; do
20735 acl_save_prefix
="$prefix"
20736 prefix
="$acl_final_prefix"
20737 acl_save_exec_prefix
="$exec_prefix"
20738 exec_prefix
="$acl_final_exec_prefix"
20740 exec_prefix
="$acl_save_exec_prefix"
20741 prefix
="$acl_save_prefix"
20743 if test "X$x" = "X-L$additional_libdir"; then
20748 if test -z "$haveit"; then
20749 if test -d "$additional_libdir"; then
20750 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20754 for x
in $LDFLAGS $LTLIBICONV; do
20756 acl_save_prefix
="$prefix"
20757 prefix
="$acl_final_prefix"
20758 acl_save_exec_prefix
="$exec_prefix"
20759 exec_prefix
="$acl_final_exec_prefix"
20761 exec_prefix
="$acl_save_exec_prefix"
20762 prefix
="$acl_save_prefix"
20764 if test "X$x" = "X-L$additional_libdir"; then
20769 if test -z "$haveit"; then
20770 if test -d "$additional_libdir"; then
20771 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20778 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
20779 if test "$enable_rpath" != no
; then
20781 for x
in $rpathdirs; do
20782 if test "X$x" = "X$dir"; then
20787 if test -z "$haveit"; then
20788 rpathdirs
="$rpathdirs $dir"
20791 for x
in $ltrpathdirs; do
20792 if test "X$x" = "X$dir"; then
20797 if test -z "$haveit"; then
20798 ltrpathdirs
="$ltrpathdirs $dir"
20803 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20806 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20809 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
20810 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20816 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20817 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20823 if test "X$rpathdirs" != "X"; then
20824 if test -n "$acl_hardcode_libdir_separator"; then
20826 for found_dir
in $rpathdirs; do
20827 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
20829 acl_save_libdir
="$libdir"
20831 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20832 libdir
="$acl_save_libdir"
20833 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20835 for found_dir
in $rpathdirs; do
20836 acl_save_libdir
="$libdir"
20837 libdir
="$found_dir"
20838 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20839 libdir
="$acl_save_libdir"
20840 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20844 if test "X$ltrpathdirs" != "X"; then
20845 for found_dir
in $ltrpathdirs; do
20846 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20861 am_save_CPPFLAGS
="$CPPFLAGS"
20863 for element
in $INCICONV; do
20865 for x
in $CPPFLAGS; do
20867 acl_save_prefix
="$prefix"
20868 prefix
="$acl_final_prefix"
20869 acl_save_exec_prefix
="$exec_prefix"
20870 exec_prefix
="$acl_final_exec_prefix"
20872 exec_prefix
="$acl_save_exec_prefix"
20873 prefix
="$acl_save_prefix"
20875 if test "X$x" = "X$element"; then
20880 if test -z "$haveit"; then
20881 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
20887 $as_echo_n "checking for iconv... " >&6; }
20888 if ${am_cv_func_iconv+:} false
; then :
20889 $as_echo_n "(cached) " >&6
20892 am_cv_func_iconv
="no, consider installing GNU libiconv"
20894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20895 /* end confdefs.h. */
20897 #include <stdlib.h>
20903 iconv_t cd = iconv_open("","");
20904 iconv(cd,NULL,NULL,NULL,NULL);
20910 if ac_fn_c_try_link
"$LINENO"; then :
20911 am_cv_func_iconv
=yes
20913 rm -f core conftest.err conftest.
$ac_objext \
20914 conftest
$ac_exeext conftest.
$ac_ext
20915 if test "$am_cv_func_iconv" != yes; then
20916 am_save_LIBS
="$LIBS"
20917 LIBS
="$LIBS $LIBICONV"
20918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h. */
20921 #include <stdlib.h>
20927 iconv_t cd = iconv_open("","");
20928 iconv(cd,NULL,NULL,NULL,NULL);
20934 if ac_fn_c_try_link
"$LINENO"; then :
20935 am_cv_lib_iconv
=yes
20936 am_cv_func_iconv
=yes
20938 rm -f core conftest.err conftest.
$ac_objext \
20939 conftest
$ac_exeext conftest.
$ac_ext
20940 LIBS
="$am_save_LIBS"
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
20945 $as_echo "$am_cv_func_iconv" >&6; }
20946 if test "$am_cv_func_iconv" = yes; then
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
20948 $as_echo_n "checking for working iconv... " >&6; }
20949 if ${am_cv_func_iconv_works+:} false
; then :
20950 $as_echo_n "(cached) " >&6
20953 am_save_LIBS
="$LIBS"
20954 if test $am_cv_lib_iconv = yes; then
20955 LIBS
="$LIBS $LIBICONV"
20957 if test "$cross_compiling" = yes; then :
20960 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
20961 *) am_cv_func_iconv_works
="guessing yes" ;;
20965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20969 #include <string.h>
20973 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
20976 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
20977 if (cd_utf8_to_88591 != (iconv_t)(-1))
20979 static const char input[] = "\342\202\254"; /* EURO SIGN */
20981 const char *inptr = input;
20982 size_t inbytesleft = strlen (input);
20983 char *outptr = buf;
20984 size_t outbytesleft = sizeof (buf);
20985 size_t res = iconv (cd_utf8_to_88591,
20986 (char **) &inptr, &inbytesleft,
20987 &outptr, &outbytesleft);
20990 iconv_close (cd_utf8_to_88591);
20993 /* Test against Solaris 10 bug: Failures are not distinguishable from
20994 successful returns. */
20996 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
20997 if (cd_ascii_to_88591 != (iconv_t)(-1))
20999 static const char input[] = "\263";
21001 const char *inptr = input;
21002 size_t inbytesleft = strlen (input);
21003 char *outptr = buf;
21004 size_t outbytesleft = sizeof (buf);
21005 size_t res = iconv (cd_ascii_to_88591,
21006 (char **) &inptr, &inbytesleft,
21007 &outptr, &outbytesleft);
21010 iconv_close (cd_ascii_to_88591);
21013 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
21015 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
21016 if (cd_88591_to_utf8 != (iconv_t)(-1))
21018 static const char input[] = "\304";
21019 static char buf[2] = { (char)0xDE, (char)0xAD };
21020 const char *inptr = input;
21021 size_t inbytesleft = 1;
21022 char *outptr = buf;
21023 size_t outbytesleft = 1;
21024 size_t res = iconv (cd_88591_to_utf8,
21025 (char **) &inptr, &inbytesleft,
21026 &outptr, &outbytesleft);
21027 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
21029 iconv_close (cd_88591_to_utf8);
21032 #if 0 /* This bug could be worked around by the caller. */
21033 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
21035 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
21036 if (cd_88591_to_utf8 != (iconv_t)(-1))
21038 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
21040 const char *inptr = input;
21041 size_t inbytesleft = strlen (input);
21042 char *outptr = buf;
21043 size_t outbytesleft = sizeof (buf);
21044 size_t res = iconv (cd_88591_to_utf8,
21045 (char **) &inptr, &inbytesleft,
21046 &outptr, &outbytesleft);
21049 iconv_close (cd_88591_to_utf8);
21053 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
21055 if (/* Try standardized names. */
21056 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
21057 /* Try IRIX, OSF/1 names. */
21058 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
21059 /* Try AIX names. */
21060 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
21061 /* Try HP-UX names. */
21062 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
21067 if ac_fn_c_try_run
"$LINENO"; then :
21068 am_cv_func_iconv_works
=yes
21070 am_cv_func_iconv_works
=no
21072 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21073 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21076 LIBS
="$am_save_LIBS"
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
21080 $as_echo "$am_cv_func_iconv_works" >&6; }
21081 case "$am_cv_func_iconv_works" in
21082 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
21083 *) am_func_iconv
=yes ;;
21086 am_func_iconv
=no am_cv_lib_iconv
=no
21088 if test "$am_func_iconv" = yes; then
21090 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21093 if test "$am_cv_lib_iconv" = yes; then
21094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21095 $as_echo_n "checking how to link with libiconv... " >&6; }
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21097 $as_echo "$LIBICONV" >&6; }
21099 CPPFLAGS
="$am_save_CPPFLAGS"
21106 if test "$am_cv_func_iconv" = yes; then
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21108 $as_echo_n "checking for iconv declaration... " >&6; }
21109 if ${am_cv_proto_iconv+:} false
; then :
21110 $as_echo_n "(cached) " >&6
21113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21114 /* end confdefs.h. */
21116 #include <stdlib.h>
21122 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
21123 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21136 if ac_fn_c_try_compile
"$LINENO"; then :
21137 am_cv_proto_iconv_arg1
=""
21139 am_cv_proto_iconv_arg1
="const"
21141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21142 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);"
21145 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
21147 $am_cv_proto_iconv" >&5
21149 $am_cv_proto_iconv" >&6; }
21151 cat >>confdefs.h
<<_ACEOF
21152 #define ICONV_CONST $am_cv_proto_iconv_arg1
21158 case $am_cv_func_iconv in #(
21163 for cy_iconv_prefix_arg
in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
21164 case $cy_iconv_prefix_arg in #(
21168 for element
in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
21170 for x
in $cy_iconv_prefixes; do
21172 acl_save_prefix
="$prefix"
21173 prefix
="$acl_final_prefix"
21174 acl_save_exec_prefix
="$exec_prefix"
21175 exec_prefix
="$acl_final_exec_prefix"
21177 exec_prefix
="$acl_save_exec_prefix"
21178 prefix
="$acl_save_prefix"
21180 if test "X$x" = "X$element"; then
21185 if test -z "$haveit"; then
21186 cy_iconv_prefixes
="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
21194 for element
in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
21196 for x
in $cy_iconv_prefixes; do
21198 acl_save_prefix
="$prefix"
21199 prefix
="$acl_final_prefix"
21200 acl_save_exec_prefix
="$exec_prefix"
21201 exec_prefix
="$acl_final_exec_prefix"
21203 exec_prefix
="$acl_save_exec_prefix"
21204 prefix
="$acl_save_prefix"
21206 if test "X$x" = "X$element"; then
21211 if test -z "$haveit"; then
21212 cy_iconv_prefixes
="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
21221 for with_libiconv_prefix
in $cy_iconv_prefixes; do
21222 { am_cv_func_iconv
=; unset am_cv_func_iconv
;}
21236 acl_save_prefix
="$prefix"
21237 prefix
="$acl_final_prefix"
21238 acl_save_exec_prefix
="$exec_prefix"
21239 exec_prefix
="$acl_final_exec_prefix"
21241 eval additional_includedir
=\"$includedir\"
21242 eval additional_libdir
=\"$libdir\"
21244 exec_prefix
="$acl_save_exec_prefix"
21245 prefix
="$acl_save_prefix"
21248 # Check whether --with-libiconv-prefix was given.
21249 if test "${with_libiconv_prefix+set}" = set; then :
21250 withval
=$with_libiconv_prefix;
21251 if test "X$withval" = "Xno"; then
21254 if test "X$withval" = "X"; then
21256 acl_save_prefix
="$prefix"
21257 prefix
="$acl_final_prefix"
21258 acl_save_exec_prefix
="$exec_prefix"
21259 exec_prefix
="$acl_final_exec_prefix"
21261 eval additional_includedir
=\"$includedir\"
21262 eval additional_libdir
=\"$libdir\"
21264 exec_prefix
="$acl_save_exec_prefix"
21265 prefix
="$acl_save_prefix"
21268 additional_includedir
="$withval/include"
21269 additional_libdir
="$withval/$acl_libdirstem"
21270 if test "$acl_libdirstem2" != "$acl_libdirstem" \
21271 && ! test -d "$withval/$acl_libdirstem"; then
21272 additional_libdir
="$withval/$acl_libdirstem2"
21286 names_already_handled
=
21287 names_next_round
='iconv '
21288 while test -n "$names_next_round"; do
21289 names_this_round
="$names_next_round"
21291 for name
in $names_this_round; do
21293 for n
in $names_already_handled; do
21294 if test "$n" = "$name"; then
21295 already_handled
=yes
21299 if test -z "$already_handled"; then
21300 names_already_handled
="$names_already_handled $name"
21301 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
21302 eval value
=\"\
$HAVE_LIB$uppername\"
21303 if test -n "$value"; then
21304 if test "$value" = yes; then
21305 eval value
=\"\
$LIB$uppername\"
21306 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21307 eval value
=\"\
$LTLIB$uppername\"
21308 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21317 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
21318 if test -n "$acl_shlibext"; then
21319 shrext
=".$acl_shlibext" # typically: shrext=.so
21323 if test $use_additional = yes; then
21324 dir
="$additional_libdir"
21325 if test -n "$acl_shlibext"; then
21326 if test -f "$dir/$libname$shrext"; then
21328 found_so
="$dir/$libname$shrext"
21330 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21331 ver
=`(cd "$dir" && \
21332 for f in "$libname$shrext".*; do echo "$f"; done \
21333 | sed -e "s,^$libname$shrext\\\\.,," \
21334 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21335 | sed 1q ) 2>/dev/null`
21336 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21338 found_so
="$dir/$libname$shrext.$ver"
21341 eval library_names
=\"$acl_library_names_spec\"
21342 for f
in $library_names; do
21343 if test -f "$dir/$f"; then
21352 if test "X$found_dir" = "X"; then
21353 if test -f "$dir/$libname.$acl_libext"; then
21355 found_a
="$dir/$libname.$acl_libext"
21358 if test "X$found_dir" != "X"; then
21359 if test -f "$dir/$libname.la"; then
21360 found_la
="$dir/$libname.la"
21364 if test "X$found_dir" = "X"; then
21365 for x
in $LDFLAGS $LTLIBICONV; do
21367 acl_save_prefix
="$prefix"
21368 prefix
="$acl_final_prefix"
21369 acl_save_exec_prefix
="$exec_prefix"
21370 exec_prefix
="$acl_final_exec_prefix"
21372 exec_prefix
="$acl_save_exec_prefix"
21373 prefix
="$acl_save_prefix"
21377 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21378 if test -n "$acl_shlibext"; then
21379 if test -f "$dir/$libname$shrext"; then
21381 found_so
="$dir/$libname$shrext"
21383 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21384 ver
=`(cd "$dir" && \
21385 for f in "$libname$shrext".*; do echo "$f"; done \
21386 | sed -e "s,^$libname$shrext\\\\.,," \
21387 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21388 | sed 1q ) 2>/dev/null`
21389 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21391 found_so
="$dir/$libname$shrext.$ver"
21394 eval library_names
=\"$acl_library_names_spec\"
21395 for f
in $library_names; do
21396 if test -f "$dir/$f"; then
21405 if test "X$found_dir" = "X"; then
21406 if test -f "$dir/$libname.$acl_libext"; then
21408 found_a
="$dir/$libname.$acl_libext"
21411 if test "X$found_dir" != "X"; then
21412 if test -f "$dir/$libname.la"; then
21413 found_la
="$dir/$libname.la"
21418 if test "X$found_dir" != "X"; then
21423 if test "X$found_dir" != "X"; then
21424 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21425 if test "X$found_so" != "X"; then
21426 if test "$enable_rpath" = no \
21427 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
21428 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
21429 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21432 for x
in $ltrpathdirs; do
21433 if test "X$x" = "X$found_dir"; then
21438 if test -z "$haveit"; then
21439 ltrpathdirs
="$ltrpathdirs $found_dir"
21441 if test "$acl_hardcode_direct" = yes; then
21442 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21444 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
21445 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21447 for x
in $rpathdirs; do
21448 if test "X$x" = "X$found_dir"; then
21453 if test -z "$haveit"; then
21454 rpathdirs
="$rpathdirs $found_dir"
21458 for x
in $LDFLAGS $LIBICONV; do
21460 acl_save_prefix
="$prefix"
21461 prefix
="$acl_final_prefix"
21462 acl_save_exec_prefix
="$exec_prefix"
21463 exec_prefix
="$acl_final_exec_prefix"
21465 exec_prefix
="$acl_save_exec_prefix"
21466 prefix
="$acl_save_prefix"
21468 if test "X$x" = "X-L$found_dir"; then
21473 if test -z "$haveit"; then
21474 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21476 if test "$acl_hardcode_minus_L" != no
; then
21477 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21479 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21485 if test "X$found_a" != "X"; then
21486 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21488 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21491 additional_includedir
=
21492 case "$found_dir" in
21493 */$acl_libdirstem | */$acl_libdirstem/)
21494 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
21495 if test "$name" = 'iconv'; then
21496 LIBICONV_PREFIX
="$basedir"
21498 additional_includedir
="$basedir/include"
21500 */$acl_libdirstem2 | */$acl_libdirstem2/)
21501 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
21502 if test "$name" = 'iconv'; then
21503 LIBICONV_PREFIX
="$basedir"
21505 additional_includedir
="$basedir/include"
21508 if test "X$additional_includedir" != "X"; then
21509 if test "X$additional_includedir" != "X/usr/include"; then
21511 if test "X$additional_includedir" = "X/usr/local/include"; then
21512 if test -n "$GCC"; then
21514 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
21518 if test -z "$haveit"; then
21519 for x
in $CPPFLAGS $INCICONV; do
21521 acl_save_prefix
="$prefix"
21522 prefix
="$acl_final_prefix"
21523 acl_save_exec_prefix
="$exec_prefix"
21524 exec_prefix
="$acl_final_exec_prefix"
21526 exec_prefix
="$acl_save_exec_prefix"
21527 prefix
="$acl_save_prefix"
21529 if test "X$x" = "X-I$additional_includedir"; then
21534 if test -z "$haveit"; then
21535 if test -d "$additional_includedir"; then
21536 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21542 if test -n "$found_la"; then
21543 save_libdir
="$libdir"
21544 case "$found_la" in
21545 */* | *\\*) .
"$found_la" ;;
21546 *) .
"./$found_la" ;;
21548 libdir
="$save_libdir"
21549 for dep
in $dependency_libs; do
21552 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21553 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
21554 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
21556 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
21557 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
21558 if test -n "$GCC"; then
21560 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
21564 if test -z "$haveit"; then
21566 for x
in $LDFLAGS $LIBICONV; do
21568 acl_save_prefix
="$prefix"
21569 prefix
="$acl_final_prefix"
21570 acl_save_exec_prefix
="$exec_prefix"
21571 exec_prefix
="$acl_final_exec_prefix"
21573 exec_prefix
="$acl_save_exec_prefix"
21574 prefix
="$acl_save_prefix"
21576 if test "X$x" = "X-L$additional_libdir"; then
21581 if test -z "$haveit"; then
21582 if test -d "$additional_libdir"; then
21583 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21587 for x
in $LDFLAGS $LTLIBICONV; do
21589 acl_save_prefix
="$prefix"
21590 prefix
="$acl_final_prefix"
21591 acl_save_exec_prefix
="$exec_prefix"
21592 exec_prefix
="$acl_final_exec_prefix"
21594 exec_prefix
="$acl_save_exec_prefix"
21595 prefix
="$acl_save_prefix"
21597 if test "X$x" = "X-L$additional_libdir"; then
21602 if test -z "$haveit"; then
21603 if test -d "$additional_libdir"; then
21604 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21611 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21612 if test "$enable_rpath" != no
; then
21614 for x
in $rpathdirs; do
21615 if test "X$x" = "X$dir"; then
21620 if test -z "$haveit"; then
21621 rpathdirs
="$rpathdirs $dir"
21624 for x
in $ltrpathdirs; do
21625 if test "X$x" = "X$dir"; then
21630 if test -z "$haveit"; then
21631 ltrpathdirs
="$ltrpathdirs $dir"
21636 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21639 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21642 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
21643 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21649 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21650 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21656 if test "X$rpathdirs" != "X"; then
21657 if test -n "$acl_hardcode_libdir_separator"; then
21659 for found_dir
in $rpathdirs; do
21660 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
21662 acl_save_libdir
="$libdir"
21664 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
21665 libdir
="$acl_save_libdir"
21666 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21668 for found_dir
in $rpathdirs; do
21669 acl_save_libdir
="$libdir"
21670 libdir
="$found_dir"
21671 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
21672 libdir
="$acl_save_libdir"
21673 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21677 if test "X$ltrpathdirs" != "X"; then
21678 for found_dir
in $ltrpathdirs; do
21679 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21693 case $am_cv_func_iconv in #(
21697 as_fn_error $?
"missing \"libiconv\"" "$LINENO" 5 ;;
21700 ac_cpp
='$CXXCPP $CPPFLAGS'
21701 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21702 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21703 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21710 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
21711 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
21713 if test -n "$ac_tool_prefix"; then
21714 for ac_prog
in lipo
21716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21717 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21719 $as_echo_n "checking for $ac_word... " >&6; }
21720 if ${ac_cv_prog__LIPO+:} false
; then :
21721 $as_echo_n "(cached) " >&6
21723 if test -n "$_LIPO"; then
21724 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
21726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21727 for as_dir
in $PATH
21730 test -z "$as_dir" && as_dir
=.
21731 for ac_exec_ext
in '' $ac_executable_extensions; do
21732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21733 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
21734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21743 _LIPO
=$ac_cv_prog__LIPO
21744 if test -n "$_LIPO"; then
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
21746 $as_echo "$_LIPO" >&6; }
21748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21749 $as_echo "no" >&6; }
21753 test -n "$_LIPO" && break
21756 if test -z "$_LIPO"; then
21758 for ac_prog
in lipo
21760 # Extract the first word of "$ac_prog", so it can be a program name with args.
21761 set dummy
$ac_prog; ac_word
=$2
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21763 $as_echo_n "checking for $ac_word... " >&6; }
21764 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
21765 $as_echo_n "(cached) " >&6
21767 if test -n "$ac_ct__LIPO"; then
21768 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
21770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21771 for as_dir
in $PATH
21774 test -z "$as_dir" && as_dir
=.
21775 for ac_exec_ext
in '' $ac_executable_extensions; do
21776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21777 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
21778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21787 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
21788 if test -n "$ac_ct__LIPO"; then
21789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
21790 $as_echo "$ac_ct__LIPO" >&6; }
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21793 $as_echo "no" >&6; }
21797 test -n "$ac_ct__LIPO" && break
21800 if test "x$ac_ct__LIPO" = x
; then
21801 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
21803 case $cross_compiling:$ac_tool_warned in
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21807 ac_tool_warned
=yes ;;
21813 if test -n "$ac_tool_prefix"; then
21816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21817 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21819 $as_echo_n "checking for $ac_word... " >&6; }
21820 if ${ac_cv_prog__NM+:} false
; then :
21821 $as_echo_n "(cached) " >&6
21823 if test -n "$_NM"; then
21824 ac_cv_prog__NM
="$_NM" # Let the user override the test.
21826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21827 for as_dir
in $PATH
21830 test -z "$as_dir" && as_dir
=.
21831 for ac_exec_ext
in '' $ac_executable_extensions; do
21832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21833 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
21834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21843 _NM
=$ac_cv_prog__NM
21844 if test -n "$_NM"; then
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
21846 $as_echo "$_NM" >&6; }
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21849 $as_echo "no" >&6; }
21853 test -n "$_NM" && break
21856 if test -z "$_NM"; then
21860 # Extract the first word of "$ac_prog", so it can be a program name with args.
21861 set dummy
$ac_prog; ac_word
=$2
21862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21863 $as_echo_n "checking for $ac_word... " >&6; }
21864 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
21865 $as_echo_n "(cached) " >&6
21867 if test -n "$ac_ct__NM"; then
21868 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
21870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21871 for as_dir
in $PATH
21874 test -z "$as_dir" && as_dir
=.
21875 for ac_exec_ext
in '' $ac_executable_extensions; do
21876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21877 ac_cv_prog_ac_ct__NM
="$ac_prog"
21878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21887 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
21888 if test -n "$ac_ct__NM"; then
21889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
21890 $as_echo "$ac_ct__NM" >&6; }
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21893 $as_echo "no" >&6; }
21897 test -n "$ac_ct__NM" && break
21900 if test "x$ac_ct__NM" = x
; then
21901 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
21903 case $cross_compiling:$ac_tool_warned in
21905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21907 ac_tool_warned
=yes ;;
21913 if test -n "$ac_tool_prefix"; then
21914 for ac_prog
in otool
21916 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21917 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21919 $as_echo_n "checking for $ac_word... " >&6; }
21920 if ${ac_cv_prog__OTOOL+:} false
; then :
21921 $as_echo_n "(cached) " >&6
21923 if test -n "$_OTOOL"; then
21924 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
21926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21927 for as_dir
in $PATH
21930 test -z "$as_dir" && as_dir
=.
21931 for ac_exec_ext
in '' $ac_executable_extensions; do
21932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21933 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
21934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21943 _OTOOL
=$ac_cv_prog__OTOOL
21944 if test -n "$_OTOOL"; then
21945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
21946 $as_echo "$_OTOOL" >&6; }
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21949 $as_echo "no" >&6; }
21953 test -n "$_OTOOL" && break
21956 if test -z "$_OTOOL"; then
21957 ac_ct__OTOOL
=$_OTOOL
21958 for ac_prog
in otool
21960 # Extract the first word of "$ac_prog", so it can be a program name with args.
21961 set dummy
$ac_prog; ac_word
=$2
21962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21963 $as_echo_n "checking for $ac_word... " >&6; }
21964 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
21965 $as_echo_n "(cached) " >&6
21967 if test -n "$ac_ct__OTOOL"; then
21968 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
21970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21971 for as_dir
in $PATH
21974 test -z "$as_dir" && as_dir
=.
21975 for ac_exec_ext
in '' $ac_executable_extensions; do
21976 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21977 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
21978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21987 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
21988 if test -n "$ac_ct__OTOOL"; then
21989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
21990 $as_echo "$ac_ct__OTOOL" >&6; }
21992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21993 $as_echo "no" >&6; }
21997 test -n "$ac_ct__OTOOL" && break
22000 if test "x$ac_ct__OTOOL" = x
; then
22001 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
22003 case $cross_compiling:$ac_tool_warned in
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22007 ac_tool_warned
=yes ;;
22009 _OTOOL
=$ac_ct__OTOOL
22015 CY_ATTACH_GROUP
=procmod
22022 if test "x$CY_MACH" = x1
; then
22031 ac_config_files
="$ac_config_files Makefile"
22033 cat >confcache
<<\_ACEOF
22034 # This file is a shell script that caches the results of configure
22035 # tests run on this system so they can be shared between configure
22036 # scripts and configure runs, see configure's option --config-cache.
22037 # It is not useful on other systems. If it contains results you don't
22038 # want to keep, you may remove or edit it.
22040 # config.status only pays attention to the cache file if you give it
22041 # the --recheck option to rerun configure.
22043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22045 # following values.
22049 # The following way of writing the cache mishandles newlines in values,
22050 # but we know of no workaround that is simple, portable, and efficient.
22051 # So, we kill variables containing newlines.
22052 # Ultrix sh set writes to stderr and can't be redirected directly,
22053 # and sets the high bit in the cache file unless we assign to the vars.
22055 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22056 eval ac_val
=\$
$ac_var
22060 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22061 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22064 _
| IFS
| as_nl
) ;; #(
22065 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22066 *) { eval $ac_var=; unset $ac_var;} ;;
22072 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22073 *${as_nl}ac_space
=\
*)
22074 # `set' does not quote correctly, so add quotes: double-quote
22075 # substitution turns \\\\ into \\, and sed turns \\ into \.
22078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22081 # `set' quotes correctly as required by POSIX, so do not add quotes.
22082 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22091 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22093 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22095 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22096 if test -w "$cache_file"; then
22097 if test "x$cache_file" != "x/dev/null"; then
22098 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22099 $as_echo "$as_me: updating cache $cache_file" >&6;}
22100 if test ! -f "$cache_file" || test -h "$cache_file"; then
22101 cat confcache
>"$cache_file"
22103 case $cache_file in #(
22105 mv -f confcache
"$cache_file"$$
&&
22106 mv -f "$cache_file"$$
"$cache_file" ;; #(
22108 mv -f confcache
"$cache_file" ;;
22113 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22114 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22119 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22120 # Let make expand exec_prefix.
22121 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22123 # Transform confdefs.h into DEFS.
22124 # Protect against shell expansion while executing Makefile rules.
22125 # Protect against Makefile macro expansion.
22127 # If the first sed substitution is executed (which looks for macros that
22128 # take arguments), then branch to the quote section. Otherwise,
22129 # look for a macro that doesn't take arguments.
22139 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
22141 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
22145 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
22158 DEFS
=`sed -n "$ac_script" confdefs.h`
22164 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22165 # 1. Remove the extension, and $U if already installed.
22166 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22167 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22168 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22169 # will be set to the directory where LIBOBJS objects are built.
22170 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22171 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22173 LIBOBJS
=$ac_libobjs
22175 LTLIBOBJS
=$ac_ltlibobjs
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22179 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22180 if test -n "$am_sleep_pid"; then
22181 # Hide warnings about reused PIDs.
22182 wait $am_sleep_pid 2>/dev
/null
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22185 $as_echo "done" >&6; }
22186 if test -n "$EXEEXT"; then
22188 am__EXEEXT_FALSE
='#'
22190 am__EXEEXT_TRUE
='#'
22194 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22195 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22198 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22199 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
22200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22202 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
22203 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
22204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22206 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22207 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22208 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22210 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
22211 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
22212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22214 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
22215 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
22216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22218 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
22219 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
22220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22223 : "${CONFIG_STATUS=./config.status}"
22225 ac_clean_files_save
=$ac_clean_files
22226 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22228 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22230 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22232 # Generated by $as_me.
22233 # Run this file to recreate the current configuration.
22234 # Compiler output produced by configure, useful for debugging
22235 # configure, is in config.log if it exists.
22238 ac_cs_recheck=false
22241 SHELL=\${CONFIG_SHELL-$SHELL}
22244 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
22245 ## -------------------- ##
22246 ## M4sh Initialization. ##
22247 ## -------------------- ##
22249 # Be more Bourne compatible
22250 DUALCASE
=1; export DUALCASE
# for MKS sh
22251 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22254 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22255 # is contrary to our usage. Disable this feature.
22256 alias -g '${1+"$@"}'='"$@"'
22257 setopt NO_GLOB_SUBST
22259 case `(set -o) 2>/dev/null` in #(
22271 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22272 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22273 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22274 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22275 # Prefer a ksh shell builtin over an external printf program on Solaris,
22276 # but without wasting forks for bash or zsh.
22277 if test -z "$BASH_VERSION$ZSH_VERSION" \
22278 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22279 as_echo='print
-r --'
22280 as_echo_n='print
-rn --'
22281 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22282 as_echo='printf %s
\n'
22283 as_echo_n='printf %s
'
22285 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22286 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22287 as_echo_n='/usr
/ucb
/echo -n'
22289 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22290 as_echo_n_body='eval
22294 expr "X$arg" : "X\\(.*\\)$as_nl";
22295 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22297 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22299 export as_echo_n_body
22300 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22302 export as_echo_body
22303 as_echo='sh
-c $as_echo_body as_echo
'
22306 # The user is always right.
22307 if test "${PATH_SEPARATOR+set}" != set; then
22309 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22310 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22317 # We need space, tab and new line, in precisely that order. Quoting is
22318 # there to prevent editors from complaining about space-tab.
22319 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22320 # splitting by setting IFS to empty value.)
22323 # Find who we are. Look in the path if we contain no directory separator.
22326 *[\\/]* ) as_myself=$0 ;;
22327 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22328 for as_dir in $PATH
22331 test -z "$as_dir" && as_dir=.
22332 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22338 # We did not find ourselves, most probably we were run as `sh COMMAND'
22339 # in which case we are not to be found in the path.
22340 if test "x$as_myself" = x
; then
22343 if test ! -f "$as_myself"; then
22344 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22348 # Unset variables that we do not need and which cause bugs (e.g. in
22349 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22350 # suppresses any "Segmentation fault" message there. '((' could
22351 # trigger a bug in pdksh 5.2.14.
22352 for as_var
in BASH_ENV ENV MAIL MAILPATH
22353 do eval test x\
${$as_var+set} = xset \
22354 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
22367 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22371 # ----------------------------------------
22372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22374 # script with STATUS, using 1 if that was 0.
22377 as_status
=$1; test $as_status -eq 0 && as_status
=1
22379 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22382 $as_echo "$as_me: error: $2" >&2
22383 as_fn_exit
$as_status
22387 # as_fn_set_status STATUS
22388 # -----------------------
22389 # Set $? to STATUS, without forking.
22390 as_fn_set_status
()
22393 } # as_fn_set_status
22395 # as_fn_exit STATUS
22396 # -----------------
22397 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22401 as_fn_set_status
$1
22407 # Portably unset VAR.
22410 { eval $1=; unset $1;}
22412 as_unset
=as_fn_unset
22413 # as_fn_append VAR VALUE
22414 # ----------------------
22415 # Append the text in VALUE to the end of the definition contained in VAR. Take
22416 # advantage of any shell optimizations that allow amortized linear growth over
22417 # repeated appends, instead of the typical quadratic growth present in naive
22419 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22420 eval 'as_fn_append ()
22431 # as_fn_arith ARG...
22432 # ------------------
22433 # Perform arithmetic evaluation on the ARGs, and store the result in the
22434 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22435 # must be portable across $(()) and expr.
22436 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22437 eval 'as_fn_arith ()
22444 as_val
=`expr "$@" || test $? -eq 1`
22449 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22450 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22456 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22457 as_basename
=basename
22462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22468 as_me
=`$as_basename -- "$0" ||
22469 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22470 X"$0" : 'X\(//\)$' \| \
22471 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22473 sed '/^.*\/\([^/][^/]*\)\/*$/{
22487 # Avoid depending upon Character Ranges.
22488 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22489 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22490 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22491 as_cr_digits
='0123456789'
22492 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22494 ECHO_C
= ECHO_N
= ECHO_T
=
22495 case `echo -n x` in #(((((
22497 case `echo 'xy\c'` in
22498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22500 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22507 rm -f conf$$ conf$$.exe conf$$.
file
22508 if test -d conf$$.dir
; then
22509 rm -f conf$$.dir
/conf$$.
file
22512 mkdir conf$$.dir
2>/dev
/null
22514 if (echo >conf$$.
file) 2>/dev
/null
; then
22515 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22517 # ... but there are two gotchas:
22518 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22519 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22520 # In both cases, we have to default to `cp -pR'.
22521 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
22523 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22531 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22532 rmdir conf$$.dir
2>/dev
/null
22537 # Create "$as_dir" as a directory, including parents if necessary.
22542 -*) as_dir
=.
/$as_dir;;
22544 test -d "$as_dir" || eval $as_mkdir_p || {
22548 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22549 *) as_qdir
=$as_dir;;
22551 as_dirs
="'$as_qdir' $as_dirs"
22552 as_dir
=`$as_dirname -- "$as_dir" ||
22553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22554 X"$as_dir" : 'X\(//\)[^/]' \| \
22555 X"$as_dir" : 'X\(//\)$' \| \
22556 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22557 $as_echo X"$as_dir" |
22558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22562 /^X\(\/\/\)[^/].*/{
22575 test -d "$as_dir" && break
22577 test -z "$as_dirs" || eval "mkdir $as_dirs"
22578 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22582 if mkdir -p .
2>/dev
/null
; then
22583 as_mkdir_p
='mkdir -p "$as_dir"'
22585 test -d .
/-p && rmdir .
/-p
22590 # as_fn_executable_p FILE
22591 # -----------------------
22592 # Test if FILE is an executable regular file.
22593 as_fn_executable_p
()
22595 test -f "$1" && test -x "$1"
22596 } # as_fn_executable_p
22597 as_test_x
='test -x'
22598 as_executable_p
=as_fn_executable_p
22600 # Sed expression to map a string onto a valid CPP name.
22601 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22603 # Sed expression to map a string onto a valid variable name.
22604 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22608 ## ----------------------------------- ##
22609 ## Main body of $CONFIG_STATUS script. ##
22610 ## ----------------------------------- ##
22612 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22614 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22615 # Save the log message, to keep $0 and so on meaningful, and to
22616 # report actual input values of CONFIG_FILES etc. instead of their
22617 # values after options handling.
22619 This file was extended by Cycript $as_me 0.9, which was
22620 generated by GNU Autoconf 2.69. Invocation command line was
22622 CONFIG_FILES = $CONFIG_FILES
22623 CONFIG_HEADERS = $CONFIG_HEADERS
22624 CONFIG_LINKS = $CONFIG_LINKS
22625 CONFIG_COMMANDS = $CONFIG_COMMANDS
22628 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22633 case $ac_config_files in *"
22634 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22640 # Files that config.status was made for.
22641 config_files="$ac_config_files"
22642 config_commands="$ac_config_commands"
22646 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22648 \`$as_me' instantiates files and other configuration actions
22649 from templates according to the current configuration. Unless the files
22650 and actions are specified as TAGs, all are instantiated by default.
22652 Usage: $0 [OPTION]... [TAG]...
22654 -h, --help print this help, then exit
22655 -V, --version print version number and configuration settings, then exit
22656 --config print configuration, then exit
22657 -q, --quiet, --silent
22658 do not print progress messages
22659 -d, --debug don't remove temporary files
22660 --recheck update $as_me by reconfiguring in the same conditions
22661 --file=FILE[:TEMPLATE]
22662 instantiate the configuration file FILE
22664 Configuration files:
22667 Configuration commands:
22670 Report bugs to <saurik@saurik.com>.
22671 Cycript home page: <http://www.cycript.org/>."
22674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22675 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22677 Cycript config.status 0.9
22678 configured by $0, generated by GNU Autoconf 2.69,
22679 with options \\"\$ac_cs_config\\"
22681 Copyright (C) 2012 Free Software Foundation, Inc.
22682 This config.status script is free software; the Free Software Foundation
22683 gives unlimited permission to copy, distribute and modify it."
22690 test -n "\$AWK" || AWK=awk
22693 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22694 # The default lists apply if the user does not specify any file.
22700 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22701 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22705 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22717 # Handling of the options.
22718 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22720 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22721 $as_echo "$ac_cs_version"; exit ;;
22722 --config | --confi | --conf | --con | --co | --c )
22723 $as_echo "$ac_cs_config"; exit ;;
22724 --debug | --debu | --deb | --de | --d | -d )
22726 --file | --fil | --fi | --f )
22729 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22730 '') as_fn_error $?
"missing file argument" ;;
22732 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22733 ac_need_defaults
=false
;;
22734 --he | --h | --help | --hel | -h )
22735 $as_echo "$ac_cs_usage"; exit ;;
22736 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22737 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22740 # This is an error.
22741 -*) as_fn_error $?
"unrecognized option: \`$1'
22742 Try \`$0 --help' for more information." ;;
22744 *) as_fn_append ac_config_targets
" $1"
22745 ac_need_defaults
=false
;;
22751 ac_configure_extra_args
=
22753 if $ac_cs_silent; then
22755 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22760 if \$ac_cs_recheck; then
22761 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22763 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22764 CONFIG_SHELL='$SHELL'
22765 export CONFIG_SHELL
22770 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22774 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22775 ## Running $as_me. ##
22781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22785 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22788 # The HP-UX ksh and POSIX shell print the target directory to stdout
22789 # if CDPATH is set.
22790 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22792 sed_quote_subst='$sed_quote_subst'
22793 double_quote_subst='$double_quote_subst'
22794 delay_variable_subst='$delay_variable_subst'
22795 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22796 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22797 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22798 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22799 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22800 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22801 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22802 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22803 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22804 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22805 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22806 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22807 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22808 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22809 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22810 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22811 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22812 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22813 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22814 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22815 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22816 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22817 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22818 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22819 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22820 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22821 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22822 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22823 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22824 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22825 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22826 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22827 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22828 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22829 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22830 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22831 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22832 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22833 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22834 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22835 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22836 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22837 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22838 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22839 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22840 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22841 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22842 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22843 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22844 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22845 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22846 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22847 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22848 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22849 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22850 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22851 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"`'
22852 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22853 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22854 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22855 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22856 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22857 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22858 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22859 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22860 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22861 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22862 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22863 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22864 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22865 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22866 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22867 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22868 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22869 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22870 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22871 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22872 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22873 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22874 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22875 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22876 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22877 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22878 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22879 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22880 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22881 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22882 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22883 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22884 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22885 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22886 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22887 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22888 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22889 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22890 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22891 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22892 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22893 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22894 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22895 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22896 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22897 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22898 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22899 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22900 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22901 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22902 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22903 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22904 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22905 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22906 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22907 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22908 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22909 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22910 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22911 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22912 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22913 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22914 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22915 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22916 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22917 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22918 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22919 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22920 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22921 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22922 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22923 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22924 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22925 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22926 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22927 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22928 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22929 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22930 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22931 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22932 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22933 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22934 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22935 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22936 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22937 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22938 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22939 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22940 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22941 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22942 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22943 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22944 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22945 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22946 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22947 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22948 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22949 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22950 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22951 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22952 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22953 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22954 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22955 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22956 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22957 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22958 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22959 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22960 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22961 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22962 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22963 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22964 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22965 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22966 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22967 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22968 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22969 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22970 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22971 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22972 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22973 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22974 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22975 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22976 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22977 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22978 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22981 LTCFLAGS='$LTCFLAGS'
22982 compiler='$compiler_DEFAULT'
22984 # A function that is used when there is no print builtin or printf.
22985 func_fallback_echo ()
22987 eval 'cat <<_LTECHO_EOF
22992 # Quote evaled strings.
23007 deplibs_check_method \
23012 sharedlib_from_linklib_cmd \
23015 archiver_list_spec \
23021 lt_cv_sys_global_symbol_pipe \
23022 lt_cv_sys_global_symbol_to_cdecl \
23023 lt_cv_sys_global_symbol_to_c_name_address \
23024 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23025 nm_file_list_spec \
23026 lt_prog_compiler_no_builtin_flag \
23027 lt_prog_compiler_pic \
23028 lt_prog_compiler_wl \
23029 lt_prog_compiler_static \
23030 lt_cv_prog_compiler_c_o \
23039 export_dynamic_flag_spec \
23040 whole_archive_flag_spec \
23041 compiler_needs_object \
23043 allow_undefined_flag \
23044 no_undefined_flag \
23045 hardcode_libdir_flag_spec \
23046 hardcode_libdir_separator \
23050 variables_saved_for_relink \
23052 library_names_spec \
23054 install_override_mode \
23058 compiler_lib_search_dirs \
23063 compiler_lib_search_path \
23067 lt_prog_compiler_no_builtin_flag_CXX \
23068 lt_prog_compiler_pic_CXX \
23069 lt_prog_compiler_wl_CXX \
23070 lt_prog_compiler_static_CXX \
23071 lt_cv_prog_compiler_c_o_CXX \
23072 export_dynamic_flag_spec_CXX \
23073 whole_archive_flag_spec_CXX \
23074 compiler_needs_object_CXX \
23076 allow_undefined_flag_CXX \
23077 no_undefined_flag_CXX \
23078 hardcode_libdir_flag_spec_CXX \
23079 hardcode_libdir_separator_CXX \
23080 exclude_expsyms_CXX \
23081 include_expsyms_CXX \
23082 file_list_spec_CXX \
23083 compiler_lib_search_dirs_CXX \
23084 predep_objects_CXX \
23085 postdep_objects_CXX \
23088 compiler_lib_search_path_CXX; do
23089 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23090 *[\\\\\\\`\\"\\\$]*)
23091 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23094 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23099 # Double-quote double-evaled strings.
23100 for var in reload_cmds \
23101 old_postinstall_cmds \
23102 old_postuninstall_cmds \
23104 extract_expsyms_cmds \
23105 old_archive_from_new_cmds \
23106 old_archive_from_expsyms_cmds \
23108 archive_expsym_cmds \
23110 module_expsym_cmds \
23111 export_symbols_cmds \
23115 postuninstall_cmds \
23117 sys_lib_search_path_spec \
23118 sys_lib_dlsearch_path_spec \
23120 old_archive_cmds_CXX \
23121 old_archive_from_new_cmds_CXX \
23122 old_archive_from_expsyms_cmds_CXX \
23124 archive_expsym_cmds_CXX \
23126 module_expsym_cmds_CXX \
23127 export_symbols_cmds_CXX \
23129 postlink_cmds_CXX; do
23130 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23131 *[\\\\\\\`\\"\\\$]*)
23132 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23135 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23140 ac_aux_dir='$ac_aux_dir'
23141 xsi_shell='$xsi_shell'
23142 lt_shell_append='$lt_shell_append'
23144 # See if we are running on zsh, and set the options which allow our
23145 # commands through without removal of \ escapes INIT.
23146 if test -n "\${ZSH_VERSION+set}" ; then
23147 setopt NO_GLOB_SUBST
23153 TIMESTAMP='$TIMESTAMP'
23164 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23166 # Handling of arguments.
23167 for ac_config_target
in $ac_config_targets
23169 case $ac_config_target in
23170 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23171 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23172 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23174 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23179 # If the user did not use the arguments to specify the items to instantiate,
23180 # then the envvar interface is used. Set only those that are not.
23181 # We use the long form for the default assignment because of an extremely
23182 # bizarre bug on SunOS 4.1.3.
23183 if $ac_need_defaults; then
23184 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23185 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23188 # Have a temporary directory for convenience. Make it in the build tree
23189 # simply because there is no reason against having it here, and in addition,
23190 # creating and moving files from /tmp can sometimes cause problems.
23191 # Hook for its removal unless debugging.
23192 # Note that there is a small window in which the directory will not be cleaned:
23193 # after its creation but before its name has been assigned to `$tmp'.
23197 trap 'exit_status=$?
23198 : "${ac_tmp:=$tmp}"
23199 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23201 trap 'as_fn_exit 1' 1 2 13 15
23203 # Create a (secure) tmp directory for tmp files.
23206 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23210 tmp
=.
/conf$$
-$RANDOM
23211 (umask 077 && mkdir "$tmp")
23212 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23215 # Set up the scripts for CONFIG_FILES section.
23216 # No need to generate them if there are no CONFIG_FILES.
23217 # This happens for instance with `./config.status config.h'.
23218 if test -n "$CONFIG_FILES"; then
23221 ac_cr
=`echo X | tr X '\015'`
23222 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23223 # But we know of no other shell where ac_cr would be empty at this
23224 # point, so we can use a bashism as a fallback.
23225 if test "x$ac_cr" = x
; then
23226 eval ac_cr
=\$
\'\\r
\'
23228 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23229 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23232 ac_cs_awk_cr
=$ac_cr
23235 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23240 echo "cat >conf$$subs.awk <<_ACEOF" &&
23241 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23243 } >conf$$subs.sh ||
23244 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23245 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23247 for ac_last_try in false false false false false :; do
23248 . ./conf$$subs.sh ||
23249 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23251 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23252 if test $ac_delim_n = $ac_delim_num; then
23254 elif $ac_last_try; then
23255 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23257 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23260 rm -f conf$$subs.sh
23262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23263 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23267 s/^/S["/; s
/!.
*/"]=/
23277 s/\(.\{148\}\)..*/\1/
23279 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23284 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23291 s/\(.\{148\}\)..*/\1/
23293 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23297 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23302 ' <conf$$subs.awk | sed '
23307 ' >>$CONFIG_STATUS || ac_write_fail=1
23308 rm -f conf$$subs.awk
23309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23311 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23312 for (key in S) S_is_set[key] = 1
23318 nfields = split(line, field, "@
")
23320 len = length(field[1])
23321 for (i = 2; i < nfields; i++) {
23323 keylen = length(key)
23324 if (S_is_set[key]) {
23326 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23327 len += length(value) + length(field[++i])
23338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23339 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23340 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23343 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23344 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23347 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23348 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23349 # trailing colons and then remove the whole line if VPATH becomes empty
23350 # (actually we leave an empty line to preserve line numbers).
23351 if test "x
$srcdir" = x.; then
23352 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23371 fi # test -n "$CONFIG_FILES"
23374 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
23379 :[FHLC]) ac_mode=$ac_tag; continue;;
23381 case $ac_mode$ac_tag in
23383 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
23384 :[FH]-) ac_tag=-:-;;
23385 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23402 -) ac_f="$ac_tmp/stdin";;
23403 *) # Look for the file first in the build tree, then in the source tree
23404 # (if the path is not absolute). The absolute path cannot be DOS-style,
23405 # because $ac_f cannot contain `:'.
23409 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23411 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23413 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
23414 as_fn_append ac_file_inputs " '$ac_f'"
23417 # Let's still pretend it is `configure' which instantiates (i.e., don't
23418 # use $as_me), people would be surprised to read:
23419 # /* config.h. Generated by config.status. */
23420 configure_input='Generated from '`
23421 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23423 if test x"$ac_file" != x-; then
23424 configure_input="$ac_file.
$configure_input"
23425 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
23426 $as_echo "$as_me: creating
$ac_file" >&6;}
23428 # Neutralize special characters interpreted by sed in replacement strings.
23429 case $configure_input in #(
23430 *\&* | *\|* | *\\* )
23431 ac_sed_conf_input=`$as_echo "$configure_input" |
23432 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23433 *) ac_sed_conf_input=$configure_input;;
23437 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
23438 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
23443 ac_dir=`$as_dirname -- "$ac_file" ||
23444 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23445 X"$ac_file" : 'X\(//\)[^/]' \| \
23446 X"$ac_file" : 'X\(//\)$' \| \
23447 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23448 $as_echo X"$ac_file" |
23449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23453 /^X\(\/\/\)[^/].*/{
23466 as_dir="$ac_dir"; as_fn_mkdir_p
23470 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23472 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23473 # A "..
" for each directory in $ac_dir_suffix.
23474 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23475 case $ac_top_builddir_sub in
23476 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23477 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23480 ac_abs_top_builddir=$ac_pwd
23481 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23482 # for backward compatibility:
23483 ac_top_builddir=$ac_top_build_prefix
23486 .) # We are building in place.
23488 ac_top_srcdir=$ac_top_builddir_sub
23489 ac_abs_top_srcdir=$ac_pwd ;;
23490 [\\/]* | ?:[\\/]* ) # Absolute name.
23491 ac_srcdir=$srcdir$ac_dir_suffix;
23492 ac_top_srcdir=$srcdir
23493 ac_abs_top_srcdir=$srcdir ;;
23494 *) # Relative name.
23495 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23496 ac_top_srcdir=$ac_top_build_prefix$srcdir
23497 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23499 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23509 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23510 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23512 ac_MKDIR_P=$MKDIR_P
23514 [\\/$]* | ?:[\\/]* ) ;;
23515 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23520 # If the template does not know about datarootdir, expand it.
23521 # FIXME: This hack should be removed a few years after 2.60.
23522 ac_datarootdir_hack=; ac_datarootdir_seen=
23533 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
23534 *datarootdir*) ac_datarootdir_seen=yes;;
23535 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
23537 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
23539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23540 ac_datarootdir_hack='
23541 s&@datadir@&$datadir&g
23542 s&@docdir@&$docdir&g
23543 s&@infodir@&$infodir&g
23544 s&@localedir@&$localedir&g
23545 s&@mandir@&$mandir&g
23546 s&\\\${datarootdir}&$datarootdir&g' ;;
23550 # Neutralize VPATH when `$srcdir' = `.'.
23551 # Shell code in configure.ac might set extrasub.
23552 # FIXME: do we really want to maintain this feature?
23553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23554 ac_sed_extra="$ac_vpsub
23557 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23559 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
23560 s
|@configure_input@
|$ac_sed_conf_input|;t t
23561 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23562 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23563 s
&@srcdir@
&$ac_srcdir&;t t
23564 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23565 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23566 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23567 s
&@builddir@
&$ac_builddir&;t t
23568 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23569 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23570 s
&@INSTALL@
&$ac_INSTALL&;t t
23571 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23572 $ac_datarootdir_hack
23574 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23575 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23577 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23578 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23579 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23580 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23582 which seems to be undefined. Please make sure it is defined" >&5
23583 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23584 which seems to be undefined. Please make sure it is defined" >&2;}
23586 rm -f "$ac_tmp/stdin"
23588 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23589 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23591 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23595 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23596 $as_echo "$as_me: executing $ac_file commands" >&6;}
23601 case $ac_file$ac_mode in
23602 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23603 # Older Autoconf quotes --file arguments for eval, but not when files
23604 # are listed without --file. Let's play safe and only
enable the
eval
23605 # if we detect the quoting.
23606 case $CONFIG_FILES in
23607 *\'*) eval set x
"$CONFIG_FILES" ;;
23608 *) set x
$CONFIG_FILES ;;
23613 # Strip MF so we end up with the name of the file.
23614 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23615 # Check whether this is an Automake generated Makefile or not.
23616 # We used to match only the files named 'Makefile.in', but
23617 # some people rename them; so instead we look at the file content.
23618 # Grep'ing the first line is not enough: some people post-process
23619 # each Makefile.in and add a new line on top of each file to say so.
23620 # Grep'ing the whole file is not good either: AIX grep has a line
23621 # limit of 2048, but all sed's we know have understand at least 4000.
23622 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23623 dirpart
=`$as_dirname -- "$mf" ||
23624 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23625 X"$mf" : 'X\(//\)[^/]' \| \
23626 X"$mf" : 'X\(//\)$' \| \
23627 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23633 /^X\(\/\/\)[^/].*/{
23649 # Extract the definition of DEPDIR, am__include, and am__quote
23650 # from the Makefile without running 'make'.
23651 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23652 test -z "$DEPDIR" && continue
23653 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23654 test -z "am__include" && continue
23655 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23656 # Find all dependency output files, they are included files with
23657 # $(DEPDIR) in their names. We invoke sed twice because it is the
23658 # simplest approach to changing $(DEPDIR) to its actual value in the
23660 for file in `sed -n "
23661 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23662 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23663 # Make sure the directory exists.
23664 test -f "$dirpart/$file" && continue
23665 fdir
=`$as_dirname -- "$file" ||
23666 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23667 X"$file" : 'X\(//\)[^/]' \| \
23668 X"$file" : 'X\(//\)$' \| \
23669 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23670 $as_echo X"$file" |
23671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23675 /^X\(\/\/\)[^/].*/{
23688 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23689 # echo "creating $dirpart/$file"
23690 echo '# dummy' > "$dirpart/$file"
23697 # See if we are running on zsh, and set the options which allow our
23698 # commands through without removal of \ escapes.
23699 if test -n "${ZSH_VERSION+set}" ; then
23700 setopt NO_GLOB_SUBST
23703 cfgfile
="${ofile}T"
23704 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23707 cat <<_LT_EOF >> "$cfgfile"
23710 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23711 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23712 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23713 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23715 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23716 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23718 # Written by Gordon Matzigkeit, 1996
23720 # This file is part of GNU Libtool.
23722 # GNU Libtool is free software; you can redistribute it and/or
23723 # modify it under the terms of the GNU General Public License as
23724 # published by the Free Software Foundation; either version 2 of
23725 # the License, or (at your option) any later version.
23727 # As a special exception to the GNU General Public License,
23728 # if you distribute this file as part of a program or library that
23729 # is built using GNU Libtool, you may include this file under the
23730 # same distribution terms that you use for the rest of that program.
23732 # GNU Libtool is distributed in the hope that it will be useful,
23733 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23734 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23735 # GNU General Public License for more details.
23737 # You should have received a copy of the GNU General Public License
23738 # along with GNU Libtool; see the file COPYING. If not, a copy
23739 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23740 # obtained by writing to the Free Software Foundation, Inc.,
23741 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23744 # The names of the tagged configurations supported by this script.
23745 available_tags="CXX "
23747 # ### BEGIN LIBTOOL CONFIG
23749 # Which release of libtool.m4 was used?
23750 macro_version=$macro_version
23751 macro_revision=$macro_revision
23753 # Whether or not to build static libraries.
23754 build_old_libs=$enable_static
23756 # Whether or not to build shared libraries.
23757 build_libtool_libs=$enable_shared
23759 # What type of objects to build.
23762 # Whether or not to optimize for fast installation.
23763 fast_install=$enable_fast_install
23765 # Shell to use when invoking shell scripts.
23768 # An echo program that protects backslashes.
23771 # The PATH separator for the build system.
23772 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23775 host_alias=$host_alias
23779 # The build system.
23780 build_alias=$build_alias
23784 # A sed program that does not truncate output.
23787 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23788 Xsed="\$SED -e 1s/^X//"
23790 # A grep program that handles long lines.
23796 # A literal string matcher.
23799 # A BSD- or MS-compatible name lister.
23802 # Whether we need soft or hard links.
23805 # What is the maximum length of a command?
23806 max_cmd_len=$max_cmd_len
23808 # Object file suffix (normally "o").
23811 # Executable file suffix (normally "").
23814 # whether the shell understands "unset".
23817 # turn spaces into newlines.
23820 # turn newlines into spaces.
23823 # convert \$build file names to \$host format.
23824 to_host_file_cmd=$lt_cv_to_host_file_cmd
23826 # convert \$build files to toolchain format.
23827 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23829 # An object symbol dumper.
23830 OBJDUMP=$lt_OBJDUMP
23832 # Method to check whether dependent libraries are shared objects.
23833 deplibs_check_method=$lt_deplibs_check_method
23835 # Command to use when deplibs_check_method = "file_magic".
23836 file_magic_cmd=$lt_file_magic_cmd
23838 # How to find potential files when deplibs_check_method = "file_magic".
23839 file_magic_glob=$lt_file_magic_glob
23841 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23842 want_nocaseglob=$lt_want_nocaseglob
23844 # DLL creation program.
23845 DLLTOOL=$lt_DLLTOOL
23847 # Command to associate shared and link libraries.
23848 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23853 # Flags to create an archive.
23854 AR_FLAGS=$lt_AR_FLAGS
23856 # How to feed a file listing to the archiver.
23857 archiver_list_spec=$lt_archiver_list_spec
23859 # A symbol stripping program.
23862 # Commands used to install an old-style archive.
23864 old_postinstall_cmds=$lt_old_postinstall_cmds
23865 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23867 # Whether to use a lock for old archive extraction.
23868 lock_old_archive_extraction=$lock_old_archive_extraction
23873 # LTCC compiler flags.
23874 LTCFLAGS=$lt_CFLAGS
23876 # Take the output of nm and produce a listing of raw symbols and C names.
23877 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23879 # Transform the output of nm in a proper C declaration.
23880 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23882 # Transform the output of nm in a C name address pair.
23883 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23885 # Transform the output of nm in a C name address pair when lib prefix is needed.
23886 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23888 # Specify filename containing input files for \$NM.
23889 nm_file_list_spec=$lt_nm_file_list_spec
23891 # The root where to search for dependent libraries,and in which our libraries should be installed.
23892 lt_sysroot=$lt_sysroot
23894 # The name of the directory that contains temporary libtool files.
23897 # Used to examine libraries when file_magic_cmd begins with "file".
23898 MAGIC_CMD=$MAGIC_CMD
23900 # Must we lock files when doing compilation?
23901 need_locks=$lt_need_locks
23904 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23906 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23907 DSYMUTIL=$lt_DSYMUTIL
23909 # Tool to change global to local symbols on Mac OS X.
23912 # Tool to manipulate fat objects and archives on Mac OS X.
23915 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23918 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23919 OTOOL64=$lt_OTOOL64
23921 # Old archive suffix (normally "a").
23924 # Shared library suffix (normally ".so").
23925 shrext_cmds=$lt_shrext_cmds
23927 # The commands to extract the exported symbol list from a shared archive.
23928 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23930 # Variables whose values should be saved in libtool wrapper scripts and
23931 # restored at link time.
23932 variables_saved_for_relink=$lt_variables_saved_for_relink
23934 # Do we need the "lib" prefix for modules?
23935 need_lib_prefix=$need_lib_prefix
23937 # Do we need a version for libraries?
23938 need_version=$need_version
23940 # Library versioning type.
23941 version_type=$version_type
23943 # Shared library runtime path variable.
23944 runpath_var=$runpath_var
23946 # Shared library path variable.
23947 shlibpath_var=$shlibpath_var
23949 # Is shlibpath searched before the hard-coded library search path?
23950 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23952 # Format of library name prefix.
23953 libname_spec=$lt_libname_spec
23955 # List of archive names. First name is the real one, the rest are links.
23956 # The last name is the one that the linker finds with -lNAME
23957 library_names_spec=$lt_library_names_spec
23959 # The coded name of the library, if different from the real name.
23960 soname_spec=$lt_soname_spec
23962 # Permission mode override for installation of shared libraries.
23963 install_override_mode=$lt_install_override_mode
23965 # Command to use after installation of a shared archive.
23966 postinstall_cmds=$lt_postinstall_cmds
23968 # Command to use after uninstallation of a shared archive.
23969 postuninstall_cmds=$lt_postuninstall_cmds
23971 # Commands used to finish a libtool library installation in a directory.
23972 finish_cmds=$lt_finish_cmds
23974 # As "finish_cmds", except a single script fragment to be evaled but
23976 finish_eval=$lt_finish_eval
23978 # Whether we should hardcode library paths into libraries.
23979 hardcode_into_libs=$hardcode_into_libs
23981 # Compile-time system search path for libraries.
23982 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23984 # Run-time system search path for libraries.
23985 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23987 # Whether dlopen is supported.
23988 dlopen_support=$enable_dlopen
23990 # Whether dlopen of programs is supported.
23991 dlopen_self=$enable_dlopen_self
23993 # Whether dlopen of statically linked programs is supported.
23994 dlopen_self_static=$enable_dlopen_self_static
23996 # Commands to strip libraries.
23997 old_striplib=$lt_old_striplib
23998 striplib=$lt_striplib
24001 # The linker used to build libraries.
24004 # How to create reloadable object files.
24005 reload_flag=$lt_reload_flag
24006 reload_cmds=$lt_reload_cmds
24008 # Commands used to build an old-style archive.
24009 old_archive_cmds=$lt_old_archive_cmds
24011 # A language specific compiler.
24014 # Is the compiler the GNU compiler?
24017 # Compiler flag to turn off builtin functions.
24018 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24020 # Additional compiler flags for building library objects.
24021 pic_flag=$lt_lt_prog_compiler_pic
24023 # How to pass a linker flag through the compiler.
24024 wl=$lt_lt_prog_compiler_wl
24026 # Compiler flag to prevent dynamic linking.
24027 link_static_flag=$lt_lt_prog_compiler_static
24029 # Does compiler simultaneously support -c and -o options?
24030 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24032 # Whether or not to add -lc for building shared libraries.
24033 build_libtool_need_lc=$archive_cmds_need_lc
24035 # Whether or not to disallow shared libs when runtime libs are static.
24036 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24038 # Compiler flag to allow reflexive dlopens.
24039 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24041 # Compiler flag to generate shared objects directly from archives.
24042 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24044 # Whether the compiler copes with passing no objects directly.
24045 compiler_needs_object=$lt_compiler_needs_object
24047 # Create an old-style archive from a shared archive.
24048 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24050 # Create a temporary old-style archive to link instead of a shared archive.
24051 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24053 # Commands used to build a shared archive.
24054 archive_cmds=$lt_archive_cmds
24055 archive_expsym_cmds=$lt_archive_expsym_cmds
24057 # Commands used to build a loadable module if different from building
24058 # a shared archive.
24059 module_cmds=$lt_module_cmds
24060 module_expsym_cmds=$lt_module_expsym_cmds
24062 # Whether we are building with GNU ld or not.
24063 with_gnu_ld=$lt_with_gnu_ld
24065 # Flag that allows shared libraries with undefined symbols to be built.
24066 allow_undefined_flag=$lt_allow_undefined_flag
24068 # Flag that enforces no undefined symbols.
24069 no_undefined_flag=$lt_no_undefined_flag
24071 # Flag to hardcode \$libdir into a binary during linking.
24072 # This must work even if \$libdir does not exist
24073 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24075 # Whether we need a single "-rpath" flag with a separated argument.
24076 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24078 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24079 # DIR into the resulting binary.
24080 hardcode_direct=$hardcode_direct
24082 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24083 # DIR into the resulting binary and the resulting library dependency is
24084 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24085 # library is relocated.
24086 hardcode_direct_absolute=$hardcode_direct_absolute
24088 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24089 # into the resulting binary.
24090 hardcode_minus_L=$hardcode_minus_L
24092 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24093 # into the resulting binary.
24094 hardcode_shlibpath_var=$hardcode_shlibpath_var
24096 # Set to "yes" if building a shared library automatically hardcodes DIR
24097 # into the library and all subsequent libraries and executables linked
24099 hardcode_automatic=$hardcode_automatic
24101 # Set to yes if linker adds runtime paths of dependent libraries
24102 # to runtime path list.
24103 inherit_rpath=$inherit_rpath
24105 # Whether libtool must link a program against all its dependency libraries.
24106 link_all_deplibs=$link_all_deplibs
24108 # Set to "yes" if exported symbols are required.
24109 always_export_symbols=$always_export_symbols
24111 # The commands to list exported symbols.
24112 export_symbols_cmds=$lt_export_symbols_cmds
24114 # Symbols that should not be listed in the preloaded symbols.
24115 exclude_expsyms=$lt_exclude_expsyms
24117 # Symbols that must always be exported.
24118 include_expsyms=$lt_include_expsyms
24120 # Commands necessary for linking programs (against libraries) with templates.
24121 prelink_cmds=$lt_prelink_cmds
24123 # Commands necessary for finishing linking programs.
24124 postlink_cmds=$lt_postlink_cmds
24126 # Specify filename containing input files.
24127 file_list_spec=$lt_file_list_spec
24129 # How to hardcode a shared library path into an executable.
24130 hardcode_action=$hardcode_action
24132 # The directories searched by this compiler when creating a shared library.
24133 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24135 # Dependencies to place before and after the objects being linked to
24136 # create a shared library.
24137 predep_objects=$lt_predep_objects
24138 postdep_objects=$lt_postdep_objects
24139 predeps=$lt_predeps
24140 postdeps=$lt_postdeps
24142 # The library search path used internally by the compiler when linking
24143 # a shared library.
24144 compiler_lib_search_path=$lt_compiler_lib_search_path
24146 # ### END LIBTOOL CONFIG
24152 cat <<\_LT_EOF
>> "$cfgfile"
24153 # AIX sometimes has problems with the GCC collect2 program. For some
24154 # reason, if we set the COLLECT_NAMES environment variable, the problems
24155 # vanish in a puff of smoke.
24156 if test "X${COLLECT_NAMES+set}" != Xset
; then
24158 export COLLECT_NAMES
24165 ltmain
="$ac_aux_dir/ltmain.sh"
24168 # We use sed instead of cat because bash on DJGPP gets confused if
24169 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24170 # text mode, it properly converts lines to CR/LF. This bash problem
24171 # is reportedly fixed, but why not run on old versions too?
24172 sed '$q' "$ltmain" >> "$cfgfile" \
24173 || (rm -f "$cfgfile"; exit 1)
24175 if test x
"$xsi_shell" = xyes
; then
24176 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
24180 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24181 \ * ) func_dirname_result="${3}" ;;\
24183 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
24184 && mv -f "$cfgfile.tmp" "$cfgfile" \
24185 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24186 test 0 -eq $?
|| _lt_function_replace_fail
=:
24189 sed -e '/^func_basename ()$/,/^} # func_basename /c\
24192 \ func_basename_result="${1##*/}"\
24193 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
24194 && mv -f "$cfgfile.tmp" "$cfgfile" \
24195 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24196 test 0 -eq $?
|| _lt_function_replace_fail
=:
24199 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
24200 func_dirname_and_basename ()\
24203 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24204 \ * ) func_dirname_result="${3}" ;;\
24206 \ func_basename_result="${1##*/}"\
24207 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
24208 && mv -f "$cfgfile.tmp" "$cfgfile" \
24209 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24210 test 0 -eq $?
|| _lt_function_replace_fail
=:
24213 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
24216 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
24217 \ # positional parameters, so assign one to ordinary parameter first.\
24218 \ func_stripname_result=${3}\
24219 \ func_stripname_result=${func_stripname_result#"${1}"}\
24220 \ func_stripname_result=${func_stripname_result%"${2}"}\
24221 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
24222 && mv -f "$cfgfile.tmp" "$cfgfile" \
24223 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24224 test 0 -eq $?
|| _lt_function_replace_fail
=:
24227 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
24228 func_split_long_opt ()\
24230 \ func_split_long_opt_name=${1%%=*}\
24231 \ func_split_long_opt_arg=${1#*=}\
24232 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
24233 && mv -f "$cfgfile.tmp" "$cfgfile" \
24234 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24235 test 0 -eq $?
|| _lt_function_replace_fail
=:
24238 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
24239 func_split_short_opt ()\
24241 \ func_split_short_opt_arg=${1#??}\
24242 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
24243 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
24244 && mv -f "$cfgfile.tmp" "$cfgfile" \
24245 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24246 test 0 -eq $?
|| _lt_function_replace_fail
=:
24249 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
24253 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
24254 \ *) func_lo2o_result=${1} ;;\
24256 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
24257 && mv -f "$cfgfile.tmp" "$cfgfile" \
24258 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24259 test 0 -eq $?
|| _lt_function_replace_fail
=:
24262 sed -e '/^func_xform ()$/,/^} # func_xform /c\
24265 func_xform_result=${1%.*}.lo\
24266 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
24267 && mv -f "$cfgfile.tmp" "$cfgfile" \
24268 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24269 test 0 -eq $?
|| _lt_function_replace_fail
=:
24272 sed -e '/^func_arith ()$/,/^} # func_arith /c\
24275 func_arith_result=$(( $* ))\
24276 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
24277 && mv -f "$cfgfile.tmp" "$cfgfile" \
24278 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24279 test 0 -eq $?
|| _lt_function_replace_fail
=:
24282 sed -e '/^func_len ()$/,/^} # func_len /c\
24285 func_len_result=${#1}\
24286 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
24287 && mv -f "$cfgfile.tmp" "$cfgfile" \
24288 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24289 test 0 -eq $?
|| _lt_function_replace_fail
=:
24293 if test x
"$lt_shell_append" = xyes
; then
24294 sed -e '/^func_append ()$/,/^} # func_append /c\
24297 eval "${1}+=\\${2}"\
24298 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
24299 && mv -f "$cfgfile.tmp" "$cfgfile" \
24300 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24301 test 0 -eq $?
|| _lt_function_replace_fail
=:
24304 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
24305 func_append_quoted ()\
24307 \ func_quote_for_eval "${2}"\
24308 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
24309 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
24310 && mv -f "$cfgfile.tmp" "$cfgfile" \
24311 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24312 test 0 -eq $?
|| _lt_function_replace_fail
=:
24315 # Save a `func_append' function call where possible by direct use of '+='
24316 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
24317 && mv -f "$cfgfile.tmp" "$cfgfile" \
24318 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24319 test 0 -eq $?
|| _lt_function_replace_fail
=:
24321 # Save a `func_append' function call even when '+=' is not available
24322 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
24323 && mv -f "$cfgfile.tmp" "$cfgfile" \
24324 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24325 test 0 -eq $?
|| _lt_function_replace_fail
=:
24328 if test x
"$_lt_function_replace_fail" = x
":"; then
24329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
24330 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
24334 mv -f "$cfgfile" "$ofile" ||
24335 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24339 cat <<_LT_EOF >> "$ofile"
24341 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24343 # The linker used to build libraries.
24346 # How to create reloadable object files.
24347 reload_flag=$lt_reload_flag_CXX
24348 reload_cmds=$lt_reload_cmds_CXX
24350 # Commands used to build an old-style archive.
24351 old_archive_cmds=$lt_old_archive_cmds_CXX
24353 # A language specific compiler.
24354 CC=$lt_compiler_CXX
24356 # Is the compiler the GNU compiler?
24359 # Compiler flag to turn off builtin functions.
24360 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24362 # Additional compiler flags for building library objects.
24363 pic_flag=$lt_lt_prog_compiler_pic_CXX
24365 # How to pass a linker flag through the compiler.
24366 wl=$lt_lt_prog_compiler_wl_CXX
24368 # Compiler flag to prevent dynamic linking.
24369 link_static_flag=$lt_lt_prog_compiler_static_CXX
24371 # Does compiler simultaneously support -c and -o options?
24372 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24374 # Whether or not to add -lc for building shared libraries.
24375 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24377 # Whether or not to disallow shared libs when runtime libs are static.
24378 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24380 # Compiler flag to allow reflexive dlopens.
24381 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24383 # Compiler flag to generate shared objects directly from archives.
24384 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24386 # Whether the compiler copes with passing no objects directly.
24387 compiler_needs_object=$lt_compiler_needs_object_CXX
24389 # Create an old-style archive from a shared archive.
24390 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24392 # Create a temporary old-style archive to link instead of a shared archive.
24393 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24395 # Commands used to build a shared archive.
24396 archive_cmds=$lt_archive_cmds_CXX
24397 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24399 # Commands used to build a loadable module if different from building
24400 # a shared archive.
24401 module_cmds=$lt_module_cmds_CXX
24402 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24404 # Whether we are building with GNU ld or not.
24405 with_gnu_ld=$lt_with_gnu_ld_CXX
24407 # Flag that allows shared libraries with undefined symbols to be built.
24408 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24410 # Flag that enforces no undefined symbols.
24411 no_undefined_flag=$lt_no_undefined_flag_CXX
24413 # Flag to hardcode \$libdir into a binary during linking.
24414 # This must work even if \$libdir does not exist
24415 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24417 # Whether we need a single "-rpath" flag with a separated argument.
24418 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24420 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24421 # DIR into the resulting binary.
24422 hardcode_direct=$hardcode_direct_CXX
24424 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24425 # DIR into the resulting binary and the resulting library dependency is
24426 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24427 # library is relocated.
24428 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24430 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24431 # into the resulting binary.
24432 hardcode_minus_L=$hardcode_minus_L_CXX
24434 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24435 # into the resulting binary.
24436 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24438 # Set to "yes" if building a shared library automatically hardcodes DIR
24439 # into the library and all subsequent libraries and executables linked
24441 hardcode_automatic=$hardcode_automatic_CXX
24443 # Set to yes if linker adds runtime paths of dependent libraries
24444 # to runtime path list.
24445 inherit_rpath=$inherit_rpath_CXX
24447 # Whether libtool must link a program against all its dependency libraries.
24448 link_all_deplibs=$link_all_deplibs_CXX
24450 # Set to "yes" if exported symbols are required.
24451 always_export_symbols=$always_export_symbols_CXX
24453 # The commands to list exported symbols.
24454 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24456 # Symbols that should not be listed in the preloaded symbols.
24457 exclude_expsyms=$lt_exclude_expsyms_CXX
24459 # Symbols that must always be exported.
24460 include_expsyms=$lt_include_expsyms_CXX
24462 # Commands necessary for linking programs (against libraries) with templates.
24463 prelink_cmds=$lt_prelink_cmds_CXX
24465 # Commands necessary for finishing linking programs.
24466 postlink_cmds=$lt_postlink_cmds_CXX
24468 # Specify filename containing input files.
24469 file_list_spec=$lt_file_list_spec_CXX
24471 # How to hardcode a shared library path into an executable.
24472 hardcode_action=$hardcode_action_CXX
24474 # The directories searched by this compiler when creating a shared library.
24475 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24477 # Dependencies to place before and after the objects being linked to
24478 # create a shared library.
24479 predep_objects=$lt_predep_objects_CXX
24480 postdep_objects=$lt_postdep_objects_CXX
24481 predeps=$lt_predeps_CXX
24482 postdeps=$lt_postdeps_CXX
24484 # The library search path used internally by the compiler when linking
24485 # a shared library.
24486 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24488 # ### END LIBTOOL TAG CONFIG: CXX
24499 ac_clean_files
=$ac_clean_files_save
24501 test $ac_write_fail = 0 ||
24502 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24505 # configure is writing to config.log, and then calls config.status.
24506 # config.status does its own redirection, appending to config.log.
24507 # Unfortunately, on DOS this fails, as config.log is still kept open
24508 # by configure, so config.status won't be able to write to it; its
24509 # output is simply discarded. So we exec the FD to /dev/null,
24510 # effectively closing config.log, so it can be properly (re)opened and
24511 # appended to by config.status. When coming back to configure, we
24512 # need to make the FD available again.
24513 if test "$no_create" != yes; then
24515 ac_config_status_args
=
24516 test "$silent" = yes &&
24517 ac_config_status_args
="$ac_config_status_args --quiet"
24519 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24521 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24522 # would make configure fail if this is the last instruction.
24523 $ac_cs_success || as_fn_exit
1
24525 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24527 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}