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
661 am__fastdepOBJCXX_FALSE
662 am__fastdepOBJCXX_TRUE
745 INSTALL_STRIP_PROGRAM
787 program_transform_name
800 enable_option_checking
806 enable_dependency_tracking
816 ac_precious_vars
='build_alias
845 # Initialize some variables set by options.
847 ac_init_version
=false
848 ac_unrecognized_opts
=
850 # The variables have the same names as the options, with
851 # dashes changed to underlines.
859 program_transform_name
=s
,x
,x
,
867 # Installation directory options.
868 # These are left unexpanded so users can "make install exec_prefix=/foo"
869 # and all the variables that are supposed to be based on exec_prefix
870 # by default will actually change.
871 # Use braces instead of parens because sh, perl, etc. also accept them.
872 # (The list follows the same order as the GNU Coding Standards.)
873 bindir
='${exec_prefix}/bin'
874 sbindir
='${exec_prefix}/sbin'
875 libexecdir
='${exec_prefix}/libexec'
876 datarootdir
='${prefix}/share'
877 datadir
='${datarootdir}'
878 sysconfdir
='${prefix}/etc'
879 sharedstatedir
='${prefix}/com'
880 localstatedir
='${prefix}/var'
881 includedir
='${prefix}/include'
882 oldincludedir
='/usr/include'
883 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
884 infodir
='${datarootdir}/info'
889 libdir
='${exec_prefix}/lib'
890 localedir
='${datarootdir}/locale'
891 mandir
='${datarootdir}/man'
897 # If the previous option needs an argument, assign it.
898 if test -n "$ac_prev"; then
899 eval $ac_prev=\
$ac_option
905 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir | --bindir | --bindi | --bind | --bin | --bi)
918 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
921 -build | --build | --buil | --bui | --bu)
922 ac_prev
=build_alias
;;
923 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file | --cache-file | --cache-fil | --cache-fi \
927 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
928 ac_prev
=cache_file
;;
929 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
930 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir | --datadir | --datadi | --datad)
938 -datadir=* | --datadir=* | --datadi=* | --datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
942 | --dataroo | --dataro | --datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
945 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* | --disable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error $?
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=no
;;
964 -docdir | --docdir | --docdi | --doc | --do)
966 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
969 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
971 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
974 -enable-* | --enable-*)
975 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
978 as_fn_error $?
"invalid feature name: $ac_useropt"
979 ac_useropt_orig
=$ac_useropt
980 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
986 ac_unrecognized_sep
=', ';;
988 eval enable_
$ac_useropt=\
$ac_optarg ;;
990 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
991 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
992 | --exec | --exe | --ex)
993 ac_prev
=exec_prefix
;;
994 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
995 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
996 | --exec=* | --exe=* | --ex=*)
997 exec_prefix
=$ac_optarg ;;
999 -gas | --gas | --ga | --g)
1000 # Obsolete; use --with-gas.
1003 -help | --help | --hel | --he | -h)
1004 ac_init_help
=long
;;
1005 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1006 ac_init_help
=recursive
;;
1007 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1008 ac_init_help
=short
;;
1010 -host | --host | --hos | --ho)
1011 ac_prev
=host_alias
;;
1012 -host=* | --host=* | --hos=* | --ho=*)
1013 host_alias
=$ac_optarg ;;
1015 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1017 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1019 htmldir
=$ac_optarg ;;
1021 -includedir | --includedir | --includedi | --included | --include \
1022 | --includ | --inclu | --incl | --inc)
1023 ac_prev
=includedir
;;
1024 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1025 | --includ=* | --inclu=* | --incl=* | --inc=*)
1026 includedir
=$ac_optarg ;;
1028 -infodir | --infodir | --infodi | --infod | --info | --inf)
1030 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1031 infodir
=$ac_optarg ;;
1033 -libdir | --libdir | --libdi | --libd)
1035 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1036 libdir
=$ac_optarg ;;
1038 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1039 | --libexe | --libex | --libe)
1040 ac_prev
=libexecdir
;;
1041 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1042 | --libexe=* | --libex=* | --libe=*)
1043 libexecdir
=$ac_optarg ;;
1045 -localedir | --localedir | --localedi | --localed | --locale)
1046 ac_prev
=localedir
;;
1047 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1048 localedir
=$ac_optarg ;;
1050 -localstatedir | --localstatedir | --localstatedi | --localstated \
1051 | --localstate | --localstat | --localsta | --localst | --locals)
1052 ac_prev
=localstatedir
;;
1053 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1054 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1055 localstatedir
=$ac_optarg ;;
1057 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1059 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1060 mandir
=$ac_optarg ;;
1062 -nfp | --nfp | --nf)
1063 # Obsolete; use --without-fp.
1066 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1067 | --no-cr | --no-c | -n)
1070 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1071 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1074 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1075 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1076 | --oldin | --oldi | --old | --ol | --o)
1077 ac_prev
=oldincludedir
;;
1078 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1079 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1080 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1081 oldincludedir
=$ac_optarg ;;
1083 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1085 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1086 prefix
=$ac_optarg ;;
1088 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1089 | --program-pre | --program-pr | --program-p)
1090 ac_prev
=program_prefix
;;
1091 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1092 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1093 program_prefix
=$ac_optarg ;;
1095 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1096 | --program-suf | --program-su | --program-s)
1097 ac_prev
=program_suffix
;;
1098 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1099 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1100 program_suffix
=$ac_optarg ;;
1102 -program-transform-name | --program-transform-name \
1103 | --program-transform-nam | --program-transform-na \
1104 | --program-transform-n | --program-transform- \
1105 | --program-transform | --program-transfor \
1106 | --program-transfo | --program-transf \
1107 | --program-trans | --program-tran \
1108 | --progr-tra | --program-tr | --program-t)
1109 ac_prev
=program_transform_name
;;
1110 -program-transform-name=* | --program-transform-name=* \
1111 | --program-transform-nam=* | --program-transform-na=* \
1112 | --program-transform-n=* | --program-transform-=* \
1113 | --program-transform=* | --program-transfor=* \
1114 | --program-transfo=* | --program-transf=* \
1115 | --program-trans=* | --program-tran=* \
1116 | --progr-tra=* | --program-tr=* | --program-t=*)
1117 program_transform_name
=$ac_optarg ;;
1119 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1121 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1122 pdfdir
=$ac_optarg ;;
1124 -psdir | --psdir | --psdi | --psd | --ps)
1126 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1129 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1130 | -silent | --silent | --silen | --sile | --sil)
1133 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1135 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1137 sbindir
=$ac_optarg ;;
1139 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1140 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1141 | --sharedst | --shareds | --shared | --share | --shar \
1143 ac_prev
=sharedstatedir
;;
1144 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1145 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1146 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1148 sharedstatedir
=$ac_optarg ;;
1150 -site | --site | --sit)
1152 -site=* | --site=* | --sit=*)
1155 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1157 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1158 srcdir
=$ac_optarg ;;
1160 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1161 | --syscon | --sysco | --sysc | --sys | --sy)
1162 ac_prev
=sysconfdir
;;
1163 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1164 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1165 sysconfdir
=$ac_optarg ;;
1167 -target | --target | --targe | --targ | --tar | --ta | --t)
1168 ac_prev
=target_alias
;;
1169 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1170 target_alias
=$ac_optarg ;;
1172 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1175 -version | --version | --versio | --versi | --vers | -V)
1176 ac_init_version
=: ;;
1179 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1182 as_fn_error $?
"invalid package name: $ac_useropt"
1183 ac_useropt_orig
=$ac_useropt
1184 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1189 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1190 ac_unrecognized_sep
=', ';;
1192 eval with_
$ac_useropt=\
$ac_optarg ;;
1194 -without-* | --without-*)
1195 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1196 # Reject names that are not valid shell variable names.
1197 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1198 as_fn_error $?
"invalid package name: $ac_useropt"
1199 ac_useropt_orig
=$ac_useropt
1200 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201 case $ac_user_opts in
1205 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1206 ac_unrecognized_sep
=', ';;
1208 eval with_
$ac_useropt=no
;;
1211 # Obsolete; use --with-x.
1214 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1215 | --x-incl | --x-inc | --x-in | --x-i)
1216 ac_prev
=x_includes
;;
1217 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1218 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1219 x_includes
=$ac_optarg ;;
1221 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1222 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1223 ac_prev
=x_libraries
;;
1224 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1225 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1226 x_libraries
=$ac_optarg ;;
1228 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1229 Try \`$0 --help' for more information"
1233 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1234 # Reject names that are not valid shell variable names.
1235 case $ac_envvar in #(
1236 '' | [0-9]* | *[!_$as_cr_alnum]* )
1237 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1239 eval $ac_envvar=\
$ac_optarg
1240 export $ac_envvar ;;
1243 # FIXME: should be removed in autoconf 3.0.
1244 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1245 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1246 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1247 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1253 if test -n "$ac_prev"; then
1254 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1255 as_fn_error $?
"missing argument to $ac_option"
1258 if test -n "$ac_unrecognized_opts"; then
1259 case $enable_option_checking in
1261 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1262 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266 # Check all directory arguments for consistency.
1267 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1268 datadir sysconfdir sharedstatedir localstatedir includedir \
1269 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1270 libdir localedir mandir
1272 eval ac_val
=\$
$ac_var
1273 # Remove trailing slashes.
1276 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1277 eval $ac_var=\
$ac_val;;
1279 # Be sure to have absolute directory names.
1281 [\\/$
]* | ?
:[\\/]* ) continue;;
1282 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1284 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1287 # There might be people who depend on the old broken behavior: `$host'
1288 # used to hold the argument of --host etc.
1289 # FIXME: To remove some day.
1292 target
=$target_alias
1294 # FIXME: To remove some day.
1295 if test "x$host_alias" != x
; then
1296 if test "x$build_alias" = x
; then
1297 cross_compiling
=maybe
1298 elif test "x$build_alias" != "x$host_alias"; then
1304 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1306 test "$silent" = yes && exec 6>/dev
/null
1309 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di
=`ls -di .` &&
1311 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1312 as_fn_error $?
"working directory cannot be determined"
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 as_fn_error $?
"pwd does not report name of working directory"
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319 ac_srcdir_defaulted
=yes
1320 # Try the directory containing this script, then the parent directory.
1321 ac_confdir
=`$as_dirname -- "$as_myself" ||
1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323 X"$as_myself" : 'X\(//\)[^/]' \| \
1324 X"$as_myself" : 'X\(//\)$' \| \
1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326 $as_echo X"$as_myself" |
1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1349 ac_srcdir_defaulted
=no
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1353 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1355 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1359 # When building in place, set srcdir=.
1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
1363 # Remove unnecessary trailing slashes from srcdir.
1364 # Double slashes in file names in object file debugging info
1365 # mess up M-x gdb in Emacs.
1367 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 for ac_var
in $ac_precious_vars; do
1370 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1371 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1372 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1373 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1377 # Report the --help message.
1379 if test "$ac_init_help" = "long"; then
1380 # Omit some internal or obsolete options to make the list less imposing.
1381 # This message is too long to be a string in the A/UX 3.1 sh.
1383 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE. See below for descriptions of some of the useful variables.
1390 Defaults for the options are specified in brackets.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking ...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403 Installation directories:
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1405 [$ac_default_prefix]
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1414 For better control, use the options below.
1416 Fine tuning of the installation directories:
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --libdir=DIR object code libraries [EPREFIX/lib]
1424 --includedir=DIR C header files [PREFIX/include]
1425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1428 --infodir=DIR info documentation [DATAROOTDIR/info]
1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1430 --mandir=DIR man documentation [DATAROOTDIR/man]
1431 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --program-prefix=PREFIX prepend PREFIX to installed program names
1442 --program-suffix=SUFFIX append SUFFIX to installed program names
1443 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1446 --build=BUILD configure
for building on BUILD
[guessed
]
1447 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1451 if test -n "$ac_init_help"; then
1452 case $ac_init_help in
1453 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1458 --disable-option-checking ignore unrecognized
--enable/--with options
1459 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1460 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1461 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1462 --disable-silent-rules verbose build output
(undo
: "make V=0")
1463 --enable-static[=PKGS
] build static libraries
[default
=no
]
1464 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1465 --enable-fast-install[=PKGS
]
1466 optimize
for fast installation
[default
=yes]
1467 --enable-dependency-tracking
1468 do not reject slow dependency extractors
1469 --disable-dependency-tracking
1470 speeds up one
-time build
1471 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1472 --enable-javascript[=ENGINE
]
1473 use a JavaScript runtime
(currently the only
1474 available option
for ENGINE is JavaScriptCore
)
1476 --disable-rpath do not hardcode runtime library paths
1479 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1480 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1481 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1483 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1484 --with-sysroot=DIR Search
for dependent libraries within DIR
1485 (or the compiler
's sysroot if not specified).
1486 --with-frameworks=DIRS add to DIRS (space separated) to the Darwin include
1487 path for frameworks with -F
1488 --with-apr=PATH prefix for installed APR or the full path to
1490 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1491 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1492 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1494 Some influential environment variables
:
1495 CC C compiler
command
1496 CFLAGS C compiler flags
1497 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1498 nonstandard directory
<lib dir
>
1499 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1500 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1501 you have headers
in a nonstandard directory
<include dir
>
1503 PKG_CONFIG path to pkg
-config utility
1505 directories to add to pkg
-config's search path
1507 path overriding pkg-config's built
-in search path
1508 BISON GNU Project parser generator
(yacc replacement
)
1509 FLEX the fast lexical analyser generator
1510 GPERF perfect
hash function generator
1511 GNUTAR a very sticky lump of files
1512 CXX C
++ compiler
command
1513 CXXFLAGS C
++ compiler flags
1514 CXXCPP C
++ preprocessor
1515 OBJCXX Objective C
++ compiler
command
1516 OBJCXXFLAGS Objective C
++ compiler flags
1518 C compiler flags
for WEBKIT
, overriding pkg
-config
1519 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
1521 C compiler flags
for LIBFFI
, overriding pkg
-config
1522 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
1524 prints information about the current gnustep installation
1526 Use these variables to override the choices made by
`configure' or to help
1527 it to find libraries and programs with nonstandard names/locations.
1529 Report bugs to <saurik@saurik.com>.
1530 Cycript home page: <http://www.cycript.org/>.
1535 if test "$ac_init_help" = "recursive"; then
1536 # If there are subdirs, report their specific --help.
1537 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1538 test -d "$ac_dir" ||
1539 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1546 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1547 # A ".." for each directory in $ac_dir_suffix.
1548 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1549 case $ac_top_builddir_sub in
1550 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1551 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1554 ac_abs_top_builddir=$ac_pwd
1555 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1556 # for backward compatibility:
1557 ac_top_builddir=$ac_top_build_prefix
1560 .) # We are building in place.
1562 ac_top_srcdir=$ac_top_builddir_sub
1563 ac_abs_top_srcdir=$ac_pwd ;;
1564 [\\/]* | ?:[\\/]* ) # Absolute name.
1565 ac_srcdir=$srcdir$ac_dir_suffix;
1566 ac_top_srcdir=$srcdir
1567 ac_abs_top_srcdir=$srcdir ;;
1569 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1570 ac_top_srcdir=$ac_top_build_prefix$srcdir
1571 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1573 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1575 cd "$ac_dir" || { ac_status=$?; continue; }
1576 # Check for guested configure.
1577 if test -f "$ac_srcdir/configure.gnu"; then
1579 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1580 elif test -f "$ac_srcdir/configure"; then
1582 $SHELL "$ac_srcdir/configure" --help=recursive
1584 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1586 cd "$ac_pwd" || { ac_status=$?; break; }
1590 test -n "$ac_init_help" && exit $ac_status
1591 if $ac_init_version; then
1593 Cycript configure 0.9
1594 generated by GNU Autoconf 2.69
1596 Copyright (C) 2012 Free Software Foundation, Inc.
1597 This configure script is free software; the Free Software Foundation
1598 gives unlimited permission to copy, distribute and modify it.
1600 Copyright (C) 2009-2012 Jay Freeman (saurik)
1605 ## ------------------------ ##
1606 ## Autoconf initialization. ##
1607 ## ------------------------ ##
1609 # ac_fn_c_try_compile LINENO
1610 # --------------------------
1611 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1612 ac_fn_c_try_compile ()
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 rm -f conftest.$ac_objext
1616 if { { ac_try="$ac_compile"
1618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1619 *) ac_try_echo
=$ac_try;;
1621 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_compile") 2>conftest.err
1625 if test -s conftest.err
; then
1626 grep -v '^ *+' conftest.err
>conftest.er1
1627 cat conftest.er1
>&5
1628 mv -f conftest.er1 conftest.err
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; } && {
1632 test -z "$ac_c_werror_flag" ||
1633 test ! -s conftest.err
1634 } && test -s conftest.
$ac_objext; then :
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.
$ac_ext >&5
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status
$ac_retval
1645 } # ac_fn_c_try_compile
1647 # ac_fn_c_try_link LINENO
1648 # -----------------------
1649 # Try to link conftest.$ac_ext, and return whether this succeeded.
1652 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1653 rm -f conftest.
$ac_objext conftest
$ac_exeext
1654 if { { ac_try
="$ac_link"
1656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1657 *) ac_try_echo=$ac_try;;
1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660 $as_echo "$ac_try_echo"; } >&5
1661 (eval "$ac_link") 2>conftest.err
1663 if test -s conftest.err; then
1664 grep -v '^ *+' conftest.err >conftest.er1
1665 cat conftest.er1 >&5
1666 mv -f conftest.er1 conftest.err
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; } && {
1670 test -z "$ac_c_werror_flag" ||
1671 test ! -s conftest.err
1672 } && test -s conftest$ac_exeext && {
1673 test "$cross_compiling" = yes ||
1674 test -x conftest$ac_exeext
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1683 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1684 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1685 # interfere with the next link command; also delete a directory that is
1686 # left behind by Apple's compiler. We do this before executing the actions.
1687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status $ac_retval
1691 } # ac_fn_c_try_link
1693 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1694 # -------------------------------------------------------
1695 # Tests whether HEADER exists and can be compiled using the include files in
1696 # INCLUDES, setting the cache variable VAR accordingly.
1697 ac_fn_c_check_header_compile ()
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1701 $as_echo_n "checking for $2... " >&6; }
1702 if eval \${$3+:} false; then :
1703 $as_echo_n "(cached) " >&6
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1710 if ac_fn_c_try_compile "$LINENO"; then :
1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1719 $as_echo "$ac_res" >&6; }
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722 } # ac_fn_c_check_header_compile
1724 # ac_fn_c_try_cpp LINENO
1725 # ----------------------
1726 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 if { { ac_try="$ac_cpp conftest.$ac_ext"
1732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1733 *) ac_try_echo
=$ac_try;;
1735 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1739 if test -s conftest.err
; then
1740 grep -v '^ *+' conftest.err
>conftest.er1
1741 cat conftest.er1
>&5
1742 mv -f conftest.er1 conftest.err
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } > conftest.i
&& {
1746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1747 test ! -s conftest.err
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.
$ac_ext >&5
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 as_fn_set_status
$ac_retval
1761 # ac_fn_c_try_run LINENO
1762 # ----------------------
1763 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1764 # that executables *can* be run.
1767 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1768 if { { ac_try
="$ac_link"
1770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1771 *) ac_try_echo=$ac_try;;
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775 (eval "$ac_link") 2>&5
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1779 { { case "(($ac_try" in
1780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1781 *) ac_try_echo
=$ac_try;;
1783 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785 (eval "$ac_try") 2>&5
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; }; }; then :
1791 $as_echo "$as_me: program exited with status $ac_status" >&5
1792 $as_echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.
$ac_ext >&5
1795 ac_retval
=$ac_status
1797 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 as_fn_set_status
$ac_retval
1803 # ac_fn_c_check_func LINENO FUNC VAR
1804 # ----------------------------------
1805 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1806 ac_fn_c_check_func
()
1808 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810 $as_echo_n "checking for $2... " >&6; }
1811 if eval \
${$3+:} false
; then :
1812 $as_echo_n "(cached) " >&6
1814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h. */
1816 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1818 #define $2 innocuous_$2
1820 /* System header to define __stub macros and hopefully few prototypes,
1821 which can conflict with char $2 (); below.
1822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1823 <limits.h> exists even on freestanding compilers. */
1826 # include <limits.h>
1828 # include <assert.h>
1833 /* Override any GCC internal prototype to avoid an error.
1834 Use char because int might match the return type of a GCC
1835 builtin and then its argument prototype would still apply. */
1840 /* The GNU C library defines this for functions which it implements
1841 to always fail with ENOSYS. Some functions are actually named
1842 something starting with __ and the normal name is an alias. */
1843 #if defined __stub_$2 || defined __stub___$2
1855 if ac_fn_c_try_link
"$LINENO"; then :
1860 rm -f core conftest.err conftest.
$ac_objext \
1861 conftest
$ac_exeext conftest.
$ac_ext
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1865 $as_echo "$ac_res" >&6; }
1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 } # ac_fn_c_check_func
1870 # ac_fn_cxx_try_compile LINENO
1871 # ----------------------------
1872 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1873 ac_fn_cxx_try_compile
()
1875 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1876 rm -f conftest.
$ac_objext
1877 if { { ac_try
="$ac_compile"
1879 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1880 *) ac_try_echo=$ac_try;;
1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_compile") 2>conftest.err
1886 if test -s conftest.err; then
1887 grep -v '^ *+' conftest.err >conftest.er1
1888 cat conftest.er1 >&5
1889 mv -f conftest.er1 conftest.err
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && {
1893 test -z "$ac_cxx_werror_flag" ||
1894 test ! -s conftest.err
1895 } && test -s conftest.$ac_objext; then :
1898 $as_echo "$as_me: failed program was:" >&5
1899 sed 's/^/| /' conftest.$ac_ext >&5
1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904 as_fn_set_status $ac_retval
1906 } # ac_fn_cxx_try_compile
1908 # ac_fn_cxx_try_cpp LINENO
1909 # ------------------------
1910 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1911 ac_fn_cxx_try_cpp ()
1913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1914 if { { ac_try="$ac_cpp conftest.$ac_ext"
1916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1917 *) ac_try_echo
=$ac_try;;
1919 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1920 $as_echo "$ac_try_echo"; } >&5
1921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1923 if test -s conftest.err
; then
1924 grep -v '^ *+' conftest.err
>conftest.er1
1925 cat conftest.er1
>&5
1926 mv -f conftest.er1 conftest.err
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; } > conftest.i
&& {
1930 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1931 test ! -s conftest.err
1935 $as_echo "$as_me: failed program was:" >&5
1936 sed 's/^/| /' conftest.
$ac_ext >&5
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 as_fn_set_status
$ac_retval
1943 } # ac_fn_cxx_try_cpp
1945 # ac_fn_cxx_try_link LINENO
1946 # -------------------------
1947 # Try to link conftest.$ac_ext, and return whether this succeeded.
1948 ac_fn_cxx_try_link
()
1950 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1951 rm -f conftest.
$ac_objext conftest
$ac_exeext
1952 if { { ac_try
="$ac_link"
1954 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1955 *) ac_try_echo=$ac_try;;
1957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1958 $as_echo "$ac_try_echo"; } >&5
1959 (eval "$ac_link") 2>conftest.err
1961 if test -s conftest.err; then
1962 grep -v '^ *+' conftest.err >conftest.er1
1963 cat conftest.er1 >&5
1964 mv -f conftest.er1 conftest.err
1966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1967 test $ac_status = 0; } && {
1968 test -z "$ac_cxx_werror_flag" ||
1969 test ! -s conftest.err
1970 } && test -s conftest$ac_exeext && {
1971 test "$cross_compiling" = yes ||
1972 test -x conftest$ac_exeext
1976 $as_echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.$ac_ext >&5
1981 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1982 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1983 # interfere with the next link command; also delete a directory that is
1984 # left behind by Apple's compiler. We do this before executing the actions.
1985 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987 as_fn_set_status $ac_retval
1989 } # ac_fn_cxx_try_link
1991 # ac_fn_objcxx_try_compile LINENO
1992 # -------------------------------
1993 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1994 ac_fn_objcxx_try_compile ()
1996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1997 rm -f conftest.$ac_objext
1998 if { { ac_try="$ac_compile"
2000 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2001 *) ac_try_echo
=$ac_try;;
2003 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_compile") 2>conftest.err
2007 if test -s conftest.err
; then
2008 grep -v '^ *+' conftest.err
>conftest.er1
2009 cat conftest.er1
>&5
2010 mv -f conftest.er1 conftest.err
2012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2013 test $ac_status = 0; } && {
2014 test -z "$ac_objcxx_werror_flag" ||
2015 test ! -s conftest.err
2016 } && test -s conftest.
$ac_objext; then :
2019 $as_echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.
$ac_ext >&5
2024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2025 as_fn_set_status
$ac_retval
2027 } # ac_fn_objcxx_try_compile
2029 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2030 # ---------------------------------------------------------
2031 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2032 # the include files in INCLUDES and setting the cache variable VAR
2034 ac_fn_cxx_check_header_mongrel
()
2036 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2037 if eval \
${$3+:} false
; then :
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2039 $as_echo_n "checking for $2... " >&6; }
2040 if eval \
${$3+:} false
; then :
2041 $as_echo_n "(cached) " >&6
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2045 $as_echo "$ac_res" >&6; }
2047 # Is the header compilable?
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2049 $as_echo_n "checking $2 usability... " >&6; }
2050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2051 /* end confdefs.h. */
2055 if ac_fn_cxx_try_compile
"$LINENO"; then :
2056 ac_header_compiler
=yes
2058 ac_header_compiler
=no
2060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2062 $as_echo "$ac_header_compiler" >&6; }
2064 # Is the header present?
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2066 $as_echo_n "checking $2 presence... " >&6; }
2067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2071 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2072 ac_header_preproc
=yes
2074 ac_header_preproc
=no
2076 rm -f conftest.err conftest.i conftest.
$ac_ext
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2078 $as_echo "$ac_header_preproc" >&6; }
2080 # So? What about this header?
2081 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2084 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2086 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2090 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2092 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2094 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2096 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2098 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2099 ( $as_echo "## -------------------------------- ##
2100 ## Report this to saurik@saurik.com ##
2101 ## -------------------------------- ##"
2102 ) | sed "s/^/$as_me: WARNING: /" >&2
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if eval \
${$3+:} false
; then :
2108 $as_echo_n "(cached) " >&6
2110 eval "$3=\$ac_header_compiler"
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2114 $as_echo "$ac_res" >&6; }
2116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2118 } # ac_fn_cxx_check_header_mongrel
2120 # ac_fn_objcxx_try_link LINENO
2121 # ----------------------------
2122 # Try to link conftest.$ac_ext, and return whether this succeeded.
2123 ac_fn_objcxx_try_link
()
2125 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2126 rm -f conftest.
$ac_objext conftest
$ac_exeext
2127 if { { ac_try
="$ac_link"
2129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2130 *) ac_try_echo=$ac_try;;
2132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2133 $as_echo "$ac_try_echo"; } >&5
2134 (eval "$ac_link") 2>conftest.err
2136 if test -s conftest.err; then
2137 grep -v '^ *+' conftest.err >conftest.er1
2138 cat conftest.er1 >&5
2139 mv -f conftest.er1 conftest.err
2141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2142 test $ac_status = 0; } && {
2143 test -z "$ac_objcxx_werror_flag" ||
2144 test ! -s conftest.err
2145 } && test -s conftest$ac_exeext && {
2146 test "$cross_compiling" = yes ||
2147 test -x conftest$ac_exeext
2151 $as_echo "$as_me: failed program was:" >&5
2152 sed 's/^/| /' conftest.$ac_ext >&5
2156 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2157 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2158 # interfere with the next link command; also delete a directory that is
2159 # left behind by Apple's compiler. We do this before executing the actions.
2160 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2162 as_fn_set_status $ac_retval
2164 } # ac_fn_objcxx_try_link
2165 cat >config.log <<_ACEOF
2166 This file contains any messages produced by compilers while
2167 running configure, to aid debugging if configure makes a mistake.
2169 It was created by Cycript $as_me 0.9, which was
2170 generated by GNU Autoconf 2.69. Invocation command line was
2182 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2183 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2184 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2185 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2186 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2188 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2189 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2191 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2192 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2193 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2194 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2195 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2196 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2197 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2205 test -z "$as_dir" && as_dir=.
2206 $as_echo "PATH: $as_dir"
2222 # Keep a trace of the command line.
2223 # Strip out --no-create and --no-recursion so they do not pile up.
2224 # Strip out --silent because we don't want to record it for future runs.
2225 # Also quote any args containing shell meta-characters.
2226 # Make two passes to allow for proper duplicate-argument suppression.
2230 ac_must_keep_next=false
2236 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2238 | -silent | --silent | --silen | --sile | --sil)
2241 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2244 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2246 as_fn_append ac_configure_args1 " '$ac_arg'"
2247 if test $ac_must_keep_next = true; then
2248 ac_must_keep_next=false # Got value, back to normal.
2251 *=* | --config-cache | -C | -disable-* | --disable-* \
2252 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2253 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2254 | -with-* | --with-* | -without-* | --without-* | --x)
2255 case "$ac_configure_args0 " in
2256 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2259 -* ) ac_must_keep_next=true ;;
2262 as_fn_append ac_configure_args " '$ac_arg'"
2267 { ac_configure_args0=; unset ac_configure_args0;}
2268 { ac_configure_args1=; unset ac_configure_args1;}
2270 # When interrupted or exit'd, cleanup temporary files, and complete
2271 # config.log. We remove comments because anyway the quotes in there
2272 # would cause problems or look ugly.
2273 # WARNING: Use '\'' to represent an apostrophe within the trap.
2274 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2275 trap 'exit_status=$?
2276 # Save into config.log some information that might help in debugging.
2280 $as_echo "## ---------------- ##
2281 ## Cache variables. ##
2282 ## ---------------- ##"
2284 # The following way of writing the cache mishandles newlines in values,
2286 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2287 eval ac_val=\$$ac_var
2291 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2292 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2295 _ | IFS | as_nl) ;; #(
2296 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2297 *) { eval $ac_var=; unset $ac_var;} ;;
2302 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2303 *${as_nl}ac_space=\ *)
2305 "s/'\''/'\''\\\\'\'''\''/g;
2306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2309 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2316 $as_echo "## ----------------- ##
2317 ## Output variables. ##
2318 ## ----------------- ##"
2320 for ac_var in $ac_subst_vars
2322 eval ac_val=\$$ac_var
2324 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2326 $as_echo "$ac_var='\''$ac_val'\''"
2330 if test -n "$ac_subst_files"; then
2331 $as_echo "## ------------------- ##
2332 ## File substitutions. ##
2333 ## ------------------- ##"
2335 for ac_var in $ac_subst_files
2337 eval ac_val=\$$ac_var
2339 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2341 $as_echo "$ac_var='\''$ac_val'\''"
2346 if test -s confdefs.h; then
2347 $as_echo "## ----------- ##
2354 test "$ac_signal" != 0 &&
2355 $as_echo "$as_me: caught signal $ac_signal"
2356 $as_echo "$as_me: exit $exit_status"
2358 rm -f core *.core core.conftest.* &&
2359 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2362 for ac_signal in 1 2 13 15; do
2363 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2367 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2368 rm -f -r conftest* confdefs.h
2370 $as_echo "/* confdefs.h */" > confdefs.h
2372 # Predefined preprocessor variables.
2374 cat >>confdefs.h <<_ACEOF
2375 #define PACKAGE_NAME "$PACKAGE_NAME"
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2382 cat >>confdefs.h <<_ACEOF
2383 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2386 cat >>confdefs.h <<_ACEOF
2387 #define PACKAGE_STRING "$PACKAGE_STRING"
2390 cat >>confdefs.h <<_ACEOF
2391 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2394 cat >>confdefs.h <<_ACEOF
2395 #define PACKAGE_URL "$PACKAGE_URL"
2399 # Let the site file select an alternate cache file if it wants to.
2400 # Prefer an explicitly selected file to automatically selected ones.
2403 if test -n "$CONFIG_SITE"; then
2404 # We do not want a PATH search for config.site.
2405 case $CONFIG_SITE in #((
2406 -*) ac_site_file1=./$CONFIG_SITE;;
2407 */*) ac_site_file1=$CONFIG_SITE;;
2408 *) ac_site_file1=./$CONFIG_SITE;;
2410 elif test "x$prefix" != xNONE; then
2411 ac_site_file1=$prefix/share/config.site
2412 ac_site_file2=$prefix/etc/config.site
2414 ac_site_file1=$ac_default_prefix/share/config.site
2415 ac_site_file2=$ac_default_prefix/etc/config.site
2417 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2419 test "x$ac_site_file" = xNONE && continue
2420 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2422 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2423 sed 's/^/| /' "$ac_site_file" >&5
2425 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2427 as_fn_error $? "failed to load site
script $ac_site_file
2428 See \
`config.log' for more details" "$LINENO" 5; }
2432 if test -r "$cache_file"; then
2433 # Some versions of bash will fail to source /dev/null (special files
2434 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2435 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2437 $as_echo "$as_me: loading cache $cache_file" >&6;}
2439 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2440 *) . "./$cache_file";;
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2445 $as_echo "$as_me: creating cache $cache_file" >&6;}
2449 # Check that the precious variables saved in the cache have kept the same
2451 ac_cache_corrupted=false
2452 for ac_var in $ac_precious_vars; do
2453 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2454 eval ac_new_set=\$ac_env_${ac_var}_set
2455 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2456 eval ac_new_val=\$ac_env_${ac_var}_value
2457 case $ac_old_set,$ac_new_set in
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2460 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2461 ac_cache_corrupted=: ;;
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2464 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2465 ac_cache_corrupted=: ;;
2468 if test "x$ac_old_val" != "x$ac_new_val"; then
2469 # differences in whitespace do not lead to failure.
2470 ac_old_val_w=`echo x
$ac_old_val`
2471 ac_new_val_w=`echo x
$ac_new_val`
2472 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2474 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2475 ac_cache_corrupted=:
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2478 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2479 eval $ac_var=\$ac_old_val
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2482 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2484 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2487 # Pass precious variables to config.status.
2488 if test "$ac_new_set" = set; then
2490 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2491 *) ac_arg=$ac_var=$ac_new_val ;;
2493 case " $ac_configure_args " in
2494 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2495 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2499 if $ac_cache_corrupted; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2503 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2504 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2506 ## -------------------- ##
2507 ## Main body of script. ##
2508 ## -------------------- ##
2511 ac_cpp='$CPP $CPPFLAGS'
2512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2521 for ac_dir in . "$srcdir"/.; do
2522 if test -f "$ac_dir/install-sh"; then
2524 ac_install_sh="$ac_aux_dir/install-sh -c"
2526 elif test -f "$ac_dir/install.sh"; then
2528 ac_install_sh="$ac_aux_dir/install.sh -c"
2530 elif test -f "$ac_dir/shtool"; then
2532 ac_install_sh="$ac_aux_dir/shtool install -c"
2536 if test -z "$ac_aux_dir"; then
2537 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2540 # These three variables are undocumented and unsupported,
2541 # and are intended to be withdrawn in a future Autoconf release.
2542 # They can cause serious problems if a builder's source tree is in a directory
2543 # whose full name contains unusual characters.
2544 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2545 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2546 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2551 am__api_version='1.13'
2553 # Find a good install program. We prefer a C program (faster),
2554 # so one script is as good as another. But avoid the broken or
2555 # incompatible versions:
2556 # SysV /etc/install, /usr/sbin/install
2557 # SunOS /usr/etc/install
2558 # IRIX /sbin/install
2560 # AmigaOS /C/install, which installs bootblocks on floppy discs
2561 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2562 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2563 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2564 # OS/2's system install, which has a completely different semantic
2565 # ./install, which can be erroneously created by make from ./install.sh.
2566 # Reject install programs that cannot install multiple files.
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2568 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2569 if test -z "$INSTALL"; then
2570 if ${ac_cv_path_install+:} false; then :
2571 $as_echo_n "(cached) " >&6
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir=.
2578 # Account for people who put trailing slashes in PATH elements.
2579 case $as_dir/ in #((
2580 ./ | .// | /[cC]/* | \
2581 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2582 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2585 # OSF1 and SCO ODT 3.0 have their own names for install.
2586 # Don't use installbsd from OSF since it installs stuff as root
2588 for ac_prog in ginstall scoinst install; do
2589 for ac_exec_ext in '' $ac_executable_extensions; do
2590 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2591 if test $ac_prog = install &&
2592 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2593 # AIX install. It has an incompatible calling convention.
2595 elif test $ac_prog = install &&
2596 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2597 # program-specific install script used by HP pwplus--don't use.
2600 rm -rf conftest.one conftest.two conftest.dir
2601 echo one > conftest.one
2602 echo two > conftest.two
2604 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2605 test -s conftest.one && test -s conftest.two &&
2606 test -s conftest.dir/conftest.one &&
2607 test -s conftest.dir/conftest.two
2609 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2622 rm -rf conftest.one conftest.two conftest.dir
2625 if test "${ac_cv_path_install+set}" = set; then
2626 INSTALL=$ac_cv_path_install
2628 # As a last resort, use the slow shell script. Don't cache a
2629 # value for INSTALL within a source directory, because that will
2630 # break other packages using the cache if that directory is
2631 # removed, or if the value is a relative name.
2632 INSTALL=$ac_install_sh
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2636 $as_echo "$INSTALL" >&6; }
2638 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2639 # It thinks the first close brace ends the variable substitution.
2640 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2642 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2644 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2647 $as_echo_n "checking whether build environment is sane... " >&6; }
2648 # Reject unsafe characters in $srcdir or the absolute working directory
2649 # name. Accept space and tab only in the latter.
2653 *[\\\"\#\$\&\'\`$am_lf]*)
2654 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2657 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2658 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2661 # Do 'set' in a subshell so we don't clobber the current shell's
2662 # arguments. Must try -L first in case configure is actually a
2663 # symlink; some systems play weird games with the mod time of symlinks
2664 # (eg FreeBSD returns the mod time of the symlink's containing
2668 for am_try in 1 2; do
2669 echo "timestamp, slept: $am_has_slept" > conftest.file
2670 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2671 if test "$*" = "X"; then
2673 set X `ls -t "$srcdir/configure" conftest.
file`
2675 if test "$*" != "X $srcdir/configure conftest.file" \
2676 && test "$*" != "X conftest.file $srcdir/configure"; then
2678 # If neither matched, then we have a broken ls. This can happen
2679 # if, for instance, CONFIG_SHELL is bash and it inherits a
2680 # broken ls alias from the environment. This has actually
2681 # happened. Such a system could not be considered "sane".
2682 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2683 alias in your environment" "$LINENO" 5
2685 if test "$2" = conftest.file || test $am_try -eq 2; then
2692 test "$2" = conftest.file
2698 as_fn_error $? "newly created file is older than distributed files!
2699 Check your system clock" "$LINENO" 5
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2702 $as_echo "yes" >&6; }
2703 # If we didn't sleep, we still need to ensure time stamps of config.status and
2704 # generated files are strictly newer.
2706 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2713 test "$program_prefix" != NONE &&
2714 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2715 # Use a double $ so make ignores it.
2716 test "$program_suffix" != NONE &&
2717 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2718 # Double any \ or $.
2719 # By default was `s
,x
,x
', remove it if useless.
2720 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2721 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2723 # expand $ac_aux_dir to an absolute path
2724 am_aux_dir=`cd $ac_aux_dir && pwd`
2726 if test x"${MISSING+set}" != xset; then
2729 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2731 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2734 # Use eval to expand $SHELL
2735 if eval "$MISSING --is-lightweight"; then
2736 am_missing_run="$MISSING "
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2740 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2743 if test x"${install_sh}" != xset; then
2746 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2748 install_sh="\${SHELL} $am_aux_dir/install-sh"
2752 # Installed binaries are usually stripped using 'strip
' when the user
2753 # run "make install-strip". However 'strip
' might not be the right
2754 # tool to use in cross-compilation environments, therefore Automake
2755 # will honor the 'STRIP
' environment variable to overrule this program.
2756 if test "$cross_compiling" != no; then
2757 if test -n "$ac_tool_prefix"; then
2758 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2759 set dummy ${ac_tool_prefix}strip; ac_word=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761 $as_echo_n "checking for $ac_word... " >&6; }
2762 if ${ac_cv_prog_STRIP+:} false; then :
2763 $as_echo_n "(cached) " >&6
2765 if test -n "$STRIP"; then
2766 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir=.
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2775 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 STRIP=$ac_cv_prog_STRIP
2786 if test -n "$STRIP"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2788 $as_echo "$STRIP" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2796 if test -z "$ac_cv_prog_STRIP"; then
2798 # Extract the first word of "strip", so it can be a program name with args.
2799 set dummy strip; ac_word=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$ac_ct_STRIP"; then
2806 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2815 ac_cv_prog_ac_ct_STRIP="strip"
2816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2826 if test -n "$ac_ct_STRIP"; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2828 $as_echo "$ac_ct_STRIP" >&6; }
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2834 if test "x$ac_ct_STRIP" = x; then
2837 case $cross_compiling:$ac_tool_warned in
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2841 ac_tool_warned=yes ;;
2846 STRIP="$ac_cv_prog_STRIP"
2850 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2853 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2854 if test -z "$MKDIR_P"; then
2855 if ${ac_cv_path_mkdir+:} false; then :
2856 $as_echo_n "(cached) " >&6
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2862 test -z "$as_dir" && as_dir=.
2863 for ac_prog in mkdir gmkdir; do
2864 for ac_exec_ext in '' $ac_executable_extensions; do
2865 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2866 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2867 'mkdir (GNU coreutils
) '* | \
2868 'mkdir (coreutils
) '* | \
2869 'mkdir (fileutils
) '4.1*)
2870 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2880 test -d ./--version && rmdir ./--version
2881 if test "${ac_cv_path_mkdir+set}" = set; then
2882 MKDIR_P="$ac_cv_path_mkdir -p"
2884 # As a last resort, use the slow shell script. Don't cache a
2885 # value for MKDIR_P within a source directory, because that will
2886 # break other packages using the cache if that directory is
2887 # removed, or if the value is a relative name.
2888 MKDIR_P
="$ac_install_sh -d"
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2892 $as_echo "$MKDIR_P" >&6; }
2894 for ac_prog
in gawk mawk nawk
awk
2896 # Extract the first word of "$ac_prog", so it can be a program name with args.
2897 set dummy
$ac_prog; ac_word
=$2
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if ${ac_cv_prog_AWK+:} false
; then :
2901 $as_echo_n "(cached) " >&6
2903 if test -n "$AWK"; then
2904 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir
=.
2911 for ac_exec_ext
in '' $ac_executable_extensions; do
2912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2913 ac_cv_prog_AWK
="$ac_prog"
2914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 if test -n "$AWK"; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2926 $as_echo "$AWK" >&6; }
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
2933 test -n "$AWK" && break
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2937 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2939 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2940 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2941 $as_echo_n "(cached) " >&6
2943 cat >conftest.
make <<\_ACEOF
2946 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2948 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2949 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2951 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2953 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2957 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2959 $as_echo "yes" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2964 SET_MAKE
="MAKE=${MAKE-make}"
2967 rm -rf .tst
2>/dev
/null
2968 mkdir .tst
2>/dev
/null
2969 if test -d .tst
; then
2974 rmdir .tst
2>/dev
/null
2976 # Check whether --enable-silent-rules was given.
2977 if test "${enable_silent_rules+set}" = set; then :
2978 enableval
=$enable_silent_rules;
2981 case $enable_silent_rules in # (((
2982 yes) AM_DEFAULT_VERBOSITY
=0;;
2983 no
) AM_DEFAULT_VERBOSITY
=1;;
2984 *) AM_DEFAULT_VERBOSITY
=1;;
2986 am_make
=${MAKE-make}
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2988 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2989 if ${am_cv_make_support_nested_variables+:} false
; then :
2990 $as_echo_n "(cached) " >&6
2992 if $as_echo 'TRUE=$(BAR$(V))
2998 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
2999 am_cv_make_support_nested_variables
=yes
3001 am_cv_make_support_nested_variables
=no
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3005 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3006 if test $am_cv_make_support_nested_variables = yes; then
3008 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3010 AM_V
=$AM_DEFAULT_VERBOSITY
3011 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3015 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3016 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3017 # is not polluted with repeated "-I."
3018 am__isrc
=' -I$(srcdir)'
3019 # test to see if srcdir already configured
3020 if test -f $srcdir/config.status
; then
3021 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3025 # test whether we have cygpath
3026 if test -z "$CYGPATH_W"; then
3027 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3028 CYGPATH_W
='cygpath -w'
3035 # Define the identity of the package.
3040 cat >>confdefs.h
<<_ACEOF
3041 #define PACKAGE "$PACKAGE"
3045 cat >>confdefs.h
<<_ACEOF
3046 #define VERSION "$VERSION"
3049 # Some tools Automake needs.
3051 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3054 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3057 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3060 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3063 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3065 # For better backward compatibility. To be removed once Automake 1.9.x
3066 # dies out for good. For more background, see:
3067 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3068 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3069 mkdir_p
='$(MKDIR_P)'
3071 # We need awk for the "check" target. The system "awk" is bad on
3073 # Always define AMTAR for backward compatibility. Yes, it's still used
3074 # in the wild :-( We should find a proper way to deprecate it ...
3077 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3086 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3091 macro_version
='2.4.2'
3092 macro_revision
='1.3337'
3106 ltmain
="$ac_aux_dir/ltmain.sh"
3108 # Make sure we can run config.sub.
3109 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3110 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3113 $as_echo_n "checking build system type... " >&6; }
3114 if ${ac_cv_build+:} false
; then :
3115 $as_echo_n "(cached) " >&6
3117 ac_build_alias
=$build_alias
3118 test "x$ac_build_alias" = x
&&
3119 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3120 test "x$ac_build_alias" = x
&&
3121 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3122 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3123 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3127 $as_echo "$ac_cv_build" >&6; }
3128 case $ac_cv_build in
3130 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3133 ac_save_IFS
=$IFS; IFS
='-'
3139 # Remember, the first character of IFS is used to create $*,
3140 # except with old shells:
3143 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3147 $as_echo_n "checking host system type... " >&6; }
3148 if ${ac_cv_host+:} false
; then :
3149 $as_echo_n "(cached) " >&6
3151 if test "x$host_alias" = x
; then
3152 ac_cv_host
=$ac_cv_build
3154 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3155 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3160 $as_echo "$ac_cv_host" >&6; }
3163 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3166 ac_save_IFS
=$IFS; IFS
='-'
3172 # Remember, the first character of IFS is used to create $*,
3173 # except with old shells:
3176 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3179 # Backslashify metacharacters that are still active within
3180 # double-quoted strings.
3181 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3183 # Same as above, but do not quote variable references.
3184 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3186 # Sed substitution to delay expansion of an escaped shell variable in a
3187 # double_quote_subst'ed string.
3188 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3190 # Sed substitution to delay expansion of an escaped single quote.
3191 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3193 # Sed substitution to avoid accidental globbing in evaled expressions
3194 no_glob_subst
='s/\*/\\\*/g'
3196 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3197 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3198 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3201 $as_echo_n "checking how to print strings... " >&6; }
3202 # Test print first, because it will be a builtin if present.
3203 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3204 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3206 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3209 # Use this function as a fallback that always works.
3210 func_fallback_echo ()
3212 eval 'cat <<_LTECHO_EOF
3216 ECHO='func_fallback_echo
'
3219 # func_echo_all arg...
3220 # Invoke $ECHO with all args, space-separated.
3227 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3228 $as_echo "printf" >&6; } ;;
3229 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3230 $as_echo "print -r" >&6; } ;;
3231 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3232 $as_echo "cat" >&6; } ;;
3248 DEPDIR="${am__leading_dot}deps"
3250 ac_config_commands="$ac_config_commands depfiles"
3253 am_make=${MAKE-make}
3254 cat > confinc << 'END'
3256 @echo this is the am__doit target
3259 # If we don't
find an include directive
, just comment out the code.
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3261 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3265 # First try GNU make style include.
3266 echo "include confinc" > confmf
3267 # Ignore all kinds of additional output from 'make'.
3268 case `$am_make -s -f confmf 2> /dev/null` in #(
3269 *the\ am__doit\ target
*)
3275 # Now try BSD make style include.
3276 if test "$am__include" = "#"; then
3277 echo '.include "confinc"' > confmf
3278 case `$am_make -s -f confmf 2> /dev/null` in #(
3279 *the\ am__doit\ target
*)
3280 am__include
=.include
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3289 $as_echo "$_am_result" >&6; }
3290 rm -f confinc confmf
3292 # Check whether --enable-dependency-tracking was given.
3293 if test "${enable_dependency_tracking+set}" = set; then :
3294 enableval
=$enable_dependency_tracking;
3297 if test "x$enable_dependency_tracking" != xno
; then
3298 am_depcomp
="$ac_aux_dir/depcomp"
3302 if test "x$enable_dependency_tracking" != xno; then
3312 ac_cpp
='$CPP $CPPFLAGS'
3313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3316 if test -n "$ac_tool_prefix"; then
3317 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3318 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3320 $as_echo_n "checking for $ac_word... " >&6; }
3321 if ${ac_cv_prog_CC+:} false
; then :
3322 $as_echo_n "(cached) " >&6
3324 if test -n "$CC"; then
3325 ac_cv_prog_CC
="$CC" # Let the user override the test.
3327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3331 test -z "$as_dir" && as_dir
=.
3332 for ac_exec_ext
in '' $ac_executable_extensions; do
3333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3334 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 if test -n "$CC"; then
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3347 $as_echo "$CC" >&6; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3350 $as_echo "no" >&6; }
3355 if test -z "$ac_cv_prog_CC"; then
3357 # Extract the first word of "gcc", so it can be a program name with args.
3358 set dummy gcc
; ac_word
=$2
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3360 $as_echo_n "checking for $ac_word... " >&6; }
3361 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3362 $as_echo_n "(cached) " >&6
3364 if test -n "$ac_ct_CC"; then
3365 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3371 test -z "$as_dir" && as_dir
=.
3372 for ac_exec_ext
in '' $ac_executable_extensions; do
3373 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3374 ac_cv_prog_ac_ct_CC
="gcc"
3375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3384 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3385 if test -n "$ac_ct_CC"; then
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3387 $as_echo "$ac_ct_CC" >&6; }
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3390 $as_echo "no" >&6; }
3393 if test "x$ac_ct_CC" = x
; then
3396 case $cross_compiling:$ac_tool_warned in
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3400 ac_tool_warned
=yes ;;
3408 if test -z "$CC"; then
3409 if test -n "$ac_tool_prefix"; then
3410 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3411 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if ${ac_cv_prog_CC+:} false
; then :
3415 $as_echo_n "(cached) " >&6
3417 if test -n "$CC"; then
3418 ac_cv_prog_CC
="$CC" # Let the user override the test.
3420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3424 test -z "$as_dir" && as_dir
=.
3425 for ac_exec_ext
in '' $ac_executable_extensions; do
3426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3427 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 if test -n "$CC"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3440 $as_echo "$CC" >&6; }
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3449 if test -z "$CC"; then
3450 # Extract the first word of "cc", so it can be a program name with args.
3451 set dummy cc
; ac_word
=$2
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3453 $as_echo_n "checking for $ac_word... " >&6; }
3454 if ${ac_cv_prog_CC+:} false
; then :
3455 $as_echo_n "(cached) " >&6
3457 if test -n "$CC"; then
3458 ac_cv_prog_CC
="$CC" # Let the user override the test.
3461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3465 test -z "$as_dir" && as_dir
=.
3466 for ac_exec_ext
in '' $ac_executable_extensions; do
3467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3468 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3469 ac_prog_rejected
=yes
3473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3480 if test $ac_prog_rejected = yes; then
3481 # We found a bogon in the path, so make sure we never use it.
3482 set dummy
$ac_cv_prog_CC
3484 if test $# != 0; then
3485 # We chose a different compiler from the bogus one.
3486 # However, it has the same basename, so the bogon will be chosen
3487 # first if we set CC to just the basename; use the full file name.
3489 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3495 if test -n "$CC"; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3497 $as_echo "$CC" >&6; }
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 $as_echo "no" >&6; }
3505 if test -z "$CC"; then
3506 if test -n "$ac_tool_prefix"; then
3507 for ac_prog
in cl.exe
3509 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3510 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3512 $as_echo_n "checking for $ac_word... " >&6; }
3513 if ${ac_cv_prog_CC+:} false
; then :
3514 $as_echo_n "(cached) " >&6
3516 if test -n "$CC"; then
3517 ac_cv_prog_CC
="$CC" # Let the user override the test.
3519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3523 test -z "$as_dir" && as_dir
=.
3524 for ac_exec_ext
in '' $ac_executable_extensions; do
3525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3526 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 if test -n "$CC"; then
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3539 $as_echo "$CC" >&6; }
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3542 $as_echo "no" >&6; }
3546 test -n "$CC" && break
3549 if test -z "$CC"; then
3551 for ac_prog
in cl.exe
3553 # Extract the first word of "$ac_prog", so it can be a program name with args.
3554 set dummy
$ac_prog; ac_word
=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3558 $as_echo_n "(cached) " >&6
3560 if test -n "$ac_ct_CC"; then
3561 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3567 test -z "$as_dir" && as_dir
=.
3568 for ac_exec_ext
in '' $ac_executable_extensions; do
3569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_ac_ct_CC
="$ac_prog"
3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3581 if test -n "$ac_ct_CC"; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3583 $as_echo "$ac_ct_CC" >&6; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3590 test -n "$ac_ct_CC" && break
3593 if test "x$ac_ct_CC" = x
; then
3596 case $cross_compiling:$ac_tool_warned in
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3600 ac_tool_warned
=yes ;;
3609 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3611 as_fn_error $?
"no acceptable C compiler found in \$PATH
3612 See \`config.log' for more details" "$LINENO" 5; }
3614 # Provide some information about the compiler.
3615 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3618 for ac_option
in --version -v -V -qversion; do
3619 { { ac_try
="$ac_compiler $ac_option >&5"
3621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3622 *) ac_try_echo=$ac_try;;
3624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3625 $as_echo "$ac_try_echo"; } >&5
3626 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3628 if test -s conftest.err; then
3630 ... rest of stderr output deleted ...
3631 10q' conftest.err >conftest.er1
3632 cat conftest.er1 >&5
3634 rm -f conftest.er1 conftest.err
3635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3636 test $ac_status = 0; }
3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3650 ac_clean_files_save=$ac_clean_files
3651 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3652 # Try to create an executable without -o first, disregard a.out.
3653 # It will help us diagnose broken compilers, and finding out an intuition
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3656 $as_echo_n "checking whether the C compiler works... " >&6; }
3657 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3659 # The possible output files:
3660 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3663 for ac_file in $ac_files
3666 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3667 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3672 if { { ac_try="$ac_link_default"
3674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3675 *) ac_try_echo
=$ac_try;;
3677 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3678 $as_echo "$ac_try_echo"; } >&5
3679 (eval "$ac_link_default") 2>&5
3681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3682 test $ac_status = 0; }; then :
3683 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3684 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3685 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3686 # so that the user can short-circuit this test for compilers unknown to
3688 for ac_file
in $ac_files ''
3690 test -f "$ac_file" || continue
3692 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3695 # We found the default executable, but exeext='' is most
3699 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3701 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3703 # We set ac_cv_exeext here because the later test for it is not
3704 # safe: cross compilers may not add the suffix if given an `-o'
3705 # argument, so we may need to know it at that point already.
3706 # Even if this section looks crufty: it has the advantage of
3713 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3718 if test -z "$ac_file"; then :
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3720 $as_echo "no" >&6; }
3721 $as_echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.
$ac_ext >&5
3724 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3726 as_fn_error
77 "C compiler cannot create executables
3727 See \`config.log' for more details" "$LINENO" 5; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3730 $as_echo "yes" >&6; }
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3733 $as_echo_n "checking for C compiler default output file name... " >&6; }
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3735 $as_echo "$ac_file" >&6; }
3736 ac_exeext
=$ac_cv_exeext
3738 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3739 ac_clean_files
=$ac_clean_files_save
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3741 $as_echo_n "checking for suffix of executables... " >&6; }
3742 if { { ac_try
="$ac_link"
3744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3745 *) ac_try_echo=$ac_try;;
3747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3748 $as_echo "$ac_try_echo"; } >&5
3749 (eval "$ac_link") 2>&5
3751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3752 test $ac_status = 0; }; then :
3753 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3754 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3755 # work properly (i.e., refer to `conftest.exe'), while it won't with
3757 for ac_file
in conftest.exe conftest conftest.
*; do
3758 test -f "$ac_file" || continue
3760 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3761 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3769 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3770 See \`config.log' for more details" "$LINENO" 5; }
3772 rm -f conftest conftest
$ac_cv_exeext
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3774 $as_echo "$ac_cv_exeext" >&6; }
3776 rm -f conftest.
$ac_ext
3777 EXEEXT
=$ac_cv_exeext
3779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3785 FILE *f = fopen ("conftest.out", "w");
3786 return ferror (f) || fclose (f) != 0;
3792 ac_clean_files
="$ac_clean_files conftest.out"
3793 # Check that the compiler produces executables we can run. If not, either
3794 # the compiler is broken, or we cross compile.
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3796 $as_echo_n "checking whether we are cross compiling... " >&6; }
3797 if test "$cross_compiling" != yes; then
3798 { { ac_try
="$ac_link"
3800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3801 *) ac_try_echo=$ac_try;;
3803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3804 $as_echo "$ac_try_echo"; } >&5
3805 (eval "$ac_link") 2>&5
3807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3808 test $ac_status = 0; }
3809 if { ac_try='./conftest$ac_cv_exeext'
3810 { { case "(($ac_try" in
3811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3812 *) ac_try_echo
=$ac_try;;
3814 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3815 $as_echo "$ac_try_echo"; } >&5
3816 (eval "$ac_try") 2>&5
3818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3819 test $ac_status = 0; }; }; then
3822 if test "$cross_compiling" = maybe
; then
3825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3827 as_fn_error $?
"cannot run C compiled programs.
3828 If you meant to cross compile, use \`--host'.
3829 See \`config.log' for more details" "$LINENO" 5; }
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3834 $as_echo "$cross_compiling" >&6; }
3836 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3837 ac_clean_files
=$ac_clean_files_save
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3839 $as_echo_n "checking for suffix of object files... " >&6; }
3840 if ${ac_cv_objext+:} false
; then :
3841 $as_echo_n "(cached) " >&6
3843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3844 /* end confdefs.h. */
3854 rm -f conftest.o conftest.obj
3855 if { { ac_try
="$ac_compile"
3857 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3861 $as_echo "$ac_try_echo"; } >&5
3862 (eval "$ac_compile") 2>&5
3864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3865 test $ac_status = 0; }; then :
3866 for ac_file in conftest.o conftest.obj conftest.*; do
3867 test -f "$ac_file" || continue;
3869 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3870 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3875 $as_echo "$as_me: failed program was:" >&5
3876 sed 's/^/| /' conftest.$ac_ext >&5
3878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3880 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3881 See \
`config.log' for more details" "$LINENO" 5; }
3883 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3886 $as_echo "$ac_cv_objext" >&6; }
3887 OBJEXT=$ac_cv_objext
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3890 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3891 if ${ac_cv_c_compiler_gnu+:} false; then :
3892 $as_echo_n "(cached) " >&6
3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3908 if ac_fn_c_try_compile "$LINENO"; then :
3913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3914 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3918 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3919 if test $ac_compiler_gnu = yes; then
3924 ac_test_CFLAGS=${CFLAGS+set}
3925 ac_save_CFLAGS=$CFLAGS
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3927 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3928 if ${ac_cv_prog_cc_g+:} false; then :
3929 $as_echo_n "(cached) " >&6
3931 ac_save_c_werror_flag=$ac_c_werror_flag
3932 ac_c_werror_flag=yes
3935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3936 /* end confdefs.h. */
3946 if ac_fn_c_try_compile "$LINENO"; then :
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3961 if ac_fn_c_try_compile "$LINENO"; then :
3964 ac_c_werror_flag=$ac_save_c_werror_flag
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3977 if ac_fn_c_try_compile "$LINENO"; then :
3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985 ac_c_werror_flag=$ac_save_c_werror_flag
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3988 $as_echo "$ac_cv_prog_cc_g" >&6; }
3989 if test "$ac_test_CFLAGS" = set; then
3990 CFLAGS=$ac_save_CFLAGS
3991 elif test $ac_cv_prog_cc_g = yes; then
3992 if test "$GCC" = yes; then
3998 if test "$GCC" = yes; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4005 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4006 if ${ac_cv_prog_cc_c89+:} false; then :
4007 $as_echo_n "(cached) " >&6
4009 ac_cv_prog_cc_c89=no
4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4016 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4017 struct buf { int x; };
4018 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4019 static char *e (p, i)
4025 static char *f (char * (*g) (char **, int), char **p, ...)
4030 s = g (p, va_arg (v,int));
4035 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4036 function prototypes and stuff, but not '\xHH' hex character constants.
4037 These don't provoke an error unfortunately, instead are silently treated
4038 as 'x'. The following induces an error, until -std is added to get
4039 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4040 array size at least. It's necessary to write '\x00'==0 to get something
4041 that's true only with -std. */
4042 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4044 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4045 inside strings and character constants. */
4047 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4049 int test (int i, double x);
4050 struct s1 {int (*f) (int a);};
4051 struct s2 {int (*f) (double a);};
4052 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4058 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4063 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4064 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4066 CC="$ac_save_CC $ac_arg"
4067 if ac_fn_c_try_compile "$LINENO"; then :
4068 ac_cv_prog_cc_c89=$ac_arg
4070 rm -f core conftest.err conftest.$ac_objext
4071 test "x$ac_cv_prog_cc_c89" != "xno" && break
4073 rm -f conftest.$ac_ext
4078 case "x$ac_cv_prog_cc_c89" in
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4081 $as_echo "none needed" >&6; } ;;
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4084 $as_echo "unsupported" >&6; } ;;
4086 CC="$CC $ac_cv_prog_cc_c89"
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4088 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4090 if test "x$ac_cv_prog_cc_c89" != xno; then :
4095 ac_cpp='$CPP $CPPFLAGS'
4096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4100 depcc="$CC" am_compiler_list=
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4103 $as_echo_n "checking dependency style of $depcc... " >&6; }
4104 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4105 $as_echo_n "(cached) " >&6
4107 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4108 # We make a subdir and do the tests there. Otherwise we can end up
4109 # making bogus files that we don't know about and never remove. For
4110 # instance it was reported that on HP-UX the gcc test will end up
4111 # making a dummy file named 'D' -- because '-MD' means "put the output
4115 # Copy depcomp to subdir because otherwise we won't find it if we're
4116 # using a relative directory.
4117 cp "$am_depcomp" conftest.dir
4119 # We will build objects and dependencies in a subdirectory because
4120 # it helps to detect inapplicable dependency modes. For instance
4121 # both Tru64's cc and ICC support -MD to output dependencies as a
4122 # side effect of compilation, but ICC will put the dependencies in
4123 # the current directory while Tru64 will put them in the object
4127 am_cv_CC_dependencies_compiler_type=none
4128 if test "$am_compiler_list" = ""; then
4129 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4132 case " $depcc " in #(
4133 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4136 for depmode in $am_compiler_list; do
4137 # Setup a source with many dependencies, because some compilers
4138 # like to wrap large dependency lists on column 80 (with \), and
4139 # we should not choose a depcomp mode which is confused by this.
4141 # We need to recreate these files for each test, as the compiler may
4142 # overwrite some of them when testing with obscure command lines.
4143 # This happens at least with the AIX C compiler.
4145 for i in 1 2 3 4 5 6; do
4146 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4147 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4148 # Solaris 10 /bin/sh.
4149 echo '/* dummy */' > sub/conftst$i.h
4151 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4153 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4154 # mode. It turns out that the SunPro C++ compiler does not properly
4155 # handle '-M -o', and we need to detect this. Also, some Intel
4156 # versions had trouble with output in subdirs.
4157 am__obj=sub/conftest.${OBJEXT-o}
4158 am__minus_obj="-o $am__obj"
4161 # This depmode causes a compiler race in universal mode.
4162 test "$am__universal" = false || continue
4165 # After this tag, mechanisms are not by side-effect, so they'll
4166 # only be used when explicitly requested.
4167 if test "x$enable_dependency_tracking" = xyes; then
4173 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4174 # This compiler won't grok '-c -o', but also, the minuso test has
4175 # not run yet. These depmodes are late enough in the game, and
4176 # so weak that their functioning should not be impacted.
4177 am__obj=conftest.${OBJEXT-o}
4182 if depmode=$depmode \
4183 source=sub/conftest.c object=$am__obj \
4184 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4185 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4186 >/dev/null 2>conftest.err &&
4187 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4188 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4189 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4190 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4191 # icc doesn't choke on unknown options, it will just issue warnings
4192 # or remarks (even with -Werror). So we grep stderr for any message
4193 # that says an option was ignored or not supported.
4194 # When given -MP, icc 7.0 and 7.1 complain thusly:
4195 # icc: Command line warning: ignoring option '-M'; no argument required
4196 # The diagnosis changed in icc 8.0:
4197 # icc: Command line remark: option '-MP' not supported
4198 if (grep 'ignoring option' conftest.err ||
4199 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4200 am_cv_CC_dependencies_compiler_type=$depmode
4209 am_cv_CC_dependencies_compiler_type=none
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4214 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4215 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4218 test "x$enable_dependency_tracking" != xno \
4219 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4221 am__fastdepCC_FALSE='#'
4223 am__fastdepCC_TRUE='#'
4224 am__fastdepCC_FALSE=
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4229 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4230 if ${ac_cv_path_SED+:} false; then :
4231 $as_echo_n "(cached) " >&6
4233 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4234 for ac_i in 1 2 3 4 5 6 7; do
4235 ac_script="$ac_script$as_nl$ac_script"
4237 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4238 { ac_script=; unset ac_script;}
4239 if test -z "$SED"; then
4240 ac_path_SED_found=false
4241 # Loop through the user's path and test for each of PROGNAME-LIST
4242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246 test -z "$as_dir" && as_dir=.
4247 for ac_prog in sed gsed; do
4248 for ac_exec_ext in '' $ac_executable_extensions; do
4249 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4250 as_fn_executable_p "$ac_path_SED" || continue
4251 # Check for GNU ac_path_SED and select it if it is found.
4252 # Check for GNU $ac_path_SED
4253 case `"$ac_path_SED" --version 2>&1` in
4255 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4258 $as_echo_n 0123456789 >"conftest.in"
4261 cat "conftest.in" "conftest.in" >"conftest.tmp"
4262 mv "conftest.tmp" "conftest.in"
4263 cp "conftest.in" "conftest.nl"
4264 $as_echo '' >> "conftest.nl"
4265 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4266 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4267 as_fn_arith $ac_count + 1 && ac_count=$as_val
4268 if test $ac_count -gt ${ac_path_SED_max-0}; then
4269 # Best one so far, save it but keep looking for a better one
4270 ac_cv_path_SED="$ac_path_SED"
4271 ac_path_SED_max=$ac_count
4273 # 10*(2^10) chars as input seems more than enough
4274 test $ac_count -gt 10 && break
4276 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4279 $ac_path_SED_found && break 3
4284 if test -z "$ac_cv_path_SED"; then
4285 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4293 $as_echo "$ac_cv_path_SED" >&6; }
4294 SED="$ac_cv_path_SED"
4297 test -z "$SED" && SED=sed
4298 Xsed="$SED -e 1s/^X//"
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4311 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4312 if ${ac_cv_path_GREP+:} false; then :
4313 $as_echo_n "(cached) " >&6
4315 if test -z "$GREP"; then
4316 ac_path_GREP_found=false
4317 # Loop through the user's path and test for each of PROGNAME-LIST
4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4319 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4322 test -z "$as_dir" && as_dir=.
4323 for ac_prog in grep ggrep; do
4324 for ac_exec_ext in '' $ac_executable_extensions; do
4325 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4326 as_fn_executable_p "$ac_path_GREP" || continue
4327 # Check for GNU ac_path_GREP and select it if it is found.
4328 # Check for GNU $ac_path_GREP
4329 case `"$ac_path_GREP" --version 2>&1` in
4331 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4334 $as_echo_n 0123456789 >"conftest.in"
4337 cat "conftest.in" "conftest.in" >"conftest.tmp"
4338 mv "conftest.tmp" "conftest.in"
4339 cp "conftest.in" "conftest.nl"
4340 $as_echo 'GREP' >> "conftest.nl"
4341 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4342 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4343 as_fn_arith $ac_count + 1 && ac_count=$as_val
4344 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4345 # Best one so far, save it but keep looking for a better one
4346 ac_cv_path_GREP="$ac_path_GREP"
4347 ac_path_GREP_max=$ac_count
4349 # 10*(2^10) chars as input seems more than enough
4350 test $ac_count -gt 10 && break
4352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4355 $ac_path_GREP_found && break 3
4360 if test -z "$ac_cv_path_GREP"; then
4361 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4364 ac_cv_path_GREP=$GREP
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4369 $as_echo "$ac_cv_path_GREP" >&6; }
4370 GREP="$ac_cv_path_GREP"
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4374 $as_echo_n "checking for egrep... " >&6; }
4375 if ${ac_cv_path_EGREP+:} false; then :
4376 $as_echo_n "(cached) " >&6
4378 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4379 then ac_cv_path_EGREP="$GREP -E"
4381 if test -z "$EGREP"; then
4382 ac_path_EGREP_found=false
4383 # Loop through the user's path and test for each of PROGNAME-LIST
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4388 test -z "$as_dir" && as_dir=.
4389 for ac_prog in egrep; do
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4392 as_fn_executable_p "$ac_path_EGREP" || continue
4393 # Check for GNU ac_path_EGREP and select it if it is found.
4394 # Check for GNU $ac_path_EGREP
4395 case `"$ac_path_EGREP" --version 2>&1` in
4397 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4400 $as_echo_n 0123456789 >"conftest.in"
4403 cat "conftest.in" "conftest.in" >"conftest.tmp"
4404 mv "conftest.tmp" "conftest.in"
4405 cp "conftest.in" "conftest.nl"
4406 $as_echo 'EGREP' >> "conftest.nl"
4407 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4408 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4409 as_fn_arith $ac_count + 1 && ac_count=$as_val
4410 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4411 # Best one so far, save it but keep looking for a better one
4412 ac_cv_path_EGREP="$ac_path_EGREP"
4413 ac_path_EGREP_max=$ac_count
4415 # 10*(2^10) chars as input seems more than enough
4416 test $ac_count -gt 10 && break
4418 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4421 $ac_path_EGREP_found && break 3
4426 if test -z "$ac_cv_path_EGREP"; then
4427 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4430 ac_cv_path_EGREP=$EGREP
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4436 $as_echo "$ac_cv_path_EGREP" >&6; }
4437 EGREP="$ac_cv_path_EGREP"
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4441 $as_echo_n "checking for fgrep... " >&6; }
4442 if ${ac_cv_path_FGREP+:} false; then :
4443 $as_echo_n "(cached) " >&6
4445 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4446 then ac_cv_path_FGREP="$GREP -F"
4448 if test -z "$FGREP"; then
4449 ac_path_FGREP_found=false
4450 # Loop through the user's path and test for each of PROGNAME-LIST
4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4455 test -z "$as_dir" && as_dir=.
4456 for ac_prog in fgrep; do
4457 for ac_exec_ext in '' $ac_executable_extensions; do
4458 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4459 as_fn_executable_p "$ac_path_FGREP" || continue
4460 # Check for GNU ac_path_FGREP and select it if it is found.
4461 # Check for GNU $ac_path_FGREP
4462 case `"$ac_path_FGREP" --version 2>&1` in
4464 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4467 $as_echo_n 0123456789 >"conftest.in"
4470 cat "conftest.in" "conftest.in" >"conftest.tmp"
4471 mv "conftest.tmp" "conftest.in"
4472 cp "conftest.in" "conftest.nl"
4473 $as_echo 'FGREP' >> "conftest.nl"
4474 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4475 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4476 as_fn_arith $ac_count + 1 && ac_count=$as_val
4477 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4478 # Best one so far, save it but keep looking for a better one
4479 ac_cv_path_FGREP="$ac_path_FGREP"
4480 ac_path_FGREP_max=$ac_count
4482 # 10*(2^10) chars as input seems more than enough
4483 test $ac_count -gt 10 && break
4485 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4488 $ac_path_FGREP_found && break 3
4493 if test -z "$ac_cv_path_FGREP"; then
4494 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4497 ac_cv_path_FGREP=$FGREP
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4503 $as_echo "$ac_cv_path_FGREP" >&6; }
4504 FGREP="$ac_cv_path_FGREP"
4507 test -z "$GREP" && GREP=grep
4527 # Check whether --with-gnu-ld was given.
4528 if test "${with_gnu_ld+set}" = set; then :
4529 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4535 if test "$GCC" = yes; then
4536 # Check if gcc -print-prog-name=ld gives a path.
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4538 $as_echo_n "checking for ld used by $CC... " >&6; }
4541 # gcc leaves a trailing carriage return which upsets mingw
4542 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
4544 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4547 # Accept absolute paths.
4549 re_direlt='/[^/][^/]*/\.\./'
4550 # Canonicalize the pathname of ld
4551 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4552 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4553 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4555 test -z "$LD" && LD="$ac_prog"
4558 # If it fails, then pretend we aren't using GCC.
4562 # If it is relative, then search for the first ld in PATH.
4566 elif test "$with_gnu_ld" = yes; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4568 $as_echo_n "checking for GNU ld... " >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4571 $as_echo_n "checking for non-GNU ld... " >&6; }
4573 if ${lt_cv_path_LD+:} false; then :
4574 $as_echo_n "(cached) " >&6
4576 if test -z "$LD"; then
4577 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4578 for ac_dir in $PATH; do
4580 test -z "$ac_dir" && ac_dir=.
4581 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4582 lt_cv_path_LD="$ac_dir/$ac_prog"
4583 # Check to see if the program is GNU ld. I'd rather use --version,
4584 # but apparently some variants of GNU ld only accept -v.
4585 # Break only if it was the GNU/non-GNU ld that we prefer.
4586 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4587 *GNU* | *'with BFD'*)
4588 test "$with_gnu_ld" != no && break
4591 test "$with_gnu_ld" != yes && break
4598 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4603 if test -n "$LD"; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4605 $as_echo "$LD" >&6; }
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4608 $as_echo "no" >&6; }
4610 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4612 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4613 if ${lt_cv_prog_gnu_ld+:} false; then :
4614 $as_echo_n "(cached) " >&6
4616 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4617 case `$LD -v 2>&1 </dev
/null
` in
4618 *GNU* | *'with BFD'*)
4619 lt_cv_prog_gnu_ld=yes
4622 lt_cv_prog_gnu_ld=no
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4627 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4628 with_gnu_ld=$lt_cv_prog_gnu_ld
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4639 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4640 if ${lt_cv_path_NM+:} false; then :
4641 $as_echo_n "(cached) " >&6
4643 if test -n "$NM"; then
4644 # Let the user override the test.
4647 lt_nm_to_check="${ac_tool_prefix}nm"
4648 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4649 lt_nm_to_check="$lt_nm_to_check nm"
4651 for lt_tmp_nm in $lt_nm_to_check; do
4652 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4653 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4655 test -z "$ac_dir" && ac_dir=.
4656 tmp_nm="$ac_dir/$lt_tmp_nm"
4657 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4658 # Check to see if the nm accepts a BSD-compat flag.
4659 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
4660 # nm: unknown option "B" ignored
4661 # Tru64's nm complains that
/dev
/null is an invalid object
file
4662 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4663 */dev
/null
* | *'Invalid file or object type'*)
4664 lt_cv_path_NM
="$tmp_nm -B"
4668 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4670 lt_cv_path_NM
="$tmp_nm -p"
4674 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4675 continue # so that we can try to find one that supports BSD flags
4684 : ${lt_cv_path_NM=no}
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4688 $as_echo "$lt_cv_path_NM" >&6; }
4689 if test "$lt_cv_path_NM" != "no"; then
4692 # Didn't find any BSD compatible name lister, look for dumpbin.
4693 if test -n "$DUMPBIN"; then :
4694 # Let the user override the test.
4696 if test -n "$ac_tool_prefix"; then
4697 for ac_prog
in dumpbin
"link -dump"
4699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4700 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4704 $as_echo_n "(cached) " >&6
4706 if test -n "$DUMPBIN"; then
4707 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4713 test -z "$as_dir" && as_dir
=.
4714 for ac_exec_ext
in '' $ac_executable_extensions; do
4715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4716 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 DUMPBIN
=$ac_cv_prog_DUMPBIN
4727 if test -n "$DUMPBIN"; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4729 $as_echo "$DUMPBIN" >&6; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4736 test -n "$DUMPBIN" && break
4739 if test -z "$DUMPBIN"; then
4740 ac_ct_DUMPBIN
=$DUMPBIN
4741 for ac_prog
in dumpbin
"link -dump"
4743 # Extract the first word of "$ac_prog", so it can be a program name with args.
4744 set dummy
$ac_prog; ac_word
=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4748 $as_echo_n "(cached) " >&6
4750 if test -n "$ac_ct_DUMPBIN"; then
4751 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir
=.
4758 for ac_exec_ext
in '' $ac_executable_extensions; do
4759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4760 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4771 if test -n "$ac_ct_DUMPBIN"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4773 $as_echo "$ac_ct_DUMPBIN" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4780 test -n "$ac_ct_DUMPBIN" && break
4783 if test "x$ac_ct_DUMPBIN" = x
; then
4786 case $cross_compiling:$ac_tool_warned in
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4790 ac_tool_warned
=yes ;;
4792 DUMPBIN
=$ac_ct_DUMPBIN
4796 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4798 DUMPBIN
="$DUMPBIN -symbols"
4806 if test "$DUMPBIN" != ":"; then
4810 test -z "$NM" && NM
=nm
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4818 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4819 if ${lt_cv_nm_interface+:} false
; then :
4820 $as_echo_n "(cached) " >&6
4822 lt_cv_nm_interface
="BSD nm"
4823 echo "int some_variable = 0;" > conftest.
$ac_ext
4824 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4825 (eval "$ac_compile" 2>conftest.err
)
4826 cat conftest.err
>&5
4827 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4828 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4829 cat conftest.err
>&5
4830 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4831 cat conftest.out
>&5
4832 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4833 lt_cv_nm_interface
="MS dumpbin"
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4838 $as_echo "$lt_cv_nm_interface" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4841 $as_echo_n "checking whether ln -s works... " >&6; }
4843 if test "$LN_S" = "ln -s"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4845 $as_echo "yes" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4848 $as_echo "no, using $LN_S" >&6; }
4851 # find the maximum length of command line arguments
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4853 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4854 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4855 $as_echo_n "(cached) " >&6
4862 # On DJGPP, this test can blow up pretty badly due to problems in libc
4863 # (any single argument exceeding 2000 bytes causes a buffer overrun
4864 # during glob expansion). Even if it were fixed, the result of this
4865 # check would be larger than it should be.
4866 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4870 # Under GNU Hurd, this test is not required because there is
4871 # no limit to the length of command line arguments.
4872 # Libtool will interpret -1 as no limit whatsoever
4873 lt_cv_sys_max_cmd_len
=-1;
4876 cygwin
* | mingw
* | cegcc
*)
4877 # On Win9x/ME, this test blows up -- it succeeds, but takes
4878 # about 5 minutes as the teststring grows exponentially.
4879 # Worse, since 9x/ME are not pre-emptively multitasking,
4880 # you end up with a "frozen" computer, even though with patience
4881 # the test eventually succeeds (with a max line length of 256k).
4882 # Instead, let's just punt: use the minimum linelength reported by
4883 # all of the supported platforms: 8192 (on NT/2K/XP).
4884 lt_cv_sys_max_cmd_len
=8192;
4888 # On MiNT this can take a long time and run out of memory.
4889 lt_cv_sys_max_cmd_len
=8192;
4893 # On AmigaOS with pdksh, this test takes hours, literally.
4894 # So we just punt and use a minimum line length of 8192.
4895 lt_cv_sys_max_cmd_len
=8192;
4898 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4899 # This has been around since 386BSD, at least. Likely further.
4900 if test -x /sbin
/sysctl
; then
4901 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4902 elif test -x /usr
/sbin
/sysctl
; then
4903 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4905 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4907 # And add a safety zone
4908 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4909 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4913 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4914 lt_cv_sys_max_cmd_len
=196608
4918 # The test takes a long time on OS/2.
4919 lt_cv_sys_max_cmd_len
=8192
4923 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4924 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4925 # nice to cause kernel panics so lets avoid the loop below.
4926 # First set a reasonable default.
4927 lt_cv_sys_max_cmd_len
=16384
4929 if test -x /sbin
/sysconfig
; then
4930 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4931 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4936 lt_cv_sys_max_cmd_len
=102400
4938 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4939 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4940 if test -n "$kargmax"; then
4941 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4943 lt_cv_sys_max_cmd_len
=32768
4947 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4948 if test -n "$lt_cv_sys_max_cmd_len"; then
4949 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4950 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4952 # Make teststring a little bigger before we do anything with it.
4953 # a 1K string should be a reasonable start.
4954 for i
in 1 2 3 4 5 6 7 8 ; do
4955 teststring
=$teststring$teststring
4957 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4958 # If test is not a shell built-in, we'll probably end up computing a
4959 # maximum length that is only half of the actual maximum length, but
4961 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4962 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4963 test $i != 17 # 1/2 MB should be enough
4966 teststring
=$teststring$teststring
4968 # Only check the string length outside the loop.
4969 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4971 # Add a significant safety factor because C++ compilers can tack on
4972 # massive amounts of additional arguments before passing them to the
4973 # linker. It appears as though 1/2 is a usable value.
4974 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4981 if test -n $lt_cv_sys_max_cmd_len ; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4983 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4986 $as_echo "none" >&6; }
4988 max_cmd_len
=$lt_cv_sys_max_cmd_len
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5000 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5001 # Try some XSI features
5004 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5006 && eval 'test $(( 1 + 1 )) -eq 2 \
5007 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5010 $as_echo "$xsi_shell" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5014 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5016 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5018 && lt_shell_append
=yes
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5020 $as_echo "$lt_shell_append" >&6; }
5023 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
5033 # test EBCDIC or ASCII
5034 case `echo X|tr X '\101'` in
5035 A
) # ASCII based system
5036 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5037 lt_SP2NL
='tr \040 \012'
5038 lt_NL2SP
='tr \015\012 \040\040'
5040 *) # EBCDIC based system
5041 lt_SP2NL
='tr \100 \n'
5042 lt_NL2SP
='tr \r\n \100\100'
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5055 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5056 if ${lt_cv_to_host_file_cmd+:} false
; then :
5057 $as_echo_n "(cached) " >&6
5062 *-*-mingw* ) # actually msys
5063 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
5066 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
5068 * ) # otherwise, assume *nix
5069 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
5075 *-*-mingw* ) # actually msys
5076 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
5079 lt_cv_to_host_file_cmd
=func_convert_file_noop
5081 * ) # otherwise, assume *nix
5082 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
5086 * ) # unhandled hosts (and "normal" native builds)
5087 lt_cv_to_host_file_cmd
=func_convert_file_noop
5093 to_host_file_cmd
=$lt_cv_to_host_file_cmd
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5095 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5102 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5103 if ${lt_cv_to_tool_file_cmd+:} false
; then :
5104 $as_echo_n "(cached) " >&6
5106 #assume ordinary cross tools, or native build.
5107 lt_cv_to_tool_file_cmd
=func_convert_file_noop
5111 *-*-mingw* ) # actually msys
5112 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
5120 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5122 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5129 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5130 if ${lt_cv_ld_reload_flag+:} false
; then :
5131 $as_echo_n "(cached) " >&6
5133 lt_cv_ld_reload_flag
='-r'
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5136 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5137 reload_flag
=$lt_cv_ld_reload_flag
5138 case $reload_flag in
5140 *) reload_flag
=" $reload_flag" ;;
5142 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5144 cygwin
* | mingw
* | pw32
* | cegcc
*)
5145 if test "$GCC" != yes; then
5150 if test "$GCC" = yes; then
5151 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5153 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5166 if test -n "$ac_tool_prefix"; then
5167 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5168 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5172 $as_echo_n "(cached) " >&6
5174 if test -n "$OBJDUMP"; then
5175 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir
=.
5182 for ac_exec_ext
in '' $ac_executable_extensions; do
5183 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5184 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 OBJDUMP
=$ac_cv_prog_OBJDUMP
5195 if test -n "$OBJDUMP"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5197 $as_echo "$OBJDUMP" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5205 if test -z "$ac_cv_prog_OBJDUMP"; then
5206 ac_ct_OBJDUMP
=$OBJDUMP
5207 # Extract the first word of "objdump", so it can be a program name with args.
5208 set dummy objdump
; ac_word
=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5212 $as_echo_n "(cached) " >&6
5214 if test -n "$ac_ct_OBJDUMP"; then
5215 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5221 test -z "$as_dir" && as_dir
=.
5222 for ac_exec_ext
in '' $ac_executable_extensions; do
5223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5235 if test -n "$ac_ct_OBJDUMP"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5237 $as_echo "$ac_ct_OBJDUMP" >&6; }
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5243 if test "x$ac_ct_OBJDUMP" = x
; then
5246 case $cross_compiling:$ac_tool_warned in
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5250 ac_tool_warned
=yes ;;
5252 OBJDUMP
=$ac_ct_OBJDUMP
5255 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5258 test -z "$OBJDUMP" && OBJDUMP
=objdump
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5269 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5270 if ${lt_cv_deplibs_check_method+:} false
; then :
5271 $as_echo_n "(cached) " >&6
5273 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5274 lt_cv_file_magic_test_file
=
5275 lt_cv_deplibs_check_method
='unknown'
5276 # Need to set the preceding variable on all platforms that support
5277 # interlibrary dependencies.
5278 # 'none' -- dependencies not supported.
5279 # `unknown' -- same as none, but documents that we really don't know.
5280 # 'pass_all' -- all dependencies passed with no checks.
5281 # 'test_compile' -- check by making test program.
5282 # 'file_magic [[regex]]' -- check by looking for files in library path
5283 # which responds to the $file_magic_cmd with a given extended regex.
5284 # If you have `file' or equivalent on your system and you're not sure
5285 # whether `pass_all' will *always* work, you probably want this one.
5289 lt_cv_deplibs_check_method
=pass_all
5293 lt_cv_deplibs_check_method
=pass_all
5297 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5298 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5299 lt_cv_file_magic_test_file
=/shlib
/libc.so
5303 # func_win32_libid is a shell function defined in ltmain.sh
5304 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5305 lt_cv_file_magic_cmd
='func_win32_libid'
5309 # Base MSYS/MinGW do not provide the 'file' command needed by
5310 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5311 # unless we find 'file', for example because we are cross-compiling.
5312 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5313 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5314 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5315 lt_cv_file_magic_cmd
='func_win32_libid'
5317 # Keep this pattern in sync with the one in func_win32_libid.
5318 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5319 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5324 # use the weaker test based on 'objdump'. See mingw*.
5325 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5326 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5329 darwin
* | rhapsody
*)
5330 lt_cv_deplibs_check_method
=pass_all
5333 freebsd
* | dragonfly
*)
5334 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5337 # Not sure whether the presence of OpenBSD here was a mistake.
5338 # Let's accept both of them until this is cleared up.
5339 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5340 lt_cv_file_magic_cmd
=/usr
/bin
/file
5341 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5345 lt_cv_deplibs_check_method
=pass_all
5350 lt_cv_deplibs_check_method
=pass_all
5354 lt_cv_deplibs_check_method
=pass_all
5357 hpux10.20
* | hpux11
*)
5358 lt_cv_file_magic_cmd
=/usr
/bin
/file
5361 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5362 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
5365 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]'
5366 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
5369 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5370 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5376 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5377 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5380 irix5
* | irix6
* | nonstopux
*)
5382 *-32|*"-32 ") libmagic
=32-bit;;
5383 *-n32|*"-n32 ") libmagic
=N32
;;
5384 *-64|*"-64 ") libmagic
=64-bit;;
5385 *) libmagic
=never
-match;;
5387 lt_cv_deplibs_check_method
=pass_all
5390 # This must be glibc/ELF.
5391 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5392 lt_cv_deplibs_check_method
=pass_all
5396 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5397 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5399 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5404 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5405 lt_cv_file_magic_cmd
=/usr
/bin
/file
5406 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5410 lt_cv_deplibs_check_method
=pass_all
5414 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5415 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5417 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5421 osf3
* | osf4
* | osf5
*)
5422 lt_cv_deplibs_check_method
=pass_all
5426 lt_cv_deplibs_check_method
=pass_all
5430 lt_cv_deplibs_check_method
=pass_all
5433 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5434 lt_cv_deplibs_check_method
=pass_all
5438 case $host_vendor in
5440 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]'
5441 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5444 lt_cv_deplibs_check_method
=pass_all
5447 lt_cv_file_magic_cmd
='/bin/file'
5448 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5451 lt_cv_file_magic_cmd
='/bin/file'
5452 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5453 lt_cv_file_magic_test_file
=/lib
/libc.so
5456 lt_cv_deplibs_check_method
=pass_all
5459 lt_cv_deplibs_check_method
=pass_all
5465 lt_cv_deplibs_check_method
=pass_all
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5471 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5475 if test "$build" = "$host"; then
5478 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
5481 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5487 file_magic_cmd
=$lt_cv_file_magic_cmd
5488 deplibs_check_method
=$lt_cv_deplibs_check_method
5489 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5512 if test -n "$ac_tool_prefix"; then
5513 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5514 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5518 $as_echo_n "(cached) " >&6
5520 if test -n "$DLLTOOL"; then
5521 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir
=.
5528 for ac_exec_ext
in '' $ac_executable_extensions; do
5529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 DLLTOOL
=$ac_cv_prog_DLLTOOL
5541 if test -n "$DLLTOOL"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5543 $as_echo "$DLLTOOL" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5551 if test -z "$ac_cv_prog_DLLTOOL"; then
5552 ac_ct_DLLTOOL
=$DLLTOOL
5553 # Extract the first word of "dlltool", so it can be a program name with args.
5554 set dummy dlltool
; ac_word
=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
5558 $as_echo_n "(cached) " >&6
5560 if test -n "$ac_ct_DLLTOOL"; then
5561 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir
=.
5568 for ac_exec_ext
in '' $ac_executable_extensions; do
5569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5581 if test -n "$ac_ct_DLLTOOL"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5583 $as_echo "$ac_ct_DLLTOOL" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5589 if test "x$ac_ct_DLLTOOL" = x
; then
5592 case $cross_compiling:$ac_tool_warned in
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5596 ac_tool_warned
=yes ;;
5598 DLLTOOL
=$ac_ct_DLLTOOL
5601 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5604 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5616 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5617 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
5618 $as_echo_n "(cached) " >&6
5620 lt_cv_sharedlib_from_linklib_cmd
='unknown'
5623 cygwin
* | mingw
* | pw32
* | cegcc
*)
5624 # two different shell functions defined in ltmain.sh
5625 # decide which to use based on capabilities of $DLLTOOL
5626 case `$DLLTOOL --help 2>&1` in
5627 *--identify-strict*)
5628 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
5631 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
5636 # fallback: assume linklib IS sharedlib
5637 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5643 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5644 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
5645 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
5654 if test -n "$ac_tool_prefix"; then
5657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5658 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_AR+:} false
; then :
5662 $as_echo_n "(cached) " >&6
5664 if test -n "$AR"; then
5665 ac_cv_prog_AR
="$AR" # Let the user override the test.
5667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir
=.
5672 for ac_exec_ext
in '' $ac_executable_extensions; do
5673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 if test -n "$AR"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5687 $as_echo "$AR" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5694 test -n "$AR" && break
5697 if test -z "$AR"; then
5701 # Extract the first word of "$ac_prog", so it can be a program name with args.
5702 set dummy
$ac_prog; ac_word
=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5706 $as_echo_n "(cached) " >&6
5708 if test -n "$ac_ct_AR"; then
5709 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5715 test -z "$as_dir" && as_dir
=.
5716 for ac_exec_ext
in '' $ac_executable_extensions; do
5717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5718 ac_cv_prog_ac_ct_AR
="$ac_prog"
5719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5729 if test -n "$ac_ct_AR"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5731 $as_echo "$ac_ct_AR" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5738 test -n "$ac_ct_AR" && break
5741 if test "x$ac_ct_AR" = x
; then
5744 case $cross_compiling:$ac_tool_warned in
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5748 ac_tool_warned
=yes ;;
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5768 $as_echo_n "checking for archiver @FILE support... " >&6; }
5769 if ${lt_cv_ar_at_file+:} false
; then :
5770 $as_echo_n "(cached) " >&6
5773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5774 /* end confdefs.h. */
5784 if ac_fn_c_try_compile
"$LINENO"; then :
5785 echo conftest.
$ac_objext > conftest.lst
5786 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5787 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5788 (eval $lt_ar_try) 2>&5
5790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5791 test $ac_status = 0; }
5792 if test "$ac_status" -eq 0; then
5793 # Ensure the archiver fails upon bogus file names.
5794 rm -f conftest.
$ac_objext libconftest.a
5795 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5796 (eval $lt_ar_try) 2>&5
5798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5799 test $ac_status = 0; }
5800 if test "$ac_status" -ne 0; then
5804 rm -f conftest.
* libconftest.a
5807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5811 $as_echo "$lt_cv_ar_at_file" >&6; }
5813 if test "x$lt_cv_ar_at_file" = xno
; then
5816 archiver_list_spec
=$lt_cv_ar_at_file
5825 if test -n "$ac_tool_prefix"; then
5826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5827 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if ${ac_cv_prog_STRIP+:} false
; then :
5831 $as_echo_n "(cached) " >&6
5833 if test -n "$STRIP"; then
5834 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir
=.
5841 for ac_exec_ext
in '' $ac_executable_extensions; do
5842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5843 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 STRIP
=$ac_cv_prog_STRIP
5854 if test -n "$STRIP"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5856 $as_echo "$STRIP" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5864 if test -z "$ac_cv_prog_STRIP"; then
5866 # Extract the first word of "strip", so it can be a program name with args.
5867 set dummy strip
; ac_word
=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5871 $as_echo_n "(cached) " >&6
5873 if test -n "$ac_ct_STRIP"; then
5874 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir
=.
5881 for ac_exec_ext
in '' $ac_executable_extensions; do
5882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_ac_ct_STRIP
="strip"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5894 if test -n "$ac_ct_STRIP"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5896 $as_echo "$ac_ct_STRIP" >&6; }
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5902 if test "x$ac_ct_STRIP" = x
; then
5905 case $cross_compiling:$ac_tool_warned in
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5909 ac_tool_warned
=yes ;;
5914 STRIP
="$ac_cv_prog_STRIP"
5917 test -z "$STRIP" && STRIP
=:
5924 if test -n "$ac_tool_prefix"; then
5925 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5926 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928 $as_echo_n "checking for $ac_word... " >&6; }
5929 if ${ac_cv_prog_RANLIB+:} false
; then :
5930 $as_echo_n "(cached) " >&6
5932 if test -n "$RANLIB"; then
5933 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5939 test -z "$as_dir" && as_dir
=.
5940 for ac_exec_ext
in '' $ac_executable_extensions; do
5941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5942 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952 RANLIB
=$ac_cv_prog_RANLIB
5953 if test -n "$RANLIB"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5955 $as_echo "$RANLIB" >&6; }
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5963 if test -z "$ac_cv_prog_RANLIB"; then
5964 ac_ct_RANLIB
=$RANLIB
5965 # Extract the first word of "ranlib", so it can be a program name with args.
5966 set dummy ranlib
; ac_word
=$2
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5968 $as_echo_n "checking for $ac_word... " >&6; }
5969 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5970 $as_echo_n "(cached) " >&6
5972 if test -n "$ac_ct_RANLIB"; then
5973 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5979 test -z "$as_dir" && as_dir
=.
5980 for ac_exec_ext
in '' $ac_executable_extensions; do
5981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5982 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5992 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5993 if test -n "$ac_ct_RANLIB"; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5995 $as_echo "$ac_ct_RANLIB" >&6; }
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 $as_echo "no" >&6; }
6001 if test "x$ac_ct_RANLIB" = x
; then
6004 case $cross_compiling:$ac_tool_warned in
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6008 ac_tool_warned
=yes ;;
6010 RANLIB
=$ac_ct_RANLIB
6013 RANLIB
="$ac_cv_prog_RANLIB"
6016 test -z "$RANLIB" && RANLIB
=:
6023 # Determine commands to create old-style static archives.
6024 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6025 old_postinstall_cmds
='chmod 644 $oldlib'
6026 old_postuninstall_cmds
=
6028 if test -n "$RANLIB"; then
6031 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6034 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6037 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6042 lock_old_archive_extraction
=yes ;;
6044 lock_old_archive_extraction
=no
;;
6085 # If no C compiler was specified, use CC.
6088 # If no C compiler flags were specified, use CFLAGS.
6089 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6091 # Allow CC to be a program name with arguments.
6095 # Check for command to grab the raw symbol name followed by C symbol from nm.
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6097 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6098 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6099 $as_echo_n "(cached) " >&6
6102 # These are sane defaults that work on at least a few old systems.
6103 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6105 # Character class describing NM global symbol codes.
6106 symcode
='[BCDEGRST]'
6108 # Regexp to match symbols that can be accessed directly from C.
6109 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6111 # Define system-specific variables.
6116 cygwin
* | mingw
* | pw32
* | cegcc
*)
6117 symcode
='[ABCDGISTW]'
6120 if test "$host_cpu" = ia64
; then
6121 symcode
='[ABCDEGRST]'
6125 symcode
='[BCDEGRST]'
6128 symcode
='[BCDEGQRST]'
6139 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6147 # If we're using GNU nm, then use its standard symbol codes.
6148 case `$NM -V 2>&1` in
6149 *GNU
* | *'with BFD'*)
6150 symcode
='[ABCDGIRSTW]' ;;
6153 # Transform an extracted symbol line into a proper C declaration.
6154 # Some systems (esp. on ia64) link data and code symbols differently,
6155 # so use this general approach.
6156 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6158 # Transform an extracted symbol line into symbol name and symbol address
6159 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6160 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'"
6162 # Handle CRLF in mingw tool chain
6166 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6170 # Try without a prefix underscore, then with it.
6171 for ac_symprfx
in "" "_"; do
6173 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6174 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6176 # Write the raw and C identifiers.
6177 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6178 # Fake it for dumpbin and say T for any non-static function
6179 # and D for any global variable.
6180 # Also find C++ and __fastcall symbols from MSVC++,
6181 # which start with @ or ?.
6182 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6183 " {last_section=section; section=\$ 3};"\
6184 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6185 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6186 " \$ 0!~/External *\|/{next};"\
6187 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6188 " {if(hide[section]) next};"\
6189 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6190 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6191 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6192 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6193 " ' prfx=^$ac_symprfx"
6195 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6197 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6199 # Check to see that the pipe works correctly.
6203 cat > conftest.
$ac_ext <<_LT_EOF
6208 void nm_test_func(void);
6209 void nm_test_func(void){}
6213 int main(){nm_test_var='a';nm_test_func();return(0);}
6216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6217 (eval $ac_compile) 2>&5
6219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6220 test $ac_status = 0; }; then
6221 # Now try to grab the symbols.
6223 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6224 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6227 test $ac_status = 0; } && test -s "$nlist"; then
6228 # Try sorting and uniquifying the output.
6229 if sort "$nlist" | uniq > "$nlist"T
; then
6230 mv -f "$nlist"T
"$nlist"
6235 # Make sure that we snagged all the symbols we need.
6236 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6237 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6238 cat <<_LT_EOF > conftest.$ac_ext
6239 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6240 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6241 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6242 relocations are performed -- see ld's documentation on pseudo-relocs. */
6243 # define LT_DLSYM_CONST
6244 #elif defined(__osf__)
6245 /* This system does not cope well with relocations in const data. */
6246 # define LT_DLSYM_CONST
6248 # define LT_DLSYM_CONST const
6256 # Now generate the symbol file.
6257 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6259 cat <<_LT_EOF >> conftest.$ac_ext
6261 /* The mapping between symbol names and symbols. */
6262 LT_DLSYM_CONST struct {
6266 lt__PROGRAM__LTX_preloaded_symbols[] =
6268 { "@PROGRAM@", (void *) 0 },
6270 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
6271 cat <<\_LT_EOF
>> conftest.
$ac_ext
6275 /* This works around a problem
in FreeBSD linker
*/
6276 #ifdef FREEBSD_WORKAROUND
6277 static const void
*lt_preloaded_setup
() {
6278 return lt__PROGRAM__LTX_preloaded_symbols
;
6286 # Now try linking the two files.
6287 mv conftest.
$ac_objext conftstm.
$ac_objext
6288 lt_globsym_save_LIBS
=$LIBS
6289 lt_globsym_save_CFLAGS
=$CFLAGS
6290 LIBS
="conftstm.$ac_objext"
6291 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6292 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6293 (eval $ac_link) 2>&5
6295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6296 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6299 LIBS
=$lt_globsym_save_LIBS
6300 CFLAGS
=$lt_globsym_save_CFLAGS
6302 echo "cannot find nm_test_func in $nlist" >&5
6305 echo "cannot find nm_test_var in $nlist" >&5
6308 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6311 echo "$progname: failed program was:" >&5
6312 cat conftest.
$ac_ext >&5
6314 rm -rf conftest
* conftst
*
6316 # Do not use the global_symbol_pipe unless it works.
6317 if test "$pipe_works" = yes; then
6320 lt_cv_sys_global_symbol_pipe
=
6326 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6327 lt_cv_sys_global_symbol_to_cdecl
=
6329 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6331 $as_echo "failed" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6334 $as_echo "ok" >&6; }
6337 # Response file support.
6338 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6339 nm_file_list_spec
='@'
6340 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
6341 nm_file_list_spec
='@'
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6371 $as_echo_n "checking for sysroot... " >&6; }
6373 # Check whether --with-sysroot was given.
6374 if test "${with_sysroot+set}" = set; then :
6375 withval
=$with_sysroot;
6382 case ${with_sysroot} in #(
6384 if test "$GCC" = yes; then
6385 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
6389 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6395 $as_echo "${with_sysroot}" >&6; }
6396 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6401 $as_echo "${lt_sysroot:-no}" >&6; }
6407 # Check whether --enable-libtool-lock was given.
6408 if test "${enable_libtool_lock+set}" = set; then :
6409 enableval
=$enable_libtool_lock;
6412 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6414 # Some flags need to be propagated to the compiler or linker for good
6418 # Find out which ABI we are using.
6419 echo 'int i;' > conftest.
$ac_ext
6420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6421 (eval $ac_compile) 2>&5
6423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6424 test $ac_status = 0; }; then
6425 case `/usr/bin/file conftest.$ac_objext` in
6437 # Find out which ABI we are using.
6438 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6439 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6440 (eval $ac_compile) 2>&5
6442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6443 test $ac_status = 0; }; then
6444 if test "$lt_cv_prog_gnu_ld" = yes; then
6445 case `/usr/bin/file conftest.$ac_objext` in
6447 LD
="${LD-ld} -melf32bsmip"
6450 LD
="${LD-ld} -melf32bmipn32"
6453 LD
="${LD-ld} -melf64bmip"
6457 case `/usr/bin/file conftest.$ac_objext` in
6473 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6474 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6475 # Find out which ABI we are using.
6476 echo 'int i;' > conftest.
$ac_ext
6477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6478 (eval $ac_compile) 2>&5
6480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6481 test $ac_status = 0; }; then
6482 case `/usr/bin/file conftest.o` in
6485 x86_64
-*kfreebsd
*-gnu)
6486 LD
="${LD-ld} -m elf_i386_fbsd"
6489 LD
="${LD-ld} -m elf_i386"
6491 ppc64
-*linux
*|powerpc64
-*linux
*)
6492 LD
="${LD-ld} -m elf32ppclinux"
6495 LD
="${LD-ld} -m elf_s390"
6498 LD
="${LD-ld} -m elf32_sparc"
6504 x86_64
-*kfreebsd
*-gnu)
6505 LD
="${LD-ld} -m elf_x86_64_fbsd"
6508 LD
="${LD-ld} -m elf_x86_64"
6510 ppc
*-*linux
*|powerpc
*-*linux
*)
6511 LD
="${LD-ld} -m elf64ppc"
6513 s390
*-*linux
*|s390
*-*tpf
*)
6514 LD
="${LD-ld} -m elf64_s390"
6517 LD
="${LD-ld} -m elf64_sparc"
6527 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6528 SAVE_CFLAGS
="$CFLAGS"
6529 CFLAGS
="$CFLAGS -belf"
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6531 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6532 if ${lt_cv_cc_needs_belf+:} false
; then :
6533 $as_echo_n "(cached) " >&6
6536 ac_cpp
='$CPP $CPPFLAGS'
6537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6542 /* end confdefs.h. */
6552 if ac_fn_c_try_link
"$LINENO"; then :
6553 lt_cv_cc_needs_belf
=yes
6555 lt_cv_cc_needs_belf
=no
6557 rm -f core conftest.err conftest.
$ac_objext \
6558 conftest
$ac_exeext conftest.
$ac_ext
6560 ac_cpp
='$CPP $CPPFLAGS'
6561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6567 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6568 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6569 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6570 CFLAGS
="$SAVE_CFLAGS"
6574 # Find out which ABI we are using.
6575 echo 'int i;' > conftest.
$ac_ext
6576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6577 (eval $ac_compile) 2>&5
6579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6580 test $ac_status = 0; }; then
6581 case `/usr/bin/file conftest.o` in
6583 case $lt_cv_prog_gnu_ld in
6587 LD
="${LD-ld} -m elf_x86_64"
6590 LD
="${LD-ld} -m elf64_sparc"
6593 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6594 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
6599 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6611 need_locks
="$enable_libtool_lock"
6613 if test -n "$ac_tool_prefix"; then
6614 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6615 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
6619 $as_echo_n "(cached) " >&6
6621 if test -n "$MANIFEST_TOOL"; then
6622 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
6624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6628 test -z "$as_dir" && as_dir
=.
6629 for ac_exec_ext
in '' $ac_executable_extensions; do
6630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6631 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
6642 if test -n "$MANIFEST_TOOL"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6644 $as_echo "$MANIFEST_TOOL" >&6; }
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6652 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6653 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
6654 # Extract the first word of "mt", so it can be a program name with args.
6655 set dummy mt
; ac_word
=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
6659 $as_echo_n "(cached) " >&6
6661 if test -n "$ac_ct_MANIFEST_TOOL"; then
6662 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6668 test -z "$as_dir" && as_dir
=.
6669 for ac_exec_ext
in '' $ac_executable_extensions; do
6670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6671 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
6672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6682 if test -n "$ac_ct_MANIFEST_TOOL"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6684 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6690 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
6693 case $cross_compiling:$ac_tool_warned in
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6697 ac_tool_warned
=yes ;;
6699 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
6702 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
6705 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6707 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6708 if ${lt_cv_path_mainfest_tool+:} false
; then :
6709 $as_echo_n "(cached) " >&6
6711 lt_cv_path_mainfest_tool
=no
6712 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6713 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
6714 cat conftest.err
>&5
6715 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
6716 lt_cv_path_mainfest_tool
=yes
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6721 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6722 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
6732 rhapsody
* | darwin
*)
6733 if test -n "$ac_tool_prefix"; then
6734 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6735 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737 $as_echo_n "checking for $ac_word... " >&6; }
6738 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6739 $as_echo_n "(cached) " >&6
6741 if test -n "$DSYMUTIL"; then
6742 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6748 test -z "$as_dir" && as_dir
=.
6749 for ac_exec_ext
in '' $ac_executable_extensions; do
6750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6761 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6762 if test -n "$DSYMUTIL"; then
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6764 $as_echo "$DSYMUTIL" >&6; }
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 $as_echo "no" >&6; }
6772 if test -z "$ac_cv_prog_DSYMUTIL"; then
6773 ac_ct_DSYMUTIL
=$DSYMUTIL
6774 # Extract the first word of "dsymutil", so it can be a program name with args.
6775 set dummy dsymutil
; ac_word
=$2
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 $as_echo_n "checking for $ac_word... " >&6; }
6778 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6779 $as_echo_n "(cached) " >&6
6781 if test -n "$ac_ct_DSYMUTIL"; then
6782 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6788 test -z "$as_dir" && as_dir
=.
6789 for ac_exec_ext
in '' $ac_executable_extensions; do
6790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6791 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6802 if test -n "$ac_ct_DSYMUTIL"; then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6804 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 $as_echo "no" >&6; }
6810 if test "x$ac_ct_DSYMUTIL" = x
; then
6813 case $cross_compiling:$ac_tool_warned in
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6817 ac_tool_warned
=yes ;;
6819 DSYMUTIL
=$ac_ct_DSYMUTIL
6822 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6825 if test -n "$ac_tool_prefix"; then
6826 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6827 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 $as_echo_n "checking for $ac_word... " >&6; }
6830 if ${ac_cv_prog_NMEDIT+:} false
; then :
6831 $as_echo_n "(cached) " >&6
6833 if test -n "$NMEDIT"; then
6834 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6840 test -z "$as_dir" && as_dir
=.
6841 for ac_exec_ext
in '' $ac_executable_extensions; do
6842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6843 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6853 NMEDIT
=$ac_cv_prog_NMEDIT
6854 if test -n "$NMEDIT"; then
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6856 $as_echo "$NMEDIT" >&6; }
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859 $as_echo "no" >&6; }
6864 if test -z "$ac_cv_prog_NMEDIT"; then
6865 ac_ct_NMEDIT
=$NMEDIT
6866 # Extract the first word of "nmedit", so it can be a program name with args.
6867 set dummy nmedit
; ac_word
=$2
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869 $as_echo_n "checking for $ac_word... " >&6; }
6870 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6871 $as_echo_n "(cached) " >&6
6873 if test -n "$ac_ct_NMEDIT"; then
6874 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6880 test -z "$as_dir" && as_dir
=.
6881 for ac_exec_ext
in '' $ac_executable_extensions; do
6882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6883 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6893 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6894 if test -n "$ac_ct_NMEDIT"; then
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6896 $as_echo "$ac_ct_NMEDIT" >&6; }
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899 $as_echo "no" >&6; }
6902 if test "x$ac_ct_NMEDIT" = x
; then
6905 case $cross_compiling:$ac_tool_warned in
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6909 ac_tool_warned
=yes ;;
6911 NMEDIT
=$ac_ct_NMEDIT
6914 NMEDIT
="$ac_cv_prog_NMEDIT"
6917 if test -n "$ac_tool_prefix"; then
6918 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6919 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if ${ac_cv_prog_LIPO+:} false
; then :
6923 $as_echo_n "(cached) " >&6
6925 if test -n "$LIPO"; then
6926 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6932 test -z "$as_dir" && as_dir
=.
6933 for ac_exec_ext
in '' $ac_executable_extensions; do
6934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6935 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6945 LIPO
=$ac_cv_prog_LIPO
6946 if test -n "$LIPO"; then
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6948 $as_echo "$LIPO" >&6; }
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 $as_echo "no" >&6; }
6956 if test -z "$ac_cv_prog_LIPO"; then
6958 # Extract the first word of "lipo", so it can be a program name with args.
6959 set dummy lipo
; ac_word
=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6963 $as_echo_n "(cached) " >&6
6965 if test -n "$ac_ct_LIPO"; then
6966 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6972 test -z "$as_dir" && as_dir
=.
6973 for ac_exec_ext
in '' $ac_executable_extensions; do
6974 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6975 ac_cv_prog_ac_ct_LIPO
="lipo"
6976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6986 if test -n "$ac_ct_LIPO"; then
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6988 $as_echo "$ac_ct_LIPO" >&6; }
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6994 if test "x$ac_ct_LIPO" = x
; then
6997 case $cross_compiling:$ac_tool_warned in
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7001 ac_tool_warned
=yes ;;
7006 LIPO
="$ac_cv_prog_LIPO"
7009 if test -n "$ac_tool_prefix"; then
7010 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7011 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 $as_echo_n "checking for $ac_word... " >&6; }
7014 if ${ac_cv_prog_OTOOL+:} false
; then :
7015 $as_echo_n "(cached) " >&6
7017 if test -n "$OTOOL"; then
7018 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7024 test -z "$as_dir" && as_dir
=.
7025 for ac_exec_ext
in '' $ac_executable_extensions; do
7026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7027 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7037 OTOOL
=$ac_cv_prog_OTOOL
7038 if test -n "$OTOOL"; then
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7040 $as_echo "$OTOOL" >&6; }
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7043 $as_echo "no" >&6; }
7048 if test -z "$ac_cv_prog_OTOOL"; then
7050 # Extract the first word of "otool", so it can be a program name with args.
7051 set dummy otool
; ac_word
=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053 $as_echo_n "checking for $ac_word... " >&6; }
7054 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7055 $as_echo_n "(cached) " >&6
7057 if test -n "$ac_ct_OTOOL"; then
7058 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7064 test -z "$as_dir" && as_dir
=.
7065 for ac_exec_ext
in '' $ac_executable_extensions; do
7066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7067 ac_cv_prog_ac_ct_OTOOL
="otool"
7068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7078 if test -n "$ac_ct_OTOOL"; then
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7080 $as_echo "$ac_ct_OTOOL" >&6; }
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083 $as_echo "no" >&6; }
7086 if test "x$ac_ct_OTOOL" = x
; then
7089 case $cross_compiling:$ac_tool_warned in
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7093 ac_tool_warned
=yes ;;
7098 OTOOL
="$ac_cv_prog_OTOOL"
7101 if test -n "$ac_tool_prefix"; then
7102 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7103 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; }
7106 if ${ac_cv_prog_OTOOL64+:} false
; then :
7107 $as_echo_n "(cached) " >&6
7109 if test -n "$OTOOL64"; then
7110 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7116 test -z "$as_dir" && as_dir
=.
7117 for ac_exec_ext
in '' $ac_executable_extensions; do
7118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7119 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7129 OTOOL64
=$ac_cv_prog_OTOOL64
7130 if test -n "$OTOOL64"; then
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7132 $as_echo "$OTOOL64" >&6; }
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7140 if test -z "$ac_cv_prog_OTOOL64"; then
7141 ac_ct_OTOOL64
=$OTOOL64
7142 # Extract the first word of "otool64", so it can be a program name with args.
7143 set dummy otool64
; ac_word
=$2
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145 $as_echo_n "checking for $ac_word... " >&6; }
7146 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7147 $as_echo_n "(cached) " >&6
7149 if test -n "$ac_ct_OTOOL64"; then
7150 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7156 test -z "$as_dir" && as_dir
=.
7157 for ac_exec_ext
in '' $ac_executable_extensions; do
7158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7169 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7170 if test -n "$ac_ct_OTOOL64"; then
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7172 $as_echo "$ac_ct_OTOOL64" >&6; }
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 $as_echo "no" >&6; }
7178 if test "x$ac_ct_OTOOL64" = x
; then
7181 case $cross_compiling:$ac_tool_warned in
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7185 ac_tool_warned
=yes ;;
7187 OTOOL64
=$ac_ct_OTOOL64
7190 OTOOL64
="$ac_cv_prog_OTOOL64"
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7220 $as_echo_n "checking for -single_module linker flag... " >&6; }
7221 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7222 $as_echo_n "(cached) " >&6
7224 lt_cv_apple_cc_single_mod
=no
7225 if test -z "${LT_MULTI_MODULE}"; then
7226 # By default we will add the -single_module flag. You can override
7227 # by either setting the environment variable LT_MULTI_MODULE
7228 # non-empty at configure time, or by adding -multi_module to the
7230 rm -rf libconftest.dylib
*
7231 echo "int foo(void){return 1;}" > conftest.c
7232 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7233 -dynamiclib -Wl,-single_module conftest.c" >&5
7234 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7235 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7237 # If there is a non-empty error log, and "single_module"
7238 # appears in it, assume the flag caused a linker warning
7239 if test -s conftest.err
&& $GREP single_module conftest.err
; then
7240 cat conftest.err
>&5
7241 # Otherwise, if the output was created with a 0 exit code from
7242 # the compiler, it worked.
7243 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
7244 lt_cv_apple_cc_single_mod
=yes
7246 cat conftest.err
>&5
7248 rm -rf libconftest.dylib
*
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7253 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7256 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7257 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7258 $as_echo_n "(cached) " >&6
7260 lt_cv_ld_exported_symbols_list
=no
7261 save_LDFLAGS
=$LDFLAGS
7262 echo "_main" > conftest.sym
7263 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7275 if ac_fn_c_try_link
"$LINENO"; then :
7276 lt_cv_ld_exported_symbols_list
=yes
7278 lt_cv_ld_exported_symbols_list
=no
7280 rm -f core conftest.err conftest.
$ac_objext \
7281 conftest
$ac_exeext conftest.
$ac_ext
7282 LDFLAGS
="$save_LDFLAGS"
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7286 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7289 $as_echo_n "checking for -force_load linker flag... " >&6; }
7290 if ${lt_cv_ld_force_load+:} false
; then :
7291 $as_echo_n "(cached) " >&6
7293 lt_cv_ld_force_load
=no
7294 cat > conftest.c
<< _LT_EOF
7295 int forced_loaded() { return 2;}
7297 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7298 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7299 echo "$AR cru libconftest.a conftest.o" >&5
7300 $AR cru libconftest.a conftest.o
2>&5
7301 echo "$RANLIB libconftest.a" >&5
7302 $RANLIB libconftest.a
2>&5
7303 cat > conftest.c
<< _LT_EOF
7304 int main() { return 0;}
7306 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7307 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7309 if test -s conftest.err
&& $GREP force_load conftest.err
; then
7310 cat conftest.err
>&5
7311 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
7312 lt_cv_ld_force_load
=yes
7314 cat conftest.err
>&5
7316 rm -f conftest.err libconftest.a conftest conftest.c
7317 rm -rf conftest.dSYM
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7321 $as_echo "$lt_cv_ld_force_load" >&6; }
7323 rhapsody
* | darwin1.
[012])
7324 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7326 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7327 darwin
*) # darwin 5.x on
7328 # if running on 10.5 or later, the deployment target defaults
7329 # to the OS version, if on x86, and 10.4, the deployment
7330 # target defaults to 10.4. Don't you love it?
7331 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7332 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7333 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7335 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7337 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7341 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7342 _lt_dar_single_mod
='$single_module'
7344 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7345 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7347 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7349 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7350 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7358 ac_cpp
='$CPP $CPPFLAGS'
7359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7363 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7364 # On Suns, sometimes $CPP names a directory.
7365 if test -n "$CPP" && test -d "$CPP"; then
7368 if test -z "$CPP"; then
7369 if ${ac_cv_prog_CPP+:} false
; then :
7370 $as_echo_n "(cached) " >&6
7372 # Double quotes because CPP needs to be expanded
7373 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7376 for ac_c_preproc_warn_flag
in '' yes
7378 # Use a header file that comes with gcc, so configuring glibc
7379 # with a fresh cross-compiler works.
7380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7381 # <limits.h> exists even on freestanding compilers.
7382 # On the NeXT, cc -E runs the code through the compiler's parser,
7383 # not just through cpp. "Syntax error" is here to catch this case.
7384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7385 /* end confdefs.h. */
7387 # include <limits.h>
7389 # include <assert.h>
7393 if ac_fn_c_try_cpp
"$LINENO"; then :
7396 # Broken: fails on valid input.
7399 rm -f conftest.err conftest.i conftest.
$ac_ext
7401 # OK, works on sane cases. Now check whether nonexistent headers
7402 # can be detected and how.
7403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7404 /* end confdefs.h. */
7405 #include <ac_nonexistent.h>
7407 if ac_fn_c_try_cpp
"$LINENO"; then :
7408 # Broken: success on invalid input.
7411 # Passes both tests.
7415 rm -f conftest.err conftest.i conftest.
$ac_ext
7418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7419 rm -f conftest.i conftest.err conftest.
$ac_ext
7420 if $ac_preproc_ok; then :
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7433 $as_echo "$CPP" >&6; }
7435 for ac_c_preproc_warn_flag
in '' yes
7437 # Use a header file that comes with gcc, so configuring glibc
7438 # with a fresh cross-compiler works.
7439 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7440 # <limits.h> exists even on freestanding compilers.
7441 # On the NeXT, cc -E runs the code through the compiler's parser,
7442 # not just through cpp. "Syntax error" is here to catch this case.
7443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7446 # include <limits.h>
7448 # include <assert.h>
7452 if ac_fn_c_try_cpp
"$LINENO"; then :
7455 # Broken: fails on valid input.
7458 rm -f conftest.err conftest.i conftest.
$ac_ext
7460 # OK, works on sane cases. Now check whether nonexistent headers
7461 # can be detected and how.
7462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7463 /* end confdefs.h. */
7464 #include <ac_nonexistent.h>
7466 if ac_fn_c_try_cpp
"$LINENO"; then :
7467 # Broken: success on invalid input.
7470 # Passes both tests.
7474 rm -f conftest.err conftest.i conftest.
$ac_ext
7477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7478 rm -f conftest.i conftest.err conftest.
$ac_ext
7479 if $ac_preproc_ok; then :
7482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7484 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7485 See \`config.log' for more details" "$LINENO" 5; }
7489 ac_cpp
='$CPP $CPPFLAGS'
7490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7496 $as_echo_n "checking for ANSI C header files... " >&6; }
7497 if ${ac_cv_header_stdc+:} false
; then :
7498 $as_echo_n "(cached) " >&6
7500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7501 /* end confdefs.h. */
7515 if ac_fn_c_try_compile
"$LINENO"; then :
7516 ac_cv_header_stdc
=yes
7518 ac_cv_header_stdc
=no
7520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7522 if test $ac_cv_header_stdc = yes; then
7523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7525 /* end confdefs.h. */
7529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7530 $EGREP "memchr" >/dev
/null
2>&1; then :
7533 ac_cv_header_stdc
=no
7539 if test $ac_cv_header_stdc = yes; then
7540 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7547 $EGREP "free" >/dev
/null
2>&1; then :
7550 ac_cv_header_stdc
=no
7556 if test $ac_cv_header_stdc = yes; then
7557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7558 if test "$cross_compiling" = yes; then :
7561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7565 #if ((' ' & 0x0FF) == 0x020)
7566 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7567 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7569 # define ISLOWER(c) \
7570 (('a' <= (c) && (c) <= 'i') \
7571 || ('j' <= (c) && (c) <= 'r') \
7572 || ('s' <= (c) && (c) <= 'z'))
7573 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7576 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7581 for (i = 0; i < 256; i++)
7582 if (XOR (islower (i), ISLOWER (i))
7583 || toupper (i) != TOUPPER (i))
7588 if ac_fn_c_try_run
"$LINENO"; then :
7591 ac_cv_header_stdc
=no
7593 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7594 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7600 $as_echo "$ac_cv_header_stdc" >&6; }
7601 if test $ac_cv_header_stdc = yes; then
7603 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7607 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7608 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7609 inttypes.h stdint.h unistd.h
7611 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7612 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7614 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7615 cat >>confdefs.h
<<_ACEOF
7616 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7624 for ac_header
in dlfcn.h
7626 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7628 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7629 cat >>confdefs.h
<<_ACEOF
7630 #define HAVE_DLFCN_H 1
7642 # Check whether --enable-static was given.
7643 if test "${enable_static+set}" = set; then :
7644 enableval
=$enable_static; p
=${PACKAGE-default}
7646 yes) enable_static
=yes ;;
7647 no
) enable_static
=no
;;
7650 # Look at the argument we got. We use all the common list separators.
7651 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7652 for pkg
in $enableval; do
7654 if test "X$pkg" = "X$p"; then
7680 # Check whether --enable-shared was given.
7681 if test "${enable_shared+set}" = set; then :
7682 enableval
=$enable_shared; p
=${PACKAGE-default}
7684 yes) enable_shared
=yes ;;
7685 no
) enable_shared
=no
;;
7688 # Look at the argument we got. We use all the common list separators.
7689 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7690 for pkg
in $enableval; do
7692 if test "X$pkg" = "X$p"; then
7713 # Check whether --with-pic was given.
7714 if test "${with_pic+set}" = set; then :
7715 withval
=$with_pic; lt_p
=${PACKAGE-default}
7717 yes|no
) pic_mode
=$withval ;;
7720 # Look at the argument we got. We use all the common list separators.
7721 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7722 for lt_pkg
in $withval; do
7724 if test "X$lt_pkg" = "X$lt_p"; then
7736 test -z "$pic_mode" && pic_mode
=default
7744 # Check whether --enable-fast-install was given.
7745 if test "${enable_fast_install+set}" = set; then :
7746 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7748 yes) enable_fast_install
=yes ;;
7749 no
) enable_fast_install
=no
;;
7751 enable_fast_install
=no
7752 # Look at the argument we got. We use all the common list separators.
7753 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7754 for pkg
in $enableval; do
7756 if test "X$pkg" = "X$p"; then
7757 enable_fast_install
=yes
7764 enable_fast_install
=yes
7777 # This can be used to rebuild libtool when needed
7778 LIBTOOL_DEPS
="$ltmain"
7780 # Always use our own libtool.
7781 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7812 test -z "$LN_S" && LN_S
="ln -s"
7827 if test -n "${ZSH_VERSION+set}" ; then
7828 setopt NO_GLOB_SUBST
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7832 $as_echo_n "checking for objdir... " >&6; }
7833 if ${lt_cv_objdir+:} false
; then :
7834 $as_echo_n "(cached) " >&6
7836 rm -f .libs
2>/dev
/null
7837 mkdir .libs
2>/dev
/null
7838 if test -d .libs
; then
7841 # MS-DOS does not allow filenames that begin with a dot.
7844 rmdir .libs
2>/dev
/null
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7847 $as_echo "$lt_cv_objdir" >&6; }
7848 objdir
=$lt_cv_objdir
7854 cat >>confdefs.h
<<_ACEOF
7855 #define LT_OBJDIR "$lt_cv_objdir/"
7863 # AIX sometimes has problems with the GCC collect2 program. For some
7864 # reason, if we set the COLLECT_NAMES environment variable, the problems
7865 # vanish in a puff of smoke.
7866 if test "X${COLLECT_NAMES+set}" != Xset
; then
7868 export COLLECT_NAMES
7875 can_build_shared
=yes
7877 # All known linkers require a `.a' archive for static linking (except MSVC,
7878 # which needs '.lib').
7881 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7884 old_CFLAGS
="$CFLAGS"
7886 # Set sane defaults for various variables
7887 test -z "$CC" && CC
=cc
7888 test -z "$LTCC" && LTCC
=$CC
7889 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7890 test -z "$LD" && LD
=ld
7891 test -z "$ac_objext" && ac_objext
=o
7893 for cc_temp
in $compiler""; do
7895 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
7896 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
7901 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7904 # Only perform the check for file, if the check method requires it
7905 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7906 case $deplibs_check_method in
7908 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7910 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7911 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7912 $as_echo_n "(cached) " >&6
7916 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7919 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7920 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7921 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7922 for ac_dir
in $ac_dummy; do
7924 test -z "$ac_dir" && ac_dir
=.
7925 if test -f $ac_dir/${ac_tool_prefix}file; then
7926 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7927 if test -n "$file_magic_test_file"; then
7928 case $deplibs_check_method in
7930 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7931 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7932 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7933 $EGREP "$file_magic_regex" > /dev
/null
; then
7938 *** Warning: the command libtool uses to detect shared libraries,
7939 *** $file_magic_cmd, produces output that libtool cannot recognize.
7940 *** The result is that libtool may fail to recognize shared libraries
7941 *** as such. This will affect the creation of libtool libraries that
7942 *** depend on shared libraries, but programs linked with such libtool
7943 *** libraries will work regardless of this problem. Nevertheless, you
7944 *** may want to report the problem to your system manager and/or to
7945 *** bug-libtool@gnu.org
7955 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7960 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7961 if test -n "$MAGIC_CMD"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7963 $as_echo "$MAGIC_CMD" >&6; }
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7966 $as_echo "no" >&6; }
7973 if test -z "$lt_cv_path_MAGIC_CMD"; then
7974 if test -n "$ac_tool_prefix"; then
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7976 $as_echo_n "checking for file... " >&6; }
7977 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7978 $as_echo_n "(cached) " >&6
7982 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7985 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7986 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7987 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7988 for ac_dir
in $ac_dummy; do
7990 test -z "$ac_dir" && ac_dir
=.
7991 if test -f $ac_dir/file; then
7992 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7993 if test -n "$file_magic_test_file"; then
7994 case $deplibs_check_method in
7996 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7997 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7998 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7999 $EGREP "$file_magic_regex" > /dev
/null
; then
8004 *** Warning: the command libtool uses to detect shared libraries,
8005 *** $file_magic_cmd, produces output that libtool cannot recognize.
8006 *** The result is that libtool may fail to recognize shared libraries
8007 *** as such. This will affect the creation of libtool libraries that
8008 *** depend on shared libraries, but programs linked with such libtool
8009 *** libraries will work regardless of this problem. Nevertheless, you
8010 *** may want to report the problem to your system manager and/or to
8011 *** bug-libtool@gnu.org
8021 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8026 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8027 if test -n "$MAGIC_CMD"; then
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8029 $as_echo "$MAGIC_CMD" >&6; }
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8032 $as_echo "no" >&6; }
8045 # Use C for the default configuration in the libtool script
8049 ac_cpp
='$CPP $CPPFLAGS'
8050 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8051 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8052 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8055 # Source file extension for C test sources.
8058 # Object file extension for compiled C test sources.
8062 # Code to be used in simple compile tests
8063 lt_simple_compile_test_code
="int some_variable = 0;"
8065 # Code to be used in simple link tests
8066 lt_simple_link_test_code
='int main(){return(0);}'
8074 # If no C compiler was specified, use CC.
8077 # If no C compiler flags were specified, use CFLAGS.
8078 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8080 # Allow CC to be a program name with arguments.
8083 # Save the default compiler, since it gets overwritten when the other
8084 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8085 compiler_DEFAULT
=$CC
8087 # save warnings/boilerplate of simple test code
8088 ac_outfile
=conftest.
$ac_objext
8089 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8090 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8091 _lt_compiler_boilerplate
=`cat conftest.err`
8094 ac_outfile
=conftest.
$ac_objext
8095 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8096 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8097 _lt_linker_boilerplate
=`cat conftest.err`
8102 ## There is no encapsulation within the following macros, do not change
8103 ## the running order or otherwise move them around unless you know exactly
8104 ## what you are doing...
8105 if test -n "$compiler"; then
8107 lt_prog_compiler_no_builtin_flag
=
8109 if test "$GCC" = yes; then
8110 case $cc_basename in
8112 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8114 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8118 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8119 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8120 $as_echo_n "(cached) " >&6
8122 lt_cv_prog_compiler_rtti_exceptions
=no
8123 ac_outfile
=conftest.
$ac_objext
8124 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8125 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8126 # Insert the option either (1) after the last *FLAGS variable, or
8127 # (2) before a word containing "conftest.", or (3) at the end.
8128 # Note that $ac_compile itself does not contain backslashes and begins
8129 # with a dollar sign (not a hyphen), so the echo should work correctly.
8130 # The option is referenced via a variable to avoid confusing sed.
8131 lt_compile
=`echo "$ac_compile" | $SED \
8132 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8133 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8134 -e 's:$: $lt_compiler_flag:'`
8135 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8136 (eval "$lt_compile" 2>conftest.err
)
8138 cat conftest.err
>&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 if (exit $ac_status) && test -s "$ac_outfile"; then
8141 # The compiler can only warn and ignore the option if not recognized
8142 # So say no if there are warnings other than the usual output.
8143 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8144 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8145 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8146 lt_cv_prog_compiler_rtti_exceptions
=yes
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8153 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8155 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8156 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8168 lt_prog_compiler_wl
=
8169 lt_prog_compiler_pic
=
8170 lt_prog_compiler_static
=
8173 if test "$GCC" = yes; then
8174 lt_prog_compiler_wl
='-Wl,'
8175 lt_prog_compiler_static
='-static'
8179 # All AIX code is PIC.
8180 if test "$host_cpu" = ia64
; then
8181 # AIX 5 now supports IA64 processor
8182 lt_prog_compiler_static
='-Bstatic'
8189 # see comment about AmigaOS4 .so support
8190 lt_prog_compiler_pic
='-fPIC'
8193 # FIXME: we need at least 68020 code to build shared libraries, but
8194 # adding the `-m68020' flag to GCC prevents building anything better,
8196 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8201 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8202 # PIC is the default for these OSes.
8205 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8206 # This hack is so that the source file can tell whether it is being
8207 # built for inclusion in a dll (and should export symbols for example).
8208 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8209 # (--disable-auto-import) libraries
8210 lt_prog_compiler_pic
='-DDLL_EXPORT'
8213 darwin
* | rhapsody
*)
8214 # PIC is the default on this platform
8215 # Common symbols not allowed in MH_DYLIB files
8216 lt_prog_compiler_pic
='-fno-common'
8220 # PIC is the default for Haiku.
8221 # The "-static" flag exists, but is broken.
8222 lt_prog_compiler_static
=
8226 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8227 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8228 # sets the default TLS model and affects inlining.
8234 lt_prog_compiler_pic
='-fPIC'
8240 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8241 # Instead, we relocate shared libraries at runtime.
8245 # Just because we use GCC doesn't mean we suddenly get shared libraries
8246 # on systems that don't support them.
8247 lt_prog_compiler_can_build_shared
=no
8252 # QNX uses GNU C++, but need to define -shared option too, otherwise
8254 lt_prog_compiler_pic
='-fPIC -shared'
8258 if test -d /usr
/nec
; then
8259 lt_prog_compiler_pic
=-Kconform_pic
8264 lt_prog_compiler_pic
='-fPIC'
8268 case $cc_basename in
8269 nvcc
*) # Cuda Compiler Driver 2.2
8270 lt_prog_compiler_wl
='-Xlinker '
8271 if test -n "$lt_prog_compiler_pic"; then
8272 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8277 # PORTME Check for flag to pass linker flags through the system compiler.
8280 lt_prog_compiler_wl
='-Wl,'
8281 if test "$host_cpu" = ia64
; then
8282 # AIX 5 now supports IA64 processor
8283 lt_prog_compiler_static
='-Bstatic'
8285 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8289 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8290 # This hack is so that the source file can tell whether it is being
8291 # built for inclusion in a dll (and should export symbols for example).
8292 lt_prog_compiler_pic
='-DDLL_EXPORT'
8295 hpux9
* | hpux10
* | hpux11
*)
8296 lt_prog_compiler_wl
='-Wl,'
8297 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8304 lt_prog_compiler_pic
='+Z'
8307 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8308 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8311 irix5
* | irix6
* | nonstopux
*)
8312 lt_prog_compiler_wl
='-Wl,'
8313 # PIC (with -KPIC) is the default.
8314 lt_prog_compiler_static
='-non_shared'
8317 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8318 case $cc_basename in
8319 # old Intel for x86_64 which still supported -KPIC.
8321 lt_prog_compiler_wl
='-Wl,'
8322 lt_prog_compiler_pic
='-KPIC'
8323 lt_prog_compiler_static
='-static'
8325 # icc used to be incompatible with GCC.
8326 # ICC 10 doesn't accept -KPIC any more.
8328 lt_prog_compiler_wl
='-Wl,'
8329 lt_prog_compiler_pic
='-fPIC'
8330 lt_prog_compiler_static
='-static'
8332 # Lahey Fortran 8.1.
8334 lt_prog_compiler_wl
='-Wl,'
8335 lt_prog_compiler_pic
='--shared'
8336 lt_prog_compiler_static
='--static'
8339 # NAG Fortran compiler
8340 lt_prog_compiler_wl
='-Wl,-Wl,,'
8341 lt_prog_compiler_pic
='-PIC'
8342 lt_prog_compiler_static
='-Bstatic'
8344 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8345 # Portland Group compilers (*not* the Pentium gcc compiler,
8346 # which looks to be a dead project)
8347 lt_prog_compiler_wl
='-Wl,'
8348 lt_prog_compiler_pic
='-fpic'
8349 lt_prog_compiler_static
='-Bstatic'
8352 lt_prog_compiler_wl
='-Wl,'
8353 # All Alpha code is PIC.
8354 lt_prog_compiler_static
='-non_shared'
8356 xl
* | bgxl
* | bgf
* | mpixl
*)
8357 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8358 lt_prog_compiler_wl
='-Wl,'
8359 lt_prog_compiler_pic
='-qpic'
8360 lt_prog_compiler_static
='-qstaticlink'
8363 case `$CC -V 2>&1 | sed 5q` in
8364 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
8365 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8366 lt_prog_compiler_pic
='-KPIC'
8367 lt_prog_compiler_static
='-Bstatic'
8368 lt_prog_compiler_wl
=''
8370 *Sun\ F
* | *Sun
*Fortran
*)
8371 lt_prog_compiler_pic
='-KPIC'
8372 lt_prog_compiler_static
='-Bstatic'
8373 lt_prog_compiler_wl
='-Qoption ld '
8377 lt_prog_compiler_pic
='-KPIC'
8378 lt_prog_compiler_static
='-Bstatic'
8379 lt_prog_compiler_wl
='-Wl,'
8381 *Intel
*\
[CF
]*Compiler
*)
8382 lt_prog_compiler_wl
='-Wl,'
8383 lt_prog_compiler_pic
='-fPIC'
8384 lt_prog_compiler_static
='-static'
8387 lt_prog_compiler_wl
='-Wl,'
8388 lt_prog_compiler_pic
='-fpic'
8389 lt_prog_compiler_static
='-Bstatic'
8397 lt_prog_compiler_pic
='-KPIC'
8398 lt_prog_compiler_static
='-Bstatic'
8402 # QNX uses GNU C++, but need to define -shared option too, otherwise
8404 lt_prog_compiler_pic
='-fPIC -shared'
8407 osf3
* | osf4
* | osf5
*)
8408 lt_prog_compiler_wl
='-Wl,'
8409 # All OSF/1 code is PIC.
8410 lt_prog_compiler_static
='-non_shared'
8414 lt_prog_compiler_static
='-non_shared'
8418 lt_prog_compiler_pic
='-KPIC'
8419 lt_prog_compiler_static
='-Bstatic'
8420 case $cc_basename in
8421 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8422 lt_prog_compiler_wl
='-Qoption ld ';;
8424 lt_prog_compiler_wl
='-Wl,';;
8429 lt_prog_compiler_wl
='-Qoption ld '
8430 lt_prog_compiler_pic
='-PIC'
8431 lt_prog_compiler_static
='-Bstatic'
8434 sysv4
| sysv4.2uw2
* | sysv4.3
*)
8435 lt_prog_compiler_wl
='-Wl,'
8436 lt_prog_compiler_pic
='-KPIC'
8437 lt_prog_compiler_static
='-Bstatic'
8441 if test -d /usr
/nec
;then
8442 lt_prog_compiler_pic
='-Kconform_pic'
8443 lt_prog_compiler_static
='-Bstatic'
8447 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8448 lt_prog_compiler_wl
='-Wl,'
8449 lt_prog_compiler_pic
='-KPIC'
8450 lt_prog_compiler_static
='-Bstatic'
8454 lt_prog_compiler_wl
='-Wl,'
8455 lt_prog_compiler_can_build_shared
=no
8459 lt_prog_compiler_pic
='-pic'
8460 lt_prog_compiler_static
='-Bstatic'
8464 lt_prog_compiler_can_build_shared
=no
8470 # For platforms which do not support PIC, -DPIC is meaningless:
8472 lt_prog_compiler_pic
=
8475 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8480 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8481 if ${lt_cv_prog_compiler_pic+:} false
; then :
8482 $as_echo_n "(cached) " >&6
8484 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8487 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8488 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8491 # Check to make sure the PIC flag actually works.
8493 if test -n "$lt_prog_compiler_pic"; then
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8495 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8496 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8497 $as_echo_n "(cached) " >&6
8499 lt_cv_prog_compiler_pic_works
=no
8500 ac_outfile
=conftest.
$ac_objext
8501 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8502 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8503 # Insert the option either (1) after the last *FLAGS variable, or
8504 # (2) before a word containing "conftest.", or (3) at the end.
8505 # Note that $ac_compile itself does not contain backslashes and begins
8506 # with a dollar sign (not a hyphen), so the echo should work correctly.
8507 # The option is referenced via a variable to avoid confusing sed.
8508 lt_compile
=`echo "$ac_compile" | $SED \
8509 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8510 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8511 -e 's:$: $lt_compiler_flag:'`
8512 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8513 (eval "$lt_compile" 2>conftest.err
)
8515 cat conftest.err
>&5
8516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8517 if (exit $ac_status) && test -s "$ac_outfile"; then
8518 # The compiler can only warn and ignore the option if not recognized
8519 # So say no if there are warnings other than the usual output.
8520 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8521 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8522 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8523 lt_cv_prog_compiler_pic_works
=yes
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8530 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8532 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8533 case $lt_prog_compiler_pic in
8535 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8538 lt_prog_compiler_pic
=
8539 lt_prog_compiler_can_build_shared
=no
8555 # Check to make sure the static flag actually works.
8557 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8559 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8560 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8561 $as_echo_n "(cached) " >&6
8563 lt_cv_prog_compiler_static_works
=no
8564 save_LDFLAGS
="$LDFLAGS"
8565 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8566 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8567 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8568 # The linker can only warn and ignore the option if not recognized
8569 # So say no if there are warnings
8570 if test -s conftest.err
; then
8571 # Append any errors to the config.log.
8572 cat conftest.err
1>&5
8573 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8574 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8575 if diff conftest.exp conftest.er2
>/dev
/null
; then
8576 lt_cv_prog_compiler_static_works
=yes
8579 lt_cv_prog_compiler_static_works
=yes
8583 LDFLAGS
="$save_LDFLAGS"
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8587 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8589 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8592 lt_prog_compiler_static
=
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8602 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8603 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8604 $as_echo_n "(cached) " >&6
8606 lt_cv_prog_compiler_c_o
=no
8607 $RM -r conftest
2>/dev
/null
8611 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8613 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8614 # Insert the option either (1) after the last *FLAGS variable, or
8615 # (2) before a word containing "conftest.", or (3) at the end.
8616 # Note that $ac_compile itself does not contain backslashes and begins
8617 # with a dollar sign (not a hyphen), so the echo should work correctly.
8618 lt_compile
=`echo "$ac_compile" | $SED \
8619 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8621 -e 's:$: $lt_compiler_flag:'`
8622 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8623 (eval "$lt_compile" 2>out
/conftest.err
)
8625 cat out
/conftest.err
>&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8629 # The compiler can only warn and ignore the option if not recognized
8630 # So say no if there are warnings
8631 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
8632 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8633 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8634 lt_cv_prog_compiler_c_o
=yes
8639 # SGI C++ compiler will create directory out/ii_files/ for
8640 # template instantiation
8641 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8642 $RM out
/* && rmdir out
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8649 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8657 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8658 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8659 $as_echo_n "(cached) " >&6
8661 lt_cv_prog_compiler_c_o
=no
8662 $RM -r conftest
2>/dev
/null
8666 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8668 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8669 # Insert the option either (1) after the last *FLAGS variable, or
8670 # (2) before a word containing "conftest.", or (3) at the end.
8671 # Note that $ac_compile itself does not contain backslashes and begins
8672 # with a dollar sign (not a hyphen), so the echo should work correctly.
8673 lt_compile
=`echo "$ac_compile" | $SED \
8674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8676 -e 's:$: $lt_compiler_flag:'`
8677 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8678 (eval "$lt_compile" 2>out
/conftest.err
)
8680 cat out
/conftest.err
>&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8684 # The compiler can only warn and ignore the option if not recognized
8685 # So say no if there are warnings
8686 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
8687 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8688 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8689 lt_cv_prog_compiler_c_o
=yes
8694 # SGI C++ compiler will create directory out/ii_files/ for
8695 # template instantiation
8696 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8697 $RM out
/* && rmdir out
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8704 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8709 hard_links
="nottested"
8710 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8711 # do not overwrite the value of need_locks provided by the user
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8713 $as_echo_n "checking if we can lock with hard links... " >&6; }
8716 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8718 ln conftest.a conftest.b
2>&5 || hard_links
=no
8719 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8721 $as_echo "$hard_links" >&6; }
8722 if test "$hard_links" = no
; then
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8724 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8737 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8740 allow_undefined_flag
=
8741 always_export_symbols
=no
8743 archive_expsym_cmds
=
8744 compiler_needs_object
=no
8745 enable_shared_with_static_runtimes
=no
8746 export_dynamic_flag_spec
=
8747 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8748 hardcode_automatic
=no
8750 hardcode_direct_absolute
=no
8751 hardcode_libdir_flag_spec
=
8752 hardcode_libdir_separator
=
8754 hardcode_shlibpath_var
=unsupported
8756 link_all_deplibs
=unknown
8759 old_archive_from_new_cmds
=
8760 old_archive_from_expsyms_cmds
=
8761 thread_safe_flag_spec
=
8762 whole_archive_flag_spec
=
8763 # include_expsyms should be a list of space-separated symbols to be *always*
8764 # included in the symbol list
8766 # exclude_expsyms can be an extended regexp of symbols to exclude
8767 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8768 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8769 # as well as any symbol that contains `d'.
8770 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8771 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8772 # platforms (ab)use it in PIC code, but their linkers get confused if
8773 # the symbol is explicitly referenced. Since portable code cannot
8774 # rely on this symbol name, it's probably fine to never include it in
8775 # preloaded symbol tables.
8776 # Exclude shared library initialization/finalization symbols.
8777 extract_expsyms_cmds
=
8780 cygwin
* | mingw
* | pw32
* | cegcc
*)
8781 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8782 # When not using gcc, we currently assume that we are using
8783 # Microsoft Visual C++.
8784 if test "$GCC" != yes; then
8789 # we just hope/assume this is gcc and not c89 (= MSVC++)
8799 # On some targets, GNU ld is compatible enough with the native linker
8800 # that we're better off using the native interface for both.
8801 lt_use_gnu_ld_interface
=no
8802 if test "$with_gnu_ld" = yes; then
8805 # The AIX port of GNU ld has always aspired to compatibility
8806 # with the native linker. However, as the warning in the GNU ld
8807 # block says, versions before 2.19.5* couldn't really create working
8808 # shared libraries, regardless of the interface used.
8809 case `$LD -v 2>&1` in
8810 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8811 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8812 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8814 lt_use_gnu_ld_interface
=yes
8819 lt_use_gnu_ld_interface
=yes
8824 if test "$lt_use_gnu_ld_interface" = yes; then
8825 # If archive_cmds runs LD, not CC, wlarc should be empty
8828 # Set some defaults for GNU ld with shared library support. These
8829 # are reset later if shared libraries are not supported. Putting them
8830 # here allows them to be overridden if necessary.
8831 runpath_var
=LD_RUN_PATH
8832 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8833 export_dynamic_flag_spec
='${wl}--export-dynamic'
8834 # ancient GNU ld didn't support --whole-archive et. al.
8835 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
8836 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8838 whole_archive_flag_spec
=
8840 supports_anon_versioning
=no
8841 case `$LD -v 2>&1` in
8842 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8843 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
8844 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8845 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8846 *\
2.11.
*) ;; # other 2.11 versions
8847 *) supports_anon_versioning
=yes ;;
8850 # See if GNU ld supports shared libraries.
8853 # On AIX/PPC, the GNU linker is very broken
8854 if test "$host_cpu" != ia64
; then
8858 *** Warning: the GNU linker, at least up to release 2.19, is reported
8859 *** to be unable to reliably create shared libraries on AIX.
8860 *** Therefore, libtool is disabling shared libraries support. If you
8861 *** really care for shared libraries, you may want to install binutils
8862 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8863 *** You will then need to restart the configuration process.
8872 # see comment about AmigaOS4 .so support
8873 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8874 archive_expsym_cmds
=''
8877 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)'
8878 hardcode_libdir_flag_spec
='-L$libdir'
8879 hardcode_minus_L
=yes
8885 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8886 allow_undefined_flag
=unsupported
8887 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8888 # support --undefined. This deserves some investigation. FIXME
8889 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8895 cygwin
* | mingw
* | pw32
* | cegcc
*)
8896 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8897 # as there is no search path for DLLs.
8898 hardcode_libdir_flag_spec
='-L$libdir'
8899 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8900 allow_undefined_flag
=unsupported
8901 always_export_symbols
=no
8902 enable_shared_with_static_runtimes
=yes
8903 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'
8904 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8906 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
8907 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8908 # If the export-symbols file already is a .def file (1st line
8909 # is EXPORTS), use it as is; otherwise, prepend...
8910 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8911 cp $export_symbols $output_objdir/$soname.def;
8913 echo EXPORTS > $output_objdir/$soname.def;
8914 cat $export_symbols >> $output_objdir/$soname.def;
8916 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8923 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8924 link_all_deplibs
=yes
8929 hardcode_shlibpath_var
=no
8930 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8931 export_dynamic_flag_spec
='${wl}-E'
8932 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8933 # Instead, shared libraries are loaded at an image base (0x10000000 by
8934 # default) and relocated if they conflict, which is a slow very memory
8935 # consuming and fragmenting process. To avoid this, we pick a random,
8936 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8937 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8938 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8939 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'
8942 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8944 if test "$host_os" = linux
-dietlibc; then
8945 case $cc_basename in
8946 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8949 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
8950 && test "$tmp_diet" = no
8952 tmp_addflag
=' $pic_flag'
8953 tmp_sharedflag
='-shared'
8954 case $cc_basename,$host_cpu in
8955 pgcc
*) # Portland Group C compiler
8956 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'
8957 tmp_addflag
=' $pic_flag'
8959 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8960 # Portland Group f77 and f90 compilers
8961 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'
8962 tmp_addflag
=' $pic_flag -Mnomain' ;;
8963 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8964 tmp_addflag
=' -i_dynamic' ;;
8965 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8966 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8967 ifc
* | ifort
*) # Intel Fortran compiler
8968 tmp_addflag
=' -nofor_main' ;;
8969 lf95
*) # Lahey Fortran 8.1
8970 whole_archive_flag_spec
=
8971 tmp_sharedflag
='--shared' ;;
8972 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8973 tmp_sharedflag
='-qmkshrobj'
8975 nvcc
*) # Cuda Compiler Driver 2.2
8976 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'
8977 compiler_needs_object
=yes
8980 case `$CC -V 2>&1 | sed 5q` in
8981 *Sun\ C
*) # Sun C 5.9
8982 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'
8983 compiler_needs_object
=yes
8984 tmp_sharedflag
='-G' ;;
8985 *Sun\ F
*) # Sun Fortran 8.3
8986 tmp_sharedflag
='-G' ;;
8988 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8990 if test "x$supports_anon_versioning" = xyes
; then
8991 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8992 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8993 echo "local: *; };" >> $output_objdir/$libname.ver~
8994 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8997 case $cc_basename in
8998 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8999 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9000 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9001 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9002 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9003 if test "x$supports_anon_versioning" = xyes
; then
9004 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9005 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9006 echo "local: *; };" >> $output_objdir/$libname.ver~
9007 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9017 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9018 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9021 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9022 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9027 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9031 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9032 *** create shared libraries on Solaris systems. Therefore, libtool
9033 *** is disabling shared libraries support. We urge you to upgrade GNU
9034 *** binutils to release 2.9.1 or newer. Another option is to modify
9035 *** your PATH or compiler configuration so that the native linker is
9036 *** used, and then restart.
9039 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9040 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9041 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9047 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9048 case `$LD -v 2>&1` in
9049 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9053 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9054 *** reliably create shared libraries on SCO systems. Therefore, libtool
9055 *** is disabling shared libraries support. We urge you to upgrade GNU
9056 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9057 *** your PATH or compiler configuration so that the native linker is
9058 *** used, and then restart.
9063 # For security reasons, it is highly recommended that you always
9064 # use absolute paths for naming shared libraries, and exclude the
9065 # DT_RUNPATH tag from executables and libraries. But doing so
9066 # requires that you compile everything twice, which is a pain.
9067 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9068 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9069 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9070 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9079 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9082 hardcode_shlibpath_var
=no
9086 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9087 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9088 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9095 if test "$ld_shlibs" = no
; then
9097 hardcode_libdir_flag_spec
=
9098 export_dynamic_flag_spec
=
9099 whole_archive_flag_spec
=
9102 # PORTME fill in a description of your system's linker (not GNU ld)
9105 allow_undefined_flag
=unsupported
9106 always_export_symbols
=yes
9107 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'
9108 # Note: this linker hardcodes the directories in LIBPATH if there
9109 # are no directories specified by -L.
9110 hardcode_minus_L
=yes
9111 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9112 # Neither direct hardcoding nor static linking is supported with a
9114 hardcode_direct
=unsupported
9119 if test "$host_cpu" = ia64
; then
9120 # On IA64, the linker does run time linking by default, so we don't
9121 # have to do anything special.
9122 aix_use_runtimelinking
=no
9123 exp_sym_flag
='-Bexport'
9126 # If we're using GNU nm, then we don't want the "-C" option.
9127 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9128 # Also, AIX nm treats weak defined symbols like other global
9129 # defined symbols, whereas GNU nm marks them as "W".
9130 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
9131 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'
9133 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'
9135 aix_use_runtimelinking
=no
9137 # Test if we are trying to use run time linking or normal
9138 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9139 # need to do runtime linking.
9140 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9141 for ld_flag
in $LDFLAGS; do
9142 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9143 aix_use_runtimelinking
=yes
9150 exp_sym_flag
='-bexport'
9151 no_entry_flag
='-bnoentry'
9154 # When large executables or shared objects are built, AIX ld can
9155 # have problems creating the table of contents. If linking a library
9156 # or program results in "error TOC overflow" add -mminimal-toc to
9157 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9158 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9162 hardcode_direct_absolute
=yes
9163 hardcode_libdir_separator
=':'
9164 link_all_deplibs
=yes
9165 file_list_spec
='${wl}-f,'
9167 if test "$GCC" = yes; then
9168 case $host_os in aix4.
[012]|aix4.
[012].
*)
9169 # We only want to do this on AIX 4.2 and lower, the check
9170 # below for broken collect2 doesn't work under 4.3+
9171 collect2name
=`${CC} -print-prog-name=collect2`
9172 if test -f "$collect2name" &&
9173 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
9175 # We have reworked collect2
9178 # We have old collect2
9179 hardcode_direct
=unsupported
9180 # It fails to find uninstalled libraries when the uninstalled
9181 # path is not listed in the libpath. Setting hardcode_minus_L
9182 # to unsupported forces relinking
9183 hardcode_minus_L
=yes
9184 hardcode_libdir_flag_spec
='-L$libdir'
9185 hardcode_libdir_separator
=
9189 shared_flag
='-shared'
9190 if test "$aix_use_runtimelinking" = yes; then
9191 shared_flag
="$shared_flag "'${wl}-G'
9195 if test "$host_cpu" = ia64
; then
9196 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9197 # chokes on -Wl,-G. The following line is correct:
9200 if test "$aix_use_runtimelinking" = yes; then
9201 shared_flag
='${wl}-G'
9203 shared_flag
='${wl}-bM:SRE'
9208 export_dynamic_flag_spec
='${wl}-bexpall'
9209 # It seems that -bexpall does not export symbols beginning with
9210 # underscore (_), so it is better to generate a list of symbols to export.
9211 always_export_symbols
=yes
9212 if test "$aix_use_runtimelinking" = yes; then
9213 # Warning - without using the other runtime loading flags (-brtl),
9214 # -berok will link without error, but may produce a broken library.
9215 allow_undefined_flag
='-berok'
9216 # Determine the default libpath from the value encoded in an
9218 if test "${lt_cv_aix_libpath+set}" = set; then
9219 aix_libpath
=$lt_cv_aix_libpath
9221 if ${lt_cv_aix_libpath_+:} false
; then :
9222 $as_echo_n "(cached) " >&6
9224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9225 /* end confdefs.h. */
9235 if ac_fn_c_try_link
"$LINENO"; then :
9237 lt_aix_libpath_sed
='
9238 /Import File Strings/,/^$/ {
9240 s/^0 *\([^ ]*\) *$/\1/
9244 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9245 # Check for a 64-bit object if we didn't find anything.
9246 if test -z "$lt_cv_aix_libpath_"; then
9247 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9250 rm -f core conftest.err conftest.
$ac_objext \
9251 conftest
$ac_exeext conftest.
$ac_ext
9252 if test -z "$lt_cv_aix_libpath_"; then
9253 lt_cv_aix_libpath_
="/usr/lib:/lib"
9258 aix_libpath
=$lt_cv_aix_libpath_
9261 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9262 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"
9264 if test "$host_cpu" = ia64
; then
9265 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9266 allow_undefined_flag
="-z nodefs"
9267 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"
9269 # Determine the default libpath from the value encoded in an
9271 if test "${lt_cv_aix_libpath+set}" = set; then
9272 aix_libpath
=$lt_cv_aix_libpath
9274 if ${lt_cv_aix_libpath_+:} false
; then :
9275 $as_echo_n "(cached) " >&6
9277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9288 if ac_fn_c_try_link
"$LINENO"; then :
9290 lt_aix_libpath_sed
='
9291 /Import File Strings/,/^$/ {
9293 s/^0 *\([^ ]*\) *$/\1/
9297 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9298 # Check for a 64-bit object if we didn't find anything.
9299 if test -z "$lt_cv_aix_libpath_"; then
9300 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9303 rm -f core conftest.err conftest.
$ac_objext \
9304 conftest
$ac_exeext conftest.
$ac_ext
9305 if test -z "$lt_cv_aix_libpath_"; then
9306 lt_cv_aix_libpath_
="/usr/lib:/lib"
9311 aix_libpath
=$lt_cv_aix_libpath_
9314 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9315 # Warning - without using the other run time loading flags,
9316 # -berok will link without error, but may produce a broken library.
9317 no_undefined_flag
=' ${wl}-bernotok'
9318 allow_undefined_flag
=' ${wl}-berok'
9319 if test "$with_gnu_ld" = yes; then
9320 # We only use this code for GNU lds that support --whole-archive.
9321 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9323 # Exported symbols can be pulled into shared objects from archives
9324 whole_archive_flag_spec
='$convenience'
9326 archive_cmds_need_lc
=yes
9327 # This is similar to how AIX traditionally builds its shared libraries.
9328 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'
9336 # see comment about AmigaOS4 .so support
9337 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338 archive_expsym_cmds
=''
9341 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)'
9342 hardcode_libdir_flag_spec
='-L$libdir'
9343 hardcode_minus_L
=yes
9349 export_dynamic_flag_spec
=-rdynamic
9352 cygwin
* | mingw
* | pw32
* | cegcc
*)
9353 # When not using gcc, we currently assume that we are using
9354 # Microsoft Visual C++.
9355 # hardcode_libdir_flag_spec is actually meaningless, as there is
9356 # no search path for DLLs.
9357 case $cc_basename in
9360 hardcode_libdir_flag_spec
=' '
9361 allow_undefined_flag
=unsupported
9362 always_export_symbols
=yes
9364 # Tell ltmain to make .lib files, not .a files.
9366 # Tell ltmain to make .dll files, not .so files.
9368 # FIXME: Setting linknames here is a bad hack.
9369 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9370 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9371 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9373 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9375 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9377 # The linker will not automatically build a static lib if we build a DLL.
9378 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9379 enable_shared_with_static_runtimes
=yes
9380 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9381 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9383 old_postinstall_cmds
='chmod 644 $oldlib'
9384 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9385 lt_tool_outputfile="@TOOL_OUTPUT@"~
9386 case $lt_outputfile in
9389 lt_outputfile="$lt_outputfile.exe"
9390 lt_tool_outputfile="$lt_tool_outputfile.exe"
9393 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9394 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9395 $RM "$lt_outputfile.manifest";
9399 # Assume MSVC wrapper
9400 hardcode_libdir_flag_spec
=' '
9401 allow_undefined_flag
=unsupported
9402 # Tell ltmain to make .lib files, not .a files.
9404 # Tell ltmain to make .dll files, not .so files.
9406 # FIXME: Setting linknames here is a bad hack.
9407 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9408 # The linker will automatically build a .lib file if we build a DLL.
9409 old_archive_from_new_cmds
='true'
9410 # FIXME: Should let the user specify the lib program.
9411 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9412 enable_shared_with_static_runtimes
=yes
9417 darwin
* | rhapsody
*)
9420 archive_cmds_need_lc
=no
9422 hardcode_automatic
=yes
9423 hardcode_shlibpath_var
=unsupported
9424 if test "$lt_cv_ld_force_load" = "yes"; then
9425 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\"`'
9428 whole_archive_flag_spec
=''
9430 link_all_deplibs
=yes
9431 allow_undefined_flag
="$_lt_dar_allow_undefined"
9432 case $cc_basename in
9433 ifort
*) _lt_dar_can_shared
=yes ;;
9434 *) _lt_dar_can_shared
=$GCC ;;
9436 if test "$_lt_dar_can_shared" = "yes"; then
9437 output_verbose_link_cmd
=func_echo_all
9438 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9439 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9440 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}"
9441 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}"
9450 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9451 hardcode_libdir_flag_spec
='-L$libdir'
9452 hardcode_shlibpath_var
=no
9455 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9456 # support. Future versions do this automatically, but an explicit c++rt0.o
9457 # does not break anything, and helps significantly (at the cost of a little
9460 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9461 hardcode_libdir_flag_spec
='-R$libdir'
9463 hardcode_shlibpath_var
=no
9466 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9468 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9470 hardcode_minus_L
=yes
9471 hardcode_shlibpath_var
=no
9474 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9475 freebsd
* | dragonfly
*)
9476 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9477 hardcode_libdir_flag_spec
='-R$libdir'
9479 hardcode_shlibpath_var
=no
9483 if test "$GCC" = yes; then
9484 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'
9486 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'
9488 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9489 hardcode_libdir_separator
=:
9492 # hardcode_minus_L: Not really in the search PATH,
9493 # but as the default location of the library.
9494 hardcode_minus_L
=yes
9495 export_dynamic_flag_spec
='${wl}-E'
9499 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9500 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9502 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9504 if test "$with_gnu_ld" = no
; then
9505 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9506 hardcode_libdir_separator
=:
9508 hardcode_direct_absolute
=yes
9509 export_dynamic_flag_spec
='${wl}-E'
9510 # hardcode_minus_L: Not really in the search PATH,
9511 # but as the default location of the library.
9512 hardcode_minus_L
=yes
9517 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9520 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9526 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9532 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9535 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9539 # Older versions of the 11.00 compiler do not understand -b yet
9540 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9542 $as_echo_n "checking if $CC understands -b... " >&6; }
9543 if ${lt_cv_prog_compiler__b+:} false
; then :
9544 $as_echo_n "(cached) " >&6
9546 lt_cv_prog_compiler__b
=no
9547 save_LDFLAGS
="$LDFLAGS"
9548 LDFLAGS
="$LDFLAGS -b"
9549 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9550 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9551 # The linker can only warn and ignore the option if not recognized
9552 # So say no if there are warnings
9553 if test -s conftest.err
; then
9554 # Append any errors to the config.log.
9555 cat conftest.err
1>&5
9556 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9557 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9558 if diff conftest.exp conftest.er2
>/dev
/null
; then
9559 lt_cv_prog_compiler__b
=yes
9562 lt_cv_prog_compiler__b
=yes
9566 LDFLAGS
="$save_LDFLAGS"
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9570 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9572 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9573 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9575 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9581 if test "$with_gnu_ld" = no
; then
9582 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9583 hardcode_libdir_separator
=:
9588 hardcode_shlibpath_var
=no
9592 hardcode_direct_absolute
=yes
9593 export_dynamic_flag_spec
='${wl}-E'
9595 # hardcode_minus_L: Not really in the search PATH,
9596 # but as the default location of the library.
9597 hardcode_minus_L
=yes
9603 irix5
* | irix6
* | nonstopux
*)
9604 if test "$GCC" = yes; then
9605 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'
9606 # Try to use the -exported_symbol ld option, if it does not
9607 # work, assume that -exports_file does not work either and
9608 # implicitly export all symbols.
9609 # This should be the same for all languages, so no per-tag cache variable.
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9611 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9612 if ${lt_cv_irix_exported_symbol+:} false
; then :
9613 $as_echo_n "(cached) " >&6
9615 save_LDFLAGS
="$LDFLAGS"
9616 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9619 int foo (void) { return 0; }
9621 if ac_fn_c_try_link
"$LINENO"; then :
9622 lt_cv_irix_exported_symbol
=yes
9624 lt_cv_irix_exported_symbol
=no
9626 rm -f core conftest.err conftest.
$ac_objext \
9627 conftest
$ac_exeext conftest.
$ac_ext
9628 LDFLAGS
="$save_LDFLAGS"
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9631 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9632 if test "$lt_cv_irix_exported_symbol" = yes; then
9633 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'
9636 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'
9637 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'
9639 archive_cmds_need_lc
='no'
9640 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9641 hardcode_libdir_separator
=:
9643 link_all_deplibs
=yes
9647 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9648 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9650 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9652 hardcode_libdir_flag_spec
='-R$libdir'
9654 hardcode_shlibpath_var
=no
9658 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9660 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9661 hardcode_libdir_separator
=:
9662 hardcode_shlibpath_var
=no
9669 if test -f /usr
/libexec
/ld.so
; then
9671 hardcode_shlibpath_var
=no
9672 hardcode_direct_absolute
=yes
9673 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9674 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9675 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9676 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9677 export_dynamic_flag_spec
='${wl}-E'
9680 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9681 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9682 hardcode_libdir_flag_spec
='-R$libdir'
9685 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9686 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9696 hardcode_libdir_flag_spec
='-L$libdir'
9697 hardcode_minus_L
=yes
9698 allow_undefined_flag
=unsupported
9699 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'
9700 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9704 if test "$GCC" = yes; then
9705 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9706 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'
9708 allow_undefined_flag
=' -expect_unresolved \*'
9709 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'
9711 archive_cmds_need_lc
='no'
9712 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9713 hardcode_libdir_separator
=:
9716 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9717 if test "$GCC" = yes; then
9718 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9719 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'
9720 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9722 allow_undefined_flag
=' -expect_unresolved \*'
9723 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'
9724 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~
9725 $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'
9727 # Both c and cxx compiler support -rpath directly
9728 hardcode_libdir_flag_spec
='-rpath $libdir'
9730 archive_cmds_need_lc
='no'
9731 hardcode_libdir_separator
=:
9735 no_undefined_flag
=' -z defs'
9736 if test "$GCC" = yes; then
9738 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9739 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9740 $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'
9742 case `$CC -V 2>&1` in
9745 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9746 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9747 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9751 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9752 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9753 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9757 hardcode_libdir_flag_spec
='-R$libdir'
9758 hardcode_shlibpath_var
=no
9760 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9762 # The compiler driver will combine and reorder linker options,
9763 # but understands `-z linker_flag'. GCC discards it without `$wl',
9764 # but is careful enough not to reorder.
9765 # Supported since Solaris 2.6 (maybe 2.5.1?)
9766 if test "$GCC" = yes; then
9767 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9769 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9773 link_all_deplibs
=yes
9777 if test "x$host_vendor" = xsequent
; then
9778 # Use $CC to link under sequent, because it throws in some extra .o
9779 # files that make .init and .fini sections work.
9780 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9782 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9784 hardcode_libdir_flag_spec
='-L$libdir'
9786 hardcode_minus_L
=yes
9787 hardcode_shlibpath_var
=no
9791 case $host_vendor in
9793 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9794 hardcode_direct
=yes # is this really true???
9797 ## LD is ld it makes a PLAMLIB
9798 ## CC just makes a GrossModule.
9799 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9800 reload_cmds
='$CC -r -o $output$reload_objs'
9804 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9805 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9808 runpath_var
='LD_RUN_PATH'
9809 hardcode_shlibpath_var
=no
9813 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9814 hardcode_shlibpath_var
=no
9815 export_dynamic_flag_spec
='-Bexport'
9819 if test -d /usr
/nec
; then
9820 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9821 hardcode_shlibpath_var
=no
9822 runpath_var
=LD_RUN_PATH
9823 hardcode_runpath_var
=yes
9828 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9829 no_undefined_flag
='${wl}-z,text'
9830 archive_cmds_need_lc
=no
9831 hardcode_shlibpath_var
=no
9832 runpath_var
='LD_RUN_PATH'
9834 if test "$GCC" = yes; then
9835 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9836 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9838 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9839 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843 sysv5
* | sco3.2v5
* | sco5v6
*)
9844 # Note: We can NOT use -z defs as we might desire, because we do not
9845 # link with -lc, and that would cause any symbols used from libc to
9846 # always be unresolved, which means just about no library would
9847 # ever link correctly. If we're not using GNU ld we use -z text
9848 # though, which does catch some bad symbols but isn't as heavy-handed
9850 no_undefined_flag
='${wl}-z,text'
9851 allow_undefined_flag
='${wl}-z,nodefs'
9852 archive_cmds_need_lc
=no
9853 hardcode_shlibpath_var
=no
9854 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9855 hardcode_libdir_separator
=':'
9856 link_all_deplibs
=yes
9857 export_dynamic_flag_spec
='${wl}-Bexport'
9858 runpath_var
='LD_RUN_PATH'
9860 if test "$GCC" = yes; then
9861 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9862 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9864 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9865 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9870 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9871 hardcode_libdir_flag_spec
='-L$libdir'
9872 hardcode_shlibpath_var
=no
9880 if test x
$host_vendor = xsni
; then
9882 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9883 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9890 $as_echo "$ld_shlibs" >&6; }
9891 test "$ld_shlibs" = no
&& can_build_shared
=no
9893 with_gnu_ld
=$with_gnu_ld
9910 # Do we need to explicitly link libc?
9912 case "x$archive_cmds_need_lc" in
9914 # Assume -lc should be added
9915 archive_cmds_need_lc
=yes
9917 if test "$enable_shared" = yes && test "$GCC" = yes; then
9918 case $archive_cmds in
9920 # FIXME: we may have to deal with multi-command sequences.
9923 # Test whether the compiler implicitly links with -lc since on some
9924 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9925 # to ld, don't add -lc before -lgcc.
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9927 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9928 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9929 $as_echo_n "(cached) " >&6
9932 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9934 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9935 (eval $ac_compile) 2>&5
9937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9938 test $ac_status = 0; } 2>conftest.err
; then
9941 libobjs
=conftest.
$ac_objext
9943 wl
=$lt_prog_compiler_wl
9944 pic_flag
=$lt_prog_compiler_pic
9950 lt_save_allow_undefined_flag
=$allow_undefined_flag
9951 allow_undefined_flag
=
9952 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9953 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9956 test $ac_status = 0; }
9958 lt_cv_archive_cmds_need_lc
=no
9960 lt_cv_archive_cmds_need_lc
=yes
9962 allow_undefined_flag
=$lt_save_allow_undefined_flag
9964 cat conftest.err
1>&5
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9970 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9971 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10130 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10132 if test "$GCC" = yes; then
10134 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10135 *) lt_awk_arg
="/^libraries:/" ;;
10138 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10139 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10141 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10142 case $lt_search_path_spec in
10144 # if the path contains ";" then we assume it to be the separator
10145 # otherwise default to the standard path separator (i.e. ":") - it is
10146 # assumed that no part of a normal pathname contains ";" but that should
10147 # okay in the real world where ";" in dirpaths is itself problematic.
10148 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10151 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10154 # Ok, now we have the path, separated by spaces, we can step through it
10155 # and add multilib dir if necessary.
10156 lt_tmp_lt_search_path_spec
=
10157 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10158 for lt_sys_path
in $lt_search_path_spec; do
10159 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10160 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10162 test -d "$lt_sys_path" && \
10163 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10166 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10167 BEGIN {RS=" "; FS="/|\n";} {
10170 for (lt_i = NF; lt_i > 0; lt_i--) {
10171 if ($lt_i != "" && $lt_i != ".") {
10172 if ($lt_i == "..") {
10175 if (lt_count == 0) {
10176 lt_foo="/" $lt_i lt_foo;
10183 if (lt_foo != "") { lt_freq[lt_foo]++; }
10184 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10186 # AWK program above erroneously prepends '/' to C:/dos/paths
10189 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10190 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10192 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10194 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10196 library_names_spec
=
10197 libname_spec
='lib$name'
10201 postuninstall_cmds
=
10205 shlibpath_overrides_runpath
=unknown
10207 dynamic_linker
="$host_os ld.so"
10208 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10209 need_lib_prefix
=unknown
10210 hardcode_into_libs
=no
10212 # when you set need_version to no, make sure it does not cause -set_version
10213 # flags to be left without arguments
10214 need_version
=unknown
10218 version_type
=linux
# correct to gnu/linux during the next big refactor
10219 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10220 shlibpath_var
=LIBPATH
10222 # AIX 3 has no versioning support, so we append a major version to the name.
10223 soname_spec
='${libname}${release}${shared_ext}$major'
10227 version_type
=linux
# correct to gnu/linux during the next big refactor
10230 hardcode_into_libs
=yes
10231 if test "$host_cpu" = ia64
; then
10232 # AIX 5 supports IA64
10233 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10234 shlibpath_var
=LD_LIBRARY_PATH
10236 # With GCC up to 2.95.x, collect2 would create an import file
10237 # for dependence libraries. The import file would start with
10238 # the line `#! .'. This would cause the generated library to
10239 # depend on `.', always an invalid library. This was fixed in
10240 # development snapshots of GCC prior to 3.0.
10242 aix4
| aix4.
[01] | aix4.
[01].
*)
10243 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10245 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
10248 can_build_shared
=no
10252 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10253 # soname into executable. Probably we can add versioning support to
10254 # collect2, so additional links can be useful in future.
10255 if test "$aix_use_runtimelinking" = yes; then
10256 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10257 # instead of lib<name>.a to let people know that these are not
10258 # typical AIX shared libraries.
10259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10261 # We preserve .a as extension for shared libraries through AIX4.2
10262 # and later when we are not doing run time linking.
10263 library_names_spec
='${libname}${release}.a $libname.a'
10264 soname_spec
='${libname}${release}${shared_ext}$major'
10266 shlibpath_var
=LIBPATH
10273 # Since July 2007 AmigaOS4 officially supports .so libraries.
10274 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10278 library_names_spec
='$libname.ixlibrary $libname.a'
10279 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10280 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'
10286 library_names_spec
='${libname}${shared_ext}'
10287 dynamic_linker
="$host_os ld.so"
10288 shlibpath_var
=LIBRARY_PATH
10292 version_type
=linux
# correct to gnu/linux during the next big refactor
10294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10295 soname_spec
='${libname}${release}${shared_ext}$major'
10296 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10297 shlibpath_var
=LD_LIBRARY_PATH
10298 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10299 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10300 # the default ld.so.conf also contains /usr/contrib/lib and
10301 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10302 # libtool to hard-code these into programs
10305 cygwin
* | mingw
* | pw32
* | cegcc
*)
10306 version_type
=windows
10311 case $GCC,$cc_basename in
10314 library_names_spec
='$libname.dll.a'
10315 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10316 postinstall_cmds
='base_file=`basename \${file}`~
10317 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10318 dldir=$destdir/`dirname \$dlpath`~
10319 test -d \$dldir || mkdir -p \$dldir~
10320 $install_prog $dir/$dlname \$dldir/$dlname~
10321 chmod a+x \$dldir/$dlname~
10322 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10323 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10325 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10326 dlpath=$dir/\$dldll~
10328 shlibpath_overrides_runpath
=yes
10332 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10333 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10335 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10338 # MinGW DLLs use traditional 'lib' prefix
10339 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10342 # pw32 DLLs use 'pw' prefix rather than 'lib'
10343 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10346 dynamic_linker
='Win32 ld.exe'
10351 libname_spec
='$name'
10352 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10353 library_names_spec
='${libname}.dll.lib'
10357 sys_lib_search_path_spec
=
10360 for lt_path
in $LIB
10363 # Let DOS variable expansion print the short 8.3 style file name.
10364 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10365 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10368 # Convert to MSYS style.
10369 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10372 # Convert to unix form, then to dos form, then back to unix form
10373 # but this time dos style (no spaces!) so that the unix form looks
10374 # like /cygdrive/c/PROGRA~1:/cygdr...
10375 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10376 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10377 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10380 sys_lib_search_path_spec
="$LIB"
10381 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
10382 # It is most probably a Windows format PATH.
10383 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10385 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10387 # FIXME: find the short name or the path components, as spaces are
10388 # common. (e.g. "Program Files" -> "PROGRA~1")
10392 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10393 postinstall_cmds
='base_file=`basename \${file}`~
10394 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10395 dldir=$destdir/`dirname \$dlpath`~
10396 test -d \$dldir || mkdir -p \$dldir~
10397 $install_prog $dir/$dlname \$dldir/$dlname'
10398 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10399 dlpath=$dir/\$dldll~
10401 shlibpath_overrides_runpath
=yes
10402 dynamic_linker
='Win32 link.exe'
10406 # Assume MSVC wrapper
10407 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
10408 dynamic_linker
='Win32 ld.exe'
10411 # FIXME: first we should search . and the directory the executable is in
10415 darwin
* | rhapsody
*)
10416 dynamic_linker
="$host_os dyld"
10417 version_type
=darwin
10420 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10421 soname_spec
='${libname}${release}${major}$shared_ext'
10422 shlibpath_overrides_runpath
=yes
10423 shlibpath_var
=DYLD_LIBRARY_PATH
10424 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10426 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10427 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10431 version_type
=linux
# correct to gnu/linux during the next big refactor
10434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10435 soname_spec
='${libname}${release}${shared_ext}$major'
10436 shlibpath_var
=LD_LIBRARY_PATH
10439 freebsd
* | dragonfly
*)
10440 # DragonFly does not have aout. When/if they implement a new
10441 # versioning mechanism, adjust this.
10442 if test -x /usr
/bin
/objformat
; then
10443 objformat
=`/usr/bin/objformat`
10446 freebsd
[23].
*) objformat
=aout
;;
10447 *) objformat
=elf
;;
10450 version_type
=freebsd
-$objformat
10451 case $version_type in
10453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10458 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10462 shlibpath_var
=LD_LIBRARY_PATH
10465 shlibpath_overrides_runpath
=yes
10467 freebsd3.
[01]* | freebsdelf3.
[01]*)
10468 shlibpath_overrides_runpath
=yes
10469 hardcode_into_libs
=yes
10471 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10472 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10473 shlibpath_overrides_runpath
=no
10474 hardcode_into_libs
=yes
10476 *) # from 4.6 on, and DragonFly
10477 shlibpath_overrides_runpath
=yes
10478 hardcode_into_libs
=yes
10484 version_type
=linux
# correct to gnu/linux during the next big refactor
10487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10488 soname_spec
='${libname}${release}${shared_ext}$major'
10489 shlibpath_var
=LD_LIBRARY_PATH
10490 shlibpath_overrides_runpath
=no
10491 hardcode_into_libs
=yes
10495 version_type
=linux
# correct to gnu/linux during the next big refactor
10498 dynamic_linker
="$host_os runtime_loader"
10499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10500 soname_spec
='${libname}${release}${shared_ext}$major'
10501 shlibpath_var
=LIBRARY_PATH
10502 shlibpath_overrides_runpath
=yes
10503 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10504 hardcode_into_libs
=yes
10507 hpux9
* | hpux10
* | hpux11
*)
10508 # Give a soname corresponding to the major version so that dld.sl refuses to
10509 # link against other versions.
10516 hardcode_into_libs
=yes
10517 dynamic_linker
="$host_os dld.so"
10518 shlibpath_var
=LD_LIBRARY_PATH
10519 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10521 soname_spec
='${libname}${release}${shared_ext}$major'
10522 if test "X$HPUX_IA64_MODE" = X32
; then
10523 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10525 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10527 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10531 hardcode_into_libs
=yes
10532 dynamic_linker
="$host_os dld.sl"
10533 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10534 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536 soname_spec
='${libname}${release}${shared_ext}$major'
10537 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10538 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10542 dynamic_linker
="$host_os dld.sl"
10543 shlibpath_var
=SHLIB_PATH
10544 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10546 soname_spec
='${libname}${release}${shared_ext}$major'
10549 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10550 postinstall_cmds
='chmod 555 $lib'
10551 # or fails outright, so override atomically:
10552 install_override_mode
=555
10556 version_type
=linux
# correct to gnu/linux during the next big refactor
10559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10560 soname_spec
='${libname}${release}${shared_ext}$major'
10561 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10562 shlibpath_var
=LD_LIBRARY_PATH
10563 shlibpath_overrides_runpath
=no
10564 hardcode_into_libs
=yes
10567 irix5
* | irix6
* | nonstopux
*)
10569 nonstopux
*) version_type
=nonstopux
;;
10571 if test "$lt_cv_prog_gnu_ld" = yes; then
10572 version_type
=linux
# correct to gnu/linux during the next big refactor
10579 soname_spec
='${libname}${release}${shared_ext}$major'
10580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10582 irix5
* | nonstopux
*)
10583 libsuff
= shlibsuff
=
10586 case $LD in # libtool.m4 will add one of these switches to LD
10587 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10588 libsuff
= shlibsuff
= libmagic
=32-bit;;
10589 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10590 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10591 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10592 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10593 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
10597 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10598 shlibpath_overrides_runpath
=no
10599 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10600 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10601 hardcode_into_libs
=yes
10604 # No shared lib support for Linux oldld, aout, or coff.
10605 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10609 # This must be glibc/ELF.
10610 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10611 version_type
=linux
# correct to gnu/linux during the next big refactor
10614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10615 soname_spec
='${libname}${release}${shared_ext}$major'
10616 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10617 shlibpath_var
=LD_LIBRARY_PATH
10618 shlibpath_overrides_runpath
=no
10620 # Some binutils ld are patched to set DT_RUNPATH
10621 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10622 $as_echo_n "(cached) " >&6
10624 lt_cv_shlibpath_overrides_runpath
=no
10625 save_LDFLAGS
=$LDFLAGS
10626 save_libdir
=$libdir
10627 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10628 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10630 /* end confdefs.h. */
10640 if ac_fn_c_try_link
"$LINENO"; then :
10641 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
10642 lt_cv_shlibpath_overrides_runpath
=yes
10645 rm -f core conftest.err conftest.
$ac_objext \
10646 conftest
$ac_exeext conftest.
$ac_ext
10647 LDFLAGS
=$save_LDFLAGS
10648 libdir
=$save_libdir
10652 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10654 # This implies no fast_install, which is unacceptable.
10655 # Some rework will be needed to allow for fast_install
10656 # before this can be enabled.
10657 hardcode_into_libs
=yes
10659 # Append ld.so.conf contents to the search path
10660 if test -f /etc
/ld.so.conf
; then
10661 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' ' '`
10662 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10665 # We used to test for /lib/ld.so.1 and disable shared libraries on
10666 # powerpc, because MkLinux only supported shared libraries with the
10667 # GNU dynamic linker. Since this was broken with cross compilers,
10668 # most powerpc-linux boxes support dynamic linking these days and
10669 # people can always --disable-shared, the test was removed, and we
10670 # assume the GNU/Linux dynamic linker is in use.
10671 dynamic_linker
='GNU/Linux ld.so'
10678 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10680 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10681 dynamic_linker
='NetBSD (a.out) ld.so'
10683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10684 soname_spec
='${libname}${release}${shared_ext}$major'
10685 dynamic_linker
='NetBSD ld.elf_so'
10687 shlibpath_var
=LD_LIBRARY_PATH
10688 shlibpath_overrides_runpath
=yes
10689 hardcode_into_libs
=yes
10693 version_type
=linux
# correct to gnu/linux during the next big refactor
10694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695 shlibpath_var
=LD_LIBRARY_PATH
10696 shlibpath_overrides_runpath
=yes
10703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704 soname_spec
='${libname}${release}${shared_ext}$major'
10705 shlibpath_var
=LD_LIBRARY_PATH
10706 shlibpath_overrides_runpath
=no
10707 hardcode_into_libs
=yes
10708 dynamic_linker
='ldqnx.so'
10713 sys_lib_dlsearch_path_spec
="/usr/lib"
10715 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10717 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
10718 *) need_version
=no
;;
10720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10721 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10722 shlibpath_var
=LD_LIBRARY_PATH
10723 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10725 openbsd2.
[89] | openbsd2.
[89].
*)
10726 shlibpath_overrides_runpath
=no
10729 shlibpath_overrides_runpath
=yes
10733 shlibpath_overrides_runpath
=yes
10738 libname_spec
='$name'
10741 library_names_spec
='$libname${shared_ext} $libname.a'
10742 dynamic_linker
='OS/2 ld.exe'
10743 shlibpath_var
=LIBPATH
10746 osf3
* | osf4
* | osf5
*)
10750 soname_spec
='${libname}${release}${shared_ext}$major'
10751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752 shlibpath_var
=LD_LIBRARY_PATH
10753 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10754 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10762 version_type
=linux
# correct to gnu/linux during the next big refactor
10765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10766 soname_spec
='${libname}${release}${shared_ext}$major'
10767 shlibpath_var
=LD_LIBRARY_PATH
10768 shlibpath_overrides_runpath
=yes
10769 hardcode_into_libs
=yes
10770 # ldd complains unless libraries are executable
10771 postinstall_cmds
='chmod +x $lib'
10776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10777 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10778 shlibpath_var
=LD_LIBRARY_PATH
10779 shlibpath_overrides_runpath
=yes
10780 if test "$with_gnu_ld" = yes; then
10787 version_type
=linux
# correct to gnu/linux during the next big refactor
10788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec
='${libname}${release}${shared_ext}$major'
10790 shlibpath_var
=LD_LIBRARY_PATH
10791 case $host_vendor in
10793 shlibpath_overrides_runpath
=no
10795 runpath_var
=LD_RUN_PATH
10803 shlibpath_overrides_runpath
=no
10804 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10810 if test -d /usr
/nec
;then
10811 version_type
=linux
# correct to gnu/linux during the next big refactor
10812 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10813 soname_spec
='$libname${shared_ext}.$major'
10814 shlibpath_var
=LD_LIBRARY_PATH
10818 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10819 version_type
=freebsd
-elf
10822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10823 soname_spec
='${libname}${release}${shared_ext}$major'
10824 shlibpath_var
=LD_LIBRARY_PATH
10825 shlibpath_overrides_runpath
=yes
10826 hardcode_into_libs
=yes
10827 if test "$with_gnu_ld" = yes; then
10828 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10830 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10833 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10837 sys_lib_dlsearch_path_spec
='/usr/lib'
10841 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10842 version_type
=linux
# correct to gnu/linux during the next big refactor
10845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10846 shlibpath_var
=LD_LIBRARY_PATH
10847 shlibpath_overrides_runpath
=no
10848 hardcode_into_libs
=yes
10852 version_type
=linux
# correct to gnu/linux during the next big refactor
10853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854 soname_spec
='${libname}${release}${shared_ext}$major'
10855 shlibpath_var
=LD_LIBRARY_PATH
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10863 $as_echo "$dynamic_linker" >&6; }
10864 test "$dynamic_linker" = no
&& can_build_shared
=no
10866 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10867 if test "$GCC" = yes; then
10868 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10871 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10872 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10874 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10875 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10970 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10972 if test -n "$hardcode_libdir_flag_spec" ||
10973 test -n "$runpath_var" ||
10974 test "X$hardcode_automatic" = "Xyes" ; then
10976 # We can hardcode non-existent directories.
10977 if test "$hardcode_direct" != no
&&
10978 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10979 # have to relink, otherwise we might link with an installed library
10980 # when we should be linking with a yet-to-be-installed one
10981 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10982 test "$hardcode_minus_L" != no
; then
10983 # Linking always hardcodes the temporary library directory.
10984 hardcode_action
=relink
10986 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10987 hardcode_action
=immediate
10990 # We cannot hardcode anything, or else we can only hardcode existing
10992 hardcode_action
=unsupported
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10995 $as_echo "$hardcode_action" >&6; }
10997 if test "$hardcode_action" = relink
||
10998 test "$inherit_rpath" = yes; then
10999 # Fast installation is not supported
11000 enable_fast_install
=no
11001 elif test "$shlibpath_overrides_runpath" = yes ||
11002 test "$enable_shared" = no
; then
11003 # Fast installation is not necessary
11004 enable_fast_install
=needless
11012 if test "x$enable_dlopen" != xyes
; then
11013 enable_dlopen
=unknown
11014 enable_dlopen_self
=unknown
11015 enable_dlopen_self_static
=unknown
11022 lt_cv_dlopen
="load_add_on"
11024 lt_cv_dlopen_self
=yes
11027 mingw
* | pw32
* | cegcc
*)
11028 lt_cv_dlopen
="LoadLibrary"
11033 lt_cv_dlopen
="dlopen"
11038 # if libdl is installed we need to link against it
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11040 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11041 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11042 $as_echo_n "(cached) " >&6
11044 ac_check_lib_save_LIBS
=$LIBS
11046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11049 /* Override any GCC internal prototype to avoid an error.
11050 Use char because int might match the return type of a GCC
11051 builtin and then its argument prototype would still apply. */
11064 if ac_fn_c_try_link
"$LINENO"; then :
11065 ac_cv_lib_dl_dlopen
=yes
11067 ac_cv_lib_dl_dlopen
=no
11069 rm -f core conftest.err conftest.
$ac_objext \
11070 conftest
$ac_exeext conftest.
$ac_ext
11071 LIBS
=$ac_check_lib_save_LIBS
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11074 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11075 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11076 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11079 lt_cv_dlopen
="dyld"
11081 lt_cv_dlopen_self
=yes
11088 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11089 if test "x$ac_cv_func_shl_load" = xyes
; then :
11090 lt_cv_dlopen
="shl_load"
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11093 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11094 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11095 $as_echo_n "(cached) " >&6
11097 ac_check_lib_save_LIBS
=$LIBS
11099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11102 /* Override any GCC internal prototype to avoid an error.
11103 Use char because int might match the return type of a GCC
11104 builtin and then its argument prototype would still apply. */
11112 return shl_load ();
11117 if ac_fn_c_try_link
"$LINENO"; then :
11118 ac_cv_lib_dld_shl_load
=yes
11120 ac_cv_lib_dld_shl_load
=no
11122 rm -f core conftest.err conftest.
$ac_objext \
11123 conftest
$ac_exeext conftest.
$ac_ext
11124 LIBS
=$ac_check_lib_save_LIBS
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11127 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11128 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11129 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11131 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11132 if test "x$ac_cv_func_dlopen" = xyes
; then :
11133 lt_cv_dlopen
="dlopen"
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11136 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11137 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11138 $as_echo_n "(cached) " >&6
11140 ac_check_lib_save_LIBS
=$LIBS
11142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11160 if ac_fn_c_try_link
"$LINENO"; then :
11161 ac_cv_lib_dl_dlopen
=yes
11163 ac_cv_lib_dl_dlopen
=no
11165 rm -f core conftest.err conftest.
$ac_objext \
11166 conftest
$ac_exeext conftest.
$ac_ext
11167 LIBS
=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11170 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11171 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11172 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11175 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11176 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11177 $as_echo_n "(cached) " >&6
11179 ac_check_lib_save_LIBS
=$LIBS
11180 LIBS
="-lsvld $LIBS"
11181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11184 /* Override any GCC internal prototype to avoid an error.
11185 Use char because int might match the return type of a GCC
11186 builtin and then its argument prototype would still apply. */
11199 if ac_fn_c_try_link
"$LINENO"; then :
11200 ac_cv_lib_svld_dlopen
=yes
11202 ac_cv_lib_svld_dlopen
=no
11204 rm -f core conftest.err conftest.
$ac_objext \
11205 conftest
$ac_exeext conftest.
$ac_ext
11206 LIBS
=$ac_check_lib_save_LIBS
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11209 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11210 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11211 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11214 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11215 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11216 $as_echo_n "(cached) " >&6
11218 ac_check_lib_save_LIBS
=$LIBS
11220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11233 return dld_link ();
11238 if ac_fn_c_try_link
"$LINENO"; then :
11239 ac_cv_lib_dld_dld_link
=yes
11241 ac_cv_lib_dld_dld_link
=no
11243 rm -f core conftest.err conftest.
$ac_objext \
11244 conftest
$ac_exeext conftest.
$ac_ext
11245 LIBS
=$ac_check_lib_save_LIBS
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11248 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11249 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11250 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11271 if test "x$lt_cv_dlopen" != xno
; then
11277 case $lt_cv_dlopen in
11279 save_CPPFLAGS
="$CPPFLAGS"
11280 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11282 save_LDFLAGS
="$LDFLAGS"
11283 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11286 LIBS
="$lt_cv_dlopen_libs $LIBS"
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11289 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11290 if ${lt_cv_dlopen_self+:} false
; then :
11291 $as_echo_n "(cached) " >&6
11293 if test "$cross_compiling" = yes; then :
11294 lt_cv_dlopen_self
=cross
11296 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11297 lt_status
=$lt_dlunknown
11298 cat > conftest.
$ac_ext <<_LT_EOF
11299 #line $LINENO "configure"
11300 #include "confdefs.h"
11309 # define LT_DLGLOBAL RTLD_GLOBAL
11312 # define LT_DLGLOBAL DL_GLOBAL
11314 # define LT_DLGLOBAL 0
11318 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11319 find out it does not work in some platform. */
11320 #ifndef LT_DLLAZY_OR_NOW
11322 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11325 # define LT_DLLAZY_OR_NOW DL_LAZY
11328 # define LT_DLLAZY_OR_NOW RTLD_NOW
11331 # define LT_DLLAZY_OR_NOW DL_NOW
11333 # define LT_DLLAZY_OR_NOW 0
11340 /* When -fvisbility=hidden is used, assume the code has been annotated
11341 correspondingly for the symbols needed. */
11342 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11343 int fnord () __attribute__((visibility("default")));
11346 int fnord () { return 42; }
11349 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11350 int status = $lt_dlunknown;
11354 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11357 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11358 else puts (dlerror ());
11360 /* dlclose (self); */
11368 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11369 (eval $ac_link) 2>&5
11371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11372 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11373 (.
/conftest
; exit; ) >&5 2>/dev
/null
11375 case x
$lt_status in
11376 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11377 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11378 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11381 # compilation failed
11382 lt_cv_dlopen_self
=no
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11390 $as_echo "$lt_cv_dlopen_self" >&6; }
11392 if test "x$lt_cv_dlopen_self" = xyes
; then
11393 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11395 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11396 if ${lt_cv_dlopen_self_static+:} false
; then :
11397 $as_echo_n "(cached) " >&6
11399 if test "$cross_compiling" = yes; then :
11400 lt_cv_dlopen_self_static
=cross
11402 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11403 lt_status
=$lt_dlunknown
11404 cat > conftest.
$ac_ext <<_LT_EOF
11405 #line $LINENO "configure"
11406 #include "confdefs.h"
11415 # define LT_DLGLOBAL RTLD_GLOBAL
11418 # define LT_DLGLOBAL DL_GLOBAL
11420 # define LT_DLGLOBAL 0
11424 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11425 find out it does not work in some platform. */
11426 #ifndef LT_DLLAZY_OR_NOW
11428 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11431 # define LT_DLLAZY_OR_NOW DL_LAZY
11434 # define LT_DLLAZY_OR_NOW RTLD_NOW
11437 # define LT_DLLAZY_OR_NOW DL_NOW
11439 # define LT_DLLAZY_OR_NOW 0
11446 /* When -fvisbility=hidden is used, assume the code has been annotated
11447 correspondingly for the symbols needed. */
11448 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11449 int fnord () __attribute__((visibility("default")));
11452 int fnord () { return 42; }
11455 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11456 int status = $lt_dlunknown;
11460 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11463 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11464 else puts (dlerror ());
11466 /* dlclose (self); */
11474 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11475 (eval $ac_link) 2>&5
11477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11478 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11479 (.
/conftest
; exit; ) >&5 2>/dev
/null
11481 case x
$lt_status in
11482 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11483 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11484 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11487 # compilation failed
11488 lt_cv_dlopen_self_static
=no
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11496 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11499 CPPFLAGS
="$save_CPPFLAGS"
11500 LDFLAGS
="$save_LDFLAGS"
11505 case $lt_cv_dlopen_self in
11506 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11507 *) enable_dlopen_self
=unknown
;;
11510 case $lt_cv_dlopen_self_static in
11511 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11512 *) enable_dlopen_self_static
=unknown
;;
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11535 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11536 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
11537 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11538 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11540 $as_echo "yes" >&6; }
11542 # FIXME - insert some real tests, host_os isn't really good enough
11545 if test -n "$STRIP" ; then
11546 striplib
="$STRIP -x"
11547 old_striplib
="$STRIP -S"
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11549 $as_echo "yes" >&6; }
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11552 $as_echo "no" >&6; }
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11557 $as_echo "no" >&6; }
11573 # Report which library types will actually be built
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11575 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11577 $as_echo "$can_build_shared" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11580 $as_echo_n "checking whether to build shared libraries... " >&6; }
11581 test "$can_build_shared" = "no" && enable_shared
=no
11583 # On AIX, shared libraries and static libraries use the same namespace, and
11584 # are all built from PIC.
11587 test "$enable_shared" = yes && enable_static
=no
11588 if test -n "$RANLIB"; then
11589 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11590 postinstall_cmds
='$RANLIB $lib'
11595 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11596 test "$enable_shared" = yes && enable_static
=no
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11601 $as_echo "$enable_shared" >&6; }
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11604 $as_echo_n "checking whether to build static libraries... " >&6; }
11605 # Make sure either enable_shared or enable_static is yes.
11606 test "$enable_shared" = yes || enable_static
=yes
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11608 $as_echo "$enable_static" >&6; }
11615 ac_cpp
='$CPP $CPPFLAGS'
11616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11636 ac_config_commands
="$ac_config_commands libtool"
11641 # Only expand once:
11646 ac_cpp
='$CXXCPP $CPPFLAGS'
11647 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11648 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11649 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11658 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11659 if test -n "$ac_tool_prefix"; then
11660 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11661 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11663 $as_echo_n "checking for $ac_word... " >&6; }
11664 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
11665 $as_echo_n "(cached) " >&6
11667 case $PKG_CONFIG in
11669 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11673 for as_dir
in $PATH
11676 test -z "$as_dir" && as_dir
=.
11677 for ac_exec_ext
in '' $ac_executable_extensions; do
11678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11679 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11690 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
11691 if test -n "$PKG_CONFIG"; then
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11693 $as_echo "$PKG_CONFIG" >&6; }
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11696 $as_echo "no" >&6; }
11701 if test -z "$ac_cv_path_PKG_CONFIG"; then
11702 ac_pt_PKG_CONFIG
=$PKG_CONFIG
11703 # Extract the first word of "pkg-config", so it can be a program name with args.
11704 set dummy pkg
-config; ac_word
=$2
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11706 $as_echo_n "checking for $ac_word... " >&6; }
11707 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
11708 $as_echo_n "(cached) " >&6
11710 case $ac_pt_PKG_CONFIG in
11712 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11716 for as_dir
in $PATH
11719 test -z "$as_dir" && as_dir
=.
11720 for ac_exec_ext
in '' $ac_executable_extensions; do
11721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11722 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11733 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
11734 if test -n "$ac_pt_PKG_CONFIG"; then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11736 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11739 $as_echo "no" >&6; }
11742 if test "x$ac_pt_PKG_CONFIG" = x
; then
11745 case $cross_compiling:$ac_tool_warned in
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11749 ac_tool_warned
=yes ;;
11751 PKG_CONFIG
=$ac_pt_PKG_CONFIG
11754 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11758 if test -n "$PKG_CONFIG"; then
11759 _pkg_min_version
=0.22
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11761 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11762 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11764 $as_echo "yes" >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 $as_echo "no" >&6; }
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
11773 $as_echo_n "checking for GNU make... " >&6; }
11774 if ${_cv_gnu_make_command+:} false
; then :
11775 $as_echo_n "(cached) " >&6
11777 _cv_gnu_make_command
='' ;
11778 for a
in "$MAKE" make gmake gnumake
; do
11779 if test -z "$a" ; then continue ; fi ;
11780 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
11781 _cv_gnu_make_command
=$a ;
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
11788 $as_echo "$_cv_gnu_make_command" >&6; } ;
11789 if test "x$_cv_gnu_make_command" != "x" ; then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
11794 $as_echo "\"Not found\"" >&6; };
11798 GMAKE
=$_cv_gnu_make_command
11800 if test "x$GMAKE" = x
; then :
11801 as_fn_error $?
"You need GNU make" "$LINENO" 5
11804 # Extract the first word of "bash", so it can be a program name with args.
11805 set dummy bash
; ac_word
=$2
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11807 $as_echo_n "checking for $ac_word... " >&6; }
11808 if ${ac_cv_path__BASH+:} false
; then :
11809 $as_echo_n "(cached) " >&6
11813 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
11816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11817 for as_dir
in $PATH
11820 test -z "$as_dir" && as_dir
=.
11821 for ac_exec_ext
in '' $ac_executable_extensions; do
11822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11823 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
11824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11831 test -z "$ac_cv_path__BASH" && ac_cv_path__BASH
="as_fn_error $? "missing
\"bash
\"" "$LINENO" 5"
11835 _BASH
=$ac_cv_path__BASH
11836 if test -n "$_BASH"; then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
11838 $as_echo "$_BASH" >&6; }
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11841 $as_echo "no" >&6; }
11845 # Extract the first word of "git", so it can be a program name with args.
11846 set dummy git
; ac_word
=$2
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11848 $as_echo_n "checking for $ac_word... " >&6; }
11849 if ${ac_cv_path_GIT+:} false
; then :
11850 $as_echo_n "(cached) " >&6
11854 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
11857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11858 for as_dir
in $PATH
11861 test -z "$as_dir" && as_dir
=.
11862 for ac_exec_ext
in '' $ac_executable_extensions; do
11863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11864 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
11865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11875 GIT
=$ac_cv_path_GIT
11876 if test -n "$GIT"; then
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
11878 $as_echo "$GIT" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11881 $as_echo "no" >&6; }
11885 # Extract the first word of "time", so it can be a program name with args.
11886 set dummy
time; ac_word
=$2
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11888 $as_echo_n "checking for $ac_word... " >&6; }
11889 if ${ac_cv_path_TIME+:} false
; then :
11890 $as_echo_n "(cached) " >&6
11894 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
11897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11898 for as_dir
in $PATH
11901 test -z "$as_dir" && as_dir
=.
11902 for ac_exec_ext
in '' $ac_executable_extensions; do
11903 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11904 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
11905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11915 TIME
=$ac_cv_path_TIME
11916 if test -n "$TIME"; then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
11918 $as_echo "$TIME" >&6; }
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11921 $as_echo "no" >&6; }
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
11931 $as_echo_n "checking for bison >= 2.3... " >&6; }
11932 if test -z "$BISON"; then
11933 ac_path_BISON_found
=false
11934 # Loop through the user's path and test for each of PROGNAME-LIST
11935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11936 for as_dir
in $PATH
11939 test -z "$as_dir" && as_dir
=.
11940 for ac_prog
in bison
; do
11941 for ac_exec_ext
in '' $ac_executable_extensions; do
11942 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
11943 as_fn_executable_p
"$ac_path_BISON" || continue
11944 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
11945 if ${version:+false} :; then :
11948 as_awk_strverscmp
='
11949 # Use only awk features that work with 7th edition Unix awk (1978).
11950 # My, what an old awk you have, Mr. Solaris!
11952 while (length(v1) && length(v2)) {
11953 # Set d1 to be the next thing to compare from v1, and likewise for d2.
11954 # Normally this is a single character, but if v1 and v2 contain digits,
11955 # compare them as integers and fractions as strverscmp does.
11956 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
11957 # Split v1 and v2 into their leading digit string components d1 and d2,
11958 # and advance v1 and v2 past the leading digit strings.
11959 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
11960 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
11961 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
11962 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
11965 # Compare two fractions.
11966 while (d1 ~ /^0/ && d2 ~ /^0/) {
11967 d1 = substr(d1, 2); len1--
11968 d2 = substr(d2, 2); len2--
11970 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
11971 # The two components differ in length, and the common prefix
11972 # contains only leading zeros. Consider the longer to be less.
11976 # Otherwise, compare as strings.
11981 # A fraction is less than an integer.
11986 # An integer is greater than a fraction.
11989 # Compare two integers.
11995 # The normal case, without worrying about digits.
11996 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
11997 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
11999 if (d1 < d2) exit 1
12000 if (d1 > d2) exit 2
12002 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
12003 # which mishandles some comparisons of empty strings to integers.
12004 if (length(v2)) exit 1
12005 if (length(v1)) exit 2
12010 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
12015 ac_cv_path_BISON
=$ac_path_BISON ;; #(
12017 ac_cv_path_BISON
=$ac_path_BISON ;; #(
12023 $ac_path_BISON_found && break 3
12028 if test -z "$ac_cv_path_BISON"; then
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12030 $as_echo "no" >&6; }
12033 ac_cv_path_BISON
=$BISON
12039 BISON
=$ac_cv_path_BISON
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
12042 $as_echo "$BISON" >&6; }
12047 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12054 $as_echo "no" >&6; }
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
12063 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
12064 if test -z "$FLEX"; then
12065 ac_path_FLEX_found
=false
12066 # Loop through the user's path and test for each of PROGNAME-LIST
12067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12068 for as_dir
in $PATH
12071 test -z "$as_dir" && as_dir
=.
12072 for ac_prog
in flex
; do
12073 for ac_exec_ext
in '' $ac_executable_extensions; do
12074 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
12075 as_fn_executable_p
"$ac_path_FLEX" || continue
12076 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
12077 if ${version:+false} :; then :
12082 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
12087 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
12089 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
12095 $ac_path_FLEX_found && break 3
12100 if test -z "$ac_cv_path_FLEX"; then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12102 $as_echo "no" >&6; }
12105 ac_cv_path_FLEX
=$FLEX
12111 FLEX
=$ac_cv_path_FLEX
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
12114 $as_echo "$FLEX" >&6; }
12119 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12126 $as_echo "no" >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
12135 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
12136 if test -z "$GPERF"; then
12137 ac_path_GPERF_found
=false
12138 # Loop through the user's path and test for each of PROGNAME-LIST
12139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12140 for as_dir
in $PATH
12143 test -z "$as_dir" && as_dir
=.
12144 for ac_prog
in gperf
; do
12145 for ac_exec_ext
in '' $ac_executable_extensions; do
12146 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
12147 as_fn_executable_p
"$ac_path_GPERF" || continue
12148 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
12149 if ${version:+false} :; then :
12154 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
12159 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
12161 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
12167 $ac_path_GPERF_found && break 3
12172 if test -z "$ac_cv_path_GPERF"; then
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12174 $as_echo "no" >&6; }
12177 ac_cv_path_GPERF
=$GPERF
12183 GPERF
=$ac_cv_path_GPERF
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
12186 $as_echo "$GPERF" >&6; }
12191 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12198 $as_echo "no" >&6; }
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
12207 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
12208 if test -z "$GNUTAR"; then
12209 ac_path_GNUTAR_found
=false
12210 # Loop through the user's path and test for each of PROGNAME-LIST
12211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12212 for as_dir
in $PATH
12215 test -z "$as_dir" && as_dir
=.
12216 for ac_prog
in tar gtar gnutar
; do
12217 for ac_exec_ext
in '' $ac_executable_extensions; do
12218 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
12219 as_fn_executable_p
"$ac_path_GNUTAR" || continue
12220 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
12221 if ${version:+false} :; then :
12226 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
12231 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
12233 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
12239 $ac_path_GNUTAR_found && break 3
12244 if test -z "$ac_cv_path_GNUTAR"; then
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12246 $as_echo "no" >&6; }
12249 ac_cv_path_GNUTAR
=$GNUTAR
12255 GNUTAR
=$ac_cv_path_GNUTAR
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
12258 $as_echo "$GNUTAR" >&6; }
12263 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12270 $as_echo "no" >&6; }
12279 ac_cpp
='$CXXCPP $CPPFLAGS'
12280 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12281 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12282 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12283 if test -z "$CXX"; then
12284 if test -n "$CCC"; then
12287 if test -n "$ac_tool_prefix"; then
12288 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
12290 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12291 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12293 $as_echo_n "checking for $ac_word... " >&6; }
12294 if ${ac_cv_prog_CXX+:} false
; then :
12295 $as_echo_n "(cached) " >&6
12297 if test -n "$CXX"; then
12298 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12301 for as_dir
in $PATH
12304 test -z "$as_dir" && as_dir
=.
12305 for ac_exec_ext
in '' $ac_executable_extensions; do
12306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12307 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12317 CXX
=$ac_cv_prog_CXX
12318 if test -n "$CXX"; then
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12320 $as_echo "$CXX" >&6; }
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12323 $as_echo "no" >&6; }
12327 test -n "$CXX" && break
12330 if test -z "$CXX"; then
12332 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
12334 # Extract the first word of "$ac_prog", so it can be a program name with args.
12335 set dummy
$ac_prog; ac_word
=$2
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12337 $as_echo_n "checking for $ac_word... " >&6; }
12338 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
12339 $as_echo_n "(cached) " >&6
12341 if test -n "$ac_ct_CXX"; then
12342 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12345 for as_dir
in $PATH
12348 test -z "$as_dir" && as_dir
=.
12349 for ac_exec_ext
in '' $ac_executable_extensions; do
12350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12351 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12361 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12362 if test -n "$ac_ct_CXX"; then
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12364 $as_echo "$ac_ct_CXX" >&6; }
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12367 $as_echo "no" >&6; }
12371 test -n "$ac_ct_CXX" && break
12374 if test "x$ac_ct_CXX" = x
; then
12377 case $cross_compiling:$ac_tool_warned in
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12381 ac_tool_warned
=yes ;;
12389 # Provide some information about the compiler.
12390 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12393 for ac_option
in --version -v -V -qversion; do
12394 { { ac_try
="$ac_compiler $ac_option >&5"
12395 case "(($ac_try" in
12396 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
12397 *) ac_try_echo=$ac_try;;
12399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12400 $as_echo "$ac_try_echo"; } >&5
12401 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12403 if test -s conftest.err; then
12405 ... rest of stderr output deleted ...
12406 10q' conftest.err >conftest.er1
12407 cat conftest.er1 >&5
12409 rm -f conftest.er1 conftest.err
12410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12411 test $ac_status = 0; }
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12415 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12416 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12417 $as_echo_n "(cached) " >&6
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12433 if ac_fn_cxx_try_compile "$LINENO"; then :
12434 ac_compiler_gnu=yes
12438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12439 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12443 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12444 if test $ac_compiler_gnu = yes; then
12449 ac_test_CXXFLAGS=${CXXFLAGS+set}
12450 ac_save_CXXFLAGS=$CXXFLAGS
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12452 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12453 if ${ac_cv_prog_cxx_g+:} false; then :
12454 $as_echo_n "(cached) " >&6
12456 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12457 ac_cxx_werror_flag=yes
12458 ac_cv_prog_cxx_g=no
12460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12461 /* end confdefs.h. */
12471 if ac_fn_cxx_try_compile "$LINENO"; then :
12472 ac_cv_prog_cxx_g=yes
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12486 if ac_fn_cxx_try_compile "$LINENO"; then :
12489 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12502 if ac_fn_cxx_try_compile "$LINENO"; then :
12503 ac_cv_prog_cxx_g=yes
12505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12510 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12513 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12514 if test "$ac_test_CXXFLAGS" = set; then
12515 CXXFLAGS=$ac_save_CXXFLAGS
12516 elif test $ac_cv_prog_cxx_g = yes; then
12517 if test "$GXX" = yes; then
12523 if test "$GXX" = yes; then
12530 ac_cpp='$CXXCPP $CPPFLAGS'
12531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12535 depcc="$CXX" am_compiler_list=
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12538 $as_echo_n "checking dependency style of $depcc... " >&6; }
12539 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12540 $as_echo_n "(cached) " >&6
12542 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12543 # We make a subdir and do the tests there. Otherwise we can end up
12544 # making bogus files that we don't know about and never remove. For
12545 # instance it was reported that on HP-UX the gcc test will end up
12546 # making a dummy file named 'D' -- because '-MD' means "put the output
12548 rm -rf conftest.dir
12550 # Copy depcomp to subdir because otherwise we won't find it if we're
12551 # using a relative directory.
12552 cp "$am_depcomp" conftest.dir
12554 # We will build objects and dependencies in a subdirectory because
12555 # it helps to detect inapplicable dependency modes. For instance
12556 # both Tru64's cc and ICC support -MD to output dependencies as a
12557 # side effect of compilation, but ICC will put the dependencies in
12558 # the current directory while Tru64 will put them in the object
12562 am_cv_CXX_dependencies_compiler_type=none
12563 if test "$am_compiler_list" = ""; then
12564 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12566 am__universal=false
12567 case " $depcc " in #(
12568 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12571 for depmode in $am_compiler_list; do
12572 # Setup a source with many dependencies, because some compilers
12573 # like to wrap large dependency lists on column 80 (with \), and
12574 # we should not choose a depcomp mode which is confused by this.
12576 # We need to recreate these files for each test, as the compiler may
12577 # overwrite some of them when testing with obscure command lines.
12578 # This happens at least with the AIX C compiler.
12580 for i in 1 2 3 4 5 6; do
12581 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12582 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12583 # Solaris 10 /bin/sh.
12584 echo '/* dummy */' > sub/conftst$i.h
12586 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12588 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12589 # mode. It turns out that the SunPro C++ compiler does not properly
12590 # handle '-M -o', and we need to detect this. Also, some Intel
12591 # versions had trouble with output in subdirs.
12592 am__obj=sub/conftest.${OBJEXT-o}
12593 am__minus_obj="-o $am__obj"
12596 # This depmode causes a compiler race in universal mode.
12597 test "$am__universal" = false || continue
12600 # After this tag, mechanisms are not by side-effect, so they'll
12601 # only be used when explicitly requested.
12602 if test "x$enable_dependency_tracking" = xyes; then
12608 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12609 # This compiler won't grok '-c -o', but also, the minuso test has
12610 # not run yet. These depmodes are late enough in the game, and
12611 # so weak that their functioning should not be impacted.
12612 am__obj=conftest.${OBJEXT-o}
12617 if depmode=$depmode \
12618 source=sub/conftest.c object=$am__obj \
12619 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12620 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12621 >/dev/null 2>conftest.err &&
12622 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12623 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12624 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12625 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12626 # icc doesn't choke on unknown options, it will just issue warnings
12627 # or remarks (even with -Werror). So we grep stderr for any message
12628 # that says an option was ignored or not supported.
12629 # When given -MP, icc 7.0 and 7.1 complain thusly:
12630 # icc: Command line warning: ignoring option '-M'; no argument required
12631 # The diagnosis changed in icc 8.0:
12632 # icc: Command line remark: option '-MP' not supported
12633 if (grep 'ignoring option' conftest.err ||
12634 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12635 am_cv_CXX_dependencies_compiler_type=$depmode
12642 rm -rf conftest.dir
12644 am_cv_CXX_dependencies_compiler_type=none
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12649 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12650 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12653 test "x$enable_dependency_tracking" != xno \
12654 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12655 am__fastdepCXX_TRUE=
12656 am__fastdepCXX_FALSE='#'
12658 am__fastdepCXX_TRUE='#'
12659 am__fastdepCXX_FALSE=
12665 func_stripname_cnf ()
12668 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12669 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12671 } # func_stripname_cnf
12673 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12674 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
12675 (test "X$CXX" != "Xg++"))) ; then
12677 ac_cpp='$CXXCPP $CPPFLAGS'
12678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12682 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12683 if test -z "$CXXCPP"; then
12684 if ${ac_cv_prog_CXXCPP+:} false; then :
12685 $as_echo_n "(cached) " >&6
12687 # Double quotes because CXXCPP needs to be expanded
12688 for CXXCPP in "$CXX -E" "/lib/cpp"
12690 ac_preproc_ok=false
12691 for ac_cxx_preproc_warn_flag in '' yes
12693 # Use a header file that comes with gcc, so configuring glibc
12694 # with a fresh cross-compiler works.
12695 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12696 # <limits.h> exists even on freestanding compilers.
12697 # On the NeXT, cc -E runs the code through the compiler's parser,
12698 # not just through cpp. "Syntax error" is here to catch this case.
12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12702 # include <limits.h>
12704 # include <assert.h>
12708 if ac_fn_cxx_try_cpp "$LINENO"; then :
12711 # Broken: fails on valid input.
12714 rm -f conftest.err conftest.i conftest.$ac_ext
12716 # OK, works on sane cases. Now check whether nonexistent headers
12717 # can be detected and how.
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12720 #include <ac_nonexistent.h>
12722 if ac_fn_cxx_try_cpp "$LINENO"; then :
12723 # Broken: success on invalid input.
12726 # Passes both tests.
12730 rm -f conftest.err conftest.i conftest.$ac_ext
12733 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12734 rm -f conftest.i conftest.err conftest.
$ac_ext
12735 if $ac_preproc_ok; then :
12740 ac_cv_prog_CXXCPP
=$CXXCPP
12743 CXXCPP
=$ac_cv_prog_CXXCPP
12745 ac_cv_prog_CXXCPP
=$CXXCPP
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12748 $as_echo "$CXXCPP" >&6; }
12749 ac_preproc_ok
=false
12750 for ac_cxx_preproc_warn_flag
in '' yes
12752 # Use a header file that comes with gcc, so configuring glibc
12753 # with a fresh cross-compiler works.
12754 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12755 # <limits.h> exists even on freestanding compilers.
12756 # On the NeXT, cc -E runs the code through the compiler's parser,
12757 # not just through cpp. "Syntax error" is here to catch this case.
12758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12761 # include <limits.h>
12763 # include <assert.h>
12767 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12770 # Broken: fails on valid input.
12773 rm -f conftest.err conftest.i conftest.
$ac_ext
12775 # OK, works on sane cases. Now check whether nonexistent headers
12776 # can be detected and how.
12777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12779 #include <ac_nonexistent.h>
12781 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12782 # Broken: success on invalid input.
12785 # Passes both tests.
12789 rm -f conftest.err conftest.i conftest.
$ac_ext
12792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12793 rm -f conftest.i conftest.err conftest.
$ac_ext
12794 if $ac_preproc_ok; then :
12797 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12799 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12800 See \`config.log' for more details" "$LINENO" 5; }
12804 ac_cpp
='$CXXCPP $CPPFLAGS'
12805 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12806 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12810 _lt_caught_CXX_error
=yes
12814 ac_cpp
='$CXXCPP $CPPFLAGS'
12815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12819 archive_cmds_need_lc_CXX
=no
12820 allow_undefined_flag_CXX
=
12821 always_export_symbols_CXX
=no
12822 archive_expsym_cmds_CXX
=
12823 compiler_needs_object_CXX
=no
12824 export_dynamic_flag_spec_CXX
=
12825 hardcode_direct_CXX
=no
12826 hardcode_direct_absolute_CXX
=no
12827 hardcode_libdir_flag_spec_CXX
=
12828 hardcode_libdir_separator_CXX
=
12829 hardcode_minus_L_CXX
=no
12830 hardcode_shlibpath_var_CXX
=unsupported
12831 hardcode_automatic_CXX
=no
12832 inherit_rpath_CXX
=no
12834 module_expsym_cmds_CXX
=
12835 link_all_deplibs_CXX
=unknown
12836 old_archive_cmds_CXX
=$old_archive_cmds
12837 reload_flag_CXX
=$reload_flag
12838 reload_cmds_CXX
=$reload_cmds
12839 no_undefined_flag_CXX
=
12840 whole_archive_flag_spec_CXX
=
12841 enable_shared_with_static_runtimes_CXX
=no
12843 # Source file extension for C++ test sources.
12846 # Object file extension for compiled C++ test sources.
12850 # No sense in running all these tests if we already determined that
12851 # the CXX compiler isn't working. Some variables (like enable_shared)
12852 # are currently assumed to apply to all compilers on this platform,
12853 # and will be corrupted by setting them based on a non-working compiler.
12854 if test "$_lt_caught_CXX_error" != yes; then
12855 # Code to be used in simple compile tests
12856 lt_simple_compile_test_code
="int some_variable = 0;"
12858 # Code to be used in simple link tests
12859 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12861 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12868 # If no C compiler was specified, use CC.
12871 # If no C compiler flags were specified, use CFLAGS.
12872 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12874 # Allow CC to be a program name with arguments.
12878 # save warnings/boilerplate of simple test code
12879 ac_outfile
=conftest.
$ac_objext
12880 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12881 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12882 _lt_compiler_boilerplate
=`cat conftest.err`
12885 ac_outfile
=conftest.
$ac_objext
12886 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12887 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12888 _lt_linker_boilerplate
=`cat conftest.err`
12892 # Allow CC to be a program name with arguments.
12894 lt_save_CFLAGS
=$CFLAGS
12898 lt_save_with_gnu_ld
=$with_gnu_ld
12899 lt_save_path_LD
=$lt_cv_path_LD
12900 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12901 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12903 $as_unset lt_cv_prog_gnu_ld
12905 if test -n "${lt_cv_path_LDCXX+set}"; then
12906 lt_cv_path_LD
=$lt_cv_path_LDCXX
12908 $as_unset lt_cv_path_LD
12910 test -z "${LDCXX+set}" || LD
=$LDCXX
12915 for cc_temp
in $compiler""; do
12917 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12918 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12923 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12926 if test -n "$compiler"; then
12927 # We don't want -fno-exception when compiling C++ code, so set the
12928 # no_builtin_flag separately
12929 if test "$GXX" = yes; then
12930 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12932 lt_prog_compiler_no_builtin_flag_CXX
=
12935 if test "$GXX" = yes; then
12936 # Set up default GNU C++ configuration
12940 # Check whether --with-gnu-ld was given.
12941 if test "${with_gnu_ld+set}" = set; then :
12942 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12948 if test "$GCC" = yes; then
12949 # Check if gcc -print-prog-name=ld gives a path.
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12951 $as_echo_n "checking for ld used by $CC... " >&6; }
12954 # gcc leaves a trailing carriage return which upsets mingw
12955 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12957 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12960 # Accept absolute paths.
12962 re_direlt
='/[^/][^/]*/\.\./'
12963 # Canonicalize the pathname of ld
12964 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12965 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12966 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12968 test -z "$LD" && LD
="$ac_prog"
12971 # If it fails, then pretend we aren't using GCC.
12975 # If it is relative, then search for the first ld in PATH.
12976 with_gnu_ld
=unknown
12979 elif test "$with_gnu_ld" = yes; then
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12981 $as_echo_n "checking for GNU ld... " >&6; }
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12984 $as_echo_n "checking for non-GNU ld... " >&6; }
12986 if ${lt_cv_path_LD+:} false
; then :
12987 $as_echo_n "(cached) " >&6
12989 if test -z "$LD"; then
12990 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12991 for ac_dir
in $PATH; do
12993 test -z "$ac_dir" && ac_dir
=.
12994 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12995 lt_cv_path_LD
="$ac_dir/$ac_prog"
12996 # Check to see if the program is GNU ld. I'd rather use --version,
12997 # but apparently some variants of GNU ld only accept -v.
12998 # Break only if it was the GNU/non-GNU ld that we prefer.
12999 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13000 *GNU
* | *'with BFD'*)
13001 test "$with_gnu_ld" != no
&& break
13004 test "$with_gnu_ld" != yes && break
13011 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13015 LD
="$lt_cv_path_LD"
13016 if test -n "$LD"; then
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13018 $as_echo "$LD" >&6; }
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13021 $as_echo "no" >&6; }
13023 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13025 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13026 if ${lt_cv_prog_gnu_ld+:} false
; then :
13027 $as_echo_n "(cached) " >&6
13029 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13030 case `$LD -v 2>&1 </dev/null` in
13031 *GNU
* | *'with BFD'*)
13032 lt_cv_prog_gnu_ld
=yes
13035 lt_cv_prog_gnu_ld
=no
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13040 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13041 with_gnu_ld
=$lt_cv_prog_gnu_ld
13049 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13050 # archiving commands below assume that GNU ld is being used.
13051 if test "$with_gnu_ld" = yes; then
13052 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13053 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'
13055 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13056 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13058 # If archive_cmds runs LD, not CC, wlarc should be empty
13059 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13060 # investigate it a little bit more. (MM)
13063 # ancient GNU ld didn't support --whole-archive et. al.
13064 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13065 $GREP 'no-whole-archive' > /dev
/null
; then
13066 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13068 whole_archive_flag_spec_CXX
=
13074 # A generic and very simple default shared library creation
13075 # command for GNU C++ for the case where it uses the native
13076 # linker, instead of GNU ld. If possible, this setting should
13077 # overridden to take advantage of the native linker features on
13078 # the platform it is being used on.
13079 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13082 # Commands to make compiler produce verbose output that lists
13083 # what "hidden" libraries, object files and flags are used when
13084 # linking a shared library.
13085 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13093 # PORTME: fill in a description of your system's C++ link characteristics
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13095 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13099 # FIXME: insert proper C++ library support
13103 if test "$host_cpu" = ia64
; then
13104 # On IA64, the linker does run time linking by default, so we don't
13105 # have to do anything special.
13106 aix_use_runtimelinking
=no
13107 exp_sym_flag
='-Bexport'
13110 aix_use_runtimelinking
=no
13112 # Test if we are trying to use run time linking or normal
13113 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13114 # need to do runtime linking.
13115 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13116 for ld_flag
in $LDFLAGS; do
13119 aix_use_runtimelinking
=yes
13127 exp_sym_flag
='-bexport'
13128 no_entry_flag
='-bnoentry'
13131 # When large executables or shared objects are built, AIX ld can
13132 # have problems creating the table of contents. If linking a library
13133 # or program results in "error TOC overflow" add -mminimal-toc to
13134 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13135 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13137 archive_cmds_CXX
=''
13138 hardcode_direct_CXX
=yes
13139 hardcode_direct_absolute_CXX
=yes
13140 hardcode_libdir_separator_CXX
=':'
13141 link_all_deplibs_CXX
=yes
13142 file_list_spec_CXX
='${wl}-f,'
13144 if test "$GXX" = yes; then
13145 case $host_os in aix4.
[012]|aix4.
[012].
*)
13146 # We only want to do this on AIX 4.2 and lower, the check
13147 # below for broken collect2 doesn't work under 4.3+
13148 collect2name
=`${CC} -print-prog-name=collect2`
13149 if test -f "$collect2name" &&
13150 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13152 # We have reworked collect2
13155 # We have old collect2
13156 hardcode_direct_CXX
=unsupported
13157 # It fails to find uninstalled libraries when the uninstalled
13158 # path is not listed in the libpath. Setting hardcode_minus_L
13159 # to unsupported forces relinking
13160 hardcode_minus_L_CXX
=yes
13161 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13162 hardcode_libdir_separator_CXX
=
13165 shared_flag
='-shared'
13166 if test "$aix_use_runtimelinking" = yes; then
13167 shared_flag
="$shared_flag "'${wl}-G'
13171 if test "$host_cpu" = ia64
; then
13172 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13173 # chokes on -Wl,-G. The following line is correct:
13176 if test "$aix_use_runtimelinking" = yes; then
13177 shared_flag
='${wl}-G'
13179 shared_flag
='${wl}-bM:SRE'
13184 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13185 # It seems that -bexpall does not export symbols beginning with
13186 # underscore (_), so it is better to generate a list of symbols to
13188 always_export_symbols_CXX
=yes
13189 if test "$aix_use_runtimelinking" = yes; then
13190 # Warning - without using the other runtime loading flags (-brtl),
13191 # -berok will link without error, but may produce a broken library.
13192 allow_undefined_flag_CXX
='-berok'
13193 # Determine the default libpath from the value encoded in an empty
13195 if test "${lt_cv_aix_libpath+set}" = set; then
13196 aix_libpath
=$lt_cv_aix_libpath
13198 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13199 $as_echo_n "(cached) " >&6
13201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13212 if ac_fn_cxx_try_link
"$LINENO"; then :
13214 lt_aix_libpath_sed
='
13215 /Import File Strings/,/^$/ {
13217 s/^0 *\([^ ]*\) *$/\1/
13221 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13222 # Check for a 64-bit object if we didn't find anything.
13223 if test -z "$lt_cv_aix_libpath__CXX"; then
13224 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13227 rm -f core conftest.err conftest.
$ac_objext \
13228 conftest
$ac_exeext conftest.
$ac_ext
13229 if test -z "$lt_cv_aix_libpath__CXX"; then
13230 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13235 aix_libpath
=$lt_cv_aix_libpath__CXX
13238 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13240 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"
13242 if test "$host_cpu" = ia64
; then
13243 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13244 allow_undefined_flag_CXX
="-z nodefs"
13245 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"
13247 # Determine the default libpath from the value encoded in an
13248 # empty executable.
13249 if test "${lt_cv_aix_libpath+set}" = set; then
13250 aix_libpath
=$lt_cv_aix_libpath
13252 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13253 $as_echo_n "(cached) " >&6
13255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13256 /* end confdefs.h. */
13266 if ac_fn_cxx_try_link
"$LINENO"; then :
13268 lt_aix_libpath_sed
='
13269 /Import File Strings/,/^$/ {
13271 s/^0 *\([^ ]*\) *$/\1/
13275 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13276 # Check for a 64-bit object if we didn't find anything.
13277 if test -z "$lt_cv_aix_libpath__CXX"; then
13278 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13281 rm -f core conftest.err conftest.
$ac_objext \
13282 conftest
$ac_exeext conftest.
$ac_ext
13283 if test -z "$lt_cv_aix_libpath__CXX"; then
13284 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13289 aix_libpath
=$lt_cv_aix_libpath__CXX
13292 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13293 # Warning - without using the other run time loading flags,
13294 # -berok will link without error, but may produce a broken library.
13295 no_undefined_flag_CXX
=' ${wl}-bernotok'
13296 allow_undefined_flag_CXX
=' ${wl}-berok'
13297 if test "$with_gnu_ld" = yes; then
13298 # We only use this code for GNU lds that support --whole-archive.
13299 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13301 # Exported symbols can be pulled into shared objects from archives
13302 whole_archive_flag_spec_CXX
='$convenience'
13304 archive_cmds_need_lc_CXX
=yes
13305 # This is similar to how AIX traditionally builds its shared
13307 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'
13313 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13314 allow_undefined_flag_CXX
=unsupported
13315 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13316 # support --undefined. This deserves some investigation. FIXME
13317 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13324 case $cc_basename in
13326 # FIXME: insert proper C++ library support
13332 cygwin
* | mingw
* | pw32
* | cegcc
*)
13333 case $GXX,$cc_basename in
13336 # hardcode_libdir_flag_spec is actually meaningless, as there is
13337 # no search path for DLLs.
13338 hardcode_libdir_flag_spec_CXX
=' '
13339 allow_undefined_flag_CXX
=unsupported
13340 always_export_symbols_CXX
=yes
13341 file_list_spec_CXX
='@'
13342 # Tell ltmain to make .lib files, not .a files.
13344 # Tell ltmain to make .dll files, not .so files.
13346 # FIXME: Setting linknames here is a bad hack.
13347 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13348 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13349 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13351 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13353 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13355 # The linker will not automatically build a static lib if we build a DLL.
13356 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13357 enable_shared_with_static_runtimes_CXX
=yes
13359 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13360 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13361 lt_tool_outputfile="@TOOL_OUTPUT@"~
13362 case $lt_outputfile in
13365 lt_outputfile="$lt_outputfile.exe"
13366 lt_tool_outputfile="$lt_tool_outputfile.exe"
13369 func_to_tool_file "$lt_outputfile"~
13370 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13371 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13372 $RM "$lt_outputfile.manifest";
13377 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13378 # as there is no search path for DLLs.
13379 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13380 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13381 allow_undefined_flag_CXX
=unsupported
13382 always_export_symbols_CXX
=no
13383 enable_shared_with_static_runtimes_CXX
=yes
13385 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13386 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'
13387 # If the export-symbols file already is a .def file (1st line
13388 # is EXPORTS), use it as is; otherwise, prepend...
13389 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13390 cp $export_symbols $output_objdir/$soname.def;
13392 echo EXPORTS > $output_objdir/$soname.def;
13393 cat $export_symbols >> $output_objdir/$soname.def;
13395 $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'
13402 darwin
* | rhapsody
*)
13405 archive_cmds_need_lc_CXX
=no
13406 hardcode_direct_CXX
=no
13407 hardcode_automatic_CXX
=yes
13408 hardcode_shlibpath_var_CXX
=unsupported
13409 if test "$lt_cv_ld_force_load" = "yes"; then
13410 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\"`'
13413 whole_archive_flag_spec_CXX
=''
13415 link_all_deplibs_CXX
=yes
13416 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13417 case $cc_basename in
13418 ifort
*) _lt_dar_can_shared
=yes ;;
13419 *) _lt_dar_can_shared
=$GCC ;;
13421 if test "$_lt_dar_can_shared" = "yes"; then
13422 output_verbose_link_cmd
=func_echo_all
13423 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}"
13424 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13425 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}"
13426 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}"
13427 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13428 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}"
13429 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}"
13439 case $cc_basename in
13441 # FIXME: insert proper C++ library support
13445 # Green Hills C++ Compiler
13446 # FIXME: insert proper C++ library support
13450 # FIXME: insert proper C++ library support
13457 # C++ shared libraries reported to be fairly broken before
13463 archive_cmds_need_lc_CXX
=no
13466 freebsd
* | dragonfly
*)
13467 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13476 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13477 link_all_deplibs_CXX
=yes
13481 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13482 hardcode_libdir_separator_CXX
=:
13483 export_dynamic_flag_spec_CXX
='${wl}-E'
13484 hardcode_direct_CXX
=yes
13485 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13486 # but as the default
13487 # location of the library.
13489 case $cc_basename in
13491 # FIXME: insert proper C++ library support
13495 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'
13496 # Commands to make compiler produce verbose output that lists
13497 # what "hidden" libraries, object files and flags are used when
13498 # linking a shared library.
13500 # There doesn't appear to be a way to prevent this compiler from
13501 # explicitly linking system object files so we need to strip them
13502 # from the output so that they don't get included in the library
13504 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"'
13507 if test "$GXX" = yes; then
13508 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'
13510 # FIXME: insert proper C++ library support
13518 if test $with_gnu_ld = no
; then
13519 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13520 hardcode_libdir_separator_CXX
=:
13526 export_dynamic_flag_spec_CXX
='${wl}-E'
13532 hardcode_direct_CXX
=no
13533 hardcode_shlibpath_var_CXX
=no
13536 hardcode_direct_CXX
=yes
13537 hardcode_direct_absolute_CXX
=yes
13538 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13539 # but as the default
13540 # location of the library.
13544 case $cc_basename in
13546 # FIXME: insert proper C++ library support
13552 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13555 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13558 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13561 # Commands to make compiler produce verbose output that lists
13562 # what "hidden" libraries, object files and flags are used when
13563 # linking a shared library.
13565 # There doesn't appear to be a way to prevent this compiler from
13566 # explicitly linking system object files so we need to strip them
13567 # from the output so that they don't get included in the library
13569 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"'
13572 if test "$GXX" = yes; then
13573 if test $with_gnu_ld = no
; then
13576 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13579 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13582 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'
13587 # FIXME: insert proper C++ library support
13595 hardcode_direct_CXX
=no
13596 hardcode_shlibpath_var_CXX
=no
13597 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13598 export_dynamic_flag_spec_CXX
='${wl}-E'
13599 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13600 # Instead, shared libraries are loaded at an image base (0x10000000 by
13601 # default) and relocated if they conflict, which is a slow very memory
13602 # consuming and fragmenting process. To avoid this, we pick a random,
13603 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13604 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13605 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'
13606 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'
13609 case $cc_basename in
13612 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'
13614 # Archives containing C++ object files must be created using
13615 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13616 # necessary to make sure instantiated templates are included
13618 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13621 if test "$GXX" = yes; then
13622 if test "$with_gnu_ld" = no
; then
13623 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'
13625 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'
13628 link_all_deplibs_CXX
=yes
13631 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13632 hardcode_libdir_separator_CXX
=:
13633 inherit_rpath_CXX
=yes
13636 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13637 case $cc_basename in
13639 # Kuck and Associates, Inc. (KAI) C++ Compiler
13641 # KCC will only create a shared library if the output file
13642 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13643 # to its proper name (with version) after linking.
13644 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'
13645 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'
13646 # Commands to make compiler produce verbose output that lists
13647 # what "hidden" libraries, object files and flags are used when
13648 # linking a shared library.
13650 # There doesn't appear to be a way to prevent this compiler from
13651 # explicitly linking system object files so we need to strip them
13652 # from the output so that they don't get included in the library
13654 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"'
13656 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13657 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13659 # Archives containing C++ object files must be created using
13660 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13661 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13666 # version 8.0 and above of icpc choke on multiply defined symbols
13667 # if we add $predep_objects and $postdep_objects, however 7.1 and
13668 # earlier do not add the objects themselves.
13669 case `$CC -V 2>&1` in
13671 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13672 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'
13674 *) # Version 8.0 or newer
13677 ia64
*) tmp_idyn
=' -i_dynamic';;
13679 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13680 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'
13683 archive_cmds_need_lc_CXX
=no
13684 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13685 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13686 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13689 # Portland Group C++ compiler
13691 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13692 prelink_cmds_CXX
='tpldir=Template.dir~
13694 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13695 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13696 old_archive_cmds_CXX
='tpldir=Template.dir~
13698 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13699 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13701 archive_cmds_CXX
='tpldir=Template.dir~
13703 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13704 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13705 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13707 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13708 $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'
13710 *) # Version 6 and above use weak symbols
13711 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13712 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'
13716 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13717 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13718 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'
13722 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13723 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'
13725 runpath_var
=LD_RUN_PATH
13726 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13727 hardcode_libdir_separator_CXX
=:
13729 # Commands to make compiler produce verbose output that lists
13730 # what "hidden" libraries, object files and flags are used when
13731 # linking a shared library.
13733 # There doesn't appear to be a way to prevent this compiler from
13734 # explicitly linking system object files so we need to strip them
13735 # from the output so that they don't get included in the library
13737 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'
13739 xl
* | mpixl
* | bgxl
*)
13740 # IBM XL 8.0 on PPC, with GNU ld
13741 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13742 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13743 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13744 if test "x$supports_anon_versioning" = xyes
; then
13745 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13746 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13747 echo "local: *; };" >> $output_objdir/$libname.ver~
13748 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13752 case `$CC -V 2>&1 | sed 5q` in
13755 no_undefined_flag_CXX
=' -zdefs'
13756 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13757 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'
13758 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13759 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'
13760 compiler_needs_object_CXX
=yes
13762 # Not sure whether something based on
13763 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13765 output_verbose_link_cmd
='func_echo_all'
13767 # Archives containing C++ object files must be created using
13768 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13769 # necessary to make sure instantiated templates are included
13771 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13779 # FIXME: insert proper C++ library support
13784 # FIXME: insert proper C++ library support
13789 case $cc_basename in
13791 # FIXME: insert proper C++ library support
13795 # FIXME: insert proper C++ library support
13802 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13803 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13805 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13806 hardcode_direct_CXX
=yes
13807 hardcode_shlibpath_var_CXX
=no
13809 # Workaround some broken pre-1.5 toolchains
13810 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13818 # C++ shared libraries are fairly broken
13823 if test -f /usr
/libexec
/ld.so
; then
13824 hardcode_direct_CXX
=yes
13825 hardcode_shlibpath_var_CXX
=no
13826 hardcode_direct_absolute_CXX
=yes
13827 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13828 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13829 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13830 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13831 export_dynamic_flag_spec_CXX
='${wl}-E'
13832 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13834 output_verbose_link_cmd
=func_echo_all
13840 osf3
* | osf4
* | osf5
*)
13841 case $cc_basename in
13843 # Kuck and Associates, Inc. (KAI) C++ Compiler
13845 # KCC will only create a shared library if the output file
13846 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13847 # to its proper name (with version) after linking.
13848 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'
13850 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13851 hardcode_libdir_separator_CXX
=:
13853 # Archives containing C++ object files must be created using
13854 # the KAI C++ compiler.
13856 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13857 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13861 # Rational C++ 2.4.1
13862 # FIXME: insert proper C++ library support
13868 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13869 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'
13870 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13873 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13874 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'
13875 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13876 echo "-hidden">> $lib.exp~
13877 $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~
13879 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13883 hardcode_libdir_separator_CXX
=:
13885 # Commands to make compiler produce verbose output that lists
13886 # what "hidden" libraries, object files and flags are used when
13887 # linking a shared library.
13889 # There doesn't appear to be a way to prevent this compiler from
13890 # explicitly linking system object files so we need to strip them
13891 # from the output so that they don't get included in the library
13893 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"'
13896 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13897 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13900 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'
13903 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'
13907 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13908 hardcode_libdir_separator_CXX
=:
13910 # Commands to make compiler produce verbose output that lists
13911 # what "hidden" libraries, object files and flags are used when
13912 # linking a shared library.
13913 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13916 # FIXME: insert proper C++ library support
13924 # FIXME: insert proper C++ library support
13929 case $cc_basename in
13932 # FIXME: insert proper C++ library support
13937 # FIXME: insert proper C++ library support
13941 # FIXME: insert proper C++ library support
13948 case $cc_basename in
13950 # Sun C++ 4.2, 5.x and Centerline C++
13951 archive_cmds_need_lc_CXX
=yes
13952 no_undefined_flag_CXX
=' -zdefs'
13953 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13954 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13955 $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'
13957 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13958 hardcode_shlibpath_var_CXX
=no
13960 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13962 # The compiler driver will combine and reorder linker options,
13963 # but understands `-z linker_flag'.
13964 # Supported since Solaris 2.6 (maybe 2.5.1?)
13965 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13968 link_all_deplibs_CXX
=yes
13970 output_verbose_link_cmd
='func_echo_all'
13972 # Archives containing C++ object files must be created using
13973 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13974 # necessary to make sure instantiated templates are included
13976 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13979 # Green Hills C++ Compiler
13980 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13982 # The C++ compiler must be used to create the archive.
13983 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13986 # GNU C++ compiler with Solaris linker
13987 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13988 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13989 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13990 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13991 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13992 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13994 # Commands to make compiler produce verbose output that lists
13995 # what "hidden" libraries, object files and flags are used when
13996 # linking a shared library.
13997 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13999 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14001 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14002 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14003 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14005 # Commands to make compiler produce verbose output that lists
14006 # what "hidden" libraries, object files and flags are used when
14007 # linking a shared library.
14008 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14011 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14013 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14015 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14023 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14024 no_undefined_flag_CXX
='${wl}-z,text'
14025 archive_cmds_need_lc_CXX
=no
14026 hardcode_shlibpath_var_CXX
=no
14027 runpath_var
='LD_RUN_PATH'
14029 case $cc_basename in
14031 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14032 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14035 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14036 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14041 sysv5
* | sco3.2v5
* | sco5v6
*)
14042 # Note: We can NOT use -z defs as we might desire, because we do not
14043 # link with -lc, and that would cause any symbols used from libc to
14044 # always be unresolved, which means just about no library would
14045 # ever link correctly. If we're not using GNU ld we use -z text
14046 # though, which does catch some bad symbols but isn't as heavy-handed
14048 no_undefined_flag_CXX
='${wl}-z,text'
14049 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14050 archive_cmds_need_lc_CXX
=no
14051 hardcode_shlibpath_var_CXX
=no
14052 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14053 hardcode_libdir_separator_CXX
=':'
14054 link_all_deplibs_CXX
=yes
14055 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14056 runpath_var
='LD_RUN_PATH'
14058 case $cc_basename in
14060 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14061 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14062 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14063 '"$old_archive_cmds_CXX"
14064 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14065 '"$reload_cmds_CXX"
14068 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14069 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14075 case $cc_basename in
14077 # NonStop-UX NCC 3.20
14078 # FIXME: insert proper C++ library support
14082 # FIXME: insert proper C++ library support
14089 # FIXME: insert proper C++ library support
14094 # FIXME: insert proper C++ library support
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14100 $as_echo "$ld_shlibs_CXX" >&6; }
14101 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14107 ## There is no encapsulation within the following macros, do not change
14108 ## the running order or otherwise move them around unless you know exactly
14109 ## what you are doing...
14110 # Dependencies to place before and after the object being linked:
14111 predep_objects_CXX
=
14112 postdep_objects_CXX
=
14115 compiler_lib_search_path_CXX
=
14117 cat > conftest.
$ac_ext <<_LT_EOF
14121 Foo (void) { a = 0; }
14128 _lt_libdeps_save_CFLAGS
=$CFLAGS
14129 case "$CC $CFLAGS " in #(
14130 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14131 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14132 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14135 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14136 (eval $ac_compile) 2>&5
14138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14139 test $ac_status = 0; }; then
14140 # Parse the compiler output and extract the necessary
14141 # objects, libraries and library flags.
14143 # Sentinel used to keep track of whether or not we are before
14144 # the conftest object file.
14145 pre_test_object_deps_done
=no
14147 for p
in `eval "$output_verbose_link_cmd"`; do
14148 case ${prev}${p} in
14151 # Some compilers place space between "-{L,R}" and the path.
14152 # Remove the space.
14153 if test $p = "-L" ||
14154 test $p = "-R"; then
14159 # Expand the sysroot to ease extracting the directories later.
14160 if test -z "$prev"; then
14162 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14163 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14164 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14168 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14170 if test "$pre_test_object_deps_done" = no
; then
14173 # Internal compiler library paths should come after those
14174 # provided the user. The postdeps already come after the
14175 # user supplied libs so there is no need to process them.
14176 if test -z "$compiler_lib_search_path_CXX"; then
14177 compiler_lib_search_path_CXX
="${prev}${p}"
14179 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14182 # The "-l" case would never come before the object being
14183 # linked, so don't bother handling this case.
14186 if test -z "$postdeps_CXX"; then
14187 postdeps_CXX
="${prev}${p}"
14189 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14195 *.lto.
$objext) ;; # Ignore GCC LTO objects
14197 # This assumes that the test object file only shows up
14198 # once in the compiler output.
14199 if test "$p" = "conftest.$objext"; then
14200 pre_test_object_deps_done
=yes
14204 if test "$pre_test_object_deps_done" = no
; then
14205 if test -z "$predep_objects_CXX"; then
14206 predep_objects_CXX
="$p"
14208 predep_objects_CXX
="$predep_objects_CXX $p"
14211 if test -z "$postdep_objects_CXX"; then
14212 postdep_objects_CXX
="$p"
14214 postdep_objects_CXX
="$postdep_objects_CXX $p"
14219 *) ;; # Ignore the rest.
14227 echo "libtool.m4: error: problem compiling CXX test program"
14230 $RM -f confest.
$objext
14231 CFLAGS
=$_lt_libdeps_save_CFLAGS
14233 # PORTME: override above test on systems where it is broken
14236 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14237 # hack all around it, let's just trust "g++" to DTRT.
14238 predep_objects_CXX
=
14239 postdep_objects_CXX
=
14244 case `$CC -V 2>&1 | sed 5q` in
14248 # The more standards-conforming stlport4 library is
14249 # incompatible with the Cstd library. Avoid specifying
14250 # it if it's in CXXFLAGS. Ignore libCrun as
14251 # -library=stlport4 depends on it.
14252 case " $CXX $CXXFLAGS " in
14253 *" -library=stlport4 "*)
14254 solaris_use_stlport4
=yes
14258 if test "$solaris_use_stlport4" != yes; then
14259 postdeps_CXX
='-library=Cstd -library=Crun'
14266 case $cc_basename in
14268 # The more standards-conforming stlport4 library is
14269 # incompatible with the Cstd library. Avoid specifying
14270 # it if it's in CXXFLAGS. Ignore libCrun as
14271 # -library=stlport4 depends on it.
14272 case " $CXX $CXXFLAGS " in
14273 *" -library=stlport4 "*)
14274 solaris_use_stlport4
=yes
14278 # Adding this requires a known-good setup of shared libraries for
14279 # Sun compiler versions before 5.6, else PIC objects from an old
14280 # archive will be linked into the output, leading to subtle bugs.
14281 if test "$solaris_use_stlport4" != yes; then
14282 postdeps_CXX
='-library=Cstd -library=Crun'
14290 case " $postdeps_CXX " in
14291 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14293 compiler_lib_search_dirs_CXX
=
14294 if test -n "${compiler_lib_search_path_CXX}"; then
14295 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14328 lt_prog_compiler_wl_CXX
=
14329 lt_prog_compiler_pic_CXX
=
14330 lt_prog_compiler_static_CXX
=
14333 # C++ specific cases for pic, static, wl, etc.
14334 if test "$GXX" = yes; then
14335 lt_prog_compiler_wl_CXX
='-Wl,'
14336 lt_prog_compiler_static_CXX
='-static'
14340 # All AIX code is PIC.
14341 if test "$host_cpu" = ia64
; then
14342 # AIX 5 now supports IA64 processor
14343 lt_prog_compiler_static_CXX
='-Bstatic'
14350 # see comment about AmigaOS4 .so support
14351 lt_prog_compiler_pic_CXX
='-fPIC'
14354 # FIXME: we need at least 68020 code to build shared libraries, but
14355 # adding the `-m68020' flag to GCC prevents building anything better,
14357 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14362 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14363 # PIC is the default for these OSes.
14365 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14366 # This hack is so that the source file can tell whether it is being
14367 # built for inclusion in a dll (and should export symbols for example).
14368 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14369 # (--disable-auto-import) libraries
14370 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14372 darwin
* | rhapsody
*)
14373 # PIC is the default on this platform
14374 # Common symbols not allowed in MH_DYLIB files
14375 lt_prog_compiler_pic_CXX
='-fno-common'
14378 # DJGPP does not support shared libraries at all
14379 lt_prog_compiler_pic_CXX
=
14382 # PIC is the default for Haiku.
14383 # The "-static" flag exists, but is broken.
14384 lt_prog_compiler_static_CXX
=
14387 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14388 # Instead, we relocate shared libraries at runtime.
14391 if test -d /usr
/nec
; then
14392 lt_prog_compiler_pic_CXX
=-Kconform_pic
14396 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14397 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14398 # sets the default TLS model and affects inlining.
14403 lt_prog_compiler_pic_CXX
='-fPIC'
14408 # QNX uses GNU C++, but need to define -shared option too, otherwise
14409 # it will coredump.
14410 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14413 lt_prog_compiler_pic_CXX
='-fPIC'
14419 # All AIX code is PIC.
14420 if test "$host_cpu" = ia64
; then
14421 # AIX 5 now supports IA64 processor
14422 lt_prog_compiler_static_CXX
='-Bstatic'
14424 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14428 case $cc_basename in
14430 # Green Hills C++ Compiler
14431 # _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"
14435 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14436 # This hack is so that the source file can tell whether it is being
14437 # built for inclusion in a dll (and should export symbols for example).
14438 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14441 case $cc_basename in
14443 lt_prog_compiler_pic_CXX
='-KPIC'
14446 # Green Hills C++ Compiler
14447 lt_prog_compiler_pic_CXX
='-pic'
14453 freebsd
* | dragonfly
*)
14454 # FreeBSD uses GNU C++
14456 hpux9
* | hpux10
* | hpux11
*)
14457 case $cc_basename in
14459 lt_prog_compiler_wl_CXX
='-Wl,'
14460 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14461 if test "$host_cpu" != ia64
; then
14462 lt_prog_compiler_pic_CXX
='+Z'
14466 lt_prog_compiler_wl_CXX
='-Wl,'
14467 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14473 lt_prog_compiler_pic_CXX
='+Z'
14482 # This is c89, which is MS Visual C++ (no shared libs)
14483 # Anyone wants to do a port?
14485 irix5
* | irix6
* | nonstopux
*)
14486 case $cc_basename in
14488 lt_prog_compiler_wl_CXX
='-Wl,'
14489 lt_prog_compiler_static_CXX
='-non_shared'
14490 # CC pic flag -KPIC is the default.
14496 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14497 case $cc_basename in
14500 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14501 lt_prog_compiler_pic_CXX
='-fPIC'
14504 # old Intel C++ for x86_64 which still supported -KPIC.
14505 lt_prog_compiler_wl_CXX
='-Wl,'
14506 lt_prog_compiler_pic_CXX
='-KPIC'
14507 lt_prog_compiler_static_CXX
='-static'
14510 # Intel C++, used to be incompatible with GCC.
14511 # ICC 10 doesn't accept -KPIC any more.
14512 lt_prog_compiler_wl_CXX
='-Wl,'
14513 lt_prog_compiler_pic_CXX
='-fPIC'
14514 lt_prog_compiler_static_CXX
='-static'
14517 # Portland Group C++ compiler
14518 lt_prog_compiler_wl_CXX
='-Wl,'
14519 lt_prog_compiler_pic_CXX
='-fpic'
14520 lt_prog_compiler_static_CXX
='-Bstatic'
14524 # Make sure the PIC flag is empty. It appears that all Alpha
14525 # Linux and Compaq Tru64 Unix objects are PIC.
14526 lt_prog_compiler_pic_CXX
=
14527 lt_prog_compiler_static_CXX
='-non_shared'
14529 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14530 # IBM XL 8.0, 9.0 on PPC and BlueGene
14531 lt_prog_compiler_wl_CXX
='-Wl,'
14532 lt_prog_compiler_pic_CXX
='-qpic'
14533 lt_prog_compiler_static_CXX
='-qstaticlink'
14536 case `$CC -V 2>&1 | sed 5q` in
14539 lt_prog_compiler_pic_CXX
='-KPIC'
14540 lt_prog_compiler_static_CXX
='-Bstatic'
14541 lt_prog_compiler_wl_CXX
='-Qoption ld '
14552 case $cc_basename in
14554 lt_prog_compiler_pic_CXX
='-W c,exportall'
14563 # QNX uses GNU C++, but need to define -shared option too, otherwise
14564 # it will coredump.
14565 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14567 osf3
* | osf4
* | osf5
*)
14568 case $cc_basename in
14570 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14573 # Rational C++ 2.4.1
14574 lt_prog_compiler_pic_CXX
='-pic'
14577 # Digital/Compaq C++
14578 lt_prog_compiler_wl_CXX
='-Wl,'
14579 # Make sure the PIC flag is empty. It appears that all Alpha
14580 # Linux and Compaq Tru64 Unix objects are PIC.
14581 lt_prog_compiler_pic_CXX
=
14582 lt_prog_compiler_static_CXX
='-non_shared'
14591 case $cc_basename in
14593 # Sun C++ 4.2, 5.x and Centerline C++
14594 lt_prog_compiler_pic_CXX
='-KPIC'
14595 lt_prog_compiler_static_CXX
='-Bstatic'
14596 lt_prog_compiler_wl_CXX
='-Qoption ld '
14599 # Green Hills C++ Compiler
14600 lt_prog_compiler_pic_CXX
='-PIC'
14607 case $cc_basename in
14610 lt_prog_compiler_pic_CXX
='-pic'
14611 lt_prog_compiler_static_CXX
='-Bstatic'
14615 lt_prog_compiler_pic_CXX
='-pic'
14621 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14622 case $cc_basename in
14624 lt_prog_compiler_wl_CXX
='-Wl,'
14625 lt_prog_compiler_pic_CXX
='-KPIC'
14626 lt_prog_compiler_static_CXX
='-Bstatic'
14631 case $cc_basename in
14633 # NonStop-UX NCC 3.20
14634 lt_prog_compiler_pic_CXX
='-KPIC'
14643 lt_prog_compiler_can_build_shared_CXX
=no
14649 # For platforms which do not support PIC, -DPIC is meaningless:
14651 lt_prog_compiler_pic_CXX
=
14654 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14659 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14660 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14661 $as_echo_n "(cached) " >&6
14663 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14666 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14667 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14670 # Check to make sure the PIC flag actually works.
14672 if test -n "$lt_prog_compiler_pic_CXX"; then
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14674 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14675 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14676 $as_echo_n "(cached) " >&6
14678 lt_cv_prog_compiler_pic_works_CXX
=no
14679 ac_outfile
=conftest.
$ac_objext
14680 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14681 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14682 # Insert the option either (1) after the last *FLAGS variable, or
14683 # (2) before a word containing "conftest.", or (3) at the end.
14684 # Note that $ac_compile itself does not contain backslashes and begins
14685 # with a dollar sign (not a hyphen), so the echo should work correctly.
14686 # The option is referenced via a variable to avoid confusing sed.
14687 lt_compile
=`echo "$ac_compile" | $SED \
14688 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14689 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14690 -e 's:$: $lt_compiler_flag:'`
14691 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14692 (eval "$lt_compile" 2>conftest.err
)
14694 cat conftest.err
>&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 if (exit $ac_status) && test -s "$ac_outfile"; then
14697 # The compiler can only warn and ignore the option if not recognized
14698 # So say no if there are warnings other than the usual output.
14699 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14700 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14701 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14702 lt_cv_prog_compiler_pic_works_CXX
=yes
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14709 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14711 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14712 case $lt_prog_compiler_pic_CXX in
14714 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14717 lt_prog_compiler_pic_CXX
=
14718 lt_prog_compiler_can_build_shared_CXX
=no
14728 # Check to make sure the static flag actually works.
14730 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14732 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14733 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14734 $as_echo_n "(cached) " >&6
14736 lt_cv_prog_compiler_static_works_CXX
=no
14737 save_LDFLAGS
="$LDFLAGS"
14738 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14739 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14740 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14741 # The linker can only warn and ignore the option if not recognized
14742 # So say no if there are warnings
14743 if test -s conftest.err
; then
14744 # Append any errors to the config.log.
14745 cat conftest.err
1>&5
14746 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14747 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14748 if diff conftest.exp conftest.er2
>/dev
/null
; then
14749 lt_cv_prog_compiler_static_works_CXX
=yes
14752 lt_cv_prog_compiler_static_works_CXX
=yes
14756 LDFLAGS
="$save_LDFLAGS"
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14760 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14762 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14765 lt_prog_compiler_static_CXX
=
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14772 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14773 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14774 $as_echo_n "(cached) " >&6
14776 lt_cv_prog_compiler_c_o_CXX
=no
14777 $RM -r conftest
2>/dev
/null
14781 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14783 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14784 # Insert the option either (1) after the last *FLAGS variable, or
14785 # (2) before a word containing "conftest.", or (3) at the end.
14786 # Note that $ac_compile itself does not contain backslashes and begins
14787 # with a dollar sign (not a hyphen), so the echo should work correctly.
14788 lt_compile
=`echo "$ac_compile" | $SED \
14789 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14791 -e 's:$: $lt_compiler_flag:'`
14792 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14793 (eval "$lt_compile" 2>out
/conftest.err
)
14795 cat out
/conftest.err
>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14799 # The compiler can only warn and ignore the option if not recognized
14800 # So say no if there are warnings
14801 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14802 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14803 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14804 lt_cv_prog_compiler_c_o_CXX
=yes
14809 # SGI C++ compiler will create directory out/ii_files/ for
14810 # template instantiation
14811 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14812 $RM out
/* && rmdir out
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14819 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14824 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14825 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14826 $as_echo_n "(cached) " >&6
14828 lt_cv_prog_compiler_c_o_CXX
=no
14829 $RM -r conftest
2>/dev
/null
14833 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14835 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14836 # Insert the option either (1) after the last *FLAGS variable, or
14837 # (2) before a word containing "conftest.", or (3) at the end.
14838 # Note that $ac_compile itself does not contain backslashes and begins
14839 # with a dollar sign (not a hyphen), so the echo should work correctly.
14840 lt_compile
=`echo "$ac_compile" | $SED \
14841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14843 -e 's:$: $lt_compiler_flag:'`
14844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14845 (eval "$lt_compile" 2>out
/conftest.err
)
14847 cat out
/conftest.err
>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14851 # The compiler can only warn and ignore the option if not recognized
14852 # So say no if there are warnings
14853 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14854 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14855 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14856 lt_cv_prog_compiler_c_o_CXX
=yes
14861 # SGI C++ compiler will create directory out/ii_files/ for
14862 # template instantiation
14863 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14864 $RM out
/* && rmdir out
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14871 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14876 hard_links
="nottested"
14877 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14878 # do not overwrite the value of need_locks provided by the user
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14880 $as_echo_n "checking if we can lock with hard links... " >&6; }
14883 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14885 ln conftest.a conftest.b
2>&5 || hard_links
=no
14886 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14888 $as_echo "$hard_links" >&6; }
14889 if test "$hard_links" = no
; then
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14891 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14901 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14903 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14904 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14907 # If we're using GNU nm, then we don't want the "-C" option.
14908 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14909 # Also, AIX nm treats weak defined symbols like other global defined
14910 # symbols, whereas GNU nm marks them as "W".
14911 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14912 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'
14914 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'
14918 export_symbols_cmds_CXX
="$ltdll_cmds"
14920 cygwin
* | mingw
* | cegcc
*)
14921 case $cc_basename in
14923 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14926 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'
14927 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14932 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14937 $as_echo "$ld_shlibs_CXX" >&6; }
14938 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14940 with_gnu_ld_CXX
=$with_gnu_ld
14948 # Do we need to explicitly link libc?
14950 case "x$archive_cmds_need_lc_CXX" in
14952 # Assume -lc should be added
14953 archive_cmds_need_lc_CXX
=yes
14955 if test "$enable_shared" = yes && test "$GCC" = yes; then
14956 case $archive_cmds_CXX in
14958 # FIXME: we may have to deal with multi-command sequences.
14961 # Test whether the compiler implicitly links with -lc since on some
14962 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14963 # to ld, don't add -lc before -lgcc.
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14965 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14966 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14967 $as_echo_n "(cached) " >&6
14970 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14972 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14973 (eval $ac_compile) 2>&5
14975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14976 test $ac_status = 0; } 2>conftest.err
; then
14979 libobjs
=conftest.
$ac_objext
14981 wl
=$lt_prog_compiler_wl_CXX
14982 pic_flag
=$lt_prog_compiler_pic_CXX
14988 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14989 allow_undefined_flag_CXX
=
14990 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14991 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14994 test $ac_status = 0; }
14996 lt_cv_archive_cmds_need_lc_CXX
=no
14998 lt_cv_archive_cmds_need_lc_CXX
=yes
15000 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15002 cat conftest.err
1>&5
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15008 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15009 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15078 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15080 library_names_spec
=
15081 libname_spec
='lib$name'
15085 postuninstall_cmds
=
15089 shlibpath_overrides_runpath
=unknown
15091 dynamic_linker
="$host_os ld.so"
15092 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15093 need_lib_prefix
=unknown
15094 hardcode_into_libs
=no
15096 # when you set need_version to no, make sure it does not cause -set_version
15097 # flags to be left without arguments
15098 need_version
=unknown
15102 version_type
=linux
# correct to gnu/linux during the next big refactor
15103 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15104 shlibpath_var
=LIBPATH
15106 # AIX 3 has no versioning support, so we append a major version to the name.
15107 soname_spec
='${libname}${release}${shared_ext}$major'
15111 version_type
=linux
# correct to gnu/linux during the next big refactor
15114 hardcode_into_libs
=yes
15115 if test "$host_cpu" = ia64
; then
15116 # AIX 5 supports IA64
15117 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15118 shlibpath_var
=LD_LIBRARY_PATH
15120 # With GCC up to 2.95.x, collect2 would create an import file
15121 # for dependence libraries. The import file would start with
15122 # the line `#! .'. This would cause the generated library to
15123 # depend on `.', always an invalid library. This was fixed in
15124 # development snapshots of GCC prior to 3.0.
15126 aix4
| aix4.
[01] | aix4.
[01].
*)
15127 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15129 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15132 can_build_shared
=no
15136 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15137 # soname into executable. Probably we can add versioning support to
15138 # collect2, so additional links can be useful in future.
15139 if test "$aix_use_runtimelinking" = yes; then
15140 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15141 # instead of lib<name>.a to let people know that these are not
15142 # typical AIX shared libraries.
15143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15145 # We preserve .a as extension for shared libraries through AIX4.2
15146 # and later when we are not doing run time linking.
15147 library_names_spec
='${libname}${release}.a $libname.a'
15148 soname_spec
='${libname}${release}${shared_ext}$major'
15150 shlibpath_var
=LIBPATH
15157 # Since July 2007 AmigaOS4 officially supports .so libraries.
15158 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15162 library_names_spec
='$libname.ixlibrary $libname.a'
15163 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15164 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'
15170 library_names_spec
='${libname}${shared_ext}'
15171 dynamic_linker
="$host_os ld.so"
15172 shlibpath_var
=LIBRARY_PATH
15176 version_type
=linux
# correct to gnu/linux during the next big refactor
15178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15179 soname_spec
='${libname}${release}${shared_ext}$major'
15180 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15181 shlibpath_var
=LD_LIBRARY_PATH
15182 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15183 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15184 # the default ld.so.conf also contains /usr/contrib/lib and
15185 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15186 # libtool to hard-code these into programs
15189 cygwin
* | mingw
* | pw32
* | cegcc
*)
15190 version_type
=windows
15195 case $GCC,$cc_basename in
15198 library_names_spec
='$libname.dll.a'
15199 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15200 postinstall_cmds
='base_file=`basename \${file}`~
15201 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15202 dldir=$destdir/`dirname \$dlpath`~
15203 test -d \$dldir || mkdir -p \$dldir~
15204 $install_prog $dir/$dlname \$dldir/$dlname~
15205 chmod a+x \$dldir/$dlname~
15206 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15207 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15209 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15210 dlpath=$dir/\$dldll~
15212 shlibpath_overrides_runpath
=yes
15216 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15217 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15221 # MinGW DLLs use traditional 'lib' prefix
15222 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15225 # pw32 DLLs use 'pw' prefix rather than 'lib'
15226 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15229 dynamic_linker
='Win32 ld.exe'
15234 libname_spec
='$name'
15235 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15236 library_names_spec
='${libname}.dll.lib'
15240 sys_lib_search_path_spec
=
15243 for lt_path
in $LIB
15246 # Let DOS variable expansion print the short 8.3 style file name.
15247 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15248 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15251 # Convert to MSYS style.
15252 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15255 # Convert to unix form, then to dos form, then back to unix form
15256 # but this time dos style (no spaces!) so that the unix form looks
15257 # like /cygdrive/c/PROGRA~1:/cygdr...
15258 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15259 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15260 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15263 sys_lib_search_path_spec
="$LIB"
15264 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15265 # It is most probably a Windows format PATH.
15266 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15268 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15270 # FIXME: find the short name or the path components, as spaces are
15271 # common. (e.g. "Program Files" -> "PROGRA~1")
15275 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15276 postinstall_cmds
='base_file=`basename \${file}`~
15277 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15278 dldir=$destdir/`dirname \$dlpath`~
15279 test -d \$dldir || mkdir -p \$dldir~
15280 $install_prog $dir/$dlname \$dldir/$dlname'
15281 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15282 dlpath=$dir/\$dldll~
15284 shlibpath_overrides_runpath
=yes
15285 dynamic_linker
='Win32 link.exe'
15289 # Assume MSVC wrapper
15290 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15291 dynamic_linker
='Win32 ld.exe'
15294 # FIXME: first we should search . and the directory the executable is in
15298 darwin
* | rhapsody
*)
15299 dynamic_linker
="$host_os dyld"
15300 version_type
=darwin
15303 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15304 soname_spec
='${libname}${release}${major}$shared_ext'
15305 shlibpath_overrides_runpath
=yes
15306 shlibpath_var
=DYLD_LIBRARY_PATH
15307 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15309 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15313 version_type
=linux
# correct to gnu/linux during the next big refactor
15316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15317 soname_spec
='${libname}${release}${shared_ext}$major'
15318 shlibpath_var
=LD_LIBRARY_PATH
15321 freebsd
* | dragonfly
*)
15322 # DragonFly does not have aout. When/if they implement a new
15323 # versioning mechanism, adjust this.
15324 if test -x /usr
/bin
/objformat
; then
15325 objformat
=`/usr/bin/objformat`
15328 freebsd
[23].
*) objformat
=aout
;;
15329 *) objformat
=elf
;;
15332 version_type
=freebsd
-$objformat
15333 case $version_type in
15335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15340 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15344 shlibpath_var
=LD_LIBRARY_PATH
15347 shlibpath_overrides_runpath
=yes
15349 freebsd3.
[01]* | freebsdelf3.
[01]*)
15350 shlibpath_overrides_runpath
=yes
15351 hardcode_into_libs
=yes
15353 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15354 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15355 shlibpath_overrides_runpath
=no
15356 hardcode_into_libs
=yes
15358 *) # from 4.6 on, and DragonFly
15359 shlibpath_overrides_runpath
=yes
15360 hardcode_into_libs
=yes
15366 version_type
=linux
# correct to gnu/linux during the next big refactor
15369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15370 soname_spec
='${libname}${release}${shared_ext}$major'
15371 shlibpath_var
=LD_LIBRARY_PATH
15372 shlibpath_overrides_runpath
=no
15373 hardcode_into_libs
=yes
15377 version_type
=linux
# correct to gnu/linux during the next big refactor
15380 dynamic_linker
="$host_os runtime_loader"
15381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15382 soname_spec
='${libname}${release}${shared_ext}$major'
15383 shlibpath_var
=LIBRARY_PATH
15384 shlibpath_overrides_runpath
=yes
15385 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15386 hardcode_into_libs
=yes
15389 hpux9
* | hpux10
* | hpux11
*)
15390 # Give a soname corresponding to the major version so that dld.sl refuses to
15391 # link against other versions.
15398 hardcode_into_libs
=yes
15399 dynamic_linker
="$host_os dld.so"
15400 shlibpath_var
=LD_LIBRARY_PATH
15401 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15402 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15403 soname_spec
='${libname}${release}${shared_ext}$major'
15404 if test "X$HPUX_IA64_MODE" = X32
; then
15405 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15407 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15409 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15413 hardcode_into_libs
=yes
15414 dynamic_linker
="$host_os dld.sl"
15415 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15416 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15418 soname_spec
='${libname}${release}${shared_ext}$major'
15419 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15420 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15424 dynamic_linker
="$host_os dld.sl"
15425 shlibpath_var
=SHLIB_PATH
15426 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 soname_spec
='${libname}${release}${shared_ext}$major'
15431 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15432 postinstall_cmds
='chmod 555 $lib'
15433 # or fails outright, so override atomically:
15434 install_override_mode
=555
15438 version_type
=linux
# correct to gnu/linux during the next big refactor
15441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15442 soname_spec
='${libname}${release}${shared_ext}$major'
15443 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15444 shlibpath_var
=LD_LIBRARY_PATH
15445 shlibpath_overrides_runpath
=no
15446 hardcode_into_libs
=yes
15449 irix5
* | irix6
* | nonstopux
*)
15451 nonstopux
*) version_type
=nonstopux
;;
15453 if test "$lt_cv_prog_gnu_ld" = yes; then
15454 version_type
=linux
# correct to gnu/linux during the next big refactor
15461 soname_spec
='${libname}${release}${shared_ext}$major'
15462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15464 irix5
* | nonstopux
*)
15465 libsuff
= shlibsuff
=
15468 case $LD in # libtool.m4 will add one of these switches to LD
15469 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15470 libsuff
= shlibsuff
= libmagic
=32-bit;;
15471 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15472 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15473 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15474 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15475 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15479 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15480 shlibpath_overrides_runpath
=no
15481 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15482 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15483 hardcode_into_libs
=yes
15486 # No shared lib support for Linux oldld, aout, or coff.
15487 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15491 # This must be glibc/ELF.
15492 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15493 version_type
=linux
# correct to gnu/linux during the next big refactor
15496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15497 soname_spec
='${libname}${release}${shared_ext}$major'
15498 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15499 shlibpath_var
=LD_LIBRARY_PATH
15500 shlibpath_overrides_runpath
=no
15502 # Some binutils ld are patched to set DT_RUNPATH
15503 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15504 $as_echo_n "(cached) " >&6
15506 lt_cv_shlibpath_overrides_runpath
=no
15507 save_LDFLAGS
=$LDFLAGS
15508 save_libdir
=$libdir
15509 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15510 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15522 if ac_fn_cxx_try_link
"$LINENO"; then :
15523 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15524 lt_cv_shlibpath_overrides_runpath
=yes
15527 rm -f core conftest.err conftest.
$ac_objext \
15528 conftest
$ac_exeext conftest.
$ac_ext
15529 LDFLAGS
=$save_LDFLAGS
15530 libdir
=$save_libdir
15534 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15536 # This implies no fast_install, which is unacceptable.
15537 # Some rework will be needed to allow for fast_install
15538 # before this can be enabled.
15539 hardcode_into_libs
=yes
15541 # Append ld.so.conf contents to the search path
15542 if test -f /etc
/ld.so.conf
; then
15543 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' ' '`
15544 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15547 # We used to test for /lib/ld.so.1 and disable shared libraries on
15548 # powerpc, because MkLinux only supported shared libraries with the
15549 # GNU dynamic linker. Since this was broken with cross compilers,
15550 # most powerpc-linux boxes support dynamic linking these days and
15551 # people can always --disable-shared, the test was removed, and we
15552 # assume the GNU/Linux dynamic linker is in use.
15553 dynamic_linker
='GNU/Linux ld.so'
15560 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15562 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15563 dynamic_linker
='NetBSD (a.out) ld.so'
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 dynamic_linker
='NetBSD ld.elf_so'
15569 shlibpath_var
=LD_LIBRARY_PATH
15570 shlibpath_overrides_runpath
=yes
15571 hardcode_into_libs
=yes
15575 version_type
=linux
# correct to gnu/linux during the next big refactor
15576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15577 shlibpath_var
=LD_LIBRARY_PATH
15578 shlibpath_overrides_runpath
=yes
15585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15586 soname_spec
='${libname}${release}${shared_ext}$major'
15587 shlibpath_var
=LD_LIBRARY_PATH
15588 shlibpath_overrides_runpath
=no
15589 hardcode_into_libs
=yes
15590 dynamic_linker
='ldqnx.so'
15595 sys_lib_dlsearch_path_spec
="/usr/lib"
15597 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15599 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15600 *) need_version
=no
;;
15602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15603 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15604 shlibpath_var
=LD_LIBRARY_PATH
15605 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15607 openbsd2.
[89] | openbsd2.
[89].
*)
15608 shlibpath_overrides_runpath
=no
15611 shlibpath_overrides_runpath
=yes
15615 shlibpath_overrides_runpath
=yes
15620 libname_spec
='$name'
15623 library_names_spec
='$libname${shared_ext} $libname.a'
15624 dynamic_linker
='OS/2 ld.exe'
15625 shlibpath_var
=LIBPATH
15628 osf3
* | osf4
* | osf5
*)
15632 soname_spec
='${libname}${release}${shared_ext}$major'
15633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15634 shlibpath_var
=LD_LIBRARY_PATH
15635 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15636 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15644 version_type
=linux
# correct to gnu/linux during the next big refactor
15647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15648 soname_spec
='${libname}${release}${shared_ext}$major'
15649 shlibpath_var
=LD_LIBRARY_PATH
15650 shlibpath_overrides_runpath
=yes
15651 hardcode_into_libs
=yes
15652 # ldd complains unless libraries are executable
15653 postinstall_cmds
='chmod +x $lib'
15658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15659 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15660 shlibpath_var
=LD_LIBRARY_PATH
15661 shlibpath_overrides_runpath
=yes
15662 if test "$with_gnu_ld" = yes; then
15669 version_type
=linux
# correct to gnu/linux during the next big refactor
15670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15671 soname_spec
='${libname}${release}${shared_ext}$major'
15672 shlibpath_var
=LD_LIBRARY_PATH
15673 case $host_vendor in
15675 shlibpath_overrides_runpath
=no
15677 runpath_var
=LD_RUN_PATH
15685 shlibpath_overrides_runpath
=no
15686 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15692 if test -d /usr
/nec
;then
15693 version_type
=linux
# correct to gnu/linux during the next big refactor
15694 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15695 soname_spec
='$libname${shared_ext}.$major'
15696 shlibpath_var
=LD_LIBRARY_PATH
15700 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15701 version_type
=freebsd
-elf
15704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15705 soname_spec
='${libname}${release}${shared_ext}$major'
15706 shlibpath_var
=LD_LIBRARY_PATH
15707 shlibpath_overrides_runpath
=yes
15708 hardcode_into_libs
=yes
15709 if test "$with_gnu_ld" = yes; then
15710 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15712 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15715 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15719 sys_lib_dlsearch_path_spec
='/usr/lib'
15723 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15724 version_type
=linux
# correct to gnu/linux during the next big refactor
15727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15728 shlibpath_var
=LD_LIBRARY_PATH
15729 shlibpath_overrides_runpath
=no
15730 hardcode_into_libs
=yes
15734 version_type
=linux
# correct to gnu/linux during the next big refactor
15735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15736 soname_spec
='${libname}${release}${shared_ext}$major'
15737 shlibpath_var
=LD_LIBRARY_PATH
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15745 $as_echo "$dynamic_linker" >&6; }
15746 test "$dynamic_linker" = no
&& can_build_shared
=no
15748 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15749 if test "$GCC" = yes; then
15750 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15753 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15754 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15756 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15757 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15798 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15799 hardcode_action_CXX
=
15800 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15801 test -n "$runpath_var_CXX" ||
15802 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15804 # We can hardcode non-existent directories.
15805 if test "$hardcode_direct_CXX" != no
&&
15806 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15807 # have to relink, otherwise we might link with an installed library
15808 # when we should be linking with a yet-to-be-installed one
15809 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15810 test "$hardcode_minus_L_CXX" != no
; then
15811 # Linking always hardcodes the temporary library directory.
15812 hardcode_action_CXX
=relink
15814 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15815 hardcode_action_CXX
=immediate
15818 # We cannot hardcode anything, or else we can only hardcode existing
15820 hardcode_action_CXX
=unsupported
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15823 $as_echo "$hardcode_action_CXX" >&6; }
15825 if test "$hardcode_action_CXX" = relink
||
15826 test "$inherit_rpath_CXX" = yes; then
15827 # Fast installation is not supported
15828 enable_fast_install
=no
15829 elif test "$shlibpath_overrides_runpath" = yes ||
15830 test "$enable_shared" = no
; then
15831 # Fast installation is not necessary
15832 enable_fast_install
=needless
15841 fi # test -n "$compiler"
15844 CFLAGS
=$lt_save_CFLAGS
15848 with_gnu_ld
=$lt_save_with_gnu_ld
15849 lt_cv_path_LDCXX
=$lt_cv_path_LD
15850 lt_cv_path_LD
=$lt_save_path_LD
15851 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15852 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15853 fi # test "$_lt_caught_CXX_error" != yes
15856 ac_cpp
='$CXXCPP $CPPFLAGS'
15857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15863 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
15864 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15865 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15866 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
15867 if test -n "$ac_tool_prefix"; then
15868 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
15870 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15871 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15873 $as_echo_n "checking for $ac_word... " >&6; }
15874 if ${ac_cv_prog_OBJCXX+:} false
; then :
15875 $as_echo_n "(cached) " >&6
15877 if test -n "$OBJCXX"; then
15878 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
15880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15881 for as_dir
in $PATH
15884 test -z "$as_dir" && as_dir
=.
15885 for ac_exec_ext
in '' $ac_executable_extensions; do
15886 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15887 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
15888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15897 OBJCXX
=$ac_cv_prog_OBJCXX
15898 if test -n "$OBJCXX"; then
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
15900 $as_echo "$OBJCXX" >&6; }
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15903 $as_echo "no" >&6; }
15907 test -n "$OBJCXX" && break
15910 if test -z "$OBJCXX"; then
15911 ac_ct_OBJCXX
=$OBJCXX
15912 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
15914 # Extract the first word of "$ac_prog", so it can be a program name with args.
15915 set dummy
$ac_prog; ac_word
=$2
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15917 $as_echo_n "checking for $ac_word... " >&6; }
15918 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
15919 $as_echo_n "(cached) " >&6
15921 if test -n "$ac_ct_OBJCXX"; then
15922 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
15924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15925 for as_dir
in $PATH
15928 test -z "$as_dir" && as_dir
=.
15929 for ac_exec_ext
in '' $ac_executable_extensions; do
15930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15931 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
15932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15941 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
15942 if test -n "$ac_ct_OBJCXX"; then
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
15944 $as_echo "$ac_ct_OBJCXX" >&6; }
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15947 $as_echo "no" >&6; }
15951 test -n "$ac_ct_OBJCXX" && break
15954 if test "x$ac_ct_OBJCXX" = x
; then
15957 case $cross_compiling:$ac_tool_warned in
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15961 ac_tool_warned
=yes ;;
15963 OBJCXX
=$ac_ct_OBJCXX
15967 # Provide some information about the compiler.
15968 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
15971 for ac_option
in --version -v -V -qversion; do
15972 { { ac_try
="$ac_compiler $ac_option >&5"
15973 case "(($ac_try" in
15974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15978 $as_echo "$ac_try_echo"; } >&5
15979 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15981 if test -s conftest.err; then
15983 ... rest of stderr output deleted ...
15984 10q' conftest.err >conftest.er1
15985 cat conftest.er1 >&5
15987 rm -f conftest.er1 conftest.err
15988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15989 test $ac_status = 0; }
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
15993 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
15994 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
15995 $as_echo_n "(cached) " >&6
15997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15998 /* end confdefs.h. */
16011 if ac_fn_objcxx_try_compile "$LINENO"; then :
16012 ac_compiler_gnu=yes
16016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16017 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
16021 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
16022 if test $ac_compiler_gnu = yes; then
16027 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
16028 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
16030 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
16031 if ${ac_cv_prog_objcxx_g+:} false; then :
16032 $as_echo_n "(cached) " >&6
16034 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
16035 ac_objcxx_werror_flag=yes
16036 ac_cv_prog_objcxx_g=no
16038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16039 /* end confdefs.h. */
16049 if ac_fn_objcxx_try_compile "$LINENO"; then :
16050 ac_cv_prog_objcxx_g=yes
16053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16054 /* end confdefs.h. */
16064 if ac_fn_objcxx_try_compile "$LINENO"; then :
16067 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
16069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16070 /* end confdefs.h. */
16080 if ac_fn_objcxx_try_compile "$LINENO"; then :
16081 ac_cv_prog_objcxx_g=yes
16083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16088 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
16091 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
16092 if test "$ac_test_OBJCXXFLAGS" = set; then
16093 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
16094 elif test $ac_cv_prog_objcxx_g = yes; then
16095 if test "$GOBJCXX" = yes; then
16096 OBJCXXFLAGS="-g -O2"
16101 if test "$GOBJCXX" = yes; then
16108 ac_cpp='$CXXCPP $CPPFLAGS'
16109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16113 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16116 $as_echo_n "checking dependency style of $depcc... " >&6; }
16117 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
16118 $as_echo_n "(cached) " >&6
16120 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16121 # We make a subdir and do the tests there. Otherwise we can end up
16122 # making bogus files that we don't know about and never remove. For
16123 # instance it was reported that on HP-UX the gcc test will end up
16124 # making a dummy file named 'D' -- because '-MD' means "put the output
16126 rm -rf conftest.dir
16128 # Copy depcomp to subdir because otherwise we won't find it if we're
16129 # using a relative directory.
16130 cp "$am_depcomp" conftest.dir
16132 # We will build objects and dependencies in a subdirectory because
16133 # it helps to detect inapplicable dependency modes. For instance
16134 # both Tru64's cc and ICC support -MD to output dependencies as a
16135 # side effect of compilation, but ICC will put the dependencies in
16136 # the current directory while Tru64 will put them in the object
16140 am_cv_OBJCXX_dependencies_compiler_type=none
16141 if test "$am_compiler_list" = ""; then
16142 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
16144 am__universal=false
16147 for depmode in $am_compiler_list; do
16148 # Setup a source with many dependencies, because some compilers
16149 # like to wrap large dependency lists on column 80 (with \), and
16150 # we should not choose a depcomp mode which is confused by this.
16152 # We need to recreate these files for each test, as the compiler may
16153 # overwrite some of them when testing with obscure command lines.
16154 # This happens at least with the AIX C compiler.
16156 for i in 1 2 3 4 5 6; do
16157 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16158 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
16159 # Solaris 10 /bin/sh.
16160 echo '/* dummy */' > sub/conftst$i.h
16162 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16164 # We check with '-c' and '-o' for the sake of the "dashmstdout"
16165 # mode. It turns out that the SunPro C++ compiler does not properly
16166 # handle '-M -o', and we need to detect this. Also, some Intel
16167 # versions had trouble with output in subdirs.
16168 am__obj=sub/conftest.${OBJEXT-o}
16169 am__minus_obj="-o $am__obj"
16172 # This depmode causes a compiler race in universal mode.
16173 test "$am__universal" = false || continue
16176 # After this tag, mechanisms are not by side-effect, so they'll
16177 # only be used when explicitly requested.
16178 if test "x$enable_dependency_tracking" = xyes; then
16184 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16185 # This compiler won't grok '-c -o', but also, the minuso test has
16186 # not run yet. These depmodes are late enough in the game, and
16187 # so weak that their functioning should not be impacted.
16188 am__obj=conftest.${OBJEXT-o}
16193 if depmode=$depmode \
16194 source=sub/conftest.c object=$am__obj \
16195 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16196 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16197 >/dev/null 2>conftest.err &&
16198 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16199 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16200 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16201 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16202 # icc doesn't choke on unknown options, it will just issue warnings
16203 # or remarks (even with -Werror). So we grep stderr for any message
16204 # that says an option was ignored or not supported.
16205 # When given -MP, icc 7.0 and 7.1 complain thusly:
16206 # icc: Command line warning: ignoring option '-M'; no argument required
16207 # The diagnosis changed in icc 8.0:
16208 # icc: Command line remark: option '-MP' not supported
16209 if (grep 'ignoring option' conftest.err ||
16210 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16211 am_cv_OBJCXX_dependencies_compiler_type=$depmode
16218 rm -rf conftest.dir
16220 am_cv_OBJCXX_dependencies_compiler_type=none
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
16225 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
16226 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
16229 test "x$enable_dependency_tracking" != xno \
16230 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
16231 am__fastdepOBJCXX_TRUE=
16232 am__fastdepOBJCXX_FALSE='#'
16234 am__fastdepOBJCXX_TRUE='#'
16235 am__fastdepOBJCXX_FALSE=
16248 if ${CFLAGS+:} false; then :
16249 case " $CFLAGS " in
16251 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16252 (: CFLAGS already contains ) 2>&5
16254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16255 test $ac_status = 0; }
16258 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16259 (: CFLAGS="$CFLAGS ") 2>&5
16261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16262 test $ac_status = 0; }
16271 ac_cpp='$CPP $CPPFLAGS'
16272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16277 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16278 if ${ac_cv_cflags_warn_all+:} false; then :
16279 $as_echo_n "(cached) " >&6
16281 ac_cv_cflags_warn_all="no, unknown"
16282 ac_save_CFLAGS="$CFLAGS"
16283 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" #
16284 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16296 if ac_fn_c_try_compile "$LINENO"; then :
16297 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16301 CFLAGS="$ac_save_CFLAGS"
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16305 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16307 case ".$ac_cv_cflags_warn_all" in
16310 *) if ${CFLAGS+:} false; then :
16311 case " $CFLAGS " in
16312 *" $ac_cv_cflags_warn_all "*)
16313 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16314 (: CFLAGS already contains $ac_cv_cflags_warn_all) 2>&5
16316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16317 test $ac_status = 0; }
16320 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16321 (: CFLAGS="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16324 test $ac_status = 0; }
16325 CFLAGS="$CFLAGS $ac_cv_cflags_warn_all"
16329 CFLAGS="$ac_cv_cflags_warn_all"
16335 ac_cpp='$CXXCPP $CPPFLAGS'
16336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16342 ac_cpp='$CXXCPP $CPPFLAGS'
16343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16348 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16349 if ${ac_cv_cxxflags_warn_all+:} false; then :
16350 $as_echo_n "(cached) " >&6
16352 ac_cv_cxxflags_warn_all="no, unknown"
16353 ac_save_CXXFLAGS="$CXXFLAGS"
16354 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" #
16355 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16357 /* end confdefs.h. */
16367 if ac_fn_cxx_try_compile "$LINENO"; then :
16368 ac_cv_cxxflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16372 CXXFLAGS="$ac_save_CXXFLAGS"
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16376 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16378 case ".$ac_cv_cxxflags_warn_all" in
16381 *) if ${CXXFLAGS+:} false; then :
16382 case " $CXXFLAGS " in
16383 *" $ac_cv_cxxflags_warn_all "*)
16384 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16385 (: CXXFLAGS already contains $ac_cv_cxxflags_warn_all) 2>&5
16387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16388 test $ac_status = 0; }
16391 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16392 (: CXXFLAGS="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16395 test $ac_status = 0; }
16396 CXXFLAGS="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16400 CXXFLAGS="$ac_cv_cxxflags_warn_all"
16406 ac_cpp='$CXXCPP $CPPFLAGS'
16407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-overloaded-virtual" >&5
16415 $as_echo_n "checking for -Wno-overloaded-virtual... " >&6; }
16419 for element in -Wno-overloaded-virtual; do
16421 for x in $CXXFLAGS; do
16423 acl_save_prefix="$prefix"
16424 prefix="$acl_final_prefix"
16425 acl_save_exec_prefix="$exec_prefix"
16426 exec_prefix="$acl_final_exec_prefix"
16428 exec_prefix="$acl_save_exec_prefix"
16429 prefix="$acl_save_prefix"
16431 if test "X$x" = "X$element"; then
16436 if test -z "$haveit"; then
16437 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16446 if ac_fn_cxx_try_compile "$LINENO"; then :
16451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16454 if test "x$cy_good" = x1; then :
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16456 $as_echo "yes" >&6; }
16459 for element in -Wno-overloaded-virtual; do
16461 for x in $CFLAGS; do
16463 acl_save_prefix="$prefix"
16464 prefix="$acl_final_prefix"
16465 acl_save_exec_prefix="$exec_prefix"
16466 exec_prefix="$acl_final_exec_prefix"
16468 exec_prefix="$acl_save_exec_prefix"
16469 prefix="$acl_save_prefix"
16471 if test "X$x" = "X$element"; then
16476 if test -z "$haveit"; then
16477 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
16482 for element in -Wno-overloaded-virtual; do
16484 for x in $CXXFLAGS; do
16486 acl_save_prefix="$prefix"
16487 prefix="$acl_final_prefix"
16488 acl_save_exec_prefix="$exec_prefix"
16489 exec_prefix="$acl_final_exec_prefix"
16491 exec_prefix="$acl_save_exec_prefix"
16492 prefix="$acl_save_prefix"
16494 if test "X$x" = "X$element"; then
16499 if test -z "$haveit"; then
16500 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16505 for element in -Wno-overloaded-virtual; do
16507 for x in $OBJCCXXFLAGS; do
16509 acl_save_prefix="$prefix"
16510 prefix="$acl_final_prefix"
16511 acl_save_exec_prefix="$exec_prefix"
16512 exec_prefix="$acl_final_exec_prefix"
16514 exec_prefix="$acl_save_exec_prefix"
16515 prefix="$acl_save_prefix"
16517 if test "X$x" = "X$element"; then
16522 if test -z "$haveit"; then
16523 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16531 $as_echo "no" >&6; }
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-parentheses" >&5
16537 $as_echo_n "checking for -Wno-parentheses... " >&6; }
16541 for element in -Wno-parentheses; do
16543 for x in $CXXFLAGS; do
16545 acl_save_prefix="$prefix"
16546 prefix="$acl_final_prefix"
16547 acl_save_exec_prefix="$exec_prefix"
16548 exec_prefix="$acl_final_exec_prefix"
16550 exec_prefix="$acl_save_exec_prefix"
16551 prefix="$acl_save_prefix"
16553 if test "X$x" = "X$element"; then
16558 if test -z "$haveit"; then
16559 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16568 if ac_fn_cxx_try_compile "$LINENO"; then :
16573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16576 if test "x$cy_good" = x1; then :
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16578 $as_echo "yes" >&6; }
16581 for element in -Wno-parentheses; do
16583 for x in $CFLAGS; do
16585 acl_save_prefix="$prefix"
16586 prefix="$acl_final_prefix"
16587 acl_save_exec_prefix="$exec_prefix"
16588 exec_prefix="$acl_final_exec_prefix"
16590 exec_prefix="$acl_save_exec_prefix"
16591 prefix="$acl_save_prefix"
16593 if test "X$x" = "X$element"; then
16598 if test -z "$haveit"; then
16599 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
16604 for element in -Wno-parentheses; do
16606 for x in $CXXFLAGS; do
16608 acl_save_prefix="$prefix"
16609 prefix="$acl_final_prefix"
16610 acl_save_exec_prefix="$exec_prefix"
16611 exec_prefix="$acl_final_exec_prefix"
16613 exec_prefix="$acl_save_exec_prefix"
16614 prefix="$acl_save_prefix"
16616 if test "X$x" = "X$element"; then
16621 if test -z "$haveit"; then
16622 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16627 for element in -Wno-parentheses; do
16629 for x in $OBJCCXXFLAGS; do
16631 acl_save_prefix="$prefix"
16632 prefix="$acl_final_prefix"
16633 acl_save_exec_prefix="$exec_prefix"
16634 exec_prefix="$acl_final_exec_prefix"
16636 exec_prefix="$acl_save_exec_prefix"
16637 prefix="$acl_save_prefix"
16639 if test "X$x" = "X$element"; then
16644 if test -z "$haveit"; then
16645 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16653 $as_echo "no" >&6; }
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-unneeded-internal-declaration" >&5
16659 $as_echo_n "checking for -Wno-unneeded-internal-declaration... " >&6; }
16663 for element in -Wno-unneeded-internal-declaration; do
16665 for x in $CXXFLAGS; do
16667 acl_save_prefix="$prefix"
16668 prefix="$acl_final_prefix"
16669 acl_save_exec_prefix="$exec_prefix"
16670 exec_prefix="$acl_final_exec_prefix"
16672 exec_prefix="$acl_save_exec_prefix"
16673 prefix="$acl_save_prefix"
16675 if test "X$x" = "X$element"; then
16680 if test -z "$haveit"; then
16681 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h. */
16690 if ac_fn_cxx_try_compile "$LINENO"; then :
16695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16698 if test "x$cy_good" = x1; then :
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16700 $as_echo "yes" >&6; }
16703 for element in -Wno-unneeded-internal-declaration; do
16705 for x in $CFLAGS; do
16707 acl_save_prefix="$prefix"
16708 prefix="$acl_final_prefix"
16709 acl_save_exec_prefix="$exec_prefix"
16710 exec_prefix="$acl_final_exec_prefix"
16712 exec_prefix="$acl_save_exec_prefix"
16713 prefix="$acl_save_prefix"
16715 if test "X$x" = "X$element"; then
16720 if test -z "$haveit"; then
16721 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
16726 for element in -Wno-unneeded-internal-declaration; do
16728 for x in $CXXFLAGS; do
16730 acl_save_prefix="$prefix"
16731 prefix="$acl_final_prefix"
16732 acl_save_exec_prefix="$exec_prefix"
16733 exec_prefix="$acl_final_exec_prefix"
16735 exec_prefix="$acl_save_exec_prefix"
16736 prefix="$acl_save_prefix"
16738 if test "X$x" = "X$element"; then
16743 if test -z "$haveit"; then
16744 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16749 for element in -Wno-unneeded-internal-declaration; do
16751 for x in $OBJCCXXFLAGS; do
16753 acl_save_prefix="$prefix"
16754 prefix="$acl_final_prefix"
16755 acl_save_exec_prefix="$exec_prefix"
16756 exec_prefix="$acl_final_exec_prefix"
16758 exec_prefix="$acl_save_exec_prefix"
16759 prefix="$acl_save_prefix"
16761 if test "X$x" = "X$element"; then
16766 if test -z "$haveit"; then
16767 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16775 $as_echo "no" >&6; }
16780 for cy_arch in ppc ppc64 i386 x86_64 armv6; do
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
16782 $as_echo_n "checking for -arch $cy_arch... " >&6; }
16786 for element in "-arch $cy_arch"; do
16788 for x in $CXXFLAGS; do
16790 acl_save_prefix="$prefix"
16791 prefix="$acl_final_prefix"
16792 acl_save_exec_prefix="$exec_prefix"
16793 exec_prefix="$acl_final_exec_prefix"
16795 exec_prefix="$acl_save_exec_prefix"
16796 prefix="$acl_save_prefix"
16798 if test "X$x" = "X$element"; then
16803 if test -z "$haveit"; then
16804 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16810 /* end confdefs.h. */
16820 if ac_fn_cxx_try_link "$LINENO"; then :
16825 rm -f core conftest.err conftest.$ac_objext \
16826 conftest$ac_exeext conftest.$ac_ext
16829 if test "x$cy_good" = x1; then :
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16831 $as_echo "yes" >&6; }
16834 for element in "-arch $cy_arch"; do
16836 for x in $CFLAGS; 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 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
16857 for element in "-arch $cy_arch"; do
16859 for x in $CXXFLAGS; 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 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16880 for element in "-arch $cy_arch"; do
16882 for x in $OBJCCXXFLAGS; do
16884 acl_save_prefix="$prefix"
16885 prefix="$acl_final_prefix"
16886 acl_save_exec_prefix="$exec_prefix"
16887 exec_prefix="$acl_final_exec_prefix"
16889 exec_prefix="$acl_save_exec_prefix"
16890 prefix="$acl_save_prefix"
16892 if test "X$x" = "X$element"; then
16897 if test -z "$haveit"; then
16898 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16904 for element in "-arch $cy_arch"; do
16906 for x in $LDFLAGS; do
16908 acl_save_prefix="$prefix"
16909 prefix="$acl_final_prefix"
16910 acl_save_exec_prefix="$exec_prefix"
16911 exec_prefix="$acl_final_exec_prefix"
16913 exec_prefix="$acl_save_exec_prefix"
16914 prefix="$acl_save_prefix"
16916 if test "X$x" = "X$element"; then
16921 if test -z "$haveit"; then
16922 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16929 $as_echo "no" >&6; }
16934 # Check whether --with-frameworks was given.
16935 if test "${with_frameworks+set}" = set; then :
16936 withval=$with_frameworks;
16937 for cy_framework in $withval; do
16940 for element in -F$cy_framework; do
16942 for x in $CFLAGS; do
16944 acl_save_prefix="$prefix"
16945 prefix="$acl_final_prefix"
16946 acl_save_exec_prefix="$exec_prefix"
16947 exec_prefix="$acl_final_exec_prefix"
16949 exec_prefix="$acl_save_exec_prefix"
16950 prefix="$acl_save_prefix"
16952 if test "X$x" = "X$element"; then
16957 if test -z "$haveit"; then
16958 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
16963 for element in -F$cy_framework; do
16965 for x in $CXXFLAGS; do
16967 acl_save_prefix="$prefix"
16968 prefix="$acl_final_prefix"
16969 acl_save_exec_prefix="$exec_prefix"
16970 exec_prefix="$acl_final_exec_prefix"
16972 exec_prefix="$acl_save_exec_prefix"
16973 prefix="$acl_save_prefix"
16975 if test "X$x" = "X$element"; then
16980 if test -z "$haveit"; then
16981 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16986 for element in -F$cy_framework; do
16988 for x in $OBJCCXXFLAGS; do
16990 acl_save_prefix="$prefix"
16991 prefix="$acl_final_prefix"
16992 acl_save_exec_prefix="$exec_prefix"
16993 exec_prefix="$acl_final_exec_prefix"
16995 exec_prefix="$acl_save_exec_prefix"
16996 prefix="$acl_save_prefix"
16998 if test "X$x" = "X$element"; then
17003 if test -z "$haveit"; then
17004 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
17016 # Check whether --enable-javascript was given.
17017 if test "${enable_javascript+set}" = set; then :
17018 enableval=$enable_javascript;
17019 case $enableval in #(
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17027 $as_echo_n "checking for WEBKIT... " >&6; }
17029 if test -n "$WEBKIT_CFLAGS"; then
17030 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17031 elif test -n "$PKG_CONFIG"; then
17032 if test -n "$PKG_CONFIG" && \
17033 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17034 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17037 test $ac_status = 0; }; then
17038 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
17045 if test -n "$WEBKIT_LIBS"; then
17046 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17047 elif test -n "$PKG_CONFIG"; then
17048 if test -n "$PKG_CONFIG" && \
17049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17050 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17053 test $ac_status = 0; }; then
17054 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
17064 if test $pkg_failed = yes; then
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17066 $as_echo "no" >&6; }
17068 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17069 _pkg_short_errors_supported=yes
17071 _pkg_short_errors_supported=no
17073 if test $_pkg_short_errors_supported = yes; then
17074 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
17076 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
17078 # Put the nasty error message in config.log where it belongs
17079 echo "$WEBKIT_PKG_ERRORS" >&5
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17085 $as_echo_n "checking for WEBKIT... " >&6; }
17087 if test -n "$WEBKIT_CFLAGS"; then
17088 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17089 elif test -n "$PKG_CONFIG"; then
17090 if test -n "$PKG_CONFIG" && \
17091 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17092 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17095 test $ac_status = 0; }; then
17096 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
17103 if test -n "$WEBKIT_LIBS"; then
17104 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17105 elif test -n "$PKG_CONFIG"; then
17106 if test -n "$PKG_CONFIG" && \
17107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17108 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17111 test $ac_status = 0; }; then
17112 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
17122 if test $pkg_failed = yes; then
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17124 $as_echo "no" >&6; }
17126 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17127 _pkg_short_errors_supported=yes
17129 _pkg_short_errors_supported=no
17131 if test $_pkg_short_errors_supported = yes; then
17132 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17134 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17136 # Put the nasty error message in config.log where it belongs
17137 echo "$WEBKIT_PKG_ERRORS" >&5
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17142 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17143 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17144 $as_echo_n "(cached) " >&6
17147 ac_check_framework_save_LIBS=$LIBS
17148 LIBS="-framework JavaScriptCore $LIBS"
17149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17150 /* end confdefs.h. */
17152 #include <JavaScriptCore/JSBase.h>
17158 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17164 if ac_fn_cxx_try_link "$LINENO"; then :
17166 ac_cv_framework_JavaScriptCore=yes
17169 ac_cv_framework_JavaScriptCore=no
17171 rm -f core conftest.err conftest.$ac_objext \
17172 conftest$ac_exeext conftest.$ac_ext
17173 LIBS=$ac_check_framework_save_LIBS
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17177 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17178 if test $ac_cv_framework_JavaScriptCore = yes; then :
17181 for element in "-framework JavaScriptCore $LIBS"; do
17185 acl_save_prefix="$prefix"
17186 prefix="$acl_final_prefix"
17187 acl_save_exec_prefix="$exec_prefix"
17188 exec_prefix="$acl_final_exec_prefix"
17190 exec_prefix="$acl_save_exec_prefix"
17191 prefix="$acl_save_prefix"
17193 if test "X$x" = "X$element"; then
17198 if test -z "$haveit"; then
17199 LIBS="${LIBS}${LIBS:+ }$element"
17210 elif test $pkg_failed = untried; then
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17212 $as_echo "no" >&6; }
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17216 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17217 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17218 $as_echo_n "(cached) " >&6
17221 ac_check_framework_save_LIBS=$LIBS
17222 LIBS="-framework JavaScriptCore $LIBS"
17223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17224 /* end confdefs.h. */
17226 #include <JavaScriptCore/JSBase.h>
17232 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17238 if ac_fn_cxx_try_link "$LINENO"; then :
17240 ac_cv_framework_JavaScriptCore=yes
17243 ac_cv_framework_JavaScriptCore=no
17245 rm -f core conftest.err conftest.$ac_objext \
17246 conftest$ac_exeext conftest.$ac_ext
17247 LIBS=$ac_check_framework_save_LIBS
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17251 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17252 if test $ac_cv_framework_JavaScriptCore = yes; then :
17255 for element in "-framework JavaScriptCore $LIBS"; do
17259 acl_save_prefix="$prefix"
17260 prefix="$acl_final_prefix"
17261 acl_save_exec_prefix="$exec_prefix"
17262 exec_prefix="$acl_final_exec_prefix"
17264 exec_prefix="$acl_save_exec_prefix"
17265 prefix="$acl_save_prefix"
17267 if test "X$x" = "X$element"; then
17272 if test -z "$haveit"; then
17273 LIBS="${LIBS}${LIBS:+ }$element"
17285 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17286 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17288 $as_echo "yes" >&6; }
17293 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
17295 for x in $CXXFLAGS; do
17297 acl_save_prefix="$prefix"
17298 prefix="$acl_final_prefix"
17299 acl_save_exec_prefix="$exec_prefix"
17300 exec_prefix="$acl_final_exec_prefix"
17302 exec_prefix="$acl_save_exec_prefix"
17303 prefix="$acl_save_prefix"
17305 if test "X$x" = "X$element"; then
17310 if test -z "$haveit"; then
17311 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17316 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
17320 acl_save_prefix="$prefix"
17321 prefix="$acl_final_prefix"
17322 acl_save_exec_prefix="$exec_prefix"
17323 exec_prefix="$acl_final_exec_prefix"
17325 exec_prefix="$acl_save_exec_prefix"
17326 prefix="$acl_save_prefix"
17328 if test "X$x" = "X$element"; then
17333 if test -z "$haveit"; then
17334 LIBS="${LIBS}${LIBS:+ }$element"
17341 elif test $pkg_failed = untried; then
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17343 $as_echo "no" >&6; }
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17348 $as_echo_n "checking for WEBKIT... " >&6; }
17350 if test -n "$WEBKIT_CFLAGS"; then
17351 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17352 elif test -n "$PKG_CONFIG"; then
17353 if test -n "$PKG_CONFIG" && \
17354 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17355 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17358 test $ac_status = 0; }; then
17359 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
17366 if test -n "$WEBKIT_LIBS"; then
17367 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17368 elif test -n "$PKG_CONFIG"; then
17369 if test -n "$PKG_CONFIG" && \
17370 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17371 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17374 test $ac_status = 0; }; then
17375 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
17385 if test $pkg_failed = yes; then
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17387 $as_echo "no" >&6; }
17389 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17390 _pkg_short_errors_supported=yes
17392 _pkg_short_errors_supported=no
17394 if test $_pkg_short_errors_supported = yes; then
17395 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17397 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17399 # Put the nasty error message in config.log where it belongs
17400 echo "$WEBKIT_PKG_ERRORS" >&5
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17405 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17406 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17407 $as_echo_n "(cached) " >&6
17410 ac_check_framework_save_LIBS=$LIBS
17411 LIBS="-framework JavaScriptCore $LIBS"
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17415 #include <JavaScriptCore/JSBase.h>
17421 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17427 if ac_fn_cxx_try_link "$LINENO"; then :
17429 ac_cv_framework_JavaScriptCore=yes
17432 ac_cv_framework_JavaScriptCore=no
17434 rm -f core conftest.err conftest.$ac_objext \
17435 conftest$ac_exeext conftest.$ac_ext
17436 LIBS=$ac_check_framework_save_LIBS
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17440 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17441 if test $ac_cv_framework_JavaScriptCore = yes; then :
17444 for element in "-framework JavaScriptCore $LIBS"; do
17448 acl_save_prefix="$prefix"
17449 prefix="$acl_final_prefix"
17450 acl_save_exec_prefix="$exec_prefix"
17451 exec_prefix="$acl_final_exec_prefix"
17453 exec_prefix="$acl_save_exec_prefix"
17454 prefix="$acl_save_prefix"
17456 if test "X$x" = "X$element"; then
17461 if test -z "$haveit"; then
17462 LIBS="${LIBS}${LIBS:+ }$element"
17473 elif test $pkg_failed = untried; then
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17475 $as_echo "no" >&6; }
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17479 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17480 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17481 $as_echo_n "(cached) " >&6
17484 ac_check_framework_save_LIBS=$LIBS
17485 LIBS="-framework JavaScriptCore $LIBS"
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17489 #include <JavaScriptCore/JSBase.h>
17495 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17501 if ac_fn_cxx_try_link "$LINENO"; then :
17503 ac_cv_framework_JavaScriptCore=yes
17506 ac_cv_framework_JavaScriptCore=no
17508 rm -f core conftest.err conftest.$ac_objext \
17509 conftest$ac_exeext conftest.$ac_ext
17510 LIBS=$ac_check_framework_save_LIBS
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17514 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17515 if test $ac_cv_framework_JavaScriptCore = yes; then :
17518 for element in "-framework JavaScriptCore $LIBS"; do
17522 acl_save_prefix="$prefix"
17523 prefix="$acl_final_prefix"
17524 acl_save_exec_prefix="$exec_prefix"
17525 exec_prefix="$acl_final_exec_prefix"
17527 exec_prefix="$acl_save_exec_prefix"
17528 prefix="$acl_save_prefix"
17530 if test "X$x" = "X$element"; then
17535 if test -z "$haveit"; then
17536 LIBS="${LIBS}${LIBS:+ }$element"
17548 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17549 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17551 $as_echo "yes" >&6; }
17556 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
17558 for x in $CXXFLAGS; do
17560 acl_save_prefix="$prefix"
17561 prefix="$acl_final_prefix"
17562 acl_save_exec_prefix="$exec_prefix"
17563 exec_prefix="$acl_final_exec_prefix"
17565 exec_prefix="$acl_save_exec_prefix"
17566 prefix="$acl_save_prefix"
17568 if test "X$x" = "X$element"; then
17573 if test -z "$haveit"; then
17574 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17579 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
17583 acl_save_prefix="$prefix"
17584 prefix="$acl_final_prefix"
17585 acl_save_exec_prefix="$exec_prefix"
17586 exec_prefix="$acl_final_exec_prefix"
17588 exec_prefix="$acl_save_exec_prefix"
17589 prefix="$acl_save_prefix"
17591 if test "X$x" = "X$element"; then
17596 if test -z "$haveit"; then
17597 LIBS="${LIBS}${LIBS:+ }$element"
17605 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17606 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17608 $as_echo "yes" >&6; }
17613 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
17615 for x in $CXXFLAGS; do
17617 acl_save_prefix="$prefix"
17618 prefix="$acl_final_prefix"
17619 acl_save_exec_prefix="$exec_prefix"
17620 exec_prefix="$acl_final_exec_prefix"
17622 exec_prefix="$acl_save_exec_prefix"
17623 prefix="$acl_save_prefix"
17625 if test "X$x" = "X$element"; then
17630 if test -z "$haveit"; then
17631 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17636 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
17640 acl_save_prefix="$prefix"
17641 prefix="$acl_final_prefix"
17642 acl_save_exec_prefix="$exec_prefix"
17643 exec_prefix="$acl_final_exec_prefix"
17645 exec_prefix="$acl_save_exec_prefix"
17646 prefix="$acl_save_prefix"
17648 if test "X$x" = "X$element"; then
17653 if test -z "$haveit"; then
17654 LIBS="${LIBS}${LIBS:+ }$element"
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17671 $as_echo_n "checking for WEBKIT... " >&6; }
17673 if test -n "$WEBKIT_CFLAGS"; then
17674 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17675 elif test -n "$PKG_CONFIG"; then
17676 if test -n "$PKG_CONFIG" && \
17677 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17678 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17681 test $ac_status = 0; }; then
17682 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
17689 if test -n "$WEBKIT_LIBS"; then
17690 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17691 elif test -n "$PKG_CONFIG"; then
17692 if test -n "$PKG_CONFIG" && \
17693 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17694 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17697 test $ac_status = 0; }; then
17698 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
17708 if test $pkg_failed = yes; then
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17710 $as_echo "no" >&6; }
17712 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17713 _pkg_short_errors_supported=yes
17715 _pkg_short_errors_supported=no
17717 if test $_pkg_short_errors_supported = yes; then
17718 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
17720 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
17722 # Put the nasty error message in config.log where it belongs
17723 echo "$WEBKIT_PKG_ERRORS" >&5
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17729 $as_echo_n "checking for WEBKIT... " >&6; }
17731 if test -n "$WEBKIT_CFLAGS"; then
17732 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17733 elif test -n "$PKG_CONFIG"; then
17734 if test -n "$PKG_CONFIG" && \
17735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17736 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17739 test $ac_status = 0; }; then
17740 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
17747 if test -n "$WEBKIT_LIBS"; then
17748 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17749 elif test -n "$PKG_CONFIG"; then
17750 if test -n "$PKG_CONFIG" && \
17751 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17752 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17755 test $ac_status = 0; }; then
17756 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
17766 if test $pkg_failed = yes; then
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17768 $as_echo "no" >&6; }
17770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17771 _pkg_short_errors_supported=yes
17773 _pkg_short_errors_supported=no
17775 if test $_pkg_short_errors_supported = yes; then
17776 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17778 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17780 # Put the nasty error message in config.log where it belongs
17781 echo "$WEBKIT_PKG_ERRORS" >&5
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17786 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17787 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17788 $as_echo_n "(cached) " >&6
17791 ac_check_framework_save_LIBS=$LIBS
17792 LIBS="-framework JavaScriptCore $LIBS"
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17796 #include <JavaScriptCore/JSBase.h>
17802 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17808 if ac_fn_cxx_try_link "$LINENO"; then :
17810 ac_cv_framework_JavaScriptCore=yes
17813 ac_cv_framework_JavaScriptCore=no
17815 rm -f core conftest.err conftest.$ac_objext \
17816 conftest$ac_exeext conftest.$ac_ext
17817 LIBS=$ac_check_framework_save_LIBS
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17821 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17822 if test $ac_cv_framework_JavaScriptCore = yes; then :
17825 for element in "-framework JavaScriptCore $LIBS"; do
17829 acl_save_prefix="$prefix"
17830 prefix="$acl_final_prefix"
17831 acl_save_exec_prefix="$exec_prefix"
17832 exec_prefix="$acl_final_exec_prefix"
17834 exec_prefix="$acl_save_exec_prefix"
17835 prefix="$acl_save_prefix"
17837 if test "X$x" = "X$element"; then
17842 if test -z "$haveit"; then
17843 LIBS="${LIBS}${LIBS:+ }$element"
17854 elif test $pkg_failed = untried; then
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17856 $as_echo "no" >&6; }
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17860 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17861 if ${ac_cv_framework_JavaScriptCore+:} false; then :
17862 $as_echo_n "(cached) " >&6
17865 ac_check_framework_save_LIBS=$LIBS
17866 LIBS="-framework JavaScriptCore $LIBS"
17867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17870 #include <JavaScriptCore/JSBase.h>
17876 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17882 if ac_fn_cxx_try_link "$LINENO"; then :
17884 ac_cv_framework_JavaScriptCore=yes
17887 ac_cv_framework_JavaScriptCore=no
17889 rm -f core conftest.err conftest.$ac_objext \
17890 conftest$ac_exeext conftest.$ac_ext
17891 LIBS=$ac_check_framework_save_LIBS
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17895 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17896 if test $ac_cv_framework_JavaScriptCore = yes; then :
17899 for element in "-framework JavaScriptCore $LIBS"; do
17903 acl_save_prefix="$prefix"
17904 prefix="$acl_final_prefix"
17905 acl_save_exec_prefix="$exec_prefix"
17906 exec_prefix="$acl_final_exec_prefix"
17908 exec_prefix="$acl_save_exec_prefix"
17909 prefix="$acl_save_prefix"
17911 if test "X$x" = "X$element"; then
17916 if test -z "$haveit"; then
17917 LIBS="${LIBS}${LIBS:+ }$element"
17929 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17930 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17932 $as_echo "yes" >&6; }
17937 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
17939 for x in $CXXFLAGS; do
17941 acl_save_prefix="$prefix"
17942 prefix="$acl_final_prefix"
17943 acl_save_exec_prefix="$exec_prefix"
17944 exec_prefix="$acl_final_exec_prefix"
17946 exec_prefix="$acl_save_exec_prefix"
17947 prefix="$acl_save_prefix"
17949 if test "X$x" = "X$element"; then
17954 if test -z "$haveit"; then
17955 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17960 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
17964 acl_save_prefix="$prefix"
17965 prefix="$acl_final_prefix"
17966 acl_save_exec_prefix="$exec_prefix"
17967 exec_prefix="$acl_final_exec_prefix"
17969 exec_prefix="$acl_save_exec_prefix"
17970 prefix="$acl_save_prefix"
17972 if test "X$x" = "X$element"; then
17977 if test -z "$haveit"; then
17978 LIBS="${LIBS}${LIBS:+ }$element"
17985 elif test $pkg_failed = untried; then
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17987 $as_echo "no" >&6; }
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17992 $as_echo_n "checking for WEBKIT... " >&6; }
17994 if test -n "$WEBKIT_CFLAGS"; then
17995 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17996 elif test -n "$PKG_CONFIG"; then
17997 if test -n "$PKG_CONFIG" && \
17998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17999 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18002 test $ac_status = 0; }; then
18003 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
18010 if test -n "$WEBKIT_LIBS"; then
18011 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
18012 elif test -n "$PKG_CONFIG"; then
18013 if test -n "$PKG_CONFIG" && \
18014 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18015 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18018 test $ac_status = 0; }; then
18019 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
18029 if test $pkg_failed = yes; then
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18031 $as_echo "no" >&6; }
18033 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18034 _pkg_short_errors_supported=yes
18036 _pkg_short_errors_supported=no
18038 if test $_pkg_short_errors_supported = yes; then
18039 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18041 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18043 # Put the nasty error message in config.log where it belongs
18044 echo "$WEBKIT_PKG_ERRORS" >&5
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18049 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18050 if ${ac_cv_framework_JavaScriptCore+:} false; then :
18051 $as_echo_n "(cached) " >&6
18054 ac_check_framework_save_LIBS=$LIBS
18055 LIBS="-framework JavaScriptCore $LIBS"
18056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18059 #include <JavaScriptCore/JSBase.h>
18065 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18071 if ac_fn_cxx_try_link "$LINENO"; then :
18073 ac_cv_framework_JavaScriptCore=yes
18076 ac_cv_framework_JavaScriptCore=no
18078 rm -f core conftest.err conftest.$ac_objext \
18079 conftest$ac_exeext conftest.$ac_ext
18080 LIBS=$ac_check_framework_save_LIBS
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18084 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18085 if test $ac_cv_framework_JavaScriptCore = yes; then :
18088 for element in "-framework JavaScriptCore $LIBS"; do
18092 acl_save_prefix="$prefix"
18093 prefix="$acl_final_prefix"
18094 acl_save_exec_prefix="$exec_prefix"
18095 exec_prefix="$acl_final_exec_prefix"
18097 exec_prefix="$acl_save_exec_prefix"
18098 prefix="$acl_save_prefix"
18100 if test "X$x" = "X$element"; then
18105 if test -z "$haveit"; then
18106 LIBS="${LIBS}${LIBS:+ }$element"
18117 elif test $pkg_failed = untried; then
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18119 $as_echo "no" >&6; }
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18123 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18124 if ${ac_cv_framework_JavaScriptCore+:} false; then :
18125 $as_echo_n "(cached) " >&6
18128 ac_check_framework_save_LIBS=$LIBS
18129 LIBS="-framework JavaScriptCore $LIBS"
18130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18133 #include <JavaScriptCore/JSBase.h>
18139 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18145 if ac_fn_cxx_try_link "$LINENO"; then :
18147 ac_cv_framework_JavaScriptCore=yes
18150 ac_cv_framework_JavaScriptCore=no
18152 rm -f core conftest.err conftest.$ac_objext \
18153 conftest$ac_exeext conftest.$ac_ext
18154 LIBS=$ac_check_framework_save_LIBS
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18158 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18159 if test $ac_cv_framework_JavaScriptCore = yes; then :
18162 for element in "-framework JavaScriptCore $LIBS"; do
18166 acl_save_prefix="$prefix"
18167 prefix="$acl_final_prefix"
18168 acl_save_exec_prefix="$exec_prefix"
18169 exec_prefix="$acl_final_exec_prefix"
18171 exec_prefix="$acl_save_exec_prefix"
18172 prefix="$acl_save_prefix"
18174 if test "X$x" = "X$element"; then
18179 if test -z "$haveit"; then
18180 LIBS="${LIBS}${LIBS:+ }$element"
18192 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
18193 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18195 $as_echo "yes" >&6; }
18200 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
18202 for x in $CXXFLAGS; do
18204 acl_save_prefix="$prefix"
18205 prefix="$acl_final_prefix"
18206 acl_save_exec_prefix="$exec_prefix"
18207 exec_prefix="$acl_final_exec_prefix"
18209 exec_prefix="$acl_save_exec_prefix"
18210 prefix="$acl_save_prefix"
18212 if test "X$x" = "X$element"; then
18217 if test -z "$haveit"; then
18218 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
18223 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
18227 acl_save_prefix="$prefix"
18228 prefix="$acl_final_prefix"
18229 acl_save_exec_prefix="$exec_prefix"
18230 exec_prefix="$acl_final_exec_prefix"
18232 exec_prefix="$acl_save_exec_prefix"
18233 prefix="$acl_save_prefix"
18235 if test "X$x" = "X$element"; then
18240 if test -z "$haveit"; then
18241 LIBS="${LIBS}${LIBS:+ }$element"
18249 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
18250 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18252 $as_echo "yes" >&6; }
18257 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
18259 for x in $CXXFLAGS; do
18261 acl_save_prefix="$prefix"
18262 prefix="$acl_final_prefix"
18263 acl_save_exec_prefix="$exec_prefix"
18264 exec_prefix="$acl_final_exec_prefix"
18266 exec_prefix="$acl_save_exec_prefix"
18267 prefix="$acl_save_prefix"
18269 if test "X$x" = "X$element"; then
18274 if test -z "$haveit"; then
18275 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
18280 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
18284 acl_save_prefix="$prefix"
18285 prefix="$acl_final_prefix"
18286 acl_save_exec_prefix="$exec_prefix"
18287 exec_prefix="$acl_final_exec_prefix"
18289 exec_prefix="$acl_save_exec_prefix"
18290 prefix="$acl_save_prefix"
18292 if test "X$x" = "X$element"; then
18297 if test -z "$haveit"; then
18298 LIBS="${LIBS}${LIBS:+ }$element"
18306 as_fn_error $? "Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18315 $as_echo_n "checking for WEBKIT... " >&6; }
18317 if test -n "$WEBKIT_CFLAGS"; then
18318 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
18319 elif test -n "$PKG_CONFIG"; then
18320 if test -n "$PKG_CONFIG" && \
18321 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
18322 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
18324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18325 test $ac_status = 0; }; then
18326 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
18333 if test -n "$WEBKIT_LIBS"; then
18334 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
18335 elif test -n "$PKG_CONFIG"; then
18336 if test -n "$PKG_CONFIG" && \
18337 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
18338 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
18340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18341 test $ac_status = 0; }; then
18342 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
18352 if test $pkg_failed = yes; then
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18354 $as_echo "no" >&6; }
18356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18357 _pkg_short_errors_supported=yes
18359 _pkg_short_errors_supported=no
18361 if test $_pkg_short_errors_supported = yes; then
18362 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
18364 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
18366 # Put the nasty error message in config.log where it belongs
18367 echo "$WEBKIT_PKG_ERRORS" >&5
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18373 $as_echo_n "checking for WEBKIT... " >&6; }
18375 if test -n "$WEBKIT_CFLAGS"; then
18376 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
18377 elif test -n "$PKG_CONFIG"; then
18378 if test -n "$PKG_CONFIG" && \
18379 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18380 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18383 test $ac_status = 0; }; then
18384 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
18391 if test -n "$WEBKIT_LIBS"; then
18392 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
18393 elif test -n "$PKG_CONFIG"; then
18394 if test -n "$PKG_CONFIG" && \
18395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18396 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18399 test $ac_status = 0; }; then
18400 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
18410 if test $pkg_failed = yes; then
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18412 $as_echo "no" >&6; }
18414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18415 _pkg_short_errors_supported=yes
18417 _pkg_short_errors_supported=no
18419 if test $_pkg_short_errors_supported = yes; then
18420 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18422 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18424 # Put the nasty error message in config.log where it belongs
18425 echo "$WEBKIT_PKG_ERRORS" >&5
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18430 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18431 if ${ac_cv_framework_JavaScriptCore+:} false; then :
18432 $as_echo_n "(cached) " >&6
18435 ac_check_framework_save_LIBS=$LIBS
18436 LIBS="-framework JavaScriptCore $LIBS"
18437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18438 /* end confdefs.h. */
18440 #include <JavaScriptCore/JSBase.h>
18446 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18452 if ac_fn_cxx_try_link "$LINENO"; then :
18454 ac_cv_framework_JavaScriptCore=yes
18457 ac_cv_framework_JavaScriptCore=no
18459 rm -f core conftest.err conftest.$ac_objext \
18460 conftest$ac_exeext conftest.$ac_ext
18461 LIBS=$ac_check_framework_save_LIBS
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18465 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18466 if test $ac_cv_framework_JavaScriptCore = yes; then :
18469 for element in "-framework JavaScriptCore $LIBS"; do
18473 acl_save_prefix="$prefix"
18474 prefix="$acl_final_prefix"
18475 acl_save_exec_prefix="$exec_prefix"
18476 exec_prefix="$acl_final_exec_prefix"
18478 exec_prefix="$acl_save_exec_prefix"
18479 prefix="$acl_save_prefix"
18481 if test "X$x" = "X$element"; then
18486 if test -z "$haveit"; then
18487 LIBS="${LIBS}${LIBS:+ }$element"
18498 elif test $pkg_failed = untried; then
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18500 $as_echo "no" >&6; }
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18504 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18505 if ${ac_cv_framework_JavaScriptCore+:} false; then :
18506 $as_echo_n "(cached) " >&6
18509 ac_check_framework_save_LIBS=$LIBS
18510 LIBS="-framework JavaScriptCore $LIBS"
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18514 #include <JavaScriptCore/JSBase.h>
18520 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18526 if ac_fn_cxx_try_link "$LINENO"; then :
18528 ac_cv_framework_JavaScriptCore=yes
18531 ac_cv_framework_JavaScriptCore=no
18533 rm -f core conftest.err conftest.$ac_objext \
18534 conftest$ac_exeext conftest.$ac_ext
18535 LIBS=$ac_check_framework_save_LIBS
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18539 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18540 if test $ac_cv_framework_JavaScriptCore = yes; then :
18543 for element in "-framework JavaScriptCore $LIBS"; do
18547 acl_save_prefix="$prefix"
18548 prefix="$acl_final_prefix"
18549 acl_save_exec_prefix="$exec_prefix"
18550 exec_prefix="$acl_final_exec_prefix"
18552 exec_prefix="$acl_save_exec_prefix"
18553 prefix="$acl_save_prefix"
18555 if test "X$x" = "X$element"; then
18560 if test -z "$haveit"; then
18561 LIBS="${LIBS}${LIBS:+ }$element"
18573 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
18574 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18576 $as_echo "yes" >&6; }
18581 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
18583 for x in $CXXFLAGS; do
18585 acl_save_prefix="$prefix"
18586 prefix="$acl_final_prefix"
18587 acl_save_exec_prefix="$exec_prefix"
18588 exec_prefix="$acl_final_exec_prefix"
18590 exec_prefix="$acl_save_exec_prefix"
18591 prefix="$acl_save_prefix"
18593 if test "X$x" = "X$element"; then
18598 if test -z "$haveit"; then
18599 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
18604 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
18608 acl_save_prefix="$prefix"
18609 prefix="$acl_final_prefix"
18610 acl_save_exec_prefix="$exec_prefix"
18611 exec_prefix="$acl_final_exec_prefix"
18613 exec_prefix="$acl_save_exec_prefix"
18614 prefix="$acl_save_prefix"
18616 if test "X$x" = "X$element"; then
18621 if test -z "$haveit"; then
18622 LIBS="${LIBS}${LIBS:+ }$element"
18629 elif test $pkg_failed = untried; then
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18631 $as_echo "no" >&6; }
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18636 $as_echo_n "checking for WEBKIT... " >&6; }
18638 if test -n "$WEBKIT_CFLAGS"; then
18639 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
18640 elif test -n "$PKG_CONFIG"; then
18641 if test -n "$PKG_CONFIG" && \
18642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18643 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18646 test $ac_status = 0; }; then
18647 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
18654 if test -n "$WEBKIT_LIBS"; then
18655 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
18656 elif test -n "$PKG_CONFIG"; then
18657 if test -n "$PKG_CONFIG" && \
18658 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18659 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18662 test $ac_status = 0; }; then
18663 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
18673 if test $pkg_failed = yes; then
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18675 $as_echo "no" >&6; }
18677 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18678 _pkg_short_errors_supported=yes
18680 _pkg_short_errors_supported=no
18682 if test $_pkg_short_errors_supported = yes; then
18683 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18685 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18687 # Put the nasty error message in config.log where it belongs
18688 echo "$WEBKIT_PKG_ERRORS" >&5
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18693 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18694 if ${ac_cv_framework_JavaScriptCore+:} false; then :
18695 $as_echo_n "(cached) " >&6
18698 ac_check_framework_save_LIBS=$LIBS
18699 LIBS="-framework JavaScriptCore $LIBS"
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18703 #include <JavaScriptCore/JSBase.h>
18709 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18715 if ac_fn_cxx_try_link "$LINENO"; then :
18717 ac_cv_framework_JavaScriptCore=yes
18720 ac_cv_framework_JavaScriptCore=no
18722 rm -f core conftest.err conftest.$ac_objext \
18723 conftest$ac_exeext conftest.$ac_ext
18724 LIBS=$ac_check_framework_save_LIBS
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18728 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18729 if test $ac_cv_framework_JavaScriptCore = yes; then :
18732 for element in "-framework JavaScriptCore $LIBS"; do
18736 acl_save_prefix="$prefix"
18737 prefix="$acl_final_prefix"
18738 acl_save_exec_prefix="$exec_prefix"
18739 exec_prefix="$acl_final_exec_prefix"
18741 exec_prefix="$acl_save_exec_prefix"
18742 prefix="$acl_save_prefix"
18744 if test "X$x" = "X$element"; then
18749 if test -z "$haveit"; then
18750 LIBS="${LIBS}${LIBS:+ }$element"
18761 elif test $pkg_failed = untried; then
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18763 $as_echo "no" >&6; }
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18767 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18768 if ${ac_cv_framework_JavaScriptCore+:} false; then :
18769 $as_echo_n "(cached) " >&6
18772 ac_check_framework_save_LIBS=$LIBS
18773 LIBS="-framework JavaScriptCore $LIBS"
18774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18777 #include <JavaScriptCore/JSBase.h>
18783 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18789 if ac_fn_cxx_try_link "$LINENO"; then :
18791 ac_cv_framework_JavaScriptCore=yes
18794 ac_cv_framework_JavaScriptCore=no
18796 rm -f core conftest.err conftest.$ac_objext \
18797 conftest$ac_exeext conftest.$ac_ext
18798 LIBS=$ac_check_framework_save_LIBS
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18802 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18803 if test $ac_cv_framework_JavaScriptCore = yes; then :
18806 for element in "-framework JavaScriptCore $LIBS"; do
18810 acl_save_prefix="$prefix"
18811 prefix="$acl_final_prefix"
18812 acl_save_exec_prefix="$exec_prefix"
18813 exec_prefix="$acl_final_exec_prefix"
18815 exec_prefix="$acl_save_exec_prefix"
18816 prefix="$acl_save_prefix"
18818 if test "X$x" = "X$element"; then
18823 if test -z "$haveit"; then
18824 LIBS="${LIBS}${LIBS:+ }$element"
18836 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
18837 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18839 $as_echo "yes" >&6; }
18844 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
18846 for x in $CXXFLAGS; do
18848 acl_save_prefix="$prefix"
18849 prefix="$acl_final_prefix"
18850 acl_save_exec_prefix="$exec_prefix"
18851 exec_prefix="$acl_final_exec_prefix"
18853 exec_prefix="$acl_save_exec_prefix"
18854 prefix="$acl_save_prefix"
18856 if test "X$x" = "X$element"; then
18861 if test -z "$haveit"; then
18862 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
18867 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
18871 acl_save_prefix="$prefix"
18872 prefix="$acl_final_prefix"
18873 acl_save_exec_prefix="$exec_prefix"
18874 exec_prefix="$acl_final_exec_prefix"
18876 exec_prefix="$acl_save_exec_prefix"
18877 prefix="$acl_save_prefix"
18879 if test "X$x" = "X$element"; then
18884 if test -z "$haveit"; then
18885 LIBS="${LIBS}${LIBS:+ }$element"
18893 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
18894 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18896 $as_echo "yes" >&6; }
18901 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
18903 for x in $CXXFLAGS; do
18905 acl_save_prefix="$prefix"
18906 prefix="$acl_final_prefix"
18907 acl_save_exec_prefix="$exec_prefix"
18908 exec_prefix="$acl_final_exec_prefix"
18910 exec_prefix="$acl_save_exec_prefix"
18911 prefix="$acl_save_prefix"
18913 if test "X$x" = "X$element"; then
18918 if test -z "$haveit"; then
18919 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
18924 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
18928 acl_save_prefix="$prefix"
18929 prefix="$acl_final_prefix"
18930 acl_save_exec_prefix="$exec_prefix"
18931 exec_prefix="$acl_final_exec_prefix"
18933 exec_prefix="$acl_save_exec_prefix"
18934 prefix="$acl_save_prefix"
18936 if test "X$x" = "X$element"; then
18941 if test -z "$haveit"; then
18942 LIBS="${LIBS}${LIBS:+ }$element"
18955 if test "$target_os" = "os2-emx"; then
18956 # Scripts don't pass test -x on OS/2
18962 acceptable_majors="1"
18964 apr_temp_acceptable_apr_config=""
18965 for apr_temp_major in $acceptable_majors
18967 case $apr_temp_major in
18969 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
18972 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
18978 $as_echo_n "checking for APR... " >&6; }
18980 # Check whether --with-apr was given.
18981 if test "${with_apr+set}" = set; then :
18983 if test "$withval" = "no" || test "$withval" = "yes"; then
18984 as_fn_error $? "--with-apr requires a directory or file to be provided" "$LINENO" 5
18987 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
18989 for lookdir in "$withval/bin" "$withval"
18991 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
18992 apr_config="$lookdir/$apr_temp_apr_config_file"
19000 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
19001 apr_config="$withval"
19005 if test "$apr_found" != "yes"; then
19006 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
19011 if test -n "1" && test "1" = "1"; then
19012 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
19014 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
19015 apr_config="$apr_temp_apr_config_file"
19020 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
19021 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
19022 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
19031 if test "$apr_found" = "no" && test -d ""; then
19032 apr_temp_abs_srcdir="`cd && pwd`"
19033 apr_found="reconfig"
19034 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
19035 case $apr_bundled_major in
19037 as_fn_error $? "failed to find major version of bundled APR" "$LINENO" 5
19040 apr_temp_apr_config_file="apr-config"
19043 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
19046 if test -n ""; then
19047 apr_config="/$apr_temp_apr_config_file"
19049 apr_config="/$apr_temp_apr_config_file"
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
19057 $as_echo "$apr_found" >&6; }
19059 case $apr_found in #(
19063 for element in `$apr_config --includes`; do
19065 for x in $CPPFLAGS; do
19067 acl_save_prefix="$prefix"
19068 prefix="$acl_final_prefix"
19069 acl_save_exec_prefix="$exec_prefix"
19070 exec_prefix="$acl_final_exec_prefix"
19072 exec_prefix="$acl_save_exec_prefix"
19073 prefix="$acl_save_prefix"
19075 if test "X$x" = "X$element"; then
19080 if test -z "$haveit"; then
19081 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19085 LTLIBAPR=`$apr_config --link-libtool`
19089 as_fn_error $? "missing \"libapr\"" "$LINENO" 5 ;;
19096 case $CY_EXECUTE in #(
19099 for ac_header in ffi.h ffi/ffi.h
19101 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19102 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19103 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19104 cat >>confdefs.h <<_ACEOF
19105 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19112 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19118 $as_echo_n "checking for LIBFFI... " >&6; }
19120 if test -n "$LIBFFI_CFLAGS"; then
19121 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
19122 elif test -n "$PKG_CONFIG"; then
19123 if test -n "$PKG_CONFIG" && \
19124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19125 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19128 test $ac_status = 0; }; then
19129 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
19136 if test -n "$LIBFFI_LIBS"; then
19137 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
19138 elif test -n "$PKG_CONFIG"; then
19139 if test -n "$PKG_CONFIG" && \
19140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19141 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19144 test $ac_status = 0; }; then
19145 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
19155 if test $pkg_failed = yes; then
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19157 $as_echo "no" >&6; }
19159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19160 _pkg_short_errors_supported=yes
19162 _pkg_short_errors_supported=no
19164 if test $_pkg_short_errors_supported = yes; then
19165 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19167 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19169 # Put the nasty error message in config.log where it belongs
19170 echo "$LIBFFI_PKG_ERRORS" >&5
19172 as_fn_error $? "missing \"libffi\"" "$LINENO" 5
19173 elif test $pkg_failed = untried; then
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19175 $as_echo "no" >&6; }
19176 as_fn_error $? "missing \"libffi\"" "$LINENO" 5
19178 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
19179 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
19180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19181 $as_echo "yes" >&6; }
19184 for element in `$PKG_CONFIG --cflags libffi
`; do
19186 for x in $CXXFLAGS; do
19188 acl_save_prefix="$prefix"
19189 prefix="$acl_final_prefix"
19190 acl_save_exec_prefix="$exec_prefix"
19191 exec_prefix="$acl_final_exec_prefix"
19193 exec_prefix="$acl_save_exec_prefix"
19194 prefix="$acl_save_prefix"
19196 if test "X$x" = "X$element"; then
19201 if test -z "$haveit"; then
19202 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
19207 for element in `$PKG_CONFIG --libs libffi
`; do
19211 acl_save_prefix="$prefix"
19212 prefix="$acl_final_prefix"
19213 acl_save_exec_prefix="$exec_prefix"
19214 exec_prefix="$acl_final_exec_prefix"
19216 exec_prefix="$acl_save_exec_prefix"
19217 prefix="$acl_save_prefix"
19219 if test "X$x" = "X$element"; then
19224 if test -z "$haveit"; then
19225 LIBS="${LIBS}${LIBS:+ }$element"
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19235 $as_echo_n "checking for library containing ffi_call... " >&6; }
19236 if ${ac_cv_search_ffi_call+:} false; then :
19237 $as_echo_n "(cached) " >&6
19239 ac_func_search_save_LIBS=$LIBS
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h. */
19243 /* Override any GCC internal prototype to avoid an error.
19244 Use char because int might match the return type of a GCC
19245 builtin and then its argument prototype would still apply. */
19253 return ffi_call ();
19258 for ac_lib in '' ffi; do
19259 if test -z "$ac_lib"; then
19260 ac_res="none required"
19263 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19265 if ac_fn_cxx_try_link "$LINENO"; then :
19266 ac_cv_search_ffi_call=$ac_res
19268 rm -f core conftest.err conftest.$ac_objext \
19270 if ${ac_cv_search_ffi_call+:} false; then :
19274 if ${ac_cv_search_ffi_call+:} false; then :
19277 ac_cv_search_ffi_call=no
19279 rm conftest.$ac_ext
19280 LIBS=$ac_func_search_save_LIBS
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19283 $as_echo "$ac_cv_search_ffi_call" >&6; }
19284 ac_res=$ac_cv_search_ffi_call
19285 if test "$ac_res" != no; then :
19286 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19290 case $ac_cv_search_ffi_call in #(
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19296 $as_echo_n "checking for LIBFFI... " >&6; }
19298 if test -n "$LIBFFI_CFLAGS"; then
19299 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
19300 elif test -n "$PKG_CONFIG"; then
19301 if test -n "$PKG_CONFIG" && \
19302 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19303 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19306 test $ac_status = 0; }; then
19307 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
19314 if test -n "$LIBFFI_LIBS"; then
19315 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
19316 elif test -n "$PKG_CONFIG"; then
19317 if test -n "$PKG_CONFIG" && \
19318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19319 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19322 test $ac_status = 0; }; then
19323 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
19333 if test $pkg_failed = yes; then
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19335 $as_echo "no" >&6; }
19337 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19338 _pkg_short_errors_supported=yes
19340 _pkg_short_errors_supported=no
19342 if test $_pkg_short_errors_supported = yes; then
19343 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19345 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19347 # Put the nasty error message in config.log where it belongs
19348 echo "$LIBFFI_PKG_ERRORS" >&5
19350 as_fn_error $? "missing \"libffi\"" "$LINENO" 5
19351 elif test $pkg_failed = untried; then
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19353 $as_echo "no" >&6; }
19354 as_fn_error $? "missing \"libffi\"" "$LINENO" 5
19356 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
19357 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19359 $as_echo "yes" >&6; }
19362 for element in `$PKG_CONFIG --cflags libffi
`; do
19364 for x in $CXXFLAGS; do
19366 acl_save_prefix="$prefix"
19367 prefix="$acl_final_prefix"
19368 acl_save_exec_prefix="$exec_prefix"
19369 exec_prefix="$acl_final_exec_prefix"
19371 exec_prefix="$acl_save_exec_prefix"
19372 prefix="$acl_save_prefix"
19374 if test "X$x" = "X$element"; then
19379 if test -z "$haveit"; then
19380 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
19385 for element in `$PKG_CONFIG --libs libffi
`; do
19389 acl_save_prefix="$prefix"
19390 prefix="$acl_final_prefix"
19391 acl_save_exec_prefix="$exec_prefix"
19392 exec_prefix="$acl_final_exec_prefix"
19394 exec_prefix="$acl_save_exec_prefix"
19395 prefix="$acl_save_prefix"
19397 if test "X$x" = "X$element"; then
19402 if test -z "$haveit"; then
19403 LIBS="${LIBS}${LIBS:+ }$element"
19416 ac_cpp='$OBJCXXCPP $CPPFLAGS'
19417 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19418 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19419 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
19422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19423 $as_echo_n "checking if we really have Objective C++... " >&6; }
19424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h. */
19428 if ac_fn_objcxx_try_compile "$LINENO"; then :
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19432 $as_echo "yes" >&6; }
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19436 $as_echo "no" >&6; }
19438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19440 if test "x$CY_OBJECTIVEC" = x1; then :
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19444 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19445 if ${ac_cv_framework_CoreFoundation+:} false; then :
19446 $as_echo_n "(cached) " >&6
19449 ac_check_framework_save_LIBS=$LIBS
19450 LIBS="-framework CoreFoundation $LIBS"
19451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h. */
19454 #include <CoreFoundation/CFBase.h>
19459 CFAllocatorGetDefault();
19464 if ac_fn_objcxx_try_link "$LINENO"; then :
19466 ac_cv_framework_CoreFoundation=yes
19469 ac_cv_framework_CoreFoundation=no
19471 rm -f core conftest.err conftest.$ac_objext \
19472 conftest$ac_exeext conftest.$ac_ext
19473 LIBS=$ac_check_framework_save_LIBS
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19477 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19478 if test $ac_cv_framework_CoreFoundation = yes; then :
19481 for element in "-framework CoreFoundation $LIBS"; do
19485 acl_save_prefix="$prefix"
19486 prefix="$acl_final_prefix"
19487 acl_save_exec_prefix="$exec_prefix"
19488 exec_prefix="$acl_final_exec_prefix"
19490 exec_prefix="$acl_save_exec_prefix"
19491 prefix="$acl_save_prefix"
19493 if test "X$x" = "X$element"; then
19498 if test -z "$haveit"; then
19499 LIBS="${LIBS}${LIBS:+ }$element"
19508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19509 $as_echo_n "checking for framework Foundation... " >&6; }
19510 if ${ac_cv_framework_Foundation+:} false; then :
19511 $as_echo_n "(cached) " >&6
19514 ac_check_framework_save_LIBS=$LIBS
19515 LIBS="-framework Foundation $LIBS"
19516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19517 /* end confdefs.h. */
19519 #include <Foundation/NSObject.h>
19524 [[NSObject alloc] init];
19529 if ac_fn_objcxx_try_link "$LINENO"; then :
19531 ac_cv_framework_Foundation=yes
19534 ac_cv_framework_Foundation=no
19536 rm -f core conftest.err conftest.$ac_objext \
19537 conftest$ac_exeext conftest.$ac_ext
19538 LIBS=$ac_check_framework_save_LIBS
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19542 $as_echo "$ac_cv_framework_Foundation" >&6; }
19543 if test $ac_cv_framework_Foundation = yes; then :
19546 for element in "-framework Foundation $LIBS"; do
19550 acl_save_prefix="$prefix"
19551 prefix="$acl_final_prefix"
19552 acl_save_exec_prefix="$exec_prefix"
19553 exec_prefix="$acl_final_exec_prefix"
19555 exec_prefix="$acl_save_exec_prefix"
19556 prefix="$acl_save_prefix"
19558 if test "X$x" = "X$element"; then
19563 if test -z "$haveit"; then
19564 LIBS="${LIBS}${LIBS:+ }$element"
19568 cat >>confdefs.h <<_ACEOF
19569 #define HAVE_FRAMEWORK_FOUNDATION 1
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
19578 $as_echo_n "checking for framework WebKit... " >&6; }
19579 if ${ac_cv_framework_WebKit+:} false; then :
19580 $as_echo_n "(cached) " >&6
19583 ac_check_framework_save_LIBS=$LIBS
19584 LIBS="-framework WebKit $LIBS"
19585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19588 #include <WebKit/WebScriptObject.h>
19593 [[WebScriptObject alloc] init];
19598 if ac_fn_objcxx_try_link "$LINENO"; then :
19600 ac_cv_framework_WebKit=yes
19603 ac_cv_framework_WebKit=no
19605 rm -f core conftest.err conftest.$ac_objext \
19606 conftest$ac_exeext conftest.$ac_ext
19607 LIBS=$ac_check_framework_save_LIBS
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
19611 $as_echo "$ac_cv_framework_WebKit" >&6; }
19612 if test $ac_cv_framework_WebKit = yes; then :
19615 for element in "-framework WebKit $LIBS"; do
19619 acl_save_prefix="$prefix"
19620 prefix="$acl_final_prefix"
19621 acl_save_exec_prefix="$exec_prefix"
19622 exec_prefix="$acl_final_exec_prefix"
19624 exec_prefix="$acl_save_exec_prefix"
19625 prefix="$acl_save_prefix"
19627 if test "X$x" = "X$element"; then
19632 if test -z "$haveit"; then
19633 LIBS="${LIBS}${LIBS:+ }$element"
19637 cat >>confdefs.h <<_ACEOF
19638 #define HAVE_FRAMEWORK_WEBKIT 1
19648 for ac_prog in gnustep-config
19650 # Extract the first word of "$ac_prog", so it can be a program name with args.
19651 set dummy $ac_prog; ac_word=$2
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19653 $as_echo_n "checking for $ac_word... " >&6; }
19654 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false; then :
19655 $as_echo_n "(cached) " >&6
19657 if test -n "$GNUSTEP_CONFIG"; then
19658 ac_cv_prog_GNUSTEP_CONFIG="$GNUSTEP_CONFIG" # Let the user override the test.
19660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19661 for as_dir in $PATH
19664 test -z "$as_dir" && as_dir=.
19665 for ac_exec_ext in '' $ac_executable_extensions; do
19666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19667 ac_cv_prog_GNUSTEP_CONFIG="$ac_prog"
19668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19677 GNUSTEP_CONFIG=$ac_cv_prog_GNUSTEP_CONFIG
19678 if test -n "$GNUSTEP_CONFIG"; then
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19680 $as_echo "$GNUSTEP_CONFIG" >&6; }
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19683 $as_echo "no" >&6; }
19687 test -n "$GNUSTEP_CONFIG" && break
19691 if test "x$GNUSTEP_CONFIG" != x; then :
19695 for element in `$GNUSTEP_CONFIG --objc-flags`; do
19697 for x in $OBJCXXFLAGS; do
19699 acl_save_prefix="$prefix"
19700 prefix="$acl_final_prefix"
19701 acl_save_exec_prefix="$exec_prefix"
19702 exec_prefix="$acl_final_exec_prefix"
19704 exec_prefix="$acl_save_exec_prefix"
19705 prefix="$acl_save_prefix"
19707 if test "X$x" = "X$element"; then
19712 if test -z "$haveit"; then
19713 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19718 for element in `$GNUSTEP_CONFIG --base-libs`; do
19722 acl_save_prefix="$prefix"
19723 prefix="$acl_final_prefix"
19724 acl_save_exec_prefix="$exec_prefix"
19725 exec_prefix="$acl_final_exec_prefix"
19727 exec_prefix="$acl_save_exec_prefix"
19728 prefix="$acl_save_prefix"
19730 if test "X$x" = "X$element"; then
19735 if test -z "$haveit"; then
19736 LIBS="${LIBS}${LIBS:+ }$element"
19751 ac_cpp='$CXXCPP $CPPFLAGS'
19752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19763 $as_echo_n "checking for a readline compatible library... " >&6; }
19764 if ${ax_cv_lib_readline+:} false; then :
19765 $as_echo_n "(cached) " >&6
19769 for readline_lib in readline edit editline; do
19770 for termcap_lib in "" termcap curses ncurses; do
19771 if test -z "$termcap_lib"; then
19772 TRY_LIB="-l$readline_lib"
19774 TRY_LIB="-l$readline_lib -l$termcap_lib"
19776 LIBS="$ORIG_LIBS $TRY_LIB"
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19780 /* Override any GCC internal prototype to avoid an error.
19781 Use char because int might match the return type of a GCC
19782 builtin and then its argument prototype would still apply. */
19790 return readline ();
19795 if ac_fn_cxx_try_link "$LINENO"; then :
19796 ax_cv_lib_readline="$TRY_LIB"
19798 rm -f core conftest.err conftest.$ac_objext \
19799 conftest$ac_exeext conftest.$ac_ext
19800 if test -n "$ax_cv_lib_readline"; then
19804 if test -n "$ax_cv_lib_readline"; then
19808 if test -z "$ax_cv_lib_readline"; then
19809 ax_cv_lib_readline="no"
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19815 $as_echo "$ax_cv_lib_readline" >&6; }
19817 if test "$ax_cv_lib_readline" != "no"; then
19818 LIBS="$LIBS $ax_cv_lib_readline"
19820 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19822 for ac_header in readline.h readline/readline.h
19824 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19825 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19826 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19827 cat >>confdefs.h <<_ACEOF
19828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19836 $as_echo_n "checking whether readline supports history... " >&6; }
19837 if ${ax_cv_lib_readline_history+:} false; then :
19838 $as_echo_n "(cached) " >&6
19841 ax_cv_lib_readline_history="no"
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19845 /* Override any GCC internal prototype to avoid an error.
19846 Use char because int might match the return type of a GCC
19847 builtin and then its argument prototype would still apply. */
19851 char add_history ();
19855 return add_history ();
19860 if ac_fn_cxx_try_link "$LINENO"; then :
19861 ax_cv_lib_readline_history="yes"
19863 rm -f core conftest.err conftest.$ac_objext \
19864 conftest$ac_exeext conftest.$ac_ext
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
19868 $as_echo "$ax_cv_lib_readline_history" >&6; }
19869 if test "$ax_cv_lib_readline_history" = "yes"; then
19871 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
19873 for ac_header in history.h readline/history.h
19875 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19876 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19877 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19878 cat >>confdefs.h <<_ACEOF
19879 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19889 case $vl_cv_lib_readline in #(
19891 as_fn_error $? "missing \"libreadline\"" "$LINENO" 5 ;; #(
19897 ac_cpp='$CPP $CPPFLAGS'
19898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19903 if test "X$prefix" = "XNONE"; then
19904 acl_final_prefix="$ac_default_prefix"
19906 acl_final_prefix="$prefix"
19908 if test "X$exec_prefix" = "XNONE"; then
19909 acl_final_exec_prefix='${prefix}'
19911 acl_final_exec_prefix="$exec_prefix"
19913 acl_save_prefix="$prefix"
19914 prefix="$acl_final_prefix"
19915 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
19916 prefix="$acl_save_prefix"
19920 # Check whether --with-gnu-ld was given.
19921 if test "${with_gnu_ld+set}" = set; then :
19922 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19927 # Prepare PATH_SEPARATOR.
19928 # The user is always right.
19929 if test "${PATH_SEPARATOR+set}" != set; then
19930 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
19931 # contains only /bin. Note that ksh looks also at the FPATH variable,
19932 # so we have to set that as well for the test.
19934 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
19935 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
19936 || PATH_SEPARATOR=';'
19941 if test "$GCC" = yes; then
19942 # Check if gcc -print-prog-name=ld gives a path.
19943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19944 $as_echo_n "checking for ld used by $CC... " >&6; }
19947 # gcc leaves a trailing carriage return which upsets mingw
19948 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
19950 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
19953 # Accept absolute paths.
19955 re_direlt='/[^/][^/]*/\.\./'
19956 # Canonicalize the pathname of ld
19957 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
19958 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
19959 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
19961 test -z "$LD" && LD="$ac_prog"
19964 # If it fails, then pretend we aren't using GCC.
19968 # If it is relative, then search for the first ld in PATH.
19969 with_gnu_ld=unknown
19972 elif test "$with_gnu_ld" = yes; then
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19974 $as_echo_n "checking for GNU ld... " >&6; }
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19977 $as_echo_n "checking for non-GNU ld... " >&6; }
19979 if ${acl_cv_path_LD+:} false; then :
19980 $as_echo_n "(cached) " >&6
19982 if test -z "$LD"; then
19983 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19984 for ac_dir in $PATH; do
19985 IFS="$acl_save_ifs"
19986 test -z "$ac_dir" && ac_dir=.
19987 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19988 acl_cv_path_LD="$ac_dir/$ac_prog"
19989 # Check to see if the program is GNU ld. I'd rather use --version,
19990 # but apparently some variants of GNU ld only accept -v.
19991 # Break only if it was the GNU/non-GNU ld that we prefer.
19992 case `"$acl_cv_path_LD" -v 2>&1 </dev
/null
` in
19993 *GNU* | *'with BFD'*)
19994 test "$with_gnu_ld" != no && break
19997 test "$with_gnu_ld" != yes && break
20002 IFS="$acl_save_ifs"
20004 acl_cv_path_LD="$LD" # Let the user override the test with a path.
20008 LD="$acl_cv_path_LD"
20009 if test -n "$LD"; then
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20011 $as_echo "$LD" >&6; }
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20014 $as_echo "no" >&6; }
20016 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
20017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20018 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20019 if ${acl_cv_prog_gnu_ld+:} false; then :
20020 $as_echo_n "(cached) " >&6
20022 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20023 case `$LD -v 2>&1 </dev
/null
` in
20024 *GNU* | *'with BFD'*)
20025 acl_cv_prog_gnu_ld=yes
20028 acl_cv_prog_gnu_ld=no
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
20033 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
20034 with_gnu_ld=$acl_cv_prog_gnu_ld
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
20040 $as_echo_n "checking for shared library run path origin... " >&6; }
20041 if ${acl_cv_rpath+:} false; then :
20042 $as_echo_n "(cached) " >&6
20045 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
20046 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
20048 rm -f ./conftest.sh
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
20053 $as_echo "$acl_cv_rpath" >&6; }
20055 acl_libext="$acl_cv_libext"
20056 acl_shlibext="$acl_cv_shlibext"
20057 acl_libname_spec="$acl_cv_libname_spec"
20058 acl_library_names_spec="$acl_cv_library_names_spec"
20059 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
20060 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
20061 acl_hardcode_direct="$acl_cv_hardcode_direct"
20062 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
20063 # Check whether --enable-rpath was given.
20064 if test "${enable_rpath+set}" = set; then :
20065 enableval=$enable_rpath; :
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
20078 $as_echo_n "checking for 64-bit host... " >&6; }
20079 if ${gl_cv_solaris_64bit+:} false; then :
20080 $as_echo_n "(cached) " >&6
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20091 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
20092 gl_cv_solaris_64bit=yes
20094 gl_cv_solaris_64bit=no
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
20101 $as_echo "$gl_cv_solaris_64bit" >&6; }
20102 if test $gl_cv_solaris_64bit = yes; then
20103 acl_libdirstem=lib/64
20104 case "$host_cpu" in
20105 sparc*) acl_libdirstem2=lib/sparcv9 ;;
20106 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
20111 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
20112 if test -n "$searchpath"; then
20113 acl_save_IFS="${IFS= }"; IFS=":"
20114 for searchdir in $searchpath; do
20115 if test -d "$searchdir"; then
20116 case "$searchdir" in
20117 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
20119 # Better ignore directories of this form. They are misleading.
20121 *) searchdir=`cd "$searchdir" && pwd`
20122 case "$searchdir" in
20123 */lib64 ) acl_libdirstem=lib64 ;;
20128 IFS="$acl_save_IFS"
20132 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
20147 acl_save_prefix="$prefix"
20148 prefix="$acl_final_prefix"
20149 acl_save_exec_prefix="$exec_prefix"
20150 exec_prefix="$acl_final_exec_prefix"
20152 eval additional_includedir=\"$includedir\"
20153 eval additional_libdir=\"$libdir\"
20155 exec_prefix="$acl_save_exec_prefix"
20156 prefix="$acl_save_prefix"
20159 # Check whether --with-libiconv-prefix was given.
20160 if test "${with_libiconv_prefix+set}" = set; then :
20161 withval=$with_libiconv_prefix;
20162 if test "X$withval" = "Xno"; then
20165 if test "X$withval" = "X"; then
20167 acl_save_prefix="$prefix"
20168 prefix="$acl_final_prefix"
20169 acl_save_exec_prefix="$exec_prefix"
20170 exec_prefix="$acl_final_exec_prefix"
20172 eval additional_includedir=\"$includedir\"
20173 eval additional_libdir=\"$libdir\"
20175 exec_prefix="$acl_save_exec_prefix"
20176 prefix="$acl_save_prefix"
20179 additional_includedir="$withval/include"
20180 additional_libdir="$withval/$acl_libdirstem"
20181 if test "$acl_libdirstem2" != "$acl_libdirstem" \
20182 && ! test -d "$withval/$acl_libdirstem"; then
20183 additional_libdir="$withval/$acl_libdirstem2"
20197 names_already_handled=
20198 names_next_round='iconv '
20199 while test -n "$names_next_round"; do
20200 names_this_round="$names_next_round"
20202 for name in $names_this_round; do
20204 for n in $names_already_handled; do
20205 if test "$n" = "$name"; then
20206 already_handled=yes
20210 if test -z "$already_handled"; then
20211 names_already_handled="$names_already_handled $name"
20212 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
20213 eval value=\"\$HAVE_LIB$uppername\"
20214 if test -n "$value"; then
20215 if test "$value" = yes; then
20216 eval value=\"\$LIB$uppername\"
20217 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
20218 eval value=\"\$LTLIB$uppername\"
20219 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
20228 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
20229 if test -n "$acl_shlibext"; then
20230 shrext=".$acl_shlibext" # typically: shrext=.so
20234 if test $use_additional = yes; then
20235 dir="$additional_libdir"
20236 if test -n "$acl_shlibext"; then
20237 if test -f "$dir/$libname$shrext"; then
20239 found_so="$dir/$libname$shrext"
20241 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20242 ver=`(cd "$dir" && \
20243 for f
in "$libname$shrext".
*; do echo "$f"; done \
20244 | sed -e "s,^$libname$shrext\\\\.,," \
20245 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20246 | sed 1q
) 2>/dev
/null
`
20247 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20249 found_so="$dir/$libname$shrext.$ver"
20252 eval library_names=\"$acl_library_names_spec\"
20253 for f in $library_names; do
20254 if test -f "$dir/$f"; then
20263 if test "X$found_dir" = "X"; then
20264 if test -f "$dir/$libname.$acl_libext"; then
20266 found_a="$dir/$libname.$acl_libext"
20269 if test "X$found_dir" != "X"; then
20270 if test -f "$dir/$libname.la"; then
20271 found_la="$dir/$libname.la"
20275 if test "X$found_dir" = "X"; then
20276 for x in $LDFLAGS $LTLIBICONV; do
20278 acl_save_prefix="$prefix"
20279 prefix="$acl_final_prefix"
20280 acl_save_exec_prefix="$exec_prefix"
20281 exec_prefix="$acl_final_exec_prefix"
20283 exec_prefix="$acl_save_exec_prefix"
20284 prefix="$acl_save_prefix"
20288 dir=`echo "X$x" | sed -e 's/^X-L//'`
20289 if test -n "$acl_shlibext"; then
20290 if test -f "$dir/$libname$shrext"; then
20292 found_so="$dir/$libname$shrext"
20294 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20295 ver=`(cd "$dir" && \
20296 for f
in "$libname$shrext".
*; do echo "$f"; done \
20297 | sed -e "s,^$libname$shrext\\\\.,," \
20298 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20299 | sed 1q
) 2>/dev
/null
`
20300 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20302 found_so="$dir/$libname$shrext.$ver"
20305 eval library_names=\"$acl_library_names_spec\"
20306 for f in $library_names; do
20307 if test -f "$dir/$f"; then
20316 if test "X$found_dir" = "X"; then
20317 if test -f "$dir/$libname.$acl_libext"; then
20319 found_a="$dir/$libname.$acl_libext"
20322 if test "X$found_dir" != "X"; then
20323 if test -f "$dir/$libname.la"; then
20324 found_la="$dir/$libname.la"
20329 if test "X$found_dir" != "X"; then
20334 if test "X$found_dir" != "X"; then
20335 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
20336 if test "X$found_so" != "X"; then
20337 if test "$enable_rpath" = no \
20338 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
20339 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
20340 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20343 for x in $ltrpathdirs; do
20344 if test "X$x" = "X$found_dir"; then
20349 if test -z "$haveit"; then
20350 ltrpathdirs="$ltrpathdirs $found_dir"
20352 if test "$acl_hardcode_direct" = yes; then
20353 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20355 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
20356 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20358 for x in $rpathdirs; do
20359 if test "X$x" = "X$found_dir"; then
20364 if test -z "$haveit"; then
20365 rpathdirs="$rpathdirs $found_dir"
20369 for x in $LDFLAGS $LIBICONV; do
20371 acl_save_prefix="$prefix"
20372 prefix="$acl_final_prefix"
20373 acl_save_exec_prefix="$exec_prefix"
20374 exec_prefix="$acl_final_exec_prefix"
20376 exec_prefix="$acl_save_exec_prefix"
20377 prefix="$acl_save_prefix"
20379 if test "X$x" = "X-L$found_dir"; then
20384 if test -z "$haveit"; then
20385 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20387 if test "$acl_hardcode_minus_L" != no; then
20388 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
20390 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
20396 if test "X$found_a" != "X"; then
20397 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
20399 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20402 additional_includedir=
20403 case "$found_dir" in
20404 */$acl_libdirstem | */$acl_libdirstem/)
20405 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
20406 if test "$name" = 'iconv'; then
20407 LIBICONV_PREFIX="$basedir"
20409 additional_includedir="$basedir/include"
20411 */$acl_libdirstem2 | */$acl_libdirstem2/)
20412 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
20413 if test "$name" = 'iconv'; then
20414 LIBICONV_PREFIX="$basedir"
20416 additional_includedir="$basedir/include"
20419 if test "X$additional_includedir" != "X"; then
20420 if test "X$additional_includedir" != "X/usr/include"; then
20422 if test "X$additional_includedir" = "X/usr/local/include"; then
20423 if test -n "$GCC"; then
20425 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
20429 if test -z "$haveit"; then
20430 for x in $CPPFLAGS $INCICONV; do
20432 acl_save_prefix="$prefix"
20433 prefix="$acl_final_prefix"
20434 acl_save_exec_prefix="$exec_prefix"
20435 exec_prefix="$acl_final_exec_prefix"
20437 exec_prefix="$acl_save_exec_prefix"
20438 prefix="$acl_save_prefix"
20440 if test "X$x" = "X-I$additional_includedir"; then
20445 if test -z "$haveit"; then
20446 if test -d "$additional_includedir"; then
20447 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20453 if test -n "$found_la"; then
20454 save_libdir="$libdir"
20455 case "$found_la" in
20456 */* | *\\*) . "$found_la" ;;
20457 *) . "./$found_la" ;;
20459 libdir="$save_libdir"
20460 for dep in $dependency_libs; do
20463 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
20464 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
20465 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
20467 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
20468 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
20469 if test -n "$GCC"; then
20471 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
20475 if test -z "$haveit"; then
20477 for x in $LDFLAGS $LIBICONV; do
20479 acl_save_prefix="$prefix"
20480 prefix="$acl_final_prefix"
20481 acl_save_exec_prefix="$exec_prefix"
20482 exec_prefix="$acl_final_exec_prefix"
20484 exec_prefix="$acl_save_exec_prefix"
20485 prefix="$acl_save_prefix"
20487 if test "X$x" = "X-L$additional_libdir"; then
20492 if test -z "$haveit"; then
20493 if test -d "$additional_libdir"; then
20494 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20498 for x in $LDFLAGS $LTLIBICONV; do
20500 acl_save_prefix="$prefix"
20501 prefix="$acl_final_prefix"
20502 acl_save_exec_prefix="$exec_prefix"
20503 exec_prefix="$acl_final_exec_prefix"
20505 exec_prefix="$acl_save_exec_prefix"
20506 prefix="$acl_save_prefix"
20508 if test "X$x" = "X-L$additional_libdir"; then
20513 if test -z "$haveit"; then
20514 if test -d "$additional_libdir"; then
20515 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20522 dir=`echo "X$dep" | sed -e 's/^X-R//'`
20523 if test "$enable_rpath" != no; then
20525 for x in $rpathdirs; do
20526 if test "X$x" = "X$dir"; then
20531 if test -z "$haveit"; then
20532 rpathdirs="$rpathdirs $dir"
20535 for x in $ltrpathdirs; do
20536 if test "X$x" = "X$dir"; then
20541 if test -z "$haveit"; then
20542 ltrpathdirs="$ltrpathdirs $dir"
20547 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20550 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20553 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
20554 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20560 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
20561 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20567 if test "X$rpathdirs" != "X"; then
20568 if test -n "$acl_hardcode_libdir_separator"; then
20570 for found_dir in $rpathdirs; do
20571 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
20573 acl_save_libdir="$libdir"
20575 eval flag=\"$acl_hardcode_libdir_flag_spec\"
20576 libdir="$acl_save_libdir"
20577 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
20579 for found_dir in $rpathdirs; do
20580 acl_save_libdir="$libdir"
20581 libdir="$found_dir"
20582 eval flag=\"$acl_hardcode_libdir_flag_spec\"
20583 libdir="$acl_save_libdir"
20584 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
20588 if test "X$ltrpathdirs" != "X"; then
20589 for found_dir in $ltrpathdirs; do
20590 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20605 am_save_CPPFLAGS="$CPPFLAGS"
20607 for element in $INCICONV; do
20609 for x in $CPPFLAGS; do
20611 acl_save_prefix="$prefix"
20612 prefix="$acl_final_prefix"
20613 acl_save_exec_prefix="$exec_prefix"
20614 exec_prefix="$acl_final_exec_prefix"
20616 exec_prefix="$acl_save_exec_prefix"
20617 prefix="$acl_save_prefix"
20619 if test "X$x" = "X$element"; then
20624 if test -z "$haveit"; then
20625 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
20631 $as_echo_n "checking for iconv... " >&6; }
20632 if ${am_cv_func_iconv+:} false; then :
20633 $as_echo_n "(cached) " >&6
20636 am_cv_func_iconv="no, consider installing GNU libiconv"
20638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20639 /* end confdefs.h. */
20641 #include <stdlib.h>
20647 iconv_t cd = iconv_open("","");
20648 iconv(cd,NULL,NULL,NULL,NULL);
20654 if ac_fn_c_try_link "$LINENO"; then :
20655 am_cv_func_iconv=yes
20657 rm -f core conftest.err conftest.$ac_objext \
20658 conftest$ac_exeext conftest.$ac_ext
20659 if test "$am_cv_func_iconv" != yes; then
20660 am_save_LIBS="$LIBS"
20661 LIBS="$LIBS $LIBICONV"
20662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20663 /* end confdefs.h. */
20665 #include <stdlib.h>
20671 iconv_t cd = iconv_open("","");
20672 iconv(cd,NULL,NULL,NULL,NULL);
20678 if ac_fn_c_try_link "$LINENO"; then :
20679 am_cv_lib_iconv=yes
20680 am_cv_func_iconv=yes
20682 rm -f core conftest.err conftest.$ac_objext \
20683 conftest$ac_exeext conftest.$ac_ext
20684 LIBS="$am_save_LIBS"
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
20689 $as_echo "$am_cv_func_iconv" >&6; }
20690 if test "$am_cv_func_iconv" = yes; then
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
20692 $as_echo_n "checking for working iconv... " >&6; }
20693 if ${am_cv_func_iconv_works+:} false; then :
20694 $as_echo_n "(cached) " >&6
20697 am_save_LIBS="$LIBS"
20698 if test $am_cv_lib_iconv = yes; then
20699 LIBS="$LIBS $LIBICONV"
20701 if test "$cross_compiling" = yes; then :
20704 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
20705 *) am_cv_func_iconv_works="guessing yes" ;;
20709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20710 /* end confdefs.h. */
20713 #include <string.h>
20717 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
20720 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
20721 if (cd_utf8_to_88591 != (iconv_t)(-1))
20723 static const char input[] = "\342\202\254"; /* EURO SIGN */
20725 const char *inptr = input;
20726 size_t inbytesleft = strlen (input);
20727 char *outptr = buf;
20728 size_t outbytesleft = sizeof (buf);
20729 size_t res = iconv (cd_utf8_to_88591,
20730 (char **) &inptr, &inbytesleft,
20731 &outptr, &outbytesleft);
20734 iconv_close (cd_utf8_to_88591);
20737 /* Test against Solaris 10 bug: Failures are not distinguishable from
20738 successful returns. */
20740 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
20741 if (cd_ascii_to_88591 != (iconv_t)(-1))
20743 static const char input[] = "\263";
20745 const char *inptr = input;
20746 size_t inbytesleft = strlen (input);
20747 char *outptr = buf;
20748 size_t outbytesleft = sizeof (buf);
20749 size_t res = iconv (cd_ascii_to_88591,
20750 (char **) &inptr, &inbytesleft,
20751 &outptr, &outbytesleft);
20754 iconv_close (cd_ascii_to_88591);
20757 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
20759 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
20760 if (cd_88591_to_utf8 != (iconv_t)(-1))
20762 static const char input[] = "\304";
20763 static char buf[2] = { (char)0xDE, (char)0xAD };
20764 const char *inptr = input;
20765 size_t inbytesleft = 1;
20766 char *outptr = buf;
20767 size_t outbytesleft = 1;
20768 size_t res = iconv (cd_88591_to_utf8,
20769 (char **) &inptr, &inbytesleft,
20770 &outptr, &outbytesleft);
20771 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
20773 iconv_close (cd_88591_to_utf8);
20776 #if 0 /* This bug could be worked around by the caller. */
20777 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
20779 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
20780 if (cd_88591_to_utf8 != (iconv_t)(-1))
20782 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
20784 const char *inptr = input;
20785 size_t inbytesleft = strlen (input);
20786 char *outptr = buf;
20787 size_t outbytesleft = sizeof (buf);
20788 size_t res = iconv (cd_88591_to_utf8,
20789 (char **) &inptr, &inbytesleft,
20790 &outptr, &outbytesleft);
20793 iconv_close (cd_88591_to_utf8);
20797 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
20799 if (/* Try standardized names. */
20800 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
20801 /* Try IRIX, OSF/1 names. */
20802 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
20803 /* Try AIX names. */
20804 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
20805 /* Try HP-UX names. */
20806 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
20811 if ac_fn_c_try_run "$LINENO"; then :
20812 am_cv_func_iconv_works=yes
20814 am_cv_func_iconv_works=no
20816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20817 conftest.$ac_objext conftest.beam conftest.$ac_ext
20820 LIBS="$am_save_LIBS"
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
20824 $as_echo "$am_cv_func_iconv_works" >&6; }
20825 case "$am_cv_func_iconv_works" in
20826 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
20827 *) am_func_iconv=yes ;;
20830 am_func_iconv=no am_cv_lib_iconv=no
20832 if test "$am_func_iconv" = yes; then
20834 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
20837 if test "$am_cv_lib_iconv" = yes; then
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
20839 $as_echo_n "checking how to link with libiconv... " >&6; }
20840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
20841 $as_echo "$LIBICONV" >&6; }
20843 CPPFLAGS="$am_save_CPPFLAGS"
20850 if test "$am_cv_func_iconv" = yes; then
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
20852 $as_echo_n "checking for iconv declaration... " >&6; }
20853 if ${am_cv_proto_iconv+:} false; then :
20854 $as_echo_n "(cached) " >&6
20857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20860 #include <stdlib.h>
20866 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
20867 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
20880 if ac_fn_c_try_compile "$LINENO"; then :
20881 am_cv_proto_iconv_arg1=""
20883 am_cv_proto_iconv_arg1="const"
20885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20886 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);"
20889 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
20891 $am_cv_proto_iconv" >&5
20893 $am_cv_proto_iconv" >&6; }
20895 cat >>confdefs.h <<_ACEOF
20896 #define ICONV_CONST $am_cv_proto_iconv_arg1
20902 case $am_cv_func_iconv in #(
20907 for cy_iconv_prefix_arg in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
20908 case $cy_iconv_prefix_arg in #(
20912 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
20914 for x in $cy_iconv_prefixes; do
20916 acl_save_prefix="$prefix"
20917 prefix="$acl_final_prefix"
20918 acl_save_exec_prefix="$exec_prefix"
20919 exec_prefix="$acl_final_exec_prefix"
20921 exec_prefix="$acl_save_exec_prefix"
20922 prefix="$acl_save_prefix"
20924 if test "X$x" = "X$element"; then
20929 if test -z "$haveit"; then
20930 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
20938 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
20940 for x in $cy_iconv_prefixes; do
20942 acl_save_prefix="$prefix"
20943 prefix="$acl_final_prefix"
20944 acl_save_exec_prefix="$exec_prefix"
20945 exec_prefix="$acl_final_exec_prefix"
20947 exec_prefix="$acl_save_exec_prefix"
20948 prefix="$acl_save_prefix"
20950 if test "X$x" = "X$element"; then
20955 if test -z "$haveit"; then
20956 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
20965 for with_libiconv_prefix in $cy_iconv_prefixes; do
20966 { am_cv_func_iconv=; unset am_cv_func_iconv;}
20980 acl_save_prefix="$prefix"
20981 prefix="$acl_final_prefix"
20982 acl_save_exec_prefix="$exec_prefix"
20983 exec_prefix="$acl_final_exec_prefix"
20985 eval additional_includedir=\"$includedir\"
20986 eval additional_libdir=\"$libdir\"
20988 exec_prefix="$acl_save_exec_prefix"
20989 prefix="$acl_save_prefix"
20992 # Check whether --with-libiconv-prefix was given.
20993 if test "${with_libiconv_prefix+set}" = set; then :
20994 withval=$with_libiconv_prefix;
20995 if test "X$withval" = "Xno"; then
20998 if test "X$withval" = "X"; then
21000 acl_save_prefix="$prefix"
21001 prefix="$acl_final_prefix"
21002 acl_save_exec_prefix="$exec_prefix"
21003 exec_prefix="$acl_final_exec_prefix"
21005 eval additional_includedir=\"$includedir\"
21006 eval additional_libdir=\"$libdir\"
21008 exec_prefix="$acl_save_exec_prefix"
21009 prefix="$acl_save_prefix"
21012 additional_includedir="$withval/include"
21013 additional_libdir="$withval/$acl_libdirstem"
21014 if test "$acl_libdirstem2" != "$acl_libdirstem" \
21015 && ! test -d "$withval/$acl_libdirstem"; then
21016 additional_libdir="$withval/$acl_libdirstem2"
21030 names_already_handled=
21031 names_next_round='iconv '
21032 while test -n "$names_next_round"; do
21033 names_this_round="$names_next_round"
21035 for name in $names_this_round; do
21037 for n in $names_already_handled; do
21038 if test "$n" = "$name"; then
21039 already_handled=yes
21043 if test -z "$already_handled"; then
21044 names_already_handled="$names_already_handled $name"
21045 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
21046 eval value=\"\$HAVE_LIB$uppername\"
21047 if test -n "$value"; then
21048 if test "$value" = yes; then
21049 eval value=\"\$LIB$uppername\"
21050 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
21051 eval value=\"\$LTLIB$uppername\"
21052 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
21061 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
21062 if test -n "$acl_shlibext"; then
21063 shrext=".$acl_shlibext" # typically: shrext=.so
21067 if test $use_additional = yes; then
21068 dir="$additional_libdir"
21069 if test -n "$acl_shlibext"; then
21070 if test -f "$dir/$libname$shrext"; then
21072 found_so="$dir/$libname$shrext"
21074 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21075 ver=`(cd "$dir" && \
21076 for f
in "$libname$shrext".
*; do echo "$f"; done \
21077 | sed -e "s,^$libname$shrext\\\\.,," \
21078 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21079 | sed 1q
) 2>/dev
/null
`
21080 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21082 found_so="$dir/$libname$shrext.$ver"
21085 eval library_names=\"$acl_library_names_spec\"
21086 for f in $library_names; do
21087 if test -f "$dir/$f"; then
21096 if test "X$found_dir" = "X"; then
21097 if test -f "$dir/$libname.$acl_libext"; then
21099 found_a="$dir/$libname.$acl_libext"
21102 if test "X$found_dir" != "X"; then
21103 if test -f "$dir/$libname.la"; then
21104 found_la="$dir/$libname.la"
21108 if test "X$found_dir" = "X"; then
21109 for x in $LDFLAGS $LTLIBICONV; do
21111 acl_save_prefix="$prefix"
21112 prefix="$acl_final_prefix"
21113 acl_save_exec_prefix="$exec_prefix"
21114 exec_prefix="$acl_final_exec_prefix"
21116 exec_prefix="$acl_save_exec_prefix"
21117 prefix="$acl_save_prefix"
21121 dir=`echo "X$x" | sed -e 's/^X-L//'`
21122 if test -n "$acl_shlibext"; then
21123 if test -f "$dir/$libname$shrext"; then
21125 found_so="$dir/$libname$shrext"
21127 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21128 ver=`(cd "$dir" && \
21129 for f
in "$libname$shrext".
*; do echo "$f"; done \
21130 | sed -e "s,^$libname$shrext\\\\.,," \
21131 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21132 | sed 1q
) 2>/dev
/null
`
21133 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21135 found_so="$dir/$libname$shrext.$ver"
21138 eval library_names=\"$acl_library_names_spec\"
21139 for f in $library_names; do
21140 if test -f "$dir/$f"; then
21149 if test "X$found_dir" = "X"; then
21150 if test -f "$dir/$libname.$acl_libext"; then
21152 found_a="$dir/$libname.$acl_libext"
21155 if test "X$found_dir" != "X"; then
21156 if test -f "$dir/$libname.la"; then
21157 found_la="$dir/$libname.la"
21162 if test "X$found_dir" != "X"; then
21167 if test "X$found_dir" != "X"; then
21168 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21169 if test "X$found_so" != "X"; then
21170 if test "$enable_rpath" = no \
21171 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
21172 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
21173 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21176 for x in $ltrpathdirs; do
21177 if test "X$x" = "X$found_dir"; then
21182 if test -z "$haveit"; then
21183 ltrpathdirs="$ltrpathdirs $found_dir"
21185 if test "$acl_hardcode_direct" = yes; then
21186 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21188 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
21189 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21191 for x in $rpathdirs; do
21192 if test "X$x" = "X$found_dir"; then
21197 if test -z "$haveit"; then
21198 rpathdirs="$rpathdirs $found_dir"
21202 for x in $LDFLAGS $LIBICONV; do
21204 acl_save_prefix="$prefix"
21205 prefix="$acl_final_prefix"
21206 acl_save_exec_prefix="$exec_prefix"
21207 exec_prefix="$acl_final_exec_prefix"
21209 exec_prefix="$acl_save_exec_prefix"
21210 prefix="$acl_save_prefix"
21212 if test "X$x" = "X-L$found_dir"; then
21217 if test -z "$haveit"; then
21218 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21220 if test "$acl_hardcode_minus_L" != no; then
21221 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21223 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21229 if test "X$found_a" != "X"; then
21230 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
21232 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21235 additional_includedir=
21236 case "$found_dir" in
21237 */$acl_libdirstem | */$acl_libdirstem/)
21238 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
21239 if test "$name" = 'iconv'; then
21240 LIBICONV_PREFIX="$basedir"
21242 additional_includedir="$basedir/include"
21244 */$acl_libdirstem2 | */$acl_libdirstem2/)
21245 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
21246 if test "$name" = 'iconv'; then
21247 LIBICONV_PREFIX="$basedir"
21249 additional_includedir="$basedir/include"
21252 if test "X$additional_includedir" != "X"; then
21253 if test "X$additional_includedir" != "X/usr/include"; then
21255 if test "X$additional_includedir" = "X/usr/local/include"; then
21256 if test -n "$GCC"; then
21258 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
21262 if test -z "$haveit"; then
21263 for x in $CPPFLAGS $INCICONV; do
21265 acl_save_prefix="$prefix"
21266 prefix="$acl_final_prefix"
21267 acl_save_exec_prefix="$exec_prefix"
21268 exec_prefix="$acl_final_exec_prefix"
21270 exec_prefix="$acl_save_exec_prefix"
21271 prefix="$acl_save_prefix"
21273 if test "X$x" = "X-I$additional_includedir"; then
21278 if test -z "$haveit"; then
21279 if test -d "$additional_includedir"; then
21280 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21286 if test -n "$found_la"; then
21287 save_libdir="$libdir"
21288 case "$found_la" in
21289 */* | *\\*) . "$found_la" ;;
21290 *) . "./$found_la" ;;
21292 libdir="$save_libdir"
21293 for dep in $dependency_libs; do
21296 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
21297 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
21298 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
21300 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
21301 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
21302 if test -n "$GCC"; then
21304 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
21308 if test -z "$haveit"; then
21310 for x in $LDFLAGS $LIBICONV; do
21312 acl_save_prefix="$prefix"
21313 prefix="$acl_final_prefix"
21314 acl_save_exec_prefix="$exec_prefix"
21315 exec_prefix="$acl_final_exec_prefix"
21317 exec_prefix="$acl_save_exec_prefix"
21318 prefix="$acl_save_prefix"
21320 if test "X$x" = "X-L$additional_libdir"; then
21325 if test -z "$haveit"; then
21326 if test -d "$additional_libdir"; then
21327 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21331 for x in $LDFLAGS $LTLIBICONV; do
21333 acl_save_prefix="$prefix"
21334 prefix="$acl_final_prefix"
21335 acl_save_exec_prefix="$exec_prefix"
21336 exec_prefix="$acl_final_exec_prefix"
21338 exec_prefix="$acl_save_exec_prefix"
21339 prefix="$acl_save_prefix"
21341 if test "X$x" = "X-L$additional_libdir"; then
21346 if test -z "$haveit"; then
21347 if test -d "$additional_libdir"; then
21348 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21355 dir=`echo "X$dep" | sed -e 's/^X-R//'`
21356 if test "$enable_rpath" != no; then
21358 for x in $rpathdirs; do
21359 if test "X$x" = "X$dir"; then
21364 if test -z "$haveit"; then
21365 rpathdirs="$rpathdirs $dir"
21368 for x in $ltrpathdirs; do
21369 if test "X$x" = "X$dir"; then
21374 if test -z "$haveit"; then
21375 ltrpathdirs="$ltrpathdirs $dir"
21380 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21383 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21386 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
21387 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21393 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21394 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21400 if test "X$rpathdirs" != "X"; then
21401 if test -n "$acl_hardcode_libdir_separator"; then
21403 for found_dir in $rpathdirs; do
21404 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
21406 acl_save_libdir="$libdir"
21408 eval flag=\"$acl_hardcode_libdir_flag_spec\"
21409 libdir="$acl_save_libdir"
21410 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21412 for found_dir in $rpathdirs; do
21413 acl_save_libdir="$libdir"
21414 libdir="$found_dir"
21415 eval flag=\"$acl_hardcode_libdir_flag_spec\"
21416 libdir="$acl_save_libdir"
21417 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21421 if test "X$ltrpathdirs" != "X"; then
21422 for found_dir in $ltrpathdirs; do
21423 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21437 case $am_cv_func_iconv in #(
21441 as_fn_error $? "missing \"libiconv\"" "$LINENO" 5 ;;
21444 ac_cpp='$CXXCPP $CPPFLAGS'
21445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21454 ac_fn_cxx_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
21455 if test "x$ac_cv_header_mach_mach_h" = xyes; then :
21457 if test -n "$ac_tool_prefix"; then
21458 for ac_prog in otool
21460 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21461 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21463 $as_echo_n "checking for $ac_word... " >&6; }
21464 if ${ac_cv_prog__OTOOL+:} false; then :
21465 $as_echo_n "(cached) " >&6
21467 if test -n "$_OTOOL"; then
21468 ac_cv_prog__OTOOL="$_OTOOL" # Let the user override the test.
21470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21471 for as_dir in $PATH
21474 test -z "$as_dir" && as_dir=.
21475 for ac_exec_ext in '' $ac_executable_extensions; do
21476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21477 ac_cv_prog__OTOOL="$ac_tool_prefix$ac_prog"
21478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21487 _OTOOL=$ac_cv_prog__OTOOL
21488 if test -n "$_OTOOL"; then
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
21490 $as_echo "$_OTOOL" >&6; }
21492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21493 $as_echo "no" >&6; }
21497 test -n "$_OTOOL" && break
21500 if test -z "$_OTOOL"; then
21501 ac_ct__OTOOL=$_OTOOL
21502 for ac_prog in otool
21504 # Extract the first word of "$ac_prog", so it can be a program name with args.
21505 set dummy $ac_prog; ac_word=$2
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21507 $as_echo_n "checking for $ac_word... " >&6; }
21508 if ${ac_cv_prog_ac_ct__OTOOL+:} false; then :
21509 $as_echo_n "(cached) " >&6
21511 if test -n "$ac_ct__OTOOL"; then
21512 ac_cv_prog_ac_ct__OTOOL="$ac_ct__OTOOL" # Let the user override the test.
21514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21515 for as_dir in $PATH
21518 test -z "$as_dir" && as_dir=.
21519 for ac_exec_ext in '' $ac_executable_extensions; do
21520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21521 ac_cv_prog_ac_ct__OTOOL="$ac_prog"
21522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21531 ac_ct__OTOOL=$ac_cv_prog_ac_ct__OTOOL
21532 if test -n "$ac_ct__OTOOL"; then
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
21534 $as_echo "$ac_ct__OTOOL" >&6; }
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21537 $as_echo "no" >&6; }
21541 test -n "$ac_ct__OTOOL" && break
21544 if test "x$ac_ct__OTOOL" = x; then
21545 _OTOOL="as_fn_error $? "missing \"otool\"" "$LINENO" 5"
21547 case $cross_compiling:$ac_tool_warned in
21549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21551 ac_tool_warned=yes ;;
21553 _OTOOL=$ac_ct__OTOOL
21557 if test -n "$ac_tool_prefix"; then
21558 for ac_prog in lipo
21560 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21561 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21563 $as_echo_n "checking for $ac_word... " >&6; }
21564 if ${ac_cv_prog__LIPO+:} false; then :
21565 $as_echo_n "(cached) " >&6
21567 if test -n "$_LIPO"; then
21568 ac_cv_prog__LIPO="$_LIPO" # Let the user override the test.
21570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21571 for as_dir in $PATH
21574 test -z "$as_dir" && as_dir=.
21575 for ac_exec_ext in '' $ac_executable_extensions; do
21576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21577 ac_cv_prog__LIPO="$ac_tool_prefix$ac_prog"
21578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21587 _LIPO=$ac_cv_prog__LIPO
21588 if test -n "$_LIPO"; then
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
21590 $as_echo "$_LIPO" >&6; }
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21593 $as_echo "no" >&6; }
21597 test -n "$_LIPO" && break
21600 if test -z "$_LIPO"; then
21602 for ac_prog in lipo
21604 # Extract the first word of "$ac_prog", so it can be a program name with args.
21605 set dummy $ac_prog; ac_word=$2
21606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21607 $as_echo_n "checking for $ac_word... " >&6; }
21608 if ${ac_cv_prog_ac_ct__LIPO+:} false; then :
21609 $as_echo_n "(cached) " >&6
21611 if test -n "$ac_ct__LIPO"; then
21612 ac_cv_prog_ac_ct__LIPO="$ac_ct__LIPO" # Let the user override the test.
21614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21615 for as_dir in $PATH
21618 test -z "$as_dir" && as_dir=.
21619 for ac_exec_ext in '' $ac_executable_extensions; do
21620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21621 ac_cv_prog_ac_ct__LIPO="$ac_prog"
21622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21631 ac_ct__LIPO=$ac_cv_prog_ac_ct__LIPO
21632 if test -n "$ac_ct__LIPO"; then
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
21634 $as_echo "$ac_ct__LIPO" >&6; }
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21637 $as_echo "no" >&6; }
21641 test -n "$ac_ct__LIPO" && break
21644 if test "x$ac_ct__LIPO" = x; then
21645 _LIPO="as_fn_error $? "missing \"lipo\"" "$LINENO" 5"
21647 case $cross_compiling:$ac_tool_warned in
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21651 ac_tool_warned=yes ;;
21657 if test -n "$ac_tool_prefix"; then
21660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21663 $as_echo_n "checking for $ac_word... " >&6; }
21664 if ${ac_cv_prog__NM+:} false; then :
21665 $as_echo_n "(cached) " >&6
21667 if test -n "$_NM"; then
21668 ac_cv_prog__NM="$_NM" # Let the user override the test.
21670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21671 for as_dir in $PATH
21674 test -z "$as_dir" && as_dir=.
21675 for ac_exec_ext in '' $ac_executable_extensions; do
21676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21677 ac_cv_prog__NM="$ac_tool_prefix$ac_prog"
21678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21687 _NM=$ac_cv_prog__NM
21688 if test -n "$_NM"; then
21689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
21690 $as_echo "$_NM" >&6; }
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21693 $as_echo "no" >&6; }
21697 test -n "$_NM" && break
21700 if test -z "$_NM"; then
21704 # Extract the first word of "$ac_prog", so it can be a program name with args.
21705 set dummy $ac_prog; ac_word=$2
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21707 $as_echo_n "checking for $ac_word... " >&6; }
21708 if ${ac_cv_prog_ac_ct__NM+:} false; then :
21709 $as_echo_n "(cached) " >&6
21711 if test -n "$ac_ct__NM"; then
21712 ac_cv_prog_ac_ct__NM="$ac_ct__NM" # Let the user override the test.
21714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21715 for as_dir in $PATH
21718 test -z "$as_dir" && as_dir=.
21719 for ac_exec_ext in '' $ac_executable_extensions; do
21720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21721 ac_cv_prog_ac_ct__NM="$ac_prog"
21722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21731 ac_ct__NM=$ac_cv_prog_ac_ct__NM
21732 if test -n "$ac_ct__NM"; then
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
21734 $as_echo "$ac_ct__NM" >&6; }
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21737 $as_echo "no" >&6; }
21741 test -n "$ac_ct__NM" && break
21744 if test "x$ac_ct__NM" = x; then
21745 _NM="as_fn_error $? "missing \"nm\"" "$LINENO" 5"
21747 case $cross_compiling:$ac_tool_warned in
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21751 ac_tool_warned=yes ;;
21759 CY_ATTACH_GROUP=procmod
21766 if test "x$GMAKE" != xmake; then :
21768 ac_config_files="$ac_config_files Makefile"
21771 ac_config_files="$ac_config_files GNUmakefile"
21774 cat >confcache <<\_ACEOF
21775 # This file is a shell script that caches the results of configure
21776 # tests run on this system so they can be shared between configure
21777 # scripts and configure runs, see configure's option --config-cache.
21778 # It is not useful on other systems. If it contains results you don't
21779 # want to keep, you may remove or edit it.
21781 # config.status only pays attention to the cache file if you give it
21782 # the --recheck option to rerun configure.
21784 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21785 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21786 # following values.
21790 # The following way of writing the cache mishandles newlines in values,
21791 # but we know of no workaround that is simple, portable, and efficient.
21792 # So, we kill variables containing newlines.
21793 # Ultrix sh set writes to stderr and can't be redirected directly,
21794 # and sets the high bit in the cache file unless we assign to the vars.
21796 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21797 eval ac_val
=\$
$ac_var
21801 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21802 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21805 _
| IFS
| as_nl
) ;; #(
21806 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21807 *) { eval $ac_var=; unset $ac_var;} ;;
21813 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21814 *${as_nl}ac_space
=\
*)
21815 # `set' does not quote correctly, so add quotes: double-quote
21816 # substitution turns \\\\ into \\, and sed turns \\ into \.
21819 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21822 # `set' quotes correctly as required by POSIX, so do not add quotes.
21823 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21832 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21834 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21836 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21837 if test -w "$cache_file"; then
21838 if test "x$cache_file" != "x/dev/null"; then
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21840 $as_echo "$as_me: updating cache $cache_file" >&6;}
21841 if test ! -f "$cache_file" || test -h "$cache_file"; then
21842 cat confcache
>"$cache_file"
21844 case $cache_file in #(
21846 mv -f confcache
"$cache_file"$$
&&
21847 mv -f "$cache_file"$$
"$cache_file" ;; #(
21849 mv -f confcache
"$cache_file" ;;
21854 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21855 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21860 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21861 # Let make expand exec_prefix.
21862 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21864 # Transform confdefs.h into DEFS.
21865 # Protect against shell expansion while executing Makefile rules.
21866 # Protect against Makefile macro expansion.
21868 # If the first sed substitution is executed (which looks for macros that
21869 # take arguments), then branch to the quote section. Otherwise,
21870 # look for a macro that doesn't take arguments.
21880 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
21882 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
21886 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
21899 DEFS
=`sed -n "$ac_script" confdefs.h`
21905 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21906 # 1. Remove the extension, and $U if already installed.
21907 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21908 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21909 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21910 # will be set to the directory where LIBOBJS objects are built.
21911 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21912 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21914 LIBOBJS
=$ac_libobjs
21916 LTLIBOBJS
=$ac_ltlibobjs
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21920 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21921 if test -n "$am_sleep_pid"; then
21922 # Hide warnings about reused PIDs.
21923 wait $am_sleep_pid 2>/dev
/null
21925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21926 $as_echo "done" >&6; }
21927 if test -n "$EXEEXT"; then
21929 am__EXEEXT_FALSE
='#'
21931 am__EXEEXT_TRUE
='#'
21935 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21936 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21939 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21940 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21943 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21944 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
21945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21947 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
21948 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
21949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21952 : "${CONFIG_STATUS=./config.status}"
21954 ac_clean_files_save
=$ac_clean_files
21955 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21956 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21957 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21959 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21961 # Generated by $as_me.
21962 # Run this file to recreate the current configuration.
21963 # Compiler output produced by configure, useful for debugging
21964 # configure, is in config.log if it exists.
21967 ac_cs_recheck=false
21970 SHELL=\${CONFIG_SHELL-$SHELL}
21973 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
21974 ## -------------------- ##
21975 ## M4sh Initialization. ##
21976 ## -------------------- ##
21978 # Be more Bourne compatible
21979 DUALCASE
=1; export DUALCASE
# for MKS sh
21980 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21983 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21984 # is contrary to our usage. Disable this feature.
21985 alias -g '${1+"$@"}'='"$@"'
21986 setopt NO_GLOB_SUBST
21988 case `(set -o) 2>/dev/null` in #(
22000 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22001 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22002 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22003 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22004 # Prefer a ksh shell builtin over an external printf program on Solaris,
22005 # but without wasting forks for bash or zsh.
22006 if test -z "$BASH_VERSION$ZSH_VERSION" \
22007 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22008 as_echo='print
-r --'
22009 as_echo_n='print
-rn --'
22010 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22011 as_echo='printf %s
\n'
22012 as_echo_n='printf %s
'
22014 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22015 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22016 as_echo_n='/usr
/ucb
/echo -n'
22018 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22019 as_echo_n_body='eval
22023 expr "X$arg" : "X\\(.*\\)$as_nl";
22024 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22026 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22028 export as_echo_n_body
22029 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22031 export as_echo_body
22032 as_echo='sh
-c $as_echo_body as_echo
'
22035 # The user is always right.
22036 if test "${PATH_SEPARATOR+set}" != set; then
22038 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22039 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22046 # We need space, tab and new line, in precisely that order. Quoting is
22047 # there to prevent editors from complaining about space-tab.
22048 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22049 # splitting by setting IFS to empty value.)
22052 # Find who we are. Look in the path if we contain no directory separator.
22055 *[\\/]* ) as_myself=$0 ;;
22056 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22057 for as_dir in $PATH
22060 test -z "$as_dir" && as_dir=.
22061 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22067 # We did not find ourselves, most probably we were run as `sh COMMAND'
22068 # in which case we are not to be found in the path.
22069 if test "x$as_myself" = x
; then
22072 if test ! -f "$as_myself"; then
22073 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22077 # Unset variables that we do not need and which cause bugs (e.g. in
22078 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22079 # suppresses any "Segmentation fault" message there. '((' could
22080 # trigger a bug in pdksh 5.2.14.
22081 for as_var
in BASH_ENV ENV MAIL MAILPATH
22082 do eval test x\
${$as_var+set} = xset \
22083 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
22096 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22099 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22100 # ----------------------------------------
22101 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22102 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22103 # script with STATUS, using 1 if that was 0.
22106 as_status
=$1; test $as_status -eq 0 && as_status
=1
22108 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22109 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22111 $as_echo "$as_me: error: $2" >&2
22112 as_fn_exit
$as_status
22116 # as_fn_set_status STATUS
22117 # -----------------------
22118 # Set $? to STATUS, without forking.
22119 as_fn_set_status
()
22122 } # as_fn_set_status
22124 # as_fn_exit STATUS
22125 # -----------------
22126 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22130 as_fn_set_status
$1
22136 # Portably unset VAR.
22139 { eval $1=; unset $1;}
22141 as_unset
=as_fn_unset
22142 # as_fn_append VAR VALUE
22143 # ----------------------
22144 # Append the text in VALUE to the end of the definition contained in VAR. Take
22145 # advantage of any shell optimizations that allow amortized linear growth over
22146 # repeated appends, instead of the typical quadratic growth present in naive
22148 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22149 eval 'as_fn_append ()
22160 # as_fn_arith ARG...
22161 # ------------------
22162 # Perform arithmetic evaluation on the ARGs, and store the result in the
22163 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22164 # must be portable across $(()) and expr.
22165 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22166 eval 'as_fn_arith ()
22173 as_val
=`expr "$@" || test $? -eq 1`
22178 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22179 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22185 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22186 as_basename
=basename
22191 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22197 as_me
=`$as_basename -- "$0" ||
22198 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22199 X"$0" : 'X\(//\)$' \| \
22200 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22202 sed '/^.*\/\([^/][^/]*\)\/*$/{
22216 # Avoid depending upon Character Ranges.
22217 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22218 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22219 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22220 as_cr_digits
='0123456789'
22221 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22223 ECHO_C
= ECHO_N
= ECHO_T
=
22224 case `echo -n x` in #(((((
22226 case `echo 'xy\c'` in
22227 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22229 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22236 rm -f conf$$ conf$$.exe conf$$.
file
22237 if test -d conf$$.dir
; then
22238 rm -f conf$$.dir
/conf$$.
file
22241 mkdir conf$$.dir
2>/dev
/null
22243 if (echo >conf$$.
file) 2>/dev
/null
; then
22244 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22246 # ... but there are two gotchas:
22247 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22248 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22249 # In both cases, we have to default to `cp -pR'.
22250 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
22252 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22260 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22261 rmdir conf$$.dir
2>/dev
/null
22266 # Create "$as_dir" as a directory, including parents if necessary.
22271 -*) as_dir
=.
/$as_dir;;
22273 test -d "$as_dir" || eval $as_mkdir_p || {
22277 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22278 *) as_qdir
=$as_dir;;
22280 as_dirs
="'$as_qdir' $as_dirs"
22281 as_dir
=`$as_dirname -- "$as_dir" ||
22282 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22283 X"$as_dir" : 'X\(//\)[^/]' \| \
22284 X"$as_dir" : 'X\(//\)$' \| \
22285 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22286 $as_echo X"$as_dir" |
22287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22291 /^X\(\/\/\)[^/].*/{
22304 test -d "$as_dir" && break
22306 test -z "$as_dirs" || eval "mkdir $as_dirs"
22307 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22311 if mkdir -p .
2>/dev
/null
; then
22312 as_mkdir_p
='mkdir -p "$as_dir"'
22314 test -d .
/-p && rmdir .
/-p
22319 # as_fn_executable_p FILE
22320 # -----------------------
22321 # Test if FILE is an executable regular file.
22322 as_fn_executable_p
()
22324 test -f "$1" && test -x "$1"
22325 } # as_fn_executable_p
22326 as_test_x
='test -x'
22327 as_executable_p
=as_fn_executable_p
22329 # Sed expression to map a string onto a valid CPP name.
22330 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22332 # Sed expression to map a string onto a valid variable name.
22333 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22337 ## ----------------------------------- ##
22338 ## Main body of $CONFIG_STATUS script. ##
22339 ## ----------------------------------- ##
22341 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22343 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22344 # Save the log message, to keep $0 and so on meaningful, and to
22345 # report actual input values of CONFIG_FILES etc. instead of their
22346 # values after options handling.
22348 This file was extended by Cycript $as_me 0.9, which was
22349 generated by GNU Autoconf 2.69. Invocation command line was
22351 CONFIG_FILES = $CONFIG_FILES
22352 CONFIG_HEADERS = $CONFIG_HEADERS
22353 CONFIG_LINKS = $CONFIG_LINKS
22354 CONFIG_COMMANDS = $CONFIG_COMMANDS
22357 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22362 case $ac_config_files in *"
22363 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22369 # Files that config.status was made for.
22370 config_files="$ac_config_files"
22371 config_commands="$ac_config_commands"
22375 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22377 \`$as_me' instantiates files and other configuration actions
22378 from templates according to the current configuration. Unless the files
22379 and actions are specified as TAGs, all are instantiated by default.
22381 Usage: $0 [OPTION]... [TAG]...
22383 -h, --help print this help, then exit
22384 -V, --version print version number and configuration settings, then exit
22385 --config print configuration, then exit
22386 -q, --quiet, --silent
22387 do not print progress messages
22388 -d, --debug don't remove temporary files
22389 --recheck update $as_me by reconfiguring in the same conditions
22390 --file=FILE[:TEMPLATE]
22391 instantiate the configuration file FILE
22393 Configuration files:
22396 Configuration commands:
22399 Report bugs to <saurik@saurik.com>.
22400 Cycript home page: <http://www.cycript.org/>."
22403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22404 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22406 Cycript config.status 0.9
22407 configured by $0, generated by GNU Autoconf 2.69,
22408 with options \\"\$ac_cs_config\\"
22410 Copyright (C) 2012 Free Software Foundation, Inc.
22411 This config.status script is free software; the Free Software Foundation
22412 gives unlimited permission to copy, distribute and modify it."
22419 test -n "\$AWK" || AWK=awk
22422 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22423 # The default lists apply if the user does not specify any file.
22429 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22430 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22434 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22446 # Handling of the options.
22447 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22449 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22450 $as_echo "$ac_cs_version"; exit ;;
22451 --config | --confi | --conf | --con | --co | --c )
22452 $as_echo "$ac_cs_config"; exit ;;
22453 --debug | --debu | --deb | --de | --d | -d )
22455 --file | --fil | --fi | --f )
22458 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22459 '') as_fn_error $?
"missing file argument" ;;
22461 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22462 ac_need_defaults
=false
;;
22463 --he | --h | --help | --hel | -h )
22464 $as_echo "$ac_cs_usage"; exit ;;
22465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22466 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22469 # This is an error.
22470 -*) as_fn_error $?
"unrecognized option: \`$1'
22471 Try \`$0 --help' for more information." ;;
22473 *) as_fn_append ac_config_targets
" $1"
22474 ac_need_defaults
=false
;;
22480 ac_configure_extra_args
=
22482 if $ac_cs_silent; then
22484 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22489 if \$ac_cs_recheck; then
22490 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22492 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22493 CONFIG_SHELL='$SHELL'
22494 export CONFIG_SHELL
22499 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22503 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22504 ## Running $as_me. ##
22510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22514 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22517 # The HP-UX ksh and POSIX shell print the target directory to stdout
22518 # if CDPATH is set.
22519 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22521 sed_quote_subst='$sed_quote_subst'
22522 double_quote_subst='$double_quote_subst'
22523 delay_variable_subst='$delay_variable_subst'
22524 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22525 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22526 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22527 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22528 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22529 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22530 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22531 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22532 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22533 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22534 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22535 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22536 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22537 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22538 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22539 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22540 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22541 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22542 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22543 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22544 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22545 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22546 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22547 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22548 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22549 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22550 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22551 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22552 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22553 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22554 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22555 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22556 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22557 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22558 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22559 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22560 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22561 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22562 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22563 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22564 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22565 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22566 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22567 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22568 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22569 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22570 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22571 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22572 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22573 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22574 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22575 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22576 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22577 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22578 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22579 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22580 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"`'
22581 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22582 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22583 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22584 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22585 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22586 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22587 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22588 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22589 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22590 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22591 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22592 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22593 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22594 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22595 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22596 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22597 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22598 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22599 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22600 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22601 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22602 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22603 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22604 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22605 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22606 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22607 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22608 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22609 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22610 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22611 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22612 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22613 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22614 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22615 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22616 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22617 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22618 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22619 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22620 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22621 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22622 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22623 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22624 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22625 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22626 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22627 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22628 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22629 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22630 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22631 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22632 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22633 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22634 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22635 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22636 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22637 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22638 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22639 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22640 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22641 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22642 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22643 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22644 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22645 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22646 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22647 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22648 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22649 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22650 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22651 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22652 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22653 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22654 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22655 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22656 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22657 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22658 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22659 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22660 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22661 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22662 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22663 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22664 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22665 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22666 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22667 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22668 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22669 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22670 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22671 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22672 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22673 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22674 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22675 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22676 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22677 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22678 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22679 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22680 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22681 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22682 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22683 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22684 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22685 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22686 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22687 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22688 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22689 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22690 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22691 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22692 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22693 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22694 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22695 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22696 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22697 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22698 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22699 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22700 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22701 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22702 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22703 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22704 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22705 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22706 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22707 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22710 LTCFLAGS='$LTCFLAGS'
22711 compiler='$compiler_DEFAULT'
22713 # A function that is used when there is no print builtin or printf.
22714 func_fallback_echo ()
22716 eval 'cat <<_LTECHO_EOF
22721 # Quote evaled strings.
22736 deplibs_check_method \
22741 sharedlib_from_linklib_cmd \
22744 archiver_list_spec \
22750 lt_cv_sys_global_symbol_pipe \
22751 lt_cv_sys_global_symbol_to_cdecl \
22752 lt_cv_sys_global_symbol_to_c_name_address \
22753 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22754 nm_file_list_spec \
22755 lt_prog_compiler_no_builtin_flag \
22756 lt_prog_compiler_pic \
22757 lt_prog_compiler_wl \
22758 lt_prog_compiler_static \
22759 lt_cv_prog_compiler_c_o \
22768 export_dynamic_flag_spec \
22769 whole_archive_flag_spec \
22770 compiler_needs_object \
22772 allow_undefined_flag \
22773 no_undefined_flag \
22774 hardcode_libdir_flag_spec \
22775 hardcode_libdir_separator \
22779 variables_saved_for_relink \
22781 library_names_spec \
22783 install_override_mode \
22787 compiler_lib_search_dirs \
22792 compiler_lib_search_path \
22796 lt_prog_compiler_no_builtin_flag_CXX \
22797 lt_prog_compiler_pic_CXX \
22798 lt_prog_compiler_wl_CXX \
22799 lt_prog_compiler_static_CXX \
22800 lt_cv_prog_compiler_c_o_CXX \
22801 export_dynamic_flag_spec_CXX \
22802 whole_archive_flag_spec_CXX \
22803 compiler_needs_object_CXX \
22805 allow_undefined_flag_CXX \
22806 no_undefined_flag_CXX \
22807 hardcode_libdir_flag_spec_CXX \
22808 hardcode_libdir_separator_CXX \
22809 exclude_expsyms_CXX \
22810 include_expsyms_CXX \
22811 file_list_spec_CXX \
22812 compiler_lib_search_dirs_CXX \
22813 predep_objects_CXX \
22814 postdep_objects_CXX \
22817 compiler_lib_search_path_CXX; do
22818 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22819 *[\\\\\\\`\\"\\\$]*)
22820 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22823 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22828 # Double-quote double-evaled strings.
22829 for var in reload_cmds \
22830 old_postinstall_cmds \
22831 old_postuninstall_cmds \
22833 extract_expsyms_cmds \
22834 old_archive_from_new_cmds \
22835 old_archive_from_expsyms_cmds \
22837 archive_expsym_cmds \
22839 module_expsym_cmds \
22840 export_symbols_cmds \
22844 postuninstall_cmds \
22846 sys_lib_search_path_spec \
22847 sys_lib_dlsearch_path_spec \
22849 old_archive_cmds_CXX \
22850 old_archive_from_new_cmds_CXX \
22851 old_archive_from_expsyms_cmds_CXX \
22853 archive_expsym_cmds_CXX \
22855 module_expsym_cmds_CXX \
22856 export_symbols_cmds_CXX \
22858 postlink_cmds_CXX; do
22859 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22860 *[\\\\\\\`\\"\\\$]*)
22861 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22864 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22869 ac_aux_dir='$ac_aux_dir'
22870 xsi_shell='$xsi_shell'
22871 lt_shell_append='$lt_shell_append'
22873 # See if we are running on zsh, and set the options which allow our
22874 # commands through without removal of \ escapes INIT.
22875 if test -n "\${ZSH_VERSION+set}" ; then
22876 setopt NO_GLOB_SUBST
22882 TIMESTAMP='$TIMESTAMP'
22893 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22895 # Handling of arguments.
22896 for ac_config_target
in $ac_config_targets
22898 case $ac_config_target in
22899 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22900 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22901 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22902 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
22904 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22909 # If the user did not use the arguments to specify the items to instantiate,
22910 # then the envvar interface is used. Set only those that are not.
22911 # We use the long form for the default assignment because of an extremely
22912 # bizarre bug on SunOS 4.1.3.
22913 if $ac_need_defaults; then
22914 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22915 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22918 # Have a temporary directory for convenience. Make it in the build tree
22919 # simply because there is no reason against having it here, and in addition,
22920 # creating and moving files from /tmp can sometimes cause problems.
22921 # Hook for its removal unless debugging.
22922 # Note that there is a small window in which the directory will not be cleaned:
22923 # after its creation but before its name has been assigned to `$tmp'.
22927 trap 'exit_status=$?
22928 : "${ac_tmp:=$tmp}"
22929 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22931 trap 'as_fn_exit 1' 1 2 13 15
22933 # Create a (secure) tmp directory for tmp files.
22936 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22940 tmp
=.
/conf$$
-$RANDOM
22941 (umask 077 && mkdir "$tmp")
22942 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22945 # Set up the scripts for CONFIG_FILES section.
22946 # No need to generate them if there are no CONFIG_FILES.
22947 # This happens for instance with `./config.status config.h'.
22948 if test -n "$CONFIG_FILES"; then
22951 ac_cr
=`echo X | tr X '\015'`
22952 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22953 # But we know of no other shell where ac_cr would be empty at this
22954 # point, so we can use a bashism as a fallback.
22955 if test "x$ac_cr" = x
; then
22956 eval ac_cr
=\$
\'\\r
\'
22958 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22959 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22962 ac_cs_awk_cr
=$ac_cr
22965 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22970 echo "cat >conf$$subs.awk <<_ACEOF" &&
22971 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22973 } >conf$$subs.sh ||
22974 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22975 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22977 for ac_last_try in false false false false false :; do
22978 . ./conf$$subs.sh ||
22979 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22981 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22982 if test $ac_delim_n = $ac_delim_num; then
22984 elif $ac_last_try; then
22985 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22987 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22990 rm -f conf$$subs.sh
22992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22993 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22997 s/^/S["/; s
/!.
*/"]=/
23007 s/\(.\{148\}\)..*/\1/
23009 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23014 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23021 s/\(.\{148\}\)..*/\1/
23023 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23027 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23032 ' <conf$$subs.awk | sed '
23037 ' >>$CONFIG_STATUS || ac_write_fail=1
23038 rm -f conf$$subs.awk
23039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23041 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23042 for (key in S) S_is_set[key] = 1
23048 nfields = split(line, field, "@
")
23050 len = length(field[1])
23051 for (i = 2; i < nfields; i++) {
23053 keylen = length(key)
23054 if (S_is_set[key]) {
23056 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23057 len += length(value) + length(field[++i])
23068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23069 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23070 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23073 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23074 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23077 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23078 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23079 # trailing colons and then remove the whole line if VPATH becomes empty
23080 # (actually we leave an empty line to preserve line numbers).
23081 if test "x
$srcdir" = x.; then
23082 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23101 fi # test -n "$CONFIG_FILES"
23104 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
23109 :[FHLC]) ac_mode=$ac_tag; continue;;
23111 case $ac_mode$ac_tag in
23113 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
23114 :[FH]-) ac_tag=-:-;;
23115 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23132 -) ac_f="$ac_tmp/stdin";;
23133 *) # Look for the file first in the build tree, then in the source tree
23134 # (if the path is not absolute). The absolute path cannot be DOS-style,
23135 # because $ac_f cannot contain `:'.
23139 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23141 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23143 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
23144 as_fn_append ac_file_inputs " '$ac_f'"
23147 # Let's still pretend it is `configure' which instantiates (i.e., don't
23148 # use $as_me), people would be surprised to read:
23149 # /* config.h. Generated by config.status. */
23150 configure_input='Generated from '`
23151 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23153 if test x"$ac_file" != x-; then
23154 configure_input="$ac_file.
$configure_input"
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
23156 $as_echo "$as_me: creating
$ac_file" >&6;}
23158 # Neutralize special characters interpreted by sed in replacement strings.
23159 case $configure_input in #(
23160 *\&* | *\|* | *\\* )
23161 ac_sed_conf_input=`$as_echo "$configure_input" |
23162 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23163 *) ac_sed_conf_input=$configure_input;;
23167 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
23168 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
23173 ac_dir=`$as_dirname -- "$ac_file" ||
23174 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23175 X"$ac_file" : 'X\(//\)[^/]' \| \
23176 X"$ac_file" : 'X\(//\)$' \| \
23177 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23178 $as_echo X"$ac_file" |
23179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23183 /^X\(\/\/\)[^/].*/{
23196 as_dir="$ac_dir"; as_fn_mkdir_p
23200 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23202 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23203 # A "..
" for each directory in $ac_dir_suffix.
23204 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23205 case $ac_top_builddir_sub in
23206 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23207 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23210 ac_abs_top_builddir=$ac_pwd
23211 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23212 # for backward compatibility:
23213 ac_top_builddir=$ac_top_build_prefix
23216 .) # We are building in place.
23218 ac_top_srcdir=$ac_top_builddir_sub
23219 ac_abs_top_srcdir=$ac_pwd ;;
23220 [\\/]* | ?:[\\/]* ) # Absolute name.
23221 ac_srcdir=$srcdir$ac_dir_suffix;
23222 ac_top_srcdir=$srcdir
23223 ac_abs_top_srcdir=$srcdir ;;
23224 *) # Relative name.
23225 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23226 ac_top_srcdir=$ac_top_build_prefix$srcdir
23227 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23229 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23239 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23240 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23242 ac_MKDIR_P=$MKDIR_P
23244 [\\/$]* | ?:[\\/]* ) ;;
23245 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23250 # If the template does not know about datarootdir, expand it.
23251 # FIXME: This hack should be removed a few years after 2.60.
23252 ac_datarootdir_hack=; ac_datarootdir_seen=
23263 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
23264 *datarootdir*) ac_datarootdir_seen=yes;;
23265 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
23267 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
23269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23270 ac_datarootdir_hack='
23271 s&@datadir@&$datadir&g
23272 s&@docdir@&$docdir&g
23273 s&@infodir@&$infodir&g
23274 s&@localedir@&$localedir&g
23275 s&@mandir@&$mandir&g
23276 s&\\\${datarootdir}&$datarootdir&g' ;;
23280 # Neutralize VPATH when `$srcdir' = `.'.
23281 # Shell code in configure.ac might set extrasub.
23282 # FIXME: do we really want to maintain this feature?
23283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23284 ac_sed_extra="$ac_vpsub
23287 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23289 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
23290 s
|@configure_input@
|$ac_sed_conf_input|;t t
23291 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23292 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23293 s
&@srcdir@
&$ac_srcdir&;t t
23294 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23295 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23296 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23297 s
&@builddir@
&$ac_builddir&;t t
23298 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23299 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23300 s
&@INSTALL@
&$ac_INSTALL&;t t
23301 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23302 $ac_datarootdir_hack
23304 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23305 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23307 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23308 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23309 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23310 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23312 which seems to be undefined. Please make sure it is defined" >&5
23313 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23314 which seems to be undefined. Please make sure it is defined" >&2;}
23316 rm -f "$ac_tmp/stdin"
23318 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23319 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23321 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23325 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23326 $as_echo "$as_me: executing $ac_file commands" >&6;}
23331 case $ac_file$ac_mode in
23332 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23333 # Older Autoconf quotes --file arguments for eval, but not when files
23334 # are listed without --file. Let's play safe and only
enable the
eval
23335 # if we detect the quoting.
23336 case $CONFIG_FILES in
23337 *\'*) eval set x
"$CONFIG_FILES" ;;
23338 *) set x
$CONFIG_FILES ;;
23343 # Strip MF so we end up with the name of the file.
23344 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23345 # Check whether this is an Automake generated Makefile or not.
23346 # We used to match only the files named 'Makefile.in', but
23347 # some people rename them; so instead we look at the file content.
23348 # Grep'ing the first line is not enough: some people post-process
23349 # each Makefile.in and add a new line on top of each file to say so.
23350 # Grep'ing the whole file is not good either: AIX grep has a line
23351 # limit of 2048, but all sed's we know have understand at least 4000.
23352 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23353 dirpart
=`$as_dirname -- "$mf" ||
23354 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23355 X"$mf" : 'X\(//\)[^/]' \| \
23356 X"$mf" : 'X\(//\)$' \| \
23357 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23363 /^X\(\/\/\)[^/].*/{
23379 # Extract the definition of DEPDIR, am__include, and am__quote
23380 # from the Makefile without running 'make'.
23381 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23382 test -z "$DEPDIR" && continue
23383 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23384 test -z "am__include" && continue
23385 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23386 # Find all dependency output files, they are included files with
23387 # $(DEPDIR) in their names. We invoke sed twice because it is the
23388 # simplest approach to changing $(DEPDIR) to its actual value in the
23390 for file in `sed -n "
23391 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23392 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23393 # Make sure the directory exists.
23394 test -f "$dirpart/$file" && continue
23395 fdir
=`$as_dirname -- "$file" ||
23396 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23397 X"$file" : 'X\(//\)[^/]' \| \
23398 X"$file" : 'X\(//\)$' \| \
23399 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23400 $as_echo X"$file" |
23401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23405 /^X\(\/\/\)[^/].*/{
23418 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23419 # echo "creating $dirpart/$file"
23420 echo '# dummy' > "$dirpart/$file"
23427 # See if we are running on zsh, and set the options which allow our
23428 # commands through without removal of \ escapes.
23429 if test -n "${ZSH_VERSION+set}" ; then
23430 setopt NO_GLOB_SUBST
23433 cfgfile
="${ofile}T"
23434 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23437 cat <<_LT_EOF >> "$cfgfile"
23440 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23441 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23442 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23443 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23445 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23446 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23448 # Written by Gordon Matzigkeit, 1996
23450 # This file is part of GNU Libtool.
23452 # GNU Libtool is free software; you can redistribute it and/or
23453 # modify it under the terms of the GNU General Public License as
23454 # published by the Free Software Foundation; either version 2 of
23455 # the License, or (at your option) any later version.
23457 # As a special exception to the GNU General Public License,
23458 # if you distribute this file as part of a program or library that
23459 # is built using GNU Libtool, you may include this file under the
23460 # same distribution terms that you use for the rest of that program.
23462 # GNU Libtool is distributed in the hope that it will be useful,
23463 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23464 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23465 # GNU General Public License for more details.
23467 # You should have received a copy of the GNU General Public License
23468 # along with GNU Libtool; see the file COPYING. If not, a copy
23469 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23470 # obtained by writing to the Free Software Foundation, Inc.,
23471 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23474 # The names of the tagged configurations supported by this script.
23475 available_tags="CXX "
23477 # ### BEGIN LIBTOOL CONFIG
23479 # Which release of libtool.m4 was used?
23480 macro_version=$macro_version
23481 macro_revision=$macro_revision
23483 # Whether or not to build static libraries.
23484 build_old_libs=$enable_static
23486 # Whether or not to build shared libraries.
23487 build_libtool_libs=$enable_shared
23489 # What type of objects to build.
23492 # Whether or not to optimize for fast installation.
23493 fast_install=$enable_fast_install
23495 # Shell to use when invoking shell scripts.
23498 # An echo program that protects backslashes.
23501 # The PATH separator for the build system.
23502 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23505 host_alias=$host_alias
23509 # The build system.
23510 build_alias=$build_alias
23514 # A sed program that does not truncate output.
23517 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23518 Xsed="\$SED -e 1s/^X//"
23520 # A grep program that handles long lines.
23526 # A literal string matcher.
23529 # A BSD- or MS-compatible name lister.
23532 # Whether we need soft or hard links.
23535 # What is the maximum length of a command?
23536 max_cmd_len=$max_cmd_len
23538 # Object file suffix (normally "o").
23541 # Executable file suffix (normally "").
23544 # whether the shell understands "unset".
23547 # turn spaces into newlines.
23550 # turn newlines into spaces.
23553 # convert \$build file names to \$host format.
23554 to_host_file_cmd=$lt_cv_to_host_file_cmd
23556 # convert \$build files to toolchain format.
23557 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23559 # An object symbol dumper.
23560 OBJDUMP=$lt_OBJDUMP
23562 # Method to check whether dependent libraries are shared objects.
23563 deplibs_check_method=$lt_deplibs_check_method
23565 # Command to use when deplibs_check_method = "file_magic".
23566 file_magic_cmd=$lt_file_magic_cmd
23568 # How to find potential files when deplibs_check_method = "file_magic".
23569 file_magic_glob=$lt_file_magic_glob
23571 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23572 want_nocaseglob=$lt_want_nocaseglob
23574 # DLL creation program.
23575 DLLTOOL=$lt_DLLTOOL
23577 # Command to associate shared and link libraries.
23578 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23583 # Flags to create an archive.
23584 AR_FLAGS=$lt_AR_FLAGS
23586 # How to feed a file listing to the archiver.
23587 archiver_list_spec=$lt_archiver_list_spec
23589 # A symbol stripping program.
23592 # Commands used to install an old-style archive.
23594 old_postinstall_cmds=$lt_old_postinstall_cmds
23595 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23597 # Whether to use a lock for old archive extraction.
23598 lock_old_archive_extraction=$lock_old_archive_extraction
23603 # LTCC compiler flags.
23604 LTCFLAGS=$lt_CFLAGS
23606 # Take the output of nm and produce a listing of raw symbols and C names.
23607 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23609 # Transform the output of nm in a proper C declaration.
23610 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23612 # Transform the output of nm in a C name address pair.
23613 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23615 # Transform the output of nm in a C name address pair when lib prefix is needed.
23616 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23618 # Specify filename containing input files for \$NM.
23619 nm_file_list_spec=$lt_nm_file_list_spec
23621 # The root where to search for dependent libraries,and in which our libraries should be installed.
23622 lt_sysroot=$lt_sysroot
23624 # The name of the directory that contains temporary libtool files.
23627 # Used to examine libraries when file_magic_cmd begins with "file".
23628 MAGIC_CMD=$MAGIC_CMD
23630 # Must we lock files when doing compilation?
23631 need_locks=$lt_need_locks
23634 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23636 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23637 DSYMUTIL=$lt_DSYMUTIL
23639 # Tool to change global to local symbols on Mac OS X.
23642 # Tool to manipulate fat objects and archives on Mac OS X.
23645 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23648 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23649 OTOOL64=$lt_OTOOL64
23651 # Old archive suffix (normally "a").
23654 # Shared library suffix (normally ".so").
23655 shrext_cmds=$lt_shrext_cmds
23657 # The commands to extract the exported symbol list from a shared archive.
23658 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23660 # Variables whose values should be saved in libtool wrapper scripts and
23661 # restored at link time.
23662 variables_saved_for_relink=$lt_variables_saved_for_relink
23664 # Do we need the "lib" prefix for modules?
23665 need_lib_prefix=$need_lib_prefix
23667 # Do we need a version for libraries?
23668 need_version=$need_version
23670 # Library versioning type.
23671 version_type=$version_type
23673 # Shared library runtime path variable.
23674 runpath_var=$runpath_var
23676 # Shared library path variable.
23677 shlibpath_var=$shlibpath_var
23679 # Is shlibpath searched before the hard-coded library search path?
23680 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23682 # Format of library name prefix.
23683 libname_spec=$lt_libname_spec
23685 # List of archive names. First name is the real one, the rest are links.
23686 # The last name is the one that the linker finds with -lNAME
23687 library_names_spec=$lt_library_names_spec
23689 # The coded name of the library, if different from the real name.
23690 soname_spec=$lt_soname_spec
23692 # Permission mode override for installation of shared libraries.
23693 install_override_mode=$lt_install_override_mode
23695 # Command to use after installation of a shared archive.
23696 postinstall_cmds=$lt_postinstall_cmds
23698 # Command to use after uninstallation of a shared archive.
23699 postuninstall_cmds=$lt_postuninstall_cmds
23701 # Commands used to finish a libtool library installation in a directory.
23702 finish_cmds=$lt_finish_cmds
23704 # As "finish_cmds", except a single script fragment to be evaled but
23706 finish_eval=$lt_finish_eval
23708 # Whether we should hardcode library paths into libraries.
23709 hardcode_into_libs=$hardcode_into_libs
23711 # Compile-time system search path for libraries.
23712 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23714 # Run-time system search path for libraries.
23715 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23717 # Whether dlopen is supported.
23718 dlopen_support=$enable_dlopen
23720 # Whether dlopen of programs is supported.
23721 dlopen_self=$enable_dlopen_self
23723 # Whether dlopen of statically linked programs is supported.
23724 dlopen_self_static=$enable_dlopen_self_static
23726 # Commands to strip libraries.
23727 old_striplib=$lt_old_striplib
23728 striplib=$lt_striplib
23731 # The linker used to build libraries.
23734 # How to create reloadable object files.
23735 reload_flag=$lt_reload_flag
23736 reload_cmds=$lt_reload_cmds
23738 # Commands used to build an old-style archive.
23739 old_archive_cmds=$lt_old_archive_cmds
23741 # A language specific compiler.
23744 # Is the compiler the GNU compiler?
23747 # Compiler flag to turn off builtin functions.
23748 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23750 # Additional compiler flags for building library objects.
23751 pic_flag=$lt_lt_prog_compiler_pic
23753 # How to pass a linker flag through the compiler.
23754 wl=$lt_lt_prog_compiler_wl
23756 # Compiler flag to prevent dynamic linking.
23757 link_static_flag=$lt_lt_prog_compiler_static
23759 # Does compiler simultaneously support -c and -o options?
23760 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23762 # Whether or not to add -lc for building shared libraries.
23763 build_libtool_need_lc=$archive_cmds_need_lc
23765 # Whether or not to disallow shared libs when runtime libs are static.
23766 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23768 # Compiler flag to allow reflexive dlopens.
23769 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23771 # Compiler flag to generate shared objects directly from archives.
23772 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23774 # Whether the compiler copes with passing no objects directly.
23775 compiler_needs_object=$lt_compiler_needs_object
23777 # Create an old-style archive from a shared archive.
23778 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23780 # Create a temporary old-style archive to link instead of a shared archive.
23781 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23783 # Commands used to build a shared archive.
23784 archive_cmds=$lt_archive_cmds
23785 archive_expsym_cmds=$lt_archive_expsym_cmds
23787 # Commands used to build a loadable module if different from building
23788 # a shared archive.
23789 module_cmds=$lt_module_cmds
23790 module_expsym_cmds=$lt_module_expsym_cmds
23792 # Whether we are building with GNU ld or not.
23793 with_gnu_ld=$lt_with_gnu_ld
23795 # Flag that allows shared libraries with undefined symbols to be built.
23796 allow_undefined_flag=$lt_allow_undefined_flag
23798 # Flag that enforces no undefined symbols.
23799 no_undefined_flag=$lt_no_undefined_flag
23801 # Flag to hardcode \$libdir into a binary during linking.
23802 # This must work even if \$libdir does not exist
23803 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23805 # Whether we need a single "-rpath" flag with a separated argument.
23806 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23808 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23809 # DIR into the resulting binary.
23810 hardcode_direct=$hardcode_direct
23812 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23813 # DIR into the resulting binary and the resulting library dependency is
23814 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23815 # library is relocated.
23816 hardcode_direct_absolute=$hardcode_direct_absolute
23818 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23819 # into the resulting binary.
23820 hardcode_minus_L=$hardcode_minus_L
23822 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23823 # into the resulting binary.
23824 hardcode_shlibpath_var=$hardcode_shlibpath_var
23826 # Set to "yes" if building a shared library automatically hardcodes DIR
23827 # into the library and all subsequent libraries and executables linked
23829 hardcode_automatic=$hardcode_automatic
23831 # Set to yes if linker adds runtime paths of dependent libraries
23832 # to runtime path list.
23833 inherit_rpath=$inherit_rpath
23835 # Whether libtool must link a program against all its dependency libraries.
23836 link_all_deplibs=$link_all_deplibs
23838 # Set to "yes" if exported symbols are required.
23839 always_export_symbols=$always_export_symbols
23841 # The commands to list exported symbols.
23842 export_symbols_cmds=$lt_export_symbols_cmds
23844 # Symbols that should not be listed in the preloaded symbols.
23845 exclude_expsyms=$lt_exclude_expsyms
23847 # Symbols that must always be exported.
23848 include_expsyms=$lt_include_expsyms
23850 # Commands necessary for linking programs (against libraries) with templates.
23851 prelink_cmds=$lt_prelink_cmds
23853 # Commands necessary for finishing linking programs.
23854 postlink_cmds=$lt_postlink_cmds
23856 # Specify filename containing input files.
23857 file_list_spec=$lt_file_list_spec
23859 # How to hardcode a shared library path into an executable.
23860 hardcode_action=$hardcode_action
23862 # The directories searched by this compiler when creating a shared library.
23863 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23865 # Dependencies to place before and after the objects being linked to
23866 # create a shared library.
23867 predep_objects=$lt_predep_objects
23868 postdep_objects=$lt_postdep_objects
23869 predeps=$lt_predeps
23870 postdeps=$lt_postdeps
23872 # The library search path used internally by the compiler when linking
23873 # a shared library.
23874 compiler_lib_search_path=$lt_compiler_lib_search_path
23876 # ### END LIBTOOL CONFIG
23882 cat <<\_LT_EOF
>> "$cfgfile"
23883 # AIX sometimes has problems with the GCC collect2 program. For some
23884 # reason, if we set the COLLECT_NAMES environment variable, the problems
23885 # vanish in a puff of smoke.
23886 if test "X${COLLECT_NAMES+set}" != Xset
; then
23888 export COLLECT_NAMES
23895 ltmain
="$ac_aux_dir/ltmain.sh"
23898 # We use sed instead of cat because bash on DJGPP gets confused if
23899 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23900 # text mode, it properly converts lines to CR/LF. This bash problem
23901 # is reportedly fixed, but why not run on old versions too?
23902 sed '$q' "$ltmain" >> "$cfgfile" \
23903 || (rm -f "$cfgfile"; exit 1)
23905 if test x
"$xsi_shell" = xyes
; then
23906 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23910 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23911 \ * ) func_dirname_result="${3}" ;;\
23913 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23914 && mv -f "$cfgfile.tmp" "$cfgfile" \
23915 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23916 test 0 -eq $?
|| _lt_function_replace_fail
=:
23919 sed -e '/^func_basename ()$/,/^} # func_basename /c\
23922 \ func_basename_result="${1##*/}"\
23923 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23924 && mv -f "$cfgfile.tmp" "$cfgfile" \
23925 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23926 test 0 -eq $?
|| _lt_function_replace_fail
=:
23929 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23930 func_dirname_and_basename ()\
23933 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23934 \ * ) func_dirname_result="${3}" ;;\
23936 \ func_basename_result="${1##*/}"\
23937 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23938 && mv -f "$cfgfile.tmp" "$cfgfile" \
23939 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23940 test 0 -eq $?
|| _lt_function_replace_fail
=:
23943 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23946 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23947 \ # positional parameters, so assign one to ordinary parameter first.\
23948 \ func_stripname_result=${3}\
23949 \ func_stripname_result=${func_stripname_result#"${1}"}\
23950 \ func_stripname_result=${func_stripname_result%"${2}"}\
23951 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23952 && mv -f "$cfgfile.tmp" "$cfgfile" \
23953 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23954 test 0 -eq $?
|| _lt_function_replace_fail
=:
23957 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23958 func_split_long_opt ()\
23960 \ func_split_long_opt_name=${1%%=*}\
23961 \ func_split_long_opt_arg=${1#*=}\
23962 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23963 && mv -f "$cfgfile.tmp" "$cfgfile" \
23964 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23965 test 0 -eq $?
|| _lt_function_replace_fail
=:
23968 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23969 func_split_short_opt ()\
23971 \ func_split_short_opt_arg=${1#??}\
23972 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23973 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23974 && mv -f "$cfgfile.tmp" "$cfgfile" \
23975 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23976 test 0 -eq $?
|| _lt_function_replace_fail
=:
23979 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23983 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23984 \ *) func_lo2o_result=${1} ;;\
23986 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23987 && mv -f "$cfgfile.tmp" "$cfgfile" \
23988 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23989 test 0 -eq $?
|| _lt_function_replace_fail
=:
23992 sed -e '/^func_xform ()$/,/^} # func_xform /c\
23995 func_xform_result=${1%.*}.lo\
23996 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23997 && mv -f "$cfgfile.tmp" "$cfgfile" \
23998 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23999 test 0 -eq $?
|| _lt_function_replace_fail
=:
24002 sed -e '/^func_arith ()$/,/^} # func_arith /c\
24005 func_arith_result=$(( $* ))\
24006 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
24007 && mv -f "$cfgfile.tmp" "$cfgfile" \
24008 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24009 test 0 -eq $?
|| _lt_function_replace_fail
=:
24012 sed -e '/^func_len ()$/,/^} # func_len /c\
24015 func_len_result=${#1}\
24016 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
24017 && mv -f "$cfgfile.tmp" "$cfgfile" \
24018 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24019 test 0 -eq $?
|| _lt_function_replace_fail
=:
24023 if test x
"$lt_shell_append" = xyes
; then
24024 sed -e '/^func_append ()$/,/^} # func_append /c\
24027 eval "${1}+=\\${2}"\
24028 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
24029 && mv -f "$cfgfile.tmp" "$cfgfile" \
24030 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24031 test 0 -eq $?
|| _lt_function_replace_fail
=:
24034 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
24035 func_append_quoted ()\
24037 \ func_quote_for_eval "${2}"\
24038 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
24039 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
24040 && mv -f "$cfgfile.tmp" "$cfgfile" \
24041 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24042 test 0 -eq $?
|| _lt_function_replace_fail
=:
24045 # Save a `func_append' function call where possible by direct use of '+='
24046 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
24047 && mv -f "$cfgfile.tmp" "$cfgfile" \
24048 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24049 test 0 -eq $?
|| _lt_function_replace_fail
=:
24051 # Save a `func_append' function call even when '+=' is not available
24052 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
24053 && mv -f "$cfgfile.tmp" "$cfgfile" \
24054 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24055 test 0 -eq $?
|| _lt_function_replace_fail
=:
24058 if test x
"$_lt_function_replace_fail" = x
":"; then
24059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
24060 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
24064 mv -f "$cfgfile" "$ofile" ||
24065 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24069 cat <<_LT_EOF >> "$ofile"
24071 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24073 # The linker used to build libraries.
24076 # How to create reloadable object files.
24077 reload_flag=$lt_reload_flag_CXX
24078 reload_cmds=$lt_reload_cmds_CXX
24080 # Commands used to build an old-style archive.
24081 old_archive_cmds=$lt_old_archive_cmds_CXX
24083 # A language specific compiler.
24084 CC=$lt_compiler_CXX
24086 # Is the compiler the GNU compiler?
24089 # Compiler flag to turn off builtin functions.
24090 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24092 # Additional compiler flags for building library objects.
24093 pic_flag=$lt_lt_prog_compiler_pic_CXX
24095 # How to pass a linker flag through the compiler.
24096 wl=$lt_lt_prog_compiler_wl_CXX
24098 # Compiler flag to prevent dynamic linking.
24099 link_static_flag=$lt_lt_prog_compiler_static_CXX
24101 # Does compiler simultaneously support -c and -o options?
24102 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24104 # Whether or not to add -lc for building shared libraries.
24105 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24107 # Whether or not to disallow shared libs when runtime libs are static.
24108 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24110 # Compiler flag to allow reflexive dlopens.
24111 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24113 # Compiler flag to generate shared objects directly from archives.
24114 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24116 # Whether the compiler copes with passing no objects directly.
24117 compiler_needs_object=$lt_compiler_needs_object_CXX
24119 # Create an old-style archive from a shared archive.
24120 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24122 # Create a temporary old-style archive to link instead of a shared archive.
24123 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24125 # Commands used to build a shared archive.
24126 archive_cmds=$lt_archive_cmds_CXX
24127 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24129 # Commands used to build a loadable module if different from building
24130 # a shared archive.
24131 module_cmds=$lt_module_cmds_CXX
24132 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24134 # Whether we are building with GNU ld or not.
24135 with_gnu_ld=$lt_with_gnu_ld_CXX
24137 # Flag that allows shared libraries with undefined symbols to be built.
24138 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24140 # Flag that enforces no undefined symbols.
24141 no_undefined_flag=$lt_no_undefined_flag_CXX
24143 # Flag to hardcode \$libdir into a binary during linking.
24144 # This must work even if \$libdir does not exist
24145 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24147 # Whether we need a single "-rpath" flag with a separated argument.
24148 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24150 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24151 # DIR into the resulting binary.
24152 hardcode_direct=$hardcode_direct_CXX
24154 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24155 # DIR into the resulting binary and the resulting library dependency is
24156 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24157 # library is relocated.
24158 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24160 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24161 # into the resulting binary.
24162 hardcode_minus_L=$hardcode_minus_L_CXX
24164 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24165 # into the resulting binary.
24166 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24168 # Set to "yes" if building a shared library automatically hardcodes DIR
24169 # into the library and all subsequent libraries and executables linked
24171 hardcode_automatic=$hardcode_automatic_CXX
24173 # Set to yes if linker adds runtime paths of dependent libraries
24174 # to runtime path list.
24175 inherit_rpath=$inherit_rpath_CXX
24177 # Whether libtool must link a program against all its dependency libraries.
24178 link_all_deplibs=$link_all_deplibs_CXX
24180 # Set to "yes" if exported symbols are required.
24181 always_export_symbols=$always_export_symbols_CXX
24183 # The commands to list exported symbols.
24184 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24186 # Symbols that should not be listed in the preloaded symbols.
24187 exclude_expsyms=$lt_exclude_expsyms_CXX
24189 # Symbols that must always be exported.
24190 include_expsyms=$lt_include_expsyms_CXX
24192 # Commands necessary for linking programs (against libraries) with templates.
24193 prelink_cmds=$lt_prelink_cmds_CXX
24195 # Commands necessary for finishing linking programs.
24196 postlink_cmds=$lt_postlink_cmds_CXX
24198 # Specify filename containing input files.
24199 file_list_spec=$lt_file_list_spec_CXX
24201 # How to hardcode a shared library path into an executable.
24202 hardcode_action=$hardcode_action_CXX
24204 # The directories searched by this compiler when creating a shared library.
24205 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24207 # Dependencies to place before and after the objects being linked to
24208 # create a shared library.
24209 predep_objects=$lt_predep_objects_CXX
24210 postdep_objects=$lt_postdep_objects_CXX
24211 predeps=$lt_predeps_CXX
24212 postdeps=$lt_postdeps_CXX
24214 # The library search path used internally by the compiler when linking
24215 # a shared library.
24216 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24218 # ### END LIBTOOL TAG CONFIG: CXX
24229 ac_clean_files
=$ac_clean_files_save
24231 test $ac_write_fail = 0 ||
24232 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24235 # configure is writing to config.log, and then calls config.status.
24236 # config.status does its own redirection, appending to config.log.
24237 # Unfortunately, on DOS this fails, as config.log is still kept open
24238 # by configure, so config.status won't be able to write to it; its
24239 # output is simply discarded. So we exec the FD to /dev/null,
24240 # effectively closing config.log, so it can be properly (re)opened and
24241 # appended to by config.status. When coming back to configure, we
24242 # need to make the FD available again.
24243 if test "$no_create" != yes; then
24245 ac_config_status_args
=
24246 test "$silent" = yes &&
24247 ac_config_status_args
="$ac_config_status_args --quiet"
24249 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24251 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24252 # would make configure fail if this is the last instruction.
24253 $ac_cs_success || as_fn_exit
1
24255 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24257 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}