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
720 am__fastdepOBJCXX_FALSE
721 am__fastdepOBJCXX_TRUE
755 INSTALL_STRIP_PROGRAM
797 program_transform_name
810 enable_option_checking
812 enable_dependency_tracking
826 ac_precious_vars
='build_alias
855 # Initialize some variables set by options.
857 ac_init_version
=false
858 ac_unrecognized_opts
=
860 # The variables have the same names as the options, with
861 # dashes changed to underlines.
869 program_transform_name
=s
,x
,x
,
877 # Installation directory options.
878 # These are left unexpanded so users can "make install exec_prefix=/foo"
879 # and all the variables that are supposed to be based on exec_prefix
880 # by default will actually change.
881 # Use braces instead of parens because sh, perl, etc. also accept them.
882 # (The list follows the same order as the GNU Coding Standards.)
883 bindir
='${exec_prefix}/bin'
884 sbindir
='${exec_prefix}/sbin'
885 libexecdir
='${exec_prefix}/libexec'
886 datarootdir
='${prefix}/share'
887 datadir
='${datarootdir}'
888 sysconfdir
='${prefix}/etc'
889 sharedstatedir
='${prefix}/com'
890 localstatedir
='${prefix}/var'
891 includedir
='${prefix}/include'
892 oldincludedir
='/usr/include'
893 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
894 infodir
='${datarootdir}/info'
899 libdir
='${exec_prefix}/lib'
900 localedir
='${datarootdir}/locale'
901 mandir
='${datarootdir}/man'
907 # If the previous option needs an argument, assign it.
908 if test -n "$ac_prev"; then
909 eval $ac_prev=\
$ac_option
915 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
920 # Accept the important Cygnus configure options, so we can diagnose typos.
922 case $ac_dashdash$ac_option in
926 -bindir | --bindir | --bindi | --bind | --bin | --bi)
928 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
931 -build | --build | --buil | --bui | --bu)
932 ac_prev
=build_alias
;;
933 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
934 build_alias
=$ac_optarg ;;
936 -cache-file | --cache-file | --cache-fil | --cache-fi \
937 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
938 ac_prev
=cache_file
;;
939 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
940 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
941 cache_file
=$ac_optarg ;;
944 cache_file
=config.cache
;;
946 -datadir | --datadir | --datadi | --datad)
948 -datadir=* | --datadir=* | --datadi=* | --datad=*)
949 datadir
=$ac_optarg ;;
951 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
952 | --dataroo | --dataro | --datar)
953 ac_prev
=datarootdir
;;
954 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
955 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
956 datarootdir
=$ac_optarg ;;
958 -disable-* | --disable-*)
959 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
962 as_fn_error $?
"invalid feature name: $ac_useropt"
963 ac_useropt_orig
=$ac_useropt
964 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
970 ac_unrecognized_sep
=', ';;
972 eval enable_
$ac_useropt=no
;;
974 -docdir | --docdir | --docdi | --doc | --do)
976 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
979 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
981 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
984 -enable-* | --enable-*)
985 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
986 # Reject names that are not valid shell variable names.
987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
988 as_fn_error $?
"invalid feature name: $ac_useropt"
989 ac_useropt_orig
=$ac_useropt
990 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991 case $ac_user_opts in
995 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
996 ac_unrecognized_sep
=', ';;
998 eval enable_
$ac_useropt=\
$ac_optarg ;;
1000 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1001 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1002 | --exec | --exe | --ex)
1003 ac_prev
=exec_prefix
;;
1004 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1005 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1006 | --exec=* | --exe=* | --ex=*)
1007 exec_prefix
=$ac_optarg ;;
1009 -gas | --gas | --ga | --g)
1010 # Obsolete; use --with-gas.
1013 -help | --help | --hel | --he | -h)
1014 ac_init_help
=long
;;
1015 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1016 ac_init_help
=recursive
;;
1017 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1018 ac_init_help
=short
;;
1020 -host | --host | --hos | --ho)
1021 ac_prev
=host_alias
;;
1022 -host=* | --host=* | --hos=* | --ho=*)
1023 host_alias
=$ac_optarg ;;
1025 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1027 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1029 htmldir
=$ac_optarg ;;
1031 -includedir | --includedir | --includedi | --included | --include \
1032 | --includ | --inclu | --incl | --inc)
1033 ac_prev
=includedir
;;
1034 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1035 | --includ=* | --inclu=* | --incl=* | --inc=*)
1036 includedir
=$ac_optarg ;;
1038 -infodir | --infodir | --infodi | --infod | --info | --inf)
1040 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1041 infodir
=$ac_optarg ;;
1043 -libdir | --libdir | --libdi | --libd)
1045 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1046 libdir
=$ac_optarg ;;
1048 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1049 | --libexe | --libex | --libe)
1050 ac_prev
=libexecdir
;;
1051 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1052 | --libexe=* | --libex=* | --libe=*)
1053 libexecdir
=$ac_optarg ;;
1055 -localedir | --localedir | --localedi | --localed | --locale)
1056 ac_prev
=localedir
;;
1057 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1058 localedir
=$ac_optarg ;;
1060 -localstatedir | --localstatedir | --localstatedi | --localstated \
1061 | --localstate | --localstat | --localsta | --localst | --locals)
1062 ac_prev
=localstatedir
;;
1063 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1064 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1065 localstatedir
=$ac_optarg ;;
1067 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1069 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1070 mandir
=$ac_optarg ;;
1072 -nfp | --nfp | --nf)
1073 # Obsolete; use --without-fp.
1076 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1077 | --no-cr | --no-c | -n)
1080 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1081 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1084 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1085 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1086 | --oldin | --oldi | --old | --ol | --o)
1087 ac_prev
=oldincludedir
;;
1088 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1089 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1090 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1091 oldincludedir
=$ac_optarg ;;
1093 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1095 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1096 prefix
=$ac_optarg ;;
1098 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1099 | --program-pre | --program-pr | --program-p)
1100 ac_prev
=program_prefix
;;
1101 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1102 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1103 program_prefix
=$ac_optarg ;;
1105 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1106 | --program-suf | --program-su | --program-s)
1107 ac_prev
=program_suffix
;;
1108 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1109 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1110 program_suffix
=$ac_optarg ;;
1112 -program-transform-name | --program-transform-name \
1113 | --program-transform-nam | --program-transform-na \
1114 | --program-transform-n | --program-transform- \
1115 | --program-transform | --program-transfor \
1116 | --program-transfo | --program-transf \
1117 | --program-trans | --program-tran \
1118 | --progr-tra | --program-tr | --program-t)
1119 ac_prev
=program_transform_name
;;
1120 -program-transform-name=* | --program-transform-name=* \
1121 | --program-transform-nam=* | --program-transform-na=* \
1122 | --program-transform-n=* | --program-transform-=* \
1123 | --program-transform=* | --program-transfor=* \
1124 | --program-transfo=* | --program-transf=* \
1125 | --program-trans=* | --program-tran=* \
1126 | --progr-tra=* | --program-tr=* | --program-t=*)
1127 program_transform_name
=$ac_optarg ;;
1129 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1131 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1132 pdfdir
=$ac_optarg ;;
1134 -psdir | --psdir | --psdi | --psd | --ps)
1136 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1139 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1140 | -silent | --silent | --silen | --sile | --sil)
1143 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1145 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1147 sbindir
=$ac_optarg ;;
1149 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1150 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1151 | --sharedst | --shareds | --shared | --share | --shar \
1153 ac_prev
=sharedstatedir
;;
1154 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1155 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1156 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1158 sharedstatedir
=$ac_optarg ;;
1160 -site | --site | --sit)
1162 -site=* | --site=* | --sit=*)
1165 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1167 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1168 srcdir
=$ac_optarg ;;
1170 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1171 | --syscon | --sysco | --sysc | --sys | --sy)
1172 ac_prev
=sysconfdir
;;
1173 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1174 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1175 sysconfdir
=$ac_optarg ;;
1177 -target | --target | --targe | --targ | --tar | --ta | --t)
1178 ac_prev
=target_alias
;;
1179 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1180 target_alias
=$ac_optarg ;;
1182 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1185 -version | --version | --versio | --versi | --vers | -V)
1186 ac_init_version
=: ;;
1189 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1192 as_fn_error $?
"invalid package name: $ac_useropt"
1193 ac_useropt_orig
=$ac_useropt
1194 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1199 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1200 ac_unrecognized_sep
=', ';;
1202 eval with_
$ac_useropt=\
$ac_optarg ;;
1204 -without-* | --without-*)
1205 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1206 # Reject names that are not valid shell variable names.
1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1208 as_fn_error $?
"invalid package name: $ac_useropt"
1209 ac_useropt_orig
=$ac_useropt
1210 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1211 case $ac_user_opts in
1215 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1216 ac_unrecognized_sep
=', ';;
1218 eval with_
$ac_useropt=no
;;
1221 # Obsolete; use --with-x.
1224 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1225 | --x-incl | --x-inc | --x-in | --x-i)
1226 ac_prev
=x_includes
;;
1227 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1228 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1229 x_includes
=$ac_optarg ;;
1231 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1232 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1233 ac_prev
=x_libraries
;;
1234 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1235 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1236 x_libraries
=$ac_optarg ;;
1238 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1239 Try \`$0 --help' for more information"
1243 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1244 # Reject names that are not valid shell variable names.
1245 case $ac_envvar in #(
1246 '' | [0-9]* | *[!_$as_cr_alnum]* )
1247 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1249 eval $ac_envvar=\
$ac_optarg
1250 export $ac_envvar ;;
1253 # FIXME: should be removed in autoconf 3.0.
1254 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1255 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1256 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1257 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1263 if test -n "$ac_prev"; then
1264 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1265 as_fn_error $?
"missing argument to $ac_option"
1268 if test -n "$ac_unrecognized_opts"; then
1269 case $enable_option_checking in
1271 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1276 # Check all directory arguments for consistency.
1277 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1278 datadir sysconfdir sharedstatedir localstatedir includedir \
1279 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1280 libdir localedir mandir
1282 eval ac_val
=\$
$ac_var
1283 # Remove trailing slashes.
1286 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1287 eval $ac_var=\
$ac_val;;
1289 # Be sure to have absolute directory names.
1291 [\\/$
]* | ?
:[\\/]* ) continue;;
1292 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1294 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1297 # There might be people who depend on the old broken behavior: `$host'
1298 # used to hold the argument of --host etc.
1299 # FIXME: To remove some day.
1302 target
=$target_alias
1304 # FIXME: To remove some day.
1305 if test "x$host_alias" != x
; then
1306 if test "x$build_alias" = x
; then
1307 cross_compiling
=maybe
1308 elif test "x$build_alias" != "x$host_alias"; then
1314 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1316 test "$silent" = yes && exec 6>/dev
/null
1319 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di
=`ls -di .` &&
1321 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1322 as_fn_error $?
"working directory cannot be determined"
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 as_fn_error $?
"pwd does not report name of working directory"
1327 # Find the source files, if location was not specified.
1328 if test -z "$srcdir"; then
1329 ac_srcdir_defaulted
=yes
1330 # Try the directory containing this script, then the parent directory.
1331 ac_confdir
=`$as_dirname -- "$as_myself" ||
1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1333 X"$as_myself" : 'X\(//\)[^/]' \| \
1334 X"$as_myself" : 'X\(//\)$' \| \
1335 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1336 $as_echo X"$as_myself" |
1337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1359 ac_srcdir_defaulted
=no
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1362 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1363 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1365 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1369 # When building in place, set srcdir=.
1370 if test "$ac_abs_confdir" = "$ac_pwd"; then
1373 # Remove unnecessary trailing slashes from srcdir.
1374 # Double slashes in file names in object file debugging info
1375 # mess up M-x gdb in Emacs.
1377 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1379 for ac_var
in $ac_precious_vars; do
1380 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1381 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1382 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1383 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1387 # Report the --help message.
1389 if test "$ac_init_help" = "long"; then
1390 # Omit some internal or obsolete options to make the list less imposing.
1391 # This message is too long to be a string in the A/UX 3.1 sh.
1393 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE. See below for descriptions of some of the useful variables.
1400 Defaults for the options are specified in brackets.
1403 -h, --help display this help and exit
1404 --help=short display options specific to this package
1405 --help=recursive display the short help of all the included packages
1406 -V, --version display version information and exit
1407 -q, --quiet, --silent do not print \`checking ...' messages
1408 --cache-file=FILE cache test results in FILE [disabled]
1409 -C, --config-cache alias for \`--cache-file=config.cache'
1410 -n, --no-create do not create output files
1411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 Installation directories:
1414 --prefix=PREFIX install architecture-independent files in PREFIX
1415 [$ac_default_prefix]
1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1424 For better control, use the options below.
1426 Fine tuning of the installation directories:
1427 --bindir=DIR user executables [EPREFIX/bin]
1428 --sbindir=DIR system admin executables [EPREFIX/sbin]
1429 --libexecdir=DIR program executables [EPREFIX/libexec]
1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1442 --htmldir=DIR html documentation [DOCDIR]
1443 --dvidir=DIR dvi documentation [DOCDIR]
1444 --pdfdir=DIR pdf documentation [DOCDIR]
1445 --psdir=DIR ps documentation [DOCDIR]
1451 --program-prefix=PREFIX prepend PREFIX to installed program names
1452 --program-suffix=SUFFIX append SUFFIX to installed program names
1453 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1456 --build=BUILD configure
for building on BUILD
[guessed
]
1457 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1461 if test -n "$ac_init_help"; then
1462 case $ac_init_help in
1463 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1468 --disable-option-checking ignore unrecognized
--enable/--with options
1469 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1470 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1471 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1472 --disable-silent-rules verbose build output
(undo
: "make V=0")
1473 --enable-dependency-tracking
1474 do not reject slow dependency extractors
1475 --disable-dependency-tracking
1476 speeds up one
-time build
1477 --enable-static[=PKGS
] build static libraries
[default
=no
]
1478 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1479 --enable-fast-install[=PKGS
]
1480 optimize
for fast installation
[default
=yes]
1481 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1482 --enable-javascript[=ENGINE
]
1483 use a JavaScript runtime
(currently the only
1484 available option
for ENGINE is JavaScriptCore
)
1486 --disable-rpath do not hardcode runtime library paths
1489 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1490 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1491 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1493 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1494 --with-sysroot=DIR Search
for dependent libraries within DIR
1495 (or the compiler
's sysroot if not specified).
1496 --with-frameworks=DIRS add to DIRS (space separated) to the Darwin include
1497 path for frameworks with -F
1498 --with-apr=PATH prefix for installed APR or the full path to
1500 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1501 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1502 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1504 Some influential environment variables
:
1505 CXX C
++ compiler
command
1506 CXXFLAGS C
++ compiler flags
1507 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1508 nonstandard directory
<lib dir
>
1509 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1510 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1511 you have headers
in a nonstandard directory
<include dir
>
1512 OBJCXX Objective C
++ compiler
command
1513 OBJCXXFLAGS Objective C
++ compiler flags
1514 CC C compiler
command
1515 CFLAGS C compiler flags
1517 CXXCPP C
++ preprocessor
1518 PKG_CONFIG path to pkg
-config utility
1520 directories to add to pkg
-config's search path
1522 path overriding pkg-config's built
-in search path
1523 BISON GNU Project parser generator
(yacc replacement
)
1524 FLEX the fast lexical analyser generator
1525 GPERF perfect
hash function generator
1526 GNUTAR a very sticky lump of files
1528 C compiler flags
for WEBKIT
, overriding pkg
-config
1529 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
1531 C compiler flags
for LIBFFI
, overriding pkg
-config
1532 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
1534 prints information about the current gnustep installation
1536 Use these variables to override the choices made by
`configure' or to help
1537 it to find libraries and programs with nonstandard names/locations.
1539 Report bugs to <saurik@saurik.com>.
1540 Cycript home page: <http://www.cycript.org/>.
1545 if test "$ac_init_help" = "recursive"; then
1546 # If there are subdirs, report their specific --help.
1547 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1548 test -d "$ac_dir" ||
1549 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1554 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1556 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1557 # A ".." for each directory in $ac_dir_suffix.
1558 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1559 case $ac_top_builddir_sub in
1560 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1564 ac_abs_top_builddir=$ac_pwd
1565 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1566 # for backward compatibility:
1567 ac_top_builddir=$ac_top_build_prefix
1570 .) # We are building in place.
1572 ac_top_srcdir=$ac_top_builddir_sub
1573 ac_abs_top_srcdir=$ac_pwd ;;
1574 [\\/]* | ?:[\\/]* ) # Absolute name.
1575 ac_srcdir=$srcdir$ac_dir_suffix;
1576 ac_top_srcdir=$srcdir
1577 ac_abs_top_srcdir=$srcdir ;;
1579 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1580 ac_top_srcdir=$ac_top_build_prefix$srcdir
1581 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1583 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1585 cd "$ac_dir" || { ac_status=$?; continue; }
1586 # Check for guested configure.
1587 if test -f "$ac_srcdir/configure.gnu"; then
1589 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1590 elif test -f "$ac_srcdir/configure"; then
1592 $SHELL "$ac_srcdir/configure" --help=recursive
1594 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1596 cd "$ac_pwd" || { ac_status=$?; break; }
1600 test -n "$ac_init_help" && exit $ac_status
1601 if $ac_init_version; then
1603 Cycript configure 0.9
1604 generated by GNU Autoconf 2.69
1606 Copyright (C) 2012 Free Software Foundation, Inc.
1607 This configure script is free software; the Free Software Foundation
1608 gives unlimited permission to copy, distribute and modify it.
1610 Copyright (C) 2009-2012 Jay Freeman (saurik)
1615 ## ------------------------ ##
1616 ## Autoconf initialization. ##
1617 ## ------------------------ ##
1619 # ac_fn_cxx_try_compile LINENO
1620 # ----------------------------
1621 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1622 ac_fn_cxx_try_compile ()
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 rm -f conftest.$ac_objext
1626 if { { ac_try="$ac_compile"
1628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1629 *) ac_try_echo
=$ac_try;;
1631 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 $as_echo "$ac_try_echo"; } >&5
1633 (eval "$ac_compile") 2>conftest.err
1635 if test -s conftest.err
; then
1636 grep -v '^ *+' conftest.err
>conftest.er1
1637 cat conftest.er1
>&5
1638 mv -f conftest.er1 conftest.err
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } && {
1642 test -z "$ac_cxx_werror_flag" ||
1643 test ! -s conftest.err
1644 } && test -s conftest.
$ac_objext; then :
1647 $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.
$ac_ext >&5
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653 as_fn_set_status
$ac_retval
1655 } # ac_fn_cxx_try_compile
1657 # ac_fn_objcxx_try_compile LINENO
1658 # -------------------------------
1659 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1660 ac_fn_objcxx_try_compile
()
1662 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1663 rm -f conftest.
$ac_objext
1664 if { { ac_try
="$ac_compile"
1666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1667 *) ac_try_echo=$ac_try;;
1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671 (eval "$ac_compile") 2>conftest.err
1673 if test -s conftest.err; then
1674 grep -v '^ *+' conftest.err >conftest.er1
1675 cat conftest.er1 >&5
1676 mv -f conftest.er1 conftest.err
1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679 test $ac_status = 0; } && {
1680 test -z "$ac_objcxx_werror_flag" ||
1681 test ! -s conftest.err
1682 } && test -s conftest.$ac_objext; then :
1685 $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 as_fn_set_status $ac_retval
1693 } # ac_fn_objcxx_try_compile
1695 # ac_fn_c_try_compile LINENO
1696 # --------------------------
1697 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1698 ac_fn_c_try_compile ()
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 rm -f conftest.$ac_objext
1702 if { { ac_try="$ac_compile"
1704 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1705 *) ac_try_echo
=$ac_try;;
1707 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709 (eval "$ac_compile") 2>conftest.err
1711 if test -s conftest.err
; then
1712 grep -v '^ *+' conftest.err
>conftest.er1
1713 cat conftest.er1
>&5
1714 mv -f conftest.er1 conftest.err
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && {
1718 test -z "$ac_c_werror_flag" ||
1719 test ! -s conftest.err
1720 } && test -s conftest.
$ac_objext; then :
1723 $as_echo "$as_me: failed program was:" >&5
1724 sed 's/^/| /' conftest.
$ac_ext >&5
1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 as_fn_set_status
$ac_retval
1731 } # ac_fn_c_try_compile
1733 # ac_fn_c_try_link LINENO
1734 # -----------------------
1735 # Try to link conftest.$ac_ext, and return whether this succeeded.
1738 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1739 rm -f conftest.
$ac_objext conftest
$ac_exeext
1740 if { { ac_try
="$ac_link"
1742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1743 *) ac_try_echo=$ac_try;;
1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_link") 2>conftest.err
1749 if test -s conftest.err; then
1750 grep -v '^ *+' conftest.err >conftest.er1
1751 cat conftest.er1 >&5
1752 mv -f conftest.er1 conftest.err
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; } && {
1756 test -z "$ac_c_werror_flag" ||
1757 test ! -s conftest.err
1758 } && test -s conftest$ac_exeext && {
1759 test "$cross_compiling" = yes ||
1760 test -x conftest$ac_exeext
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1769 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1770 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1771 # interfere with the next link command; also delete a directory that is
1772 # left behind by Apple's compiler. We do this before executing the actions.
1773 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 as_fn_set_status $ac_retval
1777 } # ac_fn_c_try_link
1779 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1780 # -------------------------------------------------------
1781 # Tests whether HEADER exists and can be compiled using the include files in
1782 # INCLUDES, setting the cache variable VAR accordingly.
1783 ac_fn_c_check_header_compile ()
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 $as_echo_n "checking for $2... " >&6; }
1788 if eval \${$3+:} false; then :
1789 $as_echo_n "(cached) " >&6
1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1796 if ac_fn_c_try_compile "$LINENO"; then :
1801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805 $as_echo "$ac_res" >&6; }
1806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808 } # ac_fn_c_check_header_compile
1810 # ac_fn_c_try_cpp LINENO
1811 # ----------------------
1812 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 if { { ac_try="$ac_cpp conftest.$ac_ext"
1818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1819 *) ac_try_echo
=$ac_try;;
1821 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822 $as_echo "$ac_try_echo"; } >&5
1823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1825 if test -s conftest.err
; then
1826 grep -v '^ *+' conftest.err
>conftest.er1
1827 cat conftest.er1
>&5
1828 mv -f conftest.er1 conftest.err
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; } > conftest.i
&& {
1832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1833 test ! -s conftest.err
1837 $as_echo "$as_me: failed program was:" >&5
1838 sed 's/^/| /' conftest.
$ac_ext >&5
1842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843 as_fn_set_status
$ac_retval
1847 # ac_fn_c_try_run LINENO
1848 # ----------------------
1849 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1850 # that executables *can* be run.
1853 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1854 if { { ac_try
="$ac_link"
1856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_link") 2>&5
1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1865 { { case "(($ac_try" in
1866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1867 *) ac_try_echo
=$ac_try;;
1869 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870 $as_echo "$ac_try_echo"; } >&5
1871 (eval "$ac_try") 2>&5
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; }; }; then :
1877 $as_echo "$as_me: program exited with status $ac_status" >&5
1878 $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.
$ac_ext >&5
1881 ac_retval
=$ac_status
1883 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885 as_fn_set_status
$ac_retval
1889 # ac_fn_c_check_func LINENO FUNC VAR
1890 # ----------------------------------
1891 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1892 ac_fn_c_check_func
()
1894 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896 $as_echo_n "checking for $2... " >&6; }
1897 if eval \
${$3+:} false
; then :
1898 $as_echo_n "(cached) " >&6
1900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1902 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1904 #define $2 innocuous_$2
1906 /* System header to define __stub macros and hopefully few prototypes,
1907 which can conflict with char $2 (); below.
1908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1909 <limits.h> exists even on freestanding compilers. */
1912 # include <limits.h>
1914 # include <assert.h>
1919 /* Override any GCC internal prototype to avoid an error.
1920 Use char because int might match the return type of a GCC
1921 builtin and then its argument prototype would still apply. */
1926 /* The GNU C library defines this for functions which it implements
1927 to always fail with ENOSYS. Some functions are actually named
1928 something starting with __ and the normal name is an alias. */
1929 #if defined __stub_$2 || defined __stub___$2
1941 if ac_fn_c_try_link
"$LINENO"; then :
1946 rm -f core conftest.err conftest.
$ac_objext \
1947 conftest
$ac_exeext conftest.
$ac_ext
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1951 $as_echo "$ac_res" >&6; }
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1954 } # ac_fn_c_check_func
1956 # ac_fn_cxx_try_cpp LINENO
1957 # ------------------------
1958 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1959 ac_fn_cxx_try_cpp
()
1961 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1962 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1965 *) ac_try_echo=$ac_try;;
1967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1968 $as_echo "$ac_try_echo"; } >&5
1969 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1971 if test -s conftest.err; then
1972 grep -v '^ *+' conftest.err >conftest.er1
1973 cat conftest.er1 >&5
1974 mv -f conftest.er1 conftest.err
1976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1977 test $ac_status = 0; } > conftest.i && {
1978 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1979 test ! -s conftest.err
1983 $as_echo "$as_me: failed program was:" >&5
1984 sed 's/^/| /' conftest.$ac_ext >&5
1988 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989 as_fn_set_status $ac_retval
1991 } # ac_fn_cxx_try_cpp
1993 # ac_fn_cxx_try_link LINENO
1994 # -------------------------
1995 # Try to link conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_link ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 rm -f conftest.$ac_objext conftest$ac_exeext
2000 if { { ac_try="$ac_link"
2002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2003 *) ac_try_echo
=$ac_try;;
2005 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2006 $as_echo "$ac_try_echo"; } >&5
2007 (eval "$ac_link") 2>conftest.err
2009 if test -s conftest.err
; then
2010 grep -v '^ *+' conftest.err
>conftest.er1
2011 cat conftest.er1
>&5
2012 mv -f conftest.er1 conftest.err
2014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2015 test $ac_status = 0; } && {
2016 test -z "$ac_cxx_werror_flag" ||
2017 test ! -s conftest.err
2018 } && test -s conftest
$ac_exeext && {
2019 test "$cross_compiling" = yes ||
2020 test -x conftest
$ac_exeext
2024 $as_echo "$as_me: failed program was:" >&5
2025 sed 's/^/| /' conftest.
$ac_ext >&5
2029 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2030 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2031 # interfere with the next link command; also delete a directory that is
2032 # left behind by Apple's compiler. We do this before executing the actions.
2033 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2035 as_fn_set_status
$ac_retval
2037 } # ac_fn_cxx_try_link
2039 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2040 # ---------------------------------------------------------
2041 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2042 # the include files in INCLUDES and setting the cache variable VAR
2044 ac_fn_cxx_check_header_mongrel
()
2046 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2047 if eval \
${$3+:} false
; then :
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049 $as_echo_n "checking for $2... " >&6; }
2050 if eval \
${$3+:} false
; then :
2051 $as_echo_n "(cached) " >&6
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2055 $as_echo "$ac_res" >&6; }
2057 # Is the header compilable?
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2059 $as_echo_n "checking $2 usability... " >&6; }
2060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2065 if ac_fn_cxx_try_compile
"$LINENO"; then :
2066 ac_header_compiler
=yes
2068 ac_header_compiler
=no
2070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2072 $as_echo "$ac_header_compiler" >&6; }
2074 # Is the header present?
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2076 $as_echo_n "checking $2 presence... " >&6; }
2077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h. */
2081 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2082 ac_header_preproc
=yes
2084 ac_header_preproc
=no
2086 rm -f conftest.err conftest.i conftest.
$ac_ext
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2088 $as_echo "$ac_header_preproc" >&6; }
2090 # So? What about this header?
2091 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2094 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2096 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2100 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2102 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2104 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2106 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2108 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2109 ( $as_echo "## -------------------------------- ##
2110 ## Report this to saurik@saurik.com ##
2111 ## -------------------------------- ##"
2112 ) | sed "s/^/$as_me: WARNING: /" >&2
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2116 $as_echo_n "checking for $2... " >&6; }
2117 if eval \
${$3+:} false
; then :
2118 $as_echo_n "(cached) " >&6
2120 eval "$3=\$ac_header_compiler"
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2124 $as_echo "$ac_res" >&6; }
2126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2128 } # ac_fn_cxx_check_header_mongrel
2130 # ac_fn_objcxx_try_link LINENO
2131 # ----------------------------
2132 # Try to link conftest.$ac_ext, and return whether this succeeded.
2133 ac_fn_objcxx_try_link
()
2135 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2136 rm -f conftest.
$ac_objext conftest
$ac_exeext
2137 if { { ac_try
="$ac_link"
2139 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2140 *) ac_try_echo=$ac_try;;
2142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2143 $as_echo "$ac_try_echo"; } >&5
2144 (eval "$ac_link") 2>conftest.err
2146 if test -s conftest.err; then
2147 grep -v '^ *+' conftest.err >conftest.er1
2148 cat conftest.er1 >&5
2149 mv -f conftest.er1 conftest.err
2151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2152 test $ac_status = 0; } && {
2153 test -z "$ac_objcxx_werror_flag" ||
2154 test ! -s conftest.err
2155 } && test -s conftest$ac_exeext && {
2156 test "$cross_compiling" = yes ||
2157 test -x conftest$ac_exeext
2161 $as_echo "$as_me: failed program was:" >&5
2162 sed 's/^/| /' conftest.$ac_ext >&5
2166 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2167 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2168 # interfere with the next link command; also delete a directory that is
2169 # left behind by Apple's compiler. We do this before executing the actions.
2170 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2171 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2172 as_fn_set_status $ac_retval
2174 } # ac_fn_objcxx_try_link
2175 cat >config.log <<_ACEOF
2176 This file contains any messages produced by compilers while
2177 running configure, to aid debugging if configure makes a mistake.
2179 It was created by Cycript $as_me 0.9, which was
2180 generated by GNU Autoconf 2.69. Invocation command line was
2192 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2193 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2194 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2195 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2196 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2198 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2199 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2201 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2202 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2203 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2204 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2205 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2206 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2207 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 test -z "$as_dir" && as_dir=.
2216 $as_echo "PATH: $as_dir"
2232 # Keep a trace of the command line.
2233 # Strip out --no-create and --no-recursion so they do not pile up.
2234 # Strip out --silent because we don't want to record it for future runs.
2235 # Also quote any args containing shell meta-characters.
2236 # Make two passes to allow for proper duplicate-argument suppression.
2240 ac_must_keep_next=false
2246 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2247 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2248 | -silent | --silent | --silen | --sile | --sil)
2251 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2254 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2256 as_fn_append ac_configure_args1 " '$ac_arg'"
2257 if test $ac_must_keep_next = true; then
2258 ac_must_keep_next=false # Got value, back to normal.
2261 *=* | --config-cache | -C | -disable-* | --disable-* \
2262 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2263 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2264 | -with-* | --with-* | -without-* | --without-* | --x)
2265 case "$ac_configure_args0 " in
2266 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2269 -* ) ac_must_keep_next=true ;;
2272 as_fn_append ac_configure_args " '$ac_arg'"
2277 { ac_configure_args0=; unset ac_configure_args0;}
2278 { ac_configure_args1=; unset ac_configure_args1;}
2280 # When interrupted or exit'd, cleanup temporary files, and complete
2281 # config.log. We remove comments because anyway the quotes in there
2282 # would cause problems or look ugly.
2283 # WARNING: Use '\'' to represent an apostrophe within the trap.
2284 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2285 trap 'exit_status=$?
2286 # Save into config.log some information that might help in debugging.
2290 $as_echo "## ---------------- ##
2291 ## Cache variables. ##
2292 ## ---------------- ##"
2294 # The following way of writing the cache mishandles newlines in values,
2296 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2297 eval ac_val=\$$ac_var
2301 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2302 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2305 _ | IFS | as_nl) ;; #(
2306 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2307 *) { eval $ac_var=; unset $ac_var;} ;;
2312 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2313 *${as_nl}ac_space=\ *)
2315 "s/'\''/'\''\\\\'\'''\''/g;
2316 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2319 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2326 $as_echo "## ----------------- ##
2327 ## Output variables. ##
2328 ## ----------------- ##"
2330 for ac_var in $ac_subst_vars
2332 eval ac_val=\$$ac_var
2334 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2336 $as_echo "$ac_var='\''$ac_val'\''"
2340 if test -n "$ac_subst_files"; then
2341 $as_echo "## ------------------- ##
2342 ## File substitutions. ##
2343 ## ------------------- ##"
2345 for ac_var in $ac_subst_files
2347 eval ac_val=\$$ac_var
2349 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2351 $as_echo "$ac_var='\''$ac_val'\''"
2356 if test -s confdefs.h; then
2357 $as_echo "## ----------- ##
2364 test "$ac_signal" != 0 &&
2365 $as_echo "$as_me: caught signal $ac_signal"
2366 $as_echo "$as_me: exit $exit_status"
2368 rm -f core *.core core.conftest.* &&
2369 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2372 for ac_signal in 1 2 13 15; do
2373 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2377 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2378 rm -f -r conftest* confdefs.h
2380 $as_echo "/* confdefs.h */" > confdefs.h
2382 # Predefined preprocessor variables.
2384 cat >>confdefs.h <<_ACEOF
2385 #define PACKAGE_NAME "$PACKAGE_NAME"
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2392 cat >>confdefs.h <<_ACEOF
2393 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2396 cat >>confdefs.h <<_ACEOF
2397 #define PACKAGE_STRING "$PACKAGE_STRING"
2400 cat >>confdefs.h <<_ACEOF
2401 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2404 cat >>confdefs.h <<_ACEOF
2405 #define PACKAGE_URL "$PACKAGE_URL"
2409 # Let the site file select an alternate cache file if it wants to.
2410 # Prefer an explicitly selected file to automatically selected ones.
2413 if test -n "$CONFIG_SITE"; then
2414 # We do not want a PATH search for config.site.
2415 case $CONFIG_SITE in #((
2416 -*) ac_site_file1=./$CONFIG_SITE;;
2417 */*) ac_site_file1=$CONFIG_SITE;;
2418 *) ac_site_file1=./$CONFIG_SITE;;
2420 elif test "x$prefix" != xNONE; then
2421 ac_site_file1=$prefix/share/config.site
2422 ac_site_file2=$prefix/etc/config.site
2424 ac_site_file1=$ac_default_prefix/share/config.site
2425 ac_site_file2=$ac_default_prefix/etc/config.site
2427 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2429 test "x$ac_site_file" = xNONE && continue
2430 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2432 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2433 sed 's/^/| /' "$ac_site_file" >&5
2435 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2437 as_fn_error $? "failed to load site
script $ac_site_file
2438 See \
`config.log' for more details" "$LINENO" 5; }
2442 if test -r "$cache_file"; then
2443 # Some versions of bash will fail to source /dev/null (special files
2444 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2445 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2447 $as_echo "$as_me: loading cache $cache_file" >&6;}
2449 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2450 *) . "./$cache_file";;
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2455 $as_echo "$as_me: creating cache $cache_file" >&6;}
2459 # Check that the precious variables saved in the cache have kept the same
2461 ac_cache_corrupted=false
2462 for ac_var in $ac_precious_vars; do
2463 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2464 eval ac_new_set=\$ac_env_${ac_var}_set
2465 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2466 eval ac_new_val=\$ac_env_${ac_var}_value
2467 case $ac_old_set,$ac_new_set in
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2470 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2471 ac_cache_corrupted=: ;;
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2474 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2475 ac_cache_corrupted=: ;;
2478 if test "x$ac_old_val" != "x$ac_new_val"; then
2479 # differences in whitespace do not lead to failure.
2480 ac_old_val_w=`echo x
$ac_old_val`
2481 ac_new_val_w=`echo x
$ac_new_val`
2482 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2484 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2485 ac_cache_corrupted=:
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2488 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2489 eval $ac_var=\$ac_old_val
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2492 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2494 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2497 # Pass precious variables to config.status.
2498 if test "$ac_new_set" = set; then
2500 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2501 *) ac_arg=$ac_var=$ac_new_val ;;
2503 case " $ac_configure_args " in
2504 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2505 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2509 if $ac_cache_corrupted; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2513 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2514 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2516 ## -------------------- ##
2517 ## Main body of script. ##
2518 ## -------------------- ##
2521 ac_cpp='$CPP $CPPFLAGS'
2522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2531 for ac_dir in . "$srcdir"/.; do
2532 if test -f "$ac_dir/install-sh"; then
2534 ac_install_sh="$ac_aux_dir/install-sh -c"
2536 elif test -f "$ac_dir/install.sh"; then
2538 ac_install_sh="$ac_aux_dir/install.sh -c"
2540 elif test -f "$ac_dir/shtool"; then
2542 ac_install_sh="$ac_aux_dir/shtool install -c"
2546 if test -z "$ac_aux_dir"; then
2547 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2550 # These three variables are undocumented and unsupported,
2551 # and are intended to be withdrawn in a future Autoconf release.
2552 # They can cause serious problems if a builder's source tree is in a directory
2553 # whose full name contains unusual characters.
2554 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2555 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2556 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2561 am__api_version='1.13'
2563 # Find a good install program. We prefer a C program (faster),
2564 # so one script is as good as another. But avoid the broken or
2565 # incompatible versions:
2566 # SysV /etc/install, /usr/sbin/install
2567 # SunOS /usr/etc/install
2568 # IRIX /sbin/install
2570 # AmigaOS /C/install, which installs bootblocks on floppy discs
2571 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2572 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2573 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2574 # OS/2's system install, which has a completely different semantic
2575 # ./install, which can be erroneously created by make from ./install.sh.
2576 # Reject install programs that cannot install multiple files.
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2578 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2579 if test -z "$INSTALL"; then
2580 if ${ac_cv_path_install+:} false; then :
2581 $as_echo_n "(cached) " >&6
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir=.
2588 # Account for people who put trailing slashes in PATH elements.
2589 case $as_dir/ in #((
2590 ./ | .// | /[cC]/* | \
2591 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2592 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2595 # OSF1 and SCO ODT 3.0 have their own names for install.
2596 # Don't use installbsd from OSF since it installs stuff as root
2598 for ac_prog in ginstall scoinst install; do
2599 for ac_exec_ext in '' $ac_executable_extensions; do
2600 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2601 if test $ac_prog = install &&
2602 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2603 # AIX install. It has an incompatible calling convention.
2605 elif test $ac_prog = install &&
2606 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2607 # program-specific install script used by HP pwplus--don't use.
2610 rm -rf conftest.one conftest.two conftest.dir
2611 echo one > conftest.one
2612 echo two > conftest.two
2614 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2615 test -s conftest.one && test -s conftest.two &&
2616 test -s conftest.dir/conftest.one &&
2617 test -s conftest.dir/conftest.two
2619 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2632 rm -rf conftest.one conftest.two conftest.dir
2635 if test "${ac_cv_path_install+set}" = set; then
2636 INSTALL=$ac_cv_path_install
2638 # As a last resort, use the slow shell script. Don't cache a
2639 # value for INSTALL within a source directory, because that will
2640 # break other packages using the cache if that directory is
2641 # removed, or if the value is a relative name.
2642 INSTALL=$ac_install_sh
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2646 $as_echo "$INSTALL" >&6; }
2648 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2649 # It thinks the first close brace ends the variable substitution.
2650 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2652 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2654 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2657 $as_echo_n "checking whether build environment is sane... " >&6; }
2658 # Reject unsafe characters in $srcdir or the absolute working directory
2659 # name. Accept space and tab only in the latter.
2663 *[\\\"\#\$\&\'\`$am_lf]*)
2664 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2667 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2668 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2671 # Do 'set' in a subshell so we don't clobber the current shell's
2672 # arguments. Must try -L first in case configure is actually a
2673 # symlink; some systems play weird games with the mod time of symlinks
2674 # (eg FreeBSD returns the mod time of the symlink's containing
2678 for am_try in 1 2; do
2679 echo "timestamp, slept: $am_has_slept" > conftest.file
2680 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2681 if test "$*" = "X"; then
2683 set X `ls -t "$srcdir/configure" conftest.
file`
2685 if test "$*" != "X $srcdir/configure conftest.file" \
2686 && test "$*" != "X conftest.file $srcdir/configure"; then
2688 # If neither matched, then we have a broken ls. This can happen
2689 # if, for instance, CONFIG_SHELL is bash and it inherits a
2690 # broken ls alias from the environment. This has actually
2691 # happened. Such a system could not be considered "sane".
2692 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2693 alias in your environment" "$LINENO" 5
2695 if test "$2" = conftest.file || test $am_try -eq 2; then
2702 test "$2" = conftest.file
2708 as_fn_error $? "newly created file is older than distributed files!
2709 Check your system clock" "$LINENO" 5
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2712 $as_echo "yes" >&6; }
2713 # If we didn't sleep, we still need to ensure time stamps of config.status and
2714 # generated files are strictly newer.
2716 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2723 test "$program_prefix" != NONE &&
2724 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2725 # Use a double $ so make ignores it.
2726 test "$program_suffix" != NONE &&
2727 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2728 # Double any \ or $.
2729 # By default was `s
,x
,x
', remove it if useless.
2730 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2731 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2733 # expand $ac_aux_dir to an absolute path
2734 am_aux_dir=`cd $ac_aux_dir && pwd`
2736 if test x"${MISSING+set}" != xset; then
2739 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2741 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2744 # Use eval to expand $SHELL
2745 if eval "$MISSING --is-lightweight"; then
2746 am_missing_run="$MISSING "
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2750 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2753 if test x"${install_sh}" != xset; then
2756 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2758 install_sh="\${SHELL} $am_aux_dir/install-sh"
2762 # Installed binaries are usually stripped using 'strip
' when the user
2763 # run "make install-strip". However 'strip
' might not be the right
2764 # tool to use in cross-compilation environments, therefore Automake
2765 # will honor the 'STRIP
' environment variable to overrule this program.
2766 if test "$cross_compiling" != no; then
2767 if test -n "$ac_tool_prefix"; then
2768 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2769 set dummy ${ac_tool_prefix}strip; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_STRIP+:} false; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$STRIP"; then
2776 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir=.
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2785 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 STRIP=$ac_cv_prog_STRIP
2796 if test -n "$STRIP"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2798 $as_echo "$STRIP" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2806 if test -z "$ac_cv_prog_STRIP"; then
2808 # Extract the first word of "strip", so it can be a program name with args.
2809 set dummy strip; ac_word=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2813 $as_echo_n "(cached) " >&6
2815 if test -n "$ac_ct_STRIP"; then
2816 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir=.
2823 for ac_exec_ext in '' $ac_executable_extensions; do
2824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2825 ac_cv_prog_ac_ct_STRIP="strip"
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2836 if test -n "$ac_ct_STRIP"; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2838 $as_echo "$ac_ct_STRIP" >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2844 if test "x$ac_ct_STRIP" = x; then
2847 case $cross_compiling:$ac_tool_warned in
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2851 ac_tool_warned=yes ;;
2856 STRIP="$ac_cv_prog_STRIP"
2860 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2863 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2864 if test -z "$MKDIR_P"; then
2865 if ${ac_cv_path_mkdir+:} false; then :
2866 $as_echo_n "(cached) " >&6
2868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2869 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2872 test -z "$as_dir" && as_dir=.
2873 for ac_prog in mkdir gmkdir; do
2874 for ac_exec_ext in '' $ac_executable_extensions; do
2875 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2876 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2877 'mkdir (GNU coreutils
) '* | \
2878 'mkdir (coreutils
) '* | \
2879 'mkdir (fileutils
) '4.1*)
2880 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2890 test -d ./--version && rmdir ./--version
2891 if test "${ac_cv_path_mkdir+set}" = set; then
2892 MKDIR_P="$ac_cv_path_mkdir -p"
2894 # As a last resort, use the slow shell script. Don't cache a
2895 # value for MKDIR_P within a source directory, because that will
2896 # break other packages using the cache if that directory is
2897 # removed, or if the value is a relative name.
2898 MKDIR_P
="$ac_install_sh -d"
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2902 $as_echo "$MKDIR_P" >&6; }
2904 for ac_prog
in gawk mawk nawk
awk
2906 # Extract the first word of "$ac_prog", so it can be a program name with args.
2907 set dummy
$ac_prog; ac_word
=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if ${ac_cv_prog_AWK+:} false
; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$AWK"; then
2914 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir
=.
2921 for ac_exec_ext
in '' $ac_executable_extensions; do
2922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2923 ac_cv_prog_AWK
="$ac_prog"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 if test -n "$AWK"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2936 $as_echo "$AWK" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2943 test -n "$AWK" && break
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2947 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2949 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2950 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2951 $as_echo_n "(cached) " >&6
2953 cat >conftest.
make <<\_ACEOF
2956 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2958 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2959 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2961 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2963 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2967 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2969 $as_echo "yes" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2974 SET_MAKE
="MAKE=${MAKE-make}"
2977 rm -rf .tst
2>/dev
/null
2978 mkdir .tst
2>/dev
/null
2979 if test -d .tst
; then
2984 rmdir .tst
2>/dev
/null
2986 # Check whether --enable-silent-rules was given.
2987 if test "${enable_silent_rules+set}" = set; then :
2988 enableval
=$enable_silent_rules;
2991 case $enable_silent_rules in # (((
2992 yes) AM_DEFAULT_VERBOSITY
=0;;
2993 no
) AM_DEFAULT_VERBOSITY
=1;;
2994 *) AM_DEFAULT_VERBOSITY
=1;;
2996 am_make
=${MAKE-make}
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2998 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2999 if ${am_cv_make_support_nested_variables+:} false
; then :
3000 $as_echo_n "(cached) " >&6
3002 if $as_echo 'TRUE=$(BAR$(V))
3008 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3009 am_cv_make_support_nested_variables
=yes
3011 am_cv_make_support_nested_variables
=no
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3015 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3016 if test $am_cv_make_support_nested_variables = yes; then
3018 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3020 AM_V
=$AM_DEFAULT_VERBOSITY
3021 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3025 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3026 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3027 # is not polluted with repeated "-I."
3028 am__isrc
=' -I$(srcdir)'
3029 # test to see if srcdir already configured
3030 if test -f $srcdir/config.status
; then
3031 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3035 # test whether we have cygpath
3036 if test -z "$CYGPATH_W"; then
3037 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3038 CYGPATH_W
='cygpath -w'
3045 # Define the identity of the package.
3050 cat >>confdefs.h
<<_ACEOF
3051 #define PACKAGE "$PACKAGE"
3055 cat >>confdefs.h
<<_ACEOF
3056 #define VERSION "$VERSION"
3059 # Some tools Automake needs.
3061 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3064 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3067 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3070 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3073 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3075 # For better backward compatibility. To be removed once Automake 1.9.x
3076 # dies out for good. For more background, see:
3077 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3078 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3079 mkdir_p
='$(MKDIR_P)'
3081 # We need awk for the "check" target. The system "awk" is bad on
3083 # Always define AMTAR for backward compatibility. Yes, it's still used
3084 # in the wild :-( We should find a proper way to deprecate it ...
3087 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3095 ac_cpp
='$CXXCPP $CPPFLAGS'
3096 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3097 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3098 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3099 if test -z "$CXX"; then
3100 if test -n "$CCC"; then
3103 if test -n "$ac_tool_prefix"; then
3104 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3106 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3107 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109 $as_echo_n "checking for $ac_word... " >&6; }
3110 if ${ac_cv_prog_CXX+:} false
; then :
3111 $as_echo_n "(cached) " >&6
3113 if test -n "$CXX"; then
3114 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3120 test -z "$as_dir" && as_dir
=.
3121 for ac_exec_ext
in '' $ac_executable_extensions; do
3122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3123 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 if test -n "$CXX"; then
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3136 $as_echo "$CXX" >&6; }
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139 $as_echo "no" >&6; }
3143 test -n "$CXX" && break
3146 if test -z "$CXX"; then
3148 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3150 # Extract the first word of "$ac_prog", so it can be a program name with args.
3151 set dummy
$ac_prog; ac_word
=$2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3155 $as_echo_n "(cached) " >&6
3157 if test -n "$ac_ct_CXX"; then
3158 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3164 test -z "$as_dir" && as_dir
=.
3165 for ac_exec_ext
in '' $ac_executable_extensions; do
3166 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3167 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3178 if test -n "$ac_ct_CXX"; then
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3180 $as_echo "$ac_ct_CXX" >&6; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3187 test -n "$ac_ct_CXX" && break
3190 if test "x$ac_ct_CXX" = x
; then
3193 case $cross_compiling:$ac_tool_warned in
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3197 ac_tool_warned
=yes ;;
3205 # Provide some information about the compiler.
3206 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3209 for ac_option
in --version -v -V -qversion; do
3210 { { ac_try
="$ac_compiler $ac_option >&5"
3212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3216 $as_echo "$ac_try_echo"; } >&5
3217 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3219 if test -s conftest.err; then
3221 ... rest of stderr output deleted ...
3222 10q' conftest.err >conftest.er1
3223 cat conftest.er1 >&5
3225 rm -f conftest.er1 conftest.err
3226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3227 test $ac_status = 0; }
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3241 ac_clean_files_save=$ac_clean_files
3242 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3243 # Try to create an executable without -o first, disregard a.out.
3244 # It will help us diagnose broken compilers, and finding out an intuition
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3247 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3248 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3250 # The possible output files:
3251 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3254 for ac_file in $ac_files
3257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3258 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3263 if { { ac_try="$ac_link_default"
3265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3266 *) ac_try_echo
=$ac_try;;
3268 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3269 $as_echo "$ac_try_echo"; } >&5
3270 (eval "$ac_link_default") 2>&5
3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3273 test $ac_status = 0; }; then :
3274 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3275 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3276 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3277 # so that the user can short-circuit this test for compilers unknown to
3279 for ac_file
in $ac_files ''
3281 test -f "$ac_file" || continue
3283 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3286 # We found the default executable, but exeext='' is most
3290 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3292 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3294 # We set ac_cv_exeext here because the later test for it is not
3295 # safe: cross compilers may not add the suffix if given an `-o'
3296 # argument, so we may need to know it at that point already.
3297 # Even if this section looks crufty: it has the advantage of
3304 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3309 if test -z "$ac_file"; then :
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3312 $as_echo "$as_me: failed program was:" >&5
3313 sed 's/^/| /' conftest.
$ac_ext >&5
3315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3317 as_fn_error
77 "C++ compiler cannot create executables
3318 See \`config.log' for more details" "$LINENO" 5; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3321 $as_echo "yes" >&6; }
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3324 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3326 $as_echo "$ac_file" >&6; }
3327 ac_exeext
=$ac_cv_exeext
3329 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3330 ac_clean_files
=$ac_clean_files_save
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3332 $as_echo_n "checking for suffix of executables... " >&6; }
3333 if { { ac_try
="$ac_link"
3335 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
3340 (eval "$ac_link") 2>&5
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; then :
3344 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3345 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3346 # work properly (i.e., refer to `conftest.exe'), while it won't with
3348 for ac_file
in conftest.exe conftest conftest.
*; do
3349 test -f "$ac_file" || continue
3351 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3352 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3361 See \`config.log' for more details" "$LINENO" 5; }
3363 rm -f conftest conftest
$ac_cv_exeext
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3365 $as_echo "$ac_cv_exeext" >&6; }
3367 rm -f conftest.
$ac_ext
3368 EXEEXT
=$ac_cv_exeext
3370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3376 FILE *f = fopen ("conftest.out", "w");
3377 return ferror (f) || fclose (f) != 0;
3383 ac_clean_files
="$ac_clean_files conftest.out"
3384 # Check that the compiler produces executables we can run. If not, either
3385 # the compiler is broken, or we cross compile.
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3387 $as_echo_n "checking whether we are cross compiling... " >&6; }
3388 if test "$cross_compiling" != yes; then
3389 { { ac_try
="$ac_link"
3391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3395 $as_echo "$ac_try_echo"; } >&5
3396 (eval "$ac_link") 2>&5
3398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3399 test $ac_status = 0; }
3400 if { ac_try='./conftest$ac_cv_exeext'
3401 { { case "(($ac_try" in
3402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3403 *) ac_try_echo
=$ac_try;;
3405 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3406 $as_echo "$ac_try_echo"; } >&5
3407 (eval "$ac_try") 2>&5
3409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3410 test $ac_status = 0; }; }; then
3413 if test "$cross_compiling" = maybe
; then
3416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3418 as_fn_error $?
"cannot run C++ compiled programs.
3419 If you meant to cross compile, use \`--host'.
3420 See \`config.log' for more details" "$LINENO" 5; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3425 $as_echo "$cross_compiling" >&6; }
3427 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3428 ac_clean_files
=$ac_clean_files_save
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3430 $as_echo_n "checking for suffix of object files... " >&6; }
3431 if ${ac_cv_objext+:} false
; then :
3432 $as_echo_n "(cached) " >&6
3434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3445 rm -f conftest.o conftest.obj
3446 if { { ac_try
="$ac_compile"
3448 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_compile") 2>&5
3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 test $ac_status = 0; }; then :
3457 for ac_file in conftest.o conftest.obj conftest.*; do
3458 test -f "$ac_file" || continue;
3460 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3461 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3466 $as_echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.$ac_ext >&5
3469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3471 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3472 See \
`config.log' for more details" "$LINENO" 5; }
3474 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3477 $as_echo "$ac_cv_objext" >&6; }
3478 OBJEXT=$ac_cv_objext
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3481 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3482 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3483 $as_echo_n "(cached) " >&6
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3499 if ac_fn_cxx_try_compile "$LINENO"; then :
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3509 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3510 if test $ac_compiler_gnu = yes; then
3515 ac_test_CXXFLAGS=${CXXFLAGS+set}
3516 ac_save_CXXFLAGS=$CXXFLAGS
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3518 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3519 if ${ac_cv_prog_cxx_g+:} false; then :
3520 $as_echo_n "(cached) " >&6
3522 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3523 ac_cxx_werror_flag=yes
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3537 if ac_fn_cxx_try_compile "$LINENO"; then :
3538 ac_cv_prog_cxx_g=yes
3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3552 if ac_fn_cxx_try_compile "$LINENO"; then :
3555 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3568 if ac_fn_cxx_try_compile "$LINENO"; then :
3569 ac_cv_prog_cxx_g=yes
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3579 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3580 if test "$ac_test_CXXFLAGS" = set; then
3581 CXXFLAGS=$ac_save_CXXFLAGS
3582 elif test $ac_cv_prog_cxx_g = yes; then
3583 if test "$GXX" = yes; then
3589 if test "$GXX" = yes; then
3596 ac_cpp='$CPP $CPPFLAGS'
3597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600 DEPDIR="${am__leading_dot}deps"
3602 ac_config_commands="$ac_config_commands depfiles"
3605 am_make=${MAKE-make}
3606 cat > confinc << 'END'
3608 @echo this is the am__doit target
3611 # If we don't find an include directive, just comment out the code.
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3613 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3617 # First try GNU make style include.
3618 echo "include confinc" > confmf
3619 # Ignore all kinds of additional output from 'make'.
3620 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3621 *the\ am__doit\ target*)
3627 # Now try BSD make style include.
3628 if test "$am__include" = "#"; then
3629 echo '.include "confinc"' > confmf
3630 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3631 *the\ am__doit\ target*)
3632 am__include=.include
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3641 $as_echo "$_am_result" >&6; }
3642 rm -f confinc confmf
3644 # Check whether --enable-dependency-tracking was given.
3645 if test "${enable_dependency_tracking+set}" = set; then :
3646 enableval=$enable_dependency_tracking;
3649 if test "x$enable_dependency_tracking" != xno; then
3650 am_depcomp="$ac_aux_dir/depcomp"
3654 if test "x$enable_dependency_tracking" != xno; then
3664 depcc="$CXX" am_compiler_list=
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3667 $as_echo_n "checking dependency style of $depcc... " >&6; }
3668 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3669 $as_echo_n "(cached) " >&6
3671 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3672 # We make a subdir and do the tests there. Otherwise we can end up
3673 # making bogus files that we don't know about and never remove. For
3674 # instance it was reported that on HP-UX the gcc test will end up
3675 # making a dummy file named 'D' -- because '-MD' means "put the output
3679 # Copy depcomp to subdir because otherwise we won't find it if we're
3680 # using a relative directory.
3681 cp "$am_depcomp" conftest.dir
3683 # We will build objects and dependencies in a subdirectory because
3684 # it helps to detect inapplicable dependency modes. For instance
3685 # both Tru64's cc and ICC support -MD to output dependencies as a
3686 # side effect of compilation, but ICC will put the dependencies in
3687 # the current directory while Tru64 will put them in the object
3691 am_cv_CXX_dependencies_compiler_type=none
3692 if test "$am_compiler_list" = ""; then
3693 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3696 case " $depcc " in #(
3697 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3700 for depmode in $am_compiler_list; do
3701 # Setup a source with many dependencies, because some compilers
3702 # like to wrap large dependency lists on column 80 (with \), and
3703 # we should not choose a depcomp mode which is confused by this.
3705 # We need to recreate these files for each test, as the compiler may
3706 # overwrite some of them when testing with obscure command lines.
3707 # This happens at least with the AIX C compiler.
3709 for i in 1 2 3 4 5 6; do
3710 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3711 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3712 # Solaris 10 /bin/sh.
3713 echo '/* dummy */' > sub/conftst$i.h
3715 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3717 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3718 # mode. It turns out that the SunPro C++ compiler does not properly
3719 # handle '-M -o', and we need to detect this. Also, some Intel
3720 # versions had trouble with output in subdirs.
3721 am__obj=sub/conftest.${OBJEXT-o}
3722 am__minus_obj="-o $am__obj"
3725 # This depmode causes a compiler race in universal mode.
3726 test "$am__universal" = false || continue
3729 # After this tag, mechanisms are not by side-effect, so they'll
3730 # only be used when explicitly requested.
3731 if test "x$enable_dependency_tracking" = xyes; then
3737 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3738 # This compiler won't grok '-c -o', but also, the minuso test has
3739 # not run yet. These depmodes are late enough in the game, and
3740 # so weak that their functioning should not be impacted.
3741 am__obj=conftest.${OBJEXT-o}
3746 if depmode=$depmode \
3747 source=sub/conftest.c object=$am__obj \
3748 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3749 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3750 >/dev/null 2>conftest.err &&
3751 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3752 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3753 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3754 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3755 # icc doesn't choke on unknown options, it will just issue warnings
3756 # or remarks (even with -Werror). So we grep stderr for any message
3757 # that says an option was ignored or not supported.
3758 # When given -MP, icc 7.0 and 7.1 complain thusly:
3759 # icc: Command line warning: ignoring option '-M'; no argument required
3760 # The diagnosis changed in icc 8.0:
3761 # icc: Command line remark: option '-MP' not supported
3762 if (grep 'ignoring option' conftest.err ||
3763 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3764 am_cv_CXX_dependencies_compiler_type=$depmode
3773 am_cv_CXX_dependencies_compiler_type=none
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3778 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3779 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3782 test "x$enable_dependency_tracking" != xno \
3783 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3784 am__fastdepCXX_TRUE=
3785 am__fastdepCXX_FALSE='#'
3787 am__fastdepCXX_TRUE='#'
3788 am__fastdepCXX_FALSE=
3793 ac_cpp='$OBJCXXCPP $CPPFLAGS'
3794 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3795 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3796 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
3797 if test -n "$ac_tool_prefix"; then
3798 for ac_prog in g++ objc++ objcxx c++ CXX
3800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3801 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_OBJCXX+:} false; then :
3805 $as_echo_n "(cached) " >&6
3807 if test -n "$OBJCXX"; then
3808 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 OBJCXX=$ac_cv_prog_OBJCXX
3828 if test -n "$OBJCXX"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
3830 $as_echo "$OBJCXX" >&6; }
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$OBJCXX" && break
3840 if test -z "$OBJCXX"; then
3841 ac_ct_OBJCXX=$OBJCXX
3842 for ac_prog in g++ objc++ objcxx c++ CXX
3844 # Extract the first word of "$ac_prog", so it can be a program name with args.
3845 set dummy $ac_prog; ac_word=$2
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3847 $as_echo_n "checking for $ac_word... " >&6; }
3848 if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then :
3849 $as_echo_n "(cached) " >&6
3851 if test -n "$ac_ct_OBJCXX"; then
3852 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3858 test -z "$as_dir" && as_dir=.
3859 for ac_exec_ext in '' $ac_executable_extensions; do
3860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3861 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
3862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
3872 if test -n "$ac_ct_OBJCXX"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
3874 $as_echo "$ac_ct_OBJCXX" >&6; }
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3881 test -n "$ac_ct_OBJCXX" && break
3884 if test "x$ac_ct_OBJCXX" = x; then
3887 case $cross_compiling:$ac_tool_warned in
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3891 ac_tool_warned=yes ;;
3893 OBJCXX=$ac_ct_OBJCXX
3897 # Provide some information about the compiler.
3898 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
3901 for ac_option in --version -v -V -qversion; do
3902 { { ac_try="$ac_compiler $ac_option >&5"
3904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3905 *) ac_try_echo
=$ac_try;;
3907 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3908 $as_echo "$ac_try_echo"; } >&5
3909 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3911 if test -s conftest.err
; then
3913 ... rest of stderr output deleted ...
3914 10q' conftest.err
>conftest.er1
3915 cat conftest.er1
>&5
3917 rm -f conftest.er1 conftest.err
3918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3919 test $ac_status = 0; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
3923 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
3924 if ${ac_cv_objcxx_compiler_gnu+:} false
; then :
3925 $as_echo_n "(cached) " >&6
3927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3941 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3947 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
3951 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
3952 if test $ac_compiler_gnu = yes; then
3957 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
3958 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
3960 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
3961 if ${ac_cv_prog_objcxx_g+:} false
; then :
3962 $as_echo_n "(cached) " >&6
3964 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
3965 ac_objcxx_werror_flag
=yes
3966 ac_cv_prog_objcxx_g
=no
3968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3979 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3980 ac_cv_prog_objcxx_g
=yes
3983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3994 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3997 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
3999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4010 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4011 ac_cv_prog_objcxx_g
=yes
4013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4018 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4021 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4022 if test "$ac_test_OBJCXXFLAGS" = set; then
4023 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
4024 elif test $ac_cv_prog_objcxx_g = yes; then
4025 if test "$GOBJCXX" = yes; then
4026 OBJCXXFLAGS
="-g -O2"
4031 if test "$GOBJCXX" = yes; then
4038 ac_cpp
='$CPP $CPPFLAGS'
4039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4043 depcc
="$OBJCXX" am_compiler_list
='gcc3 gcc'
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4046 $as_echo_n "checking dependency style of $depcc... " >&6; }
4047 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false
; then :
4048 $as_echo_n "(cached) " >&6
4050 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4051 # We make a subdir and do the tests there. Otherwise we can end up
4052 # making bogus files that we don't know about and never remove. For
4053 # instance it was reported that on HP-UX the gcc test will end up
4054 # making a dummy file named 'D' -- because '-MD' means "put the output
4058 # Copy depcomp to subdir because otherwise we won't find it if we're
4059 # using a relative directory.
4060 cp "$am_depcomp" conftest.dir
4062 # We will build objects and dependencies in a subdirectory because
4063 # it helps to detect inapplicable dependency modes. For instance
4064 # both Tru64's cc and ICC support -MD to output dependencies as a
4065 # side effect of compilation, but ICC will put the dependencies in
4066 # the current directory while Tru64 will put them in the object
4070 am_cv_OBJCXX_dependencies_compiler_type
=none
4071 if test "$am_compiler_list" = ""; then
4072 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4077 for depmode
in $am_compiler_list; do
4078 # Setup a source with many dependencies, because some compilers
4079 # like to wrap large dependency lists on column 80 (with \), and
4080 # we should not choose a depcomp mode which is confused by this.
4082 # We need to recreate these files for each test, as the compiler may
4083 # overwrite some of them when testing with obscure command lines.
4084 # This happens at least with the AIX C compiler.
4086 for i
in 1 2 3 4 5 6; do
4087 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4088 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4089 # Solaris 10 /bin/sh.
4090 echo '/* dummy */' > sub
/conftst
$i.h
4092 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4094 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4095 # mode. It turns out that the SunPro C++ compiler does not properly
4096 # handle '-M -o', and we need to detect this. Also, some Intel
4097 # versions had trouble with output in subdirs.
4098 am__obj
=sub
/conftest.
${OBJEXT-o}
4099 am__minus_obj
="-o $am__obj"
4102 # This depmode causes a compiler race in universal mode.
4103 test "$am__universal" = false
|| continue
4106 # After this tag, mechanisms are not by side-effect, so they'll
4107 # only be used when explicitly requested.
4108 if test "x$enable_dependency_tracking" = xyes
; then
4114 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4115 # This compiler won't grok '-c -o', but also, the minuso test has
4116 # not run yet. These depmodes are late enough in the game, and
4117 # so weak that their functioning should not be impacted.
4118 am__obj
=conftest.
${OBJEXT-o}
4123 if depmode
=$depmode \
4124 source=sub
/conftest.c object
=$am__obj \
4125 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4126 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4127 >/dev
/null
2>conftest.err
&&
4128 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4129 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4130 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4131 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4132 # icc doesn't choke on unknown options, it will just issue warnings
4133 # or remarks (even with -Werror). So we grep stderr for any message
4134 # that says an option was ignored or not supported.
4135 # When given -MP, icc 7.0 and 7.1 complain thusly:
4136 # icc: Command line warning: ignoring option '-M'; no argument required
4137 # The diagnosis changed in icc 8.0:
4138 # icc: Command line remark: option '-MP' not supported
4139 if (grep 'ignoring option' conftest.err
||
4140 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4141 am_cv_OBJCXX_dependencies_compiler_type
=$depmode
4150 am_cv_OBJCXX_dependencies_compiler_type
=none
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4155 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4156 OBJCXXDEPMODE
=depmode
=$am_cv_OBJCXX_dependencies_compiler_type
4159 test "x$enable_dependency_tracking" != xno \
4160 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3
; then
4161 am__fastdepOBJCXX_TRUE
=
4162 am__fastdepOBJCXX_FALSE
='#'
4164 am__fastdepOBJCXX_TRUE
='#'
4165 am__fastdepOBJCXX_FALSE
=
4170 ac_cpp
='$CPP $CPPFLAGS'
4171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4174 if test -n "$ac_tool_prefix"; then
4175 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4176 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4178 $as_echo_n "checking for $ac_word... " >&6; }
4179 if ${ac_cv_prog_CC+:} false
; then :
4180 $as_echo_n "(cached) " >&6
4182 if test -n "$CC"; then
4183 ac_cv_prog_CC
="$CC" # Let the user override the test.
4185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir
=.
4190 for ac_exec_ext
in '' $ac_executable_extensions; do
4191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4192 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 if test -n "$CC"; then
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4205 $as_echo "$CC" >&6; }
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4208 $as_echo "no" >&6; }
4213 if test -z "$ac_cv_prog_CC"; then
4215 # Extract the first word of "gcc", so it can be a program name with args.
4216 set dummy gcc
; ac_word
=$2
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4218 $as_echo_n "checking for $ac_word... " >&6; }
4219 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4220 $as_echo_n "(cached) " >&6
4222 if test -n "$ac_ct_CC"; then
4223 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4229 test -z "$as_dir" && as_dir
=.
4230 for ac_exec_ext
in '' $ac_executable_extensions; do
4231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4232 ac_cv_prog_ac_ct_CC
="gcc"
4233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4243 if test -n "$ac_ct_CC"; then
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4245 $as_echo "$ac_ct_CC" >&6; }
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4248 $as_echo "no" >&6; }
4251 if test "x$ac_ct_CC" = x
; then
4254 case $cross_compiling:$ac_tool_warned in
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4258 ac_tool_warned
=yes ;;
4266 if test -z "$CC"; then
4267 if test -n "$ac_tool_prefix"; then
4268 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4269 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4271 $as_echo_n "checking for $ac_word... " >&6; }
4272 if ${ac_cv_prog_CC+:} false
; then :
4273 $as_echo_n "(cached) " >&6
4275 if test -n "$CC"; then
4276 ac_cv_prog_CC
="$CC" # Let the user override the test.
4278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir
=.
4283 for ac_exec_ext
in '' $ac_executable_extensions; do
4284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4296 if test -n "$CC"; then
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4298 $as_echo "$CC" >&6; }
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4307 if test -z "$CC"; then
4308 # Extract the first word of "cc", so it can be a program name with args.
4309 set dummy cc
; ac_word
=$2
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if ${ac_cv_prog_CC+:} false
; then :
4313 $as_echo_n "(cached) " >&6
4315 if test -n "$CC"; then
4316 ac_cv_prog_CC
="$CC" # Let the user override the test.
4319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir
=.
4324 for ac_exec_ext
in '' $ac_executable_extensions; do
4325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4326 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4327 ac_prog_rejected
=yes
4331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 if test $ac_prog_rejected = yes; then
4339 # We found a bogon in the path, so make sure we never use it.
4340 set dummy
$ac_cv_prog_CC
4342 if test $# != 0; then
4343 # We chose a different compiler from the bogus one.
4344 # However, it has the same basename, so the bogon will be chosen
4345 # first if we set CC to just the basename; use the full file name.
4347 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4353 if test -n "$CC"; then
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4355 $as_echo "$CC" >&6; }
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4358 $as_echo "no" >&6; }
4363 if test -z "$CC"; then
4364 if test -n "$ac_tool_prefix"; then
4365 for ac_prog
in cl.exe
4367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4368 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4370 $as_echo_n "checking for $ac_word... " >&6; }
4371 if ${ac_cv_prog_CC+:} false
; then :
4372 $as_echo_n "(cached) " >&6
4374 if test -n "$CC"; then
4375 ac_cv_prog_CC
="$CC" # Let the user override the test.
4377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4381 test -z "$as_dir" && as_dir
=.
4382 for ac_exec_ext
in '' $ac_executable_extensions; do
4383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4384 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 if test -n "$CC"; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4397 $as_echo "$CC" >&6; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4404 test -n "$CC" && break
4407 if test -z "$CC"; then
4409 for ac_prog
in cl.exe
4411 # Extract the first word of "$ac_prog", so it can be a program name with args.
4412 set dummy
$ac_prog; ac_word
=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -n "$ac_ct_CC"; then
4419 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir
=.
4426 for ac_exec_ext
in '' $ac_executable_extensions; do
4427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4428 ac_cv_prog_ac_ct_CC
="$ac_prog"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4439 if test -n "$ac_ct_CC"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4441 $as_echo "$ac_ct_CC" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4448 test -n "$ac_ct_CC" && break
4451 if test "x$ac_ct_CC" = x
; then
4454 case $cross_compiling:$ac_tool_warned in
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4458 ac_tool_warned
=yes ;;
4467 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4469 as_fn_error $?
"no acceptable C compiler found in \$PATH
4470 See \`config.log' for more details" "$LINENO" 5; }
4472 # Provide some information about the compiler.
4473 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4476 for ac_option
in --version -v -V -qversion; do
4477 { { ac_try
="$ac_compiler $ac_option >&5"
4479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4483 $as_echo "$ac_try_echo"; } >&5
4484 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4486 if test -s conftest.err; then
4488 ... rest of stderr output deleted ...
4489 10q' conftest.err >conftest.er1
4490 cat conftest.er1 >&5
4492 rm -f conftest.er1 conftest.err
4493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4494 test $ac_status = 0; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4498 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4499 if ${ac_cv_c_compiler_gnu+:} false; then :
4500 $as_echo_n "(cached) " >&6
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4516 if ac_fn_c_try_compile "$LINENO"; then :
4521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4526 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4527 if test $ac_compiler_gnu = yes; then
4532 ac_test_CFLAGS=${CFLAGS+set}
4533 ac_save_CFLAGS=$CFLAGS
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4535 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4536 if ${ac_cv_prog_cc_g+:} false; then :
4537 $as_echo_n "(cached) " >&6
4539 ac_save_c_werror_flag=$ac_c_werror_flag
4540 ac_c_werror_flag=yes
4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4554 if ac_fn_c_try_compile "$LINENO"; then :
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4569 if ac_fn_c_try_compile "$LINENO"; then :
4572 ac_c_werror_flag=$ac_save_c_werror_flag
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4585 if ac_fn_c_try_compile "$LINENO"; then :
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593 ac_c_werror_flag=$ac_save_c_werror_flag
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4596 $as_echo "$ac_cv_prog_cc_g" >&6; }
4597 if test "$ac_test_CFLAGS" = set; then
4598 CFLAGS=$ac_save_CFLAGS
4599 elif test $ac_cv_prog_cc_g = yes; then
4600 if test "$GCC" = yes; then
4606 if test "$GCC" = yes; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4613 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4614 if ${ac_cv_prog_cc_c89+:} false; then :
4615 $as_echo_n "(cached) " >&6
4617 ac_cv_prog_cc_c89=no
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4624 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4625 struct buf { int x; };
4626 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4627 static char *e (p, i)
4633 static char *f (char * (*g) (char **, int), char **p, ...)
4638 s = g (p, va_arg (v,int));
4643 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4644 function prototypes and stuff, but not '\xHH' hex character constants.
4645 These don't provoke an error unfortunately, instead are silently treated
4646 as 'x'. The following induces an error, until -std is added to get
4647 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4648 array size at least. It's necessary to write '\x00'==0 to get something
4649 that's true only with -std. */
4650 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4652 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4653 inside strings and character constants. */
4655 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4657 int test (int i, double x);
4658 struct s1 {int (*f) (int a);};
4659 struct s2 {int (*f) (double a);};
4660 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4666 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4671 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4672 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4674 CC="$ac_save_CC $ac_arg"
4675 if ac_fn_c_try_compile "$LINENO"; then :
4676 ac_cv_prog_cc_c89=$ac_arg
4678 rm -f core conftest.err conftest.$ac_objext
4679 test "x$ac_cv_prog_cc_c89" != "xno" && break
4681 rm -f conftest.$ac_ext
4686 case "x$ac_cv_prog_cc_c89" in
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4689 $as_echo "none needed" >&6; } ;;
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4692 $as_echo "unsupported" >&6; } ;;
4694 CC="$CC $ac_cv_prog_cc_c89"
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4696 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4698 if test "x$ac_cv_prog_cc_c89" != xno; then :
4703 ac_cpp='$CPP $CPPFLAGS'
4704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4708 depcc="$CC" am_compiler_list=
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4711 $as_echo_n "checking dependency style of $depcc... " >&6; }
4712 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4713 $as_echo_n "(cached) " >&6
4715 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4716 # We make a subdir and do the tests there. Otherwise we can end up
4717 # making bogus files that we don't know about and never remove. For
4718 # instance it was reported that on HP-UX the gcc test will end up
4719 # making a dummy file named 'D' -- because '-MD' means "put the output
4723 # Copy depcomp to subdir because otherwise we won't find it if we're
4724 # using a relative directory.
4725 cp "$am_depcomp" conftest.dir
4727 # We will build objects and dependencies in a subdirectory because
4728 # it helps to detect inapplicable dependency modes. For instance
4729 # both Tru64's cc and ICC support -MD to output dependencies as a
4730 # side effect of compilation, but ICC will put the dependencies in
4731 # the current directory while Tru64 will put them in the object
4735 am_cv_CC_dependencies_compiler_type=none
4736 if test "$am_compiler_list" = ""; then
4737 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4740 case " $depcc " in #(
4741 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4744 for depmode in $am_compiler_list; do
4745 # Setup a source with many dependencies, because some compilers
4746 # like to wrap large dependency lists on column 80 (with \), and
4747 # we should not choose a depcomp mode which is confused by this.
4749 # We need to recreate these files for each test, as the compiler may
4750 # overwrite some of them when testing with obscure command lines.
4751 # This happens at least with the AIX C compiler.
4753 for i in 1 2 3 4 5 6; do
4754 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4755 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4756 # Solaris 10 /bin/sh.
4757 echo '/* dummy */' > sub/conftst$i.h
4759 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4761 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4762 # mode. It turns out that the SunPro C++ compiler does not properly
4763 # handle '-M -o', and we need to detect this. Also, some Intel
4764 # versions had trouble with output in subdirs.
4765 am__obj=sub/conftest.${OBJEXT-o}
4766 am__minus_obj="-o $am__obj"
4769 # This depmode causes a compiler race in universal mode.
4770 test "$am__universal" = false || continue
4773 # After this tag, mechanisms are not by side-effect, so they'll
4774 # only be used when explicitly requested.
4775 if test "x$enable_dependency_tracking" = xyes; then
4781 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4782 # This compiler won't grok '-c -o', but also, the minuso test has
4783 # not run yet. These depmodes are late enough in the game, and
4784 # so weak that their functioning should not be impacted.
4785 am__obj=conftest.${OBJEXT-o}
4790 if depmode=$depmode \
4791 source=sub/conftest.c object=$am__obj \
4792 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4793 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4794 >/dev/null 2>conftest.err &&
4795 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4796 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4797 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4798 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4799 # icc doesn't choke on unknown options, it will just issue warnings
4800 # or remarks (even with -Werror). So we grep stderr for any message
4801 # that says an option was ignored or not supported.
4802 # When given -MP, icc 7.0 and 7.1 complain thusly:
4803 # icc: Command line warning: ignoring option '-M'; no argument required
4804 # The diagnosis changed in icc 8.0:
4805 # icc: Command line remark: option '-MP' not supported
4806 if (grep 'ignoring option' conftest.err ||
4807 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4808 am_cv_CC_dependencies_compiler_type=$depmode
4817 am_cv_CC_dependencies_compiler_type=none
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4822 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4823 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4826 test "x$enable_dependency_tracking" != xno \
4827 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4829 am__fastdepCC_FALSE='#'
4831 am__fastdepCC_TRUE='#'
4832 am__fastdepCC_FALSE=
4837 if test -n "$ac_tool_prefix"; then
4838 for ac_prog in ar lib "link -lib"
4840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4841 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4843 $as_echo_n "checking for $ac_word... " >&6; }
4844 if ${ac_cv_prog_AR+:} false; then :
4845 $as_echo_n "(cached) " >&6
4847 if test -n "$AR"; then
4848 ac_cv_prog_AR="$AR" # Let the user override the test.
4850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4854 test -z "$as_dir" && as_dir=.
4855 for ac_exec_ext in '' $ac_executable_extensions; do
4856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4857 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4868 if test -n "$AR"; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4870 $as_echo "$AR" >&6; }
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 $as_echo "no" >&6; }
4877 test -n "$AR" && break
4880 if test -z "$AR"; then
4882 for ac_prog in ar lib "link -lib"
4884 # Extract the first word of "$ac_prog", so it can be a program name with args.
4885 set dummy $ac_prog; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4889 $as_echo_n "(cached) " >&6
4891 if test -n "$ac_ct_AR"; then
4892 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_ac_ct_AR="$ac_prog"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4912 if test -n "$ac_ct_AR"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4914 $as_echo "$ac_ct_AR" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4921 test -n "$ac_ct_AR" && break
4924 if test "x$ac_ct_AR" = x; then
4927 case $cross_compiling:$ac_tool_warned in
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4931 ac_tool_warned=yes ;;
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4940 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4941 if ${am_cv_ar_interface+:} false; then :
4942 $as_echo_n "(cached) " >&6
4944 am_cv_ar_interface=ar
4945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4946 /* end confdefs.h. */
4947 int some_variable = 0;
4949 if ac_fn_c_try_compile "$LINENO"; then :
4950 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4951 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4952 (eval $am_ar_try) 2>&5
4954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4955 test $ac_status = 0; }
4956 if test "$ac_status" -eq 0; then
4957 am_cv_ar_interface=ar
4959 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4961 (eval $am_ar_try) 2>&5
4963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4964 test $ac_status = 0; }
4965 if test "$ac_status" -eq 0; then
4966 am_cv_ar_interface=lib
4968 am_cv_ar_interface=unknown
4971 rm -f conftest.lib libconftest.a
4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4978 $as_echo "$am_cv_ar_interface" >&6; }
4980 case $am_cv_ar_interface in
4984 # Microsoft lib, so override with the ar-lib wrapper script.
4985 # FIXME: It is wrong to rewrite AR.
4986 # But if we don't then we get into trouble of one sort or another.
4987 # A longer-term fix would be to have automake use am__AR in this case,
4988 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4990 AR="$am_aux_dir/ar-lib $AR"
4993 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5002 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5007 macro_version='2.4.2'
5008 macro_revision='1.3337'
5022 ltmain="$ac_aux_dir/ltmain.sh"
5024 # Make sure we can run config.sub.
5025 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5026 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5029 $as_echo_n "checking build system type... " >&6; }
5030 if ${ac_cv_build+:} false; then :
5031 $as_echo_n "(cached) " >&6
5033 ac_build_alias=$build_alias
5034 test "x$ac_build_alias" = x &&
5035 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5036 test "x$ac_build_alias" = x &&
5037 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5038 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5039 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5043 $as_echo "$ac_cv_build" >&6; }
5044 case $ac_cv_build in
5046 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5049 ac_save_IFS=$IFS; IFS='-'
5055 # Remember, the first character of IFS is used to create $*,
5056 # except with old shells:
5059 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5063 $as_echo_n "checking host system type... " >&6; }
5064 if ${ac_cv_host+:} false; then :
5065 $as_echo_n "(cached) " >&6
5067 if test "x$host_alias" = x; then
5068 ac_cv_host=$ac_cv_build
5070 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5071 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5076 $as_echo "$ac_cv_host" >&6; }
5079 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5082 ac_save_IFS=$IFS; IFS='-'
5088 # Remember, the first character of IFS is used to create $*,
5089 # except with old shells:
5092 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5095 # Backslashify metacharacters that are still active within
5096 # double-quoted strings.
5097 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5099 # Same as above, but do not quote variable references.
5100 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5102 # Sed substitution to delay expansion of an escaped shell variable in a
5103 # double_quote_subst'ed string.
5104 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5106 # Sed substitution to delay expansion of an escaped single quote.
5107 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5109 # Sed substitution to avoid accidental globbing in evaled expressions
5110 no_glob_subst='s/\*/\\\*/g'
5112 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5113 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5114 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5117 $as_echo_n "checking how to print
strings...
" >&6; }
5118 # Test print first, because it will be a builtin if present.
5119 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5120 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5122 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5125 # Use this function as a fallback that always works.
5126 func_fallback_echo ()
5128 eval 'cat <<_LTECHO_EOF
5132 ECHO='func_fallback_echo'
5135 # func_echo_all arg...
5136 # Invoke $ECHO with all args, space-separated.
5143 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5144 $as_echo "printf" >&6; } ;;
5145 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5146 $as_echo "print
-r" >&6; } ;;
5147 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5148 $as_echo "cat" >&6; } ;;
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5165 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5166 if ${ac_cv_path_SED+:} false; then :
5167 $as_echo_n "(cached
) " >&6
5169 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5170 for ac_i in 1 2 3 4 5 6 7; do
5171 ac_script="$ac_script$as_nl$ac_script"
5173 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5174 { ac_script=; unset ac_script;}
5175 if test -z "$SED"; then
5176 ac_path_SED_found=false
5177 # Loop through the user's path and test for each of PROGNAME-LIST
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 test -z "$as_dir" && as_dir=.
5183 for ac_prog in sed gsed; do
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5186 as_fn_executable_p "$ac_path_SED" || continue
5187 # Check for GNU ac_path_SED and select it if it is found.
5188 # Check for GNU $ac_path_SED
5189 case `"$ac_path_SED" --version 2>&1` in
5191 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5194 $as_echo_n 0123456789 >"conftest.
in"
5197 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5198 mv "conftest.tmp
" "conftest.
in"
5199 cp "conftest.
in" "conftest.
nl"
5200 $as_echo '' >> "conftest.
nl"
5201 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5202 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5203 as_fn_arith $ac_count + 1 && ac_count=$as_val
5204 if test $ac_count -gt ${ac_path_SED_max-0}; then
5205 # Best one so far, save it but keep looking for a better one
5206 ac_cv_path_SED="$ac_path_SED"
5207 ac_path_SED_max=$ac_count
5209 # 10*(2^10) chars as input seems more than enough
5210 test $ac_count -gt 10 && break
5212 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5215 $ac_path_SED_found && break 3
5220 if test -z "$ac_cv_path_SED"; then
5221 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5229 $as_echo "$ac_cv_path_SED" >&6; }
5230 SED="$ac_cv_path_SED"
5233 test -z "$SED" && SED=sed
5234 Xsed="$SED -e 1s
/^X
//"
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5247 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5248 if ${ac_cv_path_GREP+:} false; then :
5249 $as_echo_n "(cached
) " >&6
5251 if test -z "$GREP"; then
5252 ac_path_GREP_found=false
5253 # Loop through the user's path and test for each of PROGNAME-LIST
5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5258 test -z "$as_dir" && as_dir=.
5259 for ac_prog in grep ggrep; do
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5262 as_fn_executable_p "$ac_path_GREP" || continue
5263 # Check for GNU ac_path_GREP and select it if it is found.
5264 # Check for GNU $ac_path_GREP
5265 case `"$ac_path_GREP" --version 2>&1` in
5267 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5270 $as_echo_n 0123456789 >"conftest.
in"
5273 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5274 mv "conftest.tmp
" "conftest.
in"
5275 cp "conftest.
in" "conftest.
nl"
5276 $as_echo 'GREP' >> "conftest.
nl"
5277 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5278 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5279 as_fn_arith $ac_count + 1 && ac_count=$as_val
5280 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5281 # Best one so far, save it but keep looking for a better one
5282 ac_cv_path_GREP="$ac_path_GREP"
5283 ac_path_GREP_max=$ac_count
5285 # 10*(2^10) chars as input seems more than enough
5286 test $ac_count -gt 10 && break
5288 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5291 $ac_path_GREP_found && break 3
5296 if test -z "$ac_cv_path_GREP"; then
5297 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5300 ac_cv_path_GREP=$GREP
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5305 $as_echo "$ac_cv_path_GREP" >&6; }
5306 GREP="$ac_cv_path_GREP"
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5310 $as_echo_n "checking
for egrep...
" >&6; }
5311 if ${ac_cv_path_EGREP+:} false; then :
5312 $as_echo_n "(cached
) " >&6
5314 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5315 then ac_cv_path_EGREP="$GREP -E"
5317 if test -z "$EGREP"; then
5318 ac_path_EGREP_found=false
5319 # Loop through the user's path and test for each of PROGNAME-LIST
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5324 test -z "$as_dir" && as_dir=.
5325 for ac_prog in egrep; do
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5328 as_fn_executable_p "$ac_path_EGREP" || continue
5329 # Check for GNU ac_path_EGREP and select it if it is found.
5330 # Check for GNU $ac_path_EGREP
5331 case `"$ac_path_EGREP" --version 2>&1` in
5333 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5336 $as_echo_n 0123456789 >"conftest.
in"
5339 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5340 mv "conftest.tmp
" "conftest.
in"
5341 cp "conftest.
in" "conftest.
nl"
5342 $as_echo 'EGREP' >> "conftest.
nl"
5343 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5344 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5345 as_fn_arith $ac_count + 1 && ac_count=$as_val
5346 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5347 # Best one so far, save it but keep looking for a better one
5348 ac_cv_path_EGREP="$ac_path_EGREP"
5349 ac_path_EGREP_max=$ac_count
5351 # 10*(2^10) chars as input seems more than enough
5352 test $ac_count -gt 10 && break
5354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5357 $ac_path_EGREP_found && break 3
5362 if test -z "$ac_cv_path_EGREP"; then
5363 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5366 ac_cv_path_EGREP=$EGREP
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5372 $as_echo "$ac_cv_path_EGREP" >&6; }
5373 EGREP="$ac_cv_path_EGREP"
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5377 $as_echo_n "checking
for fgrep...
" >&6; }
5378 if ${ac_cv_path_FGREP+:} false; then :
5379 $as_echo_n "(cached
) " >&6
5381 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5382 then ac_cv_path_FGREP="$GREP -F"
5384 if test -z "$FGREP"; then
5385 ac_path_FGREP_found=false
5386 # Loop through the user's path and test for each of PROGNAME-LIST
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5391 test -z "$as_dir" && as_dir=.
5392 for ac_prog in fgrep; do
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5395 as_fn_executable_p "$ac_path_FGREP" || continue
5396 # Check for GNU ac_path_FGREP and select it if it is found.
5397 # Check for GNU $ac_path_FGREP
5398 case `"$ac_path_FGREP" --version 2>&1` in
5400 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5403 $as_echo_n 0123456789 >"conftest.
in"
5406 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5407 mv "conftest.tmp
" "conftest.
in"
5408 cp "conftest.
in" "conftest.
nl"
5409 $as_echo 'FGREP' >> "conftest.
nl"
5410 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5411 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5412 as_fn_arith $ac_count + 1 && ac_count=$as_val
5413 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5414 # Best one so far, save it but keep looking for a better one
5415 ac_cv_path_FGREP="$ac_path_FGREP"
5416 ac_path_FGREP_max=$ac_count
5418 # 10*(2^10) chars as input seems more than enough
5419 test $ac_count -gt 10 && break
5421 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5424 $ac_path_FGREP_found && break 3
5429 if test -z "$ac_cv_path_FGREP"; then
5430 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5433 ac_cv_path_FGREP=$FGREP
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5439 $as_echo "$ac_cv_path_FGREP" >&6; }
5440 FGREP="$ac_cv_path_FGREP"
5443 test -z "$GREP" && GREP=grep
5463 # Check whether --with-gnu-ld was given.
5464 if test "${with_gnu_ld+set}" = set; then :
5465 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5471 if test "$GCC" = yes; then
5472 # Check if gcc -print-prog-name=ld gives a path.
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5474 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5477 # gcc leaves a trailing carriage return which upsets mingw
5478 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5480 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5483 # Accept absolute paths.
5485 re_direlt='/[^/][^/]*/\.\./'
5486 # Canonicalize the pathname of ld
5487 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5488 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5489 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5491 test -z "$LD" && LD="$ac_prog"
5494 # If it fails, then pretend we aren't using GCC.
5498 # If it is relative, then search for the first ld in PATH.
5502 elif test "$with_gnu_ld" = yes; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5504 $as_echo_n "checking
for GNU ld...
" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5507 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5509 if ${lt_cv_path_LD+:} false; then :
5510 $as_echo_n "(cached
) " >&6
5512 if test -z "$LD"; then
5513 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5514 for ac_dir in $PATH; do
5516 test -z "$ac_dir" && ac_dir=.
5517 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5518 lt_cv_path_LD="$ac_dir/$ac_prog"
5519 # Check to see if the program is GNU ld. I'd rather use --version,
5520 # but apparently some variants of GNU ld only accept -v.
5521 # Break only if it was the GNU/non-GNU ld that we prefer.
5522 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5523 *GNU* | *'with BFD'*)
5524 test "$with_gnu_ld" != no && break
5527 test "$with_gnu_ld" != yes && break
5534 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5539 if test -n "$LD"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5541 $as_echo "$LD" >&6; }
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5544 $as_echo "no
" >&6; }
5546 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5548 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5549 if ${lt_cv_prog_gnu_ld+:} false; then :
5550 $as_echo_n "(cached
) " >&6
5552 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5553 case `$LD -v 2>&1 </dev/null` in
5554 *GNU* | *'with BFD'*)
5555 lt_cv_prog_gnu_ld=yes
5558 lt_cv_prog_gnu_ld=no
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5563 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5564 with_gnu_ld=$lt_cv_prog_gnu_ld
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5575 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5576 if ${lt_cv_path_NM+:} false; then :
5577 $as_echo_n "(cached
) " >&6
5579 if test -n "$NM"; then
5580 # Let the user override the test.
5583 lt_nm_to_check="${ac_tool_prefix}nm
"
5584 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5585 lt_nm_to_check="$lt_nm_to_check nm
"
5587 for lt_tmp_nm in $lt_nm_to_check; do
5588 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5589 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5591 test -z "$ac_dir" && ac_dir=.
5592 tmp_nm="$ac_dir/$lt_tmp_nm"
5593 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5594 # Check to see if the nm accepts a BSD-compat flag.
5595 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5596 # nm: unknown option "B
" ignored
5597 # Tru64's nm complains that /dev/null is an invalid object file
5598 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5599 */dev/null* | *'Invalid file or object type'*)
5600 lt_cv_path_NM="$tmp_nm -B"
5604 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5606 lt_cv_path_NM="$tmp_nm -p"
5610 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5611 continue # so that we can try to find one that supports BSD flags
5620 : ${lt_cv_path_NM=no}
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5624 $as_echo "$lt_cv_path_NM" >&6; }
5625 if test "$lt_cv_path_NM" != "no
"; then
5628 # Didn't find any BSD compatible name lister, look for dumpbin.
5629 if test -n "$DUMPBIN"; then :
5630 # Let the user override the test.
5632 if test -n "$ac_tool_prefix"; then
5633 for ac_prog in dumpbin "link
-dump"
5635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5638 $as_echo_n "checking
for $ac_word...
" >&6; }
5639 if ${ac_cv_prog_DUMPBIN+:} false; then :
5640 $as_echo_n "(cached
) " >&6
5642 if test -n "$DUMPBIN"; then
5643 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir=.
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5653 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5662 DUMPBIN=$ac_cv_prog_DUMPBIN
5663 if test -n "$DUMPBIN"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5665 $as_echo "$DUMPBIN" >&6; }
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5668 $as_echo "no
" >&6; }
5672 test -n "$DUMPBIN" && break
5675 if test -z "$DUMPBIN"; then
5676 ac_ct_DUMPBIN=$DUMPBIN
5677 for ac_prog in dumpbin "link
-dump"
5679 # Extract the first word of "$ac_prog", so it can be a program name with args.
5680 set dummy $ac_prog; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5682 $as_echo_n "checking
for $ac_word...
" >&6; }
5683 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5684 $as_echo_n "(cached
) " >&6
5686 if test -n "$ac_ct_DUMPBIN"; then
5687 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5706 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5707 if test -n "$ac_ct_DUMPBIN"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5709 $as_echo "$ac_ct_DUMPBIN" >&6; }
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5712 $as_echo "no
" >&6; }
5716 test -n "$ac_ct_DUMPBIN" && break
5719 if test "x
$ac_ct_DUMPBIN" = x; then
5722 case $cross_compiling:$ac_tool_warned in
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5725 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5726 ac_tool_warned=yes ;;
5728 DUMPBIN=$ac_ct_DUMPBIN
5732 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5734 DUMPBIN="$DUMPBIN -symbols"
5742 if test "$DUMPBIN" != ":"; then
5746 test -z "$NM" && NM=nm
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5754 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5755 if ${lt_cv_nm_interface+:} false; then :
5756 $as_echo_n "(cached
) " >&6
5758 lt_cv_nm_interface="BSD nm
"
5759 echo "int some_variable
= 0;" > conftest.$ac_ext
5760 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5761 (eval "$ac_compile" 2>conftest.err)
5762 cat conftest.err >&5
5763 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5764 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5765 cat conftest.err >&5
5766 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5767 cat conftest.out >&5
5768 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5769 lt_cv_nm_interface="MS dumpbin
"
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5774 $as_echo "$lt_cv_nm_interface" >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5777 $as_echo_n "checking whether
ln -s works...
" >&6; }
5779 if test "$LN_S" = "ln -s"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5781 $as_echo "yes" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5784 $as_echo "no
, using
$LN_S" >&6; }
5787 # find the maximum length of command line arguments
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5789 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5790 if ${lt_cv_sys_max_cmd_len+:} false; then :
5791 $as_echo_n "(cached
) " >&6
5798 # On DJGPP, this test can blow up pretty badly due to problems in libc
5799 # (any single argument exceeding 2000 bytes causes a buffer overrun
5800 # during glob expansion). Even if it were fixed, the result of this
5801 # check would be larger than it should be.
5802 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5806 # Under GNU Hurd, this test is not required because there is
5807 # no limit to the length of command line arguments.
5808 # Libtool will interpret -1 as no limit whatsoever
5809 lt_cv_sys_max_cmd_len=-1;
5812 cygwin* | mingw* | cegcc*)
5813 # On Win9x/ME, this test blows up -- it succeeds, but takes
5814 # about 5 minutes as the teststring grows exponentially.
5815 # Worse, since 9x/ME are not pre-emptively multitasking,
5816 # you end up with a "frozen
" computer, even though with patience
5817 # the test eventually succeeds (with a max line length of 256k).
5818 # Instead, let's just punt: use the minimum linelength reported by
5819 # all of the supported platforms: 8192 (on NT/2K/XP).
5820 lt_cv_sys_max_cmd_len=8192;
5824 # On MiNT this can take a long time and run out of memory.
5825 lt_cv_sys_max_cmd_len=8192;
5829 # On AmigaOS with pdksh, this test takes hours, literally.
5830 # So we just punt and use a minimum line length of 8192.
5831 lt_cv_sys_max_cmd_len=8192;
5834 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5835 # This has been around since 386BSD, at least. Likely further.
5836 if test -x /sbin/sysctl; then
5837 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5838 elif test -x /usr/sbin/sysctl; then
5839 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5841 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5843 # And add a safety zone
5844 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5845 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5849 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5850 lt_cv_sys_max_cmd_len=196608
5854 # The test takes a long time on OS/2.
5855 lt_cv_sys_max_cmd_len=8192
5859 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5860 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5861 # nice to cause kernel panics so lets avoid the loop below.
5862 # First set a reasonable default.
5863 lt_cv_sys_max_cmd_len=16384
5865 if test -x /sbin/sysconfig; then
5866 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5867 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5872 lt_cv_sys_max_cmd_len=102400
5874 sysv5* | sco5v6* | sysv4.2uw2*)
5875 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5876 if test -n "$kargmax"; then
5877 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5879 lt_cv_sys_max_cmd_len=32768
5883 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5884 if test -n "$lt_cv_sys_max_cmd_len"; then
5885 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5886 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5888 # Make teststring a little bigger before we do anything with it.
5889 # a 1K string should be a reasonable start.
5890 for i in 1 2 3 4 5 6 7 8 ; do
5891 teststring=$teststring$teststring
5893 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5894 # If test is not a shell built-in, we'll probably end up computing a
5895 # maximum length that is only half of the actual maximum length, but
5897 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5898 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5899 test $i != 17 # 1/2 MB should be enough
5902 teststring=$teststring$teststring
5904 # Only check the string length outside the loop.
5905 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5907 # Add a significant safety factor because C++ compilers can tack on
5908 # massive amounts of additional arguments before passing them to the
5909 # linker. It appears as though 1/2 is a usable value.
5910 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5917 if test -n $lt_cv_sys_max_cmd_len ; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5919 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5922 $as_echo "none
" >&6; }
5924 max_cmd_len=$lt_cv_sys_max_cmd_len
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5936 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5937 # Try some XSI features
5940 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5942 && eval 'test $(( 1 + 1 )) -eq 2 \
5943 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5946 $as_echo "$xsi_shell" >&6; }
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5950 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5952 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5954 && lt_shell_append=yes
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5956 $as_echo "$lt_shell_append" >&6; }
5959 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5969 # test EBCDIC or ASCII
5970 case `echo X|tr X '\101'` in
5971 A) # ASCII based system
5972 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5973 lt_SP2NL='tr \040 \012'
5974 lt_NL2SP='tr \015\012 \040\040'
5976 *) # EBCDIC based system
5977 lt_SP2NL='tr \100 \n'
5978 lt_NL2SP='tr \r\n \100\100'
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5991 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5992 if ${lt_cv_to_host_file_cmd+:} false; then :
5993 $as_echo_n "(cached
) " >&6
5998 *-*-mingw* ) # actually msys
5999 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6002 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6004 * ) # otherwise, assume *nix
6005 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6011 *-*-mingw* ) # actually msys
6012 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6015 lt_cv_to_host_file_cmd=func_convert_file_noop
6017 * ) # otherwise, assume *nix
6018 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6022 * ) # unhandled hosts (and "normal
" native builds)
6023 lt_cv_to_host_file_cmd=func_convert_file_noop
6029 to_host_file_cmd=$lt_cv_to_host_file_cmd
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6031 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6038 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6039 if ${lt_cv_to_tool_file_cmd+:} false; then :
6040 $as_echo_n "(cached
) " >&6
6042 #assume ordinary cross tools, or native build.
6043 lt_cv_to_tool_file_cmd=func_convert_file_noop
6047 *-*-mingw* ) # actually msys
6048 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6056 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6058 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6065 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6066 if ${lt_cv_ld_reload_flag+:} false; then :
6067 $as_echo_n "(cached
) " >&6
6069 lt_cv_ld_reload_flag='-r'
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6072 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6073 reload_flag=$lt_cv_ld_reload_flag
6074 case $reload_flag in
6076 *) reload_flag=" $reload_flag" ;;
6078 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6080 cygwin* | mingw* | pw32* | cegcc*)
6081 if test "$GCC" != yes; then
6086 if test "$GCC" = yes; then
6087 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6089 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6106 $as_echo_n "checking
for $ac_word...
" >&6; }
6107 if ${ac_cv_prog_OBJDUMP+:} false; then :
6108 $as_echo_n "(cached
) " >&6
6110 if test -n "$OBJDUMP"; then
6111 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6130 OBJDUMP=$ac_cv_prog_OBJDUMP
6131 if test -n "$OBJDUMP"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6133 $as_echo "$OBJDUMP" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6136 $as_echo "no
" >&6; }
6141 if test -z "$ac_cv_prog_OBJDUMP"; then
6142 ac_ct_OBJDUMP=$OBJDUMP
6143 # Extract the first word of "objdump
", so it can be a program name with args.
6144 set dummy objdump; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6146 $as_echo_n "checking
for $ac_word...
" >&6; }
6147 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6148 $as_echo_n "(cached
) " >&6
6150 if test -n "$ac_ct_OBJDUMP"; then
6151 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6170 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6171 if test -n "$ac_ct_OBJDUMP"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6173 $as_echo "$ac_ct_OBJDUMP" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6176 $as_echo "no
" >&6; }
6179 if test "x
$ac_ct_OBJDUMP" = x; then
6182 case $cross_compiling:$ac_tool_warned in
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6185 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6186 ac_tool_warned=yes ;;
6188 OBJDUMP=$ac_ct_OBJDUMP
6191 OBJDUMP="$ac_cv_prog_OBJDUMP"
6194 test -z "$OBJDUMP" && OBJDUMP=objdump
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6205 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6206 if ${lt_cv_deplibs_check_method+:} false; then :
6207 $as_echo_n "(cached
) " >&6
6209 lt_cv_file_magic_cmd='$MAGIC_CMD'
6210 lt_cv_file_magic_test_file=
6211 lt_cv_deplibs_check_method='unknown'
6212 # Need to set the preceding variable on all platforms that support
6213 # interlibrary dependencies.
6214 # 'none' -- dependencies not supported.
6215 # `unknown' -- same as none, but documents that we really don't know.
6216 # 'pass_all' -- all dependencies passed with no checks.
6217 # 'test_compile' -- check by making test program.
6218 # 'file_magic [[regex]]' -- check by looking for files in library path
6219 # which responds to the $file_magic_cmd with a given extended regex.
6220 # If you have `file' or equivalent on your system and you're not sure
6221 # whether `pass_all' will *always* work, you probably want this one.
6225 lt_cv_deplibs_check_method=pass_all
6229 lt_cv_deplibs_check_method=pass_all
6233 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6234 lt_cv_file_magic_cmd='/usr/bin/file -L'
6235 lt_cv_file_magic_test_file=/shlib/libc.so
6239 # func_win32_libid is a shell function defined in ltmain.sh
6240 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6241 lt_cv_file_magic_cmd='func_win32_libid'
6245 # Base MSYS/MinGW do not provide the 'file' command needed by
6246 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6247 # unless we find 'file', for example because we are cross-compiling.
6248 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6249 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6250 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6251 lt_cv_file_magic_cmd='func_win32_libid'
6253 # Keep this pattern in sync with the one in func_win32_libid.
6254 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6255 lt_cv_file_magic_cmd='$OBJDUMP -f'
6260 # use the weaker test based on 'objdump'. See mingw*.
6261 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6262 lt_cv_file_magic_cmd='$OBJDUMP -f'
6265 darwin* | rhapsody*)
6266 lt_cv_deplibs_check_method=pass_all
6269 freebsd* | dragonfly*)
6270 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6273 # Not sure whether the presence of OpenBSD here was a mistake.
6274 # Let's accept both of them until this is cleared up.
6275 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6276 lt_cv_file_magic_cmd=/usr/bin/file
6277 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6281 lt_cv_deplibs_check_method=pass_all
6286 lt_cv_deplibs_check_method=pass_all
6290 lt_cv_deplibs_check_method=pass_all
6293 hpux10.20* | hpux11*)
6294 lt_cv_file_magic_cmd=/usr/bin/file
6297 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6298 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6301 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]'
6302 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6306 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6312 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6316 irix5* | irix6* | nonstopux*)
6318 *-32|*"-32 ") libmagic=32-bit;;
6319 *-n32|*"-n32 ") libmagic=N32;;
6320 *-64|*"-64 ") libmagic=64-bit;;
6321 *) libmagic=never-match;;
6323 lt_cv_deplibs_check_method=pass_all
6326 # This must be glibc/ELF.
6327 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6328 lt_cv_deplibs_check_method=pass_all
6332 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6340 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6341 lt_cv_file_magic_cmd=/usr/bin/file
6342 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6346 lt_cv_deplibs_check_method=pass_all
6350 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6351 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6357 osf3* | osf4* | osf5*)
6358 lt_cv_deplibs_check_method=pass_all
6362 lt_cv_deplibs_check_method=pass_all
6366 lt_cv_deplibs_check_method=pass_all
6369 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6370 lt_cv_deplibs_check_method=pass_all
6374 case $host_vendor in
6376 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]'
6377 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6380 lt_cv_deplibs_check_method=pass_all
6383 lt_cv_file_magic_cmd='/bin/file'
6384 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6387 lt_cv_file_magic_cmd='/bin/file'
6388 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6389 lt_cv_file_magic_test_file=/lib/libc.so
6392 lt_cv_deplibs_check_method=pass_all
6395 lt_cv_deplibs_check_method=pass_all
6401 lt_cv_deplibs_check_method=pass_all
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6407 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6411 if test "$build" = "$host"; then
6414 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6417 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6423 file_magic_cmd=$lt_cv_file_magic_cmd
6424 deplibs_check_method=$lt_cv_deplibs_check_method
6425 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6448 if test -n "$ac_tool_prefix"; then
6449 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6450 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6452 $as_echo_n "checking
for $ac_word...
" >&6; }
6453 if ${ac_cv_prog_DLLTOOL+:} false; then :
6454 $as_echo_n "(cached
) " >&6
6456 if test -n "$DLLTOOL"; then
6457 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6466 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6476 DLLTOOL=$ac_cv_prog_DLLTOOL
6477 if test -n "$DLLTOOL"; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6479 $as_echo "$DLLTOOL" >&6; }
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6482 $as_echo "no
" >&6; }
6487 if test -z "$ac_cv_prog_DLLTOOL"; then
6488 ac_ct_DLLTOOL=$DLLTOOL
6489 # Extract the first word of "dlltool
", so it can be a program name with args.
6490 set dummy dlltool; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6492 $as_echo_n "checking
for $ac_word...
" >&6; }
6493 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6494 $as_echo_n "(cached
) " >&6
6496 if test -n "$ac_ct_DLLTOOL"; then
6497 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6503 test -z "$as_dir" && as_dir=.
6504 for ac_exec_ext in '' $ac_executable_extensions; do
6505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6506 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6516 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6517 if test -n "$ac_ct_DLLTOOL"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6519 $as_echo "$ac_ct_DLLTOOL" >&6; }
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6522 $as_echo "no
" >&6; }
6525 if test "x
$ac_ct_DLLTOOL" = x; then
6528 case $cross_compiling:$ac_tool_warned in
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6531 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6532 ac_tool_warned=yes ;;
6534 DLLTOOL=$ac_ct_DLLTOOL
6537 DLLTOOL="$ac_cv_prog_DLLTOOL"
6540 test -z "$DLLTOOL" && DLLTOOL=dlltool
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6552 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6553 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6554 $as_echo_n "(cached
) " >&6
6556 lt_cv_sharedlib_from_linklib_cmd='unknown'
6559 cygwin* | mingw* | pw32* | cegcc*)
6560 # two different shell functions defined in ltmain.sh
6561 # decide which to use based on capabilities of $DLLTOOL
6562 case `$DLLTOOL --help 2>&1` in
6563 *--identify-strict*)
6564 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6567 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6572 # fallback: assume linklib IS sharedlib
6573 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6579 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6580 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6581 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6589 if test -n "$ac_tool_prefix"; then
6592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6595 $as_echo_n "checking
for $ac_word...
" >&6; }
6596 if ${ac_cv_prog_AR+:} false; then :
6597 $as_echo_n "(cached
) " >&6
6599 if test -n "$AR"; then
6600 ac_cv_prog_AR="$AR" # Let the user override the test.
6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6606 test -z "$as_dir" && as_dir=.
6607 for ac_exec_ext in '' $ac_executable_extensions; do
6608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6609 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6620 if test -n "$AR"; then
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6622 $as_echo "$AR" >&6; }
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6625 $as_echo "no
" >&6; }
6629 test -n "$AR" && break
6632 if test -z "$AR"; then
6636 # Extract the first word of "$ac_prog", so it can be a program name with args.
6637 set dummy $ac_prog; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6639 $as_echo_n "checking
for $ac_word...
" >&6; }
6640 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6641 $as_echo_n "(cached
) " >&6
6643 if test -n "$ac_ct_AR"; then
6644 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6653 ac_cv_prog_ac_ct_AR="$ac_prog"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6663 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6664 if test -n "$ac_ct_AR"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6666 $as_echo "$ac_ct_AR" >&6; }
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6669 $as_echo "no
" >&6; }
6673 test -n "$ac_ct_AR" && break
6676 if test "x
$ac_ct_AR" = x; then
6679 case $cross_compiling:$ac_tool_warned in
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6682 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6683 ac_tool_warned=yes ;;
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6703 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6704 if ${lt_cv_ar_at_file+:} false; then :
6705 $as_echo_n "(cached
) " >&6
6708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6709 /* end confdefs.h. */
6719 if ac_fn_c_try_compile "$LINENO"; then :
6720 echo conftest.$ac_objext > conftest.lst
6721 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6722 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6723 (eval $lt_ar_try) 2>&5
6725 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6726 test $ac_status = 0; }
6727 if test "$ac_status" -eq 0; then
6728 # Ensure the archiver fails upon bogus file names.
6729 rm -f conftest.$ac_objext libconftest.a
6730 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6731 (eval $lt_ar_try) 2>&5
6733 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6734 test $ac_status = 0; }
6735 if test "$ac_status" -ne 0; then
6739 rm -f conftest.* libconftest.a
6742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6746 $as_echo "$lt_cv_ar_at_file" >&6; }
6748 if test "x
$lt_cv_ar_at_file" = xno; then
6751 archiver_list_spec=$lt_cv_ar_at_file
6760 if test -n "$ac_tool_prefix"; then
6761 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6762 set dummy ${ac_tool_prefix}strip; ac_word=$2
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6764 $as_echo_n "checking
for $ac_word...
" >&6; }
6765 if ${ac_cv_prog_STRIP+:} false; then :
6766 $as_echo_n "(cached
) " >&6
6768 if test -n "$STRIP"; then
6769 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 test -z "$as_dir" && as_dir=.
6776 for ac_exec_ext in '' $ac_executable_extensions; do
6777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6778 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6788 STRIP=$ac_cv_prog_STRIP
6789 if test -n "$STRIP"; then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6791 $as_echo "$STRIP" >&6; }
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6794 $as_echo "no
" >&6; }
6799 if test -z "$ac_cv_prog_STRIP"; then
6801 # Extract the first word of "strip
", so it can be a program name with args.
6802 set dummy strip; ac_word=$2
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6804 $as_echo_n "checking
for $ac_word...
" >&6; }
6805 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6806 $as_echo_n "(cached
) " >&6
6808 if test -n "$ac_ct_STRIP"; then
6809 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6815 test -z "$as_dir" && as_dir=.
6816 for ac_exec_ext in '' $ac_executable_extensions; do
6817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6818 ac_cv_prog_ac_ct_STRIP="strip
"
6819 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6828 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6829 if test -n "$ac_ct_STRIP"; then
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6831 $as_echo "$ac_ct_STRIP" >&6; }
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6834 $as_echo "no
" >&6; }
6837 if test "x
$ac_ct_STRIP" = x; then
6840 case $cross_compiling:$ac_tool_warned in
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6843 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6844 ac_tool_warned=yes ;;
6849 STRIP="$ac_cv_prog_STRIP"
6852 test -z "$STRIP" && STRIP=:
6859 if test -n "$ac_tool_prefix"; then
6860 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6861 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6863 $as_echo_n "checking
for $ac_word...
" >&6; }
6864 if ${ac_cv_prog_RANLIB+:} false; then :
6865 $as_echo_n "(cached
) " >&6
6867 if test -n "$RANLIB"; then
6868 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874 test -z "$as_dir" && as_dir=.
6875 for ac_exec_ext in '' $ac_executable_extensions; do
6876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6877 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6887 RANLIB=$ac_cv_prog_RANLIB
6888 if test -n "$RANLIB"; then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6890 $as_echo "$RANLIB" >&6; }
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6893 $as_echo "no
" >&6; }
6898 if test -z "$ac_cv_prog_RANLIB"; then
6899 ac_ct_RANLIB=$RANLIB
6900 # Extract the first word of "ranlib
", so it can be a program name with args.
6901 set dummy ranlib; ac_word=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6903 $as_echo_n "checking
for $ac_word...
" >&6; }
6904 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6905 $as_echo_n "(cached
) " >&6
6907 if test -n "$ac_ct_RANLIB"; then
6908 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914 test -z "$as_dir" && as_dir=.
6915 for ac_exec_ext in '' $ac_executable_extensions; do
6916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6917 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6927 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6928 if test -n "$ac_ct_RANLIB"; then
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6930 $as_echo "$ac_ct_RANLIB" >&6; }
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6933 $as_echo "no
" >&6; }
6936 if test "x
$ac_ct_RANLIB" = x; then
6939 case $cross_compiling:$ac_tool_warned in
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6942 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6943 ac_tool_warned=yes ;;
6945 RANLIB=$ac_ct_RANLIB
6948 RANLIB="$ac_cv_prog_RANLIB"
6951 test -z "$RANLIB" && RANLIB=:
6958 # Determine commands to create old-style static archives.
6959 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6960 old_postinstall_cmds='chmod 644 $oldlib'
6961 old_postuninstall_cmds=
6963 if test -n "$RANLIB"; then
6966 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6969 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6972 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6977 lock_old_archive_extraction=yes ;;
6979 lock_old_archive_extraction=no ;;
7020 # If no C compiler was specified, use CC.
7023 # If no C compiler flags were specified, use CFLAGS.
7024 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7026 # Allow CC to be a program name with arguments.
7030 # Check for command to grab the raw symbol name followed by C symbol from nm.
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7032 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7033 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7034 $as_echo_n "(cached
) " >&6
7037 # These are sane defaults that work on at least a few old systems.
7038 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7040 # Character class describing NM global symbol codes.
7041 symcode='[BCDEGRST]'
7043 # Regexp to match symbols that can be accessed directly from C.
7044 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7046 # Define system-specific variables.
7051 cygwin* | mingw* | pw32* | cegcc*)
7052 symcode='[ABCDGISTW]'
7055 if test "$host_cpu" = ia64; then
7056 symcode='[ABCDEGRST]'
7060 symcode='[BCDEGRST]'
7063 symcode='[BCDEGQRST]'
7074 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7082 # If we're using GNU nm, then use its standard symbol codes.
7083 case `$NM -V 2>&1` in
7084 *GNU* | *'with BFD'*)
7085 symcode='[ABCDGIRSTW]' ;;
7088 # Transform an extracted symbol line into a proper C declaration.
7089 # Some systems (esp. on ia64) link data and code symbols differently,
7090 # so use this general approach.
7091 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7093 # Transform an extracted symbol line into symbol name and symbol address
7094 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7095 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'"
7097 # Handle CRLF in mingw tool chain
7101 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7105 # Try without a prefix underscore, then with it.
7106 for ac_symprfx in "" "_
"; do
7108 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7109 symxfrm="\\1 $ac_symprfx\\2 \\2"
7111 # Write the raw and C identifiers.
7112 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7113 # Fake it for dumpbin and say T for any non-static function
7114 # and D for any global variable.
7115 # Also find C++ and __fastcall symbols from MSVC++,
7116 # which start with @ or ?.
7117 lt_cv_sys_global_symbol_pipe="$AWK '"\
7118 " {last_section=section; section=\$ 3};"\
7119 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7120 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7121 " \$ 0!~/External *\|/{next};"\
7122 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7123 " {if(hide[section]) next};"\
7124 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7125 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7126 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7127 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7128 " ' prfx
=^
$ac_symprfx"
7130 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7132 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7134 # Check to see that the pipe works correctly.
7138 cat > conftest.$ac_ext <<_LT_EOF
7143 void nm_test_func(void);
7144 void nm_test_func(void){}
7148 int main(){nm_test_var='a';nm_test_func();return(0);}
7151 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7152 (eval $ac_compile) 2>&5
7154 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7155 test $ac_status = 0; }; then
7156 # Now try to grab the symbols.
7158 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7159 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7161 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7162 test $ac_status = 0; } && test -s "$nlist"; then
7163 # Try sorting and uniquifying the output.
7164 if sort "$nlist" | uniq > "$nlist"T; then
7165 mv -f "$nlist"T "$nlist"
7170 # Make sure that we snagged all the symbols we need.
7171 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7172 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7173 cat <<_LT_EOF > conftest.$ac_ext
7174 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7175 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7176 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7177 relocations are performed -- see ld's documentation on pseudo-relocs. */
7178 # define LT_DLSYM_CONST
7179 #elif defined(__osf__)
7180 /* This system does not cope well with relocations in const data. */
7181 # define LT_DLSYM_CONST
7183 # define LT_DLSYM_CONST const
7191 # Now generate the symbol file.
7192 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7194 cat <<_LT_EOF >> conftest.$ac_ext
7196 /* The mapping between symbol names and symbols. */
7197 LT_DLSYM_CONST struct {
7201 lt__PROGRAM__LTX_preloaded_symbols[] =
7203 { "@PROGRAM@
", (void *) 0 },
7205 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7206 cat <<\_LT_EOF >> conftest.$ac_ext
7210 /* This works around a problem in FreeBSD linker */
7211 #ifdef FREEBSD_WORKAROUND
7212 static const void *lt_preloaded_setup() {
7213 return lt__PROGRAM__LTX_preloaded_symbols;
7221 # Now try linking the two files.
7222 mv conftest.$ac_objext conftstm.$ac_objext
7223 lt_globsym_save_LIBS=$LIBS
7224 lt_globsym_save_CFLAGS=$CFLAGS
7225 LIBS="conftstm.
$ac_objext"
7226 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7227 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7228 (eval $ac_link) 2>&5
7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7231 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7234 LIBS=$lt_globsym_save_LIBS
7235 CFLAGS=$lt_globsym_save_CFLAGS
7237 echo "cannot
find nm_test_func
in $nlist" >&5
7240 echo "cannot
find nm_test_var
in $nlist" >&5
7243 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7246 echo "$progname: failed program was
:" >&5
7247 cat conftest.$ac_ext >&5
7249 rm -rf conftest* conftst*
7251 # Do not use the global_symbol_pipe unless it works.
7252 if test "$pipe_works" = yes; then
7255 lt_cv_sys_global_symbol_pipe=
7261 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7262 lt_cv_sys_global_symbol_to_cdecl=
7264 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7266 $as_echo "failed
" >&6; }
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7269 $as_echo "ok
" >&6; }
7272 # Response file support.
7273 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7274 nm_file_list_spec='@'
7275 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7276 nm_file_list_spec='@'
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7306 $as_echo_n "checking
for sysroot...
" >&6; }
7308 # Check whether --with-sysroot was given.
7309 if test "${with_sysroot+set}" = set; then :
7310 withval=$with_sysroot;
7317 case ${with_sysroot} in #(
7319 if test "$GCC" = yes; then
7320 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7324 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7330 $as_echo "${with_sysroot}" >&6; }
7331 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7336 $as_echo "${lt_sysroot:-no}" >&6; }
7342 # Check whether --enable-libtool-lock was given.
7343 if test "${enable_libtool_lock+set}" = set; then :
7344 enableval=$enable_libtool_lock;
7347 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7349 # Some flags need to be propagated to the compiler or linker for good
7353 # Find out which ABI we are using.
7354 echo 'int i;' > conftest.$ac_ext
7355 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7356 (eval $ac_compile) 2>&5
7358 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7359 test $ac_status = 0; }; then
7360 case `/usr/bin/file conftest.$ac_objext` in
7372 # Find out which ABI we are using.
7373 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7374 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7375 (eval $ac_compile) 2>&5
7377 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7378 test $ac_status = 0; }; then
7379 if test "$lt_cv_prog_gnu_ld" = yes; then
7380 case `/usr/bin/file conftest.$ac_objext` in
7382 LD="${LD-ld} -melf32bsmip"
7385 LD="${LD-ld} -melf32bmipn32"
7388 LD="${LD-ld} -melf64bmip"
7392 case `/usr/bin/file conftest.$ac_objext` in
7408 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7409 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7410 # Find out which ABI we are using.
7411 echo 'int i;' > conftest.$ac_ext
7412 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7413 (eval $ac_compile) 2>&5
7415 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7416 test $ac_status = 0; }; then
7417 case `/usr/bin/file conftest.o` in
7420 x86_64-*kfreebsd*-gnu)
7421 LD="${LD-ld} -m elf_i386_fbsd
"
7424 LD="${LD-ld} -m elf_i386
"
7426 ppc64-*linux*|powerpc64-*linux*)
7427 LD="${LD-ld} -m elf32ppclinux
"
7430 LD="${LD-ld} -m elf_s390
"
7433 LD="${LD-ld} -m elf32_sparc
"
7439 x86_64-*kfreebsd*-gnu)
7440 LD="${LD-ld} -m elf_x86_64_fbsd
"
7443 LD="${LD-ld} -m elf_x86_64
"
7445 ppc*-*linux*|powerpc*-*linux*)
7446 LD="${LD-ld} -m elf64ppc
"
7448 s390*-*linux*|s390*-*tpf*)
7449 LD="${LD-ld} -m elf64_s390
"
7452 LD="${LD-ld} -m elf64_sparc
"
7462 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7463 SAVE_CFLAGS="$CFLAGS"
7464 CFLAGS="$CFLAGS -belf"
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7466 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7467 if ${lt_cv_cc_needs_belf+:} false; then :
7468 $as_echo_n "(cached
) " >&6
7471 ac_cpp='$CPP $CPPFLAGS'
7472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7477 /* end confdefs.h. */
7487 if ac_fn_c_try_link "$LINENO"; then :
7488 lt_cv_cc_needs_belf=yes
7490 lt_cv_cc_needs_belf=no
7492 rm -f core conftest.err conftest.$ac_objext \
7493 conftest$ac_exeext conftest.$ac_ext
7495 ac_cpp='$CPP $CPPFLAGS'
7496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7502 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7503 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7504 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7505 CFLAGS="$SAVE_CFLAGS"
7509 # Find out which ABI we are using.
7510 echo 'int i;' > conftest.$ac_ext
7511 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7512 (eval $ac_compile) 2>&5
7514 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7515 test $ac_status = 0; }; then
7516 case `/usr/bin/file conftest.o` in
7518 case $lt_cv_prog_gnu_ld in
7522 LD="${LD-ld} -m elf_x86_64
"
7525 LD="${LD-ld} -m elf64_sparc
"
7528 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7529 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7534 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7546 need_locks="$enable_libtool_lock"
7548 if test -n "$ac_tool_prefix"; then
7549 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7550 set dummy ${ac_tool_prefix}mt; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7552 $as_echo_n "checking
for $ac_word...
" >&6; }
7553 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7554 $as_echo_n "(cached
) " >&6
7556 if test -n "$MANIFEST_TOOL"; then
7557 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7563 test -z "$as_dir" && as_dir=.
7564 for ac_exec_ext in '' $ac_executable_extensions; do
7565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7566 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7567 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7576 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7577 if test -n "$MANIFEST_TOOL"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7579 $as_echo "$MANIFEST_TOOL" >&6; }
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7582 $as_echo "no
" >&6; }
7587 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7588 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7589 # Extract the first word of "mt
", so it can be a program name with args.
7590 set dummy mt; ac_word=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7592 $as_echo_n "checking
for $ac_word...
" >&6; }
7593 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7594 $as_echo_n "(cached
) " >&6
7596 if test -n "$ac_ct_MANIFEST_TOOL"; then
7597 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7606 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7616 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7617 if test -n "$ac_ct_MANIFEST_TOOL"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7619 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7622 $as_echo "no
" >&6; }
7625 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7628 case $cross_compiling:$ac_tool_warned in
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7631 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7632 ac_tool_warned=yes ;;
7634 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7637 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7640 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7642 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7643 if ${lt_cv_path_mainfest_tool+:} false; then :
7644 $as_echo_n "(cached
) " >&6
7646 lt_cv_path_mainfest_tool=no
7647 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7648 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7649 cat conftest.err >&5
7650 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7651 lt_cv_path_mainfest_tool=yes
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7656 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7657 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7667 rhapsody* | darwin*)
7668 if test -n "$ac_tool_prefix"; then
7669 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7670 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7672 $as_echo_n "checking
for $ac_word...
" >&6; }
7673 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7674 $as_echo_n "(cached
) " >&6
7676 if test -n "$DSYMUTIL"; then
7677 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7683 test -z "$as_dir" && as_dir=.
7684 for ac_exec_ext in '' $ac_executable_extensions; do
7685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7686 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7696 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7697 if test -n "$DSYMUTIL"; then
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7699 $as_echo "$DSYMUTIL" >&6; }
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7702 $as_echo "no
" >&6; }
7707 if test -z "$ac_cv_prog_DSYMUTIL"; then
7708 ac_ct_DSYMUTIL=$DSYMUTIL
7709 # Extract the first word of "dsymutil
", so it can be a program name with args.
7710 set dummy dsymutil; ac_word=$2
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7712 $as_echo_n "checking
for $ac_word...
" >&6; }
7713 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7714 $as_echo_n "(cached
) " >&6
7716 if test -n "$ac_ct_DSYMUTIL"; then
7717 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7723 test -z "$as_dir" && as_dir=.
7724 for ac_exec_ext in '' $ac_executable_extensions; do
7725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7726 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7736 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7737 if test -n "$ac_ct_DSYMUTIL"; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7739 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7742 $as_echo "no
" >&6; }
7745 if test "x
$ac_ct_DSYMUTIL" = x; then
7748 case $cross_compiling:$ac_tool_warned in
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7751 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7752 ac_tool_warned=yes ;;
7754 DSYMUTIL=$ac_ct_DSYMUTIL
7757 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7760 if test -n "$ac_tool_prefix"; then
7761 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7762 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7764 $as_echo_n "checking
for $ac_word...
" >&6; }
7765 if ${ac_cv_prog_NMEDIT+:} false; then :
7766 $as_echo_n "(cached
) " >&6
7768 if test -n "$NMEDIT"; then
7769 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7788 NMEDIT=$ac_cv_prog_NMEDIT
7789 if test -n "$NMEDIT"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7791 $as_echo "$NMEDIT" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7794 $as_echo "no
" >&6; }
7799 if test -z "$ac_cv_prog_NMEDIT"; then
7800 ac_ct_NMEDIT=$NMEDIT
7801 # Extract the first word of "nmedit
", so it can be a program name with args.
7802 set dummy nmedit; ac_word=$2
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7804 $as_echo_n "checking
for $ac_word...
" >&6; }
7805 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7806 $as_echo_n "(cached
) " >&6
7808 if test -n "$ac_ct_NMEDIT"; then
7809 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7815 test -z "$as_dir" && as_dir=.
7816 for ac_exec_ext in '' $ac_executable_extensions; do
7817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7818 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7819 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7828 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7829 if test -n "$ac_ct_NMEDIT"; then
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7831 $as_echo "$ac_ct_NMEDIT" >&6; }
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7834 $as_echo "no
" >&6; }
7837 if test "x
$ac_ct_NMEDIT" = x; then
7840 case $cross_compiling:$ac_tool_warned in
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7843 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7844 ac_tool_warned=yes ;;
7846 NMEDIT=$ac_ct_NMEDIT
7849 NMEDIT="$ac_cv_prog_NMEDIT"
7852 if test -n "$ac_tool_prefix"; then
7853 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7854 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7856 $as_echo_n "checking
for $ac_word...
" >&6; }
7857 if ${ac_cv_prog_LIPO+:} false; then :
7858 $as_echo_n "(cached
) " >&6
7860 if test -n "$LIPO"; then
7861 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867 test -z "$as_dir" && as_dir=.
7868 for ac_exec_ext in '' $ac_executable_extensions; do
7869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7870 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7880 LIPO=$ac_cv_prog_LIPO
7881 if test -n "$LIPO"; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7883 $as_echo "$LIPO" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7886 $as_echo "no
" >&6; }
7891 if test -z "$ac_cv_prog_LIPO"; then
7893 # Extract the first word of "lipo
", so it can be a program name with args.
7894 set dummy lipo; ac_word=$2
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7896 $as_echo_n "checking
for $ac_word...
" >&6; }
7897 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7898 $as_echo_n "(cached
) " >&6
7900 if test -n "$ac_ct_LIPO"; then
7901 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7907 test -z "$as_dir" && as_dir=.
7908 for ac_exec_ext in '' $ac_executable_extensions; do
7909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7910 ac_cv_prog_ac_ct_LIPO="lipo
"
7911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7920 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7921 if test -n "$ac_ct_LIPO"; then
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7923 $as_echo "$ac_ct_LIPO" >&6; }
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7926 $as_echo "no
" >&6; }
7929 if test "x
$ac_ct_LIPO" = x; then
7932 case $cross_compiling:$ac_tool_warned in
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7935 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7936 ac_tool_warned=yes ;;
7941 LIPO="$ac_cv_prog_LIPO"
7944 if test -n "$ac_tool_prefix"; then
7945 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7946 set dummy ${ac_tool_prefix}otool; ac_word=$2
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7948 $as_echo_n "checking
for $ac_word...
" >&6; }
7949 if ${ac_cv_prog_OTOOL+:} false; then :
7950 $as_echo_n "(cached
) " >&6
7952 if test -n "$OTOOL"; then
7953 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7959 test -z "$as_dir" && as_dir=.
7960 for ac_exec_ext in '' $ac_executable_extensions; do
7961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7962 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7972 OTOOL=$ac_cv_prog_OTOOL
7973 if test -n "$OTOOL"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7975 $as_echo "$OTOOL" >&6; }
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7978 $as_echo "no
" >&6; }
7983 if test -z "$ac_cv_prog_OTOOL"; then
7985 # Extract the first word of "otool
", so it can be a program name with args.
7986 set dummy otool; ac_word=$2
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7988 $as_echo_n "checking
for $ac_word...
" >&6; }
7989 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7990 $as_echo_n "(cached
) " >&6
7992 if test -n "$ac_ct_OTOOL"; then
7993 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7999 test -z "$as_dir" && as_dir=.
8000 for ac_exec_ext in '' $ac_executable_extensions; do
8001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8002 ac_cv_prog_ac_ct_OTOOL="otool
"
8003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8012 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8013 if test -n "$ac_ct_OTOOL"; then
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8015 $as_echo "$ac_ct_OTOOL" >&6; }
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8018 $as_echo "no
" >&6; }
8021 if test "x
$ac_ct_OTOOL" = x; then
8024 case $cross_compiling:$ac_tool_warned in
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8027 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8028 ac_tool_warned=yes ;;
8033 OTOOL="$ac_cv_prog_OTOOL"
8036 if test -n "$ac_tool_prefix"; then
8037 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8038 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8040 $as_echo_n "checking
for $ac_word...
" >&6; }
8041 if ${ac_cv_prog_OTOOL64+:} false; then :
8042 $as_echo_n "(cached
) " >&6
8044 if test -n "$OTOOL64"; then
8045 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8051 test -z "$as_dir" && as_dir=.
8052 for ac_exec_ext in '' $ac_executable_extensions; do
8053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8054 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8064 OTOOL64=$ac_cv_prog_OTOOL64
8065 if test -n "$OTOOL64"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8067 $as_echo "$OTOOL64" >&6; }
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8070 $as_echo "no
" >&6; }
8075 if test -z "$ac_cv_prog_OTOOL64"; then
8076 ac_ct_OTOOL64=$OTOOL64
8077 # Extract the first word of "otool64
", so it can be a program name with args.
8078 set dummy otool64; ac_word=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8080 $as_echo_n "checking
for $ac_word...
" >&6; }
8081 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8082 $as_echo_n "(cached
) " >&6
8084 if test -n "$ac_ct_OTOOL64"; then
8085 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8091 test -z "$as_dir" && as_dir=.
8092 for ac_exec_ext in '' $ac_executable_extensions; do
8093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8104 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8105 if test -n "$ac_ct_OTOOL64"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8107 $as_echo "$ac_ct_OTOOL64" >&6; }
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8110 $as_echo "no
" >&6; }
8113 if test "x
$ac_ct_OTOOL64" = x; then
8116 case $cross_compiling:$ac_tool_warned in
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8119 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8120 ac_tool_warned=yes ;;
8122 OTOOL64=$ac_ct_OTOOL64
8125 OTOOL64="$ac_cv_prog_OTOOL64"
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8155 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8156 if ${lt_cv_apple_cc_single_mod+:} false; then :
8157 $as_echo_n "(cached
) " >&6
8159 lt_cv_apple_cc_single_mod=no
8160 if test -z "${LT_MULTI_MODULE}"; then
8161 # By default we will add the -single_module flag. You can override
8162 # by either setting the environment variable LT_MULTI_MODULE
8163 # non-empty at configure time, or by adding -multi_module to the
8165 rm -rf libconftest.dylib*
8166 echo "int foo
(void
){return 1;}" > conftest.c
8167 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8168 -dynamiclib -Wl,-single_module conftest.c
" >&5
8169 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8170 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8172 # If there is a non-empty error log, and "single_module
"
8173 # appears in it, assume the flag caused a linker warning
8174 if test -s conftest.err && $GREP single_module conftest.err; then
8175 cat conftest.err >&5
8176 # Otherwise, if the output was created with a 0 exit code from
8177 # the compiler, it worked.
8178 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8179 lt_cv_apple_cc_single_mod=yes
8181 cat conftest.err >&5
8183 rm -rf libconftest.dylib*
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8188 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8191 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8192 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8193 $as_echo_n "(cached
) " >&6
8195 lt_cv_ld_exported_symbols_list=no
8196 save_LDFLAGS=$LDFLAGS
8197 echo "_main
" > conftest.sym
8198 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8210 if ac_fn_c_try_link "$LINENO"; then :
8211 lt_cv_ld_exported_symbols_list=yes
8213 lt_cv_ld_exported_symbols_list=no
8215 rm -f core conftest.err conftest.$ac_objext \
8216 conftest$ac_exeext conftest.$ac_ext
8217 LDFLAGS="$save_LDFLAGS"
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8221 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8224 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8225 if ${lt_cv_ld_force_load+:} false; then :
8226 $as_echo_n "(cached
) " >&6
8228 lt_cv_ld_force_load=no
8229 cat > conftest.c << _LT_EOF
8230 int forced_loaded() { return 2;}
8232 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8233 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8234 echo "$AR cru libconftest.a conftest.o
" >&5
8235 $AR cru libconftest.a conftest.o 2>&5
8236 echo "$RANLIB libconftest.a
" >&5
8237 $RANLIB libconftest.a 2>&5
8238 cat > conftest.c << _LT_EOF
8239 int main() { return 0;}
8241 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8242 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8244 if test -s conftest.err && $GREP force_load conftest.err; then
8245 cat conftest.err >&5
8246 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8247 lt_cv_ld_force_load=yes
8249 cat conftest.err >&5
8251 rm -f conftest.err libconftest.a conftest conftest.c
8252 rm -rf conftest.dSYM
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8256 $as_echo "$lt_cv_ld_force_load" >&6; }
8258 rhapsody* | darwin1.[012])
8259 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8261 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8262 darwin*) # darwin 5.x on
8263 # if running on 10.5 or later, the deployment target defaults
8264 # to the OS version, if on x86, and 10.4, the deployment
8265 # target defaults to 10.4. Don't you love it?
8266 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8267 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8268 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8270 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8272 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8276 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8277 _lt_dar_single_mod='$single_module'
8279 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8280 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8282 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8284 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8285 _lt_dsymutil='~$DSYMUTIL $lib || :'
8293 ac_cpp='$CPP $CPPFLAGS'
8294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8298 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8299 # On Suns, sometimes $CPP names a directory.
8300 if test -n "$CPP" && test -d "$CPP"; then
8303 if test -z "$CPP"; then
8304 if ${ac_cv_prog_CPP+:} false; then :
8305 $as_echo_n "(cached
) " >&6
8307 # Double quotes because CPP needs to be expanded
8308 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8311 for ac_c_preproc_warn_flag in '' yes
8313 # Use a header file that comes with gcc, so configuring glibc
8314 # with a fresh cross-compiler works.
8315 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8316 # <limits.h> exists even on freestanding compilers.
8317 # On the NeXT, cc -E runs the code through the compiler's parser,
8318 # not just through cpp. "Syntax error
" is here to catch this case.
8319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8322 # include <limits.h>
8324 # include <assert.h>
8328 if ac_fn_c_try_cpp "$LINENO"; then :
8331 # Broken: fails on valid input.
8334 rm -f conftest.err conftest.i conftest.$ac_ext
8336 # OK, works on sane cases. Now check whether nonexistent headers
8337 # can be detected and how.
8338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8340 #include <ac_nonexistent.h>
8342 if ac_fn_c_try_cpp "$LINENO"; then :
8343 # Broken: success on invalid input.
8346 # Passes both tests.
8350 rm -f conftest.err conftest.i conftest.$ac_ext
8353 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8354 rm -f conftest.i conftest.err conftest.$ac_ext
8355 if $ac_preproc_ok; then :
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8368 $as_echo "$CPP" >&6; }
8370 for ac_c_preproc_warn_flag in '' yes
8372 # Use a header file that comes with gcc, so configuring glibc
8373 # with a fresh cross-compiler works.
8374 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8375 # <limits.h> exists even on freestanding compilers.
8376 # On the NeXT, cc -E runs the code through the compiler's parser,
8377 # not just through cpp. "Syntax error
" is here to catch this case.
8378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8379 /* end confdefs.h. */
8381 # include <limits.h>
8383 # include <assert.h>
8387 if ac_fn_c_try_cpp "$LINENO"; then :
8390 # Broken: fails on valid input.
8393 rm -f conftest.err conftest.i conftest.$ac_ext
8395 # OK, works on sane cases. Now check whether nonexistent headers
8396 # can be detected and how.
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 #include <ac_nonexistent.h>
8401 if ac_fn_c_try_cpp "$LINENO"; then :
8402 # Broken: success on invalid input.
8405 # Passes both tests.
8409 rm -f conftest.err conftest.i conftest.$ac_ext
8412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8413 rm -f conftest.i conftest.err conftest.$ac_ext
8414 if $ac_preproc_ok; then :
8417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8419 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8420 See \`config.log' for more details
" "$LINENO" 5; }
8424 ac_cpp='$CPP $CPPFLAGS'
8425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8431 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8432 if ${ac_cv_header_stdc+:} false; then :
8433 $as_echo_n "(cached
) " >&6
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8450 if ac_fn_c_try_compile "$LINENO"; then :
8451 ac_cv_header_stdc=yes
8453 ac_cv_header_stdc=no
8455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8457 if test $ac_cv_header_stdc = yes; then
8458 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8464 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8465 $EGREP "memchr
" >/dev/null 2>&1; then :
8468 ac_cv_header_stdc=no
8474 if test $ac_cv_header_stdc = yes; then
8475 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8481 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8482 $EGREP "free
" >/dev/null 2>&1; then :
8485 ac_cv_header_stdc=no
8491 if test $ac_cv_header_stdc = yes; then
8492 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8493 if test "$cross_compiling" = yes; then :
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8500 #if ((' ' & 0x0FF) == 0x020)
8501 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8502 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8504 # define ISLOWER(c) \
8505 (('a' <= (c) && (c) <= 'i') \
8506 || ('j' <= (c) && (c) <= 'r') \
8507 || ('s' <= (c) && (c) <= 'z'))
8508 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8511 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8516 for (i = 0; i < 256; i++)
8517 if (XOR (islower (i), ISLOWER (i))
8518 || toupper (i) != TOUPPER (i))
8523 if ac_fn_c_try_run "$LINENO"; then :
8526 ac_cv_header_stdc=no
8528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8529 conftest.$ac_objext conftest.beam conftest.$ac_ext
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8535 $as_echo "$ac_cv_header_stdc" >&6; }
8536 if test $ac_cv_header_stdc = yes; then
8538 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8542 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8543 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8544 inttypes.h stdint.h unistd.h
8546 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8547 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8549 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8550 cat >>confdefs.h
<<_ACEOF
8551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8559 for ac_header
in dlfcn.h
8561 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8563 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8564 cat >>confdefs.h
<<_ACEOF
8565 #define HAVE_DLFCN_H 1
8575 func_stripname_cnf
()
8578 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8579 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8581 } # func_stripname_cnf
8588 # Check whether --enable-static was given.
8589 if test "${enable_static+set}" = set; then :
8590 enableval
=$enable_static; p
=${PACKAGE-default}
8592 yes) enable_static
=yes ;;
8593 no
) enable_static
=no
;;
8596 # Look at the argument we got. We use all the common list separators.
8597 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8598 for pkg
in $enableval; do
8600 if test "X$pkg" = "X$p"; then
8626 # Check whether --enable-shared was given.
8627 if test "${enable_shared+set}" = set; then :
8628 enableval
=$enable_shared; p
=${PACKAGE-default}
8630 yes) enable_shared
=yes ;;
8631 no
) enable_shared
=no
;;
8634 # Look at the argument we got. We use all the common list separators.
8635 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8636 for pkg
in $enableval; do
8638 if test "X$pkg" = "X$p"; then
8659 # Check whether --with-pic was given.
8660 if test "${with_pic+set}" = set; then :
8661 withval
=$with_pic; lt_p
=${PACKAGE-default}
8663 yes|no
) pic_mode
=$withval ;;
8666 # Look at the argument we got. We use all the common list separators.
8667 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8668 for lt_pkg
in $withval; do
8670 if test "X$lt_pkg" = "X$lt_p"; then
8682 test -z "$pic_mode" && pic_mode
=default
8690 # Check whether --enable-fast-install was given.
8691 if test "${enable_fast_install+set}" = set; then :
8692 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8694 yes) enable_fast_install
=yes ;;
8695 no
) enable_fast_install
=no
;;
8697 enable_fast_install
=no
8698 # Look at the argument we got. We use all the common list separators.
8699 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8700 for pkg
in $enableval; do
8702 if test "X$pkg" = "X$p"; then
8703 enable_fast_install
=yes
8710 enable_fast_install
=yes
8723 # This can be used to rebuild libtool when needed
8724 LIBTOOL_DEPS
="$ltmain"
8726 # Always use our own libtool.
8727 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8758 test -z "$LN_S" && LN_S
="ln -s"
8773 if test -n "${ZSH_VERSION+set}" ; then
8774 setopt NO_GLOB_SUBST
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8778 $as_echo_n "checking for objdir... " >&6; }
8779 if ${lt_cv_objdir+:} false
; then :
8780 $as_echo_n "(cached) " >&6
8782 rm -f .libs
2>/dev
/null
8783 mkdir .libs
2>/dev
/null
8784 if test -d .libs
; then
8787 # MS-DOS does not allow filenames that begin with a dot.
8790 rmdir .libs
2>/dev
/null
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8793 $as_echo "$lt_cv_objdir" >&6; }
8794 objdir
=$lt_cv_objdir
8800 cat >>confdefs.h
<<_ACEOF
8801 #define LT_OBJDIR "$lt_cv_objdir/"
8809 # AIX sometimes has problems with the GCC collect2 program. For some
8810 # reason, if we set the COLLECT_NAMES environment variable, the problems
8811 # vanish in a puff of smoke.
8812 if test "X${COLLECT_NAMES+set}" != Xset
; then
8814 export COLLECT_NAMES
8821 can_build_shared
=yes
8823 # All known linkers require a `.a' archive for static linking (except MSVC,
8824 # which needs '.lib').
8827 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8830 old_CFLAGS
="$CFLAGS"
8832 # Set sane defaults for various variables
8833 test -z "$CC" && CC
=cc
8834 test -z "$LTCC" && LTCC
=$CC
8835 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8836 test -z "$LD" && LD
=ld
8837 test -z "$ac_objext" && ac_objext
=o
8839 for cc_temp
in $compiler""; do
8841 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8842 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8847 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8850 # Only perform the check for file, if the check method requires it
8851 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8852 case $deplibs_check_method in
8854 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8856 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8857 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8858 $as_echo_n "(cached) " >&6
8862 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8865 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8866 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8867 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8868 for ac_dir
in $ac_dummy; do
8870 test -z "$ac_dir" && ac_dir
=.
8871 if test -f $ac_dir/${ac_tool_prefix}file; then
8872 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8873 if test -n "$file_magic_test_file"; then
8874 case $deplibs_check_method in
8876 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8877 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8878 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8879 $EGREP "$file_magic_regex" > /dev
/null
; then
8884 *** Warning: the command libtool uses to detect shared libraries,
8885 *** $file_magic_cmd, produces output that libtool cannot recognize.
8886 *** The result is that libtool may fail to recognize shared libraries
8887 *** as such. This will affect the creation of libtool libraries that
8888 *** depend on shared libraries, but programs linked with such libtool
8889 *** libraries will work regardless of this problem. Nevertheless, you
8890 *** may want to report the problem to your system manager and/or to
8891 *** bug-libtool@gnu.org
8901 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8906 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8907 if test -n "$MAGIC_CMD"; then
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8909 $as_echo "$MAGIC_CMD" >&6; }
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8912 $as_echo "no" >&6; }
8919 if test -z "$lt_cv_path_MAGIC_CMD"; then
8920 if test -n "$ac_tool_prefix"; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8922 $as_echo_n "checking for file... " >&6; }
8923 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8924 $as_echo_n "(cached) " >&6
8928 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8931 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8932 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8933 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8934 for ac_dir
in $ac_dummy; do
8936 test -z "$ac_dir" && ac_dir
=.
8937 if test -f $ac_dir/file; then
8938 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8939 if test -n "$file_magic_test_file"; then
8940 case $deplibs_check_method in
8942 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8943 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8944 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8945 $EGREP "$file_magic_regex" > /dev
/null
; then
8950 *** Warning: the command libtool uses to detect shared libraries,
8951 *** $file_magic_cmd, produces output that libtool cannot recognize.
8952 *** The result is that libtool may fail to recognize shared libraries
8953 *** as such. This will affect the creation of libtool libraries that
8954 *** depend on shared libraries, but programs linked with such libtool
8955 *** libraries will work regardless of this problem. Nevertheless, you
8956 *** may want to report the problem to your system manager and/or to
8957 *** bug-libtool@gnu.org
8967 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8972 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8973 if test -n "$MAGIC_CMD"; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8975 $as_echo "$MAGIC_CMD" >&6; }
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8978 $as_echo "no" >&6; }
8991 # Use C for the default configuration in the libtool script
8995 ac_cpp
='$CPP $CPPFLAGS'
8996 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8997 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8998 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9001 # Source file extension for C test sources.
9004 # Object file extension for compiled C test sources.
9008 # Code to be used in simple compile tests
9009 lt_simple_compile_test_code
="int some_variable = 0;"
9011 # Code to be used in simple link tests
9012 lt_simple_link_test_code
='int main(){return(0);}'
9020 # If no C compiler was specified, use CC.
9023 # If no C compiler flags were specified, use CFLAGS.
9024 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9026 # Allow CC to be a program name with arguments.
9029 # Save the default compiler, since it gets overwritten when the other
9030 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9031 compiler_DEFAULT
=$CC
9033 # save warnings/boilerplate of simple test code
9034 ac_outfile
=conftest.
$ac_objext
9035 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9036 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9037 _lt_compiler_boilerplate
=`cat conftest.err`
9040 ac_outfile
=conftest.
$ac_objext
9041 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9042 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9043 _lt_linker_boilerplate
=`cat conftest.err`
9048 ## There is no encapsulation within the following macros, do not change
9049 ## the running order or otherwise move them around unless you know exactly
9050 ## what you are doing...
9051 if test -n "$compiler"; then
9053 lt_prog_compiler_no_builtin_flag
=
9055 if test "$GCC" = yes; then
9056 case $cc_basename in
9058 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9060 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9064 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9065 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9066 $as_echo_n "(cached) " >&6
9068 lt_cv_prog_compiler_rtti_exceptions
=no
9069 ac_outfile
=conftest.
$ac_objext
9070 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9071 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9072 # Insert the option either (1) after the last *FLAGS variable, or
9073 # (2) before a word containing "conftest.", or (3) at the end.
9074 # Note that $ac_compile itself does not contain backslashes and begins
9075 # with a dollar sign (not a hyphen), so the echo should work correctly.
9076 # The option is referenced via a variable to avoid confusing sed.
9077 lt_compile
=`echo "$ac_compile" | $SED \
9078 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9079 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9080 -e 's:$: $lt_compiler_flag:'`
9081 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9082 (eval "$lt_compile" 2>conftest.err
)
9084 cat conftest.err
>&5
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 if (exit $ac_status) && test -s "$ac_outfile"; then
9087 # The compiler can only warn and ignore the option if not recognized
9088 # So say no if there are warnings other than the usual output.
9089 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9090 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9091 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9092 lt_cv_prog_compiler_rtti_exceptions
=yes
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9099 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9101 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9102 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9114 lt_prog_compiler_wl
=
9115 lt_prog_compiler_pic
=
9116 lt_prog_compiler_static
=
9119 if test "$GCC" = yes; then
9120 lt_prog_compiler_wl
='-Wl,'
9121 lt_prog_compiler_static
='-static'
9125 # All AIX code is PIC.
9126 if test "$host_cpu" = ia64
; then
9127 # AIX 5 now supports IA64 processor
9128 lt_prog_compiler_static
='-Bstatic'
9135 # see comment about AmigaOS4 .so support
9136 lt_prog_compiler_pic
='-fPIC'
9139 # FIXME: we need at least 68020 code to build shared libraries, but
9140 # adding the `-m68020' flag to GCC prevents building anything better,
9142 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9147 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9148 # PIC is the default for these OSes.
9151 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9152 # This hack is so that the source file can tell whether it is being
9153 # built for inclusion in a dll (and should export symbols for example).
9154 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9155 # (--disable-auto-import) libraries
9156 lt_prog_compiler_pic
='-DDLL_EXPORT'
9159 darwin
* | rhapsody
*)
9160 # PIC is the default on this platform
9161 # Common symbols not allowed in MH_DYLIB files
9162 lt_prog_compiler_pic
='-fno-common'
9166 # PIC is the default for Haiku.
9167 # The "-static" flag exists, but is broken.
9168 lt_prog_compiler_static
=
9172 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9173 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9174 # sets the default TLS model and affects inlining.
9180 lt_prog_compiler_pic
='-fPIC'
9186 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9187 # Instead, we relocate shared libraries at runtime.
9191 # Just because we use GCC doesn't mean we suddenly get shared libraries
9192 # on systems that don't support them.
9193 lt_prog_compiler_can_build_shared
=no
9198 # QNX uses GNU C++, but need to define -shared option too, otherwise
9200 lt_prog_compiler_pic
='-fPIC -shared'
9204 if test -d /usr
/nec
; then
9205 lt_prog_compiler_pic
=-Kconform_pic
9210 lt_prog_compiler_pic
='-fPIC'
9214 case $cc_basename in
9215 nvcc
*) # Cuda Compiler Driver 2.2
9216 lt_prog_compiler_wl
='-Xlinker '
9217 if test -n "$lt_prog_compiler_pic"; then
9218 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9223 # PORTME Check for flag to pass linker flags through the system compiler.
9226 lt_prog_compiler_wl
='-Wl,'
9227 if test "$host_cpu" = ia64
; then
9228 # AIX 5 now supports IA64 processor
9229 lt_prog_compiler_static
='-Bstatic'
9231 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9235 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9236 # This hack is so that the source file can tell whether it is being
9237 # built for inclusion in a dll (and should export symbols for example).
9238 lt_prog_compiler_pic
='-DDLL_EXPORT'
9241 hpux9
* | hpux10
* | hpux11
*)
9242 lt_prog_compiler_wl
='-Wl,'
9243 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9250 lt_prog_compiler_pic
='+Z'
9253 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9254 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9257 irix5
* | irix6
* | nonstopux
*)
9258 lt_prog_compiler_wl
='-Wl,'
9259 # PIC (with -KPIC) is the default.
9260 lt_prog_compiler_static
='-non_shared'
9263 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9264 case $cc_basename in
9265 # old Intel for x86_64 which still supported -KPIC.
9267 lt_prog_compiler_wl
='-Wl,'
9268 lt_prog_compiler_pic
='-KPIC'
9269 lt_prog_compiler_static
='-static'
9271 # icc used to be incompatible with GCC.
9272 # ICC 10 doesn't accept -KPIC any more.
9274 lt_prog_compiler_wl
='-Wl,'
9275 lt_prog_compiler_pic
='-fPIC'
9276 lt_prog_compiler_static
='-static'
9278 # Lahey Fortran 8.1.
9280 lt_prog_compiler_wl
='-Wl,'
9281 lt_prog_compiler_pic
='--shared'
9282 lt_prog_compiler_static
='--static'
9285 # NAG Fortran compiler
9286 lt_prog_compiler_wl
='-Wl,-Wl,,'
9287 lt_prog_compiler_pic
='-PIC'
9288 lt_prog_compiler_static
='-Bstatic'
9290 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9291 # Portland Group compilers (*not* the Pentium gcc compiler,
9292 # which looks to be a dead project)
9293 lt_prog_compiler_wl
='-Wl,'
9294 lt_prog_compiler_pic
='-fpic'
9295 lt_prog_compiler_static
='-Bstatic'
9298 lt_prog_compiler_wl
='-Wl,'
9299 # All Alpha code is PIC.
9300 lt_prog_compiler_static
='-non_shared'
9302 xl
* | bgxl
* | bgf
* | mpixl
*)
9303 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9304 lt_prog_compiler_wl
='-Wl,'
9305 lt_prog_compiler_pic
='-qpic'
9306 lt_prog_compiler_static
='-qstaticlink'
9309 case `$CC -V 2>&1 | sed 5q` in
9310 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9311 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9312 lt_prog_compiler_pic
='-KPIC'
9313 lt_prog_compiler_static
='-Bstatic'
9314 lt_prog_compiler_wl
=''
9316 *Sun\ F
* | *Sun
*Fortran
*)
9317 lt_prog_compiler_pic
='-KPIC'
9318 lt_prog_compiler_static
='-Bstatic'
9319 lt_prog_compiler_wl
='-Qoption ld '
9323 lt_prog_compiler_pic
='-KPIC'
9324 lt_prog_compiler_static
='-Bstatic'
9325 lt_prog_compiler_wl
='-Wl,'
9327 *Intel
*\
[CF
]*Compiler
*)
9328 lt_prog_compiler_wl
='-Wl,'
9329 lt_prog_compiler_pic
='-fPIC'
9330 lt_prog_compiler_static
='-static'
9333 lt_prog_compiler_wl
='-Wl,'
9334 lt_prog_compiler_pic
='-fpic'
9335 lt_prog_compiler_static
='-Bstatic'
9343 lt_prog_compiler_pic
='-KPIC'
9344 lt_prog_compiler_static
='-Bstatic'
9348 # QNX uses GNU C++, but need to define -shared option too, otherwise
9350 lt_prog_compiler_pic
='-fPIC -shared'
9353 osf3
* | osf4
* | osf5
*)
9354 lt_prog_compiler_wl
='-Wl,'
9355 # All OSF/1 code is PIC.
9356 lt_prog_compiler_static
='-non_shared'
9360 lt_prog_compiler_static
='-non_shared'
9364 lt_prog_compiler_pic
='-KPIC'
9365 lt_prog_compiler_static
='-Bstatic'
9366 case $cc_basename in
9367 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9368 lt_prog_compiler_wl
='-Qoption ld ';;
9370 lt_prog_compiler_wl
='-Wl,';;
9375 lt_prog_compiler_wl
='-Qoption ld '
9376 lt_prog_compiler_pic
='-PIC'
9377 lt_prog_compiler_static
='-Bstatic'
9380 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9381 lt_prog_compiler_wl
='-Wl,'
9382 lt_prog_compiler_pic
='-KPIC'
9383 lt_prog_compiler_static
='-Bstatic'
9387 if test -d /usr
/nec
;then
9388 lt_prog_compiler_pic
='-Kconform_pic'
9389 lt_prog_compiler_static
='-Bstatic'
9393 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9394 lt_prog_compiler_wl
='-Wl,'
9395 lt_prog_compiler_pic
='-KPIC'
9396 lt_prog_compiler_static
='-Bstatic'
9400 lt_prog_compiler_wl
='-Wl,'
9401 lt_prog_compiler_can_build_shared
=no
9405 lt_prog_compiler_pic
='-pic'
9406 lt_prog_compiler_static
='-Bstatic'
9410 lt_prog_compiler_can_build_shared
=no
9416 # For platforms which do not support PIC, -DPIC is meaningless:
9418 lt_prog_compiler_pic
=
9421 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9426 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9427 if ${lt_cv_prog_compiler_pic+:} false
; then :
9428 $as_echo_n "(cached) " >&6
9430 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9433 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9434 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9437 # Check to make sure the PIC flag actually works.
9439 if test -n "$lt_prog_compiler_pic"; then
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9441 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9442 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9443 $as_echo_n "(cached) " >&6
9445 lt_cv_prog_compiler_pic_works
=no
9446 ac_outfile
=conftest.
$ac_objext
9447 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9448 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9449 # Insert the option either (1) after the last *FLAGS variable, or
9450 # (2) before a word containing "conftest.", or (3) at the end.
9451 # Note that $ac_compile itself does not contain backslashes and begins
9452 # with a dollar sign (not a hyphen), so the echo should work correctly.
9453 # The option is referenced via a variable to avoid confusing sed.
9454 lt_compile
=`echo "$ac_compile" | $SED \
9455 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9456 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9457 -e 's:$: $lt_compiler_flag:'`
9458 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9459 (eval "$lt_compile" 2>conftest.err
)
9461 cat conftest.err
>&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 if (exit $ac_status) && test -s "$ac_outfile"; then
9464 # The compiler can only warn and ignore the option if not recognized
9465 # So say no if there are warnings other than the usual output.
9466 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9467 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9468 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9469 lt_cv_prog_compiler_pic_works
=yes
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9476 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9478 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9479 case $lt_prog_compiler_pic in
9481 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9484 lt_prog_compiler_pic
=
9485 lt_prog_compiler_can_build_shared
=no
9501 # Check to make sure the static flag actually works.
9503 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9505 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9506 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9507 $as_echo_n "(cached) " >&6
9509 lt_cv_prog_compiler_static_works
=no
9510 save_LDFLAGS
="$LDFLAGS"
9511 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9512 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9513 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9514 # The linker can only warn and ignore the option if not recognized
9515 # So say no if there are warnings
9516 if test -s conftest.err
; then
9517 # Append any errors to the config.log.
9518 cat conftest.err
1>&5
9519 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9520 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9521 if diff conftest.exp conftest.er2
>/dev
/null
; then
9522 lt_cv_prog_compiler_static_works
=yes
9525 lt_cv_prog_compiler_static_works
=yes
9529 LDFLAGS
="$save_LDFLAGS"
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9533 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9535 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9538 lt_prog_compiler_static
=
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9548 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9549 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9550 $as_echo_n "(cached) " >&6
9552 lt_cv_prog_compiler_c_o
=no
9553 $RM -r conftest
2>/dev
/null
9557 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9559 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9560 # Insert the option either (1) after the last *FLAGS variable, or
9561 # (2) before a word containing "conftest.", or (3) at the end.
9562 # Note that $ac_compile itself does not contain backslashes and begins
9563 # with a dollar sign (not a hyphen), so the echo should work correctly.
9564 lt_compile
=`echo "$ac_compile" | $SED \
9565 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9567 -e 's:$: $lt_compiler_flag:'`
9568 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9569 (eval "$lt_compile" 2>out
/conftest.err
)
9571 cat out
/conftest.err
>&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9575 # The compiler can only warn and ignore the option if not recognized
9576 # So say no if there are warnings
9577 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9578 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9579 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9580 lt_cv_prog_compiler_c_o
=yes
9585 # SGI C++ compiler will create directory out/ii_files/ for
9586 # template instantiation
9587 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9588 $RM out
/* && rmdir out
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9595 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9603 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9604 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9605 $as_echo_n "(cached) " >&6
9607 lt_cv_prog_compiler_c_o
=no
9608 $RM -r conftest
2>/dev
/null
9612 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9614 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9615 # Insert the option either (1) after the last *FLAGS variable, or
9616 # (2) before a word containing "conftest.", or (3) at the end.
9617 # Note that $ac_compile itself does not contain backslashes and begins
9618 # with a dollar sign (not a hyphen), so the echo should work correctly.
9619 lt_compile
=`echo "$ac_compile" | $SED \
9620 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9621 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9622 -e 's:$: $lt_compiler_flag:'`
9623 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9624 (eval "$lt_compile" 2>out
/conftest.err
)
9626 cat out
/conftest.err
>&5
9627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9630 # The compiler can only warn and ignore the option if not recognized
9631 # So say no if there are warnings
9632 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9633 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9634 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9635 lt_cv_prog_compiler_c_o
=yes
9640 # SGI C++ compiler will create directory out/ii_files/ for
9641 # template instantiation
9642 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9643 $RM out
/* && rmdir out
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9650 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9655 hard_links
="nottested"
9656 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9657 # do not overwrite the value of need_locks provided by the user
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9659 $as_echo_n "checking if we can lock with hard links... " >&6; }
9662 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9664 ln conftest.a conftest.b
2>&5 || hard_links
=no
9665 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9667 $as_echo "$hard_links" >&6; }
9668 if test "$hard_links" = no
; then
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9670 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9683 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9686 allow_undefined_flag
=
9687 always_export_symbols
=no
9689 archive_expsym_cmds
=
9690 compiler_needs_object
=no
9691 enable_shared_with_static_runtimes
=no
9692 export_dynamic_flag_spec
=
9693 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9694 hardcode_automatic
=no
9696 hardcode_direct_absolute
=no
9697 hardcode_libdir_flag_spec
=
9698 hardcode_libdir_separator
=
9700 hardcode_shlibpath_var
=unsupported
9702 link_all_deplibs
=unknown
9705 old_archive_from_new_cmds
=
9706 old_archive_from_expsyms_cmds
=
9707 thread_safe_flag_spec
=
9708 whole_archive_flag_spec
=
9709 # include_expsyms should be a list of space-separated symbols to be *always*
9710 # included in the symbol list
9712 # exclude_expsyms can be an extended regexp of symbols to exclude
9713 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9714 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9715 # as well as any symbol that contains `d'.
9716 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9717 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9718 # platforms (ab)use it in PIC code, but their linkers get confused if
9719 # the symbol is explicitly referenced. Since portable code cannot
9720 # rely on this symbol name, it's probably fine to never include it in
9721 # preloaded symbol tables.
9722 # Exclude shared library initialization/finalization symbols.
9723 extract_expsyms_cmds
=
9726 cygwin
* | mingw
* | pw32
* | cegcc
*)
9727 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9728 # When not using gcc, we currently assume that we are using
9729 # Microsoft Visual C++.
9730 if test "$GCC" != yes; then
9735 # we just hope/assume this is gcc and not c89 (= MSVC++)
9745 # On some targets, GNU ld is compatible enough with the native linker
9746 # that we're better off using the native interface for both.
9747 lt_use_gnu_ld_interface
=no
9748 if test "$with_gnu_ld" = yes; then
9751 # The AIX port of GNU ld has always aspired to compatibility
9752 # with the native linker. However, as the warning in the GNU ld
9753 # block says, versions before 2.19.5* couldn't really create working
9754 # shared libraries, regardless of the interface used.
9755 case `$LD -v 2>&1` in
9756 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9757 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9758 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9760 lt_use_gnu_ld_interface
=yes
9765 lt_use_gnu_ld_interface
=yes
9770 if test "$lt_use_gnu_ld_interface" = yes; then
9771 # If archive_cmds runs LD, not CC, wlarc should be empty
9774 # Set some defaults for GNU ld with shared library support. These
9775 # are reset later if shared libraries are not supported. Putting them
9776 # here allows them to be overridden if necessary.
9777 runpath_var
=LD_RUN_PATH
9778 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9779 export_dynamic_flag_spec
='${wl}--export-dynamic'
9780 # ancient GNU ld didn't support --whole-archive et. al.
9781 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9782 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9784 whole_archive_flag_spec
=
9786 supports_anon_versioning
=no
9787 case `$LD -v 2>&1` in
9788 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9789 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9790 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9791 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9792 *\
2.11.
*) ;; # other 2.11 versions
9793 *) supports_anon_versioning
=yes ;;
9796 # See if GNU ld supports shared libraries.
9799 # On AIX/PPC, the GNU linker is very broken
9800 if test "$host_cpu" != ia64
; then
9804 *** Warning: the GNU linker, at least up to release 2.19, is reported
9805 *** to be unable to reliably create shared libraries on AIX.
9806 *** Therefore, libtool is disabling shared libraries support. If you
9807 *** really care for shared libraries, you may want to install binutils
9808 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9809 *** You will then need to restart the configuration process.
9818 # see comment about AmigaOS4 .so support
9819 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9820 archive_expsym_cmds
=''
9823 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)'
9824 hardcode_libdir_flag_spec
='-L$libdir'
9825 hardcode_minus_L
=yes
9831 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9832 allow_undefined_flag
=unsupported
9833 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9834 # support --undefined. This deserves some investigation. FIXME
9835 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9841 cygwin
* | mingw
* | pw32
* | cegcc
*)
9842 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9843 # as there is no search path for DLLs.
9844 hardcode_libdir_flag_spec
='-L$libdir'
9845 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9846 allow_undefined_flag
=unsupported
9847 always_export_symbols
=no
9848 enable_shared_with_static_runtimes
=yes
9849 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'
9850 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9852 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9853 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9854 # If the export-symbols file already is a .def file (1st line
9855 # is EXPORTS), use it as is; otherwise, prepend...
9856 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9857 cp $export_symbols $output_objdir/$soname.def;
9859 echo EXPORTS > $output_objdir/$soname.def;
9860 cat $export_symbols >> $output_objdir/$soname.def;
9862 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9869 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9870 link_all_deplibs
=yes
9875 hardcode_shlibpath_var
=no
9876 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9877 export_dynamic_flag_spec
='${wl}-E'
9878 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9879 # Instead, shared libraries are loaded at an image base (0x10000000 by
9880 # default) and relocated if they conflict, which is a slow very memory
9881 # consuming and fragmenting process. To avoid this, we pick a random,
9882 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9883 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9884 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9885 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'
9888 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9890 if test "$host_os" = linux
-dietlibc; then
9891 case $cc_basename in
9892 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9895 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9896 && test "$tmp_diet" = no
9898 tmp_addflag
=' $pic_flag'
9899 tmp_sharedflag
='-shared'
9900 case $cc_basename,$host_cpu in
9901 pgcc
*) # Portland Group C compiler
9902 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9903 tmp_addflag
=' $pic_flag'
9905 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9906 # Portland Group f77 and f90 compilers
9907 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'
9908 tmp_addflag
=' $pic_flag -Mnomain' ;;
9909 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9910 tmp_addflag
=' -i_dynamic' ;;
9911 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9912 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9913 ifc
* | ifort
*) # Intel Fortran compiler
9914 tmp_addflag
=' -nofor_main' ;;
9915 lf95
*) # Lahey Fortran 8.1
9916 whole_archive_flag_spec
=
9917 tmp_sharedflag
='--shared' ;;
9918 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9919 tmp_sharedflag
='-qmkshrobj'
9921 nvcc
*) # Cuda Compiler Driver 2.2
9922 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'
9923 compiler_needs_object
=yes
9926 case `$CC -V 2>&1 | sed 5q` in
9927 *Sun\ C
*) # Sun C 5.9
9928 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'
9929 compiler_needs_object
=yes
9930 tmp_sharedflag
='-G' ;;
9931 *Sun\ F
*) # Sun Fortran 8.3
9932 tmp_sharedflag
='-G' ;;
9934 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9936 if test "x$supports_anon_versioning" = xyes
; then
9937 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9939 echo "local: *; };" >> $output_objdir/$libname.ver~
9940 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9943 case $cc_basename in
9944 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9945 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9946 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9947 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9948 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9949 if test "x$supports_anon_versioning" = xyes
; then
9950 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9951 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9952 echo "local: *; };" >> $output_objdir/$libname.ver~
9953 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9963 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9964 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9967 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9968 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9973 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9977 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9978 *** create shared libraries on Solaris systems. Therefore, libtool
9979 *** is disabling shared libraries support. We urge you to upgrade GNU
9980 *** binutils to release 2.9.1 or newer. Another option is to modify
9981 *** your PATH or compiler configuration so that the native linker is
9982 *** used, and then restart.
9985 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9986 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9987 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9993 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9994 case `$LD -v 2>&1` in
9995 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9999 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10000 *** reliably create shared libraries on SCO systems. Therefore, libtool
10001 *** is disabling shared libraries support. We urge you to upgrade GNU
10002 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10003 *** your PATH or compiler configuration so that the native linker is
10004 *** used, and then restart.
10009 # For security reasons, it is highly recommended that you always
10010 # use absolute paths for naming shared libraries, and exclude the
10011 # DT_RUNPATH tag from executables and libraries. But doing so
10012 # requires that you compile everything twice, which is a pain.
10013 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10014 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10015 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10016 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10025 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10027 hardcode_direct
=yes
10028 hardcode_shlibpath_var
=no
10032 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10033 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10034 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10041 if test "$ld_shlibs" = no
; then
10043 hardcode_libdir_flag_spec
=
10044 export_dynamic_flag_spec
=
10045 whole_archive_flag_spec
=
10048 # PORTME fill in a description of your system's linker (not GNU ld)
10051 allow_undefined_flag
=unsupported
10052 always_export_symbols
=yes
10053 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'
10054 # Note: this linker hardcodes the directories in LIBPATH if there
10055 # are no directories specified by -L.
10056 hardcode_minus_L
=yes
10057 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10058 # Neither direct hardcoding nor static linking is supported with a
10060 hardcode_direct
=unsupported
10065 if test "$host_cpu" = ia64
; then
10066 # On IA64, the linker does run time linking by default, so we don't
10067 # have to do anything special.
10068 aix_use_runtimelinking
=no
10069 exp_sym_flag
='-Bexport'
10072 # If we're using GNU nm, then we don't want the "-C" option.
10073 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10074 # Also, AIX nm treats weak defined symbols like other global
10075 # defined symbols, whereas GNU nm marks them as "W".
10076 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10077 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'
10079 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'
10081 aix_use_runtimelinking
=no
10083 # Test if we are trying to use run time linking or normal
10084 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10085 # need to do runtime linking.
10086 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10087 for ld_flag
in $LDFLAGS; do
10088 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10089 aix_use_runtimelinking
=yes
10096 exp_sym_flag
='-bexport'
10097 no_entry_flag
='-bnoentry'
10100 # When large executables or shared objects are built, AIX ld can
10101 # have problems creating the table of contents. If linking a library
10102 # or program results in "error TOC overflow" add -mminimal-toc to
10103 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10104 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10107 hardcode_direct
=yes
10108 hardcode_direct_absolute
=yes
10109 hardcode_libdir_separator
=':'
10110 link_all_deplibs
=yes
10111 file_list_spec
='${wl}-f,'
10113 if test "$GCC" = yes; then
10114 case $host_os in aix4.
[012]|aix4.
[012].
*)
10115 # We only want to do this on AIX 4.2 and lower, the check
10116 # below for broken collect2 doesn't work under 4.3+
10117 collect2name
=`${CC} -print-prog-name=collect2`
10118 if test -f "$collect2name" &&
10119 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10121 # We have reworked collect2
10124 # We have old collect2
10125 hardcode_direct
=unsupported
10126 # It fails to find uninstalled libraries when the uninstalled
10127 # path is not listed in the libpath. Setting hardcode_minus_L
10128 # to unsupported forces relinking
10129 hardcode_minus_L
=yes
10130 hardcode_libdir_flag_spec
='-L$libdir'
10131 hardcode_libdir_separator
=
10135 shared_flag
='-shared'
10136 if test "$aix_use_runtimelinking" = yes; then
10137 shared_flag
="$shared_flag "'${wl}-G'
10141 if test "$host_cpu" = ia64
; then
10142 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10143 # chokes on -Wl,-G. The following line is correct:
10146 if test "$aix_use_runtimelinking" = yes; then
10147 shared_flag
='${wl}-G'
10149 shared_flag
='${wl}-bM:SRE'
10154 export_dynamic_flag_spec
='${wl}-bexpall'
10155 # It seems that -bexpall does not export symbols beginning with
10156 # underscore (_), so it is better to generate a list of symbols to export.
10157 always_export_symbols
=yes
10158 if test "$aix_use_runtimelinking" = yes; then
10159 # Warning - without using the other runtime loading flags (-brtl),
10160 # -berok will link without error, but may produce a broken library.
10161 allow_undefined_flag
='-berok'
10162 # Determine the default libpath from the value encoded in an
10163 # empty executable.
10164 if test "${lt_cv_aix_libpath+set}" = set; then
10165 aix_libpath
=$lt_cv_aix_libpath
10167 if ${lt_cv_aix_libpath_+:} false
; then :
10168 $as_echo_n "(cached) " >&6
10170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10181 if ac_fn_c_try_link
"$LINENO"; then :
10183 lt_aix_libpath_sed
='
10184 /Import File Strings/,/^$/ {
10186 s/^0 *\([^ ]*\) *$/\1/
10190 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10191 # Check for a 64-bit object if we didn't find anything.
10192 if test -z "$lt_cv_aix_libpath_"; then
10193 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10196 rm -f core conftest.err conftest.
$ac_objext \
10197 conftest
$ac_exeext conftest.
$ac_ext
10198 if test -z "$lt_cv_aix_libpath_"; then
10199 lt_cv_aix_libpath_
="/usr/lib:/lib"
10204 aix_libpath
=$lt_cv_aix_libpath_
10207 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10208 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"
10210 if test "$host_cpu" = ia64
; then
10211 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10212 allow_undefined_flag
="-z nodefs"
10213 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"
10215 # Determine the default libpath from the value encoded in an
10216 # empty executable.
10217 if test "${lt_cv_aix_libpath+set}" = set; then
10218 aix_libpath
=$lt_cv_aix_libpath
10220 if ${lt_cv_aix_libpath_+:} false
; then :
10221 $as_echo_n "(cached) " >&6
10223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10234 if ac_fn_c_try_link
"$LINENO"; then :
10236 lt_aix_libpath_sed
='
10237 /Import File Strings/,/^$/ {
10239 s/^0 *\([^ ]*\) *$/\1/
10243 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10244 # Check for a 64-bit object if we didn't find anything.
10245 if test -z "$lt_cv_aix_libpath_"; then
10246 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10249 rm -f core conftest.err conftest.
$ac_objext \
10250 conftest
$ac_exeext conftest.
$ac_ext
10251 if test -z "$lt_cv_aix_libpath_"; then
10252 lt_cv_aix_libpath_
="/usr/lib:/lib"
10257 aix_libpath
=$lt_cv_aix_libpath_
10260 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10261 # Warning - without using the other run time loading flags,
10262 # -berok will link without error, but may produce a broken library.
10263 no_undefined_flag
=' ${wl}-bernotok'
10264 allow_undefined_flag
=' ${wl}-berok'
10265 if test "$with_gnu_ld" = yes; then
10266 # We only use this code for GNU lds that support --whole-archive.
10267 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10269 # Exported symbols can be pulled into shared objects from archives
10270 whole_archive_flag_spec
='$convenience'
10272 archive_cmds_need_lc
=yes
10273 # This is similar to how AIX traditionally builds its shared libraries.
10274 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'
10282 # see comment about AmigaOS4 .so support
10283 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10284 archive_expsym_cmds
=''
10287 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)'
10288 hardcode_libdir_flag_spec
='-L$libdir'
10289 hardcode_minus_L
=yes
10295 export_dynamic_flag_spec
=-rdynamic
10298 cygwin
* | mingw
* | pw32
* | cegcc
*)
10299 # When not using gcc, we currently assume that we are using
10300 # Microsoft Visual C++.
10301 # hardcode_libdir_flag_spec is actually meaningless, as there is
10302 # no search path for DLLs.
10303 case $cc_basename in
10306 hardcode_libdir_flag_spec
=' '
10307 allow_undefined_flag
=unsupported
10308 always_export_symbols
=yes
10310 # Tell ltmain to make .lib files, not .a files.
10312 # Tell ltmain to make .dll files, not .so files.
10314 # FIXME: Setting linknames here is a bad hack.
10315 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10316 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10317 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10319 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10321 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10323 # The linker will not automatically build a static lib if we build a DLL.
10324 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10325 enable_shared_with_static_runtimes
=yes
10326 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10327 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10329 old_postinstall_cmds
='chmod 644 $oldlib'
10330 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10331 lt_tool_outputfile="@TOOL_OUTPUT@"~
10332 case $lt_outputfile in
10335 lt_outputfile="$lt_outputfile.exe"
10336 lt_tool_outputfile="$lt_tool_outputfile.exe"
10339 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10340 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10341 $RM "$lt_outputfile.manifest";
10345 # Assume MSVC wrapper
10346 hardcode_libdir_flag_spec
=' '
10347 allow_undefined_flag
=unsupported
10348 # Tell ltmain to make .lib files, not .a files.
10350 # Tell ltmain to make .dll files, not .so files.
10352 # FIXME: Setting linknames here is a bad hack.
10353 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10354 # The linker will automatically build a .lib file if we build a DLL.
10355 old_archive_from_new_cmds
='true'
10356 # FIXME: Should let the user specify the lib program.
10357 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10358 enable_shared_with_static_runtimes
=yes
10363 darwin
* | rhapsody
*)
10366 archive_cmds_need_lc
=no
10368 hardcode_automatic
=yes
10369 hardcode_shlibpath_var
=unsupported
10370 if test "$lt_cv_ld_force_load" = "yes"; then
10371 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\"`'
10374 whole_archive_flag_spec
=''
10376 link_all_deplibs
=yes
10377 allow_undefined_flag
="$_lt_dar_allow_undefined"
10378 case $cc_basename in
10379 ifort
*) _lt_dar_can_shared
=yes ;;
10380 *) _lt_dar_can_shared
=$GCC ;;
10382 if test "$_lt_dar_can_shared" = "yes"; then
10383 output_verbose_link_cmd
=func_echo_all
10384 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10385 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10386 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}"
10387 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}"
10396 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10397 hardcode_libdir_flag_spec
='-L$libdir'
10398 hardcode_shlibpath_var
=no
10401 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10402 # support. Future versions do this automatically, but an explicit c++rt0.o
10403 # does not break anything, and helps significantly (at the cost of a little
10406 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10407 hardcode_libdir_flag_spec
='-R$libdir'
10408 hardcode_direct
=yes
10409 hardcode_shlibpath_var
=no
10412 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10414 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10415 hardcode_direct
=yes
10416 hardcode_minus_L
=yes
10417 hardcode_shlibpath_var
=no
10420 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10421 freebsd
* | dragonfly
*)
10422 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10423 hardcode_libdir_flag_spec
='-R$libdir'
10424 hardcode_direct
=yes
10425 hardcode_shlibpath_var
=no
10429 if test "$GCC" = yes; then
10430 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'
10432 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'
10434 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10435 hardcode_libdir_separator
=:
10436 hardcode_direct
=yes
10438 # hardcode_minus_L: Not really in the search PATH,
10439 # but as the default location of the library.
10440 hardcode_minus_L
=yes
10441 export_dynamic_flag_spec
='${wl}-E'
10445 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10446 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10448 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10450 if test "$with_gnu_ld" = no
; then
10451 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10452 hardcode_libdir_separator
=:
10453 hardcode_direct
=yes
10454 hardcode_direct_absolute
=yes
10455 export_dynamic_flag_spec
='${wl}-E'
10456 # hardcode_minus_L: Not really in the search PATH,
10457 # but as the default location of the library.
10458 hardcode_minus_L
=yes
10463 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10466 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10469 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10472 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10478 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10481 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10485 # Older versions of the 11.00 compiler do not understand -b yet
10486 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10488 $as_echo_n "checking if $CC understands -b... " >&6; }
10489 if ${lt_cv_prog_compiler__b+:} false
; then :
10490 $as_echo_n "(cached) " >&6
10492 lt_cv_prog_compiler__b
=no
10493 save_LDFLAGS
="$LDFLAGS"
10494 LDFLAGS
="$LDFLAGS -b"
10495 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10496 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10497 # The linker can only warn and ignore the option if not recognized
10498 # So say no if there are warnings
10499 if test -s conftest.err
; then
10500 # Append any errors to the config.log.
10501 cat conftest.err
1>&5
10502 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10503 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10504 if diff conftest.exp conftest.er2
>/dev
/null
; then
10505 lt_cv_prog_compiler__b
=yes
10508 lt_cv_prog_compiler__b
=yes
10512 LDFLAGS
="$save_LDFLAGS"
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10516 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10518 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10519 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10521 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10527 if test "$with_gnu_ld" = no
; then
10528 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10529 hardcode_libdir_separator
=:
10534 hardcode_shlibpath_var
=no
10537 hardcode_direct
=yes
10538 hardcode_direct_absolute
=yes
10539 export_dynamic_flag_spec
='${wl}-E'
10541 # hardcode_minus_L: Not really in the search PATH,
10542 # but as the default location of the library.
10543 hardcode_minus_L
=yes
10549 irix5
* | irix6
* | nonstopux
*)
10550 if test "$GCC" = yes; then
10551 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'
10552 # Try to use the -exported_symbol ld option, if it does not
10553 # work, assume that -exports_file does not work either and
10554 # implicitly export all symbols.
10555 # This should be the same for all languages, so no per-tag cache variable.
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10557 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10558 if ${lt_cv_irix_exported_symbol+:} false
; then :
10559 $as_echo_n "(cached) " >&6
10561 save_LDFLAGS
="$LDFLAGS"
10562 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10565 int foo (void) { return 0; }
10567 if ac_fn_c_try_link
"$LINENO"; then :
10568 lt_cv_irix_exported_symbol
=yes
10570 lt_cv_irix_exported_symbol
=no
10572 rm -f core conftest.err conftest.
$ac_objext \
10573 conftest
$ac_exeext conftest.
$ac_ext
10574 LDFLAGS
="$save_LDFLAGS"
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10577 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10578 if test "$lt_cv_irix_exported_symbol" = yes; then
10579 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'
10582 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'
10583 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'
10585 archive_cmds_need_lc
='no'
10586 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10587 hardcode_libdir_separator
=:
10589 link_all_deplibs
=yes
10593 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10594 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10596 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10598 hardcode_libdir_flag_spec
='-R$libdir'
10599 hardcode_direct
=yes
10600 hardcode_shlibpath_var
=no
10604 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10605 hardcode_direct
=yes
10606 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10607 hardcode_libdir_separator
=:
10608 hardcode_shlibpath_var
=no
10615 if test -f /usr
/libexec
/ld.so
; then
10616 hardcode_direct
=yes
10617 hardcode_shlibpath_var
=no
10618 hardcode_direct_absolute
=yes
10619 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10620 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10621 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10622 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10623 export_dynamic_flag_spec
='${wl}-E'
10626 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10627 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10628 hardcode_libdir_flag_spec
='-R$libdir'
10631 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10632 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10642 hardcode_libdir_flag_spec
='-L$libdir'
10643 hardcode_minus_L
=yes
10644 allow_undefined_flag
=unsupported
10645 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'
10646 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10650 if test "$GCC" = yes; then
10651 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10652 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'
10654 allow_undefined_flag
=' -expect_unresolved \*'
10655 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'
10657 archive_cmds_need_lc
='no'
10658 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10659 hardcode_libdir_separator
=:
10662 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10663 if test "$GCC" = yes; then
10664 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10665 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'
10666 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10668 allow_undefined_flag
=' -expect_unresolved \*'
10669 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'
10670 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~
10671 $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'
10673 # Both c and cxx compiler support -rpath directly
10674 hardcode_libdir_flag_spec
='-rpath $libdir'
10676 archive_cmds_need_lc
='no'
10677 hardcode_libdir_separator
=:
10681 no_undefined_flag
=' -z defs'
10682 if test "$GCC" = yes; then
10684 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10685 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10686 $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'
10688 case `$CC -V 2>&1` in
10691 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10692 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10693 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10697 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10698 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10699 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10703 hardcode_libdir_flag_spec
='-R$libdir'
10704 hardcode_shlibpath_var
=no
10706 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10708 # The compiler driver will combine and reorder linker options,
10709 # but understands `-z linker_flag'. GCC discards it without `$wl',
10710 # but is careful enough not to reorder.
10711 # Supported since Solaris 2.6 (maybe 2.5.1?)
10712 if test "$GCC" = yes; then
10713 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10715 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10719 link_all_deplibs
=yes
10723 if test "x$host_vendor" = xsequent
; then
10724 # Use $CC to link under sequent, because it throws in some extra .o
10725 # files that make .init and .fini sections work.
10726 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10728 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10730 hardcode_libdir_flag_spec
='-L$libdir'
10731 hardcode_direct
=yes
10732 hardcode_minus_L
=yes
10733 hardcode_shlibpath_var
=no
10737 case $host_vendor in
10739 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10740 hardcode_direct
=yes # is this really true???
10743 ## LD is ld it makes a PLAMLIB
10744 ## CC just makes a GrossModule.
10745 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10746 reload_cmds
='$CC -r -o $output$reload_objs'
10750 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10751 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10754 runpath_var
='LD_RUN_PATH'
10755 hardcode_shlibpath_var
=no
10759 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10760 hardcode_shlibpath_var
=no
10761 export_dynamic_flag_spec
='-Bexport'
10765 if test -d /usr
/nec
; then
10766 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10767 hardcode_shlibpath_var
=no
10768 runpath_var
=LD_RUN_PATH
10769 hardcode_runpath_var
=yes
10774 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10775 no_undefined_flag
='${wl}-z,text'
10776 archive_cmds_need_lc
=no
10777 hardcode_shlibpath_var
=no
10778 runpath_var
='LD_RUN_PATH'
10780 if test "$GCC" = yes; then
10781 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10782 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10784 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10789 sysv5
* | sco3.2v5
* | sco5v6
*)
10790 # Note: We can NOT use -z defs as we might desire, because we do not
10791 # link with -lc, and that would cause any symbols used from libc to
10792 # always be unresolved, which means just about no library would
10793 # ever link correctly. If we're not using GNU ld we use -z text
10794 # though, which does catch some bad symbols but isn't as heavy-handed
10796 no_undefined_flag
='${wl}-z,text'
10797 allow_undefined_flag
='${wl}-z,nodefs'
10798 archive_cmds_need_lc
=no
10799 hardcode_shlibpath_var
=no
10800 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10801 hardcode_libdir_separator
=':'
10802 link_all_deplibs
=yes
10803 export_dynamic_flag_spec
='${wl}-Bexport'
10804 runpath_var
='LD_RUN_PATH'
10806 if test "$GCC" = yes; then
10807 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10808 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10810 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10811 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10816 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10817 hardcode_libdir_flag_spec
='-L$libdir'
10818 hardcode_shlibpath_var
=no
10826 if test x
$host_vendor = xsni
; then
10828 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10829 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10836 $as_echo "$ld_shlibs" >&6; }
10837 test "$ld_shlibs" = no
&& can_build_shared
=no
10839 with_gnu_ld
=$with_gnu_ld
10856 # Do we need to explicitly link libc?
10858 case "x$archive_cmds_need_lc" in
10860 # Assume -lc should be added
10861 archive_cmds_need_lc
=yes
10863 if test "$enable_shared" = yes && test "$GCC" = yes; then
10864 case $archive_cmds in
10866 # FIXME: we may have to deal with multi-command sequences.
10869 # Test whether the compiler implicitly links with -lc since on some
10870 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10871 # to ld, don't add -lc before -lgcc.
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10873 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10874 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10875 $as_echo_n "(cached) " >&6
10878 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10881 (eval $ac_compile) 2>&5
10883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10884 test $ac_status = 0; } 2>conftest.err
; then
10887 libobjs
=conftest.
$ac_objext
10889 wl
=$lt_prog_compiler_wl
10890 pic_flag
=$lt_prog_compiler_pic
10896 lt_save_allow_undefined_flag
=$allow_undefined_flag
10897 allow_undefined_flag
=
10898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10899 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10902 test $ac_status = 0; }
10904 lt_cv_archive_cmds_need_lc
=no
10906 lt_cv_archive_cmds_need_lc
=yes
10908 allow_undefined_flag
=$lt_save_allow_undefined_flag
10910 cat conftest.err
1>&5
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10916 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10917 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11076 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11078 if test "$GCC" = yes; then
11080 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11081 *) lt_awk_arg
="/^libraries:/" ;;
11084 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11085 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11087 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11088 case $lt_search_path_spec in
11090 # if the path contains ";" then we assume it to be the separator
11091 # otherwise default to the standard path separator (i.e. ":") - it is
11092 # assumed that no part of a normal pathname contains ";" but that should
11093 # okay in the real world where ";" in dirpaths is itself problematic.
11094 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11097 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11100 # Ok, now we have the path, separated by spaces, we can step through it
11101 # and add multilib dir if necessary.
11102 lt_tmp_lt_search_path_spec
=
11103 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11104 for lt_sys_path
in $lt_search_path_spec; do
11105 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11106 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11108 test -d "$lt_sys_path" && \
11109 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11112 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11113 BEGIN {RS=" "; FS="/|\n";} {
11116 for (lt_i = NF; lt_i > 0; lt_i--) {
11117 if ($lt_i != "" && $lt_i != ".") {
11118 if ($lt_i == "..") {
11121 if (lt_count == 0) {
11122 lt_foo="/" $lt_i lt_foo;
11129 if (lt_foo != "") { lt_freq[lt_foo]++; }
11130 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11132 # AWK program above erroneously prepends '/' to C:/dos/paths
11135 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11136 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11138 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11140 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11142 library_names_spec
=
11143 libname_spec
='lib$name'
11147 postuninstall_cmds
=
11151 shlibpath_overrides_runpath
=unknown
11153 dynamic_linker
="$host_os ld.so"
11154 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11155 need_lib_prefix
=unknown
11156 hardcode_into_libs
=no
11158 # when you set need_version to no, make sure it does not cause -set_version
11159 # flags to be left without arguments
11160 need_version
=unknown
11164 version_type
=linux
# correct to gnu/linux during the next big refactor
11165 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11166 shlibpath_var
=LIBPATH
11168 # AIX 3 has no versioning support, so we append a major version to the name.
11169 soname_spec
='${libname}${release}${shared_ext}$major'
11173 version_type
=linux
# correct to gnu/linux during the next big refactor
11176 hardcode_into_libs
=yes
11177 if test "$host_cpu" = ia64
; then
11178 # AIX 5 supports IA64
11179 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11180 shlibpath_var
=LD_LIBRARY_PATH
11182 # With GCC up to 2.95.x, collect2 would create an import file
11183 # for dependence libraries. The import file would start with
11184 # the line `#! .'. This would cause the generated library to
11185 # depend on `.', always an invalid library. This was fixed in
11186 # development snapshots of GCC prior to 3.0.
11188 aix4
| aix4.
[01] | aix4.
[01].
*)
11189 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11191 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11194 can_build_shared
=no
11198 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11199 # soname into executable. Probably we can add versioning support to
11200 # collect2, so additional links can be useful in future.
11201 if test "$aix_use_runtimelinking" = yes; then
11202 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11203 # instead of lib<name>.a to let people know that these are not
11204 # typical AIX shared libraries.
11205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11207 # We preserve .a as extension for shared libraries through AIX4.2
11208 # and later when we are not doing run time linking.
11209 library_names_spec
='${libname}${release}.a $libname.a'
11210 soname_spec
='${libname}${release}${shared_ext}$major'
11212 shlibpath_var
=LIBPATH
11219 # Since July 2007 AmigaOS4 officially supports .so libraries.
11220 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11224 library_names_spec
='$libname.ixlibrary $libname.a'
11225 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11226 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'
11232 library_names_spec
='${libname}${shared_ext}'
11233 dynamic_linker
="$host_os ld.so"
11234 shlibpath_var
=LIBRARY_PATH
11238 version_type
=linux
# correct to gnu/linux during the next big refactor
11240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11241 soname_spec
='${libname}${release}${shared_ext}$major'
11242 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11243 shlibpath_var
=LD_LIBRARY_PATH
11244 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11245 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11246 # the default ld.so.conf also contains /usr/contrib/lib and
11247 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11248 # libtool to hard-code these into programs
11251 cygwin
* | mingw
* | pw32
* | cegcc
*)
11252 version_type
=windows
11257 case $GCC,$cc_basename in
11260 library_names_spec
='$libname.dll.a'
11261 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11262 postinstall_cmds
='base_file=`basename \${file}`~
11263 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11264 dldir=$destdir/`dirname \$dlpath`~
11265 test -d \$dldir || mkdir -p \$dldir~
11266 $install_prog $dir/$dlname \$dldir/$dlname~
11267 chmod a+x \$dldir/$dlname~
11268 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11269 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11271 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11272 dlpath=$dir/\$dldll~
11274 shlibpath_overrides_runpath
=yes
11278 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11279 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11281 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11284 # MinGW DLLs use traditional 'lib' prefix
11285 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11288 # pw32 DLLs use 'pw' prefix rather than 'lib'
11289 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11292 dynamic_linker
='Win32 ld.exe'
11297 libname_spec
='$name'
11298 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11299 library_names_spec
='${libname}.dll.lib'
11303 sys_lib_search_path_spec
=
11306 for lt_path
in $LIB
11309 # Let DOS variable expansion print the short 8.3 style file name.
11310 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11311 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11314 # Convert to MSYS style.
11315 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11318 # Convert to unix form, then to dos form, then back to unix form
11319 # but this time dos style (no spaces!) so that the unix form looks
11320 # like /cygdrive/c/PROGRA~1:/cygdr...
11321 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11322 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11323 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11326 sys_lib_search_path_spec
="$LIB"
11327 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11328 # It is most probably a Windows format PATH.
11329 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11331 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11333 # FIXME: find the short name or the path components, as spaces are
11334 # common. (e.g. "Program Files" -> "PROGRA~1")
11338 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11339 postinstall_cmds
='base_file=`basename \${file}`~
11340 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11341 dldir=$destdir/`dirname \$dlpath`~
11342 test -d \$dldir || mkdir -p \$dldir~
11343 $install_prog $dir/$dlname \$dldir/$dlname'
11344 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11345 dlpath=$dir/\$dldll~
11347 shlibpath_overrides_runpath
=yes
11348 dynamic_linker
='Win32 link.exe'
11352 # Assume MSVC wrapper
11353 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11354 dynamic_linker
='Win32 ld.exe'
11357 # FIXME: first we should search . and the directory the executable is in
11361 darwin
* | rhapsody
*)
11362 dynamic_linker
="$host_os dyld"
11363 version_type
=darwin
11366 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11367 soname_spec
='${libname}${release}${major}$shared_ext'
11368 shlibpath_overrides_runpath
=yes
11369 shlibpath_var
=DYLD_LIBRARY_PATH
11370 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11372 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11373 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11377 version_type
=linux
# correct to gnu/linux during the next big refactor
11380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11381 soname_spec
='${libname}${release}${shared_ext}$major'
11382 shlibpath_var
=LD_LIBRARY_PATH
11385 freebsd
* | dragonfly
*)
11386 # DragonFly does not have aout. When/if they implement a new
11387 # versioning mechanism, adjust this.
11388 if test -x /usr
/bin
/objformat
; then
11389 objformat
=`/usr/bin/objformat`
11392 freebsd
[23].
*) objformat
=aout
;;
11393 *) objformat
=elf
;;
11396 version_type
=freebsd
-$objformat
11397 case $version_type in
11399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11404 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11408 shlibpath_var
=LD_LIBRARY_PATH
11411 shlibpath_overrides_runpath
=yes
11413 freebsd3.
[01]* | freebsdelf3.
[01]*)
11414 shlibpath_overrides_runpath
=yes
11415 hardcode_into_libs
=yes
11417 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11418 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11419 shlibpath_overrides_runpath
=no
11420 hardcode_into_libs
=yes
11422 *) # from 4.6 on, and DragonFly
11423 shlibpath_overrides_runpath
=yes
11424 hardcode_into_libs
=yes
11430 version_type
=linux
# correct to gnu/linux during the next big refactor
11433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11434 soname_spec
='${libname}${release}${shared_ext}$major'
11435 shlibpath_var
=LD_LIBRARY_PATH
11436 shlibpath_overrides_runpath
=no
11437 hardcode_into_libs
=yes
11441 version_type
=linux
# correct to gnu/linux during the next big refactor
11444 dynamic_linker
="$host_os runtime_loader"
11445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11446 soname_spec
='${libname}${release}${shared_ext}$major'
11447 shlibpath_var
=LIBRARY_PATH
11448 shlibpath_overrides_runpath
=yes
11449 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11450 hardcode_into_libs
=yes
11453 hpux9
* | hpux10
* | hpux11
*)
11454 # Give a soname corresponding to the major version so that dld.sl refuses to
11455 # link against other versions.
11462 hardcode_into_libs
=yes
11463 dynamic_linker
="$host_os dld.so"
11464 shlibpath_var
=LD_LIBRARY_PATH
11465 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11467 soname_spec
='${libname}${release}${shared_ext}$major'
11468 if test "X$HPUX_IA64_MODE" = X32
; then
11469 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11471 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11473 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11477 hardcode_into_libs
=yes
11478 dynamic_linker
="$host_os dld.sl"
11479 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11480 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11482 soname_spec
='${libname}${release}${shared_ext}$major'
11483 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11484 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11488 dynamic_linker
="$host_os dld.sl"
11489 shlibpath_var
=SHLIB_PATH
11490 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492 soname_spec
='${libname}${release}${shared_ext}$major'
11495 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11496 postinstall_cmds
='chmod 555 $lib'
11497 # or fails outright, so override atomically:
11498 install_override_mode
=555
11502 version_type
=linux
# correct to gnu/linux during the next big refactor
11505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11506 soname_spec
='${libname}${release}${shared_ext}$major'
11507 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11508 shlibpath_var
=LD_LIBRARY_PATH
11509 shlibpath_overrides_runpath
=no
11510 hardcode_into_libs
=yes
11513 irix5
* | irix6
* | nonstopux
*)
11515 nonstopux
*) version_type
=nonstopux
;;
11517 if test "$lt_cv_prog_gnu_ld" = yes; then
11518 version_type
=linux
# correct to gnu/linux during the next big refactor
11525 soname_spec
='${libname}${release}${shared_ext}$major'
11526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11528 irix5
* | nonstopux
*)
11529 libsuff
= shlibsuff
=
11532 case $LD in # libtool.m4 will add one of these switches to LD
11533 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11534 libsuff
= shlibsuff
= libmagic
=32-bit;;
11535 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11536 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11537 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11538 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11539 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11543 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11544 shlibpath_overrides_runpath
=no
11545 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11546 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11547 hardcode_into_libs
=yes
11550 # No shared lib support for Linux oldld, aout, or coff.
11551 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11555 # This must be glibc/ELF.
11556 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11557 version_type
=linux
# correct to gnu/linux during the next big refactor
11560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11561 soname_spec
='${libname}${release}${shared_ext}$major'
11562 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11563 shlibpath_var
=LD_LIBRARY_PATH
11564 shlibpath_overrides_runpath
=no
11566 # Some binutils ld are patched to set DT_RUNPATH
11567 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11568 $as_echo_n "(cached) " >&6
11570 lt_cv_shlibpath_overrides_runpath
=no
11571 save_LDFLAGS
=$LDFLAGS
11572 save_libdir
=$libdir
11573 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11574 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11586 if ac_fn_c_try_link
"$LINENO"; then :
11587 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11588 lt_cv_shlibpath_overrides_runpath
=yes
11591 rm -f core conftest.err conftest.
$ac_objext \
11592 conftest
$ac_exeext conftest.
$ac_ext
11593 LDFLAGS
=$save_LDFLAGS
11594 libdir
=$save_libdir
11598 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11600 # This implies no fast_install, which is unacceptable.
11601 # Some rework will be needed to allow for fast_install
11602 # before this can be enabled.
11603 hardcode_into_libs
=yes
11605 # Append ld.so.conf contents to the search path
11606 if test -f /etc
/ld.so.conf
; then
11607 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' ' '`
11608 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11611 # We used to test for /lib/ld.so.1 and disable shared libraries on
11612 # powerpc, because MkLinux only supported shared libraries with the
11613 # GNU dynamic linker. Since this was broken with cross compilers,
11614 # most powerpc-linux boxes support dynamic linking these days and
11615 # people can always --disable-shared, the test was removed, and we
11616 # assume the GNU/Linux dynamic linker is in use.
11617 dynamic_linker
='GNU/Linux ld.so'
11624 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11626 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11627 dynamic_linker
='NetBSD (a.out) ld.so'
11629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11630 soname_spec
='${libname}${release}${shared_ext}$major'
11631 dynamic_linker
='NetBSD ld.elf_so'
11633 shlibpath_var
=LD_LIBRARY_PATH
11634 shlibpath_overrides_runpath
=yes
11635 hardcode_into_libs
=yes
11639 version_type
=linux
# correct to gnu/linux during the next big refactor
11640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11641 shlibpath_var
=LD_LIBRARY_PATH
11642 shlibpath_overrides_runpath
=yes
11649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11650 soname_spec
='${libname}${release}${shared_ext}$major'
11651 shlibpath_var
=LD_LIBRARY_PATH
11652 shlibpath_overrides_runpath
=no
11653 hardcode_into_libs
=yes
11654 dynamic_linker
='ldqnx.so'
11659 sys_lib_dlsearch_path_spec
="/usr/lib"
11661 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11663 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11664 *) need_version
=no
;;
11666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11667 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11668 shlibpath_var
=LD_LIBRARY_PATH
11669 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11671 openbsd2.
[89] | openbsd2.
[89].
*)
11672 shlibpath_overrides_runpath
=no
11675 shlibpath_overrides_runpath
=yes
11679 shlibpath_overrides_runpath
=yes
11684 libname_spec
='$name'
11687 library_names_spec
='$libname${shared_ext} $libname.a'
11688 dynamic_linker
='OS/2 ld.exe'
11689 shlibpath_var
=LIBPATH
11692 osf3
* | osf4
* | osf5
*)
11696 soname_spec
='${libname}${release}${shared_ext}$major'
11697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11698 shlibpath_var
=LD_LIBRARY_PATH
11699 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11700 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11708 version_type
=linux
# correct to gnu/linux during the next big refactor
11711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11712 soname_spec
='${libname}${release}${shared_ext}$major'
11713 shlibpath_var
=LD_LIBRARY_PATH
11714 shlibpath_overrides_runpath
=yes
11715 hardcode_into_libs
=yes
11716 # ldd complains unless libraries are executable
11717 postinstall_cmds
='chmod +x $lib'
11722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11723 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11724 shlibpath_var
=LD_LIBRARY_PATH
11725 shlibpath_overrides_runpath
=yes
11726 if test "$with_gnu_ld" = yes; then
11733 version_type
=linux
# correct to gnu/linux during the next big refactor
11734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11735 soname_spec
='${libname}${release}${shared_ext}$major'
11736 shlibpath_var
=LD_LIBRARY_PATH
11737 case $host_vendor in
11739 shlibpath_overrides_runpath
=no
11741 runpath_var
=LD_RUN_PATH
11749 shlibpath_overrides_runpath
=no
11750 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11756 if test -d /usr
/nec
;then
11757 version_type
=linux
# correct to gnu/linux during the next big refactor
11758 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11759 soname_spec
='$libname${shared_ext}.$major'
11760 shlibpath_var
=LD_LIBRARY_PATH
11764 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11765 version_type
=freebsd
-elf
11768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11769 soname_spec
='${libname}${release}${shared_ext}$major'
11770 shlibpath_var
=LD_LIBRARY_PATH
11771 shlibpath_overrides_runpath
=yes
11772 hardcode_into_libs
=yes
11773 if test "$with_gnu_ld" = yes; then
11774 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11776 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11779 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11783 sys_lib_dlsearch_path_spec
='/usr/lib'
11787 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11788 version_type
=linux
# correct to gnu/linux during the next big refactor
11791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11792 shlibpath_var
=LD_LIBRARY_PATH
11793 shlibpath_overrides_runpath
=no
11794 hardcode_into_libs
=yes
11798 version_type
=linux
# correct to gnu/linux during the next big refactor
11799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11800 soname_spec
='${libname}${release}${shared_ext}$major'
11801 shlibpath_var
=LD_LIBRARY_PATH
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11809 $as_echo "$dynamic_linker" >&6; }
11810 test "$dynamic_linker" = no
&& can_build_shared
=no
11812 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11813 if test "$GCC" = yes; then
11814 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11817 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11818 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11820 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11821 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11916 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11918 if test -n "$hardcode_libdir_flag_spec" ||
11919 test -n "$runpath_var" ||
11920 test "X$hardcode_automatic" = "Xyes" ; then
11922 # We can hardcode non-existent directories.
11923 if test "$hardcode_direct" != no
&&
11924 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11925 # have to relink, otherwise we might link with an installed library
11926 # when we should be linking with a yet-to-be-installed one
11927 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11928 test "$hardcode_minus_L" != no
; then
11929 # Linking always hardcodes the temporary library directory.
11930 hardcode_action
=relink
11932 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11933 hardcode_action
=immediate
11936 # We cannot hardcode anything, or else we can only hardcode existing
11938 hardcode_action
=unsupported
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11941 $as_echo "$hardcode_action" >&6; }
11943 if test "$hardcode_action" = relink
||
11944 test "$inherit_rpath" = yes; then
11945 # Fast installation is not supported
11946 enable_fast_install
=no
11947 elif test "$shlibpath_overrides_runpath" = yes ||
11948 test "$enable_shared" = no
; then
11949 # Fast installation is not necessary
11950 enable_fast_install
=needless
11958 if test "x$enable_dlopen" != xyes
; then
11959 enable_dlopen
=unknown
11960 enable_dlopen_self
=unknown
11961 enable_dlopen_self_static
=unknown
11968 lt_cv_dlopen
="load_add_on"
11970 lt_cv_dlopen_self
=yes
11973 mingw
* | pw32
* | cegcc
*)
11974 lt_cv_dlopen
="LoadLibrary"
11979 lt_cv_dlopen
="dlopen"
11984 # if libdl is installed we need to link against it
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11986 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11987 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11988 $as_echo_n "(cached) " >&6
11990 ac_check_lib_save_LIBS
=$LIBS
11992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
12010 if ac_fn_c_try_link
"$LINENO"; then :
12011 ac_cv_lib_dl_dlopen
=yes
12013 ac_cv_lib_dl_dlopen
=no
12015 rm -f core conftest.err conftest.
$ac_objext \
12016 conftest
$ac_exeext conftest.
$ac_ext
12017 LIBS
=$ac_check_lib_save_LIBS
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12020 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12021 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12022 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12025 lt_cv_dlopen
="dyld"
12027 lt_cv_dlopen_self
=yes
12034 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12035 if test "x$ac_cv_func_shl_load" = xyes
; then :
12036 lt_cv_dlopen
="shl_load"
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12039 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12040 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12041 $as_echo_n "(cached) " >&6
12043 ac_check_lib_save_LIBS
=$LIBS
12045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 /* Override any GCC internal prototype to avoid an error.
12049 Use char because int might match the return type of a GCC
12050 builtin and then its argument prototype would still apply. */
12058 return shl_load ();
12063 if ac_fn_c_try_link
"$LINENO"; then :
12064 ac_cv_lib_dld_shl_load
=yes
12066 ac_cv_lib_dld_shl_load
=no
12068 rm -f core conftest.err conftest.
$ac_objext \
12069 conftest
$ac_exeext conftest.
$ac_ext
12070 LIBS
=$ac_check_lib_save_LIBS
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12073 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12074 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12075 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12077 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12078 if test "x$ac_cv_func_dlopen" = xyes
; then :
12079 lt_cv_dlopen
="dlopen"
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12082 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12083 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12084 $as_echo_n "(cached) " >&6
12086 ac_check_lib_save_LIBS
=$LIBS
12088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12106 if ac_fn_c_try_link
"$LINENO"; then :
12107 ac_cv_lib_dl_dlopen
=yes
12109 ac_cv_lib_dl_dlopen
=no
12111 rm -f core conftest.err conftest.
$ac_objext \
12112 conftest
$ac_exeext conftest.
$ac_ext
12113 LIBS
=$ac_check_lib_save_LIBS
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12116 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12117 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12118 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12121 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12122 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12123 $as_echo_n "(cached) " >&6
12125 ac_check_lib_save_LIBS
=$LIBS
12126 LIBS
="-lsvld $LIBS"
12127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12130 /* Override any GCC internal prototype to avoid an error.
12131 Use char because int might match the return type of a GCC
12132 builtin and then its argument prototype would still apply. */
12145 if ac_fn_c_try_link
"$LINENO"; then :
12146 ac_cv_lib_svld_dlopen
=yes
12148 ac_cv_lib_svld_dlopen
=no
12150 rm -f core conftest.err conftest.
$ac_objext \
12151 conftest
$ac_exeext conftest.
$ac_ext
12152 LIBS
=$ac_check_lib_save_LIBS
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12155 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12156 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12157 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12160 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12161 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12162 $as_echo_n "(cached) " >&6
12164 ac_check_lib_save_LIBS
=$LIBS
12166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 /* Override any GCC internal prototype to avoid an error.
12170 Use char because int might match the return type of a GCC
12171 builtin and then its argument prototype would still apply. */
12179 return dld_link ();
12184 if ac_fn_c_try_link
"$LINENO"; then :
12185 ac_cv_lib_dld_dld_link
=yes
12187 ac_cv_lib_dld_dld_link
=no
12189 rm -f core conftest.err conftest.
$ac_objext \
12190 conftest
$ac_exeext conftest.
$ac_ext
12191 LIBS
=$ac_check_lib_save_LIBS
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12194 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12195 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12196 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12217 if test "x$lt_cv_dlopen" != xno
; then
12223 case $lt_cv_dlopen in
12225 save_CPPFLAGS
="$CPPFLAGS"
12226 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12228 save_LDFLAGS
="$LDFLAGS"
12229 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12232 LIBS
="$lt_cv_dlopen_libs $LIBS"
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12235 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12236 if ${lt_cv_dlopen_self+:} false
; then :
12237 $as_echo_n "(cached) " >&6
12239 if test "$cross_compiling" = yes; then :
12240 lt_cv_dlopen_self
=cross
12242 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12243 lt_status
=$lt_dlunknown
12244 cat > conftest.
$ac_ext <<_LT_EOF
12245 #line $LINENO "configure"
12246 #include "confdefs.h"
12255 # define LT_DLGLOBAL RTLD_GLOBAL
12258 # define LT_DLGLOBAL DL_GLOBAL
12260 # define LT_DLGLOBAL 0
12264 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12265 find out it does not work in some platform. */
12266 #ifndef LT_DLLAZY_OR_NOW
12268 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12271 # define LT_DLLAZY_OR_NOW DL_LAZY
12274 # define LT_DLLAZY_OR_NOW RTLD_NOW
12277 # define LT_DLLAZY_OR_NOW DL_NOW
12279 # define LT_DLLAZY_OR_NOW 0
12286 /* When -fvisbility=hidden is used, assume the code has been annotated
12287 correspondingly for the symbols needed. */
12288 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12289 int fnord () __attribute__((visibility("default")));
12292 int fnord () { return 42; }
12295 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12296 int status = $lt_dlunknown;
12300 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12303 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12304 else puts (dlerror ());
12306 /* dlclose (self); */
12314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12315 (eval $ac_link) 2>&5
12317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12318 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12319 (.
/conftest
; exit; ) >&5 2>/dev
/null
12321 case x
$lt_status in
12322 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12323 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12324 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12327 # compilation failed
12328 lt_cv_dlopen_self
=no
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12336 $as_echo "$lt_cv_dlopen_self" >&6; }
12338 if test "x$lt_cv_dlopen_self" = xyes
; then
12339 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12341 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12342 if ${lt_cv_dlopen_self_static+:} false
; then :
12343 $as_echo_n "(cached) " >&6
12345 if test "$cross_compiling" = yes; then :
12346 lt_cv_dlopen_self_static
=cross
12348 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12349 lt_status
=$lt_dlunknown
12350 cat > conftest.
$ac_ext <<_LT_EOF
12351 #line $LINENO "configure"
12352 #include "confdefs.h"
12361 # define LT_DLGLOBAL RTLD_GLOBAL
12364 # define LT_DLGLOBAL DL_GLOBAL
12366 # define LT_DLGLOBAL 0
12370 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12371 find out it does not work in some platform. */
12372 #ifndef LT_DLLAZY_OR_NOW
12374 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12377 # define LT_DLLAZY_OR_NOW DL_LAZY
12380 # define LT_DLLAZY_OR_NOW RTLD_NOW
12383 # define LT_DLLAZY_OR_NOW DL_NOW
12385 # define LT_DLLAZY_OR_NOW 0
12392 /* When -fvisbility=hidden is used, assume the code has been annotated
12393 correspondingly for the symbols needed. */
12394 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12395 int fnord () __attribute__((visibility("default")));
12398 int fnord () { return 42; }
12401 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12402 int status = $lt_dlunknown;
12406 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12409 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12410 else puts (dlerror ());
12412 /* dlclose (self); */
12420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12421 (eval $ac_link) 2>&5
12423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12424 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12425 (.
/conftest
; exit; ) >&5 2>/dev
/null
12427 case x
$lt_status in
12428 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12429 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12430 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12433 # compilation failed
12434 lt_cv_dlopen_self_static
=no
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12442 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12445 CPPFLAGS
="$save_CPPFLAGS"
12446 LDFLAGS
="$save_LDFLAGS"
12451 case $lt_cv_dlopen_self in
12452 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12453 *) enable_dlopen_self
=unknown
;;
12456 case $lt_cv_dlopen_self_static in
12457 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12458 *) enable_dlopen_self_static
=unknown
;;
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12481 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12482 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12483 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12484 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12486 $as_echo "yes" >&6; }
12488 # FIXME - insert some real tests, host_os isn't really good enough
12491 if test -n "$STRIP" ; then
12492 striplib
="$STRIP -x"
12493 old_striplib
="$STRIP -S"
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12495 $as_echo "yes" >&6; }
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12498 $as_echo "no" >&6; }
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12503 $as_echo "no" >&6; }
12519 # Report which library types will actually be built
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12521 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12523 $as_echo "$can_build_shared" >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12526 $as_echo_n "checking whether to build shared libraries... " >&6; }
12527 test "$can_build_shared" = "no" && enable_shared
=no
12529 # On AIX, shared libraries and static libraries use the same namespace, and
12530 # are all built from PIC.
12533 test "$enable_shared" = yes && enable_static
=no
12534 if test -n "$RANLIB"; then
12535 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12536 postinstall_cmds
='$RANLIB $lib'
12541 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12542 test "$enable_shared" = yes && enable_static
=no
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12547 $as_echo "$enable_shared" >&6; }
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12550 $as_echo_n "checking whether to build static libraries... " >&6; }
12551 # Make sure either enable_shared or enable_static is yes.
12552 test "$enable_shared" = yes || enable_static
=yes
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12554 $as_echo "$enable_static" >&6; }
12561 ac_cpp
='$CPP $CPPFLAGS'
12562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12568 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12569 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12570 (test "X$CXX" != "Xg++"))) ; then
12572 ac_cpp
='$CXXCPP $CPPFLAGS'
12573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12577 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12578 if test -z "$CXXCPP"; then
12579 if ${ac_cv_prog_CXXCPP+:} false
; then :
12580 $as_echo_n "(cached) " >&6
12582 # Double quotes because CXXCPP needs to be expanded
12583 for CXXCPP
in "$CXX -E" "/lib/cpp"
12585 ac_preproc_ok
=false
12586 for ac_cxx_preproc_warn_flag
in '' yes
12588 # Use a header file that comes with gcc, so configuring glibc
12589 # with a fresh cross-compiler works.
12590 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12591 # <limits.h> exists even on freestanding compilers.
12592 # On the NeXT, cc -E runs the code through the compiler's parser,
12593 # not just through cpp. "Syntax error" is here to catch this case.
12594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 # include <limits.h>
12599 # include <assert.h>
12603 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12606 # Broken: fails on valid input.
12609 rm -f conftest.err conftest.i conftest.
$ac_ext
12611 # OK, works on sane cases. Now check whether nonexistent headers
12612 # can be detected and how.
12613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12615 #include <ac_nonexistent.h>
12617 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12618 # Broken: success on invalid input.
12621 # Passes both tests.
12625 rm -f conftest.err conftest.i conftest.
$ac_ext
12628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12629 rm -f conftest.i conftest.err conftest.
$ac_ext
12630 if $ac_preproc_ok; then :
12635 ac_cv_prog_CXXCPP
=$CXXCPP
12638 CXXCPP
=$ac_cv_prog_CXXCPP
12640 ac_cv_prog_CXXCPP
=$CXXCPP
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12643 $as_echo "$CXXCPP" >&6; }
12644 ac_preproc_ok
=false
12645 for ac_cxx_preproc_warn_flag
in '' yes
12647 # Use a header file that comes with gcc, so configuring glibc
12648 # with a fresh cross-compiler works.
12649 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12650 # <limits.h> exists even on freestanding compilers.
12651 # On the NeXT, cc -E runs the code through the compiler's parser,
12652 # not just through cpp. "Syntax error" is here to catch this case.
12653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12656 # include <limits.h>
12658 # include <assert.h>
12662 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12665 # Broken: fails on valid input.
12668 rm -f conftest.err conftest.i conftest.
$ac_ext
12670 # OK, works on sane cases. Now check whether nonexistent headers
12671 # can be detected and how.
12672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12674 #include <ac_nonexistent.h>
12676 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12677 # Broken: success on invalid input.
12680 # Passes both tests.
12684 rm -f conftest.err conftest.i conftest.
$ac_ext
12687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12688 rm -f conftest.i conftest.err conftest.
$ac_ext
12689 if $ac_preproc_ok; then :
12692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12694 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12695 See \`config.log' for more details" "$LINENO" 5; }
12699 ac_cpp
='$CPP $CPPFLAGS'
12700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12705 _lt_caught_CXX_error
=yes
12709 ac_cpp
='$CXXCPP $CPPFLAGS'
12710 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12711 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12712 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12714 archive_cmds_need_lc_CXX
=no
12715 allow_undefined_flag_CXX
=
12716 always_export_symbols_CXX
=no
12717 archive_expsym_cmds_CXX
=
12718 compiler_needs_object_CXX
=no
12719 export_dynamic_flag_spec_CXX
=
12720 hardcode_direct_CXX
=no
12721 hardcode_direct_absolute_CXX
=no
12722 hardcode_libdir_flag_spec_CXX
=
12723 hardcode_libdir_separator_CXX
=
12724 hardcode_minus_L_CXX
=no
12725 hardcode_shlibpath_var_CXX
=unsupported
12726 hardcode_automatic_CXX
=no
12727 inherit_rpath_CXX
=no
12729 module_expsym_cmds_CXX
=
12730 link_all_deplibs_CXX
=unknown
12731 old_archive_cmds_CXX
=$old_archive_cmds
12732 reload_flag_CXX
=$reload_flag
12733 reload_cmds_CXX
=$reload_cmds
12734 no_undefined_flag_CXX
=
12735 whole_archive_flag_spec_CXX
=
12736 enable_shared_with_static_runtimes_CXX
=no
12738 # Source file extension for C++ test sources.
12741 # Object file extension for compiled C++ test sources.
12745 # No sense in running all these tests if we already determined that
12746 # the CXX compiler isn't working. Some variables (like enable_shared)
12747 # are currently assumed to apply to all compilers on this platform,
12748 # and will be corrupted by setting them based on a non-working compiler.
12749 if test "$_lt_caught_CXX_error" != yes; then
12750 # Code to be used in simple compile tests
12751 lt_simple_compile_test_code
="int some_variable = 0;"
12753 # Code to be used in simple link tests
12754 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12756 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12763 # If no C compiler was specified, use CC.
12766 # If no C compiler flags were specified, use CFLAGS.
12767 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12769 # Allow CC to be a program name with arguments.
12773 # save warnings/boilerplate of simple test code
12774 ac_outfile
=conftest.
$ac_objext
12775 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12776 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12777 _lt_compiler_boilerplate
=`cat conftest.err`
12780 ac_outfile
=conftest.
$ac_objext
12781 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12782 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12783 _lt_linker_boilerplate
=`cat conftest.err`
12787 # Allow CC to be a program name with arguments.
12789 lt_save_CFLAGS
=$CFLAGS
12793 lt_save_with_gnu_ld
=$with_gnu_ld
12794 lt_save_path_LD
=$lt_cv_path_LD
12795 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12796 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12798 $as_unset lt_cv_prog_gnu_ld
12800 if test -n "${lt_cv_path_LDCXX+set}"; then
12801 lt_cv_path_LD
=$lt_cv_path_LDCXX
12803 $as_unset lt_cv_path_LD
12805 test -z "${LDCXX+set}" || LD
=$LDCXX
12810 for cc_temp
in $compiler""; do
12812 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12813 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12818 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12821 if test -n "$compiler"; then
12822 # We don't want -fno-exception when compiling C++ code, so set the
12823 # no_builtin_flag separately
12824 if test "$GXX" = yes; then
12825 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12827 lt_prog_compiler_no_builtin_flag_CXX
=
12830 if test "$GXX" = yes; then
12831 # Set up default GNU C++ configuration
12835 # Check whether --with-gnu-ld was given.
12836 if test "${with_gnu_ld+set}" = set; then :
12837 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12843 if test "$GCC" = yes; then
12844 # Check if gcc -print-prog-name=ld gives a path.
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12846 $as_echo_n "checking for ld used by $CC... " >&6; }
12849 # gcc leaves a trailing carriage return which upsets mingw
12850 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12852 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12855 # Accept absolute paths.
12857 re_direlt
='/[^/][^/]*/\.\./'
12858 # Canonicalize the pathname of ld
12859 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12860 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12861 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12863 test -z "$LD" && LD
="$ac_prog"
12866 # If it fails, then pretend we aren't using GCC.
12870 # If it is relative, then search for the first ld in PATH.
12871 with_gnu_ld
=unknown
12874 elif test "$with_gnu_ld" = yes; then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12876 $as_echo_n "checking for GNU ld... " >&6; }
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12879 $as_echo_n "checking for non-GNU ld... " >&6; }
12881 if ${lt_cv_path_LD+:} false
; then :
12882 $as_echo_n "(cached) " >&6
12884 if test -z "$LD"; then
12885 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12886 for ac_dir
in $PATH; do
12888 test -z "$ac_dir" && ac_dir
=.
12889 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12890 lt_cv_path_LD
="$ac_dir/$ac_prog"
12891 # Check to see if the program is GNU ld. I'd rather use --version,
12892 # but apparently some variants of GNU ld only accept -v.
12893 # Break only if it was the GNU/non-GNU ld that we prefer.
12894 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12895 *GNU
* | *'with BFD'*)
12896 test "$with_gnu_ld" != no
&& break
12899 test "$with_gnu_ld" != yes && break
12906 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12910 LD
="$lt_cv_path_LD"
12911 if test -n "$LD"; then
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12913 $as_echo "$LD" >&6; }
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12916 $as_echo "no" >&6; }
12918 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12920 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12921 if ${lt_cv_prog_gnu_ld+:} false
; then :
12922 $as_echo_n "(cached) " >&6
12924 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12925 case `$LD -v 2>&1 </dev/null` in
12926 *GNU
* | *'with BFD'*)
12927 lt_cv_prog_gnu_ld
=yes
12930 lt_cv_prog_gnu_ld
=no
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12935 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12936 with_gnu_ld
=$lt_cv_prog_gnu_ld
12944 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12945 # archiving commands below assume that GNU ld is being used.
12946 if test "$with_gnu_ld" = yes; then
12947 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12948 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'
12950 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12951 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12953 # If archive_cmds runs LD, not CC, wlarc should be empty
12954 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12955 # investigate it a little bit more. (MM)
12958 # ancient GNU ld didn't support --whole-archive et. al.
12959 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12960 $GREP 'no-whole-archive' > /dev
/null
; then
12961 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12963 whole_archive_flag_spec_CXX
=
12969 # A generic and very simple default shared library creation
12970 # command for GNU C++ for the case where it uses the native
12971 # linker, instead of GNU ld. If possible, this setting should
12972 # overridden to take advantage of the native linker features on
12973 # the platform it is being used on.
12974 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12977 # Commands to make compiler produce verbose output that lists
12978 # what "hidden" libraries, object files and flags are used when
12979 # linking a shared library.
12980 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12988 # PORTME: fill in a description of your system's C++ link characteristics
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12990 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12994 # FIXME: insert proper C++ library support
12998 if test "$host_cpu" = ia64
; then
12999 # On IA64, the linker does run time linking by default, so we don't
13000 # have to do anything special.
13001 aix_use_runtimelinking
=no
13002 exp_sym_flag
='-Bexport'
13005 aix_use_runtimelinking
=no
13007 # Test if we are trying to use run time linking or normal
13008 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13009 # need to do runtime linking.
13010 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13011 for ld_flag
in $LDFLAGS; do
13014 aix_use_runtimelinking
=yes
13022 exp_sym_flag
='-bexport'
13023 no_entry_flag
='-bnoentry'
13026 # When large executables or shared objects are built, AIX ld can
13027 # have problems creating the table of contents. If linking a library
13028 # or program results in "error TOC overflow" add -mminimal-toc to
13029 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13030 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13032 archive_cmds_CXX
=''
13033 hardcode_direct_CXX
=yes
13034 hardcode_direct_absolute_CXX
=yes
13035 hardcode_libdir_separator_CXX
=':'
13036 link_all_deplibs_CXX
=yes
13037 file_list_spec_CXX
='${wl}-f,'
13039 if test "$GXX" = yes; then
13040 case $host_os in aix4.
[012]|aix4.
[012].
*)
13041 # We only want to do this on AIX 4.2 and lower, the check
13042 # below for broken collect2 doesn't work under 4.3+
13043 collect2name
=`${CC} -print-prog-name=collect2`
13044 if test -f "$collect2name" &&
13045 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13047 # We have reworked collect2
13050 # We have old collect2
13051 hardcode_direct_CXX
=unsupported
13052 # It fails to find uninstalled libraries when the uninstalled
13053 # path is not listed in the libpath. Setting hardcode_minus_L
13054 # to unsupported forces relinking
13055 hardcode_minus_L_CXX
=yes
13056 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13057 hardcode_libdir_separator_CXX
=
13060 shared_flag
='-shared'
13061 if test "$aix_use_runtimelinking" = yes; then
13062 shared_flag
="$shared_flag "'${wl}-G'
13066 if test "$host_cpu" = ia64
; then
13067 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13068 # chokes on -Wl,-G. The following line is correct:
13071 if test "$aix_use_runtimelinking" = yes; then
13072 shared_flag
='${wl}-G'
13074 shared_flag
='${wl}-bM:SRE'
13079 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13080 # It seems that -bexpall does not export symbols beginning with
13081 # underscore (_), so it is better to generate a list of symbols to
13083 always_export_symbols_CXX
=yes
13084 if test "$aix_use_runtimelinking" = yes; then
13085 # Warning - without using the other runtime loading flags (-brtl),
13086 # -berok will link without error, but may produce a broken library.
13087 allow_undefined_flag_CXX
='-berok'
13088 # Determine the default libpath from the value encoded in an empty
13090 if test "${lt_cv_aix_libpath+set}" = set; then
13091 aix_libpath
=$lt_cv_aix_libpath
13093 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13094 $as_echo_n "(cached) " >&6
13096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13097 /* end confdefs.h. */
13107 if ac_fn_cxx_try_link
"$LINENO"; then :
13109 lt_aix_libpath_sed
='
13110 /Import File Strings/,/^$/ {
13112 s/^0 *\([^ ]*\) *$/\1/
13116 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13117 # Check for a 64-bit object if we didn't find anything.
13118 if test -z "$lt_cv_aix_libpath__CXX"; then
13119 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13122 rm -f core conftest.err conftest.
$ac_objext \
13123 conftest
$ac_exeext conftest.
$ac_ext
13124 if test -z "$lt_cv_aix_libpath__CXX"; then
13125 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13130 aix_libpath
=$lt_cv_aix_libpath__CXX
13133 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13135 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"
13137 if test "$host_cpu" = ia64
; then
13138 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13139 allow_undefined_flag_CXX
="-z nodefs"
13140 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"
13142 # Determine the default libpath from the value encoded in an
13143 # empty executable.
13144 if test "${lt_cv_aix_libpath+set}" = set; then
13145 aix_libpath
=$lt_cv_aix_libpath
13147 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13148 $as_echo_n "(cached) " >&6
13150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13161 if ac_fn_cxx_try_link
"$LINENO"; then :
13163 lt_aix_libpath_sed
='
13164 /Import File Strings/,/^$/ {
13166 s/^0 *\([^ ]*\) *$/\1/
13170 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13171 # Check for a 64-bit object if we didn't find anything.
13172 if test -z "$lt_cv_aix_libpath__CXX"; then
13173 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13176 rm -f core conftest.err conftest.
$ac_objext \
13177 conftest
$ac_exeext conftest.
$ac_ext
13178 if test -z "$lt_cv_aix_libpath__CXX"; then
13179 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13184 aix_libpath
=$lt_cv_aix_libpath__CXX
13187 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13188 # Warning - without using the other run time loading flags,
13189 # -berok will link without error, but may produce a broken library.
13190 no_undefined_flag_CXX
=' ${wl}-bernotok'
13191 allow_undefined_flag_CXX
=' ${wl}-berok'
13192 if test "$with_gnu_ld" = yes; then
13193 # We only use this code for GNU lds that support --whole-archive.
13194 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13196 # Exported symbols can be pulled into shared objects from archives
13197 whole_archive_flag_spec_CXX
='$convenience'
13199 archive_cmds_need_lc_CXX
=yes
13200 # This is similar to how AIX traditionally builds its shared
13202 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'
13208 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13209 allow_undefined_flag_CXX
=unsupported
13210 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13211 # support --undefined. This deserves some investigation. FIXME
13212 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13219 case $cc_basename in
13221 # FIXME: insert proper C++ library support
13227 cygwin
* | mingw
* | pw32
* | cegcc
*)
13228 case $GXX,$cc_basename in
13231 # hardcode_libdir_flag_spec is actually meaningless, as there is
13232 # no search path for DLLs.
13233 hardcode_libdir_flag_spec_CXX
=' '
13234 allow_undefined_flag_CXX
=unsupported
13235 always_export_symbols_CXX
=yes
13236 file_list_spec_CXX
='@'
13237 # Tell ltmain to make .lib files, not .a files.
13239 # Tell ltmain to make .dll files, not .so files.
13241 # FIXME: Setting linknames here is a bad hack.
13242 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13243 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13244 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13246 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13248 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13250 # The linker will not automatically build a static lib if we build a DLL.
13251 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13252 enable_shared_with_static_runtimes_CXX
=yes
13254 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13255 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13256 lt_tool_outputfile="@TOOL_OUTPUT@"~
13257 case $lt_outputfile in
13260 lt_outputfile="$lt_outputfile.exe"
13261 lt_tool_outputfile="$lt_tool_outputfile.exe"
13264 func_to_tool_file "$lt_outputfile"~
13265 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13266 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13267 $RM "$lt_outputfile.manifest";
13272 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13273 # as there is no search path for DLLs.
13274 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13275 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13276 allow_undefined_flag_CXX
=unsupported
13277 always_export_symbols_CXX
=no
13278 enable_shared_with_static_runtimes_CXX
=yes
13280 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13281 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'
13282 # If the export-symbols file already is a .def file (1st line
13283 # is EXPORTS), use it as is; otherwise, prepend...
13284 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13285 cp $export_symbols $output_objdir/$soname.def;
13287 echo EXPORTS > $output_objdir/$soname.def;
13288 cat $export_symbols >> $output_objdir/$soname.def;
13290 $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'
13297 darwin
* | rhapsody
*)
13300 archive_cmds_need_lc_CXX
=no
13301 hardcode_direct_CXX
=no
13302 hardcode_automatic_CXX
=yes
13303 hardcode_shlibpath_var_CXX
=unsupported
13304 if test "$lt_cv_ld_force_load" = "yes"; then
13305 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\"`'
13308 whole_archive_flag_spec_CXX
=''
13310 link_all_deplibs_CXX
=yes
13311 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13312 case $cc_basename in
13313 ifort
*) _lt_dar_can_shared
=yes ;;
13314 *) _lt_dar_can_shared
=$GCC ;;
13316 if test "$_lt_dar_can_shared" = "yes"; then
13317 output_verbose_link_cmd
=func_echo_all
13318 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}"
13319 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13320 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}"
13321 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}"
13322 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13323 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}"
13324 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}"
13334 case $cc_basename in
13336 # FIXME: insert proper C++ library support
13340 # Green Hills C++ Compiler
13341 # FIXME: insert proper C++ library support
13345 # FIXME: insert proper C++ library support
13352 # C++ shared libraries reported to be fairly broken before
13358 archive_cmds_need_lc_CXX
=no
13361 freebsd
* | dragonfly
*)
13362 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13371 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13372 link_all_deplibs_CXX
=yes
13376 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13377 hardcode_libdir_separator_CXX
=:
13378 export_dynamic_flag_spec_CXX
='${wl}-E'
13379 hardcode_direct_CXX
=yes
13380 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13381 # but as the default
13382 # location of the library.
13384 case $cc_basename in
13386 # FIXME: insert proper C++ library support
13390 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'
13391 # Commands to make compiler produce verbose output that lists
13392 # what "hidden" libraries, object files and flags are used when
13393 # linking a shared library.
13395 # There doesn't appear to be a way to prevent this compiler from
13396 # explicitly linking system object files so we need to strip them
13397 # from the output so that they don't get included in the library
13399 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"'
13402 if test "$GXX" = yes; then
13403 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'
13405 # FIXME: insert proper C++ library support
13413 if test $with_gnu_ld = no
; then
13414 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13415 hardcode_libdir_separator_CXX
=:
13421 export_dynamic_flag_spec_CXX
='${wl}-E'
13427 hardcode_direct_CXX
=no
13428 hardcode_shlibpath_var_CXX
=no
13431 hardcode_direct_CXX
=yes
13432 hardcode_direct_absolute_CXX
=yes
13433 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13434 # but as the default
13435 # location of the library.
13439 case $cc_basename in
13441 # FIXME: insert proper C++ library support
13447 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13450 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13453 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13456 # Commands to make compiler produce verbose output that lists
13457 # what "hidden" libraries, object files and flags are used when
13458 # linking a shared library.
13460 # There doesn't appear to be a way to prevent this compiler from
13461 # explicitly linking system object files so we need to strip them
13462 # from the output so that they don't get included in the library
13464 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"'
13467 if test "$GXX" = yes; then
13468 if test $with_gnu_ld = no
; then
13471 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13474 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13477 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'
13482 # FIXME: insert proper C++ library support
13490 hardcode_direct_CXX
=no
13491 hardcode_shlibpath_var_CXX
=no
13492 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13493 export_dynamic_flag_spec_CXX
='${wl}-E'
13494 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13495 # Instead, shared libraries are loaded at an image base (0x10000000 by
13496 # default) and relocated if they conflict, which is a slow very memory
13497 # consuming and fragmenting process. To avoid this, we pick a random,
13498 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13499 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13500 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'
13501 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'
13504 case $cc_basename in
13507 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'
13509 # Archives containing C++ object files must be created using
13510 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13511 # necessary to make sure instantiated templates are included
13513 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13516 if test "$GXX" = yes; then
13517 if test "$with_gnu_ld" = no
; then
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"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13520 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'
13523 link_all_deplibs_CXX
=yes
13526 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13527 hardcode_libdir_separator_CXX
=:
13528 inherit_rpath_CXX
=yes
13531 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13532 case $cc_basename in
13534 # Kuck and Associates, Inc. (KAI) C++ Compiler
13536 # KCC will only create a shared library if the output file
13537 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13538 # to its proper name (with version) after linking.
13539 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'
13540 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'
13541 # Commands to make compiler produce verbose output that lists
13542 # what "hidden" libraries, object files and flags are used when
13543 # linking a shared library.
13545 # There doesn't appear to be a way to prevent this compiler from
13546 # explicitly linking system object files so we need to strip them
13547 # from the output so that they don't get included in the library
13549 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"'
13551 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13552 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13554 # Archives containing C++ object files must be created using
13555 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13556 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13561 # version 8.0 and above of icpc choke on multiply defined symbols
13562 # if we add $predep_objects and $postdep_objects, however 7.1 and
13563 # earlier do not add the objects themselves.
13564 case `$CC -V 2>&1` in
13566 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13567 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'
13569 *) # Version 8.0 or newer
13572 ia64
*) tmp_idyn
=' -i_dynamic';;
13574 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13575 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'
13578 archive_cmds_need_lc_CXX
=no
13579 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13580 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13581 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13584 # Portland Group C++ compiler
13586 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13587 prelink_cmds_CXX
='tpldir=Template.dir~
13589 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13590 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13591 old_archive_cmds_CXX
='tpldir=Template.dir~
13593 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13594 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13596 archive_cmds_CXX
='tpldir=Template.dir~
13598 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13599 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13600 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13602 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13603 $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'
13605 *) # Version 6 and above use weak symbols
13606 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13607 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'
13611 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13612 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13613 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'
13617 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13618 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'
13620 runpath_var
=LD_RUN_PATH
13621 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13622 hardcode_libdir_separator_CXX
=:
13624 # Commands to make compiler produce verbose output that lists
13625 # what "hidden" libraries, object files and flags are used when
13626 # linking a shared library.
13628 # There doesn't appear to be a way to prevent this compiler from
13629 # explicitly linking system object files so we need to strip them
13630 # from the output so that they don't get included in the library
13632 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'
13634 xl
* | mpixl
* | bgxl
*)
13635 # IBM XL 8.0 on PPC, with GNU ld
13636 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13637 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13638 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13639 if test "x$supports_anon_versioning" = xyes
; then
13640 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13641 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13642 echo "local: *; };" >> $output_objdir/$libname.ver~
13643 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13647 case `$CC -V 2>&1 | sed 5q` in
13650 no_undefined_flag_CXX
=' -zdefs'
13651 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13652 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'
13653 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13654 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'
13655 compiler_needs_object_CXX
=yes
13657 # Not sure whether something based on
13658 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13660 output_verbose_link_cmd
='func_echo_all'
13662 # Archives containing C++ object files must be created using
13663 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13664 # necessary to make sure instantiated templates are included
13666 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13674 # FIXME: insert proper C++ library support
13679 # FIXME: insert proper C++ library support
13684 case $cc_basename in
13686 # FIXME: insert proper C++ library support
13690 # FIXME: insert proper C++ library support
13697 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13698 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13700 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13701 hardcode_direct_CXX
=yes
13702 hardcode_shlibpath_var_CXX
=no
13704 # Workaround some broken pre-1.5 toolchains
13705 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13713 # C++ shared libraries are fairly broken
13718 if test -f /usr
/libexec
/ld.so
; then
13719 hardcode_direct_CXX
=yes
13720 hardcode_shlibpath_var_CXX
=no
13721 hardcode_direct_absolute_CXX
=yes
13722 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13723 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13724 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13725 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13726 export_dynamic_flag_spec_CXX
='${wl}-E'
13727 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13729 output_verbose_link_cmd
=func_echo_all
13735 osf3
* | osf4
* | osf5
*)
13736 case $cc_basename in
13738 # Kuck and Associates, Inc. (KAI) C++ Compiler
13740 # KCC will only create a shared library if the output file
13741 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13742 # to its proper name (with version) after linking.
13743 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'
13745 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13746 hardcode_libdir_separator_CXX
=:
13748 # Archives containing C++ object files must be created using
13749 # the KAI C++ compiler.
13751 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13752 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13756 # Rational C++ 2.4.1
13757 # FIXME: insert proper C++ library support
13763 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13764 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'
13765 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13768 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13769 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'
13770 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13771 echo "-hidden">> $lib.exp~
13772 $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~
13774 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13778 hardcode_libdir_separator_CXX
=:
13780 # Commands to make compiler produce verbose output that lists
13781 # what "hidden" libraries, object files and flags are used when
13782 # linking a shared library.
13784 # There doesn't appear to be a way to prevent this compiler from
13785 # explicitly linking system object files so we need to strip them
13786 # from the output so that they don't get included in the library
13788 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"'
13791 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13792 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13795 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'
13798 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'
13802 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13803 hardcode_libdir_separator_CXX
=:
13805 # Commands to make compiler produce verbose output that lists
13806 # what "hidden" libraries, object files and flags are used when
13807 # linking a shared library.
13808 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13811 # FIXME: insert proper C++ library support
13819 # FIXME: insert proper C++ library support
13824 case $cc_basename in
13827 # FIXME: insert proper C++ library support
13832 # FIXME: insert proper C++ library support
13836 # FIXME: insert proper C++ library support
13843 case $cc_basename in
13845 # Sun C++ 4.2, 5.x and Centerline C++
13846 archive_cmds_need_lc_CXX
=yes
13847 no_undefined_flag_CXX
=' -zdefs'
13848 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13849 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13850 $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'
13852 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13853 hardcode_shlibpath_var_CXX
=no
13855 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13857 # The compiler driver will combine and reorder linker options,
13858 # but understands `-z linker_flag'.
13859 # Supported since Solaris 2.6 (maybe 2.5.1?)
13860 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13863 link_all_deplibs_CXX
=yes
13865 output_verbose_link_cmd
='func_echo_all'
13867 # Archives containing C++ object files must be created using
13868 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13869 # necessary to make sure instantiated templates are included
13871 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13874 # Green Hills C++ Compiler
13875 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13877 # The C++ compiler must be used to create the archive.
13878 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13881 # GNU C++ compiler with Solaris linker
13882 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13883 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13884 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13885 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13886 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13887 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13889 # Commands to make compiler produce verbose output that lists
13890 # what "hidden" libraries, object files and flags are used when
13891 # linking a shared library.
13892 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13894 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13896 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13897 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13898 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13900 # Commands to make compiler produce verbose output that lists
13901 # what "hidden" libraries, object files and flags are used when
13902 # linking a shared library.
13903 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13906 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13908 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13910 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13918 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13919 no_undefined_flag_CXX
='${wl}-z,text'
13920 archive_cmds_need_lc_CXX
=no
13921 hardcode_shlibpath_var_CXX
=no
13922 runpath_var
='LD_RUN_PATH'
13924 case $cc_basename in
13926 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13927 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13930 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13931 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13936 sysv5
* | sco3.2v5
* | sco5v6
*)
13937 # Note: We can NOT use -z defs as we might desire, because we do not
13938 # link with -lc, and that would cause any symbols used from libc to
13939 # always be unresolved, which means just about no library would
13940 # ever link correctly. If we're not using GNU ld we use -z text
13941 # though, which does catch some bad symbols but isn't as heavy-handed
13943 no_undefined_flag_CXX
='${wl}-z,text'
13944 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13945 archive_cmds_need_lc_CXX
=no
13946 hardcode_shlibpath_var_CXX
=no
13947 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13948 hardcode_libdir_separator_CXX
=':'
13949 link_all_deplibs_CXX
=yes
13950 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13951 runpath_var
='LD_RUN_PATH'
13953 case $cc_basename in
13955 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13956 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13957 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13958 '"$old_archive_cmds_CXX"
13959 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13960 '"$reload_cmds_CXX"
13963 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13964 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13970 case $cc_basename in
13972 # NonStop-UX NCC 3.20
13973 # FIXME: insert proper C++ library support
13977 # FIXME: insert proper C++ library support
13984 # FIXME: insert proper C++ library support
13989 # FIXME: insert proper C++ library support
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13995 $as_echo "$ld_shlibs_CXX" >&6; }
13996 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14002 ## There is no encapsulation within the following macros, do not change
14003 ## the running order or otherwise move them around unless you know exactly
14004 ## what you are doing...
14005 # Dependencies to place before and after the object being linked:
14006 predep_objects_CXX
=
14007 postdep_objects_CXX
=
14010 compiler_lib_search_path_CXX
=
14012 cat > conftest.
$ac_ext <<_LT_EOF
14016 Foo (void) { a = 0; }
14023 _lt_libdeps_save_CFLAGS
=$CFLAGS
14024 case "$CC $CFLAGS " in #(
14025 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14026 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14027 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14031 (eval $ac_compile) 2>&5
14033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14034 test $ac_status = 0; }; then
14035 # Parse the compiler output and extract the necessary
14036 # objects, libraries and library flags.
14038 # Sentinel used to keep track of whether or not we are before
14039 # the conftest object file.
14040 pre_test_object_deps_done
=no
14042 for p
in `eval "$output_verbose_link_cmd"`; do
14043 case ${prev}${p} in
14046 # Some compilers place space between "-{L,R}" and the path.
14047 # Remove the space.
14048 if test $p = "-L" ||
14049 test $p = "-R"; then
14054 # Expand the sysroot to ease extracting the directories later.
14055 if test -z "$prev"; then
14057 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14058 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14059 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14063 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14065 if test "$pre_test_object_deps_done" = no
; then
14068 # Internal compiler library paths should come after those
14069 # provided the user. The postdeps already come after the
14070 # user supplied libs so there is no need to process them.
14071 if test -z "$compiler_lib_search_path_CXX"; then
14072 compiler_lib_search_path_CXX
="${prev}${p}"
14074 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14077 # The "-l" case would never come before the object being
14078 # linked, so don't bother handling this case.
14081 if test -z "$postdeps_CXX"; then
14082 postdeps_CXX
="${prev}${p}"
14084 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14090 *.lto.
$objext) ;; # Ignore GCC LTO objects
14092 # This assumes that the test object file only shows up
14093 # once in the compiler output.
14094 if test "$p" = "conftest.$objext"; then
14095 pre_test_object_deps_done
=yes
14099 if test "$pre_test_object_deps_done" = no
; then
14100 if test -z "$predep_objects_CXX"; then
14101 predep_objects_CXX
="$p"
14103 predep_objects_CXX
="$predep_objects_CXX $p"
14106 if test -z "$postdep_objects_CXX"; then
14107 postdep_objects_CXX
="$p"
14109 postdep_objects_CXX
="$postdep_objects_CXX $p"
14114 *) ;; # Ignore the rest.
14122 echo "libtool.m4: error: problem compiling CXX test program"
14125 $RM -f confest.
$objext
14126 CFLAGS
=$_lt_libdeps_save_CFLAGS
14128 # PORTME: override above test on systems where it is broken
14131 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14132 # hack all around it, let's just trust "g++" to DTRT.
14133 predep_objects_CXX
=
14134 postdep_objects_CXX
=
14139 case `$CC -V 2>&1 | sed 5q` in
14143 # The more standards-conforming stlport4 library is
14144 # incompatible with the Cstd library. Avoid specifying
14145 # it if it's in CXXFLAGS. Ignore libCrun as
14146 # -library=stlport4 depends on it.
14147 case " $CXX $CXXFLAGS " in
14148 *" -library=stlport4 "*)
14149 solaris_use_stlport4
=yes
14153 if test "$solaris_use_stlport4" != yes; then
14154 postdeps_CXX
='-library=Cstd -library=Crun'
14161 case $cc_basename in
14163 # The more standards-conforming stlport4 library is
14164 # incompatible with the Cstd library. Avoid specifying
14165 # it if it's in CXXFLAGS. Ignore libCrun as
14166 # -library=stlport4 depends on it.
14167 case " $CXX $CXXFLAGS " in
14168 *" -library=stlport4 "*)
14169 solaris_use_stlport4
=yes
14173 # Adding this requires a known-good setup of shared libraries for
14174 # Sun compiler versions before 5.6, else PIC objects from an old
14175 # archive will be linked into the output, leading to subtle bugs.
14176 if test "$solaris_use_stlport4" != yes; then
14177 postdeps_CXX
='-library=Cstd -library=Crun'
14185 case " $postdeps_CXX " in
14186 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14188 compiler_lib_search_dirs_CXX
=
14189 if test -n "${compiler_lib_search_path_CXX}"; then
14190 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14223 lt_prog_compiler_wl_CXX
=
14224 lt_prog_compiler_pic_CXX
=
14225 lt_prog_compiler_static_CXX
=
14228 # C++ specific cases for pic, static, wl, etc.
14229 if test "$GXX" = yes; then
14230 lt_prog_compiler_wl_CXX
='-Wl,'
14231 lt_prog_compiler_static_CXX
='-static'
14235 # All AIX code is PIC.
14236 if test "$host_cpu" = ia64
; then
14237 # AIX 5 now supports IA64 processor
14238 lt_prog_compiler_static_CXX
='-Bstatic'
14245 # see comment about AmigaOS4 .so support
14246 lt_prog_compiler_pic_CXX
='-fPIC'
14249 # FIXME: we need at least 68020 code to build shared libraries, but
14250 # adding the `-m68020' flag to GCC prevents building anything better,
14252 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14257 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14258 # PIC is the default for these OSes.
14260 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14261 # This hack is so that the source file can tell whether it is being
14262 # built for inclusion in a dll (and should export symbols for example).
14263 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14264 # (--disable-auto-import) libraries
14265 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14267 darwin
* | rhapsody
*)
14268 # PIC is the default on this platform
14269 # Common symbols not allowed in MH_DYLIB files
14270 lt_prog_compiler_pic_CXX
='-fno-common'
14273 # DJGPP does not support shared libraries at all
14274 lt_prog_compiler_pic_CXX
=
14277 # PIC is the default for Haiku.
14278 # The "-static" flag exists, but is broken.
14279 lt_prog_compiler_static_CXX
=
14282 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14283 # Instead, we relocate shared libraries at runtime.
14286 if test -d /usr
/nec
; then
14287 lt_prog_compiler_pic_CXX
=-Kconform_pic
14291 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14292 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14293 # sets the default TLS model and affects inlining.
14298 lt_prog_compiler_pic_CXX
='-fPIC'
14303 # QNX uses GNU C++, but need to define -shared option too, otherwise
14304 # it will coredump.
14305 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14308 lt_prog_compiler_pic_CXX
='-fPIC'
14314 # All AIX code is PIC.
14315 if test "$host_cpu" = ia64
; then
14316 # AIX 5 now supports IA64 processor
14317 lt_prog_compiler_static_CXX
='-Bstatic'
14319 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14323 case $cc_basename in
14325 # Green Hills C++ Compiler
14326 # _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"
14330 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14331 # This hack is so that the source file can tell whether it is being
14332 # built for inclusion in a dll (and should export symbols for example).
14333 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14336 case $cc_basename in
14338 lt_prog_compiler_pic_CXX
='-KPIC'
14341 # Green Hills C++ Compiler
14342 lt_prog_compiler_pic_CXX
='-pic'
14348 freebsd
* | dragonfly
*)
14349 # FreeBSD uses GNU C++
14351 hpux9
* | hpux10
* | hpux11
*)
14352 case $cc_basename in
14354 lt_prog_compiler_wl_CXX
='-Wl,'
14355 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14356 if test "$host_cpu" != ia64
; then
14357 lt_prog_compiler_pic_CXX
='+Z'
14361 lt_prog_compiler_wl_CXX
='-Wl,'
14362 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14368 lt_prog_compiler_pic_CXX
='+Z'
14377 # This is c89, which is MS Visual C++ (no shared libs)
14378 # Anyone wants to do a port?
14380 irix5
* | irix6
* | nonstopux
*)
14381 case $cc_basename in
14383 lt_prog_compiler_wl_CXX
='-Wl,'
14384 lt_prog_compiler_static_CXX
='-non_shared'
14385 # CC pic flag -KPIC is the default.
14391 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14392 case $cc_basename in
14395 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14396 lt_prog_compiler_pic_CXX
='-fPIC'
14399 # old Intel C++ for x86_64 which still supported -KPIC.
14400 lt_prog_compiler_wl_CXX
='-Wl,'
14401 lt_prog_compiler_pic_CXX
='-KPIC'
14402 lt_prog_compiler_static_CXX
='-static'
14405 # Intel C++, used to be incompatible with GCC.
14406 # ICC 10 doesn't accept -KPIC any more.
14407 lt_prog_compiler_wl_CXX
='-Wl,'
14408 lt_prog_compiler_pic_CXX
='-fPIC'
14409 lt_prog_compiler_static_CXX
='-static'
14412 # Portland Group C++ compiler
14413 lt_prog_compiler_wl_CXX
='-Wl,'
14414 lt_prog_compiler_pic_CXX
='-fpic'
14415 lt_prog_compiler_static_CXX
='-Bstatic'
14419 # Make sure the PIC flag is empty. It appears that all Alpha
14420 # Linux and Compaq Tru64 Unix objects are PIC.
14421 lt_prog_compiler_pic_CXX
=
14422 lt_prog_compiler_static_CXX
='-non_shared'
14424 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14425 # IBM XL 8.0, 9.0 on PPC and BlueGene
14426 lt_prog_compiler_wl_CXX
='-Wl,'
14427 lt_prog_compiler_pic_CXX
='-qpic'
14428 lt_prog_compiler_static_CXX
='-qstaticlink'
14431 case `$CC -V 2>&1 | sed 5q` in
14434 lt_prog_compiler_pic_CXX
='-KPIC'
14435 lt_prog_compiler_static_CXX
='-Bstatic'
14436 lt_prog_compiler_wl_CXX
='-Qoption ld '
14447 case $cc_basename in
14449 lt_prog_compiler_pic_CXX
='-W c,exportall'
14458 # QNX uses GNU C++, but need to define -shared option too, otherwise
14459 # it will coredump.
14460 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14462 osf3
* | osf4
* | osf5
*)
14463 case $cc_basename in
14465 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14468 # Rational C++ 2.4.1
14469 lt_prog_compiler_pic_CXX
='-pic'
14472 # Digital/Compaq C++
14473 lt_prog_compiler_wl_CXX
='-Wl,'
14474 # Make sure the PIC flag is empty. It appears that all Alpha
14475 # Linux and Compaq Tru64 Unix objects are PIC.
14476 lt_prog_compiler_pic_CXX
=
14477 lt_prog_compiler_static_CXX
='-non_shared'
14486 case $cc_basename in
14488 # Sun C++ 4.2, 5.x and Centerline C++
14489 lt_prog_compiler_pic_CXX
='-KPIC'
14490 lt_prog_compiler_static_CXX
='-Bstatic'
14491 lt_prog_compiler_wl_CXX
='-Qoption ld '
14494 # Green Hills C++ Compiler
14495 lt_prog_compiler_pic_CXX
='-PIC'
14502 case $cc_basename in
14505 lt_prog_compiler_pic_CXX
='-pic'
14506 lt_prog_compiler_static_CXX
='-Bstatic'
14510 lt_prog_compiler_pic_CXX
='-pic'
14516 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14517 case $cc_basename in
14519 lt_prog_compiler_wl_CXX
='-Wl,'
14520 lt_prog_compiler_pic_CXX
='-KPIC'
14521 lt_prog_compiler_static_CXX
='-Bstatic'
14526 case $cc_basename in
14528 # NonStop-UX NCC 3.20
14529 lt_prog_compiler_pic_CXX
='-KPIC'
14538 lt_prog_compiler_can_build_shared_CXX
=no
14544 # For platforms which do not support PIC, -DPIC is meaningless:
14546 lt_prog_compiler_pic_CXX
=
14549 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14554 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14555 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14556 $as_echo_n "(cached) " >&6
14558 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14561 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14562 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14565 # Check to make sure the PIC flag actually works.
14567 if test -n "$lt_prog_compiler_pic_CXX"; then
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14569 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14570 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14571 $as_echo_n "(cached) " >&6
14573 lt_cv_prog_compiler_pic_works_CXX
=no
14574 ac_outfile
=conftest.
$ac_objext
14575 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14576 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14577 # Insert the option either (1) after the last *FLAGS variable, or
14578 # (2) before a word containing "conftest.", or (3) at the end.
14579 # Note that $ac_compile itself does not contain backslashes and begins
14580 # with a dollar sign (not a hyphen), so the echo should work correctly.
14581 # The option is referenced via a variable to avoid confusing sed.
14582 lt_compile
=`echo "$ac_compile" | $SED \
14583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14585 -e 's:$: $lt_compiler_flag:'`
14586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14587 (eval "$lt_compile" 2>conftest.err
)
14589 cat conftest.err
>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 if (exit $ac_status) && test -s "$ac_outfile"; then
14592 # The compiler can only warn and ignore the option if not recognized
14593 # So say no if there are warnings other than the usual output.
14594 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14595 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14596 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14597 lt_cv_prog_compiler_pic_works_CXX
=yes
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14604 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14606 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14607 case $lt_prog_compiler_pic_CXX in
14609 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14612 lt_prog_compiler_pic_CXX
=
14613 lt_prog_compiler_can_build_shared_CXX
=no
14623 # Check to make sure the static flag actually works.
14625 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14627 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14628 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14629 $as_echo_n "(cached) " >&6
14631 lt_cv_prog_compiler_static_works_CXX
=no
14632 save_LDFLAGS
="$LDFLAGS"
14633 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14634 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14635 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14636 # The linker can only warn and ignore the option if not recognized
14637 # So say no if there are warnings
14638 if test -s conftest.err
; then
14639 # Append any errors to the config.log.
14640 cat conftest.err
1>&5
14641 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14642 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14643 if diff conftest.exp conftest.er2
>/dev
/null
; then
14644 lt_cv_prog_compiler_static_works_CXX
=yes
14647 lt_cv_prog_compiler_static_works_CXX
=yes
14651 LDFLAGS
="$save_LDFLAGS"
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14655 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14657 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14660 lt_prog_compiler_static_CXX
=
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14667 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14668 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14669 $as_echo_n "(cached) " >&6
14671 lt_cv_prog_compiler_c_o_CXX
=no
14672 $RM -r conftest
2>/dev
/null
14676 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14678 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14679 # Insert the option either (1) after the last *FLAGS variable, or
14680 # (2) before a word containing "conftest.", or (3) at the end.
14681 # Note that $ac_compile itself does not contain backslashes and begins
14682 # with a dollar sign (not a hyphen), so the echo should work correctly.
14683 lt_compile
=`echo "$ac_compile" | $SED \
14684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14686 -e 's:$: $lt_compiler_flag:'`
14687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14688 (eval "$lt_compile" 2>out
/conftest.err
)
14690 cat out
/conftest.err
>&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14694 # The compiler can only warn and ignore the option if not recognized
14695 # So say no if there are warnings
14696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14697 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14698 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14699 lt_cv_prog_compiler_c_o_CXX
=yes
14704 # SGI C++ compiler will create directory out/ii_files/ for
14705 # template instantiation
14706 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14707 $RM out
/* && rmdir out
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14714 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14719 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14720 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14721 $as_echo_n "(cached) " >&6
14723 lt_cv_prog_compiler_c_o_CXX
=no
14724 $RM -r conftest
2>/dev
/null
14728 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14730 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14731 # Insert the option either (1) after the last *FLAGS variable, or
14732 # (2) before a word containing "conftest.", or (3) at the end.
14733 # Note that $ac_compile itself does not contain backslashes and begins
14734 # with a dollar sign (not a hyphen), so the echo should work correctly.
14735 lt_compile
=`echo "$ac_compile" | $SED \
14736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14738 -e 's:$: $lt_compiler_flag:'`
14739 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14740 (eval "$lt_compile" 2>out
/conftest.err
)
14742 cat out
/conftest.err
>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14746 # The compiler can only warn and ignore the option if not recognized
14747 # So say no if there are warnings
14748 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14749 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14750 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14751 lt_cv_prog_compiler_c_o_CXX
=yes
14756 # SGI C++ compiler will create directory out/ii_files/ for
14757 # template instantiation
14758 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14759 $RM out
/* && rmdir out
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14766 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14771 hard_links
="nottested"
14772 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14773 # do not overwrite the value of need_locks provided by the user
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14775 $as_echo_n "checking if we can lock with hard links... " >&6; }
14778 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14780 ln conftest.a conftest.b
2>&5 || hard_links
=no
14781 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14783 $as_echo "$hard_links" >&6; }
14784 if test "$hard_links" = no
; then
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14786 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14796 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14798 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14799 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14802 # If we're using GNU nm, then we don't want the "-C" option.
14803 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14804 # Also, AIX nm treats weak defined symbols like other global defined
14805 # symbols, whereas GNU nm marks them as "W".
14806 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14807 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'
14809 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'
14813 export_symbols_cmds_CXX
="$ltdll_cmds"
14815 cygwin
* | mingw
* | cegcc
*)
14816 case $cc_basename in
14818 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14821 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'
14822 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14827 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14832 $as_echo "$ld_shlibs_CXX" >&6; }
14833 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14835 with_gnu_ld_CXX
=$with_gnu_ld
14843 # Do we need to explicitly link libc?
14845 case "x$archive_cmds_need_lc_CXX" in
14847 # Assume -lc should be added
14848 archive_cmds_need_lc_CXX
=yes
14850 if test "$enable_shared" = yes && test "$GCC" = yes; then
14851 case $archive_cmds_CXX in
14853 # FIXME: we may have to deal with multi-command sequences.
14856 # Test whether the compiler implicitly links with -lc since on some
14857 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14858 # to ld, don't add -lc before -lgcc.
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14860 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14861 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14862 $as_echo_n "(cached) " >&6
14865 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14867 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14868 (eval $ac_compile) 2>&5
14870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14871 test $ac_status = 0; } 2>conftest.err
; then
14874 libobjs
=conftest.
$ac_objext
14876 wl
=$lt_prog_compiler_wl_CXX
14877 pic_flag
=$lt_prog_compiler_pic_CXX
14883 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14884 allow_undefined_flag_CXX
=
14885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14886 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14889 test $ac_status = 0; }
14891 lt_cv_archive_cmds_need_lc_CXX
=no
14893 lt_cv_archive_cmds_need_lc_CXX
=yes
14895 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14897 cat conftest.err
1>&5
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14903 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14904 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14973 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14975 library_names_spec
=
14976 libname_spec
='lib$name'
14980 postuninstall_cmds
=
14984 shlibpath_overrides_runpath
=unknown
14986 dynamic_linker
="$host_os ld.so"
14987 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14988 need_lib_prefix
=unknown
14989 hardcode_into_libs
=no
14991 # when you set need_version to no, make sure it does not cause -set_version
14992 # flags to be left without arguments
14993 need_version
=unknown
14997 version_type
=linux
# correct to gnu/linux during the next big refactor
14998 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14999 shlibpath_var
=LIBPATH
15001 # AIX 3 has no versioning support, so we append a major version to the name.
15002 soname_spec
='${libname}${release}${shared_ext}$major'
15006 version_type
=linux
# correct to gnu/linux during the next big refactor
15009 hardcode_into_libs
=yes
15010 if test "$host_cpu" = ia64
; then
15011 # AIX 5 supports IA64
15012 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15013 shlibpath_var
=LD_LIBRARY_PATH
15015 # With GCC up to 2.95.x, collect2 would create an import file
15016 # for dependence libraries. The import file would start with
15017 # the line `#! .'. This would cause the generated library to
15018 # depend on `.', always an invalid library. This was fixed in
15019 # development snapshots of GCC prior to 3.0.
15021 aix4
| aix4.
[01] | aix4.
[01].
*)
15022 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15024 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15027 can_build_shared
=no
15031 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15032 # soname into executable. Probably we can add versioning support to
15033 # collect2, so additional links can be useful in future.
15034 if test "$aix_use_runtimelinking" = yes; then
15035 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15036 # instead of lib<name>.a to let people know that these are not
15037 # typical AIX shared libraries.
15038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15040 # We preserve .a as extension for shared libraries through AIX4.2
15041 # and later when we are not doing run time linking.
15042 library_names_spec
='${libname}${release}.a $libname.a'
15043 soname_spec
='${libname}${release}${shared_ext}$major'
15045 shlibpath_var
=LIBPATH
15052 # Since July 2007 AmigaOS4 officially supports .so libraries.
15053 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15057 library_names_spec
='$libname.ixlibrary $libname.a'
15058 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15059 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'
15065 library_names_spec
='${libname}${shared_ext}'
15066 dynamic_linker
="$host_os ld.so"
15067 shlibpath_var
=LIBRARY_PATH
15071 version_type
=linux
# correct to gnu/linux during the next big refactor
15073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15074 soname_spec
='${libname}${release}${shared_ext}$major'
15075 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15076 shlibpath_var
=LD_LIBRARY_PATH
15077 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15078 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15079 # the default ld.so.conf also contains /usr/contrib/lib and
15080 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15081 # libtool to hard-code these into programs
15084 cygwin
* | mingw
* | pw32
* | cegcc
*)
15085 version_type
=windows
15090 case $GCC,$cc_basename in
15093 library_names_spec
='$libname.dll.a'
15094 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15095 postinstall_cmds
='base_file=`basename \${file}`~
15096 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15097 dldir=$destdir/`dirname \$dlpath`~
15098 test -d \$dldir || mkdir -p \$dldir~
15099 $install_prog $dir/$dlname \$dldir/$dlname~
15100 chmod a+x \$dldir/$dlname~
15101 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15102 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15104 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15105 dlpath=$dir/\$dldll~
15107 shlibpath_overrides_runpath
=yes
15111 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15112 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15116 # MinGW DLLs use traditional 'lib' prefix
15117 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15120 # pw32 DLLs use 'pw' prefix rather than 'lib'
15121 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15124 dynamic_linker
='Win32 ld.exe'
15129 libname_spec
='$name'
15130 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15131 library_names_spec
='${libname}.dll.lib'
15135 sys_lib_search_path_spec
=
15138 for lt_path
in $LIB
15141 # Let DOS variable expansion print the short 8.3 style file name.
15142 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15143 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15146 # Convert to MSYS style.
15147 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15150 # Convert to unix form, then to dos form, then back to unix form
15151 # but this time dos style (no spaces!) so that the unix form looks
15152 # like /cygdrive/c/PROGRA~1:/cygdr...
15153 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15154 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15155 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15158 sys_lib_search_path_spec
="$LIB"
15159 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15160 # It is most probably a Windows format PATH.
15161 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15163 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15165 # FIXME: find the short name or the path components, as spaces are
15166 # common. (e.g. "Program Files" -> "PROGRA~1")
15170 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15171 postinstall_cmds
='base_file=`basename \${file}`~
15172 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15173 dldir=$destdir/`dirname \$dlpath`~
15174 test -d \$dldir || mkdir -p \$dldir~
15175 $install_prog $dir/$dlname \$dldir/$dlname'
15176 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15177 dlpath=$dir/\$dldll~
15179 shlibpath_overrides_runpath
=yes
15180 dynamic_linker
='Win32 link.exe'
15184 # Assume MSVC wrapper
15185 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15186 dynamic_linker
='Win32 ld.exe'
15189 # FIXME: first we should search . and the directory the executable is in
15193 darwin
* | rhapsody
*)
15194 dynamic_linker
="$host_os dyld"
15195 version_type
=darwin
15198 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15199 soname_spec
='${libname}${release}${major}$shared_ext'
15200 shlibpath_overrides_runpath
=yes
15201 shlibpath_var
=DYLD_LIBRARY_PATH
15202 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15204 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15208 version_type
=linux
# correct to gnu/linux during the next big refactor
15211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15212 soname_spec
='${libname}${release}${shared_ext}$major'
15213 shlibpath_var
=LD_LIBRARY_PATH
15216 freebsd
* | dragonfly
*)
15217 # DragonFly does not have aout. When/if they implement a new
15218 # versioning mechanism, adjust this.
15219 if test -x /usr
/bin
/objformat
; then
15220 objformat
=`/usr/bin/objformat`
15223 freebsd
[23].
*) objformat
=aout
;;
15224 *) objformat
=elf
;;
15227 version_type
=freebsd
-$objformat
15228 case $version_type in
15230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15235 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15239 shlibpath_var
=LD_LIBRARY_PATH
15242 shlibpath_overrides_runpath
=yes
15244 freebsd3.
[01]* | freebsdelf3.
[01]*)
15245 shlibpath_overrides_runpath
=yes
15246 hardcode_into_libs
=yes
15248 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15249 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15250 shlibpath_overrides_runpath
=no
15251 hardcode_into_libs
=yes
15253 *) # from 4.6 on, and DragonFly
15254 shlibpath_overrides_runpath
=yes
15255 hardcode_into_libs
=yes
15261 version_type
=linux
# correct to gnu/linux during the next big refactor
15264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15265 soname_spec
='${libname}${release}${shared_ext}$major'
15266 shlibpath_var
=LD_LIBRARY_PATH
15267 shlibpath_overrides_runpath
=no
15268 hardcode_into_libs
=yes
15272 version_type
=linux
# correct to gnu/linux during the next big refactor
15275 dynamic_linker
="$host_os runtime_loader"
15276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15277 soname_spec
='${libname}${release}${shared_ext}$major'
15278 shlibpath_var
=LIBRARY_PATH
15279 shlibpath_overrides_runpath
=yes
15280 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15281 hardcode_into_libs
=yes
15284 hpux9
* | hpux10
* | hpux11
*)
15285 # Give a soname corresponding to the major version so that dld.sl refuses to
15286 # link against other versions.
15293 hardcode_into_libs
=yes
15294 dynamic_linker
="$host_os dld.so"
15295 shlibpath_var
=LD_LIBRARY_PATH
15296 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15298 soname_spec
='${libname}${release}${shared_ext}$major'
15299 if test "X$HPUX_IA64_MODE" = X32
; then
15300 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15302 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15304 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15308 hardcode_into_libs
=yes
15309 dynamic_linker
="$host_os dld.sl"
15310 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15311 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15313 soname_spec
='${libname}${release}${shared_ext}$major'
15314 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15315 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15319 dynamic_linker
="$host_os dld.sl"
15320 shlibpath_var
=SHLIB_PATH
15321 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15323 soname_spec
='${libname}${release}${shared_ext}$major'
15326 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15327 postinstall_cmds
='chmod 555 $lib'
15328 # or fails outright, so override atomically:
15329 install_override_mode
=555
15333 version_type
=linux
# correct to gnu/linux during the next big refactor
15336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15337 soname_spec
='${libname}${release}${shared_ext}$major'
15338 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15339 shlibpath_var
=LD_LIBRARY_PATH
15340 shlibpath_overrides_runpath
=no
15341 hardcode_into_libs
=yes
15344 irix5
* | irix6
* | nonstopux
*)
15346 nonstopux
*) version_type
=nonstopux
;;
15348 if test "$lt_cv_prog_gnu_ld" = yes; then
15349 version_type
=linux
# correct to gnu/linux during the next big refactor
15356 soname_spec
='${libname}${release}${shared_ext}$major'
15357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15359 irix5
* | nonstopux
*)
15360 libsuff
= shlibsuff
=
15363 case $LD in # libtool.m4 will add one of these switches to LD
15364 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15365 libsuff
= shlibsuff
= libmagic
=32-bit;;
15366 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15367 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15368 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15369 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15370 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15374 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15375 shlibpath_overrides_runpath
=no
15376 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15377 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15378 hardcode_into_libs
=yes
15381 # No shared lib support for Linux oldld, aout, or coff.
15382 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15386 # This must be glibc/ELF.
15387 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15388 version_type
=linux
# correct to gnu/linux during the next big refactor
15391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15392 soname_spec
='${libname}${release}${shared_ext}$major'
15393 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15394 shlibpath_var
=LD_LIBRARY_PATH
15395 shlibpath_overrides_runpath
=no
15397 # Some binutils ld are patched to set DT_RUNPATH
15398 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15399 $as_echo_n "(cached) " >&6
15401 lt_cv_shlibpath_overrides_runpath
=no
15402 save_LDFLAGS
=$LDFLAGS
15403 save_libdir
=$libdir
15404 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15405 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15417 if ac_fn_cxx_try_link
"$LINENO"; then :
15418 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15419 lt_cv_shlibpath_overrides_runpath
=yes
15422 rm -f core conftest.err conftest.
$ac_objext \
15423 conftest
$ac_exeext conftest.
$ac_ext
15424 LDFLAGS
=$save_LDFLAGS
15425 libdir
=$save_libdir
15429 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15431 # This implies no fast_install, which is unacceptable.
15432 # Some rework will be needed to allow for fast_install
15433 # before this can be enabled.
15434 hardcode_into_libs
=yes
15436 # Append ld.so.conf contents to the search path
15437 if test -f /etc
/ld.so.conf
; then
15438 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' ' '`
15439 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15442 # We used to test for /lib/ld.so.1 and disable shared libraries on
15443 # powerpc, because MkLinux only supported shared libraries with the
15444 # GNU dynamic linker. Since this was broken with cross compilers,
15445 # most powerpc-linux boxes support dynamic linking these days and
15446 # people can always --disable-shared, the test was removed, and we
15447 # assume the GNU/Linux dynamic linker is in use.
15448 dynamic_linker
='GNU/Linux ld.so'
15455 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15457 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15458 dynamic_linker
='NetBSD (a.out) ld.so'
15460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15461 soname_spec
='${libname}${release}${shared_ext}$major'
15462 dynamic_linker
='NetBSD ld.elf_so'
15464 shlibpath_var
=LD_LIBRARY_PATH
15465 shlibpath_overrides_runpath
=yes
15466 hardcode_into_libs
=yes
15470 version_type
=linux
# correct to gnu/linux during the next big refactor
15471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15472 shlibpath_var
=LD_LIBRARY_PATH
15473 shlibpath_overrides_runpath
=yes
15480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15481 soname_spec
='${libname}${release}${shared_ext}$major'
15482 shlibpath_var
=LD_LIBRARY_PATH
15483 shlibpath_overrides_runpath
=no
15484 hardcode_into_libs
=yes
15485 dynamic_linker
='ldqnx.so'
15490 sys_lib_dlsearch_path_spec
="/usr/lib"
15492 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15494 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15495 *) need_version
=no
;;
15497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15498 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15499 shlibpath_var
=LD_LIBRARY_PATH
15500 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15502 openbsd2.
[89] | openbsd2.
[89].
*)
15503 shlibpath_overrides_runpath
=no
15506 shlibpath_overrides_runpath
=yes
15510 shlibpath_overrides_runpath
=yes
15515 libname_spec
='$name'
15518 library_names_spec
='$libname${shared_ext} $libname.a'
15519 dynamic_linker
='OS/2 ld.exe'
15520 shlibpath_var
=LIBPATH
15523 osf3
* | osf4
* | osf5
*)
15527 soname_spec
='${libname}${release}${shared_ext}$major'
15528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15529 shlibpath_var
=LD_LIBRARY_PATH
15530 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15531 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15539 version_type
=linux
# correct to gnu/linux during the next big refactor
15542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15543 soname_spec
='${libname}${release}${shared_ext}$major'
15544 shlibpath_var
=LD_LIBRARY_PATH
15545 shlibpath_overrides_runpath
=yes
15546 hardcode_into_libs
=yes
15547 # ldd complains unless libraries are executable
15548 postinstall_cmds
='chmod +x $lib'
15553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15554 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15555 shlibpath_var
=LD_LIBRARY_PATH
15556 shlibpath_overrides_runpath
=yes
15557 if test "$with_gnu_ld" = yes; then
15564 version_type
=linux
# correct to gnu/linux during the next big refactor
15565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15566 soname_spec
='${libname}${release}${shared_ext}$major'
15567 shlibpath_var
=LD_LIBRARY_PATH
15568 case $host_vendor in
15570 shlibpath_overrides_runpath
=no
15572 runpath_var
=LD_RUN_PATH
15580 shlibpath_overrides_runpath
=no
15581 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15587 if test -d /usr
/nec
;then
15588 version_type
=linux
# correct to gnu/linux during the next big refactor
15589 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15590 soname_spec
='$libname${shared_ext}.$major'
15591 shlibpath_var
=LD_LIBRARY_PATH
15595 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15596 version_type
=freebsd
-elf
15599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15600 soname_spec
='${libname}${release}${shared_ext}$major'
15601 shlibpath_var
=LD_LIBRARY_PATH
15602 shlibpath_overrides_runpath
=yes
15603 hardcode_into_libs
=yes
15604 if test "$with_gnu_ld" = yes; then
15605 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15607 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15610 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15614 sys_lib_dlsearch_path_spec
='/usr/lib'
15618 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15619 version_type
=linux
# correct to gnu/linux during the next big refactor
15622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15623 shlibpath_var
=LD_LIBRARY_PATH
15624 shlibpath_overrides_runpath
=no
15625 hardcode_into_libs
=yes
15629 version_type
=linux
# correct to gnu/linux during the next big refactor
15630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15631 soname_spec
='${libname}${release}${shared_ext}$major'
15632 shlibpath_var
=LD_LIBRARY_PATH
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15640 $as_echo "$dynamic_linker" >&6; }
15641 test "$dynamic_linker" = no
&& can_build_shared
=no
15643 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15644 if test "$GCC" = yes; then
15645 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15648 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15649 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15651 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15652 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15693 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15694 hardcode_action_CXX
=
15695 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15696 test -n "$runpath_var_CXX" ||
15697 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15699 # We can hardcode non-existent directories.
15700 if test "$hardcode_direct_CXX" != no
&&
15701 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15702 # have to relink, otherwise we might link with an installed library
15703 # when we should be linking with a yet-to-be-installed one
15704 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15705 test "$hardcode_minus_L_CXX" != no
; then
15706 # Linking always hardcodes the temporary library directory.
15707 hardcode_action_CXX
=relink
15709 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15710 hardcode_action_CXX
=immediate
15713 # We cannot hardcode anything, or else we can only hardcode existing
15715 hardcode_action_CXX
=unsupported
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15718 $as_echo "$hardcode_action_CXX" >&6; }
15720 if test "$hardcode_action_CXX" = relink
||
15721 test "$inherit_rpath_CXX" = yes; then
15722 # Fast installation is not supported
15723 enable_fast_install
=no
15724 elif test "$shlibpath_overrides_runpath" = yes ||
15725 test "$enable_shared" = no
; then
15726 # Fast installation is not necessary
15727 enable_fast_install
=needless
15736 fi # test -n "$compiler"
15739 CFLAGS
=$lt_save_CFLAGS
15743 with_gnu_ld
=$lt_save_with_gnu_ld
15744 lt_cv_path_LDCXX
=$lt_cv_path_LD
15745 lt_cv_path_LD
=$lt_save_path_LD
15746 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15747 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15748 fi # test "$_lt_caught_CXX_error" != yes
15751 ac_cpp
='$CPP $CPPFLAGS'
15752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15770 ac_config_commands
="$ac_config_commands libtool"
15775 # Only expand once:
15780 ac_cpp
='$CXXCPP $CPPFLAGS'
15781 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15782 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15783 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15792 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15793 if test -n "$ac_tool_prefix"; then
15794 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15795 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15797 $as_echo_n "checking for $ac_word... " >&6; }
15798 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15799 $as_echo_n "(cached) " >&6
15801 case $PKG_CONFIG in
15803 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15807 for as_dir
in $PATH
15810 test -z "$as_dir" && as_dir
=.
15811 for ac_exec_ext
in '' $ac_executable_extensions; do
15812 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15813 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15824 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15825 if test -n "$PKG_CONFIG"; then
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15827 $as_echo "$PKG_CONFIG" >&6; }
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15830 $as_echo "no" >&6; }
15835 if test -z "$ac_cv_path_PKG_CONFIG"; then
15836 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15837 # Extract the first word of "pkg-config", so it can be a program name with args.
15838 set dummy pkg
-config; ac_word
=$2
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15840 $as_echo_n "checking for $ac_word... " >&6; }
15841 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15842 $as_echo_n "(cached) " >&6
15844 case $ac_pt_PKG_CONFIG in
15846 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15850 for as_dir
in $PATH
15853 test -z "$as_dir" && as_dir
=.
15854 for ac_exec_ext
in '' $ac_executable_extensions; do
15855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15856 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15867 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15868 if test -n "$ac_pt_PKG_CONFIG"; then
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15870 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15873 $as_echo "no" >&6; }
15876 if test "x$ac_pt_PKG_CONFIG" = x
; then
15879 case $cross_compiling:$ac_tool_warned in
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15883 ac_tool_warned
=yes ;;
15885 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15888 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15892 if test -n "$PKG_CONFIG"; then
15893 _pkg_min_version
=0.22
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15895 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15896 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15898 $as_echo "yes" >&6; }
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15901 $as_echo "no" >&6; }
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
15907 $as_echo_n "checking for GNU make... " >&6; }
15908 if ${_cv_gnu_make_command+:} false
; then :
15909 $as_echo_n "(cached) " >&6
15911 _cv_gnu_make_command
='' ;
15912 for a
in "$MAKE" make gmake gnumake
; do
15913 if test -z "$a" ; then continue ; fi ;
15914 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
15915 _cv_gnu_make_command
=$a ;
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
15922 $as_echo "$_cv_gnu_make_command" >&6; } ;
15923 if test "x$_cv_gnu_make_command" != "x" ; then
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
15928 $as_echo "\"Not found\"" >&6; };
15932 GMAKE
=$_cv_gnu_make_command
15934 if test "x$GMAKE" = x
; then :
15935 as_fn_error $?
"You need GNU make" "$LINENO" 5
15938 # Extract the first word of "bash", so it can be a program name with args.
15939 set dummy bash
; ac_word
=$2
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15941 $as_echo_n "checking for $ac_word... " >&6; }
15942 if ${ac_cv_path__BASH+:} false
; then :
15943 $as_echo_n "(cached) " >&6
15947 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
15950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15951 for as_dir
in $PATH
15954 test -z "$as_dir" && as_dir
=.
15955 for ac_exec_ext
in '' $ac_executable_extensions; do
15956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15957 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
15958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15965 test -z "$ac_cv_path__BASH" && ac_cv_path__BASH
="as_fn_error $? "missing
\"bash
\"" "$LINENO" 5"
15969 _BASH
=$ac_cv_path__BASH
15970 if test -n "$_BASH"; then
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
15972 $as_echo "$_BASH" >&6; }
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15975 $as_echo "no" >&6; }
15979 # Extract the first word of "git", so it can be a program name with args.
15980 set dummy git
; ac_word
=$2
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15982 $as_echo_n "checking for $ac_word... " >&6; }
15983 if ${ac_cv_path_GIT+:} false
; then :
15984 $as_echo_n "(cached) " >&6
15988 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
15991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15992 for as_dir
in $PATH
15995 test -z "$as_dir" && as_dir
=.
15996 for ac_exec_ext
in '' $ac_executable_extensions; do
15997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15998 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
15999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16009 GIT
=$ac_cv_path_GIT
16010 if test -n "$GIT"; then
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16012 $as_echo "$GIT" >&6; }
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16015 $as_echo "no" >&6; }
16019 # Extract the first word of "time", so it can be a program name with args.
16020 set dummy
time; ac_word
=$2
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16022 $as_echo_n "checking for $ac_word... " >&6; }
16023 if ${ac_cv_path_TIME+:} false
; then :
16024 $as_echo_n "(cached) " >&6
16028 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16032 for as_dir
in $PATH
16035 test -z "$as_dir" && as_dir
=.
16036 for ac_exec_ext
in '' $ac_executable_extensions; do
16037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16038 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16049 TIME
=$ac_cv_path_TIME
16050 if test -n "$TIME"; then
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16052 $as_echo "$TIME" >&6; }
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16055 $as_echo "no" >&6; }
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16065 $as_echo_n "checking for bison >= 2.3... " >&6; }
16066 if test -z "$BISON"; then
16067 ac_path_BISON_found
=false
16068 # Loop through the user's path and test for each of PROGNAME-LIST
16069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16070 for as_dir
in $PATH
16073 test -z "$as_dir" && as_dir
=.
16074 for ac_prog
in bison
; do
16075 for ac_exec_ext
in '' $ac_executable_extensions; do
16076 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16077 as_fn_executable_p
"$ac_path_BISON" || continue
16078 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16079 if ${version:+false} :; then :
16082 as_awk_strverscmp
='
16083 # Use only awk features that work with 7th edition Unix awk (1978).
16084 # My, what an old awk you have, Mr. Solaris!
16086 while (length(v1) && length(v2)) {
16087 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16088 # Normally this is a single character, but if v1 and v2 contain digits,
16089 # compare them as integers and fractions as strverscmp does.
16090 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16091 # Split v1 and v2 into their leading digit string components d1 and d2,
16092 # and advance v1 and v2 past the leading digit strings.
16093 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16094 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16095 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16096 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16099 # Compare two fractions.
16100 while (d1 ~ /^0/ && d2 ~ /^0/) {
16101 d1 = substr(d1, 2); len1--
16102 d2 = substr(d2, 2); len2--
16104 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16105 # The two components differ in length, and the common prefix
16106 # contains only leading zeros. Consider the longer to be less.
16110 # Otherwise, compare as strings.
16115 # A fraction is less than an integer.
16120 # An integer is greater than a fraction.
16123 # Compare two integers.
16129 # The normal case, without worrying about digits.
16130 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16131 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16133 if (d1 < d2) exit 1
16134 if (d1 > d2) exit 2
16136 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16137 # which mishandles some comparisons of empty strings to integers.
16138 if (length(v2)) exit 1
16139 if (length(v1)) exit 2
16144 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16149 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16151 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16157 $ac_path_BISON_found && break 3
16162 if test -z "$ac_cv_path_BISON"; then
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16164 $as_echo "no" >&6; }
16167 ac_cv_path_BISON
=$BISON
16173 BISON
=$ac_cv_path_BISON
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16176 $as_echo "$BISON" >&6; }
16181 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16188 $as_echo "no" >&6; }
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16197 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16198 if test -z "$FLEX"; then
16199 ac_path_FLEX_found
=false
16200 # Loop through the user's path and test for each of PROGNAME-LIST
16201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16202 for as_dir
in $PATH
16205 test -z "$as_dir" && as_dir
=.
16206 for ac_prog
in flex
; do
16207 for ac_exec_ext
in '' $ac_executable_extensions; do
16208 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16209 as_fn_executable_p
"$ac_path_FLEX" || continue
16210 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16211 if ${version:+false} :; then :
16216 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16221 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16223 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16229 $ac_path_FLEX_found && break 3
16234 if test -z "$ac_cv_path_FLEX"; then
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16236 $as_echo "no" >&6; }
16239 ac_cv_path_FLEX
=$FLEX
16245 FLEX
=$ac_cv_path_FLEX
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16248 $as_echo "$FLEX" >&6; }
16253 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16260 $as_echo "no" >&6; }
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16269 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16270 if test -z "$GPERF"; then
16271 ac_path_GPERF_found
=false
16272 # Loop through the user's path and test for each of PROGNAME-LIST
16273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16274 for as_dir
in $PATH
16277 test -z "$as_dir" && as_dir
=.
16278 for ac_prog
in gperf
; do
16279 for ac_exec_ext
in '' $ac_executable_extensions; do
16280 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16281 as_fn_executable_p
"$ac_path_GPERF" || continue
16282 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16283 if ${version:+false} :; then :
16288 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16293 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16295 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16301 $ac_path_GPERF_found && break 3
16306 if test -z "$ac_cv_path_GPERF"; then
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16308 $as_echo "no" >&6; }
16311 ac_cv_path_GPERF
=$GPERF
16317 GPERF
=$ac_cv_path_GPERF
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16320 $as_echo "$GPERF" >&6; }
16325 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16332 $as_echo "no" >&6; }
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16341 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16342 if test -z "$GNUTAR"; then
16343 ac_path_GNUTAR_found
=false
16344 # Loop through the user's path and test for each of PROGNAME-LIST
16345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16346 for as_dir
in $PATH
16349 test -z "$as_dir" && as_dir
=.
16350 for ac_prog
in tar gtar gnutar
; do
16351 for ac_exec_ext
in '' $ac_executable_extensions; do
16352 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16353 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16354 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16355 if ${version:+false} :; then :
16360 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16365 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16367 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16373 $ac_path_GNUTAR_found && break 3
16378 if test -z "$ac_cv_path_GNUTAR"; then
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16380 $as_echo "no" >&6; }
16383 ac_cv_path_GNUTAR
=$GNUTAR
16389 GNUTAR
=$ac_cv_path_GNUTAR
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16392 $as_echo "$GNUTAR" >&6; }
16397 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16404 $as_echo "no" >&6; }
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16411 $as_echo_n "checking bison for %code{}... " >&6; }
16412 echo '%code{}%%_:' >conftest.y
16413 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16415 for element
in Bison24
; do
16417 for x
in $CY_FILTERS; do
16419 acl_save_prefix
="$prefix"
16420 prefix
="$acl_final_prefix"
16421 acl_save_exec_prefix
="$exec_prefix"
16422 exec_prefix
="$acl_final_exec_prefix"
16424 exec_prefix
="$acl_save_exec_prefix"
16425 prefix
="$acl_save_prefix"
16427 if test "X$x" = "X$element"; then
16432 if test -z "$haveit"; then
16433 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16438 $as_echo "yes" >&6; }
16441 for element
in Bison23
; do
16443 for x
in $CY_FILTERS; do
16445 acl_save_prefix
="$prefix"
16446 prefix
="$acl_final_prefix"
16447 acl_save_exec_prefix
="$exec_prefix"
16448 exec_prefix
="$acl_final_exec_prefix"
16450 exec_prefix
="$acl_save_exec_prefix"
16451 prefix
="$acl_save_prefix"
16453 if test "X$x" = "X$element"; then
16458 if test -z "$haveit"; then
16459 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16464 $as_echo "no" >&6; }
16478 if ${CFLAGS+:} false
; then :
16479 case " $CFLAGS " in
16481 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16482 (: CFLAGS already contains
) 2>&5
16484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16485 test $ac_status = 0; }
16488 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16489 (: CFLAGS
="$CFLAGS ") 2>&5
16491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16492 test $ac_status = 0; }
16501 ac_cpp
='$CPP $CPPFLAGS'
16502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16507 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16508 if ${ac_cv_cflags_warn_all+:} false
; then :
16509 $as_echo_n "(cached) " >&6
16511 ac_cv_cflags_warn_all
="no, unknown"
16512 ac_save_CFLAGS
="$CFLAGS"
16513 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" #
16514 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16516 /* end confdefs.h. */
16526 if ac_fn_c_try_compile
"$LINENO"; then :
16527 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16531 CFLAGS
="$ac_save_CFLAGS"
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16535 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16537 case ".$ac_cv_cflags_warn_all" in
16540 *) if ${CFLAGS+:} false
; then :
16541 case " $CFLAGS " in
16542 *" $ac_cv_cflags_warn_all "*)
16543 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16544 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16547 test $ac_status = 0; }
16550 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16551 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16554 test $ac_status = 0; }
16555 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16559 CFLAGS
="$ac_cv_cflags_warn_all"
16565 ac_cpp
='$CXXCPP $CPPFLAGS'
16566 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16567 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16568 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16572 ac_cpp
='$CXXCPP $CPPFLAGS'
16573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16578 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16579 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16580 $as_echo_n "(cached) " >&6
16582 ac_cv_cxxflags_warn_all
="no, unknown"
16583 ac_save_CXXFLAGS
="$CXXFLAGS"
16584 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" #
16585 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16587 /* end confdefs.h. */
16597 if ac_fn_cxx_try_compile
"$LINENO"; then :
16598 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16602 CXXFLAGS
="$ac_save_CXXFLAGS"
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16606 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16608 case ".$ac_cv_cxxflags_warn_all" in
16611 *) if ${CXXFLAGS+:} false
; then :
16612 case " $CXXFLAGS " in
16613 *" $ac_cv_cxxflags_warn_all "*)
16614 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16615 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16618 test $ac_status = 0; }
16621 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16622 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16625 test $ac_status = 0; }
16626 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16630 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16636 ac_cpp
='$CXXCPP $CPPFLAGS'
16637 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16638 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16639 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-overloaded-virtual" >&5
16645 $as_echo_n "checking for -Wno-overloaded-virtual... " >&6; }
16649 for element
in -Wno-overloaded-virtual; do
16651 for x
in $CXXFLAGS; do
16653 acl_save_prefix
="$prefix"
16654 prefix
="$acl_final_prefix"
16655 acl_save_exec_prefix
="$exec_prefix"
16656 exec_prefix
="$acl_final_exec_prefix"
16658 exec_prefix
="$acl_save_exec_prefix"
16659 prefix
="$acl_save_prefix"
16661 if test "X$x" = "X$element"; then
16666 if test -z "$haveit"; then
16667 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16676 if ac_fn_cxx_try_compile
"$LINENO"; then :
16681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16684 if test "x$cy_good" = x1
; then :
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16686 $as_echo "yes" >&6; }
16689 for element
in -Wno-overloaded-virtual; do
16691 for x
in $CFLAGS; do
16693 acl_save_prefix
="$prefix"
16694 prefix
="$acl_final_prefix"
16695 acl_save_exec_prefix
="$exec_prefix"
16696 exec_prefix
="$acl_final_exec_prefix"
16698 exec_prefix
="$acl_save_exec_prefix"
16699 prefix
="$acl_save_prefix"
16701 if test "X$x" = "X$element"; then
16706 if test -z "$haveit"; then
16707 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16712 for element
in -Wno-overloaded-virtual; do
16714 for x
in $CXXFLAGS; do
16716 acl_save_prefix
="$prefix"
16717 prefix
="$acl_final_prefix"
16718 acl_save_exec_prefix
="$exec_prefix"
16719 exec_prefix
="$acl_final_exec_prefix"
16721 exec_prefix
="$acl_save_exec_prefix"
16722 prefix
="$acl_save_prefix"
16724 if test "X$x" = "X$element"; then
16729 if test -z "$haveit"; then
16730 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16735 for element
in -Wno-overloaded-virtual; do
16737 for x
in $OBJCCXXFLAGS; do
16739 acl_save_prefix
="$prefix"
16740 prefix
="$acl_final_prefix"
16741 acl_save_exec_prefix
="$exec_prefix"
16742 exec_prefix
="$acl_final_exec_prefix"
16744 exec_prefix
="$acl_save_exec_prefix"
16745 prefix
="$acl_save_prefix"
16747 if test "X$x" = "X$element"; then
16752 if test -z "$haveit"; then
16753 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16761 $as_echo "no" >&6; }
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-parentheses" >&5
16767 $as_echo_n "checking for -Wno-parentheses... " >&6; }
16771 for element
in -Wno-parentheses; do
16773 for x
in $CXXFLAGS; do
16775 acl_save_prefix
="$prefix"
16776 prefix
="$acl_final_prefix"
16777 acl_save_exec_prefix
="$exec_prefix"
16778 exec_prefix
="$acl_final_exec_prefix"
16780 exec_prefix
="$acl_save_exec_prefix"
16781 prefix
="$acl_save_prefix"
16783 if test "X$x" = "X$element"; then
16788 if test -z "$haveit"; then
16789 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16795 /* end confdefs.h. */
16798 if ac_fn_cxx_try_compile
"$LINENO"; then :
16803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16806 if test "x$cy_good" = x1
; then :
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16808 $as_echo "yes" >&6; }
16811 for element
in -Wno-parentheses; do
16813 for x
in $CFLAGS; do
16815 acl_save_prefix
="$prefix"
16816 prefix
="$acl_final_prefix"
16817 acl_save_exec_prefix
="$exec_prefix"
16818 exec_prefix
="$acl_final_exec_prefix"
16820 exec_prefix
="$acl_save_exec_prefix"
16821 prefix
="$acl_save_prefix"
16823 if test "X$x" = "X$element"; then
16828 if test -z "$haveit"; then
16829 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16834 for element
in -Wno-parentheses; do
16836 for x
in $CXXFLAGS; do
16838 acl_save_prefix
="$prefix"
16839 prefix
="$acl_final_prefix"
16840 acl_save_exec_prefix
="$exec_prefix"
16841 exec_prefix
="$acl_final_exec_prefix"
16843 exec_prefix
="$acl_save_exec_prefix"
16844 prefix
="$acl_save_prefix"
16846 if test "X$x" = "X$element"; then
16851 if test -z "$haveit"; then
16852 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16857 for element
in -Wno-parentheses; do
16859 for x
in $OBJCCXXFLAGS; do
16861 acl_save_prefix
="$prefix"
16862 prefix
="$acl_final_prefix"
16863 acl_save_exec_prefix
="$exec_prefix"
16864 exec_prefix
="$acl_final_exec_prefix"
16866 exec_prefix
="$acl_save_exec_prefix"
16867 prefix
="$acl_save_prefix"
16869 if test "X$x" = "X$element"; then
16874 if test -z "$haveit"; then
16875 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16883 $as_echo "no" >&6; }
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-unneeded-internal-declaration" >&5
16889 $as_echo_n "checking for -Wno-unneeded-internal-declaration... " >&6; }
16893 for element
in -Wno-unneeded-internal-declaration; do
16895 for x
in $CXXFLAGS; do
16897 acl_save_prefix
="$prefix"
16898 prefix
="$acl_final_prefix"
16899 acl_save_exec_prefix
="$exec_prefix"
16900 exec_prefix
="$acl_final_exec_prefix"
16902 exec_prefix
="$acl_save_exec_prefix"
16903 prefix
="$acl_save_prefix"
16905 if test "X$x" = "X$element"; then
16910 if test -z "$haveit"; then
16911 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16917 /* end confdefs.h. */
16920 if ac_fn_cxx_try_compile
"$LINENO"; then :
16925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16928 if test "x$cy_good" = x1
; then :
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16930 $as_echo "yes" >&6; }
16933 for element
in -Wno-unneeded-internal-declaration; do
16935 for x
in $CFLAGS; do
16937 acl_save_prefix
="$prefix"
16938 prefix
="$acl_final_prefix"
16939 acl_save_exec_prefix
="$exec_prefix"
16940 exec_prefix
="$acl_final_exec_prefix"
16942 exec_prefix
="$acl_save_exec_prefix"
16943 prefix
="$acl_save_prefix"
16945 if test "X$x" = "X$element"; then
16950 if test -z "$haveit"; then
16951 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16956 for element
in -Wno-unneeded-internal-declaration; do
16958 for x
in $CXXFLAGS; do
16960 acl_save_prefix
="$prefix"
16961 prefix
="$acl_final_prefix"
16962 acl_save_exec_prefix
="$exec_prefix"
16963 exec_prefix
="$acl_final_exec_prefix"
16965 exec_prefix
="$acl_save_exec_prefix"
16966 prefix
="$acl_save_prefix"
16968 if test "X$x" = "X$element"; then
16973 if test -z "$haveit"; then
16974 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16979 for element
in -Wno-unneeded-internal-declaration; do
16981 for x
in $OBJCCXXFLAGS; do
16983 acl_save_prefix
="$prefix"
16984 prefix
="$acl_final_prefix"
16985 acl_save_exec_prefix
="$exec_prefix"
16986 exec_prefix
="$acl_final_exec_prefix"
16988 exec_prefix
="$acl_save_exec_prefix"
16989 prefix
="$acl_save_prefix"
16991 if test "X$x" = "X$element"; then
16996 if test -z "$haveit"; then
16997 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17005 $as_echo "no" >&6; }
17010 for cy_arch
in ppc ppc64 i386 x86_64 armv6
; do
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
17012 $as_echo_n "checking for -arch $cy_arch... " >&6; }
17016 for element
in "-arch $cy_arch"; do
17018 for x
in $CXXFLAGS; do
17020 acl_save_prefix
="$prefix"
17021 prefix
="$acl_final_prefix"
17022 acl_save_exec_prefix
="$exec_prefix"
17023 exec_prefix
="$acl_final_exec_prefix"
17025 exec_prefix
="$acl_save_exec_prefix"
17026 prefix
="$acl_save_prefix"
17028 if test "X$x" = "X$element"; then
17033 if test -z "$haveit"; then
17034 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17050 if ac_fn_cxx_try_link
"$LINENO"; then :
17055 rm -f core conftest.err conftest.
$ac_objext \
17056 conftest
$ac_exeext conftest.
$ac_ext
17059 if test "x$cy_good" = x1
; then :
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17061 $as_echo "yes" >&6; }
17063 for element
in "-arch $cy_arch"; do
17065 for x
in $CY_ARCH; do
17067 acl_save_prefix
="$prefix"
17068 prefix
="$acl_final_prefix"
17069 acl_save_exec_prefix
="$exec_prefix"
17070 exec_prefix
="$acl_final_exec_prefix"
17072 exec_prefix
="$acl_save_exec_prefix"
17073 prefix
="$acl_save_prefix"
17075 if test "X$x" = "X$element"; then
17080 if test -z "$haveit"; then
17081 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17088 $as_echo "no" >&6; }
17095 # Check whether --with-frameworks was given.
17096 if test "${with_frameworks+set}" = set; then :
17097 withval
=$with_frameworks;
17098 for cy_framework
in $withval; do
17101 for element
in -F$cy_framework; do
17103 for x
in $CFLAGS; do
17105 acl_save_prefix
="$prefix"
17106 prefix
="$acl_final_prefix"
17107 acl_save_exec_prefix
="$exec_prefix"
17108 exec_prefix
="$acl_final_exec_prefix"
17110 exec_prefix
="$acl_save_exec_prefix"
17111 prefix
="$acl_save_prefix"
17113 if test "X$x" = "X$element"; then
17118 if test -z "$haveit"; then
17119 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17124 for element
in -F$cy_framework; do
17126 for x
in $CXXFLAGS; do
17128 acl_save_prefix
="$prefix"
17129 prefix
="$acl_final_prefix"
17130 acl_save_exec_prefix
="$exec_prefix"
17131 exec_prefix
="$acl_final_exec_prefix"
17133 exec_prefix
="$acl_save_exec_prefix"
17134 prefix
="$acl_save_prefix"
17136 if test "X$x" = "X$element"; then
17141 if test -z "$haveit"; then
17142 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17147 for element
in -F$cy_framework; do
17149 for x
in $OBJCCXXFLAGS; do
17151 acl_save_prefix
="$prefix"
17152 prefix
="$acl_final_prefix"
17153 acl_save_exec_prefix
="$exec_prefix"
17154 exec_prefix
="$acl_final_exec_prefix"
17156 exec_prefix
="$acl_save_exec_prefix"
17157 prefix
="$acl_save_prefix"
17159 if test "X$x" = "X$element"; then
17164 if test -z "$haveit"; then
17165 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
17177 # Check whether --enable-javascript was given.
17178 if test "${enable_javascript+set}" = set; then :
17179 enableval
=$enable_javascript;
17180 case $enableval in #(
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17188 $as_echo_n "checking for WEBKIT... " >&6; }
17190 if test -n "$WEBKIT_CFLAGS"; then
17191 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17192 elif test -n "$PKG_CONFIG"; then
17193 if test -n "$PKG_CONFIG" && \
17194 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17195 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17198 test $ac_status = 0; }; then
17199 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
17206 if test -n "$WEBKIT_LIBS"; then
17207 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17208 elif test -n "$PKG_CONFIG"; then
17209 if test -n "$PKG_CONFIG" && \
17210 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17211 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17214 test $ac_status = 0; }; then
17215 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
17225 if test $pkg_failed = yes; then
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17227 $as_echo "no" >&6; }
17229 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17230 _pkg_short_errors_supported
=yes
17232 _pkg_short_errors_supported
=no
17234 if test $_pkg_short_errors_supported = yes; then
17235 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
17237 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
17239 # Put the nasty error message in config.log where it belongs
17240 echo "$WEBKIT_PKG_ERRORS" >&5
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17246 $as_echo_n "checking for WEBKIT... " >&6; }
17248 if test -n "$WEBKIT_CFLAGS"; then
17249 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17250 elif test -n "$PKG_CONFIG"; then
17251 if test -n "$PKG_CONFIG" && \
17252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17253 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17256 test $ac_status = 0; }; then
17257 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17264 if test -n "$WEBKIT_LIBS"; then
17265 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17266 elif test -n "$PKG_CONFIG"; then
17267 if test -n "$PKG_CONFIG" && \
17268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17269 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17272 test $ac_status = 0; }; then
17273 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17283 if test $pkg_failed = yes; then
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17285 $as_echo "no" >&6; }
17287 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17288 _pkg_short_errors_supported
=yes
17290 _pkg_short_errors_supported
=no
17292 if test $_pkg_short_errors_supported = yes; then
17293 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17295 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17297 # Put the nasty error message in config.log where it belongs
17298 echo "$WEBKIT_PKG_ERRORS" >&5
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17303 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17304 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17305 $as_echo_n "(cached) " >&6
17308 ac_check_framework_save_LIBS
=$LIBS
17309 LIBS
="-framework JavaScriptCore $LIBS"
17310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17313 #include <JavaScriptCore/JSBase.h>
17319 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17325 if ac_fn_cxx_try_link
"$LINENO"; then :
17327 ac_cv_framework_JavaScriptCore
=yes
17330 ac_cv_framework_JavaScriptCore
=no
17332 rm -f core conftest.err conftest.
$ac_objext \
17333 conftest
$ac_exeext conftest.
$ac_ext
17334 LIBS
=$ac_check_framework_save_LIBS
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17338 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17339 if test $ac_cv_framework_JavaScriptCore = yes; then :
17342 for element
in "-framework JavaScriptCore $LIBS"; do
17346 acl_save_prefix
="$prefix"
17347 prefix
="$acl_final_prefix"
17348 acl_save_exec_prefix
="$exec_prefix"
17349 exec_prefix
="$acl_final_exec_prefix"
17351 exec_prefix
="$acl_save_exec_prefix"
17352 prefix
="$acl_save_prefix"
17354 if test "X$x" = "X$element"; then
17359 if test -z "$haveit"; then
17360 LIBS
="${LIBS}${LIBS:+ }$element"
17371 elif test $pkg_failed = untried
; then
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17373 $as_echo "no" >&6; }
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17377 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17378 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17379 $as_echo_n "(cached) " >&6
17382 ac_check_framework_save_LIBS
=$LIBS
17383 LIBS
="-framework JavaScriptCore $LIBS"
17384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17387 #include <JavaScriptCore/JSBase.h>
17393 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17399 if ac_fn_cxx_try_link
"$LINENO"; then :
17401 ac_cv_framework_JavaScriptCore
=yes
17404 ac_cv_framework_JavaScriptCore
=no
17406 rm -f core conftest.err conftest.
$ac_objext \
17407 conftest
$ac_exeext conftest.
$ac_ext
17408 LIBS
=$ac_check_framework_save_LIBS
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17412 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17413 if test $ac_cv_framework_JavaScriptCore = yes; then :
17416 for element
in "-framework JavaScriptCore $LIBS"; do
17420 acl_save_prefix
="$prefix"
17421 prefix
="$acl_final_prefix"
17422 acl_save_exec_prefix
="$exec_prefix"
17423 exec_prefix
="$acl_final_exec_prefix"
17425 exec_prefix
="$acl_save_exec_prefix"
17426 prefix
="$acl_save_prefix"
17428 if test "X$x" = "X$element"; then
17433 if test -z "$haveit"; then
17434 LIBS
="${LIBS}${LIBS:+ }$element"
17446 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17447 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17449 $as_echo "yes" >&6; }
17454 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17456 for x
in $CXXFLAGS; do
17458 acl_save_prefix
="$prefix"
17459 prefix
="$acl_final_prefix"
17460 acl_save_exec_prefix
="$exec_prefix"
17461 exec_prefix
="$acl_final_exec_prefix"
17463 exec_prefix
="$acl_save_exec_prefix"
17464 prefix
="$acl_save_prefix"
17466 if test "X$x" = "X$element"; then
17471 if test -z "$haveit"; then
17472 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17477 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17481 acl_save_prefix
="$prefix"
17482 prefix
="$acl_final_prefix"
17483 acl_save_exec_prefix
="$exec_prefix"
17484 exec_prefix
="$acl_final_exec_prefix"
17486 exec_prefix
="$acl_save_exec_prefix"
17487 prefix
="$acl_save_prefix"
17489 if test "X$x" = "X$element"; then
17494 if test -z "$haveit"; then
17495 LIBS
="${LIBS}${LIBS:+ }$element"
17502 elif test $pkg_failed = untried
; then
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17504 $as_echo "no" >&6; }
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17509 $as_echo_n "checking for WEBKIT... " >&6; }
17511 if test -n "$WEBKIT_CFLAGS"; then
17512 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17513 elif test -n "$PKG_CONFIG"; then
17514 if test -n "$PKG_CONFIG" && \
17515 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17516 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17519 test $ac_status = 0; }; then
17520 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17527 if test -n "$WEBKIT_LIBS"; then
17528 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17529 elif test -n "$PKG_CONFIG"; then
17530 if test -n "$PKG_CONFIG" && \
17531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17532 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17535 test $ac_status = 0; }; then
17536 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17546 if test $pkg_failed = yes; then
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17548 $as_echo "no" >&6; }
17550 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17551 _pkg_short_errors_supported
=yes
17553 _pkg_short_errors_supported
=no
17555 if test $_pkg_short_errors_supported = yes; then
17556 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17558 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17560 # Put the nasty error message in config.log where it belongs
17561 echo "$WEBKIT_PKG_ERRORS" >&5
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17566 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17567 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17568 $as_echo_n "(cached) " >&6
17571 ac_check_framework_save_LIBS
=$LIBS
17572 LIBS
="-framework JavaScriptCore $LIBS"
17573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17576 #include <JavaScriptCore/JSBase.h>
17582 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17588 if ac_fn_cxx_try_link
"$LINENO"; then :
17590 ac_cv_framework_JavaScriptCore
=yes
17593 ac_cv_framework_JavaScriptCore
=no
17595 rm -f core conftest.err conftest.
$ac_objext \
17596 conftest
$ac_exeext conftest.
$ac_ext
17597 LIBS
=$ac_check_framework_save_LIBS
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17601 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17602 if test $ac_cv_framework_JavaScriptCore = yes; then :
17605 for element
in "-framework JavaScriptCore $LIBS"; do
17609 acl_save_prefix
="$prefix"
17610 prefix
="$acl_final_prefix"
17611 acl_save_exec_prefix
="$exec_prefix"
17612 exec_prefix
="$acl_final_exec_prefix"
17614 exec_prefix
="$acl_save_exec_prefix"
17615 prefix
="$acl_save_prefix"
17617 if test "X$x" = "X$element"; then
17622 if test -z "$haveit"; then
17623 LIBS
="${LIBS}${LIBS:+ }$element"
17634 elif test $pkg_failed = untried
; then
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17636 $as_echo "no" >&6; }
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17640 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17641 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17642 $as_echo_n "(cached) " >&6
17645 ac_check_framework_save_LIBS
=$LIBS
17646 LIBS
="-framework JavaScriptCore $LIBS"
17647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17648 /* end confdefs.h. */
17650 #include <JavaScriptCore/JSBase.h>
17656 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17662 if ac_fn_cxx_try_link
"$LINENO"; then :
17664 ac_cv_framework_JavaScriptCore
=yes
17667 ac_cv_framework_JavaScriptCore
=no
17669 rm -f core conftest.err conftest.
$ac_objext \
17670 conftest
$ac_exeext conftest.
$ac_ext
17671 LIBS
=$ac_check_framework_save_LIBS
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17675 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17676 if test $ac_cv_framework_JavaScriptCore = yes; then :
17679 for element
in "-framework JavaScriptCore $LIBS"; do
17683 acl_save_prefix
="$prefix"
17684 prefix
="$acl_final_prefix"
17685 acl_save_exec_prefix
="$exec_prefix"
17686 exec_prefix
="$acl_final_exec_prefix"
17688 exec_prefix
="$acl_save_exec_prefix"
17689 prefix
="$acl_save_prefix"
17691 if test "X$x" = "X$element"; then
17696 if test -z "$haveit"; then
17697 LIBS
="${LIBS}${LIBS:+ }$element"
17709 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17710 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17712 $as_echo "yes" >&6; }
17717 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17719 for x
in $CXXFLAGS; do
17721 acl_save_prefix
="$prefix"
17722 prefix
="$acl_final_prefix"
17723 acl_save_exec_prefix
="$exec_prefix"
17724 exec_prefix
="$acl_final_exec_prefix"
17726 exec_prefix
="$acl_save_exec_prefix"
17727 prefix
="$acl_save_prefix"
17729 if test "X$x" = "X$element"; then
17734 if test -z "$haveit"; then
17735 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17740 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17744 acl_save_prefix
="$prefix"
17745 prefix
="$acl_final_prefix"
17746 acl_save_exec_prefix
="$exec_prefix"
17747 exec_prefix
="$acl_final_exec_prefix"
17749 exec_prefix
="$acl_save_exec_prefix"
17750 prefix
="$acl_save_prefix"
17752 if test "X$x" = "X$element"; then
17757 if test -z "$haveit"; then
17758 LIBS
="${LIBS}${LIBS:+ }$element"
17766 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17767 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17769 $as_echo "yes" >&6; }
17774 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
17776 for x
in $CXXFLAGS; do
17778 acl_save_prefix
="$prefix"
17779 prefix
="$acl_final_prefix"
17780 acl_save_exec_prefix
="$exec_prefix"
17781 exec_prefix
="$acl_final_exec_prefix"
17783 exec_prefix
="$acl_save_exec_prefix"
17784 prefix
="$acl_save_prefix"
17786 if test "X$x" = "X$element"; then
17791 if test -z "$haveit"; then
17792 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17797 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
17801 acl_save_prefix
="$prefix"
17802 prefix
="$acl_final_prefix"
17803 acl_save_exec_prefix
="$exec_prefix"
17804 exec_prefix
="$acl_final_exec_prefix"
17806 exec_prefix
="$acl_save_exec_prefix"
17807 prefix
="$acl_save_prefix"
17809 if test "X$x" = "X$element"; then
17814 if test -z "$haveit"; then
17815 LIBS
="${LIBS}${LIBS:+ }$element"
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17832 $as_echo_n "checking for WEBKIT... " >&6; }
17834 if test -n "$WEBKIT_CFLAGS"; then
17835 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17836 elif test -n "$PKG_CONFIG"; then
17837 if test -n "$PKG_CONFIG" && \
17838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17839 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17842 test $ac_status = 0; }; then
17843 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
17850 if test -n "$WEBKIT_LIBS"; then
17851 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17852 elif test -n "$PKG_CONFIG"; then
17853 if test -n "$PKG_CONFIG" && \
17854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17855 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17858 test $ac_status = 0; }; then
17859 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
17869 if test $pkg_failed = yes; then
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17871 $as_echo "no" >&6; }
17873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17874 _pkg_short_errors_supported
=yes
17876 _pkg_short_errors_supported
=no
17878 if test $_pkg_short_errors_supported = yes; then
17879 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
17881 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
17883 # Put the nasty error message in config.log where it belongs
17884 echo "$WEBKIT_PKG_ERRORS" >&5
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17890 $as_echo_n "checking for WEBKIT... " >&6; }
17892 if test -n "$WEBKIT_CFLAGS"; then
17893 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17894 elif test -n "$PKG_CONFIG"; then
17895 if test -n "$PKG_CONFIG" && \
17896 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17897 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17900 test $ac_status = 0; }; then
17901 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17908 if test -n "$WEBKIT_LIBS"; then
17909 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17910 elif test -n "$PKG_CONFIG"; then
17911 if test -n "$PKG_CONFIG" && \
17912 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17913 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17916 test $ac_status = 0; }; then
17917 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17927 if test $pkg_failed = yes; then
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17929 $as_echo "no" >&6; }
17931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17932 _pkg_short_errors_supported
=yes
17934 _pkg_short_errors_supported
=no
17936 if test $_pkg_short_errors_supported = yes; then
17937 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17939 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17941 # Put the nasty error message in config.log where it belongs
17942 echo "$WEBKIT_PKG_ERRORS" >&5
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17947 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17948 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17949 $as_echo_n "(cached) " >&6
17952 ac_check_framework_save_LIBS
=$LIBS
17953 LIBS
="-framework JavaScriptCore $LIBS"
17954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17957 #include <JavaScriptCore/JSBase.h>
17963 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17969 if ac_fn_cxx_try_link
"$LINENO"; then :
17971 ac_cv_framework_JavaScriptCore
=yes
17974 ac_cv_framework_JavaScriptCore
=no
17976 rm -f core conftest.err conftest.
$ac_objext \
17977 conftest
$ac_exeext conftest.
$ac_ext
17978 LIBS
=$ac_check_framework_save_LIBS
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17982 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17983 if test $ac_cv_framework_JavaScriptCore = yes; then :
17986 for element
in "-framework JavaScriptCore $LIBS"; do
17990 acl_save_prefix
="$prefix"
17991 prefix
="$acl_final_prefix"
17992 acl_save_exec_prefix
="$exec_prefix"
17993 exec_prefix
="$acl_final_exec_prefix"
17995 exec_prefix
="$acl_save_exec_prefix"
17996 prefix
="$acl_save_prefix"
17998 if test "X$x" = "X$element"; then
18003 if test -z "$haveit"; then
18004 LIBS
="${LIBS}${LIBS:+ }$element"
18015 elif test $pkg_failed = untried
; then
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18017 $as_echo "no" >&6; }
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18021 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18022 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18023 $as_echo_n "(cached) " >&6
18026 ac_check_framework_save_LIBS
=$LIBS
18027 LIBS
="-framework JavaScriptCore $LIBS"
18028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h. */
18031 #include <JavaScriptCore/JSBase.h>
18037 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18043 if ac_fn_cxx_try_link
"$LINENO"; then :
18045 ac_cv_framework_JavaScriptCore
=yes
18048 ac_cv_framework_JavaScriptCore
=no
18050 rm -f core conftest.err conftest.
$ac_objext \
18051 conftest
$ac_exeext conftest.
$ac_ext
18052 LIBS
=$ac_check_framework_save_LIBS
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18056 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18057 if test $ac_cv_framework_JavaScriptCore = yes; then :
18060 for element
in "-framework JavaScriptCore $LIBS"; do
18064 acl_save_prefix
="$prefix"
18065 prefix
="$acl_final_prefix"
18066 acl_save_exec_prefix
="$exec_prefix"
18067 exec_prefix
="$acl_final_exec_prefix"
18069 exec_prefix
="$acl_save_exec_prefix"
18070 prefix
="$acl_save_prefix"
18072 if test "X$x" = "X$element"; then
18077 if test -z "$haveit"; then
18078 LIBS
="${LIBS}${LIBS:+ }$element"
18090 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18091 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18093 $as_echo "yes" >&6; }
18098 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18100 for x
in $CXXFLAGS; do
18102 acl_save_prefix
="$prefix"
18103 prefix
="$acl_final_prefix"
18104 acl_save_exec_prefix
="$exec_prefix"
18105 exec_prefix
="$acl_final_exec_prefix"
18107 exec_prefix
="$acl_save_exec_prefix"
18108 prefix
="$acl_save_prefix"
18110 if test "X$x" = "X$element"; then
18115 if test -z "$haveit"; then
18116 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18121 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18125 acl_save_prefix
="$prefix"
18126 prefix
="$acl_final_prefix"
18127 acl_save_exec_prefix
="$exec_prefix"
18128 exec_prefix
="$acl_final_exec_prefix"
18130 exec_prefix
="$acl_save_exec_prefix"
18131 prefix
="$acl_save_prefix"
18133 if test "X$x" = "X$element"; then
18138 if test -z "$haveit"; then
18139 LIBS
="${LIBS}${LIBS:+ }$element"
18146 elif test $pkg_failed = untried
; then
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18148 $as_echo "no" >&6; }
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18153 $as_echo_n "checking for WEBKIT... " >&6; }
18155 if test -n "$WEBKIT_CFLAGS"; then
18156 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18157 elif test -n "$PKG_CONFIG"; then
18158 if test -n "$PKG_CONFIG" && \
18159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18160 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18163 test $ac_status = 0; }; then
18164 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18171 if test -n "$WEBKIT_LIBS"; then
18172 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18173 elif test -n "$PKG_CONFIG"; then
18174 if test -n "$PKG_CONFIG" && \
18175 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18176 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18179 test $ac_status = 0; }; then
18180 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18190 if test $pkg_failed = yes; then
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18192 $as_echo "no" >&6; }
18194 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18195 _pkg_short_errors_supported
=yes
18197 _pkg_short_errors_supported
=no
18199 if test $_pkg_short_errors_supported = yes; then
18200 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18202 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18204 # Put the nasty error message in config.log where it belongs
18205 echo "$WEBKIT_PKG_ERRORS" >&5
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18210 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18211 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18212 $as_echo_n "(cached) " >&6
18215 ac_check_framework_save_LIBS
=$LIBS
18216 LIBS
="-framework JavaScriptCore $LIBS"
18217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18218 /* end confdefs.h. */
18220 #include <JavaScriptCore/JSBase.h>
18226 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18232 if ac_fn_cxx_try_link
"$LINENO"; then :
18234 ac_cv_framework_JavaScriptCore
=yes
18237 ac_cv_framework_JavaScriptCore
=no
18239 rm -f core conftest.err conftest.
$ac_objext \
18240 conftest
$ac_exeext conftest.
$ac_ext
18241 LIBS
=$ac_check_framework_save_LIBS
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18245 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18246 if test $ac_cv_framework_JavaScriptCore = yes; then :
18249 for element
in "-framework JavaScriptCore $LIBS"; do
18253 acl_save_prefix
="$prefix"
18254 prefix
="$acl_final_prefix"
18255 acl_save_exec_prefix
="$exec_prefix"
18256 exec_prefix
="$acl_final_exec_prefix"
18258 exec_prefix
="$acl_save_exec_prefix"
18259 prefix
="$acl_save_prefix"
18261 if test "X$x" = "X$element"; then
18266 if test -z "$haveit"; then
18267 LIBS
="${LIBS}${LIBS:+ }$element"
18278 elif test $pkg_failed = untried
; then
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18280 $as_echo "no" >&6; }
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18284 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18285 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18286 $as_echo_n "(cached) " >&6
18289 ac_check_framework_save_LIBS
=$LIBS
18290 LIBS
="-framework JavaScriptCore $LIBS"
18291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18292 /* end confdefs.h. */
18294 #include <JavaScriptCore/JSBase.h>
18300 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18306 if ac_fn_cxx_try_link
"$LINENO"; then :
18308 ac_cv_framework_JavaScriptCore
=yes
18311 ac_cv_framework_JavaScriptCore
=no
18313 rm -f core conftest.err conftest.
$ac_objext \
18314 conftest
$ac_exeext conftest.
$ac_ext
18315 LIBS
=$ac_check_framework_save_LIBS
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18319 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18320 if test $ac_cv_framework_JavaScriptCore = yes; then :
18323 for element
in "-framework JavaScriptCore $LIBS"; do
18327 acl_save_prefix
="$prefix"
18328 prefix
="$acl_final_prefix"
18329 acl_save_exec_prefix
="$exec_prefix"
18330 exec_prefix
="$acl_final_exec_prefix"
18332 exec_prefix
="$acl_save_exec_prefix"
18333 prefix
="$acl_save_prefix"
18335 if test "X$x" = "X$element"; then
18340 if test -z "$haveit"; then
18341 LIBS
="${LIBS}${LIBS:+ }$element"
18353 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18354 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18356 $as_echo "yes" >&6; }
18361 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18363 for x
in $CXXFLAGS; do
18365 acl_save_prefix
="$prefix"
18366 prefix
="$acl_final_prefix"
18367 acl_save_exec_prefix
="$exec_prefix"
18368 exec_prefix
="$acl_final_exec_prefix"
18370 exec_prefix
="$acl_save_exec_prefix"
18371 prefix
="$acl_save_prefix"
18373 if test "X$x" = "X$element"; then
18378 if test -z "$haveit"; then
18379 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18384 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18388 acl_save_prefix
="$prefix"
18389 prefix
="$acl_final_prefix"
18390 acl_save_exec_prefix
="$exec_prefix"
18391 exec_prefix
="$acl_final_exec_prefix"
18393 exec_prefix
="$acl_save_exec_prefix"
18394 prefix
="$acl_save_prefix"
18396 if test "X$x" = "X$element"; then
18401 if test -z "$haveit"; then
18402 LIBS
="${LIBS}${LIBS:+ }$element"
18410 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18411 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18413 $as_echo "yes" >&6; }
18418 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
18420 for x
in $CXXFLAGS; do
18422 acl_save_prefix
="$prefix"
18423 prefix
="$acl_final_prefix"
18424 acl_save_exec_prefix
="$exec_prefix"
18425 exec_prefix
="$acl_final_exec_prefix"
18427 exec_prefix
="$acl_save_exec_prefix"
18428 prefix
="$acl_save_prefix"
18430 if test "X$x" = "X$element"; then
18435 if test -z "$haveit"; then
18436 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18441 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
18445 acl_save_prefix
="$prefix"
18446 prefix
="$acl_final_prefix"
18447 acl_save_exec_prefix
="$exec_prefix"
18448 exec_prefix
="$acl_final_exec_prefix"
18450 exec_prefix
="$acl_save_exec_prefix"
18451 prefix
="$acl_save_prefix"
18453 if test "X$x" = "X$element"; then
18458 if test -z "$haveit"; then
18459 LIBS
="${LIBS}${LIBS:+ }$element"
18467 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18476 $as_echo_n "checking for WEBKIT... " >&6; }
18478 if test -n "$WEBKIT_CFLAGS"; then
18479 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18480 elif test -n "$PKG_CONFIG"; then
18481 if test -n "$PKG_CONFIG" && \
18482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
18483 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
18485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18486 test $ac_status = 0; }; then
18487 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
18494 if test -n "$WEBKIT_LIBS"; then
18495 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18496 elif test -n "$PKG_CONFIG"; then
18497 if test -n "$PKG_CONFIG" && \
18498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
18499 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
18501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18502 test $ac_status = 0; }; then
18503 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
18513 if test $pkg_failed = yes; then
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18515 $as_echo "no" >&6; }
18517 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18518 _pkg_short_errors_supported
=yes
18520 _pkg_short_errors_supported
=no
18522 if test $_pkg_short_errors_supported = yes; then
18523 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
18525 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
18527 # Put the nasty error message in config.log where it belongs
18528 echo "$WEBKIT_PKG_ERRORS" >&5
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18534 $as_echo_n "checking for WEBKIT... " >&6; }
18536 if test -n "$WEBKIT_CFLAGS"; then
18537 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18538 elif test -n "$PKG_CONFIG"; then
18539 if test -n "$PKG_CONFIG" && \
18540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18541 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18544 test $ac_status = 0; }; then
18545 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18552 if test -n "$WEBKIT_LIBS"; then
18553 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18554 elif test -n "$PKG_CONFIG"; then
18555 if test -n "$PKG_CONFIG" && \
18556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18557 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18560 test $ac_status = 0; }; then
18561 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18571 if test $pkg_failed = yes; then
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18573 $as_echo "no" >&6; }
18575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18576 _pkg_short_errors_supported
=yes
18578 _pkg_short_errors_supported
=no
18580 if test $_pkg_short_errors_supported = yes; then
18581 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18583 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18585 # Put the nasty error message in config.log where it belongs
18586 echo "$WEBKIT_PKG_ERRORS" >&5
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18591 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18592 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18593 $as_echo_n "(cached) " >&6
18596 ac_check_framework_save_LIBS
=$LIBS
18597 LIBS
="-framework JavaScriptCore $LIBS"
18598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18599 /* end confdefs.h. */
18601 #include <JavaScriptCore/JSBase.h>
18607 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18613 if ac_fn_cxx_try_link
"$LINENO"; then :
18615 ac_cv_framework_JavaScriptCore
=yes
18618 ac_cv_framework_JavaScriptCore
=no
18620 rm -f core conftest.err conftest.
$ac_objext \
18621 conftest
$ac_exeext conftest.
$ac_ext
18622 LIBS
=$ac_check_framework_save_LIBS
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18626 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18627 if test $ac_cv_framework_JavaScriptCore = yes; then :
18630 for element
in "-framework JavaScriptCore $LIBS"; do
18634 acl_save_prefix
="$prefix"
18635 prefix
="$acl_final_prefix"
18636 acl_save_exec_prefix
="$exec_prefix"
18637 exec_prefix
="$acl_final_exec_prefix"
18639 exec_prefix
="$acl_save_exec_prefix"
18640 prefix
="$acl_save_prefix"
18642 if test "X$x" = "X$element"; then
18647 if test -z "$haveit"; then
18648 LIBS
="${LIBS}${LIBS:+ }$element"
18659 elif test $pkg_failed = untried
; then
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18661 $as_echo "no" >&6; }
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18665 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18666 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18667 $as_echo_n "(cached) " >&6
18670 ac_check_framework_save_LIBS
=$LIBS
18671 LIBS
="-framework JavaScriptCore $LIBS"
18672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18673 /* end confdefs.h. */
18675 #include <JavaScriptCore/JSBase.h>
18681 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18687 if ac_fn_cxx_try_link
"$LINENO"; then :
18689 ac_cv_framework_JavaScriptCore
=yes
18692 ac_cv_framework_JavaScriptCore
=no
18694 rm -f core conftest.err conftest.
$ac_objext \
18695 conftest
$ac_exeext conftest.
$ac_ext
18696 LIBS
=$ac_check_framework_save_LIBS
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18700 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18701 if test $ac_cv_framework_JavaScriptCore = yes; then :
18704 for element
in "-framework JavaScriptCore $LIBS"; do
18708 acl_save_prefix
="$prefix"
18709 prefix
="$acl_final_prefix"
18710 acl_save_exec_prefix
="$exec_prefix"
18711 exec_prefix
="$acl_final_exec_prefix"
18713 exec_prefix
="$acl_save_exec_prefix"
18714 prefix
="$acl_save_prefix"
18716 if test "X$x" = "X$element"; then
18721 if test -z "$haveit"; then
18722 LIBS
="${LIBS}${LIBS:+ }$element"
18734 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18735 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18737 $as_echo "yes" >&6; }
18742 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18744 for x
in $CXXFLAGS; do
18746 acl_save_prefix
="$prefix"
18747 prefix
="$acl_final_prefix"
18748 acl_save_exec_prefix
="$exec_prefix"
18749 exec_prefix
="$acl_final_exec_prefix"
18751 exec_prefix
="$acl_save_exec_prefix"
18752 prefix
="$acl_save_prefix"
18754 if test "X$x" = "X$element"; then
18759 if test -z "$haveit"; then
18760 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18765 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18769 acl_save_prefix
="$prefix"
18770 prefix
="$acl_final_prefix"
18771 acl_save_exec_prefix
="$exec_prefix"
18772 exec_prefix
="$acl_final_exec_prefix"
18774 exec_prefix
="$acl_save_exec_prefix"
18775 prefix
="$acl_save_prefix"
18777 if test "X$x" = "X$element"; then
18782 if test -z "$haveit"; then
18783 LIBS
="${LIBS}${LIBS:+ }$element"
18790 elif test $pkg_failed = untried
; then
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18792 $as_echo "no" >&6; }
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18797 $as_echo_n "checking for WEBKIT... " >&6; }
18799 if test -n "$WEBKIT_CFLAGS"; then
18800 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18801 elif test -n "$PKG_CONFIG"; then
18802 if test -n "$PKG_CONFIG" && \
18803 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18804 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18807 test $ac_status = 0; }; then
18808 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18815 if test -n "$WEBKIT_LIBS"; then
18816 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18817 elif test -n "$PKG_CONFIG"; then
18818 if test -n "$PKG_CONFIG" && \
18819 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18820 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18823 test $ac_status = 0; }; then
18824 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18834 if test $pkg_failed = yes; then
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18836 $as_echo "no" >&6; }
18838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18839 _pkg_short_errors_supported
=yes
18841 _pkg_short_errors_supported
=no
18843 if test $_pkg_short_errors_supported = yes; then
18844 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18846 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18848 # Put the nasty error message in config.log where it belongs
18849 echo "$WEBKIT_PKG_ERRORS" >&5
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18854 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18855 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18856 $as_echo_n "(cached) " >&6
18859 ac_check_framework_save_LIBS
=$LIBS
18860 LIBS
="-framework JavaScriptCore $LIBS"
18861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18864 #include <JavaScriptCore/JSBase.h>
18870 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18876 if ac_fn_cxx_try_link
"$LINENO"; then :
18878 ac_cv_framework_JavaScriptCore
=yes
18881 ac_cv_framework_JavaScriptCore
=no
18883 rm -f core conftest.err conftest.
$ac_objext \
18884 conftest
$ac_exeext conftest.
$ac_ext
18885 LIBS
=$ac_check_framework_save_LIBS
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18889 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18890 if test $ac_cv_framework_JavaScriptCore = yes; then :
18893 for element
in "-framework JavaScriptCore $LIBS"; do
18897 acl_save_prefix
="$prefix"
18898 prefix
="$acl_final_prefix"
18899 acl_save_exec_prefix
="$exec_prefix"
18900 exec_prefix
="$acl_final_exec_prefix"
18902 exec_prefix
="$acl_save_exec_prefix"
18903 prefix
="$acl_save_prefix"
18905 if test "X$x" = "X$element"; then
18910 if test -z "$haveit"; then
18911 LIBS
="${LIBS}${LIBS:+ }$element"
18922 elif test $pkg_failed = untried
; then
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18924 $as_echo "no" >&6; }
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18928 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18929 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18930 $as_echo_n "(cached) " >&6
18933 ac_check_framework_save_LIBS
=$LIBS
18934 LIBS
="-framework JavaScriptCore $LIBS"
18935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18936 /* end confdefs.h. */
18938 #include <JavaScriptCore/JSBase.h>
18944 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18950 if ac_fn_cxx_try_link
"$LINENO"; then :
18952 ac_cv_framework_JavaScriptCore
=yes
18955 ac_cv_framework_JavaScriptCore
=no
18957 rm -f core conftest.err conftest.
$ac_objext \
18958 conftest
$ac_exeext conftest.
$ac_ext
18959 LIBS
=$ac_check_framework_save_LIBS
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18963 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18964 if test $ac_cv_framework_JavaScriptCore = yes; then :
18967 for element
in "-framework JavaScriptCore $LIBS"; do
18971 acl_save_prefix
="$prefix"
18972 prefix
="$acl_final_prefix"
18973 acl_save_exec_prefix
="$exec_prefix"
18974 exec_prefix
="$acl_final_exec_prefix"
18976 exec_prefix
="$acl_save_exec_prefix"
18977 prefix
="$acl_save_prefix"
18979 if test "X$x" = "X$element"; then
18984 if test -z "$haveit"; then
18985 LIBS
="${LIBS}${LIBS:+ }$element"
18997 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18998 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19000 $as_echo "yes" >&6; }
19005 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
19007 for x
in $CXXFLAGS; do
19009 acl_save_prefix
="$prefix"
19010 prefix
="$acl_final_prefix"
19011 acl_save_exec_prefix
="$exec_prefix"
19012 exec_prefix
="$acl_final_exec_prefix"
19014 exec_prefix
="$acl_save_exec_prefix"
19015 prefix
="$acl_save_prefix"
19017 if test "X$x" = "X$element"; then
19022 if test -z "$haveit"; then
19023 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19028 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
19032 acl_save_prefix
="$prefix"
19033 prefix
="$acl_final_prefix"
19034 acl_save_exec_prefix
="$exec_prefix"
19035 exec_prefix
="$acl_final_exec_prefix"
19037 exec_prefix
="$acl_save_exec_prefix"
19038 prefix
="$acl_save_prefix"
19040 if test "X$x" = "X$element"; then
19045 if test -z "$haveit"; then
19046 LIBS
="${LIBS}${LIBS:+ }$element"
19054 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19055 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19057 $as_echo "yes" >&6; }
19062 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
19064 for x
in $CXXFLAGS; do
19066 acl_save_prefix
="$prefix"
19067 prefix
="$acl_final_prefix"
19068 acl_save_exec_prefix
="$exec_prefix"
19069 exec_prefix
="$acl_final_exec_prefix"
19071 exec_prefix
="$acl_save_exec_prefix"
19072 prefix
="$acl_save_prefix"
19074 if test "X$x" = "X$element"; then
19079 if test -z "$haveit"; then
19080 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19085 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
19089 acl_save_prefix
="$prefix"
19090 prefix
="$acl_final_prefix"
19091 acl_save_exec_prefix
="$exec_prefix"
19092 exec_prefix
="$acl_final_exec_prefix"
19094 exec_prefix
="$acl_save_exec_prefix"
19095 prefix
="$acl_save_prefix"
19097 if test "X$x" = "X$element"; then
19102 if test -z "$haveit"; then
19103 LIBS
="${LIBS}${LIBS:+ }$element"
19116 if test "$target_os" = "os2-emx"; then
19117 # Scripts don't pass test -x on OS/2
19123 acceptable_majors
="1"
19125 apr_temp_acceptable_apr_config
=""
19126 for apr_temp_major
in $acceptable_majors
19128 case $apr_temp_major in
19130 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
19133 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
19139 $as_echo_n "checking for APR... " >&6; }
19141 # Check whether --with-apr was given.
19142 if test "${with_apr+set}" = set; then :
19144 if test "$withval" = "no" || test "$withval" = "yes"; then
19145 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
19148 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19150 for lookdir
in "$withval/bin" "$withval"
19152 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
19153 apr_config
="$lookdir/$apr_temp_apr_config_file"
19161 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
19162 apr_config
="$withval"
19166 if test "$apr_found" != "yes"; then
19167 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
19172 if test -n "1" && test "1" = "1"; then
19173 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19175 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
19176 apr_config
="$apr_temp_apr_config_file"
19181 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
19182 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
19183 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
19192 if test "$apr_found" = "no" && test -d ""; then
19193 apr_temp_abs_srcdir
="`cd && pwd`"
19194 apr_found
="reconfig"
19195 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
19196 case $apr_bundled_major in
19198 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
19201 apr_temp_apr_config_file
="apr-config"
19204 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
19207 if test -n ""; then
19208 apr_config
="/$apr_temp_apr_config_file"
19210 apr_config
="/$apr_temp_apr_config_file"
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
19218 $as_echo "$apr_found" >&6; }
19220 case $apr_found in #(
19224 for element
in `$apr_config --includes`; do
19226 for x
in $CPPFLAGS; do
19228 acl_save_prefix
="$prefix"
19229 prefix
="$acl_final_prefix"
19230 acl_save_exec_prefix
="$exec_prefix"
19231 exec_prefix
="$acl_final_exec_prefix"
19233 exec_prefix
="$acl_save_exec_prefix"
19234 prefix
="$acl_save_prefix"
19236 if test "X$x" = "X$element"; then
19241 if test -z "$haveit"; then
19242 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19247 for element
in `$apr_config --link-libtool`; do
19249 for x
in $LTLIBAPR; do
19251 acl_save_prefix
="$prefix"
19252 prefix
="$acl_final_prefix"
19253 acl_save_exec_prefix
="$exec_prefix"
19254 exec_prefix
="$acl_final_exec_prefix"
19256 exec_prefix
="$acl_save_exec_prefix"
19257 prefix
="$acl_save_prefix"
19259 if test "X$x" = "X$element"; then
19264 if test -z "$haveit"; then
19265 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
19272 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5 ;;
19277 if test "x$CY_EXECUTE" = x1
; then
19279 CY_EXECUTE_FALSE
='#'
19281 CY_EXECUTE_TRUE
='#'
19288 case $CY_EXECUTE in #(
19291 for ac_header
in ffi.h ffi
/ffi.h
19293 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19294 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19295 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19296 cat >>confdefs.h
<<_ACEOF
19297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19304 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19310 $as_echo_n "checking for LIBFFI... " >&6; }
19312 if test -n "$LIBFFI_CFLAGS"; then
19313 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19314 elif test -n "$PKG_CONFIG"; then
19315 if test -n "$PKG_CONFIG" && \
19316 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19317 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19320 test $ac_status = 0; }; then
19321 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19328 if test -n "$LIBFFI_LIBS"; then
19329 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19330 elif test -n "$PKG_CONFIG"; then
19331 if test -n "$PKG_CONFIG" && \
19332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19333 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19336 test $ac_status = 0; }; then
19337 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19347 if test $pkg_failed = yes; then
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19349 $as_echo "no" >&6; }
19351 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19352 _pkg_short_errors_supported
=yes
19354 _pkg_short_errors_supported
=no
19356 if test $_pkg_short_errors_supported = yes; then
19357 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19359 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19361 # Put the nasty error message in config.log where it belongs
19362 echo "$LIBFFI_PKG_ERRORS" >&5
19364 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19365 elif test $pkg_failed = untried
; then
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19367 $as_echo "no" >&6; }
19368 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19370 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19371 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19373 $as_echo "yes" >&6; }
19376 for element
in `$PKG_CONFIG --cflags libffi`; do
19378 for x
in $CXXFLAGS; do
19380 acl_save_prefix
="$prefix"
19381 prefix
="$acl_final_prefix"
19382 acl_save_exec_prefix
="$exec_prefix"
19383 exec_prefix
="$acl_final_exec_prefix"
19385 exec_prefix
="$acl_save_exec_prefix"
19386 prefix
="$acl_save_prefix"
19388 if test "X$x" = "X$element"; then
19393 if test -z "$haveit"; then
19394 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19399 for element
in `$PKG_CONFIG --libs libffi`; do
19403 acl_save_prefix
="$prefix"
19404 prefix
="$acl_final_prefix"
19405 acl_save_exec_prefix
="$exec_prefix"
19406 exec_prefix
="$acl_final_exec_prefix"
19408 exec_prefix
="$acl_save_exec_prefix"
19409 prefix
="$acl_save_prefix"
19411 if test "X$x" = "X$element"; then
19416 if test -z "$haveit"; then
19417 LIBS
="${LIBS}${LIBS:+ }$element"
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19427 $as_echo_n "checking for library containing ffi_call... " >&6; }
19428 if ${ac_cv_search_ffi_call+:} false
; then :
19429 $as_echo_n "(cached) " >&6
19431 ac_func_search_save_LIBS
=$LIBS
19432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19435 /* Override any GCC internal prototype to avoid an error.
19436 Use char because int might match the return type of a GCC
19437 builtin and then its argument prototype would still apply. */
19445 return ffi_call ();
19450 for ac_lib
in '' ffi
; do
19451 if test -z "$ac_lib"; then
19452 ac_res
="none required"
19455 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19457 if ac_fn_cxx_try_link
"$LINENO"; then :
19458 ac_cv_search_ffi_call
=$ac_res
19460 rm -f core conftest.err conftest.
$ac_objext \
19462 if ${ac_cv_search_ffi_call+:} false
; then :
19466 if ${ac_cv_search_ffi_call+:} false
; then :
19469 ac_cv_search_ffi_call
=no
19471 rm conftest.
$ac_ext
19472 LIBS
=$ac_func_search_save_LIBS
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19475 $as_echo "$ac_cv_search_ffi_call" >&6; }
19476 ac_res
=$ac_cv_search_ffi_call
19477 if test "$ac_res" != no
; then :
19478 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19482 case $ac_cv_search_ffi_call in #(
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19488 $as_echo_n "checking for LIBFFI... " >&6; }
19490 if test -n "$LIBFFI_CFLAGS"; then
19491 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19492 elif test -n "$PKG_CONFIG"; then
19493 if test -n "$PKG_CONFIG" && \
19494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19495 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19498 test $ac_status = 0; }; then
19499 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19506 if test -n "$LIBFFI_LIBS"; then
19507 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19508 elif test -n "$PKG_CONFIG"; then
19509 if test -n "$PKG_CONFIG" && \
19510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19511 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19514 test $ac_status = 0; }; then
19515 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19525 if test $pkg_failed = yes; then
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19527 $as_echo "no" >&6; }
19529 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19530 _pkg_short_errors_supported
=yes
19532 _pkg_short_errors_supported
=no
19534 if test $_pkg_short_errors_supported = yes; then
19535 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19537 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19539 # Put the nasty error message in config.log where it belongs
19540 echo "$LIBFFI_PKG_ERRORS" >&5
19542 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19543 elif test $pkg_failed = untried
; then
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19545 $as_echo "no" >&6; }
19546 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19548 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19549 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19551 $as_echo "yes" >&6; }
19554 for element
in `$PKG_CONFIG --cflags libffi`; do
19556 for x
in $CXXFLAGS; do
19558 acl_save_prefix
="$prefix"
19559 prefix
="$acl_final_prefix"
19560 acl_save_exec_prefix
="$exec_prefix"
19561 exec_prefix
="$acl_final_exec_prefix"
19563 exec_prefix
="$acl_save_exec_prefix"
19564 prefix
="$acl_save_prefix"
19566 if test "X$x" = "X$element"; then
19571 if test -z "$haveit"; then
19572 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19577 for element
in `$PKG_CONFIG --libs libffi`; do
19581 acl_save_prefix
="$prefix"
19582 prefix
="$acl_final_prefix"
19583 acl_save_exec_prefix
="$exec_prefix"
19584 exec_prefix
="$acl_final_exec_prefix"
19586 exec_prefix
="$acl_save_exec_prefix"
19587 prefix
="$acl_save_prefix"
19589 if test "X$x" = "X$element"; then
19594 if test -z "$haveit"; then
19595 LIBS
="${LIBS}${LIBS:+ }$element"
19608 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19609 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19610 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19611 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19615 $as_echo_n "checking if we really have Objective C++... " >&6; }
19616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19620 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19624 $as_echo "yes" >&6; }
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19628 $as_echo "no" >&6; }
19630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19632 if test "x$CY_OBJECTIVEC" = x1
; then :
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19636 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19637 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19638 $as_echo_n "(cached) " >&6
19641 ac_check_framework_save_LIBS
=$LIBS
19642 LIBS
="-framework CoreFoundation $LIBS"
19643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19646 #include <CoreFoundation/CFBase.h>
19651 CFAllocatorGetDefault();
19656 if ac_fn_objcxx_try_link
"$LINENO"; then :
19658 ac_cv_framework_CoreFoundation
=yes
19661 ac_cv_framework_CoreFoundation
=no
19663 rm -f core conftest.err conftest.
$ac_objext \
19664 conftest
$ac_exeext conftest.
$ac_ext
19665 LIBS
=$ac_check_framework_save_LIBS
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19669 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19670 if test $ac_cv_framework_CoreFoundation = yes; then :
19673 for element
in "-framework CoreFoundation $LIBS"; do
19677 acl_save_prefix
="$prefix"
19678 prefix
="$acl_final_prefix"
19679 acl_save_exec_prefix
="$exec_prefix"
19680 exec_prefix
="$acl_final_exec_prefix"
19682 exec_prefix
="$acl_save_exec_prefix"
19683 prefix
="$acl_save_prefix"
19685 if test "X$x" = "X$element"; then
19690 if test -z "$haveit"; then
19691 LIBS
="${LIBS}${LIBS:+ }$element"
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19701 $as_echo_n "checking for framework Foundation... " >&6; }
19702 if ${ac_cv_framework_Foundation+:} false
; then :
19703 $as_echo_n "(cached) " >&6
19706 ac_check_framework_save_LIBS
=$LIBS
19707 LIBS
="-framework Foundation $LIBS"
19708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19711 #include <Foundation/NSObject.h>
19716 [[NSObject alloc] init];
19721 if ac_fn_objcxx_try_link
"$LINENO"; then :
19723 ac_cv_framework_Foundation
=yes
19726 ac_cv_framework_Foundation
=no
19728 rm -f core conftest.err conftest.
$ac_objext \
19729 conftest
$ac_exeext conftest.
$ac_ext
19730 LIBS
=$ac_check_framework_save_LIBS
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19734 $as_echo "$ac_cv_framework_Foundation" >&6; }
19735 if test $ac_cv_framework_Foundation = yes; then :
19738 for element
in "-framework Foundation $LIBS"; do
19742 acl_save_prefix
="$prefix"
19743 prefix
="$acl_final_prefix"
19744 acl_save_exec_prefix
="$exec_prefix"
19745 exec_prefix
="$acl_final_exec_prefix"
19747 exec_prefix
="$acl_save_exec_prefix"
19748 prefix
="$acl_save_prefix"
19750 if test "X$x" = "X$element"; then
19755 if test -z "$haveit"; then
19756 LIBS
="${LIBS}${LIBS:+ }$element"
19760 cat >>confdefs.h
<<_ACEOF
19761 #define HAVE_FRAMEWORK_FOUNDATION 1
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
19770 $as_echo_n "checking for framework WebKit... " >&6; }
19771 if ${ac_cv_framework_WebKit+:} false
; then :
19772 $as_echo_n "(cached) " >&6
19775 ac_check_framework_save_LIBS
=$LIBS
19776 LIBS
="-framework WebKit $LIBS"
19777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19780 #include <WebKit/WebScriptObject.h>
19785 [[WebScriptObject alloc] init];
19790 if ac_fn_objcxx_try_link
"$LINENO"; then :
19792 ac_cv_framework_WebKit
=yes
19795 ac_cv_framework_WebKit
=no
19797 rm -f core conftest.err conftest.
$ac_objext \
19798 conftest
$ac_exeext conftest.
$ac_ext
19799 LIBS
=$ac_check_framework_save_LIBS
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
19803 $as_echo "$ac_cv_framework_WebKit" >&6; }
19804 if test $ac_cv_framework_WebKit = yes; then :
19807 for element
in "-framework WebKit $LIBS"; do
19811 acl_save_prefix
="$prefix"
19812 prefix
="$acl_final_prefix"
19813 acl_save_exec_prefix
="$exec_prefix"
19814 exec_prefix
="$acl_final_exec_prefix"
19816 exec_prefix
="$acl_save_exec_prefix"
19817 prefix
="$acl_save_prefix"
19819 if test "X$x" = "X$element"; then
19824 if test -z "$haveit"; then
19825 LIBS
="${LIBS}${LIBS:+ }$element"
19829 cat >>confdefs.h
<<_ACEOF
19830 #define HAVE_FRAMEWORK_WEBKIT 1
19840 for ac_prog
in gnustep
-config
19842 # Extract the first word of "$ac_prog", so it can be a program name with args.
19843 set dummy
$ac_prog; ac_word
=$2
19844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19845 $as_echo_n "checking for $ac_word... " >&6; }
19846 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19847 $as_echo_n "(cached) " >&6
19849 if test -n "$GNUSTEP_CONFIG"; then
19850 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19853 for as_dir
in $PATH
19856 test -z "$as_dir" && as_dir
=.
19857 for ac_exec_ext
in '' $ac_executable_extensions; do
19858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19859 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19869 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19870 if test -n "$GNUSTEP_CONFIG"; then
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19872 $as_echo "$GNUSTEP_CONFIG" >&6; }
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19875 $as_echo "no" >&6; }
19879 test -n "$GNUSTEP_CONFIG" && break
19883 if test "x$GNUSTEP_CONFIG" != x
; then :
19887 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19889 for x
in $OBJCXXFLAGS; do
19891 acl_save_prefix
="$prefix"
19892 prefix
="$acl_final_prefix"
19893 acl_save_exec_prefix
="$exec_prefix"
19894 exec_prefix
="$acl_final_exec_prefix"
19896 exec_prefix
="$acl_save_exec_prefix"
19897 prefix
="$acl_save_prefix"
19899 if test "X$x" = "X$element"; then
19904 if test -z "$haveit"; then
19905 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19910 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19914 acl_save_prefix
="$prefix"
19915 prefix
="$acl_final_prefix"
19916 acl_save_exec_prefix
="$exec_prefix"
19917 exec_prefix
="$acl_final_exec_prefix"
19919 exec_prefix
="$acl_save_exec_prefix"
19920 prefix
="$acl_save_prefix"
19922 if test "X$x" = "X$element"; then
19927 if test -z "$haveit"; then
19928 LIBS
="${LIBS}${LIBS:+ }$element"
19943 ac_cpp
='$CXXCPP $CPPFLAGS'
19944 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19945 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19946 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19953 if test "x$CY_OBJECTIVEC" = x1
; then
19954 CY_OBJECTIVEC_TRUE
=
19955 CY_OBJECTIVEC_FALSE
='#'
19957 CY_OBJECTIVEC_TRUE
='#'
19958 CY_OBJECTIVEC_FALSE
=
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19969 $as_echo_n "checking for a readline compatible library... " >&6; }
19970 if ${ax_cv_lib_readline+:} false
; then :
19971 $as_echo_n "(cached) " >&6
19975 for readline_lib
in readline edit editline
; do
19976 for termcap_lib
in "" termcap curses ncurses
; do
19977 if test -z "$termcap_lib"; then
19978 TRY_LIB
="-l$readline_lib"
19980 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19982 LIBS
="$ORIG_LIBS $TRY_LIB"
19983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19984 /* end confdefs.h. */
19986 /* Override any GCC internal prototype to avoid an error.
19987 Use char because int might match the return type of a GCC
19988 builtin and then its argument prototype would still apply. */
19996 return readline ();
20001 if ac_fn_cxx_try_link
"$LINENO"; then :
20002 ax_cv_lib_readline
="$TRY_LIB"
20004 rm -f core conftest.err conftest.
$ac_objext \
20005 conftest
$ac_exeext conftest.
$ac_ext
20006 if test -n "$ax_cv_lib_readline"; then
20010 if test -n "$ax_cv_lib_readline"; then
20014 if test -z "$ax_cv_lib_readline"; then
20015 ax_cv_lib_readline
="no"
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
20021 $as_echo "$ax_cv_lib_readline" >&6; }
20023 if test "$ax_cv_lib_readline" != "no"; then
20024 LIBS
="$LIBS $ax_cv_lib_readline"
20026 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
20028 for ac_header
in readline.h readline
/readline.h
20030 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20031 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20032 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20033 cat >>confdefs.h
<<_ACEOF
20034 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
20042 $as_echo_n "checking whether readline supports history... " >&6; }
20043 if ${ax_cv_lib_readline_history+:} false
; then :
20044 $as_echo_n "(cached) " >&6
20047 ax_cv_lib_readline_history
="no"
20048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20049 /* end confdefs.h. */
20051 /* Override any GCC internal prototype to avoid an error.
20052 Use char because int might match the return type of a GCC
20053 builtin and then its argument prototype would still apply. */
20057 char add_history ();
20061 return add_history ();
20066 if ac_fn_cxx_try_link
"$LINENO"; then :
20067 ax_cv_lib_readline_history
="yes"
20069 rm -f core conftest.err conftest.
$ac_objext \
20070 conftest
$ac_exeext conftest.
$ac_ext
20073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
20074 $as_echo "$ax_cv_lib_readline_history" >&6; }
20075 if test "$ax_cv_lib_readline_history" = "yes"; then
20077 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
20079 for ac_header
in history.h readline
/history.h
20081 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20082 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20083 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20084 cat >>confdefs.h
<<_ACEOF
20085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20095 LTLIBREADLINE
=$LIBS
20099 case $ax_cv_lib_readline in #(
20101 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
20110 $as_echo_n "checking for library containing cur_term... " >&6; }
20111 if ${ac_cv_search_cur_term+:} false
; then :
20112 $as_echo_n "(cached) " >&6
20114 ac_func_search_save_LIBS
=$LIBS
20115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20116 /* end confdefs.h. */
20118 /* Override any GCC internal prototype to avoid an error.
20119 Use char because int might match the return type of a GCC
20120 builtin and then its argument prototype would still apply. */
20128 return cur_term ();
20133 for ac_lib
in '' termcap
; do
20134 if test -z "$ac_lib"; then
20135 ac_res
="none required"
20138 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20140 if ac_fn_cxx_try_link
"$LINENO"; then :
20141 ac_cv_search_cur_term
=$ac_res
20143 rm -f core conftest.err conftest.
$ac_objext \
20145 if ${ac_cv_search_cur_term+:} false
; then :
20149 if ${ac_cv_search_cur_term+:} false
; then :
20152 ac_cv_search_cur_term
=no
20154 rm conftest.
$ac_ext
20155 LIBS
=$ac_func_search_save_LIBS
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
20158 $as_echo "$ac_cv_search_cur_term" >&6; }
20159 ac_res
=$ac_cv_search_cur_term
20160 if test "$ac_res" != no
; then :
20161 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20171 ac_cpp
='$CPP $CPPFLAGS'
20172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20177 if test "X$prefix" = "XNONE"; then
20178 acl_final_prefix
="$ac_default_prefix"
20180 acl_final_prefix
="$prefix"
20182 if test "X$exec_prefix" = "XNONE"; then
20183 acl_final_exec_prefix
='${prefix}'
20185 acl_final_exec_prefix
="$exec_prefix"
20187 acl_save_prefix
="$prefix"
20188 prefix
="$acl_final_prefix"
20189 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
20190 prefix
="$acl_save_prefix"
20194 # Check whether --with-gnu-ld was given.
20195 if test "${with_gnu_ld+set}" = set; then :
20196 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
20201 # Prepare PATH_SEPARATOR.
20202 # The user is always right.
20203 if test "${PATH_SEPARATOR+set}" != set; then
20204 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
20205 # contains only /bin. Note that ksh looks also at the FPATH variable,
20206 # so we have to set that as well for the test.
20208 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
20209 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
20210 || PATH_SEPARATOR
=';'
20215 if test "$GCC" = yes; then
20216 # Check if gcc -print-prog-name=ld gives a path.
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20218 $as_echo_n "checking for ld used by $CC... " >&6; }
20221 # gcc leaves a trailing carriage return which upsets mingw
20222 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20224 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
20227 # Accept absolute paths.
20229 re_direlt
='/[^/][^/]*/\.\./'
20230 # Canonicalize the pathname of ld
20231 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
20232 while echo "$ac_prog" | grep "$re_direlt" > /dev
/null
2>&1; do
20233 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
20235 test -z "$LD" && LD
="$ac_prog"
20238 # If it fails, then pretend we aren't using GCC.
20242 # If it is relative, then search for the first ld in PATH.
20243 with_gnu_ld
=unknown
20246 elif test "$with_gnu_ld" = yes; then
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20248 $as_echo_n "checking for GNU ld... " >&6; }
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20251 $as_echo_n "checking for non-GNU ld... " >&6; }
20253 if ${acl_cv_path_LD+:} false
; then :
20254 $as_echo_n "(cached) " >&6
20256 if test -z "$LD"; then
20257 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
20258 for ac_dir
in $PATH; do
20259 IFS
="$acl_save_ifs"
20260 test -z "$ac_dir" && ac_dir
=.
20261 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20262 acl_cv_path_LD
="$ac_dir/$ac_prog"
20263 # Check to see if the program is GNU ld. I'd rather use --version,
20264 # but apparently some variants of GNU ld only accept -v.
20265 # Break only if it was the GNU/non-GNU ld that we prefer.
20266 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
20267 *GNU
* | *'with BFD'*)
20268 test "$with_gnu_ld" != no
&& break
20271 test "$with_gnu_ld" != yes && break
20276 IFS
="$acl_save_ifs"
20278 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
20282 LD
="$acl_cv_path_LD"
20283 if test -n "$LD"; then
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20285 $as_echo "$LD" >&6; }
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20288 $as_echo "no" >&6; }
20290 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20292 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20293 if ${acl_cv_prog_gnu_ld+:} false
; then :
20294 $as_echo_n "(cached) " >&6
20296 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20297 case `$LD -v 2>&1 </dev/null` in
20298 *GNU
* | *'with BFD'*)
20299 acl_cv_prog_gnu_ld
=yes
20302 acl_cv_prog_gnu_ld
=no
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
20307 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
20308 with_gnu_ld
=$acl_cv_prog_gnu_ld
20313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
20314 $as_echo_n "checking for shared library run path origin... " >&6; }
20315 if ${acl_cv_rpath+:} false
; then :
20316 $as_echo_n "(cached) " >&6
20319 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
20320 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
20322 rm -f .
/conftest.sh
20326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
20327 $as_echo "$acl_cv_rpath" >&6; }
20329 acl_libext
="$acl_cv_libext"
20330 acl_shlibext
="$acl_cv_shlibext"
20331 acl_libname_spec
="$acl_cv_libname_spec"
20332 acl_library_names_spec
="$acl_cv_library_names_spec"
20333 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
20334 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
20335 acl_hardcode_direct
="$acl_cv_hardcode_direct"
20336 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
20337 # Check whether --enable-rpath was given.
20338 if test "${enable_rpath+set}" = set; then :
20339 enableval
=$enable_rpath; :
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
20352 $as_echo_n "checking for 64-bit host... " >&6; }
20353 if ${gl_cv_solaris_64bit+:} false
; then :
20354 $as_echo_n "(cached) " >&6
20356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20357 /* end confdefs.h. */
20364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20365 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
20366 gl_cv_solaris_64bit
=yes
20368 gl_cv_solaris_64bit
=no
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
20375 $as_echo "$gl_cv_solaris_64bit" >&6; }
20376 if test $gl_cv_solaris_64bit = yes; then
20377 acl_libdirstem
=lib
/64
20378 case "$host_cpu" in
20379 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
20380 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
20385 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
20386 if test -n "$searchpath"; then
20387 acl_save_IFS
="${IFS= }"; IFS
=":"
20388 for searchdir
in $searchpath; do
20389 if test -d "$searchdir"; then
20390 case "$searchdir" in
20391 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
20393 # Better ignore directories of this form. They are misleading.
20395 *) searchdir
=`cd "$searchdir" && pwd`
20396 case "$searchdir" in
20397 */lib64
) acl_libdirstem
=lib64
;;
20402 IFS
="$acl_save_IFS"
20406 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
20421 acl_save_prefix
="$prefix"
20422 prefix
="$acl_final_prefix"
20423 acl_save_exec_prefix
="$exec_prefix"
20424 exec_prefix
="$acl_final_exec_prefix"
20426 eval additional_includedir
=\"$includedir\"
20427 eval additional_libdir
=\"$libdir\"
20429 exec_prefix
="$acl_save_exec_prefix"
20430 prefix
="$acl_save_prefix"
20433 # Check whether --with-libiconv-prefix was given.
20434 if test "${with_libiconv_prefix+set}" = set; then :
20435 withval
=$with_libiconv_prefix;
20436 if test "X$withval" = "Xno"; then
20439 if test "X$withval" = "X"; then
20441 acl_save_prefix
="$prefix"
20442 prefix
="$acl_final_prefix"
20443 acl_save_exec_prefix
="$exec_prefix"
20444 exec_prefix
="$acl_final_exec_prefix"
20446 eval additional_includedir
=\"$includedir\"
20447 eval additional_libdir
=\"$libdir\"
20449 exec_prefix
="$acl_save_exec_prefix"
20450 prefix
="$acl_save_prefix"
20453 additional_includedir
="$withval/include"
20454 additional_libdir
="$withval/$acl_libdirstem"
20455 if test "$acl_libdirstem2" != "$acl_libdirstem" \
20456 && ! test -d "$withval/$acl_libdirstem"; then
20457 additional_libdir
="$withval/$acl_libdirstem2"
20471 names_already_handled
=
20472 names_next_round
='iconv '
20473 while test -n "$names_next_round"; do
20474 names_this_round
="$names_next_round"
20476 for name
in $names_this_round; do
20478 for n
in $names_already_handled; do
20479 if test "$n" = "$name"; then
20480 already_handled
=yes
20484 if test -z "$already_handled"; then
20485 names_already_handled
="$names_already_handled $name"
20486 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
20487 eval value
=\"\
$HAVE_LIB$uppername\"
20488 if test -n "$value"; then
20489 if test "$value" = yes; then
20490 eval value
=\"\
$LIB$uppername\"
20491 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
20492 eval value
=\"\
$LTLIB$uppername\"
20493 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
20502 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
20503 if test -n "$acl_shlibext"; then
20504 shrext
=".$acl_shlibext" # typically: shrext=.so
20508 if test $use_additional = yes; then
20509 dir
="$additional_libdir"
20510 if test -n "$acl_shlibext"; then
20511 if test -f "$dir/$libname$shrext"; then
20513 found_so
="$dir/$libname$shrext"
20515 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20516 ver
=`(cd "$dir" && \
20517 for f in "$libname$shrext".*; do echo "$f"; done \
20518 | sed -e "s,^$libname$shrext\\\\.,," \
20519 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20520 | sed 1q ) 2>/dev/null`
20521 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20523 found_so
="$dir/$libname$shrext.$ver"
20526 eval library_names
=\"$acl_library_names_spec\"
20527 for f
in $library_names; do
20528 if test -f "$dir/$f"; then
20537 if test "X$found_dir" = "X"; then
20538 if test -f "$dir/$libname.$acl_libext"; then
20540 found_a
="$dir/$libname.$acl_libext"
20543 if test "X$found_dir" != "X"; then
20544 if test -f "$dir/$libname.la"; then
20545 found_la
="$dir/$libname.la"
20549 if test "X$found_dir" = "X"; then
20550 for x
in $LDFLAGS $LTLIBICONV; do
20552 acl_save_prefix
="$prefix"
20553 prefix
="$acl_final_prefix"
20554 acl_save_exec_prefix
="$exec_prefix"
20555 exec_prefix
="$acl_final_exec_prefix"
20557 exec_prefix
="$acl_save_exec_prefix"
20558 prefix
="$acl_save_prefix"
20562 dir
=`echo "X$x" | sed -e 's/^X-L//'`
20563 if test -n "$acl_shlibext"; then
20564 if test -f "$dir/$libname$shrext"; then
20566 found_so
="$dir/$libname$shrext"
20568 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20569 ver
=`(cd "$dir" && \
20570 for f in "$libname$shrext".*; do echo "$f"; done \
20571 | sed -e "s,^$libname$shrext\\\\.,," \
20572 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20573 | sed 1q ) 2>/dev/null`
20574 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20576 found_so
="$dir/$libname$shrext.$ver"
20579 eval library_names
=\"$acl_library_names_spec\"
20580 for f
in $library_names; do
20581 if test -f "$dir/$f"; then
20590 if test "X$found_dir" = "X"; then
20591 if test -f "$dir/$libname.$acl_libext"; then
20593 found_a
="$dir/$libname.$acl_libext"
20596 if test "X$found_dir" != "X"; then
20597 if test -f "$dir/$libname.la"; then
20598 found_la
="$dir/$libname.la"
20603 if test "X$found_dir" != "X"; then
20608 if test "X$found_dir" != "X"; then
20609 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
20610 if test "X$found_so" != "X"; then
20611 if test "$enable_rpath" = no \
20612 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
20613 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
20614 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20617 for x
in $ltrpathdirs; do
20618 if test "X$x" = "X$found_dir"; then
20623 if test -z "$haveit"; then
20624 ltrpathdirs
="$ltrpathdirs $found_dir"
20626 if test "$acl_hardcode_direct" = yes; then
20627 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20629 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
20630 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20632 for x
in $rpathdirs; do
20633 if test "X$x" = "X$found_dir"; then
20638 if test -z "$haveit"; then
20639 rpathdirs
="$rpathdirs $found_dir"
20643 for x
in $LDFLAGS $LIBICONV; do
20645 acl_save_prefix
="$prefix"
20646 prefix
="$acl_final_prefix"
20647 acl_save_exec_prefix
="$exec_prefix"
20648 exec_prefix
="$acl_final_exec_prefix"
20650 exec_prefix
="$acl_save_exec_prefix"
20651 prefix
="$acl_save_prefix"
20653 if test "X$x" = "X-L$found_dir"; then
20658 if test -z "$haveit"; then
20659 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20661 if test "$acl_hardcode_minus_L" != no
; then
20662 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20664 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20670 if test "X$found_a" != "X"; then
20671 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
20673 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20676 additional_includedir
=
20677 case "$found_dir" in
20678 */$acl_libdirstem | */$acl_libdirstem/)
20679 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
20680 if test "$name" = 'iconv'; then
20681 LIBICONV_PREFIX
="$basedir"
20683 additional_includedir
="$basedir/include"
20685 */$acl_libdirstem2 | */$acl_libdirstem2/)
20686 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
20687 if test "$name" = 'iconv'; then
20688 LIBICONV_PREFIX
="$basedir"
20690 additional_includedir
="$basedir/include"
20693 if test "X$additional_includedir" != "X"; then
20694 if test "X$additional_includedir" != "X/usr/include"; then
20696 if test "X$additional_includedir" = "X/usr/local/include"; then
20697 if test -n "$GCC"; then
20699 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20703 if test -z "$haveit"; then
20704 for x
in $CPPFLAGS $INCICONV; do
20706 acl_save_prefix
="$prefix"
20707 prefix
="$acl_final_prefix"
20708 acl_save_exec_prefix
="$exec_prefix"
20709 exec_prefix
="$acl_final_exec_prefix"
20711 exec_prefix
="$acl_save_exec_prefix"
20712 prefix
="$acl_save_prefix"
20714 if test "X$x" = "X-I$additional_includedir"; then
20719 if test -z "$haveit"; then
20720 if test -d "$additional_includedir"; then
20721 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20727 if test -n "$found_la"; then
20728 save_libdir
="$libdir"
20729 case "$found_la" in
20730 */* | *\\*) .
"$found_la" ;;
20731 *) .
"./$found_la" ;;
20733 libdir
="$save_libdir"
20734 for dep
in $dependency_libs; do
20737 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
20738 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
20739 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
20741 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
20742 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
20743 if test -n "$GCC"; then
20745 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20749 if test -z "$haveit"; then
20751 for x
in $LDFLAGS $LIBICONV; do
20753 acl_save_prefix
="$prefix"
20754 prefix
="$acl_final_prefix"
20755 acl_save_exec_prefix
="$exec_prefix"
20756 exec_prefix
="$acl_final_exec_prefix"
20758 exec_prefix
="$acl_save_exec_prefix"
20759 prefix
="$acl_save_prefix"
20761 if test "X$x" = "X-L$additional_libdir"; then
20766 if test -z "$haveit"; then
20767 if test -d "$additional_libdir"; then
20768 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20772 for x
in $LDFLAGS $LTLIBICONV; do
20774 acl_save_prefix
="$prefix"
20775 prefix
="$acl_final_prefix"
20776 acl_save_exec_prefix
="$exec_prefix"
20777 exec_prefix
="$acl_final_exec_prefix"
20779 exec_prefix
="$acl_save_exec_prefix"
20780 prefix
="$acl_save_prefix"
20782 if test "X$x" = "X-L$additional_libdir"; then
20787 if test -z "$haveit"; then
20788 if test -d "$additional_libdir"; then
20789 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20796 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
20797 if test "$enable_rpath" != no
; then
20799 for x
in $rpathdirs; do
20800 if test "X$x" = "X$dir"; then
20805 if test -z "$haveit"; then
20806 rpathdirs
="$rpathdirs $dir"
20809 for x
in $ltrpathdirs; do
20810 if test "X$x" = "X$dir"; then
20815 if test -z "$haveit"; then
20816 ltrpathdirs
="$ltrpathdirs $dir"
20821 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20824 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20827 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
20828 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20834 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20835 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20841 if test "X$rpathdirs" != "X"; then
20842 if test -n "$acl_hardcode_libdir_separator"; then
20844 for found_dir
in $rpathdirs; do
20845 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
20847 acl_save_libdir
="$libdir"
20849 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20850 libdir
="$acl_save_libdir"
20851 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20853 for found_dir
in $rpathdirs; do
20854 acl_save_libdir
="$libdir"
20855 libdir
="$found_dir"
20856 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20857 libdir
="$acl_save_libdir"
20858 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20862 if test "X$ltrpathdirs" != "X"; then
20863 for found_dir
in $ltrpathdirs; do
20864 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20879 am_save_CPPFLAGS
="$CPPFLAGS"
20881 for element
in $INCICONV; do
20883 for x
in $CPPFLAGS; do
20885 acl_save_prefix
="$prefix"
20886 prefix
="$acl_final_prefix"
20887 acl_save_exec_prefix
="$exec_prefix"
20888 exec_prefix
="$acl_final_exec_prefix"
20890 exec_prefix
="$acl_save_exec_prefix"
20891 prefix
="$acl_save_prefix"
20893 if test "X$x" = "X$element"; then
20898 if test -z "$haveit"; then
20899 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
20905 $as_echo_n "checking for iconv... " >&6; }
20906 if ${am_cv_func_iconv+:} false
; then :
20907 $as_echo_n "(cached) " >&6
20910 am_cv_func_iconv
="no, consider installing GNU libiconv"
20912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20913 /* end confdefs.h. */
20915 #include <stdlib.h>
20921 iconv_t cd = iconv_open("","");
20922 iconv(cd,NULL,NULL,NULL,NULL);
20928 if ac_fn_c_try_link
"$LINENO"; then :
20929 am_cv_func_iconv
=yes
20931 rm -f core conftest.err conftest.
$ac_objext \
20932 conftest
$ac_exeext conftest.
$ac_ext
20933 if test "$am_cv_func_iconv" != yes; then
20934 am_save_LIBS
="$LIBS"
20935 LIBS
="$LIBS $LIBICONV"
20936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20937 /* end confdefs.h. */
20939 #include <stdlib.h>
20945 iconv_t cd = iconv_open("","");
20946 iconv(cd,NULL,NULL,NULL,NULL);
20952 if ac_fn_c_try_link
"$LINENO"; then :
20953 am_cv_lib_iconv
=yes
20954 am_cv_func_iconv
=yes
20956 rm -f core conftest.err conftest.
$ac_objext \
20957 conftest
$ac_exeext conftest.
$ac_ext
20958 LIBS
="$am_save_LIBS"
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
20963 $as_echo "$am_cv_func_iconv" >&6; }
20964 if test "$am_cv_func_iconv" = yes; then
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
20966 $as_echo_n "checking for working iconv... " >&6; }
20967 if ${am_cv_func_iconv_works+:} false
; then :
20968 $as_echo_n "(cached) " >&6
20971 am_save_LIBS
="$LIBS"
20972 if test $am_cv_lib_iconv = yes; then
20973 LIBS
="$LIBS $LIBICONV"
20975 if test "$cross_compiling" = yes; then :
20978 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
20979 *) am_cv_func_iconv_works
="guessing yes" ;;
20983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h. */
20987 #include <string.h>
20991 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
20994 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
20995 if (cd_utf8_to_88591 != (iconv_t)(-1))
20997 static const char input[] = "\342\202\254"; /* EURO SIGN */
20999 const char *inptr = input;
21000 size_t inbytesleft = strlen (input);
21001 char *outptr = buf;
21002 size_t outbytesleft = sizeof (buf);
21003 size_t res = iconv (cd_utf8_to_88591,
21004 (char **) &inptr, &inbytesleft,
21005 &outptr, &outbytesleft);
21008 iconv_close (cd_utf8_to_88591);
21011 /* Test against Solaris 10 bug: Failures are not distinguishable from
21012 successful returns. */
21014 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
21015 if (cd_ascii_to_88591 != (iconv_t)(-1))
21017 static const char input[] = "\263";
21019 const char *inptr = input;
21020 size_t inbytesleft = strlen (input);
21021 char *outptr = buf;
21022 size_t outbytesleft = sizeof (buf);
21023 size_t res = iconv (cd_ascii_to_88591,
21024 (char **) &inptr, &inbytesleft,
21025 &outptr, &outbytesleft);
21028 iconv_close (cd_ascii_to_88591);
21031 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
21033 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
21034 if (cd_88591_to_utf8 != (iconv_t)(-1))
21036 static const char input[] = "\304";
21037 static char buf[2] = { (char)0xDE, (char)0xAD };
21038 const char *inptr = input;
21039 size_t inbytesleft = 1;
21040 char *outptr = buf;
21041 size_t outbytesleft = 1;
21042 size_t res = iconv (cd_88591_to_utf8,
21043 (char **) &inptr, &inbytesleft,
21044 &outptr, &outbytesleft);
21045 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
21047 iconv_close (cd_88591_to_utf8);
21050 #if 0 /* This bug could be worked around by the caller. */
21051 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
21053 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
21054 if (cd_88591_to_utf8 != (iconv_t)(-1))
21056 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
21058 const char *inptr = input;
21059 size_t inbytesleft = strlen (input);
21060 char *outptr = buf;
21061 size_t outbytesleft = sizeof (buf);
21062 size_t res = iconv (cd_88591_to_utf8,
21063 (char **) &inptr, &inbytesleft,
21064 &outptr, &outbytesleft);
21067 iconv_close (cd_88591_to_utf8);
21071 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
21073 if (/* Try standardized names. */
21074 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
21075 /* Try IRIX, OSF/1 names. */
21076 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
21077 /* Try AIX names. */
21078 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
21079 /* Try HP-UX names. */
21080 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
21085 if ac_fn_c_try_run
"$LINENO"; then :
21086 am_cv_func_iconv_works
=yes
21088 am_cv_func_iconv_works
=no
21090 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21091 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21094 LIBS
="$am_save_LIBS"
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
21098 $as_echo "$am_cv_func_iconv_works" >&6; }
21099 case "$am_cv_func_iconv_works" in
21100 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
21101 *) am_func_iconv
=yes ;;
21104 am_func_iconv
=no am_cv_lib_iconv
=no
21106 if test "$am_func_iconv" = yes; then
21108 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21111 if test "$am_cv_lib_iconv" = yes; then
21112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21113 $as_echo_n "checking how to link with libiconv... " >&6; }
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21115 $as_echo "$LIBICONV" >&6; }
21117 CPPFLAGS
="$am_save_CPPFLAGS"
21124 if test "$am_cv_func_iconv" = yes; then
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21126 $as_echo_n "checking for iconv declaration... " >&6; }
21127 if ${am_cv_proto_iconv+:} false
; then :
21128 $as_echo_n "(cached) " >&6
21131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21132 /* end confdefs.h. */
21134 #include <stdlib.h>
21140 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
21141 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21154 if ac_fn_c_try_compile
"$LINENO"; then :
21155 am_cv_proto_iconv_arg1
=""
21157 am_cv_proto_iconv_arg1
="const"
21159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21160 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);"
21163 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
21164 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
21165 $am_cv_proto_iconv" >&5
21167 $am_cv_proto_iconv" >&6; }
21169 cat >>confdefs.h
<<_ACEOF
21170 #define ICONV_CONST $am_cv_proto_iconv_arg1
21176 case $am_cv_func_iconv in #(
21181 for cy_iconv_prefix_arg
in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
21182 case $cy_iconv_prefix_arg in #(
21186 for element
in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
21188 for x
in $cy_iconv_prefixes; do
21190 acl_save_prefix
="$prefix"
21191 prefix
="$acl_final_prefix"
21192 acl_save_exec_prefix
="$exec_prefix"
21193 exec_prefix
="$acl_final_exec_prefix"
21195 exec_prefix
="$acl_save_exec_prefix"
21196 prefix
="$acl_save_prefix"
21198 if test "X$x" = "X$element"; then
21203 if test -z "$haveit"; then
21204 cy_iconv_prefixes
="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
21212 for element
in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
21214 for x
in $cy_iconv_prefixes; do
21216 acl_save_prefix
="$prefix"
21217 prefix
="$acl_final_prefix"
21218 acl_save_exec_prefix
="$exec_prefix"
21219 exec_prefix
="$acl_final_exec_prefix"
21221 exec_prefix
="$acl_save_exec_prefix"
21222 prefix
="$acl_save_prefix"
21224 if test "X$x" = "X$element"; then
21229 if test -z "$haveit"; then
21230 cy_iconv_prefixes
="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
21239 for with_libiconv_prefix
in $cy_iconv_prefixes; do
21240 { am_cv_func_iconv
=; unset am_cv_func_iconv
;}
21254 acl_save_prefix
="$prefix"
21255 prefix
="$acl_final_prefix"
21256 acl_save_exec_prefix
="$exec_prefix"
21257 exec_prefix
="$acl_final_exec_prefix"
21259 eval additional_includedir
=\"$includedir\"
21260 eval additional_libdir
=\"$libdir\"
21262 exec_prefix
="$acl_save_exec_prefix"
21263 prefix
="$acl_save_prefix"
21266 # Check whether --with-libiconv-prefix was given.
21267 if test "${with_libiconv_prefix+set}" = set; then :
21268 withval
=$with_libiconv_prefix;
21269 if test "X$withval" = "Xno"; then
21272 if test "X$withval" = "X"; then
21274 acl_save_prefix
="$prefix"
21275 prefix
="$acl_final_prefix"
21276 acl_save_exec_prefix
="$exec_prefix"
21277 exec_prefix
="$acl_final_exec_prefix"
21279 eval additional_includedir
=\"$includedir\"
21280 eval additional_libdir
=\"$libdir\"
21282 exec_prefix
="$acl_save_exec_prefix"
21283 prefix
="$acl_save_prefix"
21286 additional_includedir
="$withval/include"
21287 additional_libdir
="$withval/$acl_libdirstem"
21288 if test "$acl_libdirstem2" != "$acl_libdirstem" \
21289 && ! test -d "$withval/$acl_libdirstem"; then
21290 additional_libdir
="$withval/$acl_libdirstem2"
21304 names_already_handled
=
21305 names_next_round
='iconv '
21306 while test -n "$names_next_round"; do
21307 names_this_round
="$names_next_round"
21309 for name
in $names_this_round; do
21311 for n
in $names_already_handled; do
21312 if test "$n" = "$name"; then
21313 already_handled
=yes
21317 if test -z "$already_handled"; then
21318 names_already_handled
="$names_already_handled $name"
21319 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
21320 eval value
=\"\
$HAVE_LIB$uppername\"
21321 if test -n "$value"; then
21322 if test "$value" = yes; then
21323 eval value
=\"\
$LIB$uppername\"
21324 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21325 eval value
=\"\
$LTLIB$uppername\"
21326 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21335 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
21336 if test -n "$acl_shlibext"; then
21337 shrext
=".$acl_shlibext" # typically: shrext=.so
21341 if test $use_additional = yes; then
21342 dir
="$additional_libdir"
21343 if test -n "$acl_shlibext"; then
21344 if test -f "$dir/$libname$shrext"; then
21346 found_so
="$dir/$libname$shrext"
21348 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21349 ver
=`(cd "$dir" && \
21350 for f in "$libname$shrext".*; do echo "$f"; done \
21351 | sed -e "s,^$libname$shrext\\\\.,," \
21352 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21353 | sed 1q ) 2>/dev/null`
21354 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21356 found_so
="$dir/$libname$shrext.$ver"
21359 eval library_names
=\"$acl_library_names_spec\"
21360 for f
in $library_names; do
21361 if test -f "$dir/$f"; then
21370 if test "X$found_dir" = "X"; then
21371 if test -f "$dir/$libname.$acl_libext"; then
21373 found_a
="$dir/$libname.$acl_libext"
21376 if test "X$found_dir" != "X"; then
21377 if test -f "$dir/$libname.la"; then
21378 found_la
="$dir/$libname.la"
21382 if test "X$found_dir" = "X"; then
21383 for x
in $LDFLAGS $LTLIBICONV; do
21385 acl_save_prefix
="$prefix"
21386 prefix
="$acl_final_prefix"
21387 acl_save_exec_prefix
="$exec_prefix"
21388 exec_prefix
="$acl_final_exec_prefix"
21390 exec_prefix
="$acl_save_exec_prefix"
21391 prefix
="$acl_save_prefix"
21395 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21396 if test -n "$acl_shlibext"; then
21397 if test -f "$dir/$libname$shrext"; then
21399 found_so
="$dir/$libname$shrext"
21401 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21402 ver
=`(cd "$dir" && \
21403 for f in "$libname$shrext".*; do echo "$f"; done \
21404 | sed -e "s,^$libname$shrext\\\\.,," \
21405 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21406 | sed 1q ) 2>/dev/null`
21407 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21409 found_so
="$dir/$libname$shrext.$ver"
21412 eval library_names
=\"$acl_library_names_spec\"
21413 for f
in $library_names; do
21414 if test -f "$dir/$f"; then
21423 if test "X$found_dir" = "X"; then
21424 if test -f "$dir/$libname.$acl_libext"; then
21426 found_a
="$dir/$libname.$acl_libext"
21429 if test "X$found_dir" != "X"; then
21430 if test -f "$dir/$libname.la"; then
21431 found_la
="$dir/$libname.la"
21436 if test "X$found_dir" != "X"; then
21441 if test "X$found_dir" != "X"; then
21442 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21443 if test "X$found_so" != "X"; then
21444 if test "$enable_rpath" = no \
21445 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
21446 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
21447 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21450 for x
in $ltrpathdirs; do
21451 if test "X$x" = "X$found_dir"; then
21456 if test -z "$haveit"; then
21457 ltrpathdirs
="$ltrpathdirs $found_dir"
21459 if test "$acl_hardcode_direct" = yes; then
21460 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21462 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
21463 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21465 for x
in $rpathdirs; do
21466 if test "X$x" = "X$found_dir"; then
21471 if test -z "$haveit"; then
21472 rpathdirs
="$rpathdirs $found_dir"
21476 for x
in $LDFLAGS $LIBICONV; do
21478 acl_save_prefix
="$prefix"
21479 prefix
="$acl_final_prefix"
21480 acl_save_exec_prefix
="$exec_prefix"
21481 exec_prefix
="$acl_final_exec_prefix"
21483 exec_prefix
="$acl_save_exec_prefix"
21484 prefix
="$acl_save_prefix"
21486 if test "X$x" = "X-L$found_dir"; then
21491 if test -z "$haveit"; then
21492 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21494 if test "$acl_hardcode_minus_L" != no
; then
21495 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21497 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21503 if test "X$found_a" != "X"; then
21504 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21506 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21509 additional_includedir
=
21510 case "$found_dir" in
21511 */$acl_libdirstem | */$acl_libdirstem/)
21512 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
21513 if test "$name" = 'iconv'; then
21514 LIBICONV_PREFIX
="$basedir"
21516 additional_includedir
="$basedir/include"
21518 */$acl_libdirstem2 | */$acl_libdirstem2/)
21519 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
21520 if test "$name" = 'iconv'; then
21521 LIBICONV_PREFIX
="$basedir"
21523 additional_includedir
="$basedir/include"
21526 if test "X$additional_includedir" != "X"; then
21527 if test "X$additional_includedir" != "X/usr/include"; then
21529 if test "X$additional_includedir" = "X/usr/local/include"; then
21530 if test -n "$GCC"; then
21532 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
21536 if test -z "$haveit"; then
21537 for x
in $CPPFLAGS $INCICONV; do
21539 acl_save_prefix
="$prefix"
21540 prefix
="$acl_final_prefix"
21541 acl_save_exec_prefix
="$exec_prefix"
21542 exec_prefix
="$acl_final_exec_prefix"
21544 exec_prefix
="$acl_save_exec_prefix"
21545 prefix
="$acl_save_prefix"
21547 if test "X$x" = "X-I$additional_includedir"; then
21552 if test -z "$haveit"; then
21553 if test -d "$additional_includedir"; then
21554 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21560 if test -n "$found_la"; then
21561 save_libdir
="$libdir"
21562 case "$found_la" in
21563 */* | *\\*) .
"$found_la" ;;
21564 *) .
"./$found_la" ;;
21566 libdir
="$save_libdir"
21567 for dep
in $dependency_libs; do
21570 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21571 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
21572 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
21574 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
21575 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
21576 if test -n "$GCC"; then
21578 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
21582 if test -z "$haveit"; then
21584 for x
in $LDFLAGS $LIBICONV; do
21586 acl_save_prefix
="$prefix"
21587 prefix
="$acl_final_prefix"
21588 acl_save_exec_prefix
="$exec_prefix"
21589 exec_prefix
="$acl_final_exec_prefix"
21591 exec_prefix
="$acl_save_exec_prefix"
21592 prefix
="$acl_save_prefix"
21594 if test "X$x" = "X-L$additional_libdir"; then
21599 if test -z "$haveit"; then
21600 if test -d "$additional_libdir"; then
21601 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21605 for x
in $LDFLAGS $LTLIBICONV; do
21607 acl_save_prefix
="$prefix"
21608 prefix
="$acl_final_prefix"
21609 acl_save_exec_prefix
="$exec_prefix"
21610 exec_prefix
="$acl_final_exec_prefix"
21612 exec_prefix
="$acl_save_exec_prefix"
21613 prefix
="$acl_save_prefix"
21615 if test "X$x" = "X-L$additional_libdir"; then
21620 if test -z "$haveit"; then
21621 if test -d "$additional_libdir"; then
21622 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21629 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21630 if test "$enable_rpath" != no
; then
21632 for x
in $rpathdirs; do
21633 if test "X$x" = "X$dir"; then
21638 if test -z "$haveit"; then
21639 rpathdirs
="$rpathdirs $dir"
21642 for x
in $ltrpathdirs; do
21643 if test "X$x" = "X$dir"; then
21648 if test -z "$haveit"; then
21649 ltrpathdirs
="$ltrpathdirs $dir"
21654 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21657 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21660 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
21661 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21667 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21668 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21674 if test "X$rpathdirs" != "X"; then
21675 if test -n "$acl_hardcode_libdir_separator"; then
21677 for found_dir
in $rpathdirs; do
21678 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
21680 acl_save_libdir
="$libdir"
21682 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
21683 libdir
="$acl_save_libdir"
21684 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21686 for found_dir
in $rpathdirs; do
21687 acl_save_libdir
="$libdir"
21688 libdir
="$found_dir"
21689 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
21690 libdir
="$acl_save_libdir"
21691 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21695 if test "X$ltrpathdirs" != "X"; then
21696 for found_dir
in $ltrpathdirs; do
21697 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21711 case $am_cv_func_iconv in #(
21715 as_fn_error $?
"missing \"libiconv\"" "$LINENO" 5 ;;
21718 ac_cpp
='$CXXCPP $CPPFLAGS'
21719 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21720 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21721 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21728 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
21729 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
21731 if test -n "$ac_tool_prefix"; then
21732 for ac_prog
in lipo
21734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21735 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21737 $as_echo_n "checking for $ac_word... " >&6; }
21738 if ${ac_cv_prog__LIPO+:} false
; then :
21739 $as_echo_n "(cached) " >&6
21741 if test -n "$_LIPO"; then
21742 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
21744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21745 for as_dir
in $PATH
21748 test -z "$as_dir" && as_dir
=.
21749 for ac_exec_ext
in '' $ac_executable_extensions; do
21750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21751 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
21752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21761 _LIPO
=$ac_cv_prog__LIPO
21762 if test -n "$_LIPO"; then
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
21764 $as_echo "$_LIPO" >&6; }
21766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21767 $as_echo "no" >&6; }
21771 test -n "$_LIPO" && break
21774 if test -z "$_LIPO"; then
21776 for ac_prog
in lipo
21778 # Extract the first word of "$ac_prog", so it can be a program name with args.
21779 set dummy
$ac_prog; ac_word
=$2
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21781 $as_echo_n "checking for $ac_word... " >&6; }
21782 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
21783 $as_echo_n "(cached) " >&6
21785 if test -n "$ac_ct__LIPO"; then
21786 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
21788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21789 for as_dir
in $PATH
21792 test -z "$as_dir" && as_dir
=.
21793 for ac_exec_ext
in '' $ac_executable_extensions; do
21794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21795 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
21796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21805 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
21806 if test -n "$ac_ct__LIPO"; then
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
21808 $as_echo "$ac_ct__LIPO" >&6; }
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21811 $as_echo "no" >&6; }
21815 test -n "$ac_ct__LIPO" && break
21818 if test "x$ac_ct__LIPO" = x
; then
21819 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
21821 case $cross_compiling:$ac_tool_warned in
21823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21825 ac_tool_warned
=yes ;;
21831 if test -n "$ac_tool_prefix"; then
21834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21835 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21837 $as_echo_n "checking for $ac_word... " >&6; }
21838 if ${ac_cv_prog__NM+:} false
; then :
21839 $as_echo_n "(cached) " >&6
21841 if test -n "$_NM"; then
21842 ac_cv_prog__NM
="$_NM" # Let the user override the test.
21844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21845 for as_dir
in $PATH
21848 test -z "$as_dir" && as_dir
=.
21849 for ac_exec_ext
in '' $ac_executable_extensions; do
21850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21851 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
21852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21861 _NM
=$ac_cv_prog__NM
21862 if test -n "$_NM"; then
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
21864 $as_echo "$_NM" >&6; }
21866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21867 $as_echo "no" >&6; }
21871 test -n "$_NM" && break
21874 if test -z "$_NM"; then
21878 # Extract the first word of "$ac_prog", so it can be a program name with args.
21879 set dummy
$ac_prog; ac_word
=$2
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21881 $as_echo_n "checking for $ac_word... " >&6; }
21882 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
21883 $as_echo_n "(cached) " >&6
21885 if test -n "$ac_ct__NM"; then
21886 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
21888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21889 for as_dir
in $PATH
21892 test -z "$as_dir" && as_dir
=.
21893 for ac_exec_ext
in '' $ac_executable_extensions; do
21894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21895 ac_cv_prog_ac_ct__NM
="$ac_prog"
21896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21905 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
21906 if test -n "$ac_ct__NM"; then
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
21908 $as_echo "$ac_ct__NM" >&6; }
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21911 $as_echo "no" >&6; }
21915 test -n "$ac_ct__NM" && break
21918 if test "x$ac_ct__NM" = x
; then
21919 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
21921 case $cross_compiling:$ac_tool_warned in
21923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21925 ac_tool_warned
=yes ;;
21931 if test -n "$ac_tool_prefix"; then
21932 for ac_prog
in otool
21934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21935 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21937 $as_echo_n "checking for $ac_word... " >&6; }
21938 if ${ac_cv_prog__OTOOL+:} false
; then :
21939 $as_echo_n "(cached) " >&6
21941 if test -n "$_OTOOL"; then
21942 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
21944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21945 for as_dir
in $PATH
21948 test -z "$as_dir" && as_dir
=.
21949 for ac_exec_ext
in '' $ac_executable_extensions; do
21950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21951 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
21952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21961 _OTOOL
=$ac_cv_prog__OTOOL
21962 if test -n "$_OTOOL"; then
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
21964 $as_echo "$_OTOOL" >&6; }
21966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21967 $as_echo "no" >&6; }
21971 test -n "$_OTOOL" && break
21974 if test -z "$_OTOOL"; then
21975 ac_ct__OTOOL
=$_OTOOL
21976 for ac_prog
in otool
21978 # Extract the first word of "$ac_prog", so it can be a program name with args.
21979 set dummy
$ac_prog; ac_word
=$2
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21981 $as_echo_n "checking for $ac_word... " >&6; }
21982 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
21983 $as_echo_n "(cached) " >&6
21985 if test -n "$ac_ct__OTOOL"; then
21986 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
21988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21989 for as_dir
in $PATH
21992 test -z "$as_dir" && as_dir
=.
21993 for ac_exec_ext
in '' $ac_executable_extensions; do
21994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21995 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
21996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22005 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
22006 if test -n "$ac_ct__OTOOL"; then
22007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
22008 $as_echo "$ac_ct__OTOOL" >&6; }
22010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22011 $as_echo "no" >&6; }
22015 test -n "$ac_ct__OTOOL" && break
22018 if test "x$ac_ct__OTOOL" = x
; then
22019 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
22021 case $cross_compiling:$ac_tool_warned in
22023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22025 ac_tool_warned
=yes ;;
22027 _OTOOL
=$ac_ct__OTOOL
22033 CY_ATTACH_GROUP
=procmod
22040 if test "x$CY_MACH" = x1
; then
22049 ac_config_files
="$ac_config_files Makefile"
22051 cat >confcache
<<\_ACEOF
22052 # This file is a shell script that caches the results of configure
22053 # tests run on this system so they can be shared between configure
22054 # scripts and configure runs, see configure's option --config-cache.
22055 # It is not useful on other systems. If it contains results you don't
22056 # want to keep, you may remove or edit it.
22058 # config.status only pays attention to the cache file if you give it
22059 # the --recheck option to rerun configure.
22061 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22062 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22063 # following values.
22067 # The following way of writing the cache mishandles newlines in values,
22068 # but we know of no workaround that is simple, portable, and efficient.
22069 # So, we kill variables containing newlines.
22070 # Ultrix sh set writes to stderr and can't be redirected directly,
22071 # and sets the high bit in the cache file unless we assign to the vars.
22073 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22074 eval ac_val
=\$
$ac_var
22078 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22079 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22082 _
| IFS
| as_nl
) ;; #(
22083 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22084 *) { eval $ac_var=; unset $ac_var;} ;;
22090 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22091 *${as_nl}ac_space
=\
*)
22092 # `set' does not quote correctly, so add quotes: double-quote
22093 # substitution turns \\\\ into \\, and sed turns \\ into \.
22096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22099 # `set' quotes correctly as required by POSIX, so do not add quotes.
22100 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22109 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22111 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22113 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22114 if test -w "$cache_file"; then
22115 if test "x$cache_file" != "x/dev/null"; then
22116 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22117 $as_echo "$as_me: updating cache $cache_file" >&6;}
22118 if test ! -f "$cache_file" || test -h "$cache_file"; then
22119 cat confcache
>"$cache_file"
22121 case $cache_file in #(
22123 mv -f confcache
"$cache_file"$$
&&
22124 mv -f "$cache_file"$$
"$cache_file" ;; #(
22126 mv -f confcache
"$cache_file" ;;
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22132 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22137 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22138 # Let make expand exec_prefix.
22139 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22141 # Transform confdefs.h into DEFS.
22142 # Protect against shell expansion while executing Makefile rules.
22143 # Protect against Makefile macro expansion.
22145 # If the first sed substitution is executed (which looks for macros that
22146 # take arguments), then branch to the quote section. Otherwise,
22147 # look for a macro that doesn't take arguments.
22157 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
22159 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
22163 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
22176 DEFS
=`sed -n "$ac_script" confdefs.h`
22182 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22183 # 1. Remove the extension, and $U if already installed.
22184 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22185 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22186 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22187 # will be set to the directory where LIBOBJS objects are built.
22188 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22189 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22191 LIBOBJS
=$ac_libobjs
22193 LTLIBOBJS
=$ac_ltlibobjs
22196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22197 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22198 if test -n "$am_sleep_pid"; then
22199 # Hide warnings about reused PIDs.
22200 wait $am_sleep_pid 2>/dev
/null
22202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22203 $as_echo "done" >&6; }
22204 if test -n "$EXEEXT"; then
22206 am__EXEEXT_FALSE
='#'
22208 am__EXEEXT_TRUE
='#'
22212 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22213 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22216 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22217 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
22218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22220 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
22221 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
22222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22224 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22225 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22228 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
22229 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
22230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22232 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
22233 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
22234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22236 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
22237 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
22238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22241 : "${CONFIG_STATUS=./config.status}"
22243 ac_clean_files_save
=$ac_clean_files
22244 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22245 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22246 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22248 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22250 # Generated by $as_me.
22251 # Run this file to recreate the current configuration.
22252 # Compiler output produced by configure, useful for debugging
22253 # configure, is in config.log if it exists.
22256 ac_cs_recheck=false
22259 SHELL=\${CONFIG_SHELL-$SHELL}
22262 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
22263 ## -------------------- ##
22264 ## M4sh Initialization. ##
22265 ## -------------------- ##
22267 # Be more Bourne compatible
22268 DUALCASE
=1; export DUALCASE
# for MKS sh
22269 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22272 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22273 # is contrary to our usage. Disable this feature.
22274 alias -g '${1+"$@"}'='"$@"'
22275 setopt NO_GLOB_SUBST
22277 case `(set -o) 2>/dev/null` in #(
22289 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22290 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22291 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22292 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22293 # Prefer a ksh shell builtin over an external printf program on Solaris,
22294 # but without wasting forks for bash or zsh.
22295 if test -z "$BASH_VERSION$ZSH_VERSION" \
22296 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22297 as_echo='print
-r --'
22298 as_echo_n='print
-rn --'
22299 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22300 as_echo='printf %s
\n'
22301 as_echo_n='printf %s
'
22303 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22304 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22305 as_echo_n='/usr
/ucb
/echo -n'
22307 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22308 as_echo_n_body='eval
22312 expr "X$arg" : "X\\(.*\\)$as_nl";
22313 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22315 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22317 export as_echo_n_body
22318 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22320 export as_echo_body
22321 as_echo='sh
-c $as_echo_body as_echo
'
22324 # The user is always right.
22325 if test "${PATH_SEPARATOR+set}" != set; then
22327 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22328 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22335 # We need space, tab and new line, in precisely that order. Quoting is
22336 # there to prevent editors from complaining about space-tab.
22337 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22338 # splitting by setting IFS to empty value.)
22341 # Find who we are. Look in the path if we contain no directory separator.
22344 *[\\/]* ) as_myself=$0 ;;
22345 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22346 for as_dir in $PATH
22349 test -z "$as_dir" && as_dir=.
22350 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22356 # We did not find ourselves, most probably we were run as `sh COMMAND'
22357 # in which case we are not to be found in the path.
22358 if test "x$as_myself" = x
; then
22361 if test ! -f "$as_myself"; then
22362 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22366 # Unset variables that we do not need and which cause bugs (e.g. in
22367 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22368 # suppresses any "Segmentation fault" message there. '((' could
22369 # trigger a bug in pdksh 5.2.14.
22370 for as_var
in BASH_ENV ENV MAIL MAILPATH
22371 do eval test x\
${$as_var+set} = xset \
22372 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
22385 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22388 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22389 # ----------------------------------------
22390 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22391 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22392 # script with STATUS, using 1 if that was 0.
22395 as_status
=$1; test $as_status -eq 0 && as_status
=1
22397 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22398 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22400 $as_echo "$as_me: error: $2" >&2
22401 as_fn_exit
$as_status
22405 # as_fn_set_status STATUS
22406 # -----------------------
22407 # Set $? to STATUS, without forking.
22408 as_fn_set_status
()
22411 } # as_fn_set_status
22413 # as_fn_exit STATUS
22414 # -----------------
22415 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22419 as_fn_set_status
$1
22425 # Portably unset VAR.
22428 { eval $1=; unset $1;}
22430 as_unset
=as_fn_unset
22431 # as_fn_append VAR VALUE
22432 # ----------------------
22433 # Append the text in VALUE to the end of the definition contained in VAR. Take
22434 # advantage of any shell optimizations that allow amortized linear growth over
22435 # repeated appends, instead of the typical quadratic growth present in naive
22437 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22438 eval 'as_fn_append ()
22449 # as_fn_arith ARG...
22450 # ------------------
22451 # Perform arithmetic evaluation on the ARGs, and store the result in the
22452 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22453 # must be portable across $(()) and expr.
22454 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22455 eval 'as_fn_arith ()
22462 as_val
=`expr "$@" || test $? -eq 1`
22467 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22468 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22474 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22475 as_basename
=basename
22480 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22486 as_me
=`$as_basename -- "$0" ||
22487 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22488 X"$0" : 'X\(//\)$' \| \
22489 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22491 sed '/^.*\/\([^/][^/]*\)\/*$/{
22505 # Avoid depending upon Character Ranges.
22506 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22507 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22508 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22509 as_cr_digits
='0123456789'
22510 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22512 ECHO_C
= ECHO_N
= ECHO_T
=
22513 case `echo -n x` in #(((((
22515 case `echo 'xy\c'` in
22516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22525 rm -f conf$$ conf$$.exe conf$$.
file
22526 if test -d conf$$.dir
; then
22527 rm -f conf$$.dir
/conf$$.
file
22530 mkdir conf$$.dir
2>/dev
/null
22532 if (echo >conf$$.
file) 2>/dev
/null
; then
22533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22535 # ... but there are two gotchas:
22536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22538 # In both cases, we have to default to `cp -pR'.
22539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
22541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22550 rmdir conf$$.dir
2>/dev
/null
22555 # Create "$as_dir" as a directory, including parents if necessary.
22560 -*) as_dir
=.
/$as_dir;;
22562 test -d "$as_dir" || eval $as_mkdir_p || {
22566 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22567 *) as_qdir
=$as_dir;;
22569 as_dirs
="'$as_qdir' $as_dirs"
22570 as_dir
=`$as_dirname -- "$as_dir" ||
22571 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22572 X"$as_dir" : 'X\(//\)[^/]' \| \
22573 X"$as_dir" : 'X\(//\)$' \| \
22574 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22575 $as_echo X"$as_dir" |
22576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22580 /^X\(\/\/\)[^/].*/{
22593 test -d "$as_dir" && break
22595 test -z "$as_dirs" || eval "mkdir $as_dirs"
22596 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22600 if mkdir -p .
2>/dev
/null
; then
22601 as_mkdir_p
='mkdir -p "$as_dir"'
22603 test -d .
/-p && rmdir .
/-p
22608 # as_fn_executable_p FILE
22609 # -----------------------
22610 # Test if FILE is an executable regular file.
22611 as_fn_executable_p
()
22613 test -f "$1" && test -x "$1"
22614 } # as_fn_executable_p
22615 as_test_x
='test -x'
22616 as_executable_p
=as_fn_executable_p
22618 # Sed expression to map a string onto a valid CPP name.
22619 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22621 # Sed expression to map a string onto a valid variable name.
22622 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22626 ## ----------------------------------- ##
22627 ## Main body of $CONFIG_STATUS script. ##
22628 ## ----------------------------------- ##
22630 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22632 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22633 # Save the log message, to keep $0 and so on meaningful, and to
22634 # report actual input values of CONFIG_FILES etc. instead of their
22635 # values after options handling.
22637 This file was extended by Cycript $as_me 0.9, which was
22638 generated by GNU Autoconf 2.69. Invocation command line was
22640 CONFIG_FILES = $CONFIG_FILES
22641 CONFIG_HEADERS = $CONFIG_HEADERS
22642 CONFIG_LINKS = $CONFIG_LINKS
22643 CONFIG_COMMANDS = $CONFIG_COMMANDS
22646 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22651 case $ac_config_files in *"
22652 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22658 # Files that config.status was made for.
22659 config_files="$ac_config_files"
22660 config_commands="$ac_config_commands"
22664 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22666 \`$as_me' instantiates files and other configuration actions
22667 from templates according to the current configuration. Unless the files
22668 and actions are specified as TAGs, all are instantiated by default.
22670 Usage: $0 [OPTION]... [TAG]...
22672 -h, --help print this help, then exit
22673 -V, --version print version number and configuration settings, then exit
22674 --config print configuration, then exit
22675 -q, --quiet, --silent
22676 do not print progress messages
22677 -d, --debug don't remove temporary files
22678 --recheck update $as_me by reconfiguring in the same conditions
22679 --file=FILE[:TEMPLATE]
22680 instantiate the configuration file FILE
22682 Configuration files:
22685 Configuration commands:
22688 Report bugs to <saurik@saurik.com>.
22689 Cycript home page: <http://www.cycript.org/>."
22692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22693 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22695 Cycript config.status 0.9
22696 configured by $0, generated by GNU Autoconf 2.69,
22697 with options \\"\$ac_cs_config\\"
22699 Copyright (C) 2012 Free Software Foundation, Inc.
22700 This config.status script is free software; the Free Software Foundation
22701 gives unlimited permission to copy, distribute and modify it."
22708 test -n "\$AWK" || AWK=awk
22711 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22712 # The default lists apply if the user does not specify any file.
22718 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22719 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22723 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22735 # Handling of the options.
22736 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22738 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22739 $as_echo "$ac_cs_version"; exit ;;
22740 --config | --confi | --conf | --con | --co | --c )
22741 $as_echo "$ac_cs_config"; exit ;;
22742 --debug | --debu | --deb | --de | --d | -d )
22744 --file | --fil | --fi | --f )
22747 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22748 '') as_fn_error $?
"missing file argument" ;;
22750 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22751 ac_need_defaults
=false
;;
22752 --he | --h | --help | --hel | -h )
22753 $as_echo "$ac_cs_usage"; exit ;;
22754 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22755 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22758 # This is an error.
22759 -*) as_fn_error $?
"unrecognized option: \`$1'
22760 Try \`$0 --help' for more information." ;;
22762 *) as_fn_append ac_config_targets
" $1"
22763 ac_need_defaults
=false
;;
22769 ac_configure_extra_args
=
22771 if $ac_cs_silent; then
22773 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22778 if \$ac_cs_recheck; then
22779 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22781 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22782 CONFIG_SHELL='$SHELL'
22783 export CONFIG_SHELL
22788 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22792 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22793 ## Running $as_me. ##
22799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22803 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22806 # The HP-UX ksh and POSIX shell print the target directory to stdout
22807 # if CDPATH is set.
22808 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22810 sed_quote_subst='$sed_quote_subst'
22811 double_quote_subst='$double_quote_subst'
22812 delay_variable_subst='$delay_variable_subst'
22813 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22814 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22815 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22816 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22817 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22818 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22819 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22820 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22821 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22822 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22823 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22824 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22825 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22826 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22827 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22828 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22829 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22830 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22831 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22832 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22833 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22834 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22835 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22836 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22837 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22838 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22839 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22840 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22841 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22842 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22843 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22844 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22845 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22846 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22847 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22848 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22849 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22850 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22851 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22852 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22853 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22854 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22855 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22856 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22857 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22858 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22859 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22860 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22861 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22862 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22863 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22864 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22865 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22866 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22867 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22868 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22869 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"`'
22870 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22871 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22872 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22873 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22874 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22875 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22876 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22877 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22878 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22879 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22880 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22881 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22882 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22883 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22884 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22885 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22886 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22887 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22888 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22889 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22890 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22891 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22892 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22893 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22894 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22895 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22896 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22897 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22898 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22899 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22900 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22901 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22902 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22903 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22904 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22905 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22906 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22907 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22908 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22909 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22910 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22911 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22912 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22913 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22914 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22915 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22916 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22917 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22918 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22919 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22920 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22921 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22922 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22923 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22924 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22925 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22926 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22927 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22928 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22929 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22930 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22931 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22932 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22933 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22934 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22935 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22936 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22937 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22938 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22939 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22940 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22941 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22942 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22943 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22944 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22945 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22946 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22947 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22948 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22949 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22950 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22951 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22952 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22953 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22954 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22955 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22956 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22957 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22958 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22959 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22960 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22961 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22962 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22963 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22964 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22965 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22966 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22967 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22968 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22969 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22970 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22971 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22972 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22973 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22974 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22975 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22976 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22977 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22978 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22979 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22980 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22981 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22982 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22983 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22984 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22985 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22986 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22987 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22988 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22989 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22990 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22991 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22992 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22993 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22994 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22995 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22996 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22999 LTCFLAGS='$LTCFLAGS'
23000 compiler='$compiler_DEFAULT'
23002 # A function that is used when there is no print builtin or printf.
23003 func_fallback_echo ()
23005 eval 'cat <<_LTECHO_EOF
23010 # Quote evaled strings.
23025 deplibs_check_method \
23030 sharedlib_from_linklib_cmd \
23033 archiver_list_spec \
23039 lt_cv_sys_global_symbol_pipe \
23040 lt_cv_sys_global_symbol_to_cdecl \
23041 lt_cv_sys_global_symbol_to_c_name_address \
23042 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23043 nm_file_list_spec \
23044 lt_prog_compiler_no_builtin_flag \
23045 lt_prog_compiler_pic \
23046 lt_prog_compiler_wl \
23047 lt_prog_compiler_static \
23048 lt_cv_prog_compiler_c_o \
23057 export_dynamic_flag_spec \
23058 whole_archive_flag_spec \
23059 compiler_needs_object \
23061 allow_undefined_flag \
23062 no_undefined_flag \
23063 hardcode_libdir_flag_spec \
23064 hardcode_libdir_separator \
23068 variables_saved_for_relink \
23070 library_names_spec \
23072 install_override_mode \
23076 compiler_lib_search_dirs \
23081 compiler_lib_search_path \
23085 lt_prog_compiler_no_builtin_flag_CXX \
23086 lt_prog_compiler_pic_CXX \
23087 lt_prog_compiler_wl_CXX \
23088 lt_prog_compiler_static_CXX \
23089 lt_cv_prog_compiler_c_o_CXX \
23090 export_dynamic_flag_spec_CXX \
23091 whole_archive_flag_spec_CXX \
23092 compiler_needs_object_CXX \
23094 allow_undefined_flag_CXX \
23095 no_undefined_flag_CXX \
23096 hardcode_libdir_flag_spec_CXX \
23097 hardcode_libdir_separator_CXX \
23098 exclude_expsyms_CXX \
23099 include_expsyms_CXX \
23100 file_list_spec_CXX \
23101 compiler_lib_search_dirs_CXX \
23102 predep_objects_CXX \
23103 postdep_objects_CXX \
23106 compiler_lib_search_path_CXX; do
23107 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23108 *[\\\\\\\`\\"\\\$]*)
23109 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23112 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23117 # Double-quote double-evaled strings.
23118 for var in reload_cmds \
23119 old_postinstall_cmds \
23120 old_postuninstall_cmds \
23122 extract_expsyms_cmds \
23123 old_archive_from_new_cmds \
23124 old_archive_from_expsyms_cmds \
23126 archive_expsym_cmds \
23128 module_expsym_cmds \
23129 export_symbols_cmds \
23133 postuninstall_cmds \
23135 sys_lib_search_path_spec \
23136 sys_lib_dlsearch_path_spec \
23138 old_archive_cmds_CXX \
23139 old_archive_from_new_cmds_CXX \
23140 old_archive_from_expsyms_cmds_CXX \
23142 archive_expsym_cmds_CXX \
23144 module_expsym_cmds_CXX \
23145 export_symbols_cmds_CXX \
23147 postlink_cmds_CXX; do
23148 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23149 *[\\\\\\\`\\"\\\$]*)
23150 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23153 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23158 ac_aux_dir='$ac_aux_dir'
23159 xsi_shell='$xsi_shell'
23160 lt_shell_append='$lt_shell_append'
23162 # See if we are running on zsh, and set the options which allow our
23163 # commands through without removal of \ escapes INIT.
23164 if test -n "\${ZSH_VERSION+set}" ; then
23165 setopt NO_GLOB_SUBST
23171 TIMESTAMP='$TIMESTAMP'
23182 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23184 # Handling of arguments.
23185 for ac_config_target
in $ac_config_targets
23187 case $ac_config_target in
23188 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23189 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23190 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23192 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23197 # If the user did not use the arguments to specify the items to instantiate,
23198 # then the envvar interface is used. Set only those that are not.
23199 # We use the long form for the default assignment because of an extremely
23200 # bizarre bug on SunOS 4.1.3.
23201 if $ac_need_defaults; then
23202 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23203 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23206 # Have a temporary directory for convenience. Make it in the build tree
23207 # simply because there is no reason against having it here, and in addition,
23208 # creating and moving files from /tmp can sometimes cause problems.
23209 # Hook for its removal unless debugging.
23210 # Note that there is a small window in which the directory will not be cleaned:
23211 # after its creation but before its name has been assigned to `$tmp'.
23215 trap 'exit_status=$?
23216 : "${ac_tmp:=$tmp}"
23217 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23219 trap 'as_fn_exit 1' 1 2 13 15
23221 # Create a (secure) tmp directory for tmp files.
23224 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23228 tmp
=.
/conf$$
-$RANDOM
23229 (umask 077 && mkdir "$tmp")
23230 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23233 # Set up the scripts for CONFIG_FILES section.
23234 # No need to generate them if there are no CONFIG_FILES.
23235 # This happens for instance with `./config.status config.h'.
23236 if test -n "$CONFIG_FILES"; then
23239 ac_cr
=`echo X | tr X '\015'`
23240 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23241 # But we know of no other shell where ac_cr would be empty at this
23242 # point, so we can use a bashism as a fallback.
23243 if test "x$ac_cr" = x
; then
23244 eval ac_cr
=\$
\'\\r
\'
23246 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23247 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23250 ac_cs_awk_cr
=$ac_cr
23253 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23258 echo "cat >conf$$subs.awk <<_ACEOF" &&
23259 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23261 } >conf$$subs.sh ||
23262 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23263 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23265 for ac_last_try in false false false false false :; do
23266 . ./conf$$subs.sh ||
23267 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23269 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23270 if test $ac_delim_n = $ac_delim_num; then
23272 elif $ac_last_try; then
23273 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23275 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23278 rm -f conf$$subs.sh
23280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23281 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23285 s/^/S["/; s
/!.
*/"]=/
23295 s/\(.\{148\}\)..*/\1/
23297 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23302 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23309 s/\(.\{148\}\)..*/\1/
23311 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23315 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23320 ' <conf$$subs.awk | sed '
23325 ' >>$CONFIG_STATUS || ac_write_fail=1
23326 rm -f conf$$subs.awk
23327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23329 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23330 for (key in S) S_is_set[key] = 1
23336 nfields = split(line, field, "@
")
23338 len = length(field[1])
23339 for (i = 2; i < nfields; i++) {
23341 keylen = length(key)
23342 if (S_is_set[key]) {
23344 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23345 len += length(value) + length(field[++i])
23356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23357 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23358 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23361 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23362 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23365 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23366 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23367 # trailing colons and then remove the whole line if VPATH becomes empty
23368 # (actually we leave an empty line to preserve line numbers).
23369 if test "x
$srcdir" = x.; then
23370 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23389 fi # test -n "$CONFIG_FILES"
23392 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
23397 :[FHLC]) ac_mode=$ac_tag; continue;;
23399 case $ac_mode$ac_tag in
23401 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
23402 :[FH]-) ac_tag=-:-;;
23403 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23420 -) ac_f="$ac_tmp/stdin";;
23421 *) # Look for the file first in the build tree, then in the source tree
23422 # (if the path is not absolute). The absolute path cannot be DOS-style,
23423 # because $ac_f cannot contain `:'.
23427 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23429 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23431 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
23432 as_fn_append ac_file_inputs " '$ac_f'"
23435 # Let's still pretend it is `configure' which instantiates (i.e., don't
23436 # use $as_me), people would be surprised to read:
23437 # /* config.h. Generated by config.status. */
23438 configure_input='Generated from '`
23439 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23441 if test x"$ac_file" != x-; then
23442 configure_input="$ac_file.
$configure_input"
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
23444 $as_echo "$as_me: creating
$ac_file" >&6;}
23446 # Neutralize special characters interpreted by sed in replacement strings.
23447 case $configure_input in #(
23448 *\&* | *\|* | *\\* )
23449 ac_sed_conf_input=`$as_echo "$configure_input" |
23450 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23451 *) ac_sed_conf_input=$configure_input;;
23455 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
23456 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
23461 ac_dir=`$as_dirname -- "$ac_file" ||
23462 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23463 X"$ac_file" : 'X\(//\)[^/]' \| \
23464 X"$ac_file" : 'X\(//\)$' \| \
23465 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23466 $as_echo X"$ac_file" |
23467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23471 /^X\(\/\/\)[^/].*/{
23484 as_dir="$ac_dir"; as_fn_mkdir_p
23488 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23490 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23491 # A "..
" for each directory in $ac_dir_suffix.
23492 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23493 case $ac_top_builddir_sub in
23494 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23495 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23498 ac_abs_top_builddir=$ac_pwd
23499 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23500 # for backward compatibility:
23501 ac_top_builddir=$ac_top_build_prefix
23504 .) # We are building in place.
23506 ac_top_srcdir=$ac_top_builddir_sub
23507 ac_abs_top_srcdir=$ac_pwd ;;
23508 [\\/]* | ?:[\\/]* ) # Absolute name.
23509 ac_srcdir=$srcdir$ac_dir_suffix;
23510 ac_top_srcdir=$srcdir
23511 ac_abs_top_srcdir=$srcdir ;;
23512 *) # Relative name.
23513 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23514 ac_top_srcdir=$ac_top_build_prefix$srcdir
23515 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23517 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23527 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23528 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23530 ac_MKDIR_P=$MKDIR_P
23532 [\\/$]* | ?:[\\/]* ) ;;
23533 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23538 # If the template does not know about datarootdir, expand it.
23539 # FIXME: This hack should be removed a few years after 2.60.
23540 ac_datarootdir_hack=; ac_datarootdir_seen=
23551 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
23552 *datarootdir*) ac_datarootdir_seen=yes;;
23553 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
23555 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
23557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23558 ac_datarootdir_hack='
23559 s&@datadir@&$datadir&g
23560 s&@docdir@&$docdir&g
23561 s&@infodir@&$infodir&g
23562 s&@localedir@&$localedir&g
23563 s&@mandir@&$mandir&g
23564 s&\\\${datarootdir}&$datarootdir&g' ;;
23568 # Neutralize VPATH when `$srcdir' = `.'.
23569 # Shell code in configure.ac might set extrasub.
23570 # FIXME: do we really want to maintain this feature?
23571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23572 ac_sed_extra="$ac_vpsub
23575 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23577 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
23578 s
|@configure_input@
|$ac_sed_conf_input|;t t
23579 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23580 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23581 s
&@srcdir@
&$ac_srcdir&;t t
23582 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23583 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23584 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23585 s
&@builddir@
&$ac_builddir&;t t
23586 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23587 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23588 s
&@INSTALL@
&$ac_INSTALL&;t t
23589 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23590 $ac_datarootdir_hack
23592 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23593 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23595 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23596 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23597 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23598 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23600 which seems to be undefined. Please make sure it is defined" >&5
23601 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23602 which seems to be undefined. Please make sure it is defined" >&2;}
23604 rm -f "$ac_tmp/stdin"
23606 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23607 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23609 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23613 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23614 $as_echo "$as_me: executing $ac_file commands" >&6;}
23619 case $ac_file$ac_mode in
23620 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23621 # Older Autoconf quotes --file arguments for eval, but not when files
23622 # are listed without --file. Let's play safe and only
enable the
eval
23623 # if we detect the quoting.
23624 case $CONFIG_FILES in
23625 *\'*) eval set x
"$CONFIG_FILES" ;;
23626 *) set x
$CONFIG_FILES ;;
23631 # Strip MF so we end up with the name of the file.
23632 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23633 # Check whether this is an Automake generated Makefile or not.
23634 # We used to match only the files named 'Makefile.in', but
23635 # some people rename them; so instead we look at the file content.
23636 # Grep'ing the first line is not enough: some people post-process
23637 # each Makefile.in and add a new line on top of each file to say so.
23638 # Grep'ing the whole file is not good either: AIX grep has a line
23639 # limit of 2048, but all sed's we know have understand at least 4000.
23640 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23641 dirpart
=`$as_dirname -- "$mf" ||
23642 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23643 X"$mf" : 'X\(//\)[^/]' \| \
23644 X"$mf" : 'X\(//\)$' \| \
23645 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23651 /^X\(\/\/\)[^/].*/{
23667 # Extract the definition of DEPDIR, am__include, and am__quote
23668 # from the Makefile without running 'make'.
23669 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23670 test -z "$DEPDIR" && continue
23671 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23672 test -z "am__include" && continue
23673 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23674 # Find all dependency output files, they are included files with
23675 # $(DEPDIR) in their names. We invoke sed twice because it is the
23676 # simplest approach to changing $(DEPDIR) to its actual value in the
23678 for file in `sed -n "
23679 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23680 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23681 # Make sure the directory exists.
23682 test -f "$dirpart/$file" && continue
23683 fdir
=`$as_dirname -- "$file" ||
23684 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23685 X"$file" : 'X\(//\)[^/]' \| \
23686 X"$file" : 'X\(//\)$' \| \
23687 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23688 $as_echo X"$file" |
23689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23693 /^X\(\/\/\)[^/].*/{
23706 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23707 # echo "creating $dirpart/$file"
23708 echo '# dummy' > "$dirpart/$file"
23715 # See if we are running on zsh, and set the options which allow our
23716 # commands through without removal of \ escapes.
23717 if test -n "${ZSH_VERSION+set}" ; then
23718 setopt NO_GLOB_SUBST
23721 cfgfile
="${ofile}T"
23722 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23725 cat <<_LT_EOF >> "$cfgfile"
23728 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23729 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23730 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23731 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23733 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23734 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23736 # Written by Gordon Matzigkeit, 1996
23738 # This file is part of GNU Libtool.
23740 # GNU Libtool is free software; you can redistribute it and/or
23741 # modify it under the terms of the GNU General Public License as
23742 # published by the Free Software Foundation; either version 2 of
23743 # the License, or (at your option) any later version.
23745 # As a special exception to the GNU General Public License,
23746 # if you distribute this file as part of a program or library that
23747 # is built using GNU Libtool, you may include this file under the
23748 # same distribution terms that you use for the rest of that program.
23750 # GNU Libtool is distributed in the hope that it will be useful,
23751 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23752 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23753 # GNU General Public License for more details.
23755 # You should have received a copy of the GNU General Public License
23756 # along with GNU Libtool; see the file COPYING. If not, a copy
23757 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23758 # obtained by writing to the Free Software Foundation, Inc.,
23759 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23762 # The names of the tagged configurations supported by this script.
23763 available_tags="CXX "
23765 # ### BEGIN LIBTOOL CONFIG
23767 # Which release of libtool.m4 was used?
23768 macro_version=$macro_version
23769 macro_revision=$macro_revision
23771 # Whether or not to build static libraries.
23772 build_old_libs=$enable_static
23774 # Whether or not to build shared libraries.
23775 build_libtool_libs=$enable_shared
23777 # What type of objects to build.
23780 # Whether or not to optimize for fast installation.
23781 fast_install=$enable_fast_install
23783 # Shell to use when invoking shell scripts.
23786 # An echo program that protects backslashes.
23789 # The PATH separator for the build system.
23790 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23793 host_alias=$host_alias
23797 # The build system.
23798 build_alias=$build_alias
23802 # A sed program that does not truncate output.
23805 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23806 Xsed="\$SED -e 1s/^X//"
23808 # A grep program that handles long lines.
23814 # A literal string matcher.
23817 # A BSD- or MS-compatible name lister.
23820 # Whether we need soft or hard links.
23823 # What is the maximum length of a command?
23824 max_cmd_len=$max_cmd_len
23826 # Object file suffix (normally "o").
23829 # Executable file suffix (normally "").
23832 # whether the shell understands "unset".
23835 # turn spaces into newlines.
23838 # turn newlines into spaces.
23841 # convert \$build file names to \$host format.
23842 to_host_file_cmd=$lt_cv_to_host_file_cmd
23844 # convert \$build files to toolchain format.
23845 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23847 # An object symbol dumper.
23848 OBJDUMP=$lt_OBJDUMP
23850 # Method to check whether dependent libraries are shared objects.
23851 deplibs_check_method=$lt_deplibs_check_method
23853 # Command to use when deplibs_check_method = "file_magic".
23854 file_magic_cmd=$lt_file_magic_cmd
23856 # How to find potential files when deplibs_check_method = "file_magic".
23857 file_magic_glob=$lt_file_magic_glob
23859 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23860 want_nocaseglob=$lt_want_nocaseglob
23862 # DLL creation program.
23863 DLLTOOL=$lt_DLLTOOL
23865 # Command to associate shared and link libraries.
23866 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23871 # Flags to create an archive.
23872 AR_FLAGS=$lt_AR_FLAGS
23874 # How to feed a file listing to the archiver.
23875 archiver_list_spec=$lt_archiver_list_spec
23877 # A symbol stripping program.
23880 # Commands used to install an old-style archive.
23882 old_postinstall_cmds=$lt_old_postinstall_cmds
23883 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23885 # Whether to use a lock for old archive extraction.
23886 lock_old_archive_extraction=$lock_old_archive_extraction
23891 # LTCC compiler flags.
23892 LTCFLAGS=$lt_CFLAGS
23894 # Take the output of nm and produce a listing of raw symbols and C names.
23895 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23897 # Transform the output of nm in a proper C declaration.
23898 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23900 # Transform the output of nm in a C name address pair.
23901 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23903 # Transform the output of nm in a C name address pair when lib prefix is needed.
23904 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23906 # Specify filename containing input files for \$NM.
23907 nm_file_list_spec=$lt_nm_file_list_spec
23909 # The root where to search for dependent libraries,and in which our libraries should be installed.
23910 lt_sysroot=$lt_sysroot
23912 # The name of the directory that contains temporary libtool files.
23915 # Used to examine libraries when file_magic_cmd begins with "file".
23916 MAGIC_CMD=$MAGIC_CMD
23918 # Must we lock files when doing compilation?
23919 need_locks=$lt_need_locks
23922 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23924 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23925 DSYMUTIL=$lt_DSYMUTIL
23927 # Tool to change global to local symbols on Mac OS X.
23930 # Tool to manipulate fat objects and archives on Mac OS X.
23933 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23936 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23937 OTOOL64=$lt_OTOOL64
23939 # Old archive suffix (normally "a").
23942 # Shared library suffix (normally ".so").
23943 shrext_cmds=$lt_shrext_cmds
23945 # The commands to extract the exported symbol list from a shared archive.
23946 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23948 # Variables whose values should be saved in libtool wrapper scripts and
23949 # restored at link time.
23950 variables_saved_for_relink=$lt_variables_saved_for_relink
23952 # Do we need the "lib" prefix for modules?
23953 need_lib_prefix=$need_lib_prefix
23955 # Do we need a version for libraries?
23956 need_version=$need_version
23958 # Library versioning type.
23959 version_type=$version_type
23961 # Shared library runtime path variable.
23962 runpath_var=$runpath_var
23964 # Shared library path variable.
23965 shlibpath_var=$shlibpath_var
23967 # Is shlibpath searched before the hard-coded library search path?
23968 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23970 # Format of library name prefix.
23971 libname_spec=$lt_libname_spec
23973 # List of archive names. First name is the real one, the rest are links.
23974 # The last name is the one that the linker finds with -lNAME
23975 library_names_spec=$lt_library_names_spec
23977 # The coded name of the library, if different from the real name.
23978 soname_spec=$lt_soname_spec
23980 # Permission mode override for installation of shared libraries.
23981 install_override_mode=$lt_install_override_mode
23983 # Command to use after installation of a shared archive.
23984 postinstall_cmds=$lt_postinstall_cmds
23986 # Command to use after uninstallation of a shared archive.
23987 postuninstall_cmds=$lt_postuninstall_cmds
23989 # Commands used to finish a libtool library installation in a directory.
23990 finish_cmds=$lt_finish_cmds
23992 # As "finish_cmds", except a single script fragment to be evaled but
23994 finish_eval=$lt_finish_eval
23996 # Whether we should hardcode library paths into libraries.
23997 hardcode_into_libs=$hardcode_into_libs
23999 # Compile-time system search path for libraries.
24000 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24002 # Run-time system search path for libraries.
24003 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24005 # Whether dlopen is supported.
24006 dlopen_support=$enable_dlopen
24008 # Whether dlopen of programs is supported.
24009 dlopen_self=$enable_dlopen_self
24011 # Whether dlopen of statically linked programs is supported.
24012 dlopen_self_static=$enable_dlopen_self_static
24014 # Commands to strip libraries.
24015 old_striplib=$lt_old_striplib
24016 striplib=$lt_striplib
24019 # The linker used to build libraries.
24022 # How to create reloadable object files.
24023 reload_flag=$lt_reload_flag
24024 reload_cmds=$lt_reload_cmds
24026 # Commands used to build an old-style archive.
24027 old_archive_cmds=$lt_old_archive_cmds
24029 # A language specific compiler.
24032 # Is the compiler the GNU compiler?
24035 # Compiler flag to turn off builtin functions.
24036 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24038 # Additional compiler flags for building library objects.
24039 pic_flag=$lt_lt_prog_compiler_pic
24041 # How to pass a linker flag through the compiler.
24042 wl=$lt_lt_prog_compiler_wl
24044 # Compiler flag to prevent dynamic linking.
24045 link_static_flag=$lt_lt_prog_compiler_static
24047 # Does compiler simultaneously support -c and -o options?
24048 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24050 # Whether or not to add -lc for building shared libraries.
24051 build_libtool_need_lc=$archive_cmds_need_lc
24053 # Whether or not to disallow shared libs when runtime libs are static.
24054 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24056 # Compiler flag to allow reflexive dlopens.
24057 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24059 # Compiler flag to generate shared objects directly from archives.
24060 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24062 # Whether the compiler copes with passing no objects directly.
24063 compiler_needs_object=$lt_compiler_needs_object
24065 # Create an old-style archive from a shared archive.
24066 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24068 # Create a temporary old-style archive to link instead of a shared archive.
24069 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24071 # Commands used to build a shared archive.
24072 archive_cmds=$lt_archive_cmds
24073 archive_expsym_cmds=$lt_archive_expsym_cmds
24075 # Commands used to build a loadable module if different from building
24076 # a shared archive.
24077 module_cmds=$lt_module_cmds
24078 module_expsym_cmds=$lt_module_expsym_cmds
24080 # Whether we are building with GNU ld or not.
24081 with_gnu_ld=$lt_with_gnu_ld
24083 # Flag that allows shared libraries with undefined symbols to be built.
24084 allow_undefined_flag=$lt_allow_undefined_flag
24086 # Flag that enforces no undefined symbols.
24087 no_undefined_flag=$lt_no_undefined_flag
24089 # Flag to hardcode \$libdir into a binary during linking.
24090 # This must work even if \$libdir does not exist
24091 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24093 # Whether we need a single "-rpath" flag with a separated argument.
24094 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24096 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24097 # DIR into the resulting binary.
24098 hardcode_direct=$hardcode_direct
24100 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24101 # DIR into the resulting binary and the resulting library dependency is
24102 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24103 # library is relocated.
24104 hardcode_direct_absolute=$hardcode_direct_absolute
24106 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24107 # into the resulting binary.
24108 hardcode_minus_L=$hardcode_minus_L
24110 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24111 # into the resulting binary.
24112 hardcode_shlibpath_var=$hardcode_shlibpath_var
24114 # Set to "yes" if building a shared library automatically hardcodes DIR
24115 # into the library and all subsequent libraries and executables linked
24117 hardcode_automatic=$hardcode_automatic
24119 # Set to yes if linker adds runtime paths of dependent libraries
24120 # to runtime path list.
24121 inherit_rpath=$inherit_rpath
24123 # Whether libtool must link a program against all its dependency libraries.
24124 link_all_deplibs=$link_all_deplibs
24126 # Set to "yes" if exported symbols are required.
24127 always_export_symbols=$always_export_symbols
24129 # The commands to list exported symbols.
24130 export_symbols_cmds=$lt_export_symbols_cmds
24132 # Symbols that should not be listed in the preloaded symbols.
24133 exclude_expsyms=$lt_exclude_expsyms
24135 # Symbols that must always be exported.
24136 include_expsyms=$lt_include_expsyms
24138 # Commands necessary for linking programs (against libraries) with templates.
24139 prelink_cmds=$lt_prelink_cmds
24141 # Commands necessary for finishing linking programs.
24142 postlink_cmds=$lt_postlink_cmds
24144 # Specify filename containing input files.
24145 file_list_spec=$lt_file_list_spec
24147 # How to hardcode a shared library path into an executable.
24148 hardcode_action=$hardcode_action
24150 # The directories searched by this compiler when creating a shared library.
24151 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24153 # Dependencies to place before and after the objects being linked to
24154 # create a shared library.
24155 predep_objects=$lt_predep_objects
24156 postdep_objects=$lt_postdep_objects
24157 predeps=$lt_predeps
24158 postdeps=$lt_postdeps
24160 # The library search path used internally by the compiler when linking
24161 # a shared library.
24162 compiler_lib_search_path=$lt_compiler_lib_search_path
24164 # ### END LIBTOOL CONFIG
24170 cat <<\_LT_EOF
>> "$cfgfile"
24171 # AIX sometimes has problems with the GCC collect2 program. For some
24172 # reason, if we set the COLLECT_NAMES environment variable, the problems
24173 # vanish in a puff of smoke.
24174 if test "X${COLLECT_NAMES+set}" != Xset
; then
24176 export COLLECT_NAMES
24183 ltmain
="$ac_aux_dir/ltmain.sh"
24186 # We use sed instead of cat because bash on DJGPP gets confused if
24187 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24188 # text mode, it properly converts lines to CR/LF. This bash problem
24189 # is reportedly fixed, but why not run on old versions too?
24190 sed '$q' "$ltmain" >> "$cfgfile" \
24191 || (rm -f "$cfgfile"; exit 1)
24193 if test x
"$xsi_shell" = xyes
; then
24194 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
24198 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24199 \ * ) func_dirname_result="${3}" ;;\
24201 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
24202 && mv -f "$cfgfile.tmp" "$cfgfile" \
24203 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24204 test 0 -eq $?
|| _lt_function_replace_fail
=:
24207 sed -e '/^func_basename ()$/,/^} # func_basename /c\
24210 \ func_basename_result="${1##*/}"\
24211 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
24212 && mv -f "$cfgfile.tmp" "$cfgfile" \
24213 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24214 test 0 -eq $?
|| _lt_function_replace_fail
=:
24217 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
24218 func_dirname_and_basename ()\
24221 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24222 \ * ) func_dirname_result="${3}" ;;\
24224 \ func_basename_result="${1##*/}"\
24225 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
24226 && mv -f "$cfgfile.tmp" "$cfgfile" \
24227 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24228 test 0 -eq $?
|| _lt_function_replace_fail
=:
24231 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
24234 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
24235 \ # positional parameters, so assign one to ordinary parameter first.\
24236 \ func_stripname_result=${3}\
24237 \ func_stripname_result=${func_stripname_result#"${1}"}\
24238 \ func_stripname_result=${func_stripname_result%"${2}"}\
24239 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
24240 && mv -f "$cfgfile.tmp" "$cfgfile" \
24241 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24242 test 0 -eq $?
|| _lt_function_replace_fail
=:
24245 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
24246 func_split_long_opt ()\
24248 \ func_split_long_opt_name=${1%%=*}\
24249 \ func_split_long_opt_arg=${1#*=}\
24250 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
24251 && mv -f "$cfgfile.tmp" "$cfgfile" \
24252 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24253 test 0 -eq $?
|| _lt_function_replace_fail
=:
24256 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
24257 func_split_short_opt ()\
24259 \ func_split_short_opt_arg=${1#??}\
24260 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
24261 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
24262 && mv -f "$cfgfile.tmp" "$cfgfile" \
24263 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24264 test 0 -eq $?
|| _lt_function_replace_fail
=:
24267 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
24271 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
24272 \ *) func_lo2o_result=${1} ;;\
24274 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
24275 && mv -f "$cfgfile.tmp" "$cfgfile" \
24276 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24277 test 0 -eq $?
|| _lt_function_replace_fail
=:
24280 sed -e '/^func_xform ()$/,/^} # func_xform /c\
24283 func_xform_result=${1%.*}.lo\
24284 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
24285 && mv -f "$cfgfile.tmp" "$cfgfile" \
24286 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24287 test 0 -eq $?
|| _lt_function_replace_fail
=:
24290 sed -e '/^func_arith ()$/,/^} # func_arith /c\
24293 func_arith_result=$(( $* ))\
24294 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
24295 && mv -f "$cfgfile.tmp" "$cfgfile" \
24296 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24297 test 0 -eq $?
|| _lt_function_replace_fail
=:
24300 sed -e '/^func_len ()$/,/^} # func_len /c\
24303 func_len_result=${#1}\
24304 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
24305 && mv -f "$cfgfile.tmp" "$cfgfile" \
24306 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24307 test 0 -eq $?
|| _lt_function_replace_fail
=:
24311 if test x
"$lt_shell_append" = xyes
; then
24312 sed -e '/^func_append ()$/,/^} # func_append /c\
24315 eval "${1}+=\\${2}"\
24316 } # Extended-shell func_append implementation' "$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
=:
24322 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
24323 func_append_quoted ()\
24325 \ func_quote_for_eval "${2}"\
24326 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
24327 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
24328 && mv -f "$cfgfile.tmp" "$cfgfile" \
24329 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24330 test 0 -eq $?
|| _lt_function_replace_fail
=:
24333 # Save a `func_append' function call where possible by direct use of '+='
24334 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
24335 && mv -f "$cfgfile.tmp" "$cfgfile" \
24336 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24337 test 0 -eq $?
|| _lt_function_replace_fail
=:
24339 # Save a `func_append' function call even when '+=' is not available
24340 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
24341 && mv -f "$cfgfile.tmp" "$cfgfile" \
24342 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24343 test 0 -eq $?
|| _lt_function_replace_fail
=:
24346 if test x
"$_lt_function_replace_fail" = x
":"; then
24347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
24348 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
24352 mv -f "$cfgfile" "$ofile" ||
24353 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24357 cat <<_LT_EOF >> "$ofile"
24359 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24361 # The linker used to build libraries.
24364 # How to create reloadable object files.
24365 reload_flag=$lt_reload_flag_CXX
24366 reload_cmds=$lt_reload_cmds_CXX
24368 # Commands used to build an old-style archive.
24369 old_archive_cmds=$lt_old_archive_cmds_CXX
24371 # A language specific compiler.
24372 CC=$lt_compiler_CXX
24374 # Is the compiler the GNU compiler?
24377 # Compiler flag to turn off builtin functions.
24378 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24380 # Additional compiler flags for building library objects.
24381 pic_flag=$lt_lt_prog_compiler_pic_CXX
24383 # How to pass a linker flag through the compiler.
24384 wl=$lt_lt_prog_compiler_wl_CXX
24386 # Compiler flag to prevent dynamic linking.
24387 link_static_flag=$lt_lt_prog_compiler_static_CXX
24389 # Does compiler simultaneously support -c and -o options?
24390 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24392 # Whether or not to add -lc for building shared libraries.
24393 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24395 # Whether or not to disallow shared libs when runtime libs are static.
24396 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24398 # Compiler flag to allow reflexive dlopens.
24399 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24401 # Compiler flag to generate shared objects directly from archives.
24402 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24404 # Whether the compiler copes with passing no objects directly.
24405 compiler_needs_object=$lt_compiler_needs_object_CXX
24407 # Create an old-style archive from a shared archive.
24408 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24410 # Create a temporary old-style archive to link instead of a shared archive.
24411 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24413 # Commands used to build a shared archive.
24414 archive_cmds=$lt_archive_cmds_CXX
24415 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24417 # Commands used to build a loadable module if different from building
24418 # a shared archive.
24419 module_cmds=$lt_module_cmds_CXX
24420 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24422 # Whether we are building with GNU ld or not.
24423 with_gnu_ld=$lt_with_gnu_ld_CXX
24425 # Flag that allows shared libraries with undefined symbols to be built.
24426 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24428 # Flag that enforces no undefined symbols.
24429 no_undefined_flag=$lt_no_undefined_flag_CXX
24431 # Flag to hardcode \$libdir into a binary during linking.
24432 # This must work even if \$libdir does not exist
24433 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24435 # Whether we need a single "-rpath" flag with a separated argument.
24436 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24438 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24439 # DIR into the resulting binary.
24440 hardcode_direct=$hardcode_direct_CXX
24442 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24443 # DIR into the resulting binary and the resulting library dependency is
24444 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24445 # library is relocated.
24446 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24448 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24449 # into the resulting binary.
24450 hardcode_minus_L=$hardcode_minus_L_CXX
24452 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24453 # into the resulting binary.
24454 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24456 # Set to "yes" if building a shared library automatically hardcodes DIR
24457 # into the library and all subsequent libraries and executables linked
24459 hardcode_automatic=$hardcode_automatic_CXX
24461 # Set to yes if linker adds runtime paths of dependent libraries
24462 # to runtime path list.
24463 inherit_rpath=$inherit_rpath_CXX
24465 # Whether libtool must link a program against all its dependency libraries.
24466 link_all_deplibs=$link_all_deplibs_CXX
24468 # Set to "yes" if exported symbols are required.
24469 always_export_symbols=$always_export_symbols_CXX
24471 # The commands to list exported symbols.
24472 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24474 # Symbols that should not be listed in the preloaded symbols.
24475 exclude_expsyms=$lt_exclude_expsyms_CXX
24477 # Symbols that must always be exported.
24478 include_expsyms=$lt_include_expsyms_CXX
24480 # Commands necessary for linking programs (against libraries) with templates.
24481 prelink_cmds=$lt_prelink_cmds_CXX
24483 # Commands necessary for finishing linking programs.
24484 postlink_cmds=$lt_postlink_cmds_CXX
24486 # Specify filename containing input files.
24487 file_list_spec=$lt_file_list_spec_CXX
24489 # How to hardcode a shared library path into an executable.
24490 hardcode_action=$hardcode_action_CXX
24492 # The directories searched by this compiler when creating a shared library.
24493 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24495 # Dependencies to place before and after the objects being linked to
24496 # create a shared library.
24497 predep_objects=$lt_predep_objects_CXX
24498 postdep_objects=$lt_postdep_objects_CXX
24499 predeps=$lt_predeps_CXX
24500 postdeps=$lt_postdeps_CXX
24502 # The library search path used internally by the compiler when linking
24503 # a shared library.
24504 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24506 # ### END LIBTOOL TAG CONFIG: CXX
24517 ac_clean_files
=$ac_clean_files_save
24519 test $ac_write_fail = 0 ||
24520 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24523 # configure is writing to config.log, and then calls config.status.
24524 # config.status does its own redirection, appending to config.log.
24525 # Unfortunately, on DOS this fails, as config.log is still kept open
24526 # by configure, so config.status won't be able to write to it; its
24527 # output is simply discarded. So we exec the FD to /dev/null,
24528 # effectively closing config.log, so it can be properly (re)opened and
24529 # appended to by config.status. When coming back to configure, we
24530 # need to make the FD available again.
24531 if test "$no_create" != yes; then
24533 ac_config_status_args
=
24534 test "$silent" = yes &&
24535 ac_config_status_args
="$ac_config_status_args --quiet"
24537 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24539 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24540 # would make configure fail if this is the last instruction.
24541 $ac_cs_success || as_fn_exit
1
24543 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24545 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}