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
719 am__fastdepOBJCXX_FALSE
720 am__fastdepOBJCXX_TRUE
754 INSTALL_STRIP_PROGRAM
796 program_transform_name
809 enable_option_checking
811 enable_dependency_tracking
824 ac_precious_vars
='build_alias
853 # Initialize some variables set by options.
855 ac_init_version
=false
856 ac_unrecognized_opts
=
858 # The variables have the same names as the options, with
859 # dashes changed to underlines.
867 program_transform_name
=s
,x
,x
,
875 # Installation directory options.
876 # These are left unexpanded so users can "make install exec_prefix=/foo"
877 # and all the variables that are supposed to be based on exec_prefix
878 # by default will actually change.
879 # Use braces instead of parens because sh, perl, etc. also accept them.
880 # (The list follows the same order as the GNU Coding Standards.)
881 bindir
='${exec_prefix}/bin'
882 sbindir
='${exec_prefix}/sbin'
883 libexecdir
='${exec_prefix}/libexec'
884 datarootdir
='${prefix}/share'
885 datadir
='${datarootdir}'
886 sysconfdir
='${prefix}/etc'
887 sharedstatedir
='${prefix}/com'
888 localstatedir
='${prefix}/var'
889 includedir
='${prefix}/include'
890 oldincludedir
='/usr/include'
891 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
892 infodir
='${datarootdir}/info'
897 libdir
='${exec_prefix}/lib'
898 localedir
='${datarootdir}/locale'
899 mandir
='${datarootdir}/man'
905 # If the previous option needs an argument, assign it.
906 if test -n "$ac_prev"; then
907 eval $ac_prev=\
$ac_option
913 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
918 # Accept the important Cygnus configure options, so we can diagnose typos.
920 case $ac_dashdash$ac_option in
924 -bindir | --bindir | --bindi | --bind | --bin | --bi)
926 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
929 -build | --build | --buil | --bui | --bu)
930 ac_prev
=build_alias
;;
931 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
932 build_alias
=$ac_optarg ;;
934 -cache-file | --cache-file | --cache-fil | --cache-fi \
935 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
936 ac_prev
=cache_file
;;
937 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
938 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
939 cache_file
=$ac_optarg ;;
942 cache_file
=config.cache
;;
944 -datadir | --datadir | --datadi | --datad)
946 -datadir=* | --datadir=* | --datadi=* | --datad=*)
947 datadir
=$ac_optarg ;;
949 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
950 | --dataroo | --dataro | --datar)
951 ac_prev
=datarootdir
;;
952 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
953 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
954 datarootdir
=$ac_optarg ;;
956 -disable-* | --disable-*)
957 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
960 as_fn_error $?
"invalid feature name: $ac_useropt"
961 ac_useropt_orig
=$ac_useropt
962 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 case $ac_user_opts in
967 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
968 ac_unrecognized_sep
=', ';;
970 eval enable_
$ac_useropt=no
;;
972 -docdir | --docdir | --docdi | --doc | --do)
974 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
977 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
979 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
982 -enable-* | --enable-*)
983 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
986 as_fn_error $?
"invalid feature name: $ac_useropt"
987 ac_useropt_orig
=$ac_useropt
988 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
993 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994 ac_unrecognized_sep
=', ';;
996 eval enable_
$ac_useropt=\
$ac_optarg ;;
998 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
999 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1000 | --exec | --exe | --ex)
1001 ac_prev
=exec_prefix
;;
1002 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1003 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1004 | --exec=* | --exe=* | --ex=*)
1005 exec_prefix
=$ac_optarg ;;
1007 -gas | --gas | --ga | --g)
1008 # Obsolete; use --with-gas.
1011 -help | --help | --hel | --he | -h)
1012 ac_init_help
=long
;;
1013 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1014 ac_init_help
=recursive
;;
1015 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1016 ac_init_help
=short
;;
1018 -host | --host | --hos | --ho)
1019 ac_prev
=host_alias
;;
1020 -host=* | --host=* | --hos=* | --ho=*)
1021 host_alias
=$ac_optarg ;;
1023 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1025 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1027 htmldir
=$ac_optarg ;;
1029 -includedir | --includedir | --includedi | --included | --include \
1030 | --includ | --inclu | --incl | --inc)
1031 ac_prev
=includedir
;;
1032 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1033 | --includ=* | --inclu=* | --incl=* | --inc=*)
1034 includedir
=$ac_optarg ;;
1036 -infodir | --infodir | --infodi | --infod | --info | --inf)
1038 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1039 infodir
=$ac_optarg ;;
1041 -libdir | --libdir | --libdi | --libd)
1043 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1044 libdir
=$ac_optarg ;;
1046 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1047 | --libexe | --libex | --libe)
1048 ac_prev
=libexecdir
;;
1049 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1050 | --libexe=* | --libex=* | --libe=*)
1051 libexecdir
=$ac_optarg ;;
1053 -localedir | --localedir | --localedi | --localed | --locale)
1054 ac_prev
=localedir
;;
1055 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1056 localedir
=$ac_optarg ;;
1058 -localstatedir | --localstatedir | --localstatedi | --localstated \
1059 | --localstate | --localstat | --localsta | --localst | --locals)
1060 ac_prev
=localstatedir
;;
1061 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1062 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1063 localstatedir
=$ac_optarg ;;
1065 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1067 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1068 mandir
=$ac_optarg ;;
1070 -nfp | --nfp | --nf)
1071 # Obsolete; use --without-fp.
1074 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1075 | --no-cr | --no-c | -n)
1078 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1079 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1082 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1083 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1084 | --oldin | --oldi | --old | --ol | --o)
1085 ac_prev
=oldincludedir
;;
1086 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1087 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1088 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1089 oldincludedir
=$ac_optarg ;;
1091 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1093 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1094 prefix
=$ac_optarg ;;
1096 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1097 | --program-pre | --program-pr | --program-p)
1098 ac_prev
=program_prefix
;;
1099 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1100 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1101 program_prefix
=$ac_optarg ;;
1103 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1104 | --program-suf | --program-su | --program-s)
1105 ac_prev
=program_suffix
;;
1106 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1107 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1108 program_suffix
=$ac_optarg ;;
1110 -program-transform-name | --program-transform-name \
1111 | --program-transform-nam | --program-transform-na \
1112 | --program-transform-n | --program-transform- \
1113 | --program-transform | --program-transfor \
1114 | --program-transfo | --program-transf \
1115 | --program-trans | --program-tran \
1116 | --progr-tra | --program-tr | --program-t)
1117 ac_prev
=program_transform_name
;;
1118 -program-transform-name=* | --program-transform-name=* \
1119 | --program-transform-nam=* | --program-transform-na=* \
1120 | --program-transform-n=* | --program-transform-=* \
1121 | --program-transform=* | --program-transfor=* \
1122 | --program-transfo=* | --program-transf=* \
1123 | --program-trans=* | --program-tran=* \
1124 | --progr-tra=* | --program-tr=* | --program-t=*)
1125 program_transform_name
=$ac_optarg ;;
1127 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1129 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1130 pdfdir
=$ac_optarg ;;
1132 -psdir | --psdir | --psdi | --psd | --ps)
1134 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138 | -silent | --silent | --silen | --sile | --sil)
1141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1145 sbindir
=$ac_optarg ;;
1147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1149 | --sharedst | --shareds | --shared | --share | --shar \
1151 ac_prev
=sharedstatedir
;;
1152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1156 sharedstatedir
=$ac_optarg ;;
1158 -site | --site | --sit)
1160 -site=* | --site=* | --sit=*)
1163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1166 srcdir
=$ac_optarg ;;
1168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1169 | --syscon | --sysco | --sysc | --sys | --sy)
1170 ac_prev
=sysconfdir
;;
1171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1173 sysconfdir
=$ac_optarg ;;
1175 -target | --target | --targe | --targ | --tar | --ta | --t)
1176 ac_prev
=target_alias
;;
1177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1178 target_alias
=$ac_optarg ;;
1180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1183 -version | --version | --versio | --versi | --vers | -V)
1184 ac_init_version
=: ;;
1187 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1190 as_fn_error $?
"invalid package name: $ac_useropt"
1191 ac_useropt_orig
=$ac_useropt
1192 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1198 ac_unrecognized_sep
=', ';;
1200 eval with_
$ac_useropt=\
$ac_optarg ;;
1202 -without-* | --without-*)
1203 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1206 as_fn_error $?
"invalid package name: $ac_useropt"
1207 ac_useropt_orig
=$ac_useropt
1208 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1213 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1214 ac_unrecognized_sep
=', ';;
1216 eval with_
$ac_useropt=no
;;
1219 # Obsolete; use --with-x.
1222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1223 | --x-incl | --x-inc | --x-in | --x-i)
1224 ac_prev
=x_includes
;;
1225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1227 x_includes
=$ac_optarg ;;
1229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1231 ac_prev
=x_libraries
;;
1232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1234 x_libraries
=$ac_optarg ;;
1236 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1237 Try \`$0 --help' for more information"
1241 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1242 # Reject names that are not valid shell variable names.
1243 case $ac_envvar in #(
1244 '' | [0-9]* | *[!_$as_cr_alnum]* )
1245 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1247 eval $ac_envvar=\
$ac_optarg
1248 export $ac_envvar ;;
1251 # FIXME: should be removed in autoconf 3.0.
1252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1261 if test -n "$ac_prev"; then
1262 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1263 as_fn_error $?
"missing argument to $ac_option"
1266 if test -n "$ac_unrecognized_opts"; then
1267 case $enable_option_checking in
1269 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1274 # Check all directory arguments for consistency.
1275 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1276 datadir sysconfdir sharedstatedir localstatedir includedir \
1277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1278 libdir localedir mandir
1280 eval ac_val
=\$
$ac_var
1281 # Remove trailing slashes.
1284 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1285 eval $ac_var=\
$ac_val;;
1287 # Be sure to have absolute directory names.
1289 [\\/$
]* | ?
:[\\/]* ) continue;;
1290 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1292 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target
=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x
; then
1304 if test "x$build_alias" = x
; then
1305 cross_compiling
=maybe
1306 elif test "x$build_alias" != "x$host_alias"; then
1312 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1314 test "$silent" = yes && exec 6>/dev
/null
1317 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1318 ac_ls_di
=`ls -di .` &&
1319 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1320 as_fn_error $?
"working directory cannot be determined"
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322 as_fn_error $?
"pwd does not report name of working directory"
1325 # Find the source files, if location was not specified.
1326 if test -z "$srcdir"; then
1327 ac_srcdir_defaulted
=yes
1328 # Try the directory containing this script, then the parent directory.
1329 ac_confdir
=`$as_dirname -- "$as_myself" ||
1330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1331 X"$as_myself" : 'X\(//\)[^/]' \| \
1332 X"$as_myself" : 'X\(//\)$' \| \
1333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1334 $as_echo X"$as_myself" |
1335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1353 if test ! -r "$srcdir/$ac_unique_file"; then
1357 ac_srcdir_defaulted
=no
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1361 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1363 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1375 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 for ac_var
in $ac_precious_vars; do
1378 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1379 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1380 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1381 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1391 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking ...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1440 --htmldir=DIR html documentation [DOCDIR]
1441 --dvidir=DIR dvi documentation [DOCDIR]
1442 --pdfdir=DIR pdf documentation [DOCDIR]
1443 --psdir=DIR ps documentation [DOCDIR]
1449 --program-prefix=PREFIX prepend PREFIX to installed program names
1450 --program-suffix=SUFFIX append SUFFIX to installed program names
1451 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1454 --build=BUILD configure
for building on BUILD
[guessed
]
1455 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1459 if test -n "$ac_init_help"; then
1460 case $ac_init_help in
1461 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1466 --disable-option-checking ignore unrecognized
--enable/--with options
1467 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1468 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1469 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1470 --disable-silent-rules verbose build output
(undo
: "make V=0")
1471 --enable-dependency-tracking
1472 do not reject slow dependency extractors
1473 --disable-dependency-tracking
1474 speeds up one
-time build
1475 --enable-static[=PKGS
] build static libraries
[default
=no
]
1476 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1477 --enable-fast-install[=PKGS
]
1478 optimize
for fast installation
[default
=yes]
1479 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1480 --enable-javascript[=ENGINE
]
1481 use a JavaScript runtime
(currently the only
1482 available option
for ENGINE is JavaScriptCore
)
1484 --disable-rpath do not hardcode runtime library paths
1487 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1488 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1489 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1491 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1492 --with-sysroot=DIR Search
for dependent libraries within DIR
1493 (or the compiler
's sysroot if not specified).
1494 --with-apr=PATH prefix for installed APR or the full path to
1496 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1497 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1498 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1500 Some influential environment variables
:
1501 CXX C
++ compiler
command
1502 CXXFLAGS C
++ compiler flags
1503 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1504 nonstandard directory
<lib dir
>
1505 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1506 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1507 you have headers
in a nonstandard directory
<include dir
>
1508 OBJCXX Objective C
++ compiler
command
1509 OBJCXXFLAGS Objective C
++ compiler flags
1510 CC C compiler
command
1511 CFLAGS C compiler flags
1513 CXXCPP C
++ preprocessor
1514 PKG_CONFIG path to pkg
-config utility
1516 directories to add to pkg
-config's search path
1518 path overriding pkg-config's built
-in search path
1519 BISON GNU Project parser generator
(yacc replacement
)
1520 FLEX the fast lexical analyser generator
1521 GPERF perfect
hash function generator
1522 GNUTAR a very sticky lump of files
1524 C compiler flags
for WEBKIT
, overriding pkg
-config
1525 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
1527 prints information about the current gnustep installation
1529 Use these variables to override the choices made by
`configure' or to help
1530 it to find libraries and programs with nonstandard names/locations.
1532 Report bugs to <saurik@saurik.com>.
1533 Cycript home page: <http://www.cycript.org/>.
1538 if test "$ac_init_help" = "recursive"; then
1539 # If there are subdirs, report their specific --help.
1540 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1541 test -d "$ac_dir" ||
1542 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1550 # A ".." for each directory in $ac_dir_suffix.
1551 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1552 case $ac_top_builddir_sub in
1553 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1557 ac_abs_top_builddir=$ac_pwd
1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1559 # for backward compatibility:
1560 ac_top_builddir=$ac_top_build_prefix
1563 .) # We are building in place.
1565 ac_top_srcdir=$ac_top_builddir_sub
1566 ac_abs_top_srcdir=$ac_pwd ;;
1567 [\\/]* | ?:[\\/]* ) # Absolute name.
1568 ac_srcdir=$srcdir$ac_dir_suffix;
1569 ac_top_srcdir=$srcdir
1570 ac_abs_top_srcdir=$srcdir ;;
1572 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1573 ac_top_srcdir=$ac_top_build_prefix$srcdir
1574 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1578 cd "$ac_dir" || { ac_status=$?; continue; }
1579 # Check for guested configure.
1580 if test -f "$ac_srcdir/configure.gnu"; then
1582 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1583 elif test -f "$ac_srcdir/configure"; then
1585 $SHELL "$ac_srcdir/configure" --help=recursive
1587 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1589 cd "$ac_pwd" || { ac_status=$?; break; }
1593 test -n "$ac_init_help" && exit $ac_status
1594 if $ac_init_version; then
1596 Cycript configure 0.9
1597 generated by GNU Autoconf 2.69
1599 Copyright (C) 2012 Free Software Foundation, Inc.
1600 This configure script is free software; the Free Software Foundation
1601 gives unlimited permission to copy, distribute and modify it.
1603 Copyright (C) 2009-2012 Jay Freeman (saurik)
1608 ## ------------------------ ##
1609 ## Autoconf initialization. ##
1610 ## ------------------------ ##
1612 # ac_fn_cxx_try_compile LINENO
1613 # ----------------------------
1614 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1615 ac_fn_cxx_try_compile ()
1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618 rm -f conftest.$ac_objext
1619 if { { ac_try="$ac_compile"
1621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1622 *) ac_try_echo
=$ac_try;;
1624 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625 $as_echo "$ac_try_echo"; } >&5
1626 (eval "$ac_compile") 2>conftest.err
1628 if test -s conftest.err
; then
1629 grep -v '^ *+' conftest.err
>conftest.er1
1630 cat conftest.er1
>&5
1631 mv -f conftest.er1 conftest.err
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; } && {
1635 test -z "$ac_cxx_werror_flag" ||
1636 test ! -s conftest.err
1637 } && test -s conftest.
$ac_objext; then :
1640 $as_echo "$as_me: failed program was:" >&5
1641 sed 's/^/| /' conftest.
$ac_ext >&5
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 as_fn_set_status
$ac_retval
1648 } # ac_fn_cxx_try_compile
1650 # ac_fn_objcxx_try_compile LINENO
1651 # -------------------------------
1652 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1653 ac_fn_objcxx_try_compile
()
1655 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1656 rm -f conftest.
$ac_objext
1657 if { { ac_try
="$ac_compile"
1659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_compile") 2>conftest.err
1666 if test -s conftest.err; then
1667 grep -v '^ *+' conftest.err >conftest.er1
1668 cat conftest.er1 >&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && {
1673 test -z "$ac_objcxx_werror_flag" ||
1674 test ! -s conftest.err
1675 } && test -s conftest.$ac_objext; then :
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval
1686 } # ac_fn_objcxx_try_compile
1688 # ac_fn_c_try_compile LINENO
1689 # --------------------------
1690 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1691 ac_fn_c_try_compile ()
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 rm -f conftest.$ac_objext
1695 if { { ac_try="$ac_compile"
1697 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1698 *) ac_try_echo
=$ac_try;;
1700 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_compile") 2>conftest.err
1704 if test -s conftest.err
; then
1705 grep -v '^ *+' conftest.err
>conftest.er1
1706 cat conftest.er1
>&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } && {
1711 test -z "$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1713 } && test -s conftest.
$ac_objext; then :
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.
$ac_ext >&5
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722 as_fn_set_status
$ac_retval
1724 } # ac_fn_c_try_compile
1726 # ac_fn_c_try_link LINENO
1727 # -----------------------
1728 # Try to link conftest.$ac_ext, and return whether this succeeded.
1731 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1732 rm -f conftest.
$ac_objext conftest
$ac_exeext
1733 if { { ac_try
="$ac_link"
1735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_link") 2>conftest.err
1742 if test -s conftest.err; then
1743 grep -v '^ *+' conftest.err >conftest.er1
1744 cat conftest.er1 >&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } && {
1749 test -z "$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1751 } && test -s conftest$ac_exeext && {
1752 test "$cross_compiling" = yes ||
1753 test -x conftest$ac_exeext
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1762 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1763 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1764 # interfere with the next link command; also delete a directory that is
1765 # left behind by Apple's compiler. We do this before executing the actions.
1766 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1768 as_fn_set_status $ac_retval
1770 } # ac_fn_c_try_link
1772 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1773 # -------------------------------------------------------
1774 # Tests whether HEADER exists and can be compiled using the include files in
1775 # INCLUDES, setting the cache variable VAR accordingly.
1776 ac_fn_c_check_header_compile ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if eval \${$3+:} false; then :
1782 $as_echo_n "(cached) " >&6
1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1789 if ac_fn_c_try_compile "$LINENO"; then :
1794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798 $as_echo "$ac_res" >&6; }
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801 } # ac_fn_c_check_header_compile
1803 # ac_fn_c_try_cpp LINENO
1804 # ----------------------
1805 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 if { { ac_try="$ac_cpp conftest.$ac_ext"
1811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1812 *) ac_try_echo
=$ac_try;;
1814 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1818 if test -s conftest.err
; then
1819 grep -v '^ *+' conftest.err
>conftest.er1
1820 cat conftest.er1
>&5
1821 mv -f conftest.er1 conftest.err
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; } > conftest.i
&& {
1825 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1826 test ! -s conftest.err
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.
$ac_ext >&5
1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 as_fn_set_status
$ac_retval
1840 # ac_fn_c_try_run LINENO
1841 # ----------------------
1842 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1843 # that executables *can* be run.
1846 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1847 if { { ac_try
="$ac_link"
1849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_link") 2>&5
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1858 { { case "(($ac_try" in
1859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1860 *) ac_try_echo
=$ac_try;;
1862 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_try") 2>&5
1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867 test $ac_status = 0; }; }; then :
1870 $as_echo "$as_me: program exited with status $ac_status" >&5
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.
$ac_ext >&5
1874 ac_retval
=$ac_status
1876 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878 as_fn_set_status
$ac_retval
1882 # ac_fn_c_check_func LINENO FUNC VAR
1883 # ----------------------------------
1884 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1885 ac_fn_c_check_func
()
1887 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if eval \
${$3+:} false
; then :
1891 $as_echo_n "(cached) " >&6
1893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1897 #define $2 innocuous_$2
1899 /* System header to define __stub macros and hopefully few prototypes,
1900 which can conflict with char $2 (); below.
1901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1902 <limits.h> exists even on freestanding compilers. */
1905 # include <limits.h>
1907 # include <assert.h>
1912 /* Override any GCC internal prototype to avoid an error.
1913 Use char because int might match the return type of a GCC
1914 builtin and then its argument prototype would still apply. */
1919 /* The GNU C library defines this for functions which it implements
1920 to always fail with ENOSYS. Some functions are actually named
1921 something starting with __ and the normal name is an alias. */
1922 #if defined __stub_$2 || defined __stub___$2
1934 if ac_fn_c_try_link
"$LINENO"; then :
1939 rm -f core conftest.err conftest.
$ac_objext \
1940 conftest
$ac_exeext conftest.
$ac_ext
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947 } # ac_fn_c_check_func
1949 # ac_fn_cxx_try_cpp LINENO
1950 # ------------------------
1951 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1952 ac_fn_cxx_try_cpp
()
1954 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1955 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1957 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1958 *) ac_try_echo=$ac_try;;
1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1964 if test -s conftest.err; then
1965 grep -v '^ *+' conftest.err >conftest.er1
1966 cat conftest.er1 >&5
1967 mv -f conftest.er1 conftest.err
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } > conftest.i && {
1971 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1972 test ! -s conftest.err
1976 $as_echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.$ac_ext >&5
1981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982 as_fn_set_status $ac_retval
1984 } # ac_fn_cxx_try_cpp
1986 # ac_fn_cxx_try_link LINENO
1987 # -------------------------
1988 # Try to link conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_link ()
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 rm -f conftest.$ac_objext conftest$ac_exeext
1993 if { { ac_try="$ac_link"
1995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1996 *) ac_try_echo
=$ac_try;;
1998 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1999 $as_echo "$ac_try_echo"; } >&5
2000 (eval "$ac_link") 2>conftest.err
2002 if test -s conftest.err
; then
2003 grep -v '^ *+' conftest.err
>conftest.er1
2004 cat conftest.er1
>&5
2005 mv -f conftest.er1 conftest.err
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; } && {
2009 test -z "$ac_cxx_werror_flag" ||
2010 test ! -s conftest.err
2011 } && test -s conftest
$ac_exeext && {
2012 test "$cross_compiling" = yes ||
2013 test -x conftest
$ac_exeext
2017 $as_echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.
$ac_ext >&5
2022 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2023 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2024 # interfere with the next link command; also delete a directory that is
2025 # left behind by Apple's compiler. We do this before executing the actions.
2026 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028 as_fn_set_status
$ac_retval
2030 } # ac_fn_cxx_try_link
2032 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2033 # ---------------------------------------------------------
2034 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2035 # the include files in INCLUDES and setting the cache variable VAR
2037 ac_fn_cxx_check_header_mongrel
()
2039 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2040 if eval \
${$3+:} false
; then :
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2042 $as_echo_n "checking for $2... " >&6; }
2043 if eval \
${$3+:} false
; then :
2044 $as_echo_n "(cached) " >&6
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2050 # Is the header compilable?
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2052 $as_echo_n "checking $2 usability... " >&6; }
2053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2058 if ac_fn_cxx_try_compile
"$LINENO"; then :
2059 ac_header_compiler
=yes
2061 ac_header_compiler
=no
2063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2065 $as_echo "$ac_header_compiler" >&6; }
2067 # Is the header present?
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2069 $as_echo_n "checking $2 presence... " >&6; }
2070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2074 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2075 ac_header_preproc
=yes
2077 ac_header_preproc
=no
2079 rm -f conftest.err conftest.i conftest.
$ac_ext
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2081 $as_echo "$ac_header_preproc" >&6; }
2083 # So? What about this header?
2084 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2087 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2089 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2093 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2095 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2097 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2099 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2101 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2102 ( $as_echo "## -------------------------------- ##
2103 ## Report this to saurik@saurik.com ##
2104 ## -------------------------------- ##"
2105 ) | sed "s/^/$as_me: WARNING: /" >&2
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; }
2110 if eval \
${$3+:} false
; then :
2111 $as_echo_n "(cached) " >&6
2113 eval "$3=\$ac_header_compiler"
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2117 $as_echo "$ac_res" >&6; }
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2121 } # ac_fn_cxx_check_header_mongrel
2123 # ac_fn_objcxx_try_link LINENO
2124 # ----------------------------
2125 # Try to link conftest.$ac_ext, and return whether this succeeded.
2126 ac_fn_objcxx_try_link
()
2128 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2129 rm -f conftest.
$ac_objext conftest
$ac_exeext
2130 if { { ac_try
="$ac_link"
2132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2133 *) ac_try_echo=$ac_try;;
2135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2136 $as_echo "$ac_try_echo"; } >&5
2137 (eval "$ac_link") 2>conftest.err
2139 if test -s conftest.err; then
2140 grep -v '^ *+' conftest.err >conftest.er1
2141 cat conftest.er1 >&5
2142 mv -f conftest.er1 conftest.err
2144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2145 test $ac_status = 0; } && {
2146 test -z "$ac_objcxx_werror_flag" ||
2147 test ! -s conftest.err
2148 } && test -s conftest$ac_exeext && {
2149 test "$cross_compiling" = yes ||
2150 test -x conftest$ac_exeext
2154 $as_echo "$as_me: failed program was:" >&5
2155 sed 's/^/| /' conftest.$ac_ext >&5
2159 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2160 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2161 # interfere with the next link command; also delete a directory that is
2162 # left behind by Apple's compiler. We do this before executing the actions.
2163 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2165 as_fn_set_status $ac_retval
2167 } # ac_fn_objcxx_try_link
2168 cat >config.log <<_ACEOF
2169 This file contains any messages produced by compilers while
2170 running configure, to aid debugging if configure makes a mistake.
2172 It was created by Cycript $as_me 0.9, which was
2173 generated by GNU Autoconf 2.69. Invocation command line was
2185 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2186 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2187 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2188 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2189 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2191 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2192 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2194 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2195 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2196 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2197 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2198 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2199 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2200 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2208 test -z "$as_dir" && as_dir=.
2209 $as_echo "PATH: $as_dir"
2225 # Keep a trace of the command line.
2226 # Strip out --no-create and --no-recursion so they do not pile up.
2227 # Strip out --silent because we don't want to record it for future runs.
2228 # Also quote any args containing shell meta-characters.
2229 # Make two passes to allow for proper duplicate-argument suppression.
2233 ac_must_keep_next=false
2239 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2240 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2241 | -silent | --silent | --silen | --sile | --sil)
2244 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2247 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2249 as_fn_append ac_configure_args1 " '$ac_arg'"
2250 if test $ac_must_keep_next = true; then
2251 ac_must_keep_next=false # Got value, back to normal.
2254 *=* | --config-cache | -C | -disable-* | --disable-* \
2255 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2256 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2257 | -with-* | --with-* | -without-* | --without-* | --x)
2258 case "$ac_configure_args0 " in
2259 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2262 -* ) ac_must_keep_next=true ;;
2265 as_fn_append ac_configure_args " '$ac_arg'"
2270 { ac_configure_args0=; unset ac_configure_args0;}
2271 { ac_configure_args1=; unset ac_configure_args1;}
2273 # When interrupted or exit'd, cleanup temporary files, and complete
2274 # config.log. We remove comments because anyway the quotes in there
2275 # would cause problems or look ugly.
2276 # WARNING: Use '\'' to represent an apostrophe within the trap.
2277 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2278 trap 'exit_status=$?
2279 # Save into config.log some information that might help in debugging.
2283 $as_echo "## ---------------- ##
2284 ## Cache variables. ##
2285 ## ---------------- ##"
2287 # The following way of writing the cache mishandles newlines in values,
2289 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2290 eval ac_val=\$$ac_var
2294 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2295 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2298 _ | IFS | as_nl) ;; #(
2299 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2300 *) { eval $ac_var=; unset $ac_var;} ;;
2305 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2306 *${as_nl}ac_space=\ *)
2308 "s/'\''/'\''\\\\'\'''\''/g;
2309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2312 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2319 $as_echo "## ----------------- ##
2320 ## Output variables. ##
2321 ## ----------------- ##"
2323 for ac_var in $ac_subst_vars
2325 eval ac_val=\$$ac_var
2327 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2329 $as_echo "$ac_var='\''$ac_val'\''"
2333 if test -n "$ac_subst_files"; then
2334 $as_echo "## ------------------- ##
2335 ## File substitutions. ##
2336 ## ------------------- ##"
2338 for ac_var in $ac_subst_files
2340 eval ac_val=\$$ac_var
2342 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2344 $as_echo "$ac_var='\''$ac_val'\''"
2349 if test -s confdefs.h; then
2350 $as_echo "## ----------- ##
2357 test "$ac_signal" != 0 &&
2358 $as_echo "$as_me: caught signal $ac_signal"
2359 $as_echo "$as_me: exit $exit_status"
2361 rm -f core *.core core.conftest.* &&
2362 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2365 for ac_signal in 1 2 13 15; do
2366 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2370 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2371 rm -f -r conftest* confdefs.h
2373 $as_echo "/* confdefs.h */" > confdefs.h
2375 # Predefined preprocessor variables.
2377 cat >>confdefs.h <<_ACEOF
2378 #define PACKAGE_NAME "$PACKAGE_NAME"
2381 cat >>confdefs.h <<_ACEOF
2382 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2385 cat >>confdefs.h <<_ACEOF
2386 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2389 cat >>confdefs.h <<_ACEOF
2390 #define PACKAGE_STRING "$PACKAGE_STRING"
2393 cat >>confdefs.h <<_ACEOF
2394 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2397 cat >>confdefs.h <<_ACEOF
2398 #define PACKAGE_URL "$PACKAGE_URL"
2402 # Let the site file select an alternate cache file if it wants to.
2403 # Prefer an explicitly selected file to automatically selected ones.
2406 if test -n "$CONFIG_SITE"; then
2407 # We do not want a PATH search for config.site.
2408 case $CONFIG_SITE in #((
2409 -*) ac_site_file1=./$CONFIG_SITE;;
2410 */*) ac_site_file1=$CONFIG_SITE;;
2411 *) ac_site_file1=./$CONFIG_SITE;;
2413 elif test "x$prefix" != xNONE; then
2414 ac_site_file1=$prefix/share/config.site
2415 ac_site_file2=$prefix/etc/config.site
2417 ac_site_file1=$ac_default_prefix/share/config.site
2418 ac_site_file2=$ac_default_prefix/etc/config.site
2420 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2422 test "x$ac_site_file" = xNONE && continue
2423 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2425 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2426 sed 's/^/| /' "$ac_site_file" >&5
2428 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2430 as_fn_error $? "failed to load site
script $ac_site_file
2431 See \
`config.log' for more details" "$LINENO" 5; }
2435 if test -r "$cache_file"; then
2436 # Some versions of bash will fail to source /dev/null (special files
2437 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2438 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2440 $as_echo "$as_me: loading cache $cache_file" >&6;}
2442 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2443 *) . "./$cache_file";;
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2448 $as_echo "$as_me: creating cache $cache_file" >&6;}
2452 # Check that the precious variables saved in the cache have kept the same
2454 ac_cache_corrupted=false
2455 for ac_var in $ac_precious_vars; do
2456 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2457 eval ac_new_set=\$ac_env_${ac_var}_set
2458 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2459 eval ac_new_val=\$ac_env_${ac_var}_value
2460 case $ac_old_set,$ac_new_set in
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2463 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2464 ac_cache_corrupted=: ;;
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2467 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2468 ac_cache_corrupted=: ;;
2471 if test "x$ac_old_val" != "x$ac_new_val"; then
2472 # differences in whitespace do not lead to failure.
2473 ac_old_val_w=`echo x
$ac_old_val`
2474 ac_new_val_w=`echo x
$ac_new_val`
2475 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2477 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2478 ac_cache_corrupted=:
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2481 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2482 eval $ac_var=\$ac_old_val
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2485 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2487 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2490 # Pass precious variables to config.status.
2491 if test "$ac_new_set" = set; then
2493 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2494 *) ac_arg=$ac_var=$ac_new_val ;;
2496 case " $ac_configure_args " in
2497 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2498 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2502 if $ac_cache_corrupted; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2506 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2507 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2509 ## -------------------- ##
2510 ## Main body of script. ##
2511 ## -------------------- ##
2514 ac_cpp='$CPP $CPPFLAGS'
2515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2524 for ac_dir in . "$srcdir"/.; do
2525 if test -f "$ac_dir/install-sh"; then
2527 ac_install_sh="$ac_aux_dir/install-sh -c"
2529 elif test -f "$ac_dir/install.sh"; then
2531 ac_install_sh="$ac_aux_dir/install.sh -c"
2533 elif test -f "$ac_dir/shtool"; then
2535 ac_install_sh="$ac_aux_dir/shtool install -c"
2539 if test -z "$ac_aux_dir"; then
2540 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2543 # These three variables are undocumented and unsupported,
2544 # and are intended to be withdrawn in a future Autoconf release.
2545 # They can cause serious problems if a builder's source tree is in a directory
2546 # whose full name contains unusual characters.
2547 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2548 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2549 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2553 ac_config_headers="$ac_config_headers config.h"
2556 am__api_version='1.13'
2558 # Find a good install program. We prefer a C program (faster),
2559 # so one script is as good as another. But avoid the broken or
2560 # incompatible versions:
2561 # SysV /etc/install, /usr/sbin/install
2562 # SunOS /usr/etc/install
2563 # IRIX /sbin/install
2565 # AmigaOS /C/install, which installs bootblocks on floppy discs
2566 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2567 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2568 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2569 # OS/2's system install, which has a completely different semantic
2570 # ./install, which can be erroneously created by make from ./install.sh.
2571 # Reject install programs that cannot install multiple files.
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2573 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2574 if test -z "$INSTALL"; then
2575 if ${ac_cv_path_install+:} false; then :
2576 $as_echo_n "(cached) " >&6
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir=.
2583 # Account for people who put trailing slashes in PATH elements.
2584 case $as_dir/ in #((
2585 ./ | .// | /[cC]/* | \
2586 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2587 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2590 # OSF1 and SCO ODT 3.0 have their own names for install.
2591 # Don't use installbsd from OSF since it installs stuff as root
2593 for ac_prog in ginstall scoinst install; do
2594 for ac_exec_ext in '' $ac_executable_extensions; do
2595 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2596 if test $ac_prog = install &&
2597 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2598 # AIX install. It has an incompatible calling convention.
2600 elif test $ac_prog = install &&
2601 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2602 # program-specific install script used by HP pwplus--don't use.
2605 rm -rf conftest.one conftest.two conftest.dir
2606 echo one > conftest.one
2607 echo two > conftest.two
2609 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2610 test -s conftest.one && test -s conftest.two &&
2611 test -s conftest.dir/conftest.one &&
2612 test -s conftest.dir/conftest.two
2614 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2627 rm -rf conftest.one conftest.two conftest.dir
2630 if test "${ac_cv_path_install+set}" = set; then
2631 INSTALL=$ac_cv_path_install
2633 # As a last resort, use the slow shell script. Don't cache a
2634 # value for INSTALL within a source directory, because that will
2635 # break other packages using the cache if that directory is
2636 # removed, or if the value is a relative name.
2637 INSTALL=$ac_install_sh
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2641 $as_echo "$INSTALL" >&6; }
2643 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2644 # It thinks the first close brace ends the variable substitution.
2645 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2647 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2649 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2652 $as_echo_n "checking whether build environment is sane... " >&6; }
2653 # Reject unsafe characters in $srcdir or the absolute working directory
2654 # name. Accept space and tab only in the latter.
2658 *[\\\"\#\$\&\'\`$am_lf]*)
2659 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2662 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2663 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2666 # Do 'set' in a subshell so we don't clobber the current shell's
2667 # arguments. Must try -L first in case configure is actually a
2668 # symlink; some systems play weird games with the mod time of symlinks
2669 # (eg FreeBSD returns the mod time of the symlink's containing
2673 for am_try in 1 2; do
2674 echo "timestamp, slept: $am_has_slept" > conftest.file
2675 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2676 if test "$*" = "X"; then
2678 set X `ls -t "$srcdir/configure" conftest.
file`
2680 if test "$*" != "X $srcdir/configure conftest.file" \
2681 && test "$*" != "X conftest.file $srcdir/configure"; then
2683 # If neither matched, then we have a broken ls. This can happen
2684 # if, for instance, CONFIG_SHELL is bash and it inherits a
2685 # broken ls alias from the environment. This has actually
2686 # happened. Such a system could not be considered "sane".
2687 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2688 alias in your environment" "$LINENO" 5
2690 if test "$2" = conftest.file || test $am_try -eq 2; then
2697 test "$2" = conftest.file
2703 as_fn_error $? "newly created file is older than distributed files!
2704 Check your system clock" "$LINENO" 5
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2707 $as_echo "yes" >&6; }
2708 # If we didn't sleep, we still need to ensure time stamps of config.status and
2709 # generated files are strictly newer.
2711 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2718 test "$program_prefix" != NONE &&
2719 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2720 # Use a double $ so make ignores it.
2721 test "$program_suffix" != NONE &&
2722 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2723 # Double any \ or $.
2724 # By default was `s
,x
,x
', remove it if useless.
2725 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2726 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2728 # expand $ac_aux_dir to an absolute path
2729 am_aux_dir=`cd $ac_aux_dir && pwd`
2731 if test x"${MISSING+set}" != xset; then
2734 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2736 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2739 # Use eval to expand $SHELL
2740 if eval "$MISSING --is-lightweight"; then
2741 am_missing_run="$MISSING "
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2745 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2748 if test x"${install_sh}" != xset; then
2751 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2753 install_sh="\${SHELL} $am_aux_dir/install-sh"
2757 # Installed binaries are usually stripped using 'strip
' when the user
2758 # run "make install-strip". However 'strip
' might not be the right
2759 # tool to use in cross-compilation environments, therefore Automake
2760 # will honor the 'STRIP
' environment variable to overrule this program.
2761 if test "$cross_compiling" != no; then
2762 if test -n "$ac_tool_prefix"; then
2763 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2764 set dummy ${ac_tool_prefix}strip; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if ${ac_cv_prog_STRIP+:} false; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$STRIP"; then
2771 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 STRIP=$ac_cv_prog_STRIP
2791 if test -n "$STRIP"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2793 $as_echo "$STRIP" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2801 if test -z "$ac_cv_prog_STRIP"; then
2803 # Extract the first word of "strip", so it can be a program name with args.
2804 set dummy strip; ac_word=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$ac_ct_STRIP"; then
2811 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir=.
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820 ac_cv_prog_ac_ct_STRIP="strip"
2821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2831 if test -n "$ac_ct_STRIP"; then
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2833 $as_echo "$ac_ct_STRIP" >&6; }
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836 $as_echo "no" >&6; }
2839 if test "x$ac_ct_STRIP" = x; then
2842 case $cross_compiling:$ac_tool_warned in
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846 ac_tool_warned=yes ;;
2851 STRIP="$ac_cv_prog_STRIP"
2855 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2858 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2859 if test -z "$MKDIR_P"; then
2860 if ${ac_cv_path_mkdir+:} false; then :
2861 $as_echo_n "(cached) " >&6
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2867 test -z "$as_dir" && as_dir=.
2868 for ac_prog in mkdir gmkdir; do
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2871 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2872 'mkdir (GNU coreutils
) '* | \
2873 'mkdir (coreutils
) '* | \
2874 'mkdir (fileutils
) '4.1*)
2875 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2885 test -d ./--version && rmdir ./--version
2886 if test "${ac_cv_path_mkdir+set}" = set; then
2887 MKDIR_P="$ac_cv_path_mkdir -p"
2889 # As a last resort, use the slow shell script. Don't cache a
2890 # value for MKDIR_P within a source directory, because that will
2891 # break other packages using the cache if that directory is
2892 # removed, or if the value is a relative name.
2893 MKDIR_P
="$ac_install_sh -d"
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2897 $as_echo "$MKDIR_P" >&6; }
2899 for ac_prog
in gawk mawk nawk
awk
2901 # Extract the first word of "$ac_prog", so it can be a program name with args.
2902 set dummy
$ac_prog; ac_word
=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if ${ac_cv_prog_AWK+:} false
; then :
2906 $as_echo_n "(cached) " >&6
2908 if test -n "$AWK"; then
2909 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2915 test -z "$as_dir" && as_dir
=.
2916 for ac_exec_ext
in '' $ac_executable_extensions; do
2917 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2918 ac_cv_prog_AWK
="$ac_prog"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 if test -n "$AWK"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2931 $as_echo "$AWK" >&6; }
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2938 test -n "$AWK" && break
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2942 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2944 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2945 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2946 $as_echo_n "(cached) " >&6
2948 cat >conftest.
make <<\_ACEOF
2951 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2953 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2954 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2956 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2958 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2962 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2964 $as_echo "yes" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2969 SET_MAKE
="MAKE=${MAKE-make}"
2972 rm -rf .tst
2>/dev
/null
2973 mkdir .tst
2>/dev
/null
2974 if test -d .tst
; then
2979 rmdir .tst
2>/dev
/null
2981 # Check whether --enable-silent-rules was given.
2982 if test "${enable_silent_rules+set}" = set; then :
2983 enableval
=$enable_silent_rules;
2986 case $enable_silent_rules in # (((
2987 yes) AM_DEFAULT_VERBOSITY
=0;;
2988 no
) AM_DEFAULT_VERBOSITY
=1;;
2989 *) AM_DEFAULT_VERBOSITY
=1;;
2991 am_make
=${MAKE-make}
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2993 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2994 if ${am_cv_make_support_nested_variables+:} false
; then :
2995 $as_echo_n "(cached) " >&6
2997 if $as_echo 'TRUE=$(BAR$(V))
3003 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3004 am_cv_make_support_nested_variables
=yes
3006 am_cv_make_support_nested_variables
=no
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3010 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3011 if test $am_cv_make_support_nested_variables = yes; then
3013 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3015 AM_V
=$AM_DEFAULT_VERBOSITY
3016 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3020 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3021 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3022 # is not polluted with repeated "-I."
3023 am__isrc
=' -I$(srcdir)'
3024 # test to see if srcdir already configured
3025 if test -f $srcdir/config.status
; then
3026 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3030 # test whether we have cygpath
3031 if test -z "$CYGPATH_W"; then
3032 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3033 CYGPATH_W
='cygpath -w'
3040 # Define the identity of the package.
3045 cat >>confdefs.h
<<_ACEOF
3046 #define PACKAGE "$PACKAGE"
3050 cat >>confdefs.h
<<_ACEOF
3051 #define VERSION "$VERSION"
3054 # Some tools Automake needs.
3056 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3059 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3062 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3065 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3068 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3070 # For better backward compatibility. To be removed once Automake 1.9.x
3071 # dies out for good. For more background, see:
3072 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3073 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3074 mkdir_p
='$(MKDIR_P)'
3076 # We need awk for the "check" target. The system "awk" is bad on
3078 # Always define AMTAR for backward compatibility. Yes, it's still used
3079 # in the wild :-( We should find a proper way to deprecate it ...
3082 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3090 ac_cpp
='$CXXCPP $CPPFLAGS'
3091 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3092 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3093 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3094 if test -z "$CXX"; then
3095 if test -n "$CCC"; then
3098 if test -n "$ac_tool_prefix"; then
3099 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3102 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3104 $as_echo_n "checking for $ac_word... " >&6; }
3105 if ${ac_cv_prog_CXX+:} false
; then :
3106 $as_echo_n "(cached) " >&6
3108 if test -n "$CXX"; then
3109 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir
=.
3116 for ac_exec_ext
in '' $ac_executable_extensions; do
3117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3118 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 if test -n "$CXX"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3131 $as_echo "$CXX" >&6; }
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134 $as_echo "no" >&6; }
3138 test -n "$CXX" && break
3141 if test -z "$CXX"; then
3143 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3145 # Extract the first word of "$ac_prog", so it can be a program name with args.
3146 set dummy
$ac_prog; ac_word
=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3150 $as_echo_n "(cached) " >&6
3152 if test -n "$ac_ct_CXX"; then
3153 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir
=.
3160 for ac_exec_ext
in '' $ac_executable_extensions; do
3161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3162 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3173 if test -n "$ac_ct_CXX"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3175 $as_echo "$ac_ct_CXX" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3182 test -n "$ac_ct_CXX" && break
3185 if test "x$ac_ct_CXX" = x
; then
3188 case $cross_compiling:$ac_tool_warned in
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3192 ac_tool_warned
=yes ;;
3200 # Provide some information about the compiler.
3201 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3204 for ac_option
in --version -v -V -qversion; do
3205 { { ac_try
="$ac_compiler $ac_option >&5"
3207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3211 $as_echo "$ac_try_echo"; } >&5
3212 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3214 if test -s conftest.err; then
3216 ... rest of stderr output deleted ...
3217 10q' conftest.err >conftest.er1
3218 cat conftest.er1 >&5
3220 rm -f conftest.er1 conftest.err
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3236 ac_clean_files_save=$ac_clean_files
3237 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3238 # Try to create an executable without -o first, disregard a.out.
3239 # It will help us diagnose broken compilers, and finding out an intuition
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3242 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3243 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3245 # The possible output files:
3246 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3249 for ac_file in $ac_files
3252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3253 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3258 if { { ac_try="$ac_link_default"
3260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3261 *) ac_try_echo
=$ac_try;;
3263 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265 (eval "$ac_link_default") 2>&5
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }; then :
3269 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3270 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3271 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3272 # so that the user can short-circuit this test for compilers unknown to
3274 for ac_file
in $ac_files ''
3276 test -f "$ac_file" || continue
3278 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3281 # We found the default executable, but exeext='' is most
3285 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3287 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3289 # We set ac_cv_exeext here because the later test for it is not
3290 # safe: cross compilers may not add the suffix if given an `-o'
3291 # argument, so we may need to know it at that point already.
3292 # Even if this section looks crufty: it has the advantage of
3299 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3304 if test -z "$ac_file"; then :
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3307 $as_echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.
$ac_ext >&5
3310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3312 as_fn_error
77 "C++ compiler cannot create executables
3313 See \`config.log' for more details" "$LINENO" 5; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3316 $as_echo "yes" >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3319 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3321 $as_echo "$ac_file" >&6; }
3322 ac_exeext
=$ac_cv_exeext
3324 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3325 ac_clean_files
=$ac_clean_files_save
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3327 $as_echo_n "checking for suffix of executables... " >&6; }
3328 if { { ac_try
="$ac_link"
3330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335 (eval "$ac_link") 2>&5
3337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338 test $ac_status = 0; }; then :
3339 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3340 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3341 # work properly (i.e., refer to `conftest.exe'), while it won't with
3343 for ac_file
in conftest.exe conftest conftest.
*; do
3344 test -f "$ac_file" || continue
3346 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3347 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3356 See \`config.log' for more details" "$LINENO" 5; }
3358 rm -f conftest conftest
$ac_cv_exeext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3360 $as_echo "$ac_cv_exeext" >&6; }
3362 rm -f conftest.
$ac_ext
3363 EXEEXT
=$ac_cv_exeext
3365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3371 FILE *f = fopen ("conftest.out", "w");
3372 return ferror (f) || fclose (f) != 0;
3378 ac_clean_files
="$ac_clean_files conftest.out"
3379 # Check that the compiler produces executables we can run. If not, either
3380 # the compiler is broken, or we cross compile.
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3382 $as_echo_n "checking whether we are cross compiling... " >&6; }
3383 if test "$cross_compiling" != yes; then
3384 { { ac_try
="$ac_link"
3386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391 (eval "$ac_link") 2>&5
3393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394 test $ac_status = 0; }
3395 if { ac_try='./conftest$ac_cv_exeext'
3396 { { case "(($ac_try" in
3397 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3398 *) ac_try_echo
=$ac_try;;
3400 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402 (eval "$ac_try") 2>&5
3404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3405 test $ac_status = 0; }; }; then
3408 if test "$cross_compiling" = maybe
; then
3411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error $?
"cannot run C++ compiled programs.
3414 If you meant to cross compile, use \`--host'.
3415 See \`config.log' for more details" "$LINENO" 5; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3420 $as_echo "$cross_compiling" >&6; }
3422 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3423 ac_clean_files
=$ac_clean_files_save
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3425 $as_echo_n "checking for suffix of object files... " >&6; }
3426 if ${ac_cv_objext+:} false
; then :
3427 $as_echo_n "(cached) " >&6
3429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3440 rm -f conftest.o conftest.obj
3441 if { { ac_try
="$ac_compile"
3443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3444 *) ac_try_echo=$ac_try;;
3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447 $as_echo "$ac_try_echo"; } >&5
3448 (eval "$ac_compile") 2>&5
3450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451 test $ac_status = 0; }; then :
3452 for ac_file in conftest.o conftest.obj conftest.*; do
3453 test -f "$ac_file" || continue;
3455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3456 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3461 $as_echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3467 See \
`config.log' for more details" "$LINENO" 5; }
3469 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3472 $as_echo "$ac_cv_objext" >&6; }
3473 OBJEXT=$ac_cv_objext
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3476 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3477 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3494 if ac_fn_cxx_try_compile "$LINENO"; then :
3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3504 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3505 if test $ac_compiler_gnu = yes; then
3510 ac_test_CXXFLAGS=${CXXFLAGS+set}
3511 ac_save_CXXFLAGS=$CXXFLAGS
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3513 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3514 if ${ac_cv_prog_cxx_g+:} false; then :
3515 $as_echo_n "(cached) " >&6
3517 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3518 ac_cxx_werror_flag=yes
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 if ac_fn_cxx_try_compile "$LINENO"; then :
3533 ac_cv_prog_cxx_g=yes
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3547 if ac_fn_cxx_try_compile "$LINENO"; then :
3550 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3563 if ac_fn_cxx_try_compile "$LINENO"; then :
3564 ac_cv_prog_cxx_g=yes
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3574 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3575 if test "$ac_test_CXXFLAGS" = set; then
3576 CXXFLAGS=$ac_save_CXXFLAGS
3577 elif test $ac_cv_prog_cxx_g = yes; then
3578 if test "$GXX" = yes; then
3584 if test "$GXX" = yes; then
3591 ac_cpp='$CPP $CPPFLAGS'
3592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3595 DEPDIR="${am__leading_dot}deps"
3597 ac_config_commands="$ac_config_commands depfiles"
3600 am_make=${MAKE-make}
3601 cat > confinc << 'END'
3603 @echo this is the am__doit target
3606 # If we don't find an include directive, just comment out the code.
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3608 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3612 # First try GNU make style include.
3613 echo "include confinc" > confmf
3614 # Ignore all kinds of additional output from 'make'.
3615 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3616 *the\ am__doit\ target*)
3622 # Now try BSD make style include.
3623 if test "$am__include" = "#"; then
3624 echo '.include "confinc"' > confmf
3625 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3626 *the\ am__doit\ target*)
3627 am__include=.include
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3636 $as_echo "$_am_result" >&6; }
3637 rm -f confinc confmf
3639 # Check whether --enable-dependency-tracking was given.
3640 if test "${enable_dependency_tracking+set}" = set; then :
3641 enableval=$enable_dependency_tracking;
3644 if test "x$enable_dependency_tracking" != xno; then
3645 am_depcomp="$ac_aux_dir/depcomp"
3649 if test "x$enable_dependency_tracking" != xno; then
3659 depcc="$CXX" am_compiler_list=
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3662 $as_echo_n "checking dependency style of $depcc... " >&6; }
3663 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3664 $as_echo_n "(cached) " >&6
3666 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3667 # We make a subdir and do the tests there. Otherwise we can end up
3668 # making bogus files that we don't know about and never remove. For
3669 # instance it was reported that on HP-UX the gcc test will end up
3670 # making a dummy file named 'D' -- because '-MD' means "put the output
3674 # Copy depcomp to subdir because otherwise we won't find it if we're
3675 # using a relative directory.
3676 cp "$am_depcomp" conftest.dir
3678 # We will build objects and dependencies in a subdirectory because
3679 # it helps to detect inapplicable dependency modes. For instance
3680 # both Tru64's cc and ICC support -MD to output dependencies as a
3681 # side effect of compilation, but ICC will put the dependencies in
3682 # the current directory while Tru64 will put them in the object
3686 am_cv_CXX_dependencies_compiler_type=none
3687 if test "$am_compiler_list" = ""; then
3688 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3691 case " $depcc " in #(
3692 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3695 for depmode in $am_compiler_list; do
3696 # Setup a source with many dependencies, because some compilers
3697 # like to wrap large dependency lists on column 80 (with \), and
3698 # we should not choose a depcomp mode which is confused by this.
3700 # We need to recreate these files for each test, as the compiler may
3701 # overwrite some of them when testing with obscure command lines.
3702 # This happens at least with the AIX C compiler.
3704 for i in 1 2 3 4 5 6; do
3705 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3706 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3707 # Solaris 10 /bin/sh.
3708 echo '/* dummy */' > sub/conftst$i.h
3710 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3712 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3713 # mode. It turns out that the SunPro C++ compiler does not properly
3714 # handle '-M -o', and we need to detect this. Also, some Intel
3715 # versions had trouble with output in subdirs.
3716 am__obj=sub/conftest.${OBJEXT-o}
3717 am__minus_obj="-o $am__obj"
3720 # This depmode causes a compiler race in universal mode.
3721 test "$am__universal" = false || continue
3724 # After this tag, mechanisms are not by side-effect, so they'll
3725 # only be used when explicitly requested.
3726 if test "x$enable_dependency_tracking" = xyes; then
3732 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3733 # This compiler won't grok '-c -o', but also, the minuso test has
3734 # not run yet. These depmodes are late enough in the game, and
3735 # so weak that their functioning should not be impacted.
3736 am__obj=conftest.${OBJEXT-o}
3741 if depmode=$depmode \
3742 source=sub/conftest.c object=$am__obj \
3743 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3744 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3745 >/dev/null 2>conftest.err &&
3746 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3747 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3748 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3749 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3750 # icc doesn't choke on unknown options, it will just issue warnings
3751 # or remarks (even with -Werror). So we grep stderr for any message
3752 # that says an option was ignored or not supported.
3753 # When given -MP, icc 7.0 and 7.1 complain thusly:
3754 # icc: Command line warning: ignoring option '-M'; no argument required
3755 # The diagnosis changed in icc 8.0:
3756 # icc: Command line remark: option '-MP' not supported
3757 if (grep 'ignoring option' conftest.err ||
3758 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3759 am_cv_CXX_dependencies_compiler_type=$depmode
3768 am_cv_CXX_dependencies_compiler_type=none
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3773 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3774 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3777 test "x$enable_dependency_tracking" != xno \
3778 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3779 am__fastdepCXX_TRUE=
3780 am__fastdepCXX_FALSE='#'
3782 am__fastdepCXX_TRUE='#'
3783 am__fastdepCXX_FALSE=
3788 ac_cpp='$OBJCXXCPP $CPPFLAGS'
3789 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3790 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3791 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
3792 if test -n "$ac_tool_prefix"; then
3793 for ac_prog in g++ objc++ objcxx c++ CXX
3795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_OBJCXX+:} false; then :
3800 $as_echo_n "(cached) " >&6
3802 if test -n "$OBJCXX"; then
3803 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 OBJCXX=$ac_cv_prog_OBJCXX
3823 if test -n "$OBJCXX"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
3825 $as_echo "$OBJCXX" >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3832 test -n "$OBJCXX" && break
3835 if test -z "$OBJCXX"; then
3836 ac_ct_OBJCXX=$OBJCXX
3837 for ac_prog in g++ objc++ objcxx c++ CXX
3839 # Extract the first word of "$ac_prog", so it can be a program name with args.
3840 set dummy $ac_prog; ac_word=$2
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3842 $as_echo_n "checking for $ac_word... " >&6; }
3843 if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then :
3844 $as_echo_n "(cached) " >&6
3846 if test -n "$ac_ct_OBJCXX"; then
3847 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
3849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 test -z "$as_dir" && as_dir=.
3854 for ac_exec_ext in '' $ac_executable_extensions; do
3855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3856 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
3857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3866 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
3867 if test -n "$ac_ct_OBJCXX"; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
3869 $as_echo "$ac_ct_OBJCXX" >&6; }
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3876 test -n "$ac_ct_OBJCXX" && break
3879 if test "x$ac_ct_OBJCXX" = x; then
3882 case $cross_compiling:$ac_tool_warned in
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3886 ac_tool_warned=yes ;;
3888 OBJCXX=$ac_ct_OBJCXX
3892 # Provide some information about the compiler.
3893 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
3896 for ac_option in --version -v -V -qversion; do
3897 { { ac_try="$ac_compiler $ac_option >&5"
3899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3900 *) ac_try_echo
=$ac_try;;
3902 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3903 $as_echo "$ac_try_echo"; } >&5
3904 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3906 if test -s conftest.err
; then
3908 ... rest of stderr output deleted ...
3909 10q' conftest.err
>conftest.er1
3910 cat conftest.er1
>&5
3912 rm -f conftest.er1 conftest.err
3913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3914 test $ac_status = 0; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
3918 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
3919 if ${ac_cv_objcxx_compiler_gnu+:} false
; then :
3920 $as_echo_n "(cached) " >&6
3922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3936 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3942 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
3946 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
3947 if test $ac_compiler_gnu = yes; then
3952 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
3953 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
3955 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
3956 if ${ac_cv_prog_objcxx_g+:} false
; then :
3957 $as_echo_n "(cached) " >&6
3959 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
3960 ac_objcxx_werror_flag
=yes
3961 ac_cv_prog_objcxx_g
=no
3963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h. */
3974 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3975 ac_cv_prog_objcxx_g
=yes
3978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h. */
3989 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3992 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
3994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
4005 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4006 ac_cv_prog_objcxx_g
=yes
4008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4013 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4016 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4017 if test "$ac_test_OBJCXXFLAGS" = set; then
4018 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
4019 elif test $ac_cv_prog_objcxx_g = yes; then
4020 if test "$GOBJCXX" = yes; then
4021 OBJCXXFLAGS
="-g -O2"
4026 if test "$GOBJCXX" = yes; then
4033 ac_cpp
='$CPP $CPPFLAGS'
4034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4038 depcc
="$OBJCXX" am_compiler_list
='gcc3 gcc'
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4041 $as_echo_n "checking dependency style of $depcc... " >&6; }
4042 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false
; then :
4043 $as_echo_n "(cached) " >&6
4045 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4046 # We make a subdir and do the tests there. Otherwise we can end up
4047 # making bogus files that we don't know about and never remove. For
4048 # instance it was reported that on HP-UX the gcc test will end up
4049 # making a dummy file named 'D' -- because '-MD' means "put the output
4053 # Copy depcomp to subdir because otherwise we won't find it if we're
4054 # using a relative directory.
4055 cp "$am_depcomp" conftest.dir
4057 # We will build objects and dependencies in a subdirectory because
4058 # it helps to detect inapplicable dependency modes. For instance
4059 # both Tru64's cc and ICC support -MD to output dependencies as a
4060 # side effect of compilation, but ICC will put the dependencies in
4061 # the current directory while Tru64 will put them in the object
4065 am_cv_OBJCXX_dependencies_compiler_type
=none
4066 if test "$am_compiler_list" = ""; then
4067 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4072 for depmode
in $am_compiler_list; do
4073 # Setup a source with many dependencies, because some compilers
4074 # like to wrap large dependency lists on column 80 (with \), and
4075 # we should not choose a depcomp mode which is confused by this.
4077 # We need to recreate these files for each test, as the compiler may
4078 # overwrite some of them when testing with obscure command lines.
4079 # This happens at least with the AIX C compiler.
4081 for i
in 1 2 3 4 5 6; do
4082 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4083 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4084 # Solaris 10 /bin/sh.
4085 echo '/* dummy */' > sub
/conftst
$i.h
4087 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4089 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4090 # mode. It turns out that the SunPro C++ compiler does not properly
4091 # handle '-M -o', and we need to detect this. Also, some Intel
4092 # versions had trouble with output in subdirs.
4093 am__obj
=sub
/conftest.
${OBJEXT-o}
4094 am__minus_obj
="-o $am__obj"
4097 # This depmode causes a compiler race in universal mode.
4098 test "$am__universal" = false
|| continue
4101 # After this tag, mechanisms are not by side-effect, so they'll
4102 # only be used when explicitly requested.
4103 if test "x$enable_dependency_tracking" = xyes
; then
4109 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4110 # This compiler won't grok '-c -o', but also, the minuso test has
4111 # not run yet. These depmodes are late enough in the game, and
4112 # so weak that their functioning should not be impacted.
4113 am__obj
=conftest.
${OBJEXT-o}
4118 if depmode
=$depmode \
4119 source=sub
/conftest.c object
=$am__obj \
4120 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4121 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4122 >/dev
/null
2>conftest.err
&&
4123 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4124 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4125 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4126 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4127 # icc doesn't choke on unknown options, it will just issue warnings
4128 # or remarks (even with -Werror). So we grep stderr for any message
4129 # that says an option was ignored or not supported.
4130 # When given -MP, icc 7.0 and 7.1 complain thusly:
4131 # icc: Command line warning: ignoring option '-M'; no argument required
4132 # The diagnosis changed in icc 8.0:
4133 # icc: Command line remark: option '-MP' not supported
4134 if (grep 'ignoring option' conftest.err
||
4135 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4136 am_cv_OBJCXX_dependencies_compiler_type
=$depmode
4145 am_cv_OBJCXX_dependencies_compiler_type
=none
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4150 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4151 OBJCXXDEPMODE
=depmode
=$am_cv_OBJCXX_dependencies_compiler_type
4154 test "x$enable_dependency_tracking" != xno \
4155 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3
; then
4156 am__fastdepOBJCXX_TRUE
=
4157 am__fastdepOBJCXX_FALSE
='#'
4159 am__fastdepOBJCXX_TRUE
='#'
4160 am__fastdepOBJCXX_FALSE
=
4165 ac_cpp
='$CPP $CPPFLAGS'
4166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4169 if test -n "$ac_tool_prefix"; then
4170 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4171 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173 $as_echo_n "checking for $ac_word... " >&6; }
4174 if ${ac_cv_prog_CC+:} false
; then :
4175 $as_echo_n "(cached) " >&6
4177 if test -n "$CC"; then
4178 ac_cv_prog_CC
="$CC" # Let the user override the test.
4180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4184 test -z "$as_dir" && as_dir
=.
4185 for ac_exec_ext
in '' $ac_executable_extensions; do
4186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4187 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4198 if test -n "$CC"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4200 $as_echo "$CC" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4208 if test -z "$ac_cv_prog_CC"; then
4210 # Extract the first word of "gcc", so it can be a program name with args.
4211 set dummy gcc
; ac_word
=$2
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4213 $as_echo_n "checking for $ac_word... " >&6; }
4214 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4215 $as_echo_n "(cached) " >&6
4217 if test -n "$ac_ct_CC"; then
4218 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4224 test -z "$as_dir" && as_dir
=.
4225 for ac_exec_ext
in '' $ac_executable_extensions; do
4226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4227 ac_cv_prog_ac_ct_CC
="gcc"
4228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4237 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4238 if test -n "$ac_ct_CC"; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4240 $as_echo "$ac_ct_CC" >&6; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
4246 if test "x$ac_ct_CC" = x
; then
4249 case $cross_compiling:$ac_tool_warned in
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4253 ac_tool_warned
=yes ;;
4261 if test -z "$CC"; then
4262 if test -n "$ac_tool_prefix"; then
4263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4264 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_prog_CC+:} false
; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -n "$CC"; then
4271 ac_cv_prog_CC
="$CC" # Let the user override the test.
4273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir
=.
4278 for ac_exec_ext
in '' $ac_executable_extensions; do
4279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4280 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 if test -n "$CC"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4293 $as_echo "$CC" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4302 if test -z "$CC"; then
4303 # Extract the first word of "cc", so it can be a program name with args.
4304 set dummy cc
; ac_word
=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if ${ac_cv_prog_CC+:} false
; then :
4308 $as_echo_n "(cached) " >&6
4310 if test -n "$CC"; then
4311 ac_cv_prog_CC
="$CC" # Let the user override the test.
4314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4318 test -z "$as_dir" && as_dir
=.
4319 for ac_exec_ext
in '' $ac_executable_extensions; do
4320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4321 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4322 ac_prog_rejected
=yes
4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 if test $ac_prog_rejected = yes; then
4334 # We found a bogon in the path, so make sure we never use it.
4335 set dummy
$ac_cv_prog_CC
4337 if test $# != 0; then
4338 # We chose a different compiler from the bogus one.
4339 # However, it has the same basename, so the bogon will be chosen
4340 # first if we set CC to just the basename; use the full file name.
4342 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4348 if test -n "$CC"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4350 $as_echo "$CC" >&6; }
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4358 if test -z "$CC"; then
4359 if test -n "$ac_tool_prefix"; then
4360 for ac_prog
in cl.exe
4362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4363 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365 $as_echo_n "checking for $ac_word... " >&6; }
4366 if ${ac_cv_prog_CC+:} false
; then :
4367 $as_echo_n "(cached) " >&6
4369 if test -n "$CC"; then
4370 ac_cv_prog_CC
="$CC" # Let the user override the test.
4372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4376 test -z "$as_dir" && as_dir
=.
4377 for ac_exec_ext
in '' $ac_executable_extensions; do
4378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4379 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 if test -n "$CC"; then
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4392 $as_echo "$CC" >&6; }
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4399 test -n "$CC" && break
4402 if test -z "$CC"; then
4404 for ac_prog
in cl.exe
4406 # Extract the first word of "$ac_prog", so it can be a program name with args.
4407 set dummy
$ac_prog; ac_word
=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4411 $as_echo_n "(cached) " >&6
4413 if test -n "$ac_ct_CC"; then
4414 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir
=.
4421 for ac_exec_ext
in '' $ac_executable_extensions; do
4422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4423 ac_cv_prog_ac_ct_CC
="$ac_prog"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4434 if test -n "$ac_ct_CC"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4436 $as_echo "$ac_ct_CC" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4443 test -n "$ac_ct_CC" && break
4446 if test "x$ac_ct_CC" = x
; then
4449 case $cross_compiling:$ac_tool_warned in
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4453 ac_tool_warned
=yes ;;
4462 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4464 as_fn_error $?
"no acceptable C compiler found in \$PATH
4465 See \`config.log' for more details" "$LINENO" 5; }
4467 # Provide some information about the compiler.
4468 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4471 for ac_option
in --version -v -V -qversion; do
4472 { { ac_try
="$ac_compiler $ac_option >&5"
4474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4475 *) ac_try_echo=$ac_try;;
4477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4478 $as_echo "$ac_try_echo"; } >&5
4479 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4481 if test -s conftest.err; then
4483 ... rest of stderr output deleted ...
4484 10q' conftest.err >conftest.er1
4485 cat conftest.er1 >&5
4487 rm -f conftest.er1 conftest.err
4488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4489 test $ac_status = 0; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4493 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4494 if ${ac_cv_c_compiler_gnu+:} false; then :
4495 $as_echo_n "(cached) " >&6
4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h. */
4511 if ac_fn_c_try_compile "$LINENO"; then :
4516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4517 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4521 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4522 if test $ac_compiler_gnu = yes; then
4527 ac_test_CFLAGS=${CFLAGS+set}
4528 ac_save_CFLAGS=$CFLAGS
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4530 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4531 if ${ac_cv_prog_cc_g+:} false; then :
4532 $as_echo_n "(cached) " >&6
4534 ac_save_c_werror_flag=$ac_c_werror_flag
4535 ac_c_werror_flag=yes
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4549 if ac_fn_c_try_compile "$LINENO"; then :
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4564 if ac_fn_c_try_compile "$LINENO"; then :
4567 ac_c_werror_flag=$ac_save_c_werror_flag
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4580 if ac_fn_c_try_compile "$LINENO"; then :
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 ac_c_werror_flag=$ac_save_c_werror_flag
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4591 $as_echo "$ac_cv_prog_cc_g" >&6; }
4592 if test "$ac_test_CFLAGS" = set; then
4593 CFLAGS=$ac_save_CFLAGS
4594 elif test $ac_cv_prog_cc_g = yes; then
4595 if test "$GCC" = yes; then
4601 if test "$GCC" = yes; then
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4608 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4609 if ${ac_cv_prog_cc_c89+:} false; then :
4610 $as_echo_n "(cached) " >&6
4612 ac_cv_prog_cc_c89=no
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4619 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4620 struct buf { int x; };
4621 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4622 static char *e (p, i)
4628 static char *f (char * (*g) (char **, int), char **p, ...)
4633 s = g (p, va_arg (v,int));
4638 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4639 function prototypes and stuff, but not '\xHH' hex character constants.
4640 These don't provoke an error unfortunately, instead are silently treated
4641 as 'x'. The following induces an error, until -std is added to get
4642 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4643 array size at least. It's necessary to write '\x00'==0 to get something
4644 that's true only with -std. */
4645 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4647 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4648 inside strings and character constants. */
4650 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4652 int test (int i, double x);
4653 struct s1 {int (*f) (int a);};
4654 struct s2 {int (*f) (double a);};
4655 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4661 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4666 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4667 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4669 CC="$ac_save_CC $ac_arg"
4670 if ac_fn_c_try_compile "$LINENO"; then :
4671 ac_cv_prog_cc_c89=$ac_arg
4673 rm -f core conftest.err conftest.$ac_objext
4674 test "x$ac_cv_prog_cc_c89" != "xno" && break
4676 rm -f conftest.$ac_ext
4681 case "x$ac_cv_prog_cc_c89" in
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4684 $as_echo "none needed" >&6; } ;;
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4687 $as_echo "unsupported" >&6; } ;;
4689 CC="$CC $ac_cv_prog_cc_c89"
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4691 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4693 if test "x$ac_cv_prog_cc_c89" != xno; then :
4698 ac_cpp='$CPP $CPPFLAGS'
4699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703 depcc="$CC" am_compiler_list=
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4706 $as_echo_n "checking dependency style of $depcc... " >&6; }
4707 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4708 $as_echo_n "(cached) " >&6
4710 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4711 # We make a subdir and do the tests there. Otherwise we can end up
4712 # making bogus files that we don't know about and never remove. For
4713 # instance it was reported that on HP-UX the gcc test will end up
4714 # making a dummy file named 'D' -- because '-MD' means "put the output
4718 # Copy depcomp to subdir because otherwise we won't find it if we're
4719 # using a relative directory.
4720 cp "$am_depcomp" conftest.dir
4722 # We will build objects and dependencies in a subdirectory because
4723 # it helps to detect inapplicable dependency modes. For instance
4724 # both Tru64's cc and ICC support -MD to output dependencies as a
4725 # side effect of compilation, but ICC will put the dependencies in
4726 # the current directory while Tru64 will put them in the object
4730 am_cv_CC_dependencies_compiler_type=none
4731 if test "$am_compiler_list" = ""; then
4732 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4735 case " $depcc " in #(
4736 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4739 for depmode in $am_compiler_list; do
4740 # Setup a source with many dependencies, because some compilers
4741 # like to wrap large dependency lists on column 80 (with \), and
4742 # we should not choose a depcomp mode which is confused by this.
4744 # We need to recreate these files for each test, as the compiler may
4745 # overwrite some of them when testing with obscure command lines.
4746 # This happens at least with the AIX C compiler.
4748 for i in 1 2 3 4 5 6; do
4749 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4750 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4751 # Solaris 10 /bin/sh.
4752 echo '/* dummy */' > sub/conftst$i.h
4754 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4756 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4757 # mode. It turns out that the SunPro C++ compiler does not properly
4758 # handle '-M -o', and we need to detect this. Also, some Intel
4759 # versions had trouble with output in subdirs.
4760 am__obj=sub/conftest.${OBJEXT-o}
4761 am__minus_obj="-o $am__obj"
4764 # This depmode causes a compiler race in universal mode.
4765 test "$am__universal" = false || continue
4768 # After this tag, mechanisms are not by side-effect, so they'll
4769 # only be used when explicitly requested.
4770 if test "x$enable_dependency_tracking" = xyes; then
4776 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4777 # This compiler won't grok '-c -o', but also, the minuso test has
4778 # not run yet. These depmodes are late enough in the game, and
4779 # so weak that their functioning should not be impacted.
4780 am__obj=conftest.${OBJEXT-o}
4785 if depmode=$depmode \
4786 source=sub/conftest.c object=$am__obj \
4787 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4788 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4789 >/dev/null 2>conftest.err &&
4790 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4791 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4792 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4793 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4794 # icc doesn't choke on unknown options, it will just issue warnings
4795 # or remarks (even with -Werror). So we grep stderr for any message
4796 # that says an option was ignored or not supported.
4797 # When given -MP, icc 7.0 and 7.1 complain thusly:
4798 # icc: Command line warning: ignoring option '-M'; no argument required
4799 # The diagnosis changed in icc 8.0:
4800 # icc: Command line remark: option '-MP' not supported
4801 if (grep 'ignoring option' conftest.err ||
4802 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4803 am_cv_CC_dependencies_compiler_type=$depmode
4812 am_cv_CC_dependencies_compiler_type=none
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4817 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4818 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4821 test "x$enable_dependency_tracking" != xno \
4822 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4824 am__fastdepCC_FALSE='#'
4826 am__fastdepCC_TRUE='#'
4827 am__fastdepCC_FALSE=
4832 if test -n "$ac_tool_prefix"; then
4833 for ac_prog in ar lib "link -lib"
4835 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4838 $as_echo_n "checking for $ac_word... " >&6; }
4839 if ${ac_cv_prog_AR+:} false; then :
4840 $as_echo_n "(cached) " >&6
4842 if test -n "$AR"; then
4843 ac_cv_prog_AR="$AR" # Let the user override the test.
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4849 test -z "$as_dir" && as_dir=.
4850 for ac_exec_ext in '' $ac_executable_extensions; do
4851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4852 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 if test -n "$AR"; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4865 $as_echo "$AR" >&6; }
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4868 $as_echo "no" >&6; }
4872 test -n "$AR" && break
4875 if test -z "$AR"; then
4877 for ac_prog in ar lib "link -lib"
4879 # Extract the first word of "$ac_prog", so it can be a program name with args.
4880 set dummy $ac_prog; ac_word=$2
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 $as_echo_n "checking for $ac_word... " >&6; }
4883 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4884 $as_echo_n "(cached) " >&6
4886 if test -n "$ac_ct_AR"; then
4887 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 test -z "$as_dir" && as_dir=.
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4896 ac_cv_prog_ac_ct_AR="$ac_prog"
4897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4907 if test -n "$ac_ct_AR"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4909 $as_echo "$ac_ct_AR" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4916 test -n "$ac_ct_AR" && break
4919 if test "x$ac_ct_AR" = x; then
4922 case $cross_compiling:$ac_tool_warned in
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4926 ac_tool_warned=yes ;;
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4935 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4936 if ${am_cv_ar_interface+:} false; then :
4937 $as_echo_n "(cached) " >&6
4939 am_cv_ar_interface=ar
4940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4942 int some_variable = 0;
4944 if ac_fn_c_try_compile "$LINENO"; then :
4945 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4946 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4947 (eval $am_ar_try) 2>&5
4949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4950 test $ac_status = 0; }
4951 if test "$ac_status" -eq 0; then
4952 am_cv_ar_interface=ar
4954 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4955 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4956 (eval $am_ar_try) 2>&5
4958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4959 test $ac_status = 0; }
4960 if test "$ac_status" -eq 0; then
4961 am_cv_ar_interface=lib
4963 am_cv_ar_interface=unknown
4966 rm -f conftest.lib libconftest.a
4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4973 $as_echo "$am_cv_ar_interface" >&6; }
4975 case $am_cv_ar_interface in
4979 # Microsoft lib, so override with the ar-lib wrapper script.
4980 # FIXME: It is wrong to rewrite AR.
4981 # But if we don't then we get into trouble of one sort or another.
4982 # A longer-term fix would be to have automake use am__AR in this case,
4983 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4985 AR="$am_aux_dir/ar-lib $AR"
4988 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4997 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5002 macro_version='2.4.2'
5003 macro_revision='1.3337'
5017 ltmain="$ac_aux_dir/ltmain.sh"
5019 # Make sure we can run config.sub.
5020 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5021 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5024 $as_echo_n "checking build system type... " >&6; }
5025 if ${ac_cv_build+:} false; then :
5026 $as_echo_n "(cached) " >&6
5028 ac_build_alias=$build_alias
5029 test "x$ac_build_alias" = x &&
5030 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5031 test "x$ac_build_alias" = x &&
5032 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5033 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5034 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5038 $as_echo "$ac_cv_build" >&6; }
5039 case $ac_cv_build in
5041 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5044 ac_save_IFS=$IFS; IFS='-'
5050 # Remember, the first character of IFS is used to create $*,
5051 # except with old shells:
5054 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5058 $as_echo_n "checking host system type... " >&6; }
5059 if ${ac_cv_host+:} false; then :
5060 $as_echo_n "(cached) " >&6
5062 if test "x$host_alias" = x; then
5063 ac_cv_host=$ac_cv_build
5065 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5066 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5071 $as_echo "$ac_cv_host" >&6; }
5074 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5077 ac_save_IFS=$IFS; IFS='-'
5083 # Remember, the first character of IFS is used to create $*,
5084 # except with old shells:
5087 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5090 # Backslashify metacharacters that are still active within
5091 # double-quoted strings.
5092 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5094 # Same as above, but do not quote variable references.
5095 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5097 # Sed substitution to delay expansion of an escaped shell variable in a
5098 # double_quote_subst'ed string.
5099 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5101 # Sed substitution to delay expansion of an escaped single quote.
5102 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5104 # Sed substitution to avoid accidental globbing in evaled expressions
5105 no_glob_subst='s/\*/\\\*/g'
5107 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5108 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5109 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5112 $as_echo_n "checking how to print
strings...
" >&6; }
5113 # Test print first, because it will be a builtin if present.
5114 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5115 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5117 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5120 # Use this function as a fallback that always works.
5121 func_fallback_echo ()
5123 eval 'cat <<_LTECHO_EOF
5127 ECHO='func_fallback_echo'
5130 # func_echo_all arg...
5131 # Invoke $ECHO with all args, space-separated.
5138 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5139 $as_echo "printf" >&6; } ;;
5140 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5141 $as_echo "print
-r" >&6; } ;;
5142 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5143 $as_echo "cat" >&6; } ;;
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5160 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5161 if ${ac_cv_path_SED+:} false; then :
5162 $as_echo_n "(cached
) " >&6
5164 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5165 for ac_i in 1 2 3 4 5 6 7; do
5166 ac_script="$ac_script$as_nl$ac_script"
5168 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5169 { ac_script=; unset ac_script;}
5170 if test -z "$SED"; then
5171 ac_path_SED_found=false
5172 # Loop through the user's path and test for each of PROGNAME-LIST
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir=.
5178 for ac_prog in sed gsed; do
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5181 as_fn_executable_p "$ac_path_SED" || continue
5182 # Check for GNU ac_path_SED and select it if it is found.
5183 # Check for GNU $ac_path_SED
5184 case `"$ac_path_SED" --version 2>&1` in
5186 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5189 $as_echo_n 0123456789 >"conftest.
in"
5192 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5193 mv "conftest.tmp
" "conftest.
in"
5194 cp "conftest.
in" "conftest.
nl"
5195 $as_echo '' >> "conftest.
nl"
5196 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5197 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5198 as_fn_arith $ac_count + 1 && ac_count=$as_val
5199 if test $ac_count -gt ${ac_path_SED_max-0}; then
5200 # Best one so far, save it but keep looking for a better one
5201 ac_cv_path_SED="$ac_path_SED"
5202 ac_path_SED_max=$ac_count
5204 # 10*(2^10) chars as input seems more than enough
5205 test $ac_count -gt 10 && break
5207 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5210 $ac_path_SED_found && break 3
5215 if test -z "$ac_cv_path_SED"; then
5216 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5224 $as_echo "$ac_cv_path_SED" >&6; }
5225 SED="$ac_cv_path_SED"
5228 test -z "$SED" && SED=sed
5229 Xsed="$SED -e 1s
/^X
//"
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5242 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5243 if ${ac_cv_path_GREP+:} false; then :
5244 $as_echo_n "(cached
) " >&6
5246 if test -z "$GREP"; then
5247 ac_path_GREP_found=false
5248 # Loop through the user's path and test for each of PROGNAME-LIST
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5253 test -z "$as_dir" && as_dir=.
5254 for ac_prog in grep ggrep; do
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5257 as_fn_executable_p "$ac_path_GREP" || continue
5258 # Check for GNU ac_path_GREP and select it if it is found.
5259 # Check for GNU $ac_path_GREP
5260 case `"$ac_path_GREP" --version 2>&1` in
5262 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5265 $as_echo_n 0123456789 >"conftest.
in"
5268 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5269 mv "conftest.tmp
" "conftest.
in"
5270 cp "conftest.
in" "conftest.
nl"
5271 $as_echo 'GREP' >> "conftest.
nl"
5272 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5273 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5274 as_fn_arith $ac_count + 1 && ac_count=$as_val
5275 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5276 # Best one so far, save it but keep looking for a better one
5277 ac_cv_path_GREP="$ac_path_GREP"
5278 ac_path_GREP_max=$ac_count
5280 # 10*(2^10) chars as input seems more than enough
5281 test $ac_count -gt 10 && break
5283 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5286 $ac_path_GREP_found && break 3
5291 if test -z "$ac_cv_path_GREP"; then
5292 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5295 ac_cv_path_GREP=$GREP
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5300 $as_echo "$ac_cv_path_GREP" >&6; }
5301 GREP="$ac_cv_path_GREP"
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5305 $as_echo_n "checking
for egrep...
" >&6; }
5306 if ${ac_cv_path_EGREP+:} false; then :
5307 $as_echo_n "(cached
) " >&6
5309 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5310 then ac_cv_path_EGREP="$GREP -E"
5312 if test -z "$EGREP"; then
5313 ac_path_EGREP_found=false
5314 # Loop through the user's path and test for each of PROGNAME-LIST
5315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5316 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5319 test -z "$as_dir" && as_dir=.
5320 for ac_prog in egrep; do
5321 for ac_exec_ext in '' $ac_executable_extensions; do
5322 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5323 as_fn_executable_p "$ac_path_EGREP" || continue
5324 # Check for GNU ac_path_EGREP and select it if it is found.
5325 # Check for GNU $ac_path_EGREP
5326 case `"$ac_path_EGREP" --version 2>&1` in
5328 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5331 $as_echo_n 0123456789 >"conftest.
in"
5334 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5335 mv "conftest.tmp
" "conftest.
in"
5336 cp "conftest.
in" "conftest.
nl"
5337 $as_echo 'EGREP' >> "conftest.
nl"
5338 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5339 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5340 as_fn_arith $ac_count + 1 && ac_count=$as_val
5341 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5342 # Best one so far, save it but keep looking for a better one
5343 ac_cv_path_EGREP="$ac_path_EGREP"
5344 ac_path_EGREP_max=$ac_count
5346 # 10*(2^10) chars as input seems more than enough
5347 test $ac_count -gt 10 && break
5349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5352 $ac_path_EGREP_found && break 3
5357 if test -z "$ac_cv_path_EGREP"; then
5358 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5361 ac_cv_path_EGREP=$EGREP
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5367 $as_echo "$ac_cv_path_EGREP" >&6; }
5368 EGREP="$ac_cv_path_EGREP"
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5372 $as_echo_n "checking
for fgrep...
" >&6; }
5373 if ${ac_cv_path_FGREP+:} false; then :
5374 $as_echo_n "(cached
) " >&6
5376 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5377 then ac_cv_path_FGREP="$GREP -F"
5379 if test -z "$FGREP"; then
5380 ac_path_FGREP_found=false
5381 # Loop through the user's path and test for each of PROGNAME-LIST
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5386 test -z "$as_dir" && as_dir=.
5387 for ac_prog in fgrep; do
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5390 as_fn_executable_p "$ac_path_FGREP" || continue
5391 # Check for GNU ac_path_FGREP and select it if it is found.
5392 # Check for GNU $ac_path_FGREP
5393 case `"$ac_path_FGREP" --version 2>&1` in
5395 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5398 $as_echo_n 0123456789 >"conftest.
in"
5401 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5402 mv "conftest.tmp
" "conftest.
in"
5403 cp "conftest.
in" "conftest.
nl"
5404 $as_echo 'FGREP' >> "conftest.
nl"
5405 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5406 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5407 as_fn_arith $ac_count + 1 && ac_count=$as_val
5408 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5409 # Best one so far, save it but keep looking for a better one
5410 ac_cv_path_FGREP="$ac_path_FGREP"
5411 ac_path_FGREP_max=$ac_count
5413 # 10*(2^10) chars as input seems more than enough
5414 test $ac_count -gt 10 && break
5416 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5419 $ac_path_FGREP_found && break 3
5424 if test -z "$ac_cv_path_FGREP"; then
5425 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5428 ac_cv_path_FGREP=$FGREP
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5434 $as_echo "$ac_cv_path_FGREP" >&6; }
5435 FGREP="$ac_cv_path_FGREP"
5438 test -z "$GREP" && GREP=grep
5458 # Check whether --with-gnu-ld was given.
5459 if test "${with_gnu_ld+set}" = set; then :
5460 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5466 if test "$GCC" = yes; then
5467 # Check if gcc -print-prog-name=ld gives a path.
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5469 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5472 # gcc leaves a trailing carriage return which upsets mingw
5473 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5475 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5478 # Accept absolute paths.
5480 re_direlt='/[^/][^/]*/\.\./'
5481 # Canonicalize the pathname of ld
5482 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5483 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5484 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5486 test -z "$LD" && LD="$ac_prog"
5489 # If it fails, then pretend we aren't using GCC.
5493 # If it is relative, then search for the first ld in PATH.
5497 elif test "$with_gnu_ld" = yes; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5499 $as_echo_n "checking
for GNU ld...
" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5502 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5504 if ${lt_cv_path_LD+:} false; then :
5505 $as_echo_n "(cached
) " >&6
5507 if test -z "$LD"; then
5508 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5509 for ac_dir in $PATH; do
5511 test -z "$ac_dir" && ac_dir=.
5512 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5513 lt_cv_path_LD="$ac_dir/$ac_prog"
5514 # Check to see if the program is GNU ld. I'd rather use --version,
5515 # but apparently some variants of GNU ld only accept -v.
5516 # Break only if it was the GNU/non-GNU ld that we prefer.
5517 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5518 *GNU* | *'with BFD'*)
5519 test "$with_gnu_ld" != no && break
5522 test "$with_gnu_ld" != yes && break
5529 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5534 if test -n "$LD"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5536 $as_echo "$LD" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5539 $as_echo "no
" >&6; }
5541 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5543 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5544 if ${lt_cv_prog_gnu_ld+:} false; then :
5545 $as_echo_n "(cached
) " >&6
5547 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5548 case `$LD -v 2>&1 </dev/null` in
5549 *GNU* | *'with BFD'*)
5550 lt_cv_prog_gnu_ld=yes
5553 lt_cv_prog_gnu_ld=no
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5558 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5559 with_gnu_ld=$lt_cv_prog_gnu_ld
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5570 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5571 if ${lt_cv_path_NM+:} false; then :
5572 $as_echo_n "(cached
) " >&6
5574 if test -n "$NM"; then
5575 # Let the user override the test.
5578 lt_nm_to_check="${ac_tool_prefix}nm
"
5579 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5580 lt_nm_to_check="$lt_nm_to_check nm
"
5582 for lt_tmp_nm in $lt_nm_to_check; do
5583 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5584 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5586 test -z "$ac_dir" && ac_dir=.
5587 tmp_nm="$ac_dir/$lt_tmp_nm"
5588 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5589 # Check to see if the nm accepts a BSD-compat flag.
5590 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5591 # nm: unknown option "B
" ignored
5592 # Tru64's nm complains that /dev/null is an invalid object file
5593 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5594 */dev/null* | *'Invalid file or object type'*)
5595 lt_cv_path_NM="$tmp_nm -B"
5599 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5601 lt_cv_path_NM="$tmp_nm -p"
5605 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5606 continue # so that we can try to find one that supports BSD flags
5615 : ${lt_cv_path_NM=no}
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5619 $as_echo "$lt_cv_path_NM" >&6; }
5620 if test "$lt_cv_path_NM" != "no
"; then
5623 # Didn't find any BSD compatible name lister, look for dumpbin.
5624 if test -n "$DUMPBIN"; then :
5625 # Let the user override the test.
5627 if test -n "$ac_tool_prefix"; then
5628 for ac_prog in dumpbin "link
-dump"
5630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5633 $as_echo_n "checking
for $ac_word...
" >&6; }
5634 if ${ac_cv_prog_DUMPBIN+:} false; then :
5635 $as_echo_n "(cached
) " >&6
5637 if test -n "$DUMPBIN"; then
5638 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5657 DUMPBIN=$ac_cv_prog_DUMPBIN
5658 if test -n "$DUMPBIN"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5660 $as_echo "$DUMPBIN" >&6; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5663 $as_echo "no
" >&6; }
5667 test -n "$DUMPBIN" && break
5670 if test -z "$DUMPBIN"; then
5671 ac_ct_DUMPBIN=$DUMPBIN
5672 for ac_prog in dumpbin "link
-dump"
5674 # Extract the first word of "$ac_prog", so it can be a program name with args.
5675 set dummy $ac_prog; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5677 $as_echo_n "checking
for $ac_word...
" >&6; }
5678 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5679 $as_echo_n "(cached
) " >&6
5681 if test -n "$ac_ct_DUMPBIN"; then
5682 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5701 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5702 if test -n "$ac_ct_DUMPBIN"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5704 $as_echo "$ac_ct_DUMPBIN" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5707 $as_echo "no
" >&6; }
5711 test -n "$ac_ct_DUMPBIN" && break
5714 if test "x
$ac_ct_DUMPBIN" = x; then
5717 case $cross_compiling:$ac_tool_warned in
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5720 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5721 ac_tool_warned=yes ;;
5723 DUMPBIN=$ac_ct_DUMPBIN
5727 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5729 DUMPBIN="$DUMPBIN -symbols"
5737 if test "$DUMPBIN" != ":"; then
5741 test -z "$NM" && NM=nm
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5749 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5750 if ${lt_cv_nm_interface+:} false; then :
5751 $as_echo_n "(cached
) " >&6
5753 lt_cv_nm_interface="BSD nm
"
5754 echo "int some_variable
= 0;" > conftest.$ac_ext
5755 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5756 (eval "$ac_compile" 2>conftest.err)
5757 cat conftest.err >&5
5758 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5759 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5760 cat conftest.err >&5
5761 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5762 cat conftest.out >&5
5763 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5764 lt_cv_nm_interface="MS dumpbin
"
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5769 $as_echo "$lt_cv_nm_interface" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5772 $as_echo_n "checking whether
ln -s works...
" >&6; }
5774 if test "$LN_S" = "ln -s"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5776 $as_echo "yes" >&6; }
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5779 $as_echo "no
, using
$LN_S" >&6; }
5782 # find the maximum length of command line arguments
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5784 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5785 if ${lt_cv_sys_max_cmd_len+:} false; then :
5786 $as_echo_n "(cached
) " >&6
5793 # On DJGPP, this test can blow up pretty badly due to problems in libc
5794 # (any single argument exceeding 2000 bytes causes a buffer overrun
5795 # during glob expansion). Even if it were fixed, the result of this
5796 # check would be larger than it should be.
5797 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5801 # Under GNU Hurd, this test is not required because there is
5802 # no limit to the length of command line arguments.
5803 # Libtool will interpret -1 as no limit whatsoever
5804 lt_cv_sys_max_cmd_len=-1;
5807 cygwin* | mingw* | cegcc*)
5808 # On Win9x/ME, this test blows up -- it succeeds, but takes
5809 # about 5 minutes as the teststring grows exponentially.
5810 # Worse, since 9x/ME are not pre-emptively multitasking,
5811 # you end up with a "frozen
" computer, even though with patience
5812 # the test eventually succeeds (with a max line length of 256k).
5813 # Instead, let's just punt: use the minimum linelength reported by
5814 # all of the supported platforms: 8192 (on NT/2K/XP).
5815 lt_cv_sys_max_cmd_len=8192;
5819 # On MiNT this can take a long time and run out of memory.
5820 lt_cv_sys_max_cmd_len=8192;
5824 # On AmigaOS with pdksh, this test takes hours, literally.
5825 # So we just punt and use a minimum line length of 8192.
5826 lt_cv_sys_max_cmd_len=8192;
5829 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5830 # This has been around since 386BSD, at least. Likely further.
5831 if test -x /sbin/sysctl; then
5832 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5833 elif test -x /usr/sbin/sysctl; then
5834 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5836 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5838 # And add a safety zone
5839 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5840 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5844 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5845 lt_cv_sys_max_cmd_len=196608
5849 # The test takes a long time on OS/2.
5850 lt_cv_sys_max_cmd_len=8192
5854 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5855 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5856 # nice to cause kernel panics so lets avoid the loop below.
5857 # First set a reasonable default.
5858 lt_cv_sys_max_cmd_len=16384
5860 if test -x /sbin/sysconfig; then
5861 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5862 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5867 lt_cv_sys_max_cmd_len=102400
5869 sysv5* | sco5v6* | sysv4.2uw2*)
5870 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5871 if test -n "$kargmax"; then
5872 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5874 lt_cv_sys_max_cmd_len=32768
5878 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5879 if test -n "$lt_cv_sys_max_cmd_len"; then
5880 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5881 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5883 # Make teststring a little bigger before we do anything with it.
5884 # a 1K string should be a reasonable start.
5885 for i in 1 2 3 4 5 6 7 8 ; do
5886 teststring=$teststring$teststring
5888 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5889 # If test is not a shell built-in, we'll probably end up computing a
5890 # maximum length that is only half of the actual maximum length, but
5892 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5893 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5894 test $i != 17 # 1/2 MB should be enough
5897 teststring=$teststring$teststring
5899 # Only check the string length outside the loop.
5900 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5902 # Add a significant safety factor because C++ compilers can tack on
5903 # massive amounts of additional arguments before passing them to the
5904 # linker. It appears as though 1/2 is a usable value.
5905 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5912 if test -n $lt_cv_sys_max_cmd_len ; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5914 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5917 $as_echo "none
" >&6; }
5919 max_cmd_len=$lt_cv_sys_max_cmd_len
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5931 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5932 # Try some XSI features
5935 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5937 && eval 'test $(( 1 + 1 )) -eq 2 \
5938 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5941 $as_echo "$xsi_shell" >&6; }
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5945 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5947 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5949 && lt_shell_append=yes
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5951 $as_echo "$lt_shell_append" >&6; }
5954 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5964 # test EBCDIC or ASCII
5965 case `echo X|tr X '\101'` in
5966 A) # ASCII based system
5967 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5968 lt_SP2NL='tr \040 \012'
5969 lt_NL2SP='tr \015\012 \040\040'
5971 *) # EBCDIC based system
5972 lt_SP2NL='tr \100 \n'
5973 lt_NL2SP='tr \r\n \100\100'
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5986 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5987 if ${lt_cv_to_host_file_cmd+:} false; then :
5988 $as_echo_n "(cached
) " >&6
5993 *-*-mingw* ) # actually msys
5994 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5997 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5999 * ) # otherwise, assume *nix
6000 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6006 *-*-mingw* ) # actually msys
6007 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6010 lt_cv_to_host_file_cmd=func_convert_file_noop
6012 * ) # otherwise, assume *nix
6013 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6017 * ) # unhandled hosts (and "normal
" native builds)
6018 lt_cv_to_host_file_cmd=func_convert_file_noop
6024 to_host_file_cmd=$lt_cv_to_host_file_cmd
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6026 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6033 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6034 if ${lt_cv_to_tool_file_cmd+:} false; then :
6035 $as_echo_n "(cached
) " >&6
6037 #assume ordinary cross tools, or native build.
6038 lt_cv_to_tool_file_cmd=func_convert_file_noop
6042 *-*-mingw* ) # actually msys
6043 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6051 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6053 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6060 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6061 if ${lt_cv_ld_reload_flag+:} false; then :
6062 $as_echo_n "(cached
) " >&6
6064 lt_cv_ld_reload_flag='-r'
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6067 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6068 reload_flag=$lt_cv_ld_reload_flag
6069 case $reload_flag in
6071 *) reload_flag=" $reload_flag" ;;
6073 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6075 cygwin* | mingw* | pw32* | cegcc*)
6076 if test "$GCC" != yes; then
6081 if test "$GCC" = yes; then
6082 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6084 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6097 if test -n "$ac_tool_prefix"; then
6098 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6099 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6101 $as_echo_n "checking
for $ac_word...
" >&6; }
6102 if ${ac_cv_prog_OBJDUMP+:} false; then :
6103 $as_echo_n "(cached
) " >&6
6105 if test -n "$OBJDUMP"; then
6106 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6125 OBJDUMP=$ac_cv_prog_OBJDUMP
6126 if test -n "$OBJDUMP"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6128 $as_echo "$OBJDUMP" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6131 $as_echo "no
" >&6; }
6136 if test -z "$ac_cv_prog_OBJDUMP"; then
6137 ac_ct_OBJDUMP=$OBJDUMP
6138 # Extract the first word of "objdump
", so it can be a program name with args.
6139 set dummy objdump; ac_word=$2
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6141 $as_echo_n "checking
for $ac_word...
" >&6; }
6142 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6143 $as_echo_n "(cached
) " >&6
6145 if test -n "$ac_ct_OBJDUMP"; then
6146 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 test -z "$as_dir" && as_dir=.
6153 for ac_exec_ext in '' $ac_executable_extensions; do
6154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6155 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6165 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6166 if test -n "$ac_ct_OBJDUMP"; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6168 $as_echo "$ac_ct_OBJDUMP" >&6; }
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6171 $as_echo "no
" >&6; }
6174 if test "x
$ac_ct_OBJDUMP" = x; then
6177 case $cross_compiling:$ac_tool_warned in
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6180 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6181 ac_tool_warned=yes ;;
6183 OBJDUMP=$ac_ct_OBJDUMP
6186 OBJDUMP="$ac_cv_prog_OBJDUMP"
6189 test -z "$OBJDUMP" && OBJDUMP=objdump
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6200 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6201 if ${lt_cv_deplibs_check_method+:} false; then :
6202 $as_echo_n "(cached
) " >&6
6204 lt_cv_file_magic_cmd='$MAGIC_CMD'
6205 lt_cv_file_magic_test_file=
6206 lt_cv_deplibs_check_method='unknown'
6207 # Need to set the preceding variable on all platforms that support
6208 # interlibrary dependencies.
6209 # 'none' -- dependencies not supported.
6210 # `unknown' -- same as none, but documents that we really don't know.
6211 # 'pass_all' -- all dependencies passed with no checks.
6212 # 'test_compile' -- check by making test program.
6213 # 'file_magic [[regex]]' -- check by looking for files in library path
6214 # which responds to the $file_magic_cmd with a given extended regex.
6215 # If you have `file' or equivalent on your system and you're not sure
6216 # whether `pass_all' will *always* work, you probably want this one.
6220 lt_cv_deplibs_check_method=pass_all
6224 lt_cv_deplibs_check_method=pass_all
6228 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6229 lt_cv_file_magic_cmd='/usr/bin/file -L'
6230 lt_cv_file_magic_test_file=/shlib/libc.so
6234 # func_win32_libid is a shell function defined in ltmain.sh
6235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6236 lt_cv_file_magic_cmd='func_win32_libid'
6240 # Base MSYS/MinGW do not provide the 'file' command needed by
6241 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6242 # unless we find 'file', for example because we are cross-compiling.
6243 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6244 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6245 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6246 lt_cv_file_magic_cmd='func_win32_libid'
6248 # Keep this pattern in sync with the one in func_win32_libid.
6249 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6250 lt_cv_file_magic_cmd='$OBJDUMP -f'
6255 # use the weaker test based on 'objdump'. See mingw*.
6256 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6257 lt_cv_file_magic_cmd='$OBJDUMP -f'
6260 darwin* | rhapsody*)
6261 lt_cv_deplibs_check_method=pass_all
6264 freebsd* | dragonfly*)
6265 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6268 # Not sure whether the presence of OpenBSD here was a mistake.
6269 # Let's accept both of them until this is cleared up.
6270 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6271 lt_cv_file_magic_cmd=/usr/bin/file
6272 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6276 lt_cv_deplibs_check_method=pass_all
6281 lt_cv_deplibs_check_method=pass_all
6285 lt_cv_deplibs_check_method=pass_all
6288 hpux10.20* | hpux11*)
6289 lt_cv_file_magic_cmd=/usr/bin/file
6292 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6293 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6296 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]'
6297 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6300 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6301 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6307 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6308 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6311 irix5* | irix6* | nonstopux*)
6313 *-32|*"-32 ") libmagic=32-bit;;
6314 *-n32|*"-n32 ") libmagic=N32;;
6315 *-64|*"-64 ") libmagic=64-bit;;
6316 *) libmagic=never-match;;
6318 lt_cv_deplibs_check_method=pass_all
6321 # This must be glibc/ELF.
6322 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6323 lt_cv_deplibs_check_method=pass_all
6327 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6328 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6330 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6335 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6336 lt_cv_file_magic_cmd=/usr/bin/file
6337 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6341 lt_cv_deplibs_check_method=pass_all
6345 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6348 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6352 osf3* | osf4* | osf5*)
6353 lt_cv_deplibs_check_method=pass_all
6357 lt_cv_deplibs_check_method=pass_all
6361 lt_cv_deplibs_check_method=pass_all
6364 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6365 lt_cv_deplibs_check_method=pass_all
6369 case $host_vendor in
6371 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]'
6372 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6375 lt_cv_deplibs_check_method=pass_all
6378 lt_cv_file_magic_cmd='/bin/file'
6379 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6382 lt_cv_file_magic_cmd='/bin/file'
6383 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6384 lt_cv_file_magic_test_file=/lib/libc.so
6387 lt_cv_deplibs_check_method=pass_all
6390 lt_cv_deplibs_check_method=pass_all
6396 lt_cv_deplibs_check_method=pass_all
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6402 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6406 if test "$build" = "$host"; then
6409 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6412 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6418 file_magic_cmd=$lt_cv_file_magic_cmd
6419 deplibs_check_method=$lt_cv_deplibs_check_method
6420 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6443 if test -n "$ac_tool_prefix"; then
6444 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6445 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6447 $as_echo_n "checking
for $ac_word...
" >&6; }
6448 if ${ac_cv_prog_DLLTOOL+:} false; then :
6449 $as_echo_n "(cached
) " >&6
6451 if test -n "$DLLTOOL"; then
6452 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 test -z "$as_dir" && as_dir=.
6459 for ac_exec_ext in '' $ac_executable_extensions; do
6460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6461 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6471 DLLTOOL=$ac_cv_prog_DLLTOOL
6472 if test -n "$DLLTOOL"; then
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6474 $as_echo "$DLLTOOL" >&6; }
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6477 $as_echo "no
" >&6; }
6482 if test -z "$ac_cv_prog_DLLTOOL"; then
6483 ac_ct_DLLTOOL=$DLLTOOL
6484 # Extract the first word of "dlltool
", so it can be a program name with args.
6485 set dummy dlltool; ac_word=$2
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6487 $as_echo_n "checking
for $ac_word...
" >&6; }
6488 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6489 $as_echo_n "(cached
) " >&6
6491 if test -n "$ac_ct_DLLTOOL"; then
6492 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498 test -z "$as_dir" && as_dir=.
6499 for ac_exec_ext in '' $ac_executable_extensions; do
6500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6501 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6511 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6512 if test -n "$ac_ct_DLLTOOL"; then
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6514 $as_echo "$ac_ct_DLLTOOL" >&6; }
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6517 $as_echo "no
" >&6; }
6520 if test "x
$ac_ct_DLLTOOL" = x; then
6523 case $cross_compiling:$ac_tool_warned in
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6526 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6527 ac_tool_warned=yes ;;
6529 DLLTOOL=$ac_ct_DLLTOOL
6532 DLLTOOL="$ac_cv_prog_DLLTOOL"
6535 test -z "$DLLTOOL" && DLLTOOL=dlltool
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6547 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6548 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6549 $as_echo_n "(cached
) " >&6
6551 lt_cv_sharedlib_from_linklib_cmd='unknown'
6554 cygwin* | mingw* | pw32* | cegcc*)
6555 # two different shell functions defined in ltmain.sh
6556 # decide which to use based on capabilities of $DLLTOOL
6557 case `$DLLTOOL --help 2>&1` in
6558 *--identify-strict*)
6559 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6562 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6567 # fallback: assume linklib IS sharedlib
6568 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6574 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6575 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6576 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6584 if test -n "$ac_tool_prefix"; then
6587 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6588 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6590 $as_echo_n "checking
for $ac_word...
" >&6; }
6591 if ${ac_cv_prog_AR+:} false; then :
6592 $as_echo_n "(cached
) " >&6
6594 if test -n "$AR"; then
6595 ac_cv_prog_AR="$AR" # Let the user override the test.
6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 test -z "$as_dir" && as_dir=.
6602 for ac_exec_ext in '' $ac_executable_extensions; do
6603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6604 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6615 if test -n "$AR"; then
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6617 $as_echo "$AR" >&6; }
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6620 $as_echo "no
" >&6; }
6624 test -n "$AR" && break
6627 if test -z "$AR"; then
6631 # Extract the first word of "$ac_prog", so it can be a program name with args.
6632 set dummy $ac_prog; ac_word=$2
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6634 $as_echo_n "checking
for $ac_word...
" >&6; }
6635 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6636 $as_echo_n "(cached
) " >&6
6638 if test -n "$ac_ct_AR"; then
6639 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 test -z "$as_dir" && as_dir=.
6646 for ac_exec_ext in '' $ac_executable_extensions; do
6647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6648 ac_cv_prog_ac_ct_AR="$ac_prog"
6649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6658 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6659 if test -n "$ac_ct_AR"; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6661 $as_echo "$ac_ct_AR" >&6; }
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6664 $as_echo "no
" >&6; }
6668 test -n "$ac_ct_AR" && break
6671 if test "x
$ac_ct_AR" = x; then
6674 case $cross_compiling:$ac_tool_warned in
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6677 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6678 ac_tool_warned=yes ;;
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6698 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6699 if ${lt_cv_ar_at_file+:} false; then :
6700 $as_echo_n "(cached
) " >&6
6703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6704 /* end confdefs.h. */
6714 if ac_fn_c_try_compile "$LINENO"; then :
6715 echo conftest.$ac_objext > conftest.lst
6716 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6717 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6718 (eval $lt_ar_try) 2>&5
6720 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6721 test $ac_status = 0; }
6722 if test "$ac_status" -eq 0; then
6723 # Ensure the archiver fails upon bogus file names.
6724 rm -f conftest.$ac_objext libconftest.a
6725 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6726 (eval $lt_ar_try) 2>&5
6728 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6729 test $ac_status = 0; }
6730 if test "$ac_status" -ne 0; then
6734 rm -f conftest.* libconftest.a
6737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6741 $as_echo "$lt_cv_ar_at_file" >&6; }
6743 if test "x
$lt_cv_ar_at_file" = xno; then
6746 archiver_list_spec=$lt_cv_ar_at_file
6755 if test -n "$ac_tool_prefix"; then
6756 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6757 set dummy ${ac_tool_prefix}strip; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6759 $as_echo_n "checking
for $ac_word...
" >&6; }
6760 if ${ac_cv_prog_STRIP+:} false; then :
6761 $as_echo_n "(cached
) " >&6
6763 if test -n "$STRIP"; then
6764 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6783 STRIP=$ac_cv_prog_STRIP
6784 if test -n "$STRIP"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6786 $as_echo "$STRIP" >&6; }
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6789 $as_echo "no
" >&6; }
6794 if test -z "$ac_cv_prog_STRIP"; then
6796 # Extract the first word of "strip
", so it can be a program name with args.
6797 set dummy strip; ac_word=$2
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6799 $as_echo_n "checking
for $ac_word...
" >&6; }
6800 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6801 $as_echo_n "(cached
) " >&6
6803 if test -n "$ac_ct_STRIP"; then
6804 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6813 ac_cv_prog_ac_ct_STRIP="strip
"
6814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6823 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6824 if test -n "$ac_ct_STRIP"; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6826 $as_echo "$ac_ct_STRIP" >&6; }
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6829 $as_echo "no
" >&6; }
6832 if test "x
$ac_ct_STRIP" = x; then
6835 case $cross_compiling:$ac_tool_warned in
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6838 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6839 ac_tool_warned=yes ;;
6844 STRIP="$ac_cv_prog_STRIP"
6847 test -z "$STRIP" && STRIP=:
6854 if test -n "$ac_tool_prefix"; then
6855 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6856 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6858 $as_echo_n "checking
for $ac_word...
" >&6; }
6859 if ${ac_cv_prog_RANLIB+:} false; then :
6860 $as_echo_n "(cached
) " >&6
6862 if test -n "$RANLIB"; then
6863 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869 test -z "$as_dir" && as_dir=.
6870 for ac_exec_ext in '' $ac_executable_extensions; do
6871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6872 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6882 RANLIB=$ac_cv_prog_RANLIB
6883 if test -n "$RANLIB"; then
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6885 $as_echo "$RANLIB" >&6; }
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6888 $as_echo "no
" >&6; }
6893 if test -z "$ac_cv_prog_RANLIB"; then
6894 ac_ct_RANLIB=$RANLIB
6895 # Extract the first word of "ranlib
", so it can be a program name with args.
6896 set dummy ranlib; ac_word=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6898 $as_echo_n "checking
for $ac_word...
" >&6; }
6899 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6900 $as_echo_n "(cached
) " >&6
6902 if test -n "$ac_ct_RANLIB"; then
6903 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909 test -z "$as_dir" && as_dir=.
6910 for ac_exec_ext in '' $ac_executable_extensions; do
6911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6912 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6922 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6923 if test -n "$ac_ct_RANLIB"; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6925 $as_echo "$ac_ct_RANLIB" >&6; }
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6928 $as_echo "no
" >&6; }
6931 if test "x
$ac_ct_RANLIB" = x; then
6934 case $cross_compiling:$ac_tool_warned in
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6937 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6938 ac_tool_warned=yes ;;
6940 RANLIB=$ac_ct_RANLIB
6943 RANLIB="$ac_cv_prog_RANLIB"
6946 test -z "$RANLIB" && RANLIB=:
6953 # Determine commands to create old-style static archives.
6954 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6955 old_postinstall_cmds='chmod 644 $oldlib'
6956 old_postuninstall_cmds=
6958 if test -n "$RANLIB"; then
6961 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6964 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6967 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6972 lock_old_archive_extraction=yes ;;
6974 lock_old_archive_extraction=no ;;
7015 # If no C compiler was specified, use CC.
7018 # If no C compiler flags were specified, use CFLAGS.
7019 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7021 # Allow CC to be a program name with arguments.
7025 # Check for command to grab the raw symbol name followed by C symbol from nm.
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7027 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7028 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7029 $as_echo_n "(cached
) " >&6
7032 # These are sane defaults that work on at least a few old systems.
7033 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7035 # Character class describing NM global symbol codes.
7036 symcode='[BCDEGRST]'
7038 # Regexp to match symbols that can be accessed directly from C.
7039 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7041 # Define system-specific variables.
7046 cygwin* | mingw* | pw32* | cegcc*)
7047 symcode='[ABCDGISTW]'
7050 if test "$host_cpu" = ia64; then
7051 symcode='[ABCDEGRST]'
7055 symcode='[BCDEGRST]'
7058 symcode='[BCDEGQRST]'
7069 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7077 # If we're using GNU nm, then use its standard symbol codes.
7078 case `$NM -V 2>&1` in
7079 *GNU* | *'with BFD'*)
7080 symcode='[ABCDGIRSTW]' ;;
7083 # Transform an extracted symbol line into a proper C declaration.
7084 # Some systems (esp. on ia64) link data and code symbols differently,
7085 # so use this general approach.
7086 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7088 # Transform an extracted symbol line into symbol name and symbol address
7089 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7090 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'"
7092 # Handle CRLF in mingw tool chain
7096 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7100 # Try without a prefix underscore, then with it.
7101 for ac_symprfx in "" "_
"; do
7103 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7104 symxfrm="\\1 $ac_symprfx\\2 \\2"
7106 # Write the raw and C identifiers.
7107 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7108 # Fake it for dumpbin and say T for any non-static function
7109 # and D for any global variable.
7110 # Also find C++ and __fastcall symbols from MSVC++,
7111 # which start with @ or ?.
7112 lt_cv_sys_global_symbol_pipe="$AWK '"\
7113 " {last_section=section; section=\$ 3};"\
7114 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7115 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7116 " \$ 0!~/External *\|/{next};"\
7117 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7118 " {if(hide[section]) next};"\
7119 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7120 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7121 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7122 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7123 " ' prfx
=^
$ac_symprfx"
7125 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7127 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7129 # Check to see that the pipe works correctly.
7133 cat > conftest.$ac_ext <<_LT_EOF
7138 void nm_test_func(void);
7139 void nm_test_func(void){}
7143 int main(){nm_test_var='a';nm_test_func();return(0);}
7146 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7147 (eval $ac_compile) 2>&5
7149 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7150 test $ac_status = 0; }; then
7151 # Now try to grab the symbols.
7153 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7154 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7156 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7157 test $ac_status = 0; } && test -s "$nlist"; then
7158 # Try sorting and uniquifying the output.
7159 if sort "$nlist" | uniq > "$nlist"T; then
7160 mv -f "$nlist"T "$nlist"
7165 # Make sure that we snagged all the symbols we need.
7166 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7167 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7168 cat <<_LT_EOF > conftest.$ac_ext
7169 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7170 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7171 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7172 relocations are performed -- see ld's documentation on pseudo-relocs. */
7173 # define LT_DLSYM_CONST
7174 #elif defined(__osf__)
7175 /* This system does not cope well with relocations in const data. */
7176 # define LT_DLSYM_CONST
7178 # define LT_DLSYM_CONST const
7186 # Now generate the symbol file.
7187 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7189 cat <<_LT_EOF >> conftest.$ac_ext
7191 /* The mapping between symbol names and symbols. */
7192 LT_DLSYM_CONST struct {
7196 lt__PROGRAM__LTX_preloaded_symbols[] =
7198 { "@PROGRAM@
", (void *) 0 },
7200 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7201 cat <<\_LT_EOF >> conftest.$ac_ext
7205 /* This works around a problem in FreeBSD linker */
7206 #ifdef FREEBSD_WORKAROUND
7207 static const void *lt_preloaded_setup() {
7208 return lt__PROGRAM__LTX_preloaded_symbols;
7216 # Now try linking the two files.
7217 mv conftest.$ac_objext conftstm.$ac_objext
7218 lt_globsym_save_LIBS=$LIBS
7219 lt_globsym_save_CFLAGS=$CFLAGS
7220 LIBS="conftstm.
$ac_objext"
7221 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7222 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7223 (eval $ac_link) 2>&5
7225 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7226 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7229 LIBS=$lt_globsym_save_LIBS
7230 CFLAGS=$lt_globsym_save_CFLAGS
7232 echo "cannot
find nm_test_func
in $nlist" >&5
7235 echo "cannot
find nm_test_var
in $nlist" >&5
7238 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7241 echo "$progname: failed program was
:" >&5
7242 cat conftest.$ac_ext >&5
7244 rm -rf conftest* conftst*
7246 # Do not use the global_symbol_pipe unless it works.
7247 if test "$pipe_works" = yes; then
7250 lt_cv_sys_global_symbol_pipe=
7256 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7257 lt_cv_sys_global_symbol_to_cdecl=
7259 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7261 $as_echo "failed
" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7264 $as_echo "ok
" >&6; }
7267 # Response file support.
7268 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7269 nm_file_list_spec='@'
7270 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7271 nm_file_list_spec='@'
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7301 $as_echo_n "checking
for sysroot...
" >&6; }
7303 # Check whether --with-sysroot was given.
7304 if test "${with_sysroot+set}" = set; then :
7305 withval=$with_sysroot;
7312 case ${with_sysroot} in #(
7314 if test "$GCC" = yes; then
7315 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7319 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7325 $as_echo "${with_sysroot}" >&6; }
7326 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7331 $as_echo "${lt_sysroot:-no}" >&6; }
7337 # Check whether --enable-libtool-lock was given.
7338 if test "${enable_libtool_lock+set}" = set; then :
7339 enableval=$enable_libtool_lock;
7342 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7344 # Some flags need to be propagated to the compiler or linker for good
7348 # Find out which ABI we are using.
7349 echo 'int i;' > conftest.$ac_ext
7350 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7351 (eval $ac_compile) 2>&5
7353 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7354 test $ac_status = 0; }; then
7355 case `/usr/bin/file conftest.$ac_objext` in
7367 # Find out which ABI we are using.
7368 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7369 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7370 (eval $ac_compile) 2>&5
7372 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7373 test $ac_status = 0; }; then
7374 if test "$lt_cv_prog_gnu_ld" = yes; then
7375 case `/usr/bin/file conftest.$ac_objext` in
7377 LD="${LD-ld} -melf32bsmip"
7380 LD="${LD-ld} -melf32bmipn32"
7383 LD="${LD-ld} -melf64bmip"
7387 case `/usr/bin/file conftest.$ac_objext` in
7403 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7404 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7405 # Find out which ABI we are using.
7406 echo 'int i;' > conftest.$ac_ext
7407 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7408 (eval $ac_compile) 2>&5
7410 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7411 test $ac_status = 0; }; then
7412 case `/usr/bin/file conftest.o` in
7415 x86_64-*kfreebsd*-gnu)
7416 LD="${LD-ld} -m elf_i386_fbsd
"
7419 LD="${LD-ld} -m elf_i386
"
7421 ppc64-*linux*|powerpc64-*linux*)
7422 LD="${LD-ld} -m elf32ppclinux
"
7425 LD="${LD-ld} -m elf_s390
"
7428 LD="${LD-ld} -m elf32_sparc
"
7434 x86_64-*kfreebsd*-gnu)
7435 LD="${LD-ld} -m elf_x86_64_fbsd
"
7438 LD="${LD-ld} -m elf_x86_64
"
7440 ppc*-*linux*|powerpc*-*linux*)
7441 LD="${LD-ld} -m elf64ppc
"
7443 s390*-*linux*|s390*-*tpf*)
7444 LD="${LD-ld} -m elf64_s390
"
7447 LD="${LD-ld} -m elf64_sparc
"
7457 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7458 SAVE_CFLAGS="$CFLAGS"
7459 CFLAGS="$CFLAGS -belf"
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7461 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7462 if ${lt_cv_cc_needs_belf+:} false; then :
7463 $as_echo_n "(cached
) " >&6
7466 ac_cpp='$CPP $CPPFLAGS'
7467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7472 /* end confdefs.h. */
7482 if ac_fn_c_try_link "$LINENO"; then :
7483 lt_cv_cc_needs_belf=yes
7485 lt_cv_cc_needs_belf=no
7487 rm -f core conftest.err conftest.$ac_objext \
7488 conftest$ac_exeext conftest.$ac_ext
7490 ac_cpp='$CPP $CPPFLAGS'
7491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7497 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7498 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7499 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7500 CFLAGS="$SAVE_CFLAGS"
7504 # Find out which ABI we are using.
7505 echo 'int i;' > conftest.$ac_ext
7506 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7507 (eval $ac_compile) 2>&5
7509 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7510 test $ac_status = 0; }; then
7511 case `/usr/bin/file conftest.o` in
7513 case $lt_cv_prog_gnu_ld in
7517 LD="${LD-ld} -m elf_x86_64
"
7520 LD="${LD-ld} -m elf64_sparc
"
7523 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7524 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7529 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7541 need_locks="$enable_libtool_lock"
7543 if test -n "$ac_tool_prefix"; then
7544 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}mt; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7547 $as_echo_n "checking
for $ac_word...
" >&6; }
7548 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7549 $as_echo_n "(cached
) " >&6
7551 if test -n "$MANIFEST_TOOL"; then
7552 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7561 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7571 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7572 if test -n "$MANIFEST_TOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7574 $as_echo "$MANIFEST_TOOL" >&6; }
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7577 $as_echo "no
" >&6; }
7582 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7583 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7584 # Extract the first word of "mt
", so it can be a program name with args.
7585 set dummy mt; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7587 $as_echo_n "checking
for $ac_word...
" >&6; }
7588 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7589 $as_echo_n "(cached
) " >&6
7591 if test -n "$ac_ct_MANIFEST_TOOL"; then
7592 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7601 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7611 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7612 if test -n "$ac_ct_MANIFEST_TOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7614 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7617 $as_echo "no
" >&6; }
7620 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7623 case $cross_compiling:$ac_tool_warned in
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7626 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7627 ac_tool_warned=yes ;;
7629 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7632 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7635 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7637 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7638 if ${lt_cv_path_mainfest_tool+:} false; then :
7639 $as_echo_n "(cached
) " >&6
7641 lt_cv_path_mainfest_tool=no
7642 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7643 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7644 cat conftest.err >&5
7645 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7646 lt_cv_path_mainfest_tool=yes
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7651 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7652 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7662 rhapsody* | darwin*)
7663 if test -n "$ac_tool_prefix"; then
7664 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7665 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7667 $as_echo_n "checking
for $ac_word...
" >&6; }
7668 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7669 $as_echo_n "(cached
) " >&6
7671 if test -n "$DSYMUTIL"; then
7672 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7678 test -z "$as_dir" && as_dir=.
7679 for ac_exec_ext in '' $ac_executable_extensions; do
7680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7681 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7691 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7692 if test -n "$DSYMUTIL"; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7694 $as_echo "$DSYMUTIL" >&6; }
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7697 $as_echo "no
" >&6; }
7702 if test -z "$ac_cv_prog_DSYMUTIL"; then
7703 ac_ct_DSYMUTIL=$DSYMUTIL
7704 # Extract the first word of "dsymutil
", so it can be a program name with args.
7705 set dummy dsymutil; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7707 $as_echo_n "checking
for $ac_word...
" >&6; }
7708 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7709 $as_echo_n "(cached
) " >&6
7711 if test -n "$ac_ct_DSYMUTIL"; then
7712 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7721 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7731 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7732 if test -n "$ac_ct_DSYMUTIL"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7734 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7737 $as_echo "no
" >&6; }
7740 if test "x
$ac_ct_DSYMUTIL" = x; then
7743 case $cross_compiling:$ac_tool_warned in
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7746 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7747 ac_tool_warned=yes ;;
7749 DSYMUTIL=$ac_ct_DSYMUTIL
7752 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7755 if test -n "$ac_tool_prefix"; then
7756 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7757 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7759 $as_echo_n "checking
for $ac_word...
" >&6; }
7760 if ${ac_cv_prog_NMEDIT+:} false; then :
7761 $as_echo_n "(cached
) " >&6
7763 if test -n "$NMEDIT"; then
7764 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7770 test -z "$as_dir" && as_dir=.
7771 for ac_exec_ext in '' $ac_executable_extensions; do
7772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7773 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7783 NMEDIT=$ac_cv_prog_NMEDIT
7784 if test -n "$NMEDIT"; then
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7786 $as_echo "$NMEDIT" >&6; }
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7789 $as_echo "no
" >&6; }
7794 if test -z "$ac_cv_prog_NMEDIT"; then
7795 ac_ct_NMEDIT=$NMEDIT
7796 # Extract the first word of "nmedit
", so it can be a program name with args.
7797 set dummy nmedit; ac_word=$2
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7799 $as_echo_n "checking
for $ac_word...
" >&6; }
7800 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7801 $as_echo_n "(cached
) " >&6
7803 if test -n "$ac_ct_NMEDIT"; then
7804 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7810 test -z "$as_dir" && as_dir=.
7811 for ac_exec_ext in '' $ac_executable_extensions; do
7812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7813 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7823 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7824 if test -n "$ac_ct_NMEDIT"; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7826 $as_echo "$ac_ct_NMEDIT" >&6; }
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7829 $as_echo "no
" >&6; }
7832 if test "x
$ac_ct_NMEDIT" = x; then
7835 case $cross_compiling:$ac_tool_warned in
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7838 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7839 ac_tool_warned=yes ;;
7841 NMEDIT=$ac_ct_NMEDIT
7844 NMEDIT="$ac_cv_prog_NMEDIT"
7847 if test -n "$ac_tool_prefix"; then
7848 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7849 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7851 $as_echo_n "checking
for $ac_word...
" >&6; }
7852 if ${ac_cv_prog_LIPO+:} false; then :
7853 $as_echo_n "(cached
) " >&6
7855 if test -n "$LIPO"; then
7856 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7865 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7875 LIPO=$ac_cv_prog_LIPO
7876 if test -n "$LIPO"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7878 $as_echo "$LIPO" >&6; }
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7881 $as_echo "no
" >&6; }
7886 if test -z "$ac_cv_prog_LIPO"; then
7888 # Extract the first word of "lipo
", so it can be a program name with args.
7889 set dummy lipo; ac_word=$2
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7891 $as_echo_n "checking
for $ac_word...
" >&6; }
7892 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7893 $as_echo_n "(cached
) " >&6
7895 if test -n "$ac_ct_LIPO"; then
7896 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7905 ac_cv_prog_ac_ct_LIPO="lipo
"
7906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7915 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7916 if test -n "$ac_ct_LIPO"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7918 $as_echo "$ac_ct_LIPO" >&6; }
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7921 $as_echo "no
" >&6; }
7924 if test "x
$ac_ct_LIPO" = x; then
7927 case $cross_compiling:$ac_tool_warned in
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7930 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7931 ac_tool_warned=yes ;;
7936 LIPO="$ac_cv_prog_LIPO"
7939 if test -n "$ac_tool_prefix"; then
7940 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7941 set dummy ${ac_tool_prefix}otool; ac_word=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7943 $as_echo_n "checking
for $ac_word...
" >&6; }
7944 if ${ac_cv_prog_OTOOL+:} false; then :
7945 $as_echo_n "(cached
) " >&6
7947 if test -n "$OTOOL"; then
7948 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7957 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7967 OTOOL=$ac_cv_prog_OTOOL
7968 if test -n "$OTOOL"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7970 $as_echo "$OTOOL" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7973 $as_echo "no
" >&6; }
7978 if test -z "$ac_cv_prog_OTOOL"; then
7980 # Extract the first word of "otool
", so it can be a program name with args.
7981 set dummy otool; ac_word=$2
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7983 $as_echo_n "checking
for $ac_word...
" >&6; }
7984 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7985 $as_echo_n "(cached
) " >&6
7987 if test -n "$ac_ct_OTOOL"; then
7988 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7994 test -z "$as_dir" && as_dir=.
7995 for ac_exec_ext in '' $ac_executable_extensions; do
7996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7997 ac_cv_prog_ac_ct_OTOOL="otool
"
7998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8007 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8008 if test -n "$ac_ct_OTOOL"; then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8010 $as_echo "$ac_ct_OTOOL" >&6; }
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8013 $as_echo "no
" >&6; }
8016 if test "x
$ac_ct_OTOOL" = x; then
8019 case $cross_compiling:$ac_tool_warned in
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8022 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8023 ac_tool_warned=yes ;;
8028 OTOOL="$ac_cv_prog_OTOOL"
8031 if test -n "$ac_tool_prefix"; then
8032 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8033 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8035 $as_echo_n "checking
for $ac_word...
" >&6; }
8036 if ${ac_cv_prog_OTOOL64+:} false; then :
8037 $as_echo_n "(cached
) " >&6
8039 if test -n "$OTOOL64"; then
8040 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 test -z "$as_dir" && as_dir=.
8047 for ac_exec_ext in '' $ac_executable_extensions; do
8048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8049 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8059 OTOOL64=$ac_cv_prog_OTOOL64
8060 if test -n "$OTOOL64"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8062 $as_echo "$OTOOL64" >&6; }
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8065 $as_echo "no
" >&6; }
8070 if test -z "$ac_cv_prog_OTOOL64"; then
8071 ac_ct_OTOOL64=$OTOOL64
8072 # Extract the first word of "otool64
", so it can be a program name with args.
8073 set dummy otool64; ac_word=$2
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8075 $as_echo_n "checking
for $ac_word...
" >&6; }
8076 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8077 $as_echo_n "(cached
) " >&6
8079 if test -n "$ac_ct_OTOOL64"; then
8080 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8086 test -z "$as_dir" && as_dir=.
8087 for ac_exec_ext in '' $ac_executable_extensions; do
8088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8089 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8099 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8100 if test -n "$ac_ct_OTOOL64"; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8102 $as_echo "$ac_ct_OTOOL64" >&6; }
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8105 $as_echo "no
" >&6; }
8108 if test "x
$ac_ct_OTOOL64" = x; then
8111 case $cross_compiling:$ac_tool_warned in
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8114 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8115 ac_tool_warned=yes ;;
8117 OTOOL64=$ac_ct_OTOOL64
8120 OTOOL64="$ac_cv_prog_OTOOL64"
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8150 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8151 if ${lt_cv_apple_cc_single_mod+:} false; then :
8152 $as_echo_n "(cached
) " >&6
8154 lt_cv_apple_cc_single_mod=no
8155 if test -z "${LT_MULTI_MODULE}"; then
8156 # By default we will add the -single_module flag. You can override
8157 # by either setting the environment variable LT_MULTI_MODULE
8158 # non-empty at configure time, or by adding -multi_module to the
8160 rm -rf libconftest.dylib*
8161 echo "int foo
(void
){return 1;}" > conftest.c
8162 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8163 -dynamiclib -Wl,-single_module conftest.c
" >&5
8164 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8165 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8167 # If there is a non-empty error log, and "single_module
"
8168 # appears in it, assume the flag caused a linker warning
8169 if test -s conftest.err && $GREP single_module conftest.err; then
8170 cat conftest.err >&5
8171 # Otherwise, if the output was created with a 0 exit code from
8172 # the compiler, it worked.
8173 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8174 lt_cv_apple_cc_single_mod=yes
8176 cat conftest.err >&5
8178 rm -rf libconftest.dylib*
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8183 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8186 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8187 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8188 $as_echo_n "(cached
) " >&6
8190 lt_cv_ld_exported_symbols_list=no
8191 save_LDFLAGS=$LDFLAGS
8192 echo "_main
" > conftest.sym
8193 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8195 /* end confdefs.h. */
8205 if ac_fn_c_try_link "$LINENO"; then :
8206 lt_cv_ld_exported_symbols_list=yes
8208 lt_cv_ld_exported_symbols_list=no
8210 rm -f core conftest.err conftest.$ac_objext \
8211 conftest$ac_exeext conftest.$ac_ext
8212 LDFLAGS="$save_LDFLAGS"
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8216 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8219 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8220 if ${lt_cv_ld_force_load+:} false; then :
8221 $as_echo_n "(cached
) " >&6
8223 lt_cv_ld_force_load=no
8224 cat > conftest.c << _LT_EOF
8225 int forced_loaded() { return 2;}
8227 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8228 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8229 echo "$AR cru libconftest.a conftest.o
" >&5
8230 $AR cru libconftest.a conftest.o 2>&5
8231 echo "$RANLIB libconftest.a
" >&5
8232 $RANLIB libconftest.a 2>&5
8233 cat > conftest.c << _LT_EOF
8234 int main() { return 0;}
8236 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8237 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8239 if test -s conftest.err && $GREP force_load conftest.err; then
8240 cat conftest.err >&5
8241 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8242 lt_cv_ld_force_load=yes
8244 cat conftest.err >&5
8246 rm -f conftest.err libconftest.a conftest conftest.c
8247 rm -rf conftest.dSYM
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8251 $as_echo "$lt_cv_ld_force_load" >&6; }
8253 rhapsody* | darwin1.[012])
8254 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8256 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8257 darwin*) # darwin 5.x on
8258 # if running on 10.5 or later, the deployment target defaults
8259 # to the OS version, if on x86, and 10.4, the deployment
8260 # target defaults to 10.4. Don't you love it?
8261 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8262 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8263 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8265 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8267 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8271 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8272 _lt_dar_single_mod='$single_module'
8274 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8275 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8277 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8279 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8280 _lt_dsymutil='~$DSYMUTIL $lib || :'
8288 ac_cpp='$CPP $CPPFLAGS'
8289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8293 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8294 # On Suns, sometimes $CPP names a directory.
8295 if test -n "$CPP" && test -d "$CPP"; then
8298 if test -z "$CPP"; then
8299 if ${ac_cv_prog_CPP+:} false; then :
8300 $as_echo_n "(cached
) " >&6
8302 # Double quotes because CPP needs to be expanded
8303 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8306 for ac_c_preproc_warn_flag in '' yes
8308 # Use a header file that comes with gcc, so configuring glibc
8309 # with a fresh cross-compiler works.
8310 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8311 # <limits.h> exists even on freestanding compilers.
8312 # On the NeXT, cc -E runs the code through the compiler's parser,
8313 # not just through cpp. "Syntax error
" is here to catch this case.
8314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8317 # include <limits.h>
8319 # include <assert.h>
8323 if ac_fn_c_try_cpp "$LINENO"; then :
8326 # Broken: fails on valid input.
8329 rm -f conftest.err conftest.i conftest.$ac_ext
8331 # OK, works on sane cases. Now check whether nonexistent headers
8332 # can be detected and how.
8333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8334 /* end confdefs.h. */
8335 #include <ac_nonexistent.h>
8337 if ac_fn_c_try_cpp "$LINENO"; then :
8338 # Broken: success on invalid input.
8341 # Passes both tests.
8345 rm -f conftest.err conftest.i conftest.$ac_ext
8348 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8349 rm -f conftest.i conftest.err conftest.$ac_ext
8350 if $ac_preproc_ok; then :
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8363 $as_echo "$CPP" >&6; }
8365 for ac_c_preproc_warn_flag in '' yes
8367 # Use a header file that comes with gcc, so configuring glibc
8368 # with a fresh cross-compiler works.
8369 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8370 # <limits.h> exists even on freestanding compilers.
8371 # On the NeXT, cc -E runs the code through the compiler's parser,
8372 # not just through cpp. "Syntax error
" is here to catch this case.
8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8376 # include <limits.h>
8378 # include <assert.h>
8382 if ac_fn_c_try_cpp "$LINENO"; then :
8385 # Broken: fails on valid input.
8388 rm -f conftest.err conftest.i conftest.$ac_ext
8390 # OK, works on sane cases. Now check whether nonexistent headers
8391 # can be detected and how.
8392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8394 #include <ac_nonexistent.h>
8396 if ac_fn_c_try_cpp "$LINENO"; then :
8397 # Broken: success on invalid input.
8400 # Passes both tests.
8404 rm -f conftest.err conftest.i conftest.$ac_ext
8407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8408 rm -f conftest.i conftest.err conftest.$ac_ext
8409 if $ac_preproc_ok; then :
8412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8414 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8415 See \`config.log' for more details
" "$LINENO" 5; }
8419 ac_cpp='$CPP $CPPFLAGS'
8420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8426 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8427 if ${ac_cv_header_stdc+:} false; then :
8428 $as_echo_n "(cached
) " >&6
8430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8445 if ac_fn_c_try_compile "$LINENO"; then :
8446 ac_cv_header_stdc=yes
8448 ac_cv_header_stdc=no
8450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8452 if test $ac_cv_header_stdc = yes; then
8453 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8455 /* end confdefs.h. */
8459 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8460 $EGREP "memchr
" >/dev/null 2>&1; then :
8463 ac_cv_header_stdc=no
8469 if test $ac_cv_header_stdc = yes; then
8470 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8476 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8477 $EGREP "free
" >/dev/null 2>&1; then :
8480 ac_cv_header_stdc=no
8486 if test $ac_cv_header_stdc = yes; then
8487 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8488 if test "$cross_compiling" = yes; then :
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8495 #if ((' ' & 0x0FF) == 0x020)
8496 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8497 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8499 # define ISLOWER(c) \
8500 (('a' <= (c) && (c) <= 'i') \
8501 || ('j' <= (c) && (c) <= 'r') \
8502 || ('s' <= (c) && (c) <= 'z'))
8503 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8506 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8511 for (i = 0; i < 256; i++)
8512 if (XOR (islower (i), ISLOWER (i))
8513 || toupper (i) != TOUPPER (i))
8518 if ac_fn_c_try_run "$LINENO"; then :
8521 ac_cv_header_stdc=no
8523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8524 conftest.$ac_objext conftest.beam conftest.$ac_ext
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8530 $as_echo "$ac_cv_header_stdc" >&6; }
8531 if test $ac_cv_header_stdc = yes; then
8533 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8537 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8538 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8539 inttypes.h stdint.h unistd.h
8541 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8542 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8544 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8545 cat >>confdefs.h
<<_ACEOF
8546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8554 for ac_header
in dlfcn.h
8556 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8558 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8559 cat >>confdefs.h
<<_ACEOF
8560 #define HAVE_DLFCN_H 1
8570 func_stripname_cnf
()
8573 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8574 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8576 } # func_stripname_cnf
8583 # Check whether --enable-static was given.
8584 if test "${enable_static+set}" = set; then :
8585 enableval
=$enable_static; p
=${PACKAGE-default}
8587 yes) enable_static
=yes ;;
8588 no
) enable_static
=no
;;
8591 # Look at the argument we got. We use all the common list separators.
8592 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8593 for pkg
in $enableval; do
8595 if test "X$pkg" = "X$p"; then
8621 # Check whether --enable-shared was given.
8622 if test "${enable_shared+set}" = set; then :
8623 enableval
=$enable_shared; p
=${PACKAGE-default}
8625 yes) enable_shared
=yes ;;
8626 no
) enable_shared
=no
;;
8629 # Look at the argument we got. We use all the common list separators.
8630 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8631 for pkg
in $enableval; do
8633 if test "X$pkg" = "X$p"; then
8654 # Check whether --with-pic was given.
8655 if test "${with_pic+set}" = set; then :
8656 withval
=$with_pic; lt_p
=${PACKAGE-default}
8658 yes|no
) pic_mode
=$withval ;;
8661 # Look at the argument we got. We use all the common list separators.
8662 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8663 for lt_pkg
in $withval; do
8665 if test "X$lt_pkg" = "X$lt_p"; then
8677 test -z "$pic_mode" && pic_mode
=default
8685 # Check whether --enable-fast-install was given.
8686 if test "${enable_fast_install+set}" = set; then :
8687 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8689 yes) enable_fast_install
=yes ;;
8690 no
) enable_fast_install
=no
;;
8692 enable_fast_install
=no
8693 # Look at the argument we got. We use all the common list separators.
8694 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8695 for pkg
in $enableval; do
8697 if test "X$pkg" = "X$p"; then
8698 enable_fast_install
=yes
8705 enable_fast_install
=yes
8718 # This can be used to rebuild libtool when needed
8719 LIBTOOL_DEPS
="$ltmain"
8721 # Always use our own libtool.
8722 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8753 test -z "$LN_S" && LN_S
="ln -s"
8768 if test -n "${ZSH_VERSION+set}" ; then
8769 setopt NO_GLOB_SUBST
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8773 $as_echo_n "checking for objdir... " >&6; }
8774 if ${lt_cv_objdir+:} false
; then :
8775 $as_echo_n "(cached) " >&6
8777 rm -f .libs
2>/dev
/null
8778 mkdir .libs
2>/dev
/null
8779 if test -d .libs
; then
8782 # MS-DOS does not allow filenames that begin with a dot.
8785 rmdir .libs
2>/dev
/null
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8788 $as_echo "$lt_cv_objdir" >&6; }
8789 objdir
=$lt_cv_objdir
8795 cat >>confdefs.h
<<_ACEOF
8796 #define LT_OBJDIR "$lt_cv_objdir/"
8804 # AIX sometimes has problems with the GCC collect2 program. For some
8805 # reason, if we set the COLLECT_NAMES environment variable, the problems
8806 # vanish in a puff of smoke.
8807 if test "X${COLLECT_NAMES+set}" != Xset
; then
8809 export COLLECT_NAMES
8816 can_build_shared
=yes
8818 # All known linkers require a `.a' archive for static linking (except MSVC,
8819 # which needs '.lib').
8822 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8825 old_CFLAGS
="$CFLAGS"
8827 # Set sane defaults for various variables
8828 test -z "$CC" && CC
=cc
8829 test -z "$LTCC" && LTCC
=$CC
8830 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8831 test -z "$LD" && LD
=ld
8832 test -z "$ac_objext" && ac_objext
=o
8834 for cc_temp
in $compiler""; do
8836 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8837 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8842 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8845 # Only perform the check for file, if the check method requires it
8846 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8847 case $deplibs_check_method in
8849 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8851 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8852 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8853 $as_echo_n "(cached) " >&6
8857 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8860 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8861 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8862 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8863 for ac_dir
in $ac_dummy; do
8865 test -z "$ac_dir" && ac_dir
=.
8866 if test -f $ac_dir/${ac_tool_prefix}file; then
8867 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8868 if test -n "$file_magic_test_file"; then
8869 case $deplibs_check_method in
8871 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8872 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8873 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8874 $EGREP "$file_magic_regex" > /dev
/null
; then
8879 *** Warning: the command libtool uses to detect shared libraries,
8880 *** $file_magic_cmd, produces output that libtool cannot recognize.
8881 *** The result is that libtool may fail to recognize shared libraries
8882 *** as such. This will affect the creation of libtool libraries that
8883 *** depend on shared libraries, but programs linked with such libtool
8884 *** libraries will work regardless of this problem. Nevertheless, you
8885 *** may want to report the problem to your system manager and/or to
8886 *** bug-libtool@gnu.org
8896 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8901 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8902 if test -n "$MAGIC_CMD"; then
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8904 $as_echo "$MAGIC_CMD" >&6; }
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8907 $as_echo "no" >&6; }
8914 if test -z "$lt_cv_path_MAGIC_CMD"; then
8915 if test -n "$ac_tool_prefix"; then
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8917 $as_echo_n "checking for file... " >&6; }
8918 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8919 $as_echo_n "(cached) " >&6
8923 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8926 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8927 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8928 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8929 for ac_dir
in $ac_dummy; do
8931 test -z "$ac_dir" && ac_dir
=.
8932 if test -f $ac_dir/file; then
8933 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8934 if test -n "$file_magic_test_file"; then
8935 case $deplibs_check_method in
8937 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8938 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8939 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8940 $EGREP "$file_magic_regex" > /dev
/null
; then
8945 *** Warning: the command libtool uses to detect shared libraries,
8946 *** $file_magic_cmd, produces output that libtool cannot recognize.
8947 *** The result is that libtool may fail to recognize shared libraries
8948 *** as such. This will affect the creation of libtool libraries that
8949 *** depend on shared libraries, but programs linked with such libtool
8950 *** libraries will work regardless of this problem. Nevertheless, you
8951 *** may want to report the problem to your system manager and/or to
8952 *** bug-libtool@gnu.org
8962 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8967 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8968 if test -n "$MAGIC_CMD"; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8970 $as_echo "$MAGIC_CMD" >&6; }
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8973 $as_echo "no" >&6; }
8986 # Use C for the default configuration in the libtool script
8990 ac_cpp
='$CPP $CPPFLAGS'
8991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8996 # Source file extension for C test sources.
8999 # Object file extension for compiled C test sources.
9003 # Code to be used in simple compile tests
9004 lt_simple_compile_test_code
="int some_variable = 0;"
9006 # Code to be used in simple link tests
9007 lt_simple_link_test_code
='int main(){return(0);}'
9015 # If no C compiler was specified, use CC.
9018 # If no C compiler flags were specified, use CFLAGS.
9019 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9021 # Allow CC to be a program name with arguments.
9024 # Save the default compiler, since it gets overwritten when the other
9025 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9026 compiler_DEFAULT
=$CC
9028 # save warnings/boilerplate of simple test code
9029 ac_outfile
=conftest.
$ac_objext
9030 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9031 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9032 _lt_compiler_boilerplate
=`cat conftest.err`
9035 ac_outfile
=conftest.
$ac_objext
9036 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9037 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9038 _lt_linker_boilerplate
=`cat conftest.err`
9043 ## There is no encapsulation within the following macros, do not change
9044 ## the running order or otherwise move them around unless you know exactly
9045 ## what you are doing...
9046 if test -n "$compiler"; then
9048 lt_prog_compiler_no_builtin_flag
=
9050 if test "$GCC" = yes; then
9051 case $cc_basename in
9053 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9055 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9059 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9060 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9061 $as_echo_n "(cached) " >&6
9063 lt_cv_prog_compiler_rtti_exceptions
=no
9064 ac_outfile
=conftest.
$ac_objext
9065 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9066 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9067 # Insert the option either (1) after the last *FLAGS variable, or
9068 # (2) before a word containing "conftest.", or (3) at the end.
9069 # Note that $ac_compile itself does not contain backslashes and begins
9070 # with a dollar sign (not a hyphen), so the echo should work correctly.
9071 # The option is referenced via a variable to avoid confusing sed.
9072 lt_compile
=`echo "$ac_compile" | $SED \
9073 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9074 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9075 -e 's:$: $lt_compiler_flag:'`
9076 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9077 (eval "$lt_compile" 2>conftest.err
)
9079 cat conftest.err
>&5
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 if (exit $ac_status) && test -s "$ac_outfile"; then
9082 # The compiler can only warn and ignore the option if not recognized
9083 # So say no if there are warnings other than the usual output.
9084 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9085 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9086 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9087 lt_cv_prog_compiler_rtti_exceptions
=yes
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9094 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9096 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9097 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9109 lt_prog_compiler_wl
=
9110 lt_prog_compiler_pic
=
9111 lt_prog_compiler_static
=
9114 if test "$GCC" = yes; then
9115 lt_prog_compiler_wl
='-Wl,'
9116 lt_prog_compiler_static
='-static'
9120 # All AIX code is PIC.
9121 if test "$host_cpu" = ia64
; then
9122 # AIX 5 now supports IA64 processor
9123 lt_prog_compiler_static
='-Bstatic'
9130 # see comment about AmigaOS4 .so support
9131 lt_prog_compiler_pic
='-fPIC'
9134 # FIXME: we need at least 68020 code to build shared libraries, but
9135 # adding the `-m68020' flag to GCC prevents building anything better,
9137 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9142 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9143 # PIC is the default for these OSes.
9146 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9147 # This hack is so that the source file can tell whether it is being
9148 # built for inclusion in a dll (and should export symbols for example).
9149 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9150 # (--disable-auto-import) libraries
9151 lt_prog_compiler_pic
='-DDLL_EXPORT'
9154 darwin
* | rhapsody
*)
9155 # PIC is the default on this platform
9156 # Common symbols not allowed in MH_DYLIB files
9157 lt_prog_compiler_pic
='-fno-common'
9161 # PIC is the default for Haiku.
9162 # The "-static" flag exists, but is broken.
9163 lt_prog_compiler_static
=
9167 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9168 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9169 # sets the default TLS model and affects inlining.
9175 lt_prog_compiler_pic
='-fPIC'
9181 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9182 # Instead, we relocate shared libraries at runtime.
9186 # Just because we use GCC doesn't mean we suddenly get shared libraries
9187 # on systems that don't support them.
9188 lt_prog_compiler_can_build_shared
=no
9193 # QNX uses GNU C++, but need to define -shared option too, otherwise
9195 lt_prog_compiler_pic
='-fPIC -shared'
9199 if test -d /usr
/nec
; then
9200 lt_prog_compiler_pic
=-Kconform_pic
9205 lt_prog_compiler_pic
='-fPIC'
9209 case $cc_basename in
9210 nvcc
*) # Cuda Compiler Driver 2.2
9211 lt_prog_compiler_wl
='-Xlinker '
9212 if test -n "$lt_prog_compiler_pic"; then
9213 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9218 # PORTME Check for flag to pass linker flags through the system compiler.
9221 lt_prog_compiler_wl
='-Wl,'
9222 if test "$host_cpu" = ia64
; then
9223 # AIX 5 now supports IA64 processor
9224 lt_prog_compiler_static
='-Bstatic'
9226 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9230 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9231 # This hack is so that the source file can tell whether it is being
9232 # built for inclusion in a dll (and should export symbols for example).
9233 lt_prog_compiler_pic
='-DDLL_EXPORT'
9236 hpux9
* | hpux10
* | hpux11
*)
9237 lt_prog_compiler_wl
='-Wl,'
9238 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9245 lt_prog_compiler_pic
='+Z'
9248 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9249 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9252 irix5
* | irix6
* | nonstopux
*)
9253 lt_prog_compiler_wl
='-Wl,'
9254 # PIC (with -KPIC) is the default.
9255 lt_prog_compiler_static
='-non_shared'
9258 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9259 case $cc_basename in
9260 # old Intel for x86_64 which still supported -KPIC.
9262 lt_prog_compiler_wl
='-Wl,'
9263 lt_prog_compiler_pic
='-KPIC'
9264 lt_prog_compiler_static
='-static'
9266 # icc used to be incompatible with GCC.
9267 # ICC 10 doesn't accept -KPIC any more.
9269 lt_prog_compiler_wl
='-Wl,'
9270 lt_prog_compiler_pic
='-fPIC'
9271 lt_prog_compiler_static
='-static'
9273 # Lahey Fortran 8.1.
9275 lt_prog_compiler_wl
='-Wl,'
9276 lt_prog_compiler_pic
='--shared'
9277 lt_prog_compiler_static
='--static'
9280 # NAG Fortran compiler
9281 lt_prog_compiler_wl
='-Wl,-Wl,,'
9282 lt_prog_compiler_pic
='-PIC'
9283 lt_prog_compiler_static
='-Bstatic'
9285 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9286 # Portland Group compilers (*not* the Pentium gcc compiler,
9287 # which looks to be a dead project)
9288 lt_prog_compiler_wl
='-Wl,'
9289 lt_prog_compiler_pic
='-fpic'
9290 lt_prog_compiler_static
='-Bstatic'
9293 lt_prog_compiler_wl
='-Wl,'
9294 # All Alpha code is PIC.
9295 lt_prog_compiler_static
='-non_shared'
9297 xl
* | bgxl
* | bgf
* | mpixl
*)
9298 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9299 lt_prog_compiler_wl
='-Wl,'
9300 lt_prog_compiler_pic
='-qpic'
9301 lt_prog_compiler_static
='-qstaticlink'
9304 case `$CC -V 2>&1 | sed 5q` in
9305 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9306 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9307 lt_prog_compiler_pic
='-KPIC'
9308 lt_prog_compiler_static
='-Bstatic'
9309 lt_prog_compiler_wl
=''
9311 *Sun\ F
* | *Sun
*Fortran
*)
9312 lt_prog_compiler_pic
='-KPIC'
9313 lt_prog_compiler_static
='-Bstatic'
9314 lt_prog_compiler_wl
='-Qoption ld '
9318 lt_prog_compiler_pic
='-KPIC'
9319 lt_prog_compiler_static
='-Bstatic'
9320 lt_prog_compiler_wl
='-Wl,'
9322 *Intel
*\
[CF
]*Compiler
*)
9323 lt_prog_compiler_wl
='-Wl,'
9324 lt_prog_compiler_pic
='-fPIC'
9325 lt_prog_compiler_static
='-static'
9328 lt_prog_compiler_wl
='-Wl,'
9329 lt_prog_compiler_pic
='-fpic'
9330 lt_prog_compiler_static
='-Bstatic'
9338 lt_prog_compiler_pic
='-KPIC'
9339 lt_prog_compiler_static
='-Bstatic'
9343 # QNX uses GNU C++, but need to define -shared option too, otherwise
9345 lt_prog_compiler_pic
='-fPIC -shared'
9348 osf3
* | osf4
* | osf5
*)
9349 lt_prog_compiler_wl
='-Wl,'
9350 # All OSF/1 code is PIC.
9351 lt_prog_compiler_static
='-non_shared'
9355 lt_prog_compiler_static
='-non_shared'
9359 lt_prog_compiler_pic
='-KPIC'
9360 lt_prog_compiler_static
='-Bstatic'
9361 case $cc_basename in
9362 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9363 lt_prog_compiler_wl
='-Qoption ld ';;
9365 lt_prog_compiler_wl
='-Wl,';;
9370 lt_prog_compiler_wl
='-Qoption ld '
9371 lt_prog_compiler_pic
='-PIC'
9372 lt_prog_compiler_static
='-Bstatic'
9375 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9376 lt_prog_compiler_wl
='-Wl,'
9377 lt_prog_compiler_pic
='-KPIC'
9378 lt_prog_compiler_static
='-Bstatic'
9382 if test -d /usr
/nec
;then
9383 lt_prog_compiler_pic
='-Kconform_pic'
9384 lt_prog_compiler_static
='-Bstatic'
9388 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9389 lt_prog_compiler_wl
='-Wl,'
9390 lt_prog_compiler_pic
='-KPIC'
9391 lt_prog_compiler_static
='-Bstatic'
9395 lt_prog_compiler_wl
='-Wl,'
9396 lt_prog_compiler_can_build_shared
=no
9400 lt_prog_compiler_pic
='-pic'
9401 lt_prog_compiler_static
='-Bstatic'
9405 lt_prog_compiler_can_build_shared
=no
9411 # For platforms which do not support PIC, -DPIC is meaningless:
9413 lt_prog_compiler_pic
=
9416 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9421 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9422 if ${lt_cv_prog_compiler_pic+:} false
; then :
9423 $as_echo_n "(cached) " >&6
9425 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9428 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9429 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9432 # Check to make sure the PIC flag actually works.
9434 if test -n "$lt_prog_compiler_pic"; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9436 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9437 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9438 $as_echo_n "(cached) " >&6
9440 lt_cv_prog_compiler_pic_works
=no
9441 ac_outfile
=conftest.
$ac_objext
9442 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9443 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9444 # Insert the option either (1) after the last *FLAGS variable, or
9445 # (2) before a word containing "conftest.", or (3) at the end.
9446 # Note that $ac_compile itself does not contain backslashes and begins
9447 # with a dollar sign (not a hyphen), so the echo should work correctly.
9448 # The option is referenced via a variable to avoid confusing sed.
9449 lt_compile
=`echo "$ac_compile" | $SED \
9450 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9451 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9452 -e 's:$: $lt_compiler_flag:'`
9453 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9454 (eval "$lt_compile" 2>conftest.err
)
9456 cat conftest.err
>&5
9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458 if (exit $ac_status) && test -s "$ac_outfile"; then
9459 # The compiler can only warn and ignore the option if not recognized
9460 # So say no if there are warnings other than the usual output.
9461 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9462 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9463 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9464 lt_cv_prog_compiler_pic_works
=yes
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9471 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9473 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9474 case $lt_prog_compiler_pic in
9476 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9479 lt_prog_compiler_pic
=
9480 lt_prog_compiler_can_build_shared
=no
9496 # Check to make sure the static flag actually works.
9498 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9500 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9501 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9502 $as_echo_n "(cached) " >&6
9504 lt_cv_prog_compiler_static_works
=no
9505 save_LDFLAGS
="$LDFLAGS"
9506 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9507 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9508 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9509 # The linker can only warn and ignore the option if not recognized
9510 # So say no if there are warnings
9511 if test -s conftest.err
; then
9512 # Append any errors to the config.log.
9513 cat conftest.err
1>&5
9514 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9515 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9516 if diff conftest.exp conftest.er2
>/dev
/null
; then
9517 lt_cv_prog_compiler_static_works
=yes
9520 lt_cv_prog_compiler_static_works
=yes
9524 LDFLAGS
="$save_LDFLAGS"
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9528 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9530 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9533 lt_prog_compiler_static
=
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9543 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9544 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9545 $as_echo_n "(cached) " >&6
9547 lt_cv_prog_compiler_c_o
=no
9548 $RM -r conftest
2>/dev
/null
9552 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9554 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9555 # Insert the option either (1) after the last *FLAGS variable, or
9556 # (2) before a word containing "conftest.", or (3) at the end.
9557 # Note that $ac_compile itself does not contain backslashes and begins
9558 # with a dollar sign (not a hyphen), so the echo should work correctly.
9559 lt_compile
=`echo "$ac_compile" | $SED \
9560 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9561 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9562 -e 's:$: $lt_compiler_flag:'`
9563 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9564 (eval "$lt_compile" 2>out
/conftest.err
)
9566 cat out
/conftest.err
>&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9570 # The compiler can only warn and ignore the option if not recognized
9571 # So say no if there are warnings
9572 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9573 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9574 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9575 lt_cv_prog_compiler_c_o
=yes
9580 # SGI C++ compiler will create directory out/ii_files/ for
9581 # template instantiation
9582 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9583 $RM out
/* && rmdir out
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9590 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9598 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9599 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9600 $as_echo_n "(cached) " >&6
9602 lt_cv_prog_compiler_c_o
=no
9603 $RM -r conftest
2>/dev
/null
9607 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9609 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9610 # Insert the option either (1) after the last *FLAGS variable, or
9611 # (2) before a word containing "conftest.", or (3) at the end.
9612 # Note that $ac_compile itself does not contain backslashes and begins
9613 # with a dollar sign (not a hyphen), so the echo should work correctly.
9614 lt_compile
=`echo "$ac_compile" | $SED \
9615 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9616 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9617 -e 's:$: $lt_compiler_flag:'`
9618 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9619 (eval "$lt_compile" 2>out
/conftest.err
)
9621 cat out
/conftest.err
>&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9625 # The compiler can only warn and ignore the option if not recognized
9626 # So say no if there are warnings
9627 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9628 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9629 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9630 lt_cv_prog_compiler_c_o
=yes
9635 # SGI C++ compiler will create directory out/ii_files/ for
9636 # template instantiation
9637 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9638 $RM out
/* && rmdir out
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9645 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9650 hard_links
="nottested"
9651 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9652 # do not overwrite the value of need_locks provided by the user
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9654 $as_echo_n "checking if we can lock with hard links... " >&6; }
9657 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9659 ln conftest.a conftest.b
2>&5 || hard_links
=no
9660 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9662 $as_echo "$hard_links" >&6; }
9663 if test "$hard_links" = no
; then
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9665 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9678 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9681 allow_undefined_flag
=
9682 always_export_symbols
=no
9684 archive_expsym_cmds
=
9685 compiler_needs_object
=no
9686 enable_shared_with_static_runtimes
=no
9687 export_dynamic_flag_spec
=
9688 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9689 hardcode_automatic
=no
9691 hardcode_direct_absolute
=no
9692 hardcode_libdir_flag_spec
=
9693 hardcode_libdir_separator
=
9695 hardcode_shlibpath_var
=unsupported
9697 link_all_deplibs
=unknown
9700 old_archive_from_new_cmds
=
9701 old_archive_from_expsyms_cmds
=
9702 thread_safe_flag_spec
=
9703 whole_archive_flag_spec
=
9704 # include_expsyms should be a list of space-separated symbols to be *always*
9705 # included in the symbol list
9707 # exclude_expsyms can be an extended regexp of symbols to exclude
9708 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9709 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9710 # as well as any symbol that contains `d'.
9711 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9712 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9713 # platforms (ab)use it in PIC code, but their linkers get confused if
9714 # the symbol is explicitly referenced. Since portable code cannot
9715 # rely on this symbol name, it's probably fine to never include it in
9716 # preloaded symbol tables.
9717 # Exclude shared library initialization/finalization symbols.
9718 extract_expsyms_cmds
=
9721 cygwin
* | mingw
* | pw32
* | cegcc
*)
9722 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9723 # When not using gcc, we currently assume that we are using
9724 # Microsoft Visual C++.
9725 if test "$GCC" != yes; then
9730 # we just hope/assume this is gcc and not c89 (= MSVC++)
9740 # On some targets, GNU ld is compatible enough with the native linker
9741 # that we're better off using the native interface for both.
9742 lt_use_gnu_ld_interface
=no
9743 if test "$with_gnu_ld" = yes; then
9746 # The AIX port of GNU ld has always aspired to compatibility
9747 # with the native linker. However, as the warning in the GNU ld
9748 # block says, versions before 2.19.5* couldn't really create working
9749 # shared libraries, regardless of the interface used.
9750 case `$LD -v 2>&1` in
9751 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9752 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9753 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9755 lt_use_gnu_ld_interface
=yes
9760 lt_use_gnu_ld_interface
=yes
9765 if test "$lt_use_gnu_ld_interface" = yes; then
9766 # If archive_cmds runs LD, not CC, wlarc should be empty
9769 # Set some defaults for GNU ld with shared library support. These
9770 # are reset later if shared libraries are not supported. Putting them
9771 # here allows them to be overridden if necessary.
9772 runpath_var
=LD_RUN_PATH
9773 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9774 export_dynamic_flag_spec
='${wl}--export-dynamic'
9775 # ancient GNU ld didn't support --whole-archive et. al.
9776 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9777 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9779 whole_archive_flag_spec
=
9781 supports_anon_versioning
=no
9782 case `$LD -v 2>&1` in
9783 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9784 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9785 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9786 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9787 *\
2.11.
*) ;; # other 2.11 versions
9788 *) supports_anon_versioning
=yes ;;
9791 # See if GNU ld supports shared libraries.
9794 # On AIX/PPC, the GNU linker is very broken
9795 if test "$host_cpu" != ia64
; then
9799 *** Warning: the GNU linker, at least up to release 2.19, is reported
9800 *** to be unable to reliably create shared libraries on AIX.
9801 *** Therefore, libtool is disabling shared libraries support. If you
9802 *** really care for shared libraries, you may want to install binutils
9803 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9804 *** You will then need to restart the configuration process.
9813 # see comment about AmigaOS4 .so support
9814 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9815 archive_expsym_cmds
=''
9818 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)'
9819 hardcode_libdir_flag_spec
='-L$libdir'
9820 hardcode_minus_L
=yes
9826 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9827 allow_undefined_flag
=unsupported
9828 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9829 # support --undefined. This deserves some investigation. FIXME
9830 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9836 cygwin
* | mingw
* | pw32
* | cegcc
*)
9837 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9838 # as there is no search path for DLLs.
9839 hardcode_libdir_flag_spec
='-L$libdir'
9840 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9841 allow_undefined_flag
=unsupported
9842 always_export_symbols
=no
9843 enable_shared_with_static_runtimes
=yes
9844 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'
9845 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9847 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9848 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9849 # If the export-symbols file already is a .def file (1st line
9850 # is EXPORTS), use it as is; otherwise, prepend...
9851 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9852 cp $export_symbols $output_objdir/$soname.def;
9854 echo EXPORTS > $output_objdir/$soname.def;
9855 cat $export_symbols >> $output_objdir/$soname.def;
9857 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9864 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9865 link_all_deplibs
=yes
9870 hardcode_shlibpath_var
=no
9871 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9872 export_dynamic_flag_spec
='${wl}-E'
9873 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9874 # Instead, shared libraries are loaded at an image base (0x10000000 by
9875 # default) and relocated if they conflict, which is a slow very memory
9876 # consuming and fragmenting process. To avoid this, we pick a random,
9877 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9878 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9879 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9880 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'
9883 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9885 if test "$host_os" = linux
-dietlibc; then
9886 case $cc_basename in
9887 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9890 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9891 && test "$tmp_diet" = no
9893 tmp_addflag
=' $pic_flag'
9894 tmp_sharedflag
='-shared'
9895 case $cc_basename,$host_cpu in
9896 pgcc
*) # Portland Group C compiler
9897 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'
9898 tmp_addflag
=' $pic_flag'
9900 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9901 # Portland Group f77 and f90 compilers
9902 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9903 tmp_addflag
=' $pic_flag -Mnomain' ;;
9904 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9905 tmp_addflag
=' -i_dynamic' ;;
9906 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9907 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9908 ifc
* | ifort
*) # Intel Fortran compiler
9909 tmp_addflag
=' -nofor_main' ;;
9910 lf95
*) # Lahey Fortran 8.1
9911 whole_archive_flag_spec
=
9912 tmp_sharedflag
='--shared' ;;
9913 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9914 tmp_sharedflag
='-qmkshrobj'
9916 nvcc
*) # Cuda Compiler Driver 2.2
9917 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'
9918 compiler_needs_object
=yes
9921 case `$CC -V 2>&1 | sed 5q` in
9922 *Sun\ C
*) # Sun C 5.9
9923 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'
9924 compiler_needs_object
=yes
9925 tmp_sharedflag
='-G' ;;
9926 *Sun\ F
*) # Sun Fortran 8.3
9927 tmp_sharedflag
='-G' ;;
9929 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9931 if test "x$supports_anon_versioning" = xyes
; then
9932 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9933 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9934 echo "local: *; };" >> $output_objdir/$libname.ver~
9935 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9938 case $cc_basename in
9939 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9940 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9941 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9942 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9943 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9944 if test "x$supports_anon_versioning" = xyes
; then
9945 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9946 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9947 echo "local: *; };" >> $output_objdir/$libname.ver~
9948 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9958 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9959 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9962 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9963 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9968 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9972 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9973 *** create shared libraries on Solaris systems. Therefore, libtool
9974 *** is disabling shared libraries support. We urge you to upgrade GNU
9975 *** binutils to release 2.9.1 or newer. Another option is to modify
9976 *** your PATH or compiler configuration so that the native linker is
9977 *** used, and then restart.
9980 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9981 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9982 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9988 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9989 case `$LD -v 2>&1` in
9990 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9994 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9995 *** reliably create shared libraries on SCO systems. Therefore, libtool
9996 *** is disabling shared libraries support. We urge you to upgrade GNU
9997 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9998 *** your PATH or compiler configuration so that the native linker is
9999 *** used, and then restart.
10004 # For security reasons, it is highly recommended that you always
10005 # use absolute paths for naming shared libraries, and exclude the
10006 # DT_RUNPATH tag from executables and libraries. But doing so
10007 # requires that you compile everything twice, which is a pain.
10008 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10009 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10010 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10011 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10020 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10022 hardcode_direct
=yes
10023 hardcode_shlibpath_var
=no
10027 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10028 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10029 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10036 if test "$ld_shlibs" = no
; then
10038 hardcode_libdir_flag_spec
=
10039 export_dynamic_flag_spec
=
10040 whole_archive_flag_spec
=
10043 # PORTME fill in a description of your system's linker (not GNU ld)
10046 allow_undefined_flag
=unsupported
10047 always_export_symbols
=yes
10048 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'
10049 # Note: this linker hardcodes the directories in LIBPATH if there
10050 # are no directories specified by -L.
10051 hardcode_minus_L
=yes
10052 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10053 # Neither direct hardcoding nor static linking is supported with a
10055 hardcode_direct
=unsupported
10060 if test "$host_cpu" = ia64
; then
10061 # On IA64, the linker does run time linking by default, so we don't
10062 # have to do anything special.
10063 aix_use_runtimelinking
=no
10064 exp_sym_flag
='-Bexport'
10067 # If we're using GNU nm, then we don't want the "-C" option.
10068 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10069 # Also, AIX nm treats weak defined symbols like other global
10070 # defined symbols, whereas GNU nm marks them as "W".
10071 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10072 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'
10074 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'
10076 aix_use_runtimelinking
=no
10078 # Test if we are trying to use run time linking or normal
10079 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10080 # need to do runtime linking.
10081 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10082 for ld_flag
in $LDFLAGS; do
10083 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10084 aix_use_runtimelinking
=yes
10091 exp_sym_flag
='-bexport'
10092 no_entry_flag
='-bnoentry'
10095 # When large executables or shared objects are built, AIX ld can
10096 # have problems creating the table of contents. If linking a library
10097 # or program results in "error TOC overflow" add -mminimal-toc to
10098 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10099 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10102 hardcode_direct
=yes
10103 hardcode_direct_absolute
=yes
10104 hardcode_libdir_separator
=':'
10105 link_all_deplibs
=yes
10106 file_list_spec
='${wl}-f,'
10108 if test "$GCC" = yes; then
10109 case $host_os in aix4.
[012]|aix4.
[012].
*)
10110 # We only want to do this on AIX 4.2 and lower, the check
10111 # below for broken collect2 doesn't work under 4.3+
10112 collect2name
=`${CC} -print-prog-name=collect2`
10113 if test -f "$collect2name" &&
10114 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10116 # We have reworked collect2
10119 # We have old collect2
10120 hardcode_direct
=unsupported
10121 # It fails to find uninstalled libraries when the uninstalled
10122 # path is not listed in the libpath. Setting hardcode_minus_L
10123 # to unsupported forces relinking
10124 hardcode_minus_L
=yes
10125 hardcode_libdir_flag_spec
='-L$libdir'
10126 hardcode_libdir_separator
=
10130 shared_flag
='-shared'
10131 if test "$aix_use_runtimelinking" = yes; then
10132 shared_flag
="$shared_flag "'${wl}-G'
10136 if test "$host_cpu" = ia64
; then
10137 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10138 # chokes on -Wl,-G. The following line is correct:
10141 if test "$aix_use_runtimelinking" = yes; then
10142 shared_flag
='${wl}-G'
10144 shared_flag
='${wl}-bM:SRE'
10149 export_dynamic_flag_spec
='${wl}-bexpall'
10150 # It seems that -bexpall does not export symbols beginning with
10151 # underscore (_), so it is better to generate a list of symbols to export.
10152 always_export_symbols
=yes
10153 if test "$aix_use_runtimelinking" = yes; then
10154 # Warning - without using the other runtime loading flags (-brtl),
10155 # -berok will link without error, but may produce a broken library.
10156 allow_undefined_flag
='-berok'
10157 # Determine the default libpath from the value encoded in an
10158 # empty executable.
10159 if test "${lt_cv_aix_libpath+set}" = set; then
10160 aix_libpath
=$lt_cv_aix_libpath
10162 if ${lt_cv_aix_libpath_+:} false
; then :
10163 $as_echo_n "(cached) " >&6
10165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10176 if ac_fn_c_try_link
"$LINENO"; then :
10178 lt_aix_libpath_sed
='
10179 /Import File Strings/,/^$/ {
10181 s/^0 *\([^ ]*\) *$/\1/
10185 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10186 # Check for a 64-bit object if we didn't find anything.
10187 if test -z "$lt_cv_aix_libpath_"; then
10188 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10191 rm -f core conftest.err conftest.
$ac_objext \
10192 conftest
$ac_exeext conftest.
$ac_ext
10193 if test -z "$lt_cv_aix_libpath_"; then
10194 lt_cv_aix_libpath_
="/usr/lib:/lib"
10199 aix_libpath
=$lt_cv_aix_libpath_
10202 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10203 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"
10205 if test "$host_cpu" = ia64
; then
10206 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10207 allow_undefined_flag
="-z nodefs"
10208 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"
10210 # Determine the default libpath from the value encoded in an
10211 # empty executable.
10212 if test "${lt_cv_aix_libpath+set}" = set; then
10213 aix_libpath
=$lt_cv_aix_libpath
10215 if ${lt_cv_aix_libpath_+:} false
; then :
10216 $as_echo_n "(cached) " >&6
10218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10219 /* end confdefs.h. */
10229 if ac_fn_c_try_link
"$LINENO"; then :
10231 lt_aix_libpath_sed
='
10232 /Import File Strings/,/^$/ {
10234 s/^0 *\([^ ]*\) *$/\1/
10238 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10239 # Check for a 64-bit object if we didn't find anything.
10240 if test -z "$lt_cv_aix_libpath_"; then
10241 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10244 rm -f core conftest.err conftest.
$ac_objext \
10245 conftest
$ac_exeext conftest.
$ac_ext
10246 if test -z "$lt_cv_aix_libpath_"; then
10247 lt_cv_aix_libpath_
="/usr/lib:/lib"
10252 aix_libpath
=$lt_cv_aix_libpath_
10255 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10256 # Warning - without using the other run time loading flags,
10257 # -berok will link without error, but may produce a broken library.
10258 no_undefined_flag
=' ${wl}-bernotok'
10259 allow_undefined_flag
=' ${wl}-berok'
10260 if test "$with_gnu_ld" = yes; then
10261 # We only use this code for GNU lds that support --whole-archive.
10262 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10264 # Exported symbols can be pulled into shared objects from archives
10265 whole_archive_flag_spec
='$convenience'
10267 archive_cmds_need_lc
=yes
10268 # This is similar to how AIX traditionally builds its shared libraries.
10269 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'
10277 # see comment about AmigaOS4 .so support
10278 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10279 archive_expsym_cmds
=''
10282 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)'
10283 hardcode_libdir_flag_spec
='-L$libdir'
10284 hardcode_minus_L
=yes
10290 export_dynamic_flag_spec
=-rdynamic
10293 cygwin
* | mingw
* | pw32
* | cegcc
*)
10294 # When not using gcc, we currently assume that we are using
10295 # Microsoft Visual C++.
10296 # hardcode_libdir_flag_spec is actually meaningless, as there is
10297 # no search path for DLLs.
10298 case $cc_basename in
10301 hardcode_libdir_flag_spec
=' '
10302 allow_undefined_flag
=unsupported
10303 always_export_symbols
=yes
10305 # Tell ltmain to make .lib files, not .a files.
10307 # Tell ltmain to make .dll files, not .so files.
10309 # FIXME: Setting linknames here is a bad hack.
10310 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10311 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10312 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10314 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10316 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10318 # The linker will not automatically build a static lib if we build a DLL.
10319 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10320 enable_shared_with_static_runtimes
=yes
10321 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10322 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10324 old_postinstall_cmds
='chmod 644 $oldlib'
10325 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10326 lt_tool_outputfile="@TOOL_OUTPUT@"~
10327 case $lt_outputfile in
10330 lt_outputfile="$lt_outputfile.exe"
10331 lt_tool_outputfile="$lt_tool_outputfile.exe"
10334 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10335 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10336 $RM "$lt_outputfile.manifest";
10340 # Assume MSVC wrapper
10341 hardcode_libdir_flag_spec
=' '
10342 allow_undefined_flag
=unsupported
10343 # Tell ltmain to make .lib files, not .a files.
10345 # Tell ltmain to make .dll files, not .so files.
10347 # FIXME: Setting linknames here is a bad hack.
10348 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10349 # The linker will automatically build a .lib file if we build a DLL.
10350 old_archive_from_new_cmds
='true'
10351 # FIXME: Should let the user specify the lib program.
10352 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10353 enable_shared_with_static_runtimes
=yes
10358 darwin
* | rhapsody
*)
10361 archive_cmds_need_lc
=no
10363 hardcode_automatic
=yes
10364 hardcode_shlibpath_var
=unsupported
10365 if test "$lt_cv_ld_force_load" = "yes"; then
10366 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\"`'
10369 whole_archive_flag_spec
=''
10371 link_all_deplibs
=yes
10372 allow_undefined_flag
="$_lt_dar_allow_undefined"
10373 case $cc_basename in
10374 ifort
*) _lt_dar_can_shared
=yes ;;
10375 *) _lt_dar_can_shared
=$GCC ;;
10377 if test "$_lt_dar_can_shared" = "yes"; then
10378 output_verbose_link_cmd
=func_echo_all
10379 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10380 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10381 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}"
10382 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}"
10391 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10392 hardcode_libdir_flag_spec
='-L$libdir'
10393 hardcode_shlibpath_var
=no
10396 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10397 # support. Future versions do this automatically, but an explicit c++rt0.o
10398 # does not break anything, and helps significantly (at the cost of a little
10401 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10402 hardcode_libdir_flag_spec
='-R$libdir'
10403 hardcode_direct
=yes
10404 hardcode_shlibpath_var
=no
10407 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10409 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10410 hardcode_direct
=yes
10411 hardcode_minus_L
=yes
10412 hardcode_shlibpath_var
=no
10415 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10416 freebsd
* | dragonfly
*)
10417 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10418 hardcode_libdir_flag_spec
='-R$libdir'
10419 hardcode_direct
=yes
10420 hardcode_shlibpath_var
=no
10424 if test "$GCC" = yes; then
10425 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'
10427 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'
10429 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10430 hardcode_libdir_separator
=:
10431 hardcode_direct
=yes
10433 # hardcode_minus_L: Not really in the search PATH,
10434 # but as the default location of the library.
10435 hardcode_minus_L
=yes
10436 export_dynamic_flag_spec
='${wl}-E'
10440 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10441 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10443 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10445 if test "$with_gnu_ld" = no
; then
10446 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10447 hardcode_libdir_separator
=:
10448 hardcode_direct
=yes
10449 hardcode_direct_absolute
=yes
10450 export_dynamic_flag_spec
='${wl}-E'
10451 # hardcode_minus_L: Not really in the search PATH,
10452 # but as the default location of the library.
10453 hardcode_minus_L
=yes
10458 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10461 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10464 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10467 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10473 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10476 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10480 # Older versions of the 11.00 compiler do not understand -b yet
10481 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10483 $as_echo_n "checking if $CC understands -b... " >&6; }
10484 if ${lt_cv_prog_compiler__b+:} false
; then :
10485 $as_echo_n "(cached) " >&6
10487 lt_cv_prog_compiler__b
=no
10488 save_LDFLAGS
="$LDFLAGS"
10489 LDFLAGS
="$LDFLAGS -b"
10490 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10491 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10492 # The linker can only warn and ignore the option if not recognized
10493 # So say no if there are warnings
10494 if test -s conftest.err
; then
10495 # Append any errors to the config.log.
10496 cat conftest.err
1>&5
10497 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10498 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10499 if diff conftest.exp conftest.er2
>/dev
/null
; then
10500 lt_cv_prog_compiler__b
=yes
10503 lt_cv_prog_compiler__b
=yes
10507 LDFLAGS
="$save_LDFLAGS"
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10511 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10513 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10514 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10516 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10522 if test "$with_gnu_ld" = no
; then
10523 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10524 hardcode_libdir_separator
=:
10529 hardcode_shlibpath_var
=no
10532 hardcode_direct
=yes
10533 hardcode_direct_absolute
=yes
10534 export_dynamic_flag_spec
='${wl}-E'
10536 # hardcode_minus_L: Not really in the search PATH,
10537 # but as the default location of the library.
10538 hardcode_minus_L
=yes
10544 irix5
* | irix6
* | nonstopux
*)
10545 if test "$GCC" = yes; then
10546 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'
10547 # Try to use the -exported_symbol ld option, if it does not
10548 # work, assume that -exports_file does not work either and
10549 # implicitly export all symbols.
10550 # This should be the same for all languages, so no per-tag cache variable.
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10552 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10553 if ${lt_cv_irix_exported_symbol+:} false
; then :
10554 $as_echo_n "(cached) " >&6
10556 save_LDFLAGS
="$LDFLAGS"
10557 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10560 int foo (void) { return 0; }
10562 if ac_fn_c_try_link
"$LINENO"; then :
10563 lt_cv_irix_exported_symbol
=yes
10565 lt_cv_irix_exported_symbol
=no
10567 rm -f core conftest.err conftest.
$ac_objext \
10568 conftest
$ac_exeext conftest.
$ac_ext
10569 LDFLAGS
="$save_LDFLAGS"
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10572 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10573 if test "$lt_cv_irix_exported_symbol" = yes; then
10574 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'
10577 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'
10578 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'
10580 archive_cmds_need_lc
='no'
10581 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10582 hardcode_libdir_separator
=:
10584 link_all_deplibs
=yes
10588 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10589 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10591 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10593 hardcode_libdir_flag_spec
='-R$libdir'
10594 hardcode_direct
=yes
10595 hardcode_shlibpath_var
=no
10599 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10600 hardcode_direct
=yes
10601 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10602 hardcode_libdir_separator
=:
10603 hardcode_shlibpath_var
=no
10610 if test -f /usr
/libexec
/ld.so
; then
10611 hardcode_direct
=yes
10612 hardcode_shlibpath_var
=no
10613 hardcode_direct_absolute
=yes
10614 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10615 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10616 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10617 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10618 export_dynamic_flag_spec
='${wl}-E'
10621 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10622 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10623 hardcode_libdir_flag_spec
='-R$libdir'
10626 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10627 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10637 hardcode_libdir_flag_spec
='-L$libdir'
10638 hardcode_minus_L
=yes
10639 allow_undefined_flag
=unsupported
10640 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'
10641 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10645 if test "$GCC" = yes; then
10646 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10647 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'
10649 allow_undefined_flag
=' -expect_unresolved \*'
10650 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'
10652 archive_cmds_need_lc
='no'
10653 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10654 hardcode_libdir_separator
=:
10657 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10658 if test "$GCC" = yes; then
10659 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10660 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'
10661 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10663 allow_undefined_flag
=' -expect_unresolved \*'
10664 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'
10665 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~
10666 $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'
10668 # Both c and cxx compiler support -rpath directly
10669 hardcode_libdir_flag_spec
='-rpath $libdir'
10671 archive_cmds_need_lc
='no'
10672 hardcode_libdir_separator
=:
10676 no_undefined_flag
=' -z defs'
10677 if test "$GCC" = yes; then
10679 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10680 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10681 $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'
10683 case `$CC -V 2>&1` in
10686 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10687 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10688 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10692 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10693 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10694 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10698 hardcode_libdir_flag_spec
='-R$libdir'
10699 hardcode_shlibpath_var
=no
10701 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10703 # The compiler driver will combine and reorder linker options,
10704 # but understands `-z linker_flag'. GCC discards it without `$wl',
10705 # but is careful enough not to reorder.
10706 # Supported since Solaris 2.6 (maybe 2.5.1?)
10707 if test "$GCC" = yes; then
10708 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10710 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10714 link_all_deplibs
=yes
10718 if test "x$host_vendor" = xsequent
; then
10719 # Use $CC to link under sequent, because it throws in some extra .o
10720 # files that make .init and .fini sections work.
10721 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10723 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10725 hardcode_libdir_flag_spec
='-L$libdir'
10726 hardcode_direct
=yes
10727 hardcode_minus_L
=yes
10728 hardcode_shlibpath_var
=no
10732 case $host_vendor in
10734 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10735 hardcode_direct
=yes # is this really true???
10738 ## LD is ld it makes a PLAMLIB
10739 ## CC just makes a GrossModule.
10740 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10741 reload_cmds
='$CC -r -o $output$reload_objs'
10745 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10746 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10749 runpath_var
='LD_RUN_PATH'
10750 hardcode_shlibpath_var
=no
10754 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10755 hardcode_shlibpath_var
=no
10756 export_dynamic_flag_spec
='-Bexport'
10760 if test -d /usr
/nec
; then
10761 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10762 hardcode_shlibpath_var
=no
10763 runpath_var
=LD_RUN_PATH
10764 hardcode_runpath_var
=yes
10769 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10770 no_undefined_flag
='${wl}-z,text'
10771 archive_cmds_need_lc
=no
10772 hardcode_shlibpath_var
=no
10773 runpath_var
='LD_RUN_PATH'
10775 if test "$GCC" = yes; then
10776 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10777 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10780 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10784 sysv5
* | sco3.2v5
* | sco5v6
*)
10785 # Note: We can NOT use -z defs as we might desire, because we do not
10786 # link with -lc, and that would cause any symbols used from libc to
10787 # always be unresolved, which means just about no library would
10788 # ever link correctly. If we're not using GNU ld we use -z text
10789 # though, which does catch some bad symbols but isn't as heavy-handed
10791 no_undefined_flag
='${wl}-z,text'
10792 allow_undefined_flag
='${wl}-z,nodefs'
10793 archive_cmds_need_lc
=no
10794 hardcode_shlibpath_var
=no
10795 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10796 hardcode_libdir_separator
=':'
10797 link_all_deplibs
=yes
10798 export_dynamic_flag_spec
='${wl}-Bexport'
10799 runpath_var
='LD_RUN_PATH'
10801 if test "$GCC" = yes; then
10802 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10803 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10805 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10806 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10811 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10812 hardcode_libdir_flag_spec
='-L$libdir'
10813 hardcode_shlibpath_var
=no
10821 if test x
$host_vendor = xsni
; then
10823 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10824 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10831 $as_echo "$ld_shlibs" >&6; }
10832 test "$ld_shlibs" = no
&& can_build_shared
=no
10834 with_gnu_ld
=$with_gnu_ld
10851 # Do we need to explicitly link libc?
10853 case "x$archive_cmds_need_lc" in
10855 # Assume -lc should be added
10856 archive_cmds_need_lc
=yes
10858 if test "$enable_shared" = yes && test "$GCC" = yes; then
10859 case $archive_cmds in
10861 # FIXME: we may have to deal with multi-command sequences.
10864 # Test whether the compiler implicitly links with -lc since on some
10865 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10866 # to ld, don't add -lc before -lgcc.
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10868 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10869 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10870 $as_echo_n "(cached) " >&6
10873 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10875 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10876 (eval $ac_compile) 2>&5
10878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10879 test $ac_status = 0; } 2>conftest.err
; then
10882 libobjs
=conftest.
$ac_objext
10884 wl
=$lt_prog_compiler_wl
10885 pic_flag
=$lt_prog_compiler_pic
10891 lt_save_allow_undefined_flag
=$allow_undefined_flag
10892 allow_undefined_flag
=
10893 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10894 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10897 test $ac_status = 0; }
10899 lt_cv_archive_cmds_need_lc
=no
10901 lt_cv_archive_cmds_need_lc
=yes
10903 allow_undefined_flag
=$lt_save_allow_undefined_flag
10905 cat conftest.err
1>&5
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10911 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10912 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11071 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11073 if test "$GCC" = yes; then
11075 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11076 *) lt_awk_arg
="/^libraries:/" ;;
11079 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11080 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11082 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11083 case $lt_search_path_spec in
11085 # if the path contains ";" then we assume it to be the separator
11086 # otherwise default to the standard path separator (i.e. ":") - it is
11087 # assumed that no part of a normal pathname contains ";" but that should
11088 # okay in the real world where ";" in dirpaths is itself problematic.
11089 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11092 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11095 # Ok, now we have the path, separated by spaces, we can step through it
11096 # and add multilib dir if necessary.
11097 lt_tmp_lt_search_path_spec
=
11098 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11099 for lt_sys_path
in $lt_search_path_spec; do
11100 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11101 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11103 test -d "$lt_sys_path" && \
11104 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11107 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11108 BEGIN {RS=" "; FS="/|\n";} {
11111 for (lt_i = NF; lt_i > 0; lt_i--) {
11112 if ($lt_i != "" && $lt_i != ".") {
11113 if ($lt_i == "..") {
11116 if (lt_count == 0) {
11117 lt_foo="/" $lt_i lt_foo;
11124 if (lt_foo != "") { lt_freq[lt_foo]++; }
11125 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11127 # AWK program above erroneously prepends '/' to C:/dos/paths
11130 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11131 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11133 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11135 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11137 library_names_spec
=
11138 libname_spec
='lib$name'
11142 postuninstall_cmds
=
11146 shlibpath_overrides_runpath
=unknown
11148 dynamic_linker
="$host_os ld.so"
11149 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11150 need_lib_prefix
=unknown
11151 hardcode_into_libs
=no
11153 # when you set need_version to no, make sure it does not cause -set_version
11154 # flags to be left without arguments
11155 need_version
=unknown
11159 version_type
=linux
# correct to gnu/linux during the next big refactor
11160 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11161 shlibpath_var
=LIBPATH
11163 # AIX 3 has no versioning support, so we append a major version to the name.
11164 soname_spec
='${libname}${release}${shared_ext}$major'
11168 version_type
=linux
# correct to gnu/linux during the next big refactor
11171 hardcode_into_libs
=yes
11172 if test "$host_cpu" = ia64
; then
11173 # AIX 5 supports IA64
11174 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11175 shlibpath_var
=LD_LIBRARY_PATH
11177 # With GCC up to 2.95.x, collect2 would create an import file
11178 # for dependence libraries. The import file would start with
11179 # the line `#! .'. This would cause the generated library to
11180 # depend on `.', always an invalid library. This was fixed in
11181 # development snapshots of GCC prior to 3.0.
11183 aix4
| aix4.
[01] | aix4.
[01].
*)
11184 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11186 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11189 can_build_shared
=no
11193 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11194 # soname into executable. Probably we can add versioning support to
11195 # collect2, so additional links can be useful in future.
11196 if test "$aix_use_runtimelinking" = yes; then
11197 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11198 # instead of lib<name>.a to let people know that these are not
11199 # typical AIX shared libraries.
11200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11202 # We preserve .a as extension for shared libraries through AIX4.2
11203 # and later when we are not doing run time linking.
11204 library_names_spec
='${libname}${release}.a $libname.a'
11205 soname_spec
='${libname}${release}${shared_ext}$major'
11207 shlibpath_var
=LIBPATH
11214 # Since July 2007 AmigaOS4 officially supports .so libraries.
11215 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11219 library_names_spec
='$libname.ixlibrary $libname.a'
11220 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11221 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'
11227 library_names_spec
='${libname}${shared_ext}'
11228 dynamic_linker
="$host_os ld.so"
11229 shlibpath_var
=LIBRARY_PATH
11233 version_type
=linux
# correct to gnu/linux during the next big refactor
11235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11236 soname_spec
='${libname}${release}${shared_ext}$major'
11237 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11238 shlibpath_var
=LD_LIBRARY_PATH
11239 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11240 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11241 # the default ld.so.conf also contains /usr/contrib/lib and
11242 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11243 # libtool to hard-code these into programs
11246 cygwin
* | mingw
* | pw32
* | cegcc
*)
11247 version_type
=windows
11252 case $GCC,$cc_basename in
11255 library_names_spec
='$libname.dll.a'
11256 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11257 postinstall_cmds
='base_file=`basename \${file}`~
11258 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11259 dldir=$destdir/`dirname \$dlpath`~
11260 test -d \$dldir || mkdir -p \$dldir~
11261 $install_prog $dir/$dlname \$dldir/$dlname~
11262 chmod a+x \$dldir/$dlname~
11263 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11264 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11266 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11267 dlpath=$dir/\$dldll~
11269 shlibpath_overrides_runpath
=yes
11273 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11274 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11276 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11279 # MinGW DLLs use traditional 'lib' prefix
11280 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11283 # pw32 DLLs use 'pw' prefix rather than 'lib'
11284 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11287 dynamic_linker
='Win32 ld.exe'
11292 libname_spec
='$name'
11293 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11294 library_names_spec
='${libname}.dll.lib'
11298 sys_lib_search_path_spec
=
11301 for lt_path
in $LIB
11304 # Let DOS variable expansion print the short 8.3 style file name.
11305 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11306 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11309 # Convert to MSYS style.
11310 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11313 # Convert to unix form, then to dos form, then back to unix form
11314 # but this time dos style (no spaces!) so that the unix form looks
11315 # like /cygdrive/c/PROGRA~1:/cygdr...
11316 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11317 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11318 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11321 sys_lib_search_path_spec
="$LIB"
11322 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11323 # It is most probably a Windows format PATH.
11324 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11326 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11328 # FIXME: find the short name or the path components, as spaces are
11329 # common. (e.g. "Program Files" -> "PROGRA~1")
11333 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11334 postinstall_cmds
='base_file=`basename \${file}`~
11335 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11336 dldir=$destdir/`dirname \$dlpath`~
11337 test -d \$dldir || mkdir -p \$dldir~
11338 $install_prog $dir/$dlname \$dldir/$dlname'
11339 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11340 dlpath=$dir/\$dldll~
11342 shlibpath_overrides_runpath
=yes
11343 dynamic_linker
='Win32 link.exe'
11347 # Assume MSVC wrapper
11348 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11349 dynamic_linker
='Win32 ld.exe'
11352 # FIXME: first we should search . and the directory the executable is in
11356 darwin
* | rhapsody
*)
11357 dynamic_linker
="$host_os dyld"
11358 version_type
=darwin
11361 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11362 soname_spec
='${libname}${release}${major}$shared_ext'
11363 shlibpath_overrides_runpath
=yes
11364 shlibpath_var
=DYLD_LIBRARY_PATH
11365 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11367 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11368 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11372 version_type
=linux
# correct to gnu/linux during the next big refactor
11375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11376 soname_spec
='${libname}${release}${shared_ext}$major'
11377 shlibpath_var
=LD_LIBRARY_PATH
11380 freebsd
* | dragonfly
*)
11381 # DragonFly does not have aout. When/if they implement a new
11382 # versioning mechanism, adjust this.
11383 if test -x /usr
/bin
/objformat
; then
11384 objformat
=`/usr/bin/objformat`
11387 freebsd
[23].
*) objformat
=aout
;;
11388 *) objformat
=elf
;;
11391 version_type
=freebsd
-$objformat
11392 case $version_type in
11394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11399 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11403 shlibpath_var
=LD_LIBRARY_PATH
11406 shlibpath_overrides_runpath
=yes
11408 freebsd3.
[01]* | freebsdelf3.
[01]*)
11409 shlibpath_overrides_runpath
=yes
11410 hardcode_into_libs
=yes
11412 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11413 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11414 shlibpath_overrides_runpath
=no
11415 hardcode_into_libs
=yes
11417 *) # from 4.6 on, and DragonFly
11418 shlibpath_overrides_runpath
=yes
11419 hardcode_into_libs
=yes
11425 version_type
=linux
# correct to gnu/linux during the next big refactor
11428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11429 soname_spec
='${libname}${release}${shared_ext}$major'
11430 shlibpath_var
=LD_LIBRARY_PATH
11431 shlibpath_overrides_runpath
=no
11432 hardcode_into_libs
=yes
11436 version_type
=linux
# correct to gnu/linux during the next big refactor
11439 dynamic_linker
="$host_os runtime_loader"
11440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11441 soname_spec
='${libname}${release}${shared_ext}$major'
11442 shlibpath_var
=LIBRARY_PATH
11443 shlibpath_overrides_runpath
=yes
11444 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11445 hardcode_into_libs
=yes
11448 hpux9
* | hpux10
* | hpux11
*)
11449 # Give a soname corresponding to the major version so that dld.sl refuses to
11450 # link against other versions.
11457 hardcode_into_libs
=yes
11458 dynamic_linker
="$host_os dld.so"
11459 shlibpath_var
=LD_LIBRARY_PATH
11460 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11462 soname_spec
='${libname}${release}${shared_ext}$major'
11463 if test "X$HPUX_IA64_MODE" = X32
; then
11464 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11466 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11468 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11472 hardcode_into_libs
=yes
11473 dynamic_linker
="$host_os dld.sl"
11474 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11475 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477 soname_spec
='${libname}${release}${shared_ext}$major'
11478 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11479 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11483 dynamic_linker
="$host_os dld.sl"
11484 shlibpath_var
=SHLIB_PATH
11485 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11487 soname_spec
='${libname}${release}${shared_ext}$major'
11490 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11491 postinstall_cmds
='chmod 555 $lib'
11492 # or fails outright, so override atomically:
11493 install_override_mode
=555
11497 version_type
=linux
# correct to gnu/linux during the next big refactor
11500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11501 soname_spec
='${libname}${release}${shared_ext}$major'
11502 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11503 shlibpath_var
=LD_LIBRARY_PATH
11504 shlibpath_overrides_runpath
=no
11505 hardcode_into_libs
=yes
11508 irix5
* | irix6
* | nonstopux
*)
11510 nonstopux
*) version_type
=nonstopux
;;
11512 if test "$lt_cv_prog_gnu_ld" = yes; then
11513 version_type
=linux
# correct to gnu/linux during the next big refactor
11520 soname_spec
='${libname}${release}${shared_ext}$major'
11521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11523 irix5
* | nonstopux
*)
11524 libsuff
= shlibsuff
=
11527 case $LD in # libtool.m4 will add one of these switches to LD
11528 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11529 libsuff
= shlibsuff
= libmagic
=32-bit;;
11530 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11531 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11532 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11533 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11534 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11538 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11539 shlibpath_overrides_runpath
=no
11540 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11541 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11542 hardcode_into_libs
=yes
11545 # No shared lib support for Linux oldld, aout, or coff.
11546 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11550 # This must be glibc/ELF.
11551 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11552 version_type
=linux
# correct to gnu/linux during the next big refactor
11555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11556 soname_spec
='${libname}${release}${shared_ext}$major'
11557 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11558 shlibpath_var
=LD_LIBRARY_PATH
11559 shlibpath_overrides_runpath
=no
11561 # Some binutils ld are patched to set DT_RUNPATH
11562 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11563 $as_echo_n "(cached) " >&6
11565 lt_cv_shlibpath_overrides_runpath
=no
11566 save_LDFLAGS
=$LDFLAGS
11567 save_libdir
=$libdir
11568 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11569 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11581 if ac_fn_c_try_link
"$LINENO"; then :
11582 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11583 lt_cv_shlibpath_overrides_runpath
=yes
11586 rm -f core conftest.err conftest.
$ac_objext \
11587 conftest
$ac_exeext conftest.
$ac_ext
11588 LDFLAGS
=$save_LDFLAGS
11589 libdir
=$save_libdir
11593 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11595 # This implies no fast_install, which is unacceptable.
11596 # Some rework will be needed to allow for fast_install
11597 # before this can be enabled.
11598 hardcode_into_libs
=yes
11600 # Append ld.so.conf contents to the search path
11601 if test -f /etc
/ld.so.conf
; then
11602 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' ' '`
11603 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11606 # We used to test for /lib/ld.so.1 and disable shared libraries on
11607 # powerpc, because MkLinux only supported shared libraries with the
11608 # GNU dynamic linker. Since this was broken with cross compilers,
11609 # most powerpc-linux boxes support dynamic linking these days and
11610 # people can always --disable-shared, the test was removed, and we
11611 # assume the GNU/Linux dynamic linker is in use.
11612 dynamic_linker
='GNU/Linux ld.so'
11619 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11621 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11622 dynamic_linker
='NetBSD (a.out) ld.so'
11624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11625 soname_spec
='${libname}${release}${shared_ext}$major'
11626 dynamic_linker
='NetBSD ld.elf_so'
11628 shlibpath_var
=LD_LIBRARY_PATH
11629 shlibpath_overrides_runpath
=yes
11630 hardcode_into_libs
=yes
11634 version_type
=linux
# correct to gnu/linux during the next big refactor
11635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11636 shlibpath_var
=LD_LIBRARY_PATH
11637 shlibpath_overrides_runpath
=yes
11644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11645 soname_spec
='${libname}${release}${shared_ext}$major'
11646 shlibpath_var
=LD_LIBRARY_PATH
11647 shlibpath_overrides_runpath
=no
11648 hardcode_into_libs
=yes
11649 dynamic_linker
='ldqnx.so'
11654 sys_lib_dlsearch_path_spec
="/usr/lib"
11656 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11658 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11659 *) need_version
=no
;;
11661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11662 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11663 shlibpath_var
=LD_LIBRARY_PATH
11664 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11666 openbsd2.
[89] | openbsd2.
[89].
*)
11667 shlibpath_overrides_runpath
=no
11670 shlibpath_overrides_runpath
=yes
11674 shlibpath_overrides_runpath
=yes
11679 libname_spec
='$name'
11682 library_names_spec
='$libname${shared_ext} $libname.a'
11683 dynamic_linker
='OS/2 ld.exe'
11684 shlibpath_var
=LIBPATH
11687 osf3
* | osf4
* | osf5
*)
11691 soname_spec
='${libname}${release}${shared_ext}$major'
11692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11693 shlibpath_var
=LD_LIBRARY_PATH
11694 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11695 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11703 version_type
=linux
# correct to gnu/linux during the next big refactor
11706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11707 soname_spec
='${libname}${release}${shared_ext}$major'
11708 shlibpath_var
=LD_LIBRARY_PATH
11709 shlibpath_overrides_runpath
=yes
11710 hardcode_into_libs
=yes
11711 # ldd complains unless libraries are executable
11712 postinstall_cmds
='chmod +x $lib'
11717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11718 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11719 shlibpath_var
=LD_LIBRARY_PATH
11720 shlibpath_overrides_runpath
=yes
11721 if test "$with_gnu_ld" = yes; then
11728 version_type
=linux
# correct to gnu/linux during the next big refactor
11729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11730 soname_spec
='${libname}${release}${shared_ext}$major'
11731 shlibpath_var
=LD_LIBRARY_PATH
11732 case $host_vendor in
11734 shlibpath_overrides_runpath
=no
11736 runpath_var
=LD_RUN_PATH
11744 shlibpath_overrides_runpath
=no
11745 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11751 if test -d /usr
/nec
;then
11752 version_type
=linux
# correct to gnu/linux during the next big refactor
11753 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11754 soname_spec
='$libname${shared_ext}.$major'
11755 shlibpath_var
=LD_LIBRARY_PATH
11759 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11760 version_type
=freebsd
-elf
11763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11764 soname_spec
='${libname}${release}${shared_ext}$major'
11765 shlibpath_var
=LD_LIBRARY_PATH
11766 shlibpath_overrides_runpath
=yes
11767 hardcode_into_libs
=yes
11768 if test "$with_gnu_ld" = yes; then
11769 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11771 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11774 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11778 sys_lib_dlsearch_path_spec
='/usr/lib'
11782 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11783 version_type
=linux
# correct to gnu/linux during the next big refactor
11786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11787 shlibpath_var
=LD_LIBRARY_PATH
11788 shlibpath_overrides_runpath
=no
11789 hardcode_into_libs
=yes
11793 version_type
=linux
# correct to gnu/linux during the next big refactor
11794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795 soname_spec
='${libname}${release}${shared_ext}$major'
11796 shlibpath_var
=LD_LIBRARY_PATH
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11804 $as_echo "$dynamic_linker" >&6; }
11805 test "$dynamic_linker" = no
&& can_build_shared
=no
11807 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11808 if test "$GCC" = yes; then
11809 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11812 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11813 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11815 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11816 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11911 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11913 if test -n "$hardcode_libdir_flag_spec" ||
11914 test -n "$runpath_var" ||
11915 test "X$hardcode_automatic" = "Xyes" ; then
11917 # We can hardcode non-existent directories.
11918 if test "$hardcode_direct" != no
&&
11919 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11920 # have to relink, otherwise we might link with an installed library
11921 # when we should be linking with a yet-to-be-installed one
11922 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11923 test "$hardcode_minus_L" != no
; then
11924 # Linking always hardcodes the temporary library directory.
11925 hardcode_action
=relink
11927 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11928 hardcode_action
=immediate
11931 # We cannot hardcode anything, or else we can only hardcode existing
11933 hardcode_action
=unsupported
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11936 $as_echo "$hardcode_action" >&6; }
11938 if test "$hardcode_action" = relink
||
11939 test "$inherit_rpath" = yes; then
11940 # Fast installation is not supported
11941 enable_fast_install
=no
11942 elif test "$shlibpath_overrides_runpath" = yes ||
11943 test "$enable_shared" = no
; then
11944 # Fast installation is not necessary
11945 enable_fast_install
=needless
11953 if test "x$enable_dlopen" != xyes
; then
11954 enable_dlopen
=unknown
11955 enable_dlopen_self
=unknown
11956 enable_dlopen_self_static
=unknown
11963 lt_cv_dlopen
="load_add_on"
11965 lt_cv_dlopen_self
=yes
11968 mingw
* | pw32
* | cegcc
*)
11969 lt_cv_dlopen
="LoadLibrary"
11974 lt_cv_dlopen
="dlopen"
11979 # if libdl is installed we need to link against it
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11981 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11982 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11983 $as_echo_n "(cached) " >&6
11985 ac_check_lib_save_LIBS
=$LIBS
11987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11990 /* Override any GCC internal prototype to avoid an error.
11991 Use char because int might match the return type of a GCC
11992 builtin and then its argument prototype would still apply. */
12005 if ac_fn_c_try_link
"$LINENO"; then :
12006 ac_cv_lib_dl_dlopen
=yes
12008 ac_cv_lib_dl_dlopen
=no
12010 rm -f core conftest.err conftest.
$ac_objext \
12011 conftest
$ac_exeext conftest.
$ac_ext
12012 LIBS
=$ac_check_lib_save_LIBS
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12015 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12016 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12017 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12020 lt_cv_dlopen
="dyld"
12022 lt_cv_dlopen_self
=yes
12029 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12030 if test "x$ac_cv_func_shl_load" = xyes
; then :
12031 lt_cv_dlopen
="shl_load"
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12034 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12035 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12036 $as_echo_n "(cached) " >&6
12038 ac_check_lib_save_LIBS
=$LIBS
12040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12043 /* Override any GCC internal prototype to avoid an error.
12044 Use char because int might match the return type of a GCC
12045 builtin and then its argument prototype would still apply. */
12053 return shl_load ();
12058 if ac_fn_c_try_link
"$LINENO"; then :
12059 ac_cv_lib_dld_shl_load
=yes
12061 ac_cv_lib_dld_shl_load
=no
12063 rm -f core conftest.err conftest.
$ac_objext \
12064 conftest
$ac_exeext conftest.
$ac_ext
12065 LIBS
=$ac_check_lib_save_LIBS
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12068 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12069 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12070 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12072 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12073 if test "x$ac_cv_func_dlopen" = xyes
; then :
12074 lt_cv_dlopen
="dlopen"
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12077 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12078 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12079 $as_echo_n "(cached) " >&6
12081 ac_check_lib_save_LIBS
=$LIBS
12083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12101 if ac_fn_c_try_link
"$LINENO"; then :
12102 ac_cv_lib_dl_dlopen
=yes
12104 ac_cv_lib_dl_dlopen
=no
12106 rm -f core conftest.err conftest.
$ac_objext \
12107 conftest
$ac_exeext conftest.
$ac_ext
12108 LIBS
=$ac_check_lib_save_LIBS
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12111 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12112 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12113 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12116 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12117 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12118 $as_echo_n "(cached) " >&6
12120 ac_check_lib_save_LIBS
=$LIBS
12121 LIBS
="-lsvld $LIBS"
12122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12140 if ac_fn_c_try_link
"$LINENO"; then :
12141 ac_cv_lib_svld_dlopen
=yes
12143 ac_cv_lib_svld_dlopen
=no
12145 rm -f core conftest.err conftest.
$ac_objext \
12146 conftest
$ac_exeext conftest.
$ac_ext
12147 LIBS
=$ac_check_lib_save_LIBS
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12150 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12151 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12152 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12155 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12156 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12157 $as_echo_n "(cached) " >&6
12159 ac_check_lib_save_LIBS
=$LIBS
12161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 /* Override any GCC internal prototype to avoid an error.
12165 Use char because int might match the return type of a GCC
12166 builtin and then its argument prototype would still apply. */
12174 return dld_link ();
12179 if ac_fn_c_try_link
"$LINENO"; then :
12180 ac_cv_lib_dld_dld_link
=yes
12182 ac_cv_lib_dld_dld_link
=no
12184 rm -f core conftest.err conftest.
$ac_objext \
12185 conftest
$ac_exeext conftest.
$ac_ext
12186 LIBS
=$ac_check_lib_save_LIBS
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12189 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12190 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12191 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12212 if test "x$lt_cv_dlopen" != xno
; then
12218 case $lt_cv_dlopen in
12220 save_CPPFLAGS
="$CPPFLAGS"
12221 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12223 save_LDFLAGS
="$LDFLAGS"
12224 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12227 LIBS
="$lt_cv_dlopen_libs $LIBS"
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12230 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12231 if ${lt_cv_dlopen_self+:} false
; then :
12232 $as_echo_n "(cached) " >&6
12234 if test "$cross_compiling" = yes; then :
12235 lt_cv_dlopen_self
=cross
12237 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12238 lt_status
=$lt_dlunknown
12239 cat > conftest.
$ac_ext <<_LT_EOF
12240 #line $LINENO "configure"
12241 #include "confdefs.h"
12250 # define LT_DLGLOBAL RTLD_GLOBAL
12253 # define LT_DLGLOBAL DL_GLOBAL
12255 # define LT_DLGLOBAL 0
12259 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12260 find out it does not work in some platform. */
12261 #ifndef LT_DLLAZY_OR_NOW
12263 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12266 # define LT_DLLAZY_OR_NOW DL_LAZY
12269 # define LT_DLLAZY_OR_NOW RTLD_NOW
12272 # define LT_DLLAZY_OR_NOW DL_NOW
12274 # define LT_DLLAZY_OR_NOW 0
12281 /* When -fvisbility=hidden is used, assume the code has been annotated
12282 correspondingly for the symbols needed. */
12283 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12284 int fnord () __attribute__((visibility("default")));
12287 int fnord () { return 42; }
12290 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12291 int status = $lt_dlunknown;
12295 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12298 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12299 else puts (dlerror ());
12301 /* dlclose (self); */
12309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12310 (eval $ac_link) 2>&5
12312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12313 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12314 (.
/conftest
; exit; ) >&5 2>/dev
/null
12316 case x
$lt_status in
12317 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12318 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12319 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12322 # compilation failed
12323 lt_cv_dlopen_self
=no
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12331 $as_echo "$lt_cv_dlopen_self" >&6; }
12333 if test "x$lt_cv_dlopen_self" = xyes
; then
12334 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12336 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12337 if ${lt_cv_dlopen_self_static+:} false
; then :
12338 $as_echo_n "(cached) " >&6
12340 if test "$cross_compiling" = yes; then :
12341 lt_cv_dlopen_self_static
=cross
12343 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12344 lt_status
=$lt_dlunknown
12345 cat > conftest.
$ac_ext <<_LT_EOF
12346 #line $LINENO "configure"
12347 #include "confdefs.h"
12356 # define LT_DLGLOBAL RTLD_GLOBAL
12359 # define LT_DLGLOBAL DL_GLOBAL
12361 # define LT_DLGLOBAL 0
12365 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12366 find out it does not work in some platform. */
12367 #ifndef LT_DLLAZY_OR_NOW
12369 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12372 # define LT_DLLAZY_OR_NOW DL_LAZY
12375 # define LT_DLLAZY_OR_NOW RTLD_NOW
12378 # define LT_DLLAZY_OR_NOW DL_NOW
12380 # define LT_DLLAZY_OR_NOW 0
12387 /* When -fvisbility=hidden is used, assume the code has been annotated
12388 correspondingly for the symbols needed. */
12389 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12390 int fnord () __attribute__((visibility("default")));
12393 int fnord () { return 42; }
12396 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12397 int status = $lt_dlunknown;
12401 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12404 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12405 else puts (dlerror ());
12407 /* dlclose (self); */
12415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12416 (eval $ac_link) 2>&5
12418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12419 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12420 (.
/conftest
; exit; ) >&5 2>/dev
/null
12422 case x
$lt_status in
12423 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12424 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12425 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12428 # compilation failed
12429 lt_cv_dlopen_self_static
=no
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12437 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12440 CPPFLAGS
="$save_CPPFLAGS"
12441 LDFLAGS
="$save_LDFLAGS"
12446 case $lt_cv_dlopen_self in
12447 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12448 *) enable_dlopen_self
=unknown
;;
12451 case $lt_cv_dlopen_self_static in
12452 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12453 *) enable_dlopen_self_static
=unknown
;;
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12476 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12477 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12478 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12479 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12481 $as_echo "yes" >&6; }
12483 # FIXME - insert some real tests, host_os isn't really good enough
12486 if test -n "$STRIP" ; then
12487 striplib
="$STRIP -x"
12488 old_striplib
="$STRIP -S"
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12490 $as_echo "yes" >&6; }
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493 $as_echo "no" >&6; }
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12498 $as_echo "no" >&6; }
12514 # Report which library types will actually be built
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12516 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12518 $as_echo "$can_build_shared" >&6; }
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12521 $as_echo_n "checking whether to build shared libraries... " >&6; }
12522 test "$can_build_shared" = "no" && enable_shared
=no
12524 # On AIX, shared libraries and static libraries use the same namespace, and
12525 # are all built from PIC.
12528 test "$enable_shared" = yes && enable_static
=no
12529 if test -n "$RANLIB"; then
12530 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12531 postinstall_cmds
='$RANLIB $lib'
12536 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12537 test "$enable_shared" = yes && enable_static
=no
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12542 $as_echo "$enable_shared" >&6; }
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12545 $as_echo_n "checking whether to build static libraries... " >&6; }
12546 # Make sure either enable_shared or enable_static is yes.
12547 test "$enable_shared" = yes || enable_static
=yes
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12549 $as_echo "$enable_static" >&6; }
12556 ac_cpp
='$CPP $CPPFLAGS'
12557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12563 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12564 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12565 (test "X$CXX" != "Xg++"))) ; then
12567 ac_cpp
='$CXXCPP $CPPFLAGS'
12568 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12569 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12570 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12572 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12573 if test -z "$CXXCPP"; then
12574 if ${ac_cv_prog_CXXCPP+:} false
; then :
12575 $as_echo_n "(cached) " >&6
12577 # Double quotes because CXXCPP needs to be expanded
12578 for CXXCPP
in "$CXX -E" "/lib/cpp"
12580 ac_preproc_ok
=false
12581 for ac_cxx_preproc_warn_flag
in '' yes
12583 # Use a header file that comes with gcc, so configuring glibc
12584 # with a fresh cross-compiler works.
12585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12586 # <limits.h> exists even on freestanding compilers.
12587 # On the NeXT, cc -E runs the code through the compiler's parser,
12588 # not just through cpp. "Syntax error" is here to catch this case.
12589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12592 # include <limits.h>
12594 # include <assert.h>
12598 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12601 # Broken: fails on valid input.
12604 rm -f conftest.err conftest.i conftest.
$ac_ext
12606 # OK, works on sane cases. Now check whether nonexistent headers
12607 # can be detected and how.
12608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12610 #include <ac_nonexistent.h>
12612 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12613 # Broken: success on invalid input.
12616 # Passes both tests.
12620 rm -f conftest.err conftest.i conftest.
$ac_ext
12623 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12624 rm -f conftest.i conftest.err conftest.
$ac_ext
12625 if $ac_preproc_ok; then :
12630 ac_cv_prog_CXXCPP
=$CXXCPP
12633 CXXCPP
=$ac_cv_prog_CXXCPP
12635 ac_cv_prog_CXXCPP
=$CXXCPP
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12638 $as_echo "$CXXCPP" >&6; }
12639 ac_preproc_ok
=false
12640 for ac_cxx_preproc_warn_flag
in '' yes
12642 # Use a header file that comes with gcc, so configuring glibc
12643 # with a fresh cross-compiler works.
12644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12645 # <limits.h> exists even on freestanding compilers.
12646 # On the NeXT, cc -E runs the code through the compiler's parser,
12647 # not just through cpp. "Syntax error" is here to catch this case.
12648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12651 # include <limits.h>
12653 # include <assert.h>
12657 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12660 # Broken: fails on valid input.
12663 rm -f conftest.err conftest.i conftest.
$ac_ext
12665 # OK, works on sane cases. Now check whether nonexistent headers
12666 # can be detected and how.
12667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12669 #include <ac_nonexistent.h>
12671 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12672 # Broken: success on invalid input.
12675 # Passes both tests.
12679 rm -f conftest.err conftest.i conftest.
$ac_ext
12682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12683 rm -f conftest.i conftest.err conftest.
$ac_ext
12684 if $ac_preproc_ok; then :
12687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12689 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12690 See \`config.log' for more details" "$LINENO" 5; }
12694 ac_cpp
='$CPP $CPPFLAGS'
12695 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12696 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12697 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12700 _lt_caught_CXX_error
=yes
12704 ac_cpp
='$CXXCPP $CPPFLAGS'
12705 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12706 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12707 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12709 archive_cmds_need_lc_CXX
=no
12710 allow_undefined_flag_CXX
=
12711 always_export_symbols_CXX
=no
12712 archive_expsym_cmds_CXX
=
12713 compiler_needs_object_CXX
=no
12714 export_dynamic_flag_spec_CXX
=
12715 hardcode_direct_CXX
=no
12716 hardcode_direct_absolute_CXX
=no
12717 hardcode_libdir_flag_spec_CXX
=
12718 hardcode_libdir_separator_CXX
=
12719 hardcode_minus_L_CXX
=no
12720 hardcode_shlibpath_var_CXX
=unsupported
12721 hardcode_automatic_CXX
=no
12722 inherit_rpath_CXX
=no
12724 module_expsym_cmds_CXX
=
12725 link_all_deplibs_CXX
=unknown
12726 old_archive_cmds_CXX
=$old_archive_cmds
12727 reload_flag_CXX
=$reload_flag
12728 reload_cmds_CXX
=$reload_cmds
12729 no_undefined_flag_CXX
=
12730 whole_archive_flag_spec_CXX
=
12731 enable_shared_with_static_runtimes_CXX
=no
12733 # Source file extension for C++ test sources.
12736 # Object file extension for compiled C++ test sources.
12740 # No sense in running all these tests if we already determined that
12741 # the CXX compiler isn't working. Some variables (like enable_shared)
12742 # are currently assumed to apply to all compilers on this platform,
12743 # and will be corrupted by setting them based on a non-working compiler.
12744 if test "$_lt_caught_CXX_error" != yes; then
12745 # Code to be used in simple compile tests
12746 lt_simple_compile_test_code
="int some_variable = 0;"
12748 # Code to be used in simple link tests
12749 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12751 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12758 # If no C compiler was specified, use CC.
12761 # If no C compiler flags were specified, use CFLAGS.
12762 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12764 # Allow CC to be a program name with arguments.
12768 # save warnings/boilerplate of simple test code
12769 ac_outfile
=conftest.
$ac_objext
12770 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12771 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12772 _lt_compiler_boilerplate
=`cat conftest.err`
12775 ac_outfile
=conftest.
$ac_objext
12776 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12777 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12778 _lt_linker_boilerplate
=`cat conftest.err`
12782 # Allow CC to be a program name with arguments.
12784 lt_save_CFLAGS
=$CFLAGS
12788 lt_save_with_gnu_ld
=$with_gnu_ld
12789 lt_save_path_LD
=$lt_cv_path_LD
12790 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12791 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12793 $as_unset lt_cv_prog_gnu_ld
12795 if test -n "${lt_cv_path_LDCXX+set}"; then
12796 lt_cv_path_LD
=$lt_cv_path_LDCXX
12798 $as_unset lt_cv_path_LD
12800 test -z "${LDCXX+set}" || LD
=$LDCXX
12805 for cc_temp
in $compiler""; do
12807 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12808 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12813 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12816 if test -n "$compiler"; then
12817 # We don't want -fno-exception when compiling C++ code, so set the
12818 # no_builtin_flag separately
12819 if test "$GXX" = yes; then
12820 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12822 lt_prog_compiler_no_builtin_flag_CXX
=
12825 if test "$GXX" = yes; then
12826 # Set up default GNU C++ configuration
12830 # Check whether --with-gnu-ld was given.
12831 if test "${with_gnu_ld+set}" = set; then :
12832 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12838 if test "$GCC" = yes; then
12839 # Check if gcc -print-prog-name=ld gives a path.
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12841 $as_echo_n "checking for ld used by $CC... " >&6; }
12844 # gcc leaves a trailing carriage return which upsets mingw
12845 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12847 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12850 # Accept absolute paths.
12852 re_direlt
='/[^/][^/]*/\.\./'
12853 # Canonicalize the pathname of ld
12854 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12855 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12856 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12858 test -z "$LD" && LD
="$ac_prog"
12861 # If it fails, then pretend we aren't using GCC.
12865 # If it is relative, then search for the first ld in PATH.
12866 with_gnu_ld
=unknown
12869 elif test "$with_gnu_ld" = yes; then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12871 $as_echo_n "checking for GNU ld... " >&6; }
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12874 $as_echo_n "checking for non-GNU ld... " >&6; }
12876 if ${lt_cv_path_LD+:} false
; then :
12877 $as_echo_n "(cached) " >&6
12879 if test -z "$LD"; then
12880 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12881 for ac_dir
in $PATH; do
12883 test -z "$ac_dir" && ac_dir
=.
12884 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12885 lt_cv_path_LD
="$ac_dir/$ac_prog"
12886 # Check to see if the program is GNU ld. I'd rather use --version,
12887 # but apparently some variants of GNU ld only accept -v.
12888 # Break only if it was the GNU/non-GNU ld that we prefer.
12889 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12890 *GNU
* | *'with BFD'*)
12891 test "$with_gnu_ld" != no
&& break
12894 test "$with_gnu_ld" != yes && break
12901 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12905 LD
="$lt_cv_path_LD"
12906 if test -n "$LD"; then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12908 $as_echo "$LD" >&6; }
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12913 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12915 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12916 if ${lt_cv_prog_gnu_ld+:} false
; then :
12917 $as_echo_n "(cached) " >&6
12919 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12920 case `$LD -v 2>&1 </dev/null` in
12921 *GNU
* | *'with BFD'*)
12922 lt_cv_prog_gnu_ld
=yes
12925 lt_cv_prog_gnu_ld
=no
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12930 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12931 with_gnu_ld
=$lt_cv_prog_gnu_ld
12939 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12940 # archiving commands below assume that GNU ld is being used.
12941 if test "$with_gnu_ld" = yes; then
12942 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12943 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'
12945 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12946 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12948 # If archive_cmds runs LD, not CC, wlarc should be empty
12949 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12950 # investigate it a little bit more. (MM)
12953 # ancient GNU ld didn't support --whole-archive et. al.
12954 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12955 $GREP 'no-whole-archive' > /dev
/null
; then
12956 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12958 whole_archive_flag_spec_CXX
=
12964 # A generic and very simple default shared library creation
12965 # command for GNU C++ for the case where it uses the native
12966 # linker, instead of GNU ld. If possible, this setting should
12967 # overridden to take advantage of the native linker features on
12968 # the platform it is being used on.
12969 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12972 # Commands to make compiler produce verbose output that lists
12973 # what "hidden" libraries, object files and flags are used when
12974 # linking a shared library.
12975 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12983 # PORTME: fill in a description of your system's C++ link characteristics
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12985 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12989 # FIXME: insert proper C++ library support
12993 if test "$host_cpu" = ia64
; then
12994 # On IA64, the linker does run time linking by default, so we don't
12995 # have to do anything special.
12996 aix_use_runtimelinking
=no
12997 exp_sym_flag
='-Bexport'
13000 aix_use_runtimelinking
=no
13002 # Test if we are trying to use run time linking or normal
13003 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13004 # need to do runtime linking.
13005 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13006 for ld_flag
in $LDFLAGS; do
13009 aix_use_runtimelinking
=yes
13017 exp_sym_flag
='-bexport'
13018 no_entry_flag
='-bnoentry'
13021 # When large executables or shared objects are built, AIX ld can
13022 # have problems creating the table of contents. If linking a library
13023 # or program results in "error TOC overflow" add -mminimal-toc to
13024 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13025 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13027 archive_cmds_CXX
=''
13028 hardcode_direct_CXX
=yes
13029 hardcode_direct_absolute_CXX
=yes
13030 hardcode_libdir_separator_CXX
=':'
13031 link_all_deplibs_CXX
=yes
13032 file_list_spec_CXX
='${wl}-f,'
13034 if test "$GXX" = yes; then
13035 case $host_os in aix4.
[012]|aix4.
[012].
*)
13036 # We only want to do this on AIX 4.2 and lower, the check
13037 # below for broken collect2 doesn't work under 4.3+
13038 collect2name
=`${CC} -print-prog-name=collect2`
13039 if test -f "$collect2name" &&
13040 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13042 # We have reworked collect2
13045 # We have old collect2
13046 hardcode_direct_CXX
=unsupported
13047 # It fails to find uninstalled libraries when the uninstalled
13048 # path is not listed in the libpath. Setting hardcode_minus_L
13049 # to unsupported forces relinking
13050 hardcode_minus_L_CXX
=yes
13051 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13052 hardcode_libdir_separator_CXX
=
13055 shared_flag
='-shared'
13056 if test "$aix_use_runtimelinking" = yes; then
13057 shared_flag
="$shared_flag "'${wl}-G'
13061 if test "$host_cpu" = ia64
; then
13062 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13063 # chokes on -Wl,-G. The following line is correct:
13066 if test "$aix_use_runtimelinking" = yes; then
13067 shared_flag
='${wl}-G'
13069 shared_flag
='${wl}-bM:SRE'
13074 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13075 # It seems that -bexpall does not export symbols beginning with
13076 # underscore (_), so it is better to generate a list of symbols to
13078 always_export_symbols_CXX
=yes
13079 if test "$aix_use_runtimelinking" = yes; then
13080 # Warning - without using the other runtime loading flags (-brtl),
13081 # -berok will link without error, but may produce a broken library.
13082 allow_undefined_flag_CXX
='-berok'
13083 # Determine the default libpath from the value encoded in an empty
13085 if test "${lt_cv_aix_libpath+set}" = set; then
13086 aix_libpath
=$lt_cv_aix_libpath
13088 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13089 $as_echo_n "(cached) " >&6
13091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13092 /* end confdefs.h. */
13102 if ac_fn_cxx_try_link
"$LINENO"; then :
13104 lt_aix_libpath_sed
='
13105 /Import File Strings/,/^$/ {
13107 s/^0 *\([^ ]*\) *$/\1/
13111 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13112 # Check for a 64-bit object if we didn't find anything.
13113 if test -z "$lt_cv_aix_libpath__CXX"; then
13114 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13117 rm -f core conftest.err conftest.
$ac_objext \
13118 conftest
$ac_exeext conftest.
$ac_ext
13119 if test -z "$lt_cv_aix_libpath__CXX"; then
13120 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13125 aix_libpath
=$lt_cv_aix_libpath__CXX
13128 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13130 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"
13132 if test "$host_cpu" = ia64
; then
13133 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13134 allow_undefined_flag_CXX
="-z nodefs"
13135 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"
13137 # Determine the default libpath from the value encoded in an
13138 # empty executable.
13139 if test "${lt_cv_aix_libpath+set}" = set; then
13140 aix_libpath
=$lt_cv_aix_libpath
13142 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13143 $as_echo_n "(cached) " >&6
13145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13156 if ac_fn_cxx_try_link
"$LINENO"; then :
13158 lt_aix_libpath_sed
='
13159 /Import File Strings/,/^$/ {
13161 s/^0 *\([^ ]*\) *$/\1/
13165 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13166 # Check for a 64-bit object if we didn't find anything.
13167 if test -z "$lt_cv_aix_libpath__CXX"; then
13168 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13171 rm -f core conftest.err conftest.
$ac_objext \
13172 conftest
$ac_exeext conftest.
$ac_ext
13173 if test -z "$lt_cv_aix_libpath__CXX"; then
13174 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13179 aix_libpath
=$lt_cv_aix_libpath__CXX
13182 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13183 # Warning - without using the other run time loading flags,
13184 # -berok will link without error, but may produce a broken library.
13185 no_undefined_flag_CXX
=' ${wl}-bernotok'
13186 allow_undefined_flag_CXX
=' ${wl}-berok'
13187 if test "$with_gnu_ld" = yes; then
13188 # We only use this code for GNU lds that support --whole-archive.
13189 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13191 # Exported symbols can be pulled into shared objects from archives
13192 whole_archive_flag_spec_CXX
='$convenience'
13194 archive_cmds_need_lc_CXX
=yes
13195 # This is similar to how AIX traditionally builds its shared
13197 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'
13203 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13204 allow_undefined_flag_CXX
=unsupported
13205 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13206 # support --undefined. This deserves some investigation. FIXME
13207 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13214 case $cc_basename in
13216 # FIXME: insert proper C++ library support
13222 cygwin
* | mingw
* | pw32
* | cegcc
*)
13223 case $GXX,$cc_basename in
13226 # hardcode_libdir_flag_spec is actually meaningless, as there is
13227 # no search path for DLLs.
13228 hardcode_libdir_flag_spec_CXX
=' '
13229 allow_undefined_flag_CXX
=unsupported
13230 always_export_symbols_CXX
=yes
13231 file_list_spec_CXX
='@'
13232 # Tell ltmain to make .lib files, not .a files.
13234 # Tell ltmain to make .dll files, not .so files.
13236 # FIXME: Setting linknames here is a bad hack.
13237 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13238 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13239 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13241 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13243 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13245 # The linker will not automatically build a static lib if we build a DLL.
13246 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13247 enable_shared_with_static_runtimes_CXX
=yes
13249 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13250 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13251 lt_tool_outputfile="@TOOL_OUTPUT@"~
13252 case $lt_outputfile in
13255 lt_outputfile="$lt_outputfile.exe"
13256 lt_tool_outputfile="$lt_tool_outputfile.exe"
13259 func_to_tool_file "$lt_outputfile"~
13260 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13261 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13262 $RM "$lt_outputfile.manifest";
13267 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13268 # as there is no search path for DLLs.
13269 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13270 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13271 allow_undefined_flag_CXX
=unsupported
13272 always_export_symbols_CXX
=no
13273 enable_shared_with_static_runtimes_CXX
=yes
13275 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13276 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'
13277 # If the export-symbols file already is a .def file (1st line
13278 # is EXPORTS), use it as is; otherwise, prepend...
13279 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13280 cp $export_symbols $output_objdir/$soname.def;
13282 echo EXPORTS > $output_objdir/$soname.def;
13283 cat $export_symbols >> $output_objdir/$soname.def;
13285 $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'
13292 darwin
* | rhapsody
*)
13295 archive_cmds_need_lc_CXX
=no
13296 hardcode_direct_CXX
=no
13297 hardcode_automatic_CXX
=yes
13298 hardcode_shlibpath_var_CXX
=unsupported
13299 if test "$lt_cv_ld_force_load" = "yes"; then
13300 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\"`'
13303 whole_archive_flag_spec_CXX
=''
13305 link_all_deplibs_CXX
=yes
13306 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13307 case $cc_basename in
13308 ifort
*) _lt_dar_can_shared
=yes ;;
13309 *) _lt_dar_can_shared
=$GCC ;;
13311 if test "$_lt_dar_can_shared" = "yes"; then
13312 output_verbose_link_cmd
=func_echo_all
13313 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}"
13314 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13315 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}"
13316 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}"
13317 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13318 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}"
13319 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}"
13329 case $cc_basename in
13331 # FIXME: insert proper C++ library support
13335 # Green Hills C++ Compiler
13336 # FIXME: insert proper C++ library support
13340 # FIXME: insert proper C++ library support
13347 # C++ shared libraries reported to be fairly broken before
13353 archive_cmds_need_lc_CXX
=no
13356 freebsd
* | dragonfly
*)
13357 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13366 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13367 link_all_deplibs_CXX
=yes
13371 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13372 hardcode_libdir_separator_CXX
=:
13373 export_dynamic_flag_spec_CXX
='${wl}-E'
13374 hardcode_direct_CXX
=yes
13375 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13376 # but as the default
13377 # location of the library.
13379 case $cc_basename in
13381 # FIXME: insert proper C++ library support
13385 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'
13386 # Commands to make compiler produce verbose output that lists
13387 # what "hidden" libraries, object files and flags are used when
13388 # linking a shared library.
13390 # There doesn't appear to be a way to prevent this compiler from
13391 # explicitly linking system object files so we need to strip them
13392 # from the output so that they don't get included in the library
13394 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"'
13397 if test "$GXX" = yes; then
13398 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'
13400 # FIXME: insert proper C++ library support
13408 if test $with_gnu_ld = no
; then
13409 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13410 hardcode_libdir_separator_CXX
=:
13416 export_dynamic_flag_spec_CXX
='${wl}-E'
13422 hardcode_direct_CXX
=no
13423 hardcode_shlibpath_var_CXX
=no
13426 hardcode_direct_CXX
=yes
13427 hardcode_direct_absolute_CXX
=yes
13428 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13429 # but as the default
13430 # location of the library.
13434 case $cc_basename in
13436 # FIXME: insert proper C++ library support
13442 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13445 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13448 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13451 # Commands to make compiler produce verbose output that lists
13452 # what "hidden" libraries, object files and flags are used when
13453 # linking a shared library.
13455 # There doesn't appear to be a way to prevent this compiler from
13456 # explicitly linking system object files so we need to strip them
13457 # from the output so that they don't get included in the library
13459 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"'
13462 if test "$GXX" = yes; then
13463 if test $with_gnu_ld = no
; then
13466 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13469 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13472 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'
13477 # FIXME: insert proper C++ library support
13485 hardcode_direct_CXX
=no
13486 hardcode_shlibpath_var_CXX
=no
13487 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13488 export_dynamic_flag_spec_CXX
='${wl}-E'
13489 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13490 # Instead, shared libraries are loaded at an image base (0x10000000 by
13491 # default) and relocated if they conflict, which is a slow very memory
13492 # consuming and fragmenting process. To avoid this, we pick a random,
13493 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13494 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13495 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'
13496 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'
13499 case $cc_basename in
13502 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'
13504 # Archives containing C++ object files must be created using
13505 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13506 # necessary to make sure instantiated templates are included
13508 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13511 if test "$GXX" = yes; then
13512 if test "$with_gnu_ld" = no
; then
13513 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'
13515 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'
13518 link_all_deplibs_CXX
=yes
13521 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13522 hardcode_libdir_separator_CXX
=:
13523 inherit_rpath_CXX
=yes
13526 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13527 case $cc_basename in
13529 # Kuck and Associates, Inc. (KAI) C++ Compiler
13531 # KCC will only create a shared library if the output file
13532 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13533 # to its proper name (with version) after linking.
13534 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'
13535 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'
13536 # Commands to make compiler produce verbose output that lists
13537 # what "hidden" libraries, object files and flags are used when
13538 # linking a shared library.
13540 # There doesn't appear to be a way to prevent this compiler from
13541 # explicitly linking system object files so we need to strip them
13542 # from the output so that they don't get included in the library
13544 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"'
13546 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13547 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13549 # Archives containing C++ object files must be created using
13550 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13551 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13556 # version 8.0 and above of icpc choke on multiply defined symbols
13557 # if we add $predep_objects and $postdep_objects, however 7.1 and
13558 # earlier do not add the objects themselves.
13559 case `$CC -V 2>&1` in
13561 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13562 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'
13564 *) # Version 8.0 or newer
13567 ia64
*) tmp_idyn
=' -i_dynamic';;
13569 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13570 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'
13573 archive_cmds_need_lc_CXX
=no
13574 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13575 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13576 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13579 # Portland Group C++ compiler
13581 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13582 prelink_cmds_CXX
='tpldir=Template.dir~
13584 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13585 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13586 old_archive_cmds_CXX
='tpldir=Template.dir~
13588 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13589 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13591 archive_cmds_CXX
='tpldir=Template.dir~
13593 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13594 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13595 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13597 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13598 $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'
13600 *) # Version 6 and above use weak symbols
13601 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13602 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'
13606 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13607 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13608 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'
13612 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13613 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'
13615 runpath_var
=LD_RUN_PATH
13616 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13617 hardcode_libdir_separator_CXX
=:
13619 # Commands to make compiler produce verbose output that lists
13620 # what "hidden" libraries, object files and flags are used when
13621 # linking a shared library.
13623 # There doesn't appear to be a way to prevent this compiler from
13624 # explicitly linking system object files so we need to strip them
13625 # from the output so that they don't get included in the library
13627 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'
13629 xl
* | mpixl
* | bgxl
*)
13630 # IBM XL 8.0 on PPC, with GNU ld
13631 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13632 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13633 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13634 if test "x$supports_anon_versioning" = xyes
; then
13635 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13636 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13637 echo "local: *; };" >> $output_objdir/$libname.ver~
13638 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13642 case `$CC -V 2>&1 | sed 5q` in
13645 no_undefined_flag_CXX
=' -zdefs'
13646 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13647 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'
13648 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13649 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'
13650 compiler_needs_object_CXX
=yes
13652 # Not sure whether something based on
13653 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13655 output_verbose_link_cmd
='func_echo_all'
13657 # Archives containing C++ object files must be created using
13658 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13659 # necessary to make sure instantiated templates are included
13661 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13669 # FIXME: insert proper C++ library support
13674 # FIXME: insert proper C++ library support
13679 case $cc_basename in
13681 # FIXME: insert proper C++ library support
13685 # FIXME: insert proper C++ library support
13692 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13693 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13695 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13696 hardcode_direct_CXX
=yes
13697 hardcode_shlibpath_var_CXX
=no
13699 # Workaround some broken pre-1.5 toolchains
13700 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13708 # C++ shared libraries are fairly broken
13713 if test -f /usr
/libexec
/ld.so
; then
13714 hardcode_direct_CXX
=yes
13715 hardcode_shlibpath_var_CXX
=no
13716 hardcode_direct_absolute_CXX
=yes
13717 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13718 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13719 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13720 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13721 export_dynamic_flag_spec_CXX
='${wl}-E'
13722 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13724 output_verbose_link_cmd
=func_echo_all
13730 osf3
* | osf4
* | osf5
*)
13731 case $cc_basename in
13733 # Kuck and Associates, Inc. (KAI) C++ Compiler
13735 # KCC will only create a shared library if the output file
13736 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13737 # to its proper name (with version) after linking.
13738 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'
13740 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13741 hardcode_libdir_separator_CXX
=:
13743 # Archives containing C++ object files must be created using
13744 # the KAI C++ compiler.
13746 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13747 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13751 # Rational C++ 2.4.1
13752 # FIXME: insert proper C++ library support
13758 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13759 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'
13760 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13763 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13764 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'
13765 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13766 echo "-hidden">> $lib.exp~
13767 $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~
13769 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13773 hardcode_libdir_separator_CXX
=:
13775 # Commands to make compiler produce verbose output that lists
13776 # what "hidden" libraries, object files and flags are used when
13777 # linking a shared library.
13779 # There doesn't appear to be a way to prevent this compiler from
13780 # explicitly linking system object files so we need to strip them
13781 # from the output so that they don't get included in the library
13783 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"'
13786 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13787 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13790 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'
13793 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'
13797 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13798 hardcode_libdir_separator_CXX
=:
13800 # Commands to make compiler produce verbose output that lists
13801 # what "hidden" libraries, object files and flags are used when
13802 # linking a shared library.
13803 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13806 # FIXME: insert proper C++ library support
13814 # FIXME: insert proper C++ library support
13819 case $cc_basename in
13822 # FIXME: insert proper C++ library support
13827 # FIXME: insert proper C++ library support
13831 # FIXME: insert proper C++ library support
13838 case $cc_basename in
13840 # Sun C++ 4.2, 5.x and Centerline C++
13841 archive_cmds_need_lc_CXX
=yes
13842 no_undefined_flag_CXX
=' -zdefs'
13843 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13844 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13845 $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'
13847 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13848 hardcode_shlibpath_var_CXX
=no
13850 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13852 # The compiler driver will combine and reorder linker options,
13853 # but understands `-z linker_flag'.
13854 # Supported since Solaris 2.6 (maybe 2.5.1?)
13855 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13858 link_all_deplibs_CXX
=yes
13860 output_verbose_link_cmd
='func_echo_all'
13862 # Archives containing C++ object files must be created using
13863 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13864 # necessary to make sure instantiated templates are included
13866 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13869 # Green Hills C++ Compiler
13870 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13872 # The C++ compiler must be used to create the archive.
13873 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13876 # GNU C++ compiler with Solaris linker
13877 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13878 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13879 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13880 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13881 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13882 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13884 # Commands to make compiler produce verbose output that lists
13885 # what "hidden" libraries, object files and flags are used when
13886 # linking a shared library.
13887 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13889 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13891 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13892 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13893 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13895 # Commands to make compiler produce verbose output that lists
13896 # what "hidden" libraries, object files and flags are used when
13897 # linking a shared library.
13898 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13901 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13903 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13905 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13913 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13914 no_undefined_flag_CXX
='${wl}-z,text'
13915 archive_cmds_need_lc_CXX
=no
13916 hardcode_shlibpath_var_CXX
=no
13917 runpath_var
='LD_RUN_PATH'
13919 case $cc_basename in
13921 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13922 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13925 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13926 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13931 sysv5
* | sco3.2v5
* | sco5v6
*)
13932 # Note: We can NOT use -z defs as we might desire, because we do not
13933 # link with -lc, and that would cause any symbols used from libc to
13934 # always be unresolved, which means just about no library would
13935 # ever link correctly. If we're not using GNU ld we use -z text
13936 # though, which does catch some bad symbols but isn't as heavy-handed
13938 no_undefined_flag_CXX
='${wl}-z,text'
13939 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13940 archive_cmds_need_lc_CXX
=no
13941 hardcode_shlibpath_var_CXX
=no
13942 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13943 hardcode_libdir_separator_CXX
=':'
13944 link_all_deplibs_CXX
=yes
13945 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13946 runpath_var
='LD_RUN_PATH'
13948 case $cc_basename in
13950 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13951 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13952 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13953 '"$old_archive_cmds_CXX"
13954 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13955 '"$reload_cmds_CXX"
13958 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13959 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13965 case $cc_basename in
13967 # NonStop-UX NCC 3.20
13968 # FIXME: insert proper C++ library support
13972 # FIXME: insert proper C++ library support
13979 # FIXME: insert proper C++ library support
13984 # FIXME: insert proper C++ library support
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13990 $as_echo "$ld_shlibs_CXX" >&6; }
13991 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13997 ## There is no encapsulation within the following macros, do not change
13998 ## the running order or otherwise move them around unless you know exactly
13999 ## what you are doing...
14000 # Dependencies to place before and after the object being linked:
14001 predep_objects_CXX
=
14002 postdep_objects_CXX
=
14005 compiler_lib_search_path_CXX
=
14007 cat > conftest.
$ac_ext <<_LT_EOF
14011 Foo (void) { a = 0; }
14018 _lt_libdeps_save_CFLAGS
=$CFLAGS
14019 case "$CC $CFLAGS " in #(
14020 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14021 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14022 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14026 (eval $ac_compile) 2>&5
14028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14029 test $ac_status = 0; }; then
14030 # Parse the compiler output and extract the necessary
14031 # objects, libraries and library flags.
14033 # Sentinel used to keep track of whether or not we are before
14034 # the conftest object file.
14035 pre_test_object_deps_done
=no
14037 for p
in `eval "$output_verbose_link_cmd"`; do
14038 case ${prev}${p} in
14041 # Some compilers place space between "-{L,R}" and the path.
14042 # Remove the space.
14043 if test $p = "-L" ||
14044 test $p = "-R"; then
14049 # Expand the sysroot to ease extracting the directories later.
14050 if test -z "$prev"; then
14052 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14053 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14054 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14058 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14060 if test "$pre_test_object_deps_done" = no
; then
14063 # Internal compiler library paths should come after those
14064 # provided the user. The postdeps already come after the
14065 # user supplied libs so there is no need to process them.
14066 if test -z "$compiler_lib_search_path_CXX"; then
14067 compiler_lib_search_path_CXX
="${prev}${p}"
14069 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14072 # The "-l" case would never come before the object being
14073 # linked, so don't bother handling this case.
14076 if test -z "$postdeps_CXX"; then
14077 postdeps_CXX
="${prev}${p}"
14079 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14085 *.lto.
$objext) ;; # Ignore GCC LTO objects
14087 # This assumes that the test object file only shows up
14088 # once in the compiler output.
14089 if test "$p" = "conftest.$objext"; then
14090 pre_test_object_deps_done
=yes
14094 if test "$pre_test_object_deps_done" = no
; then
14095 if test -z "$predep_objects_CXX"; then
14096 predep_objects_CXX
="$p"
14098 predep_objects_CXX
="$predep_objects_CXX $p"
14101 if test -z "$postdep_objects_CXX"; then
14102 postdep_objects_CXX
="$p"
14104 postdep_objects_CXX
="$postdep_objects_CXX $p"
14109 *) ;; # Ignore the rest.
14117 echo "libtool.m4: error: problem compiling CXX test program"
14120 $RM -f confest.
$objext
14121 CFLAGS
=$_lt_libdeps_save_CFLAGS
14123 # PORTME: override above test on systems where it is broken
14126 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14127 # hack all around it, let's just trust "g++" to DTRT.
14128 predep_objects_CXX
=
14129 postdep_objects_CXX
=
14134 case `$CC -V 2>&1 | sed 5q` in
14138 # The more standards-conforming stlport4 library is
14139 # incompatible with the Cstd library. Avoid specifying
14140 # it if it's in CXXFLAGS. Ignore libCrun as
14141 # -library=stlport4 depends on it.
14142 case " $CXX $CXXFLAGS " in
14143 *" -library=stlport4 "*)
14144 solaris_use_stlport4
=yes
14148 if test "$solaris_use_stlport4" != yes; then
14149 postdeps_CXX
='-library=Cstd -library=Crun'
14156 case $cc_basename in
14158 # The more standards-conforming stlport4 library is
14159 # incompatible with the Cstd library. Avoid specifying
14160 # it if it's in CXXFLAGS. Ignore libCrun as
14161 # -library=stlport4 depends on it.
14162 case " $CXX $CXXFLAGS " in
14163 *" -library=stlport4 "*)
14164 solaris_use_stlport4
=yes
14168 # Adding this requires a known-good setup of shared libraries for
14169 # Sun compiler versions before 5.6, else PIC objects from an old
14170 # archive will be linked into the output, leading to subtle bugs.
14171 if test "$solaris_use_stlport4" != yes; then
14172 postdeps_CXX
='-library=Cstd -library=Crun'
14180 case " $postdeps_CXX " in
14181 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14183 compiler_lib_search_dirs_CXX
=
14184 if test -n "${compiler_lib_search_path_CXX}"; then
14185 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14218 lt_prog_compiler_wl_CXX
=
14219 lt_prog_compiler_pic_CXX
=
14220 lt_prog_compiler_static_CXX
=
14223 # C++ specific cases for pic, static, wl, etc.
14224 if test "$GXX" = yes; then
14225 lt_prog_compiler_wl_CXX
='-Wl,'
14226 lt_prog_compiler_static_CXX
='-static'
14230 # All AIX code is PIC.
14231 if test "$host_cpu" = ia64
; then
14232 # AIX 5 now supports IA64 processor
14233 lt_prog_compiler_static_CXX
='-Bstatic'
14240 # see comment about AmigaOS4 .so support
14241 lt_prog_compiler_pic_CXX
='-fPIC'
14244 # FIXME: we need at least 68020 code to build shared libraries, but
14245 # adding the `-m68020' flag to GCC prevents building anything better,
14247 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14252 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14253 # PIC is the default for these OSes.
14255 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14256 # This hack is so that the source file can tell whether it is being
14257 # built for inclusion in a dll (and should export symbols for example).
14258 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14259 # (--disable-auto-import) libraries
14260 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14262 darwin
* | rhapsody
*)
14263 # PIC is the default on this platform
14264 # Common symbols not allowed in MH_DYLIB files
14265 lt_prog_compiler_pic_CXX
='-fno-common'
14268 # DJGPP does not support shared libraries at all
14269 lt_prog_compiler_pic_CXX
=
14272 # PIC is the default for Haiku.
14273 # The "-static" flag exists, but is broken.
14274 lt_prog_compiler_static_CXX
=
14277 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14278 # Instead, we relocate shared libraries at runtime.
14281 if test -d /usr
/nec
; then
14282 lt_prog_compiler_pic_CXX
=-Kconform_pic
14286 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14287 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14288 # sets the default TLS model and affects inlining.
14293 lt_prog_compiler_pic_CXX
='-fPIC'
14298 # QNX uses GNU C++, but need to define -shared option too, otherwise
14299 # it will coredump.
14300 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14303 lt_prog_compiler_pic_CXX
='-fPIC'
14309 # All AIX code is PIC.
14310 if test "$host_cpu" = ia64
; then
14311 # AIX 5 now supports IA64 processor
14312 lt_prog_compiler_static_CXX
='-Bstatic'
14314 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14318 case $cc_basename in
14320 # Green Hills C++ Compiler
14321 # _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"
14325 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14326 # This hack is so that the source file can tell whether it is being
14327 # built for inclusion in a dll (and should export symbols for example).
14328 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14331 case $cc_basename in
14333 lt_prog_compiler_pic_CXX
='-KPIC'
14336 # Green Hills C++ Compiler
14337 lt_prog_compiler_pic_CXX
='-pic'
14343 freebsd
* | dragonfly
*)
14344 # FreeBSD uses GNU C++
14346 hpux9
* | hpux10
* | hpux11
*)
14347 case $cc_basename in
14349 lt_prog_compiler_wl_CXX
='-Wl,'
14350 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14351 if test "$host_cpu" != ia64
; then
14352 lt_prog_compiler_pic_CXX
='+Z'
14356 lt_prog_compiler_wl_CXX
='-Wl,'
14357 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14363 lt_prog_compiler_pic_CXX
='+Z'
14372 # This is c89, which is MS Visual C++ (no shared libs)
14373 # Anyone wants to do a port?
14375 irix5
* | irix6
* | nonstopux
*)
14376 case $cc_basename in
14378 lt_prog_compiler_wl_CXX
='-Wl,'
14379 lt_prog_compiler_static_CXX
='-non_shared'
14380 # CC pic flag -KPIC is the default.
14386 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14387 case $cc_basename in
14390 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14391 lt_prog_compiler_pic_CXX
='-fPIC'
14394 # old Intel C++ for x86_64 which still supported -KPIC.
14395 lt_prog_compiler_wl_CXX
='-Wl,'
14396 lt_prog_compiler_pic_CXX
='-KPIC'
14397 lt_prog_compiler_static_CXX
='-static'
14400 # Intel C++, used to be incompatible with GCC.
14401 # ICC 10 doesn't accept -KPIC any more.
14402 lt_prog_compiler_wl_CXX
='-Wl,'
14403 lt_prog_compiler_pic_CXX
='-fPIC'
14404 lt_prog_compiler_static_CXX
='-static'
14407 # Portland Group C++ compiler
14408 lt_prog_compiler_wl_CXX
='-Wl,'
14409 lt_prog_compiler_pic_CXX
='-fpic'
14410 lt_prog_compiler_static_CXX
='-Bstatic'
14414 # Make sure the PIC flag is empty. It appears that all Alpha
14415 # Linux and Compaq Tru64 Unix objects are PIC.
14416 lt_prog_compiler_pic_CXX
=
14417 lt_prog_compiler_static_CXX
='-non_shared'
14419 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14420 # IBM XL 8.0, 9.0 on PPC and BlueGene
14421 lt_prog_compiler_wl_CXX
='-Wl,'
14422 lt_prog_compiler_pic_CXX
='-qpic'
14423 lt_prog_compiler_static_CXX
='-qstaticlink'
14426 case `$CC -V 2>&1 | sed 5q` in
14429 lt_prog_compiler_pic_CXX
='-KPIC'
14430 lt_prog_compiler_static_CXX
='-Bstatic'
14431 lt_prog_compiler_wl_CXX
='-Qoption ld '
14442 case $cc_basename in
14444 lt_prog_compiler_pic_CXX
='-W c,exportall'
14453 # QNX uses GNU C++, but need to define -shared option too, otherwise
14454 # it will coredump.
14455 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14457 osf3
* | osf4
* | osf5
*)
14458 case $cc_basename in
14460 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14463 # Rational C++ 2.4.1
14464 lt_prog_compiler_pic_CXX
='-pic'
14467 # Digital/Compaq C++
14468 lt_prog_compiler_wl_CXX
='-Wl,'
14469 # Make sure the PIC flag is empty. It appears that all Alpha
14470 # Linux and Compaq Tru64 Unix objects are PIC.
14471 lt_prog_compiler_pic_CXX
=
14472 lt_prog_compiler_static_CXX
='-non_shared'
14481 case $cc_basename in
14483 # Sun C++ 4.2, 5.x and Centerline C++
14484 lt_prog_compiler_pic_CXX
='-KPIC'
14485 lt_prog_compiler_static_CXX
='-Bstatic'
14486 lt_prog_compiler_wl_CXX
='-Qoption ld '
14489 # Green Hills C++ Compiler
14490 lt_prog_compiler_pic_CXX
='-PIC'
14497 case $cc_basename in
14500 lt_prog_compiler_pic_CXX
='-pic'
14501 lt_prog_compiler_static_CXX
='-Bstatic'
14505 lt_prog_compiler_pic_CXX
='-pic'
14511 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14512 case $cc_basename in
14514 lt_prog_compiler_wl_CXX
='-Wl,'
14515 lt_prog_compiler_pic_CXX
='-KPIC'
14516 lt_prog_compiler_static_CXX
='-Bstatic'
14521 case $cc_basename in
14523 # NonStop-UX NCC 3.20
14524 lt_prog_compiler_pic_CXX
='-KPIC'
14533 lt_prog_compiler_can_build_shared_CXX
=no
14539 # For platforms which do not support PIC, -DPIC is meaningless:
14541 lt_prog_compiler_pic_CXX
=
14544 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14549 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14550 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14551 $as_echo_n "(cached) " >&6
14553 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14556 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14557 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14560 # Check to make sure the PIC flag actually works.
14562 if test -n "$lt_prog_compiler_pic_CXX"; then
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14564 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14565 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14566 $as_echo_n "(cached) " >&6
14568 lt_cv_prog_compiler_pic_works_CXX
=no
14569 ac_outfile
=conftest.
$ac_objext
14570 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14571 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14572 # Insert the option either (1) after the last *FLAGS variable, or
14573 # (2) before a word containing "conftest.", or (3) at the end.
14574 # Note that $ac_compile itself does not contain backslashes and begins
14575 # with a dollar sign (not a hyphen), so the echo should work correctly.
14576 # The option is referenced via a variable to avoid confusing sed.
14577 lt_compile
=`echo "$ac_compile" | $SED \
14578 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14580 -e 's:$: $lt_compiler_flag:'`
14581 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14582 (eval "$lt_compile" 2>conftest.err
)
14584 cat conftest.err
>&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 if (exit $ac_status) && test -s "$ac_outfile"; then
14587 # The compiler can only warn and ignore the option if not recognized
14588 # So say no if there are warnings other than the usual output.
14589 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14590 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14591 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14592 lt_cv_prog_compiler_pic_works_CXX
=yes
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14599 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14601 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14602 case $lt_prog_compiler_pic_CXX in
14604 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14607 lt_prog_compiler_pic_CXX
=
14608 lt_prog_compiler_can_build_shared_CXX
=no
14618 # Check to make sure the static flag actually works.
14620 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14622 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14623 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14624 $as_echo_n "(cached) " >&6
14626 lt_cv_prog_compiler_static_works_CXX
=no
14627 save_LDFLAGS
="$LDFLAGS"
14628 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14629 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14630 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14631 # The linker can only warn and ignore the option if not recognized
14632 # So say no if there are warnings
14633 if test -s conftest.err
; then
14634 # Append any errors to the config.log.
14635 cat conftest.err
1>&5
14636 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14637 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14638 if diff conftest.exp conftest.er2
>/dev
/null
; then
14639 lt_cv_prog_compiler_static_works_CXX
=yes
14642 lt_cv_prog_compiler_static_works_CXX
=yes
14646 LDFLAGS
="$save_LDFLAGS"
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14650 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14652 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14655 lt_prog_compiler_static_CXX
=
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14662 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14663 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14664 $as_echo_n "(cached) " >&6
14666 lt_cv_prog_compiler_c_o_CXX
=no
14667 $RM -r conftest
2>/dev
/null
14671 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14673 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14674 # Insert the option either (1) after the last *FLAGS variable, or
14675 # (2) before a word containing "conftest.", or (3) at the end.
14676 # Note that $ac_compile itself does not contain backslashes and begins
14677 # with a dollar sign (not a hyphen), so the echo should work correctly.
14678 lt_compile
=`echo "$ac_compile" | $SED \
14679 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14681 -e 's:$: $lt_compiler_flag:'`
14682 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14683 (eval "$lt_compile" 2>out
/conftest.err
)
14685 cat out
/conftest.err
>&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14689 # The compiler can only warn and ignore the option if not recognized
14690 # So say no if there are warnings
14691 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14692 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14693 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14694 lt_cv_prog_compiler_c_o_CXX
=yes
14699 # SGI C++ compiler will create directory out/ii_files/ for
14700 # template instantiation
14701 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14702 $RM out
/* && rmdir out
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14709 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14714 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14715 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14716 $as_echo_n "(cached) " >&6
14718 lt_cv_prog_compiler_c_o_CXX
=no
14719 $RM -r conftest
2>/dev
/null
14723 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14725 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14726 # Insert the option either (1) after the last *FLAGS variable, or
14727 # (2) before a word containing "conftest.", or (3) at the end.
14728 # Note that $ac_compile itself does not contain backslashes and begins
14729 # with a dollar sign (not a hyphen), so the echo should work correctly.
14730 lt_compile
=`echo "$ac_compile" | $SED \
14731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14733 -e 's:$: $lt_compiler_flag:'`
14734 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14735 (eval "$lt_compile" 2>out
/conftest.err
)
14737 cat out
/conftest.err
>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14741 # The compiler can only warn and ignore the option if not recognized
14742 # So say no if there are warnings
14743 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14744 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14745 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14746 lt_cv_prog_compiler_c_o_CXX
=yes
14751 # SGI C++ compiler will create directory out/ii_files/ for
14752 # template instantiation
14753 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14754 $RM out
/* && rmdir out
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14761 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14766 hard_links
="nottested"
14767 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14768 # do not overwrite the value of need_locks provided by the user
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14770 $as_echo_n "checking if we can lock with hard links... " >&6; }
14773 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14775 ln conftest.a conftest.b
2>&5 || hard_links
=no
14776 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14778 $as_echo "$hard_links" >&6; }
14779 if test "$hard_links" = no
; then
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14781 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14791 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14793 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14794 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14797 # If we're using GNU nm, then we don't want the "-C" option.
14798 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14799 # Also, AIX nm treats weak defined symbols like other global defined
14800 # symbols, whereas GNU nm marks them as "W".
14801 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14802 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'
14804 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'
14808 export_symbols_cmds_CXX
="$ltdll_cmds"
14810 cygwin
* | mingw
* | cegcc
*)
14811 case $cc_basename in
14813 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14816 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'
14817 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14822 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14827 $as_echo "$ld_shlibs_CXX" >&6; }
14828 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14830 with_gnu_ld_CXX
=$with_gnu_ld
14838 # Do we need to explicitly link libc?
14840 case "x$archive_cmds_need_lc_CXX" in
14842 # Assume -lc should be added
14843 archive_cmds_need_lc_CXX
=yes
14845 if test "$enable_shared" = yes && test "$GCC" = yes; then
14846 case $archive_cmds_CXX in
14848 # FIXME: we may have to deal with multi-command sequences.
14851 # Test whether the compiler implicitly links with -lc since on some
14852 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14853 # to ld, don't add -lc before -lgcc.
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14855 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14856 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14857 $as_echo_n "(cached) " >&6
14860 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14863 (eval $ac_compile) 2>&5
14865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14866 test $ac_status = 0; } 2>conftest.err
; then
14869 libobjs
=conftest.
$ac_objext
14871 wl
=$lt_prog_compiler_wl_CXX
14872 pic_flag
=$lt_prog_compiler_pic_CXX
14878 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14879 allow_undefined_flag_CXX
=
14880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14881 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14884 test $ac_status = 0; }
14886 lt_cv_archive_cmds_need_lc_CXX
=no
14888 lt_cv_archive_cmds_need_lc_CXX
=yes
14890 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14892 cat conftest.err
1>&5
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14898 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14899 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14968 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14970 library_names_spec
=
14971 libname_spec
='lib$name'
14975 postuninstall_cmds
=
14979 shlibpath_overrides_runpath
=unknown
14981 dynamic_linker
="$host_os ld.so"
14982 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14983 need_lib_prefix
=unknown
14984 hardcode_into_libs
=no
14986 # when you set need_version to no, make sure it does not cause -set_version
14987 # flags to be left without arguments
14988 need_version
=unknown
14992 version_type
=linux
# correct to gnu/linux during the next big refactor
14993 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14994 shlibpath_var
=LIBPATH
14996 # AIX 3 has no versioning support, so we append a major version to the name.
14997 soname_spec
='${libname}${release}${shared_ext}$major'
15001 version_type
=linux
# correct to gnu/linux during the next big refactor
15004 hardcode_into_libs
=yes
15005 if test "$host_cpu" = ia64
; then
15006 # AIX 5 supports IA64
15007 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15008 shlibpath_var
=LD_LIBRARY_PATH
15010 # With GCC up to 2.95.x, collect2 would create an import file
15011 # for dependence libraries. The import file would start with
15012 # the line `#! .'. This would cause the generated library to
15013 # depend on `.', always an invalid library. This was fixed in
15014 # development snapshots of GCC prior to 3.0.
15016 aix4
| aix4.
[01] | aix4.
[01].
*)
15017 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15019 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15022 can_build_shared
=no
15026 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15027 # soname into executable. Probably we can add versioning support to
15028 # collect2, so additional links can be useful in future.
15029 if test "$aix_use_runtimelinking" = yes; then
15030 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15031 # instead of lib<name>.a to let people know that these are not
15032 # typical AIX shared libraries.
15033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15035 # We preserve .a as extension for shared libraries through AIX4.2
15036 # and later when we are not doing run time linking.
15037 library_names_spec
='${libname}${release}.a $libname.a'
15038 soname_spec
='${libname}${release}${shared_ext}$major'
15040 shlibpath_var
=LIBPATH
15047 # Since July 2007 AmigaOS4 officially supports .so libraries.
15048 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15052 library_names_spec
='$libname.ixlibrary $libname.a'
15053 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15054 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'
15060 library_names_spec
='${libname}${shared_ext}'
15061 dynamic_linker
="$host_os ld.so"
15062 shlibpath_var
=LIBRARY_PATH
15066 version_type
=linux
# correct to gnu/linux during the next big refactor
15068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15069 soname_spec
='${libname}${release}${shared_ext}$major'
15070 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15071 shlibpath_var
=LD_LIBRARY_PATH
15072 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15073 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15074 # the default ld.so.conf also contains /usr/contrib/lib and
15075 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15076 # libtool to hard-code these into programs
15079 cygwin
* | mingw
* | pw32
* | cegcc
*)
15080 version_type
=windows
15085 case $GCC,$cc_basename in
15088 library_names_spec
='$libname.dll.a'
15089 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15090 postinstall_cmds
='base_file=`basename \${file}`~
15091 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15092 dldir=$destdir/`dirname \$dlpath`~
15093 test -d \$dldir || mkdir -p \$dldir~
15094 $install_prog $dir/$dlname \$dldir/$dlname~
15095 chmod a+x \$dldir/$dlname~
15096 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15097 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15099 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15100 dlpath=$dir/\$dldll~
15102 shlibpath_overrides_runpath
=yes
15106 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15107 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15111 # MinGW DLLs use traditional 'lib' prefix
15112 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15115 # pw32 DLLs use 'pw' prefix rather than 'lib'
15116 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15119 dynamic_linker
='Win32 ld.exe'
15124 libname_spec
='$name'
15125 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15126 library_names_spec
='${libname}.dll.lib'
15130 sys_lib_search_path_spec
=
15133 for lt_path
in $LIB
15136 # Let DOS variable expansion print the short 8.3 style file name.
15137 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15138 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15141 # Convert to MSYS style.
15142 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15145 # Convert to unix form, then to dos form, then back to unix form
15146 # but this time dos style (no spaces!) so that the unix form looks
15147 # like /cygdrive/c/PROGRA~1:/cygdr...
15148 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15149 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15150 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15153 sys_lib_search_path_spec
="$LIB"
15154 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15155 # It is most probably a Windows format PATH.
15156 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15158 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15160 # FIXME: find the short name or the path components, as spaces are
15161 # common. (e.g. "Program Files" -> "PROGRA~1")
15165 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15166 postinstall_cmds
='base_file=`basename \${file}`~
15167 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15168 dldir=$destdir/`dirname \$dlpath`~
15169 test -d \$dldir || mkdir -p \$dldir~
15170 $install_prog $dir/$dlname \$dldir/$dlname'
15171 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15172 dlpath=$dir/\$dldll~
15174 shlibpath_overrides_runpath
=yes
15175 dynamic_linker
='Win32 link.exe'
15179 # Assume MSVC wrapper
15180 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15181 dynamic_linker
='Win32 ld.exe'
15184 # FIXME: first we should search . and the directory the executable is in
15188 darwin
* | rhapsody
*)
15189 dynamic_linker
="$host_os dyld"
15190 version_type
=darwin
15193 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15194 soname_spec
='${libname}${release}${major}$shared_ext'
15195 shlibpath_overrides_runpath
=yes
15196 shlibpath_var
=DYLD_LIBRARY_PATH
15197 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15199 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15203 version_type
=linux
# correct to gnu/linux during the next big refactor
15206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15207 soname_spec
='${libname}${release}${shared_ext}$major'
15208 shlibpath_var
=LD_LIBRARY_PATH
15211 freebsd
* | dragonfly
*)
15212 # DragonFly does not have aout. When/if they implement a new
15213 # versioning mechanism, adjust this.
15214 if test -x /usr
/bin
/objformat
; then
15215 objformat
=`/usr/bin/objformat`
15218 freebsd
[23].
*) objformat
=aout
;;
15219 *) objformat
=elf
;;
15222 version_type
=freebsd
-$objformat
15223 case $version_type in
15225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15230 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15234 shlibpath_var
=LD_LIBRARY_PATH
15237 shlibpath_overrides_runpath
=yes
15239 freebsd3.
[01]* | freebsdelf3.
[01]*)
15240 shlibpath_overrides_runpath
=yes
15241 hardcode_into_libs
=yes
15243 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15244 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15245 shlibpath_overrides_runpath
=no
15246 hardcode_into_libs
=yes
15248 *) # from 4.6 on, and DragonFly
15249 shlibpath_overrides_runpath
=yes
15250 hardcode_into_libs
=yes
15256 version_type
=linux
# correct to gnu/linux during the next big refactor
15259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15260 soname_spec
='${libname}${release}${shared_ext}$major'
15261 shlibpath_var
=LD_LIBRARY_PATH
15262 shlibpath_overrides_runpath
=no
15263 hardcode_into_libs
=yes
15267 version_type
=linux
# correct to gnu/linux during the next big refactor
15270 dynamic_linker
="$host_os runtime_loader"
15271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15272 soname_spec
='${libname}${release}${shared_ext}$major'
15273 shlibpath_var
=LIBRARY_PATH
15274 shlibpath_overrides_runpath
=yes
15275 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15276 hardcode_into_libs
=yes
15279 hpux9
* | hpux10
* | hpux11
*)
15280 # Give a soname corresponding to the major version so that dld.sl refuses to
15281 # link against other versions.
15288 hardcode_into_libs
=yes
15289 dynamic_linker
="$host_os dld.so"
15290 shlibpath_var
=LD_LIBRARY_PATH
15291 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15293 soname_spec
='${libname}${release}${shared_ext}$major'
15294 if test "X$HPUX_IA64_MODE" = X32
; then
15295 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15297 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15299 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15303 hardcode_into_libs
=yes
15304 dynamic_linker
="$host_os dld.sl"
15305 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15306 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15308 soname_spec
='${libname}${release}${shared_ext}$major'
15309 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15310 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15314 dynamic_linker
="$host_os dld.sl"
15315 shlibpath_var
=SHLIB_PATH
15316 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15318 soname_spec
='${libname}${release}${shared_ext}$major'
15321 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15322 postinstall_cmds
='chmod 555 $lib'
15323 # or fails outright, so override atomically:
15324 install_override_mode
=555
15328 version_type
=linux
# correct to gnu/linux during the next big refactor
15331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15332 soname_spec
='${libname}${release}${shared_ext}$major'
15333 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15334 shlibpath_var
=LD_LIBRARY_PATH
15335 shlibpath_overrides_runpath
=no
15336 hardcode_into_libs
=yes
15339 irix5
* | irix6
* | nonstopux
*)
15341 nonstopux
*) version_type
=nonstopux
;;
15343 if test "$lt_cv_prog_gnu_ld" = yes; then
15344 version_type
=linux
# correct to gnu/linux during the next big refactor
15351 soname_spec
='${libname}${release}${shared_ext}$major'
15352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15354 irix5
* | nonstopux
*)
15355 libsuff
= shlibsuff
=
15358 case $LD in # libtool.m4 will add one of these switches to LD
15359 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15360 libsuff
= shlibsuff
= libmagic
=32-bit;;
15361 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15362 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15363 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15364 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15365 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15369 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15370 shlibpath_overrides_runpath
=no
15371 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15372 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15373 hardcode_into_libs
=yes
15376 # No shared lib support for Linux oldld, aout, or coff.
15377 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15381 # This must be glibc/ELF.
15382 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15383 version_type
=linux
# correct to gnu/linux during the next big refactor
15386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15387 soname_spec
='${libname}${release}${shared_ext}$major'
15388 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15389 shlibpath_var
=LD_LIBRARY_PATH
15390 shlibpath_overrides_runpath
=no
15392 # Some binutils ld are patched to set DT_RUNPATH
15393 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15394 $as_echo_n "(cached) " >&6
15396 lt_cv_shlibpath_overrides_runpath
=no
15397 save_LDFLAGS
=$LDFLAGS
15398 save_libdir
=$libdir
15399 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15400 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15412 if ac_fn_cxx_try_link
"$LINENO"; then :
15413 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15414 lt_cv_shlibpath_overrides_runpath
=yes
15417 rm -f core conftest.err conftest.
$ac_objext \
15418 conftest
$ac_exeext conftest.
$ac_ext
15419 LDFLAGS
=$save_LDFLAGS
15420 libdir
=$save_libdir
15424 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15426 # This implies no fast_install, which is unacceptable.
15427 # Some rework will be needed to allow for fast_install
15428 # before this can be enabled.
15429 hardcode_into_libs
=yes
15431 # Append ld.so.conf contents to the search path
15432 if test -f /etc
/ld.so.conf
; then
15433 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' ' '`
15434 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15437 # We used to test for /lib/ld.so.1 and disable shared libraries on
15438 # powerpc, because MkLinux only supported shared libraries with the
15439 # GNU dynamic linker. Since this was broken with cross compilers,
15440 # most powerpc-linux boxes support dynamic linking these days and
15441 # people can always --disable-shared, the test was removed, and we
15442 # assume the GNU/Linux dynamic linker is in use.
15443 dynamic_linker
='GNU/Linux ld.so'
15450 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15452 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15453 dynamic_linker
='NetBSD (a.out) ld.so'
15455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15456 soname_spec
='${libname}${release}${shared_ext}$major'
15457 dynamic_linker
='NetBSD ld.elf_so'
15459 shlibpath_var
=LD_LIBRARY_PATH
15460 shlibpath_overrides_runpath
=yes
15461 hardcode_into_libs
=yes
15465 version_type
=linux
# correct to gnu/linux during the next big refactor
15466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15467 shlibpath_var
=LD_LIBRARY_PATH
15468 shlibpath_overrides_runpath
=yes
15475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15476 soname_spec
='${libname}${release}${shared_ext}$major'
15477 shlibpath_var
=LD_LIBRARY_PATH
15478 shlibpath_overrides_runpath
=no
15479 hardcode_into_libs
=yes
15480 dynamic_linker
='ldqnx.so'
15485 sys_lib_dlsearch_path_spec
="/usr/lib"
15487 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15489 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15490 *) need_version
=no
;;
15492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15493 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15494 shlibpath_var
=LD_LIBRARY_PATH
15495 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15497 openbsd2.
[89] | openbsd2.
[89].
*)
15498 shlibpath_overrides_runpath
=no
15501 shlibpath_overrides_runpath
=yes
15505 shlibpath_overrides_runpath
=yes
15510 libname_spec
='$name'
15513 library_names_spec
='$libname${shared_ext} $libname.a'
15514 dynamic_linker
='OS/2 ld.exe'
15515 shlibpath_var
=LIBPATH
15518 osf3
* | osf4
* | osf5
*)
15522 soname_spec
='${libname}${release}${shared_ext}$major'
15523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15524 shlibpath_var
=LD_LIBRARY_PATH
15525 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15526 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15534 version_type
=linux
# correct to gnu/linux during the next big refactor
15537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15538 soname_spec
='${libname}${release}${shared_ext}$major'
15539 shlibpath_var
=LD_LIBRARY_PATH
15540 shlibpath_overrides_runpath
=yes
15541 hardcode_into_libs
=yes
15542 # ldd complains unless libraries are executable
15543 postinstall_cmds
='chmod +x $lib'
15548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15549 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15550 shlibpath_var
=LD_LIBRARY_PATH
15551 shlibpath_overrides_runpath
=yes
15552 if test "$with_gnu_ld" = yes; then
15559 version_type
=linux
# correct to gnu/linux during the next big refactor
15560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15561 soname_spec
='${libname}${release}${shared_ext}$major'
15562 shlibpath_var
=LD_LIBRARY_PATH
15563 case $host_vendor in
15565 shlibpath_overrides_runpath
=no
15567 runpath_var
=LD_RUN_PATH
15575 shlibpath_overrides_runpath
=no
15576 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15582 if test -d /usr
/nec
;then
15583 version_type
=linux
# correct to gnu/linux during the next big refactor
15584 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15585 soname_spec
='$libname${shared_ext}.$major'
15586 shlibpath_var
=LD_LIBRARY_PATH
15590 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15591 version_type
=freebsd
-elf
15594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15595 soname_spec
='${libname}${release}${shared_ext}$major'
15596 shlibpath_var
=LD_LIBRARY_PATH
15597 shlibpath_overrides_runpath
=yes
15598 hardcode_into_libs
=yes
15599 if test "$with_gnu_ld" = yes; then
15600 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15602 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15605 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15609 sys_lib_dlsearch_path_spec
='/usr/lib'
15613 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15614 version_type
=linux
# correct to gnu/linux during the next big refactor
15617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15618 shlibpath_var
=LD_LIBRARY_PATH
15619 shlibpath_overrides_runpath
=no
15620 hardcode_into_libs
=yes
15624 version_type
=linux
# correct to gnu/linux during the next big refactor
15625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15626 soname_spec
='${libname}${release}${shared_ext}$major'
15627 shlibpath_var
=LD_LIBRARY_PATH
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15635 $as_echo "$dynamic_linker" >&6; }
15636 test "$dynamic_linker" = no
&& can_build_shared
=no
15638 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15639 if test "$GCC" = yes; then
15640 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15643 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15644 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15646 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15647 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15688 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15689 hardcode_action_CXX
=
15690 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15691 test -n "$runpath_var_CXX" ||
15692 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15694 # We can hardcode non-existent directories.
15695 if test "$hardcode_direct_CXX" != no
&&
15696 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15697 # have to relink, otherwise we might link with an installed library
15698 # when we should be linking with a yet-to-be-installed one
15699 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15700 test "$hardcode_minus_L_CXX" != no
; then
15701 # Linking always hardcodes the temporary library directory.
15702 hardcode_action_CXX
=relink
15704 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15705 hardcode_action_CXX
=immediate
15708 # We cannot hardcode anything, or else we can only hardcode existing
15710 hardcode_action_CXX
=unsupported
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15713 $as_echo "$hardcode_action_CXX" >&6; }
15715 if test "$hardcode_action_CXX" = relink
||
15716 test "$inherit_rpath_CXX" = yes; then
15717 # Fast installation is not supported
15718 enable_fast_install
=no
15719 elif test "$shlibpath_overrides_runpath" = yes ||
15720 test "$enable_shared" = no
; then
15721 # Fast installation is not necessary
15722 enable_fast_install
=needless
15731 fi # test -n "$compiler"
15734 CFLAGS
=$lt_save_CFLAGS
15738 with_gnu_ld
=$lt_save_with_gnu_ld
15739 lt_cv_path_LDCXX
=$lt_cv_path_LD
15740 lt_cv_path_LD
=$lt_save_path_LD
15741 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15742 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15743 fi # test "$_lt_caught_CXX_error" != yes
15746 ac_cpp
='$CPP $CPPFLAGS'
15747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15765 ac_config_commands
="$ac_config_commands libtool"
15770 # Only expand once:
15775 ac_cpp
='$CXXCPP $CPPFLAGS'
15776 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15777 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15778 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15787 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15788 if test -n "$ac_tool_prefix"; then
15789 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15790 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15792 $as_echo_n "checking for $ac_word... " >&6; }
15793 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15794 $as_echo_n "(cached) " >&6
15796 case $PKG_CONFIG in
15798 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15802 for as_dir
in $PATH
15805 test -z "$as_dir" && as_dir
=.
15806 for ac_exec_ext
in '' $ac_executable_extensions; do
15807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15808 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15819 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15820 if test -n "$PKG_CONFIG"; then
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15822 $as_echo "$PKG_CONFIG" >&6; }
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15825 $as_echo "no" >&6; }
15830 if test -z "$ac_cv_path_PKG_CONFIG"; then
15831 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15832 # Extract the first word of "pkg-config", so it can be a program name with args.
15833 set dummy pkg
-config; ac_word
=$2
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15835 $as_echo_n "checking for $ac_word... " >&6; }
15836 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15837 $as_echo_n "(cached) " >&6
15839 case $ac_pt_PKG_CONFIG in
15841 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15845 for as_dir
in $PATH
15848 test -z "$as_dir" && as_dir
=.
15849 for ac_exec_ext
in '' $ac_executable_extensions; do
15850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15851 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15862 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15863 if test -n "$ac_pt_PKG_CONFIG"; then
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15865 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15868 $as_echo "no" >&6; }
15871 if test "x$ac_pt_PKG_CONFIG" = x
; then
15874 case $cross_compiling:$ac_tool_warned in
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15878 ac_tool_warned
=yes ;;
15880 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15883 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15887 if test -n "$PKG_CONFIG"; then
15888 _pkg_min_version
=0.22
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15890 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15891 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15893 $as_echo "yes" >&6; }
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15896 $as_echo "no" >&6; }
15901 # Extract the first word of "bash", so it can be a program name with args.
15902 set dummy bash
; ac_word
=$2
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15904 $as_echo_n "checking for $ac_word... " >&6; }
15905 if ${ac_cv_path__BASH+:} false
; then :
15906 $as_echo_n "(cached) " >&6
15910 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
15913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15914 for as_dir
in $PATH
15917 test -z "$as_dir" && as_dir
=.
15918 for ac_exec_ext
in '' $ac_executable_extensions; do
15919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15920 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
15921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15928 test -z "$ac_cv_path__BASH" && ac_cv_path__BASH
="as_fn_error $? "missing
\"bash
\"" "$LINENO" 5"
15932 _BASH
=$ac_cv_path__BASH
15933 if test -n "$_BASH"; then
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
15935 $as_echo "$_BASH" >&6; }
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15938 $as_echo "no" >&6; }
15942 # Extract the first word of "git", so it can be a program name with args.
15943 set dummy git
; ac_word
=$2
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15945 $as_echo_n "checking for $ac_word... " >&6; }
15946 if ${ac_cv_path_GIT+:} false
; then :
15947 $as_echo_n "(cached) " >&6
15951 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
15954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15955 for as_dir
in $PATH
15958 test -z "$as_dir" && as_dir
=.
15959 for ac_exec_ext
in '' $ac_executable_extensions; do
15960 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15961 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
15962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15972 GIT
=$ac_cv_path_GIT
15973 if test -n "$GIT"; then
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
15975 $as_echo "$GIT" >&6; }
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15978 $as_echo "no" >&6; }
15982 # Extract the first word of "time", so it can be a program name with args.
15983 set dummy
time; ac_word
=$2
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15985 $as_echo_n "checking for $ac_word... " >&6; }
15986 if ${ac_cv_path_TIME+:} false
; then :
15987 $as_echo_n "(cached) " >&6
15991 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
15994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15995 for as_dir
in $PATH
15998 test -z "$as_dir" && as_dir
=.
15999 for ac_exec_ext
in '' $ac_executable_extensions; do
16000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16001 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16012 TIME
=$ac_cv_path_TIME
16013 if test -n "$TIME"; then
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16015 $as_echo "$TIME" >&6; }
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16018 $as_echo "no" >&6; }
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16028 $as_echo_n "checking for bison >= 2.3... " >&6; }
16029 if test -z "$BISON"; then
16030 ac_path_BISON_found
=false
16031 # Loop through the user's path and test for each of PROGNAME-LIST
16032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16033 for as_dir
in $PATH
16036 test -z "$as_dir" && as_dir
=.
16037 for ac_prog
in bison
; do
16038 for ac_exec_ext
in '' $ac_executable_extensions; do
16039 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16040 as_fn_executable_p
"$ac_path_BISON" || continue
16041 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16042 if ${version:+false} :; then :
16045 as_awk_strverscmp
='
16046 # Use only awk features that work with 7th edition Unix awk (1978).
16047 # My, what an old awk you have, Mr. Solaris!
16049 while (length(v1) && length(v2)) {
16050 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16051 # Normally this is a single character, but if v1 and v2 contain digits,
16052 # compare them as integers and fractions as strverscmp does.
16053 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16054 # Split v1 and v2 into their leading digit string components d1 and d2,
16055 # and advance v1 and v2 past the leading digit strings.
16056 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16057 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16058 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16059 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16062 # Compare two fractions.
16063 while (d1 ~ /^0/ && d2 ~ /^0/) {
16064 d1 = substr(d1, 2); len1--
16065 d2 = substr(d2, 2); len2--
16067 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16068 # The two components differ in length, and the common prefix
16069 # contains only leading zeros. Consider the longer to be less.
16073 # Otherwise, compare as strings.
16078 # A fraction is less than an integer.
16083 # An integer is greater than a fraction.
16086 # Compare two integers.
16092 # The normal case, without worrying about digits.
16093 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16094 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16096 if (d1 < d2) exit 1
16097 if (d1 > d2) exit 2
16099 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16100 # which mishandles some comparisons of empty strings to integers.
16101 if (length(v2)) exit 1
16102 if (length(v1)) exit 2
16107 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16112 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16114 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16120 $ac_path_BISON_found && break 3
16125 if test -z "$ac_cv_path_BISON"; then
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16127 $as_echo "no" >&6; }
16130 ac_cv_path_BISON
=$BISON
16136 BISON
=$ac_cv_path_BISON
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16139 $as_echo "$BISON" >&6; }
16144 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16151 $as_echo "no" >&6; }
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16160 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16161 if test -z "$FLEX"; then
16162 ac_path_FLEX_found
=false
16163 # Loop through the user's path and test for each of PROGNAME-LIST
16164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16165 for as_dir
in $PATH
16168 test -z "$as_dir" && as_dir
=.
16169 for ac_prog
in flex
; do
16170 for ac_exec_ext
in '' $ac_executable_extensions; do
16171 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16172 as_fn_executable_p
"$ac_path_FLEX" || continue
16173 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16174 if ${version:+false} :; then :
16179 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16184 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16186 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16192 $ac_path_FLEX_found && break 3
16197 if test -z "$ac_cv_path_FLEX"; then
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16199 $as_echo "no" >&6; }
16202 ac_cv_path_FLEX
=$FLEX
16208 FLEX
=$ac_cv_path_FLEX
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16211 $as_echo "$FLEX" >&6; }
16216 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16223 $as_echo "no" >&6; }
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16232 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16233 if test -z "$GPERF"; then
16234 ac_path_GPERF_found
=false
16235 # Loop through the user's path and test for each of PROGNAME-LIST
16236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16237 for as_dir
in $PATH
16240 test -z "$as_dir" && as_dir
=.
16241 for ac_prog
in gperf
; do
16242 for ac_exec_ext
in '' $ac_executable_extensions; do
16243 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16244 as_fn_executable_p
"$ac_path_GPERF" || continue
16245 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16246 if ${version:+false} :; then :
16251 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16256 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16258 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16264 $ac_path_GPERF_found && break 3
16269 if test -z "$ac_cv_path_GPERF"; then
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16271 $as_echo "no" >&6; }
16274 ac_cv_path_GPERF
=$GPERF
16280 GPERF
=$ac_cv_path_GPERF
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16283 $as_echo "$GPERF" >&6; }
16288 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16295 $as_echo "no" >&6; }
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16304 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16305 if test -z "$GNUTAR"; then
16306 ac_path_GNUTAR_found
=false
16307 # Loop through the user's path and test for each of PROGNAME-LIST
16308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16309 for as_dir
in $PATH
16312 test -z "$as_dir" && as_dir
=.
16313 for ac_prog
in tar gtar gnutar
; do
16314 for ac_exec_ext
in '' $ac_executable_extensions; do
16315 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16316 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16317 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16318 if ${version:+false} :; then :
16323 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16328 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16330 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16336 $ac_path_GNUTAR_found && break 3
16341 if test -z "$ac_cv_path_GNUTAR"; then
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16343 $as_echo "no" >&6; }
16346 ac_cv_path_GNUTAR
=$GNUTAR
16352 GNUTAR
=$ac_cv_path_GNUTAR
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16355 $as_echo "$GNUTAR" >&6; }
16360 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16367 $as_echo "no" >&6; }
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16374 $as_echo_n "checking bison for %code{}... " >&6; }
16375 echo '%code{}%%_:' >conftest.y
16376 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16378 for element
in Bison24
; do
16380 for x
in $CY_FILTERS; do
16382 acl_save_prefix
="$prefix"
16383 prefix
="$acl_final_prefix"
16384 acl_save_exec_prefix
="$exec_prefix"
16385 exec_prefix
="$acl_final_exec_prefix"
16387 exec_prefix
="$acl_save_exec_prefix"
16388 prefix
="$acl_save_prefix"
16390 if test "X$x" = "X$element"; then
16395 if test -z "$haveit"; then
16396 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16401 $as_echo "yes" >&6; }
16404 for element
in Bison23
; do
16406 for x
in $CY_FILTERS; do
16408 acl_save_prefix
="$prefix"
16409 prefix
="$acl_final_prefix"
16410 acl_save_exec_prefix
="$exec_prefix"
16411 exec_prefix
="$acl_final_exec_prefix"
16413 exec_prefix
="$acl_save_exec_prefix"
16414 prefix
="$acl_save_prefix"
16416 if test "X$x" = "X$element"; then
16421 if test -z "$haveit"; then
16422 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16427 $as_echo "no" >&6; }
16443 if ${CFLAGS+:} false
; then :
16444 case " $CFLAGS " in
16446 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16447 (: CFLAGS already contains
) 2>&5
16449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16450 test $ac_status = 0; }
16453 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16454 (: CFLAGS
="$CFLAGS ") 2>&5
16456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16457 test $ac_status = 0; }
16466 ac_cpp
='$CPP $CPPFLAGS'
16467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16472 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16473 if ${ac_cv_cflags_warn_all+:} false
; then :
16474 $as_echo_n "(cached) " >&6
16476 ac_cv_cflags_warn_all
="no, unknown"
16477 ac_save_CFLAGS
="$CFLAGS"
16478 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" #
16479 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16481 /* end confdefs.h. */
16491 if ac_fn_c_try_compile
"$LINENO"; then :
16492 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16496 CFLAGS
="$ac_save_CFLAGS"
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16500 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16502 case ".$ac_cv_cflags_warn_all" in
16505 *) if ${CFLAGS+:} false
; then :
16506 case " $CFLAGS " in
16507 *" $ac_cv_cflags_warn_all "*)
16508 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16509 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16512 test $ac_status = 0; }
16515 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16516 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16519 test $ac_status = 0; }
16520 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16524 CFLAGS
="$ac_cv_cflags_warn_all"
16530 ac_cpp
='$CXXCPP $CPPFLAGS'
16531 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16532 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16533 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16537 ac_cpp
='$CXXCPP $CPPFLAGS'
16538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16543 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16544 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16545 $as_echo_n "(cached) " >&6
16547 ac_cv_cxxflags_warn_all
="no, unknown"
16548 ac_save_CXXFLAGS
="$CXXFLAGS"
16549 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" #
16550 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16552 /* end confdefs.h. */
16562 if ac_fn_cxx_try_compile
"$LINENO"; then :
16563 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16567 CXXFLAGS
="$ac_save_CXXFLAGS"
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16571 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16573 case ".$ac_cv_cxxflags_warn_all" in
16576 *) if ${CXXFLAGS+:} false
; then :
16577 case " $CXXFLAGS " in
16578 *" $ac_cv_cxxflags_warn_all "*)
16579 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16580 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16583 test $ac_status = 0; }
16586 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16587 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16590 test $ac_status = 0; }
16591 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16595 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16601 ac_cpp
='$CXXCPP $CPPFLAGS'
16602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16612 ac_cpp
='$CPP $CPPFLAGS'
16613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
16618 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
16622 for element
in -Wno-deprecated-declarations; do
16624 for x
in $CFLAGS; do
16626 acl_save_prefix
="$prefix"
16627 prefix
="$acl_final_prefix"
16628 acl_save_exec_prefix
="$exec_prefix"
16629 exec_prefix
="$acl_final_exec_prefix"
16631 exec_prefix
="$acl_save_exec_prefix"
16632 prefix
="$acl_save_prefix"
16634 if test "X$x" = "X$element"; then
16639 if test -z "$haveit"; then
16640 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16646 /* end confdefs.h. */
16649 if ac_fn_c_try_compile
"$LINENO"; then :
16654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16657 if test "x$cy_good" = x1
; then :
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16659 $as_echo "yes" >&6; }
16661 for element
in -Wno-deprecated-declarations; do
16663 for x
in $CFLAGS; do
16665 acl_save_prefix
="$prefix"
16666 prefix
="$acl_final_prefix"
16667 acl_save_exec_prefix
="$exec_prefix"
16668 exec_prefix
="$acl_final_exec_prefix"
16670 exec_prefix
="$acl_save_exec_prefix"
16671 prefix
="$acl_save_prefix"
16673 if test "X$x" = "X$element"; then
16678 if test -z "$haveit"; then
16679 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16686 $as_echo "no" >&6; }
16690 ac_cpp
='$CXXCPP $CPPFLAGS'
16691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16698 ac_cpp
='$CXXCPP $CPPFLAGS'
16699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
16704 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
16708 for element
in -Wno-deprecated-declarations; do
16710 for x
in $CXXFLAGS; do
16712 acl_save_prefix
="$prefix"
16713 prefix
="$acl_final_prefix"
16714 acl_save_exec_prefix
="$exec_prefix"
16715 exec_prefix
="$acl_final_exec_prefix"
16717 exec_prefix
="$acl_save_exec_prefix"
16718 prefix
="$acl_save_prefix"
16720 if test "X$x" = "X$element"; then
16725 if test -z "$haveit"; then
16726 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16735 if ac_fn_cxx_try_compile
"$LINENO"; then :
16740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16743 if test "x$cy_good" = x1
; then :
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16745 $as_echo "yes" >&6; }
16747 for element
in -Wno-deprecated-declarations; do
16749 for x
in $CXXFLAGS; do
16751 acl_save_prefix
="$prefix"
16752 prefix
="$acl_final_prefix"
16753 acl_save_exec_prefix
="$exec_prefix"
16754 exec_prefix
="$acl_final_exec_prefix"
16756 exec_prefix
="$acl_save_exec_prefix"
16757 prefix
="$acl_save_prefix"
16759 if test "X$x" = "X$element"; then
16764 if test -z "$haveit"; then
16765 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16772 $as_echo "no" >&6; }
16776 ac_cpp
='$CXXCPP $CPPFLAGS'
16777 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16778 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16779 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16784 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16785 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16786 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16787 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
16790 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
16792 cy_save
=$OBJCXXFLAGS
16794 for element
in -Wno-deprecated-declarations; do
16796 for x
in $OBJCXXFLAGS; do
16798 acl_save_prefix
="$prefix"
16799 prefix
="$acl_final_prefix"
16800 acl_save_exec_prefix
="$exec_prefix"
16801 exec_prefix
="$acl_final_exec_prefix"
16803 exec_prefix
="$acl_save_exec_prefix"
16804 prefix
="$acl_save_prefix"
16806 if test "X$x" = "X$element"; then
16811 if test -z "$haveit"; then
16812 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16818 /* end confdefs.h. */
16821 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16828 OBJCXXFLAGS
=$cy_save
16829 if test "x$cy_good" = x1
; then :
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16831 $as_echo "yes" >&6; }
16833 for element
in -Wno-deprecated-declarations; do
16835 for x
in $OBJCXXFLAGS; do
16837 acl_save_prefix
="$prefix"
16838 prefix
="$acl_final_prefix"
16839 acl_save_exec_prefix
="$exec_prefix"
16840 exec_prefix
="$acl_final_exec_prefix"
16842 exec_prefix
="$acl_save_exec_prefix"
16843 prefix
="$acl_save_prefix"
16845 if test "X$x" = "X$element"; then
16850 if test -z "$haveit"; then
16851 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16858 $as_echo "no" >&6; }
16862 ac_cpp
='$CXXCPP $CPPFLAGS'
16863 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16864 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16865 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16873 ac_cpp
='$CPP $CPPFLAGS'
16874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
16879 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
16883 for element
in -Wno-dangling-else; do
16885 for x
in $CFLAGS; do
16887 acl_save_prefix
="$prefix"
16888 prefix
="$acl_final_prefix"
16889 acl_save_exec_prefix
="$exec_prefix"
16890 exec_prefix
="$acl_final_exec_prefix"
16892 exec_prefix
="$acl_save_exec_prefix"
16893 prefix
="$acl_save_prefix"
16895 if test "X$x" = "X$element"; then
16900 if test -z "$haveit"; then
16901 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h. */
16910 if ac_fn_c_try_compile
"$LINENO"; then :
16915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16918 if test "x$cy_good" = x1
; then :
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16920 $as_echo "yes" >&6; }
16922 for element
in -Wno-dangling-else; do
16924 for x
in $CFLAGS; do
16926 acl_save_prefix
="$prefix"
16927 prefix
="$acl_final_prefix"
16928 acl_save_exec_prefix
="$exec_prefix"
16929 exec_prefix
="$acl_final_exec_prefix"
16931 exec_prefix
="$acl_save_exec_prefix"
16932 prefix
="$acl_save_prefix"
16934 if test "X$x" = "X$element"; then
16939 if test -z "$haveit"; then
16940 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16947 $as_echo "no" >&6; }
16951 ac_cpp
='$CXXCPP $CPPFLAGS'
16952 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16953 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16954 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16959 ac_cpp
='$CXXCPP $CPPFLAGS'
16960 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16961 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16962 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
16965 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
16969 for element
in -Wno-dangling-else; do
16971 for x
in $CXXFLAGS; do
16973 acl_save_prefix
="$prefix"
16974 prefix
="$acl_final_prefix"
16975 acl_save_exec_prefix
="$exec_prefix"
16976 exec_prefix
="$acl_final_exec_prefix"
16978 exec_prefix
="$acl_save_exec_prefix"
16979 prefix
="$acl_save_prefix"
16981 if test "X$x" = "X$element"; then
16986 if test -z "$haveit"; then
16987 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16996 if ac_fn_cxx_try_compile
"$LINENO"; then :
17001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17004 if test "x$cy_good" = x1
; then :
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17006 $as_echo "yes" >&6; }
17008 for element
in -Wno-dangling-else; do
17010 for x
in $CXXFLAGS; do
17012 acl_save_prefix
="$prefix"
17013 prefix
="$acl_final_prefix"
17014 acl_save_exec_prefix
="$exec_prefix"
17015 exec_prefix
="$acl_final_exec_prefix"
17017 exec_prefix
="$acl_save_exec_prefix"
17018 prefix
="$acl_save_prefix"
17020 if test "X$x" = "X$element"; then
17025 if test -z "$haveit"; then
17026 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17033 $as_echo "no" >&6; }
17037 ac_cpp
='$CXXCPP $CPPFLAGS'
17038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17045 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17046 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17047 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17048 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
17051 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
17053 cy_save
=$OBJCXXFLAGS
17055 for element
in -Wno-dangling-else; do
17057 for x
in $OBJCXXFLAGS; do
17059 acl_save_prefix
="$prefix"
17060 prefix
="$acl_final_prefix"
17061 acl_save_exec_prefix
="$exec_prefix"
17062 exec_prefix
="$acl_final_exec_prefix"
17064 exec_prefix
="$acl_save_exec_prefix"
17065 prefix
="$acl_save_prefix"
17067 if test "X$x" = "X$element"; then
17072 if test -z "$haveit"; then
17073 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17082 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17089 OBJCXXFLAGS
=$cy_save
17090 if test "x$cy_good" = x1
; then :
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17092 $as_echo "yes" >&6; }
17094 for element
in -Wno-dangling-else; do
17096 for x
in $OBJCXXFLAGS; do
17098 acl_save_prefix
="$prefix"
17099 prefix
="$acl_final_prefix"
17100 acl_save_exec_prefix
="$exec_prefix"
17101 exec_prefix
="$acl_final_exec_prefix"
17103 exec_prefix
="$acl_save_exec_prefix"
17104 prefix
="$acl_save_prefix"
17106 if test "X$x" = "X$element"; then
17111 if test -z "$haveit"; then
17112 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17119 $as_echo "no" >&6; }
17123 ac_cpp
='$CXXCPP $CPPFLAGS'
17124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17133 ac_cpp
='$CPP $CPPFLAGS'
17134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
17139 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
17143 for element
in -Wno-overloaded-virtual; do
17145 for x
in $CFLAGS; do
17147 acl_save_prefix
="$prefix"
17148 prefix
="$acl_final_prefix"
17149 acl_save_exec_prefix
="$exec_prefix"
17150 exec_prefix
="$acl_final_exec_prefix"
17152 exec_prefix
="$acl_save_exec_prefix"
17153 prefix
="$acl_save_prefix"
17155 if test "X$x" = "X$element"; then
17160 if test -z "$haveit"; then
17161 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17170 if ac_fn_c_try_compile
"$LINENO"; then :
17175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17178 if test "x$cy_good" = x1
; then :
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17180 $as_echo "yes" >&6; }
17182 for element
in -Wno-overloaded-virtual; do
17184 for x
in $CFLAGS; do
17186 acl_save_prefix
="$prefix"
17187 prefix
="$acl_final_prefix"
17188 acl_save_exec_prefix
="$exec_prefix"
17189 exec_prefix
="$acl_final_exec_prefix"
17191 exec_prefix
="$acl_save_exec_prefix"
17192 prefix
="$acl_save_prefix"
17194 if test "X$x" = "X$element"; then
17199 if test -z "$haveit"; then
17200 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17207 $as_echo "no" >&6; }
17211 ac_cpp
='$CXXCPP $CPPFLAGS'
17212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17219 ac_cpp
='$CXXCPP $CPPFLAGS'
17220 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17221 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17222 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
17225 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
17229 for element
in -Wno-overloaded-virtual; do
17231 for x
in $CXXFLAGS; do
17233 acl_save_prefix
="$prefix"
17234 prefix
="$acl_final_prefix"
17235 acl_save_exec_prefix
="$exec_prefix"
17236 exec_prefix
="$acl_final_exec_prefix"
17238 exec_prefix
="$acl_save_exec_prefix"
17239 prefix
="$acl_save_prefix"
17241 if test "X$x" = "X$element"; then
17246 if test -z "$haveit"; then
17247 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17256 if ac_fn_cxx_try_compile
"$LINENO"; then :
17261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17264 if test "x$cy_good" = x1
; then :
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17266 $as_echo "yes" >&6; }
17268 for element
in -Wno-overloaded-virtual; do
17270 for x
in $CXXFLAGS; do
17272 acl_save_prefix
="$prefix"
17273 prefix
="$acl_final_prefix"
17274 acl_save_exec_prefix
="$exec_prefix"
17275 exec_prefix
="$acl_final_exec_prefix"
17277 exec_prefix
="$acl_save_exec_prefix"
17278 prefix
="$acl_save_prefix"
17280 if test "X$x" = "X$element"; then
17285 if test -z "$haveit"; then
17286 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17293 $as_echo "no" >&6; }
17297 ac_cpp
='$CXXCPP $CPPFLAGS'
17298 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17299 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17300 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17305 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17306 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17307 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17308 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
17311 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
17313 cy_save
=$OBJCXXFLAGS
17315 for element
in -Wno-overloaded-virtual; do
17317 for x
in $OBJCXXFLAGS; do
17319 acl_save_prefix
="$prefix"
17320 prefix
="$acl_final_prefix"
17321 acl_save_exec_prefix
="$exec_prefix"
17322 exec_prefix
="$acl_final_exec_prefix"
17324 exec_prefix
="$acl_save_exec_prefix"
17325 prefix
="$acl_save_prefix"
17327 if test "X$x" = "X$element"; then
17332 if test -z "$haveit"; then
17333 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17339 /* end confdefs.h. */
17342 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17349 OBJCXXFLAGS
=$cy_save
17350 if test "x$cy_good" = x1
; then :
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17352 $as_echo "yes" >&6; }
17354 for element
in -Wno-overloaded-virtual; do
17356 for x
in $OBJCXXFLAGS; do
17358 acl_save_prefix
="$prefix"
17359 prefix
="$acl_final_prefix"
17360 acl_save_exec_prefix
="$exec_prefix"
17361 exec_prefix
="$acl_final_exec_prefix"
17363 exec_prefix
="$acl_save_exec_prefix"
17364 prefix
="$acl_save_prefix"
17366 if test "X$x" = "X$element"; then
17371 if test -z "$haveit"; then
17372 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17379 $as_echo "no" >&6; }
17383 ac_cpp
='$CXXCPP $CPPFLAGS'
17384 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17393 ac_cpp
='$CPP $CPPFLAGS'
17394 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
17399 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
17403 for element
in -Wno-parentheses; do
17405 for x
in $CFLAGS; do
17407 acl_save_prefix
="$prefix"
17408 prefix
="$acl_final_prefix"
17409 acl_save_exec_prefix
="$exec_prefix"
17410 exec_prefix
="$acl_final_exec_prefix"
17412 exec_prefix
="$acl_save_exec_prefix"
17413 prefix
="$acl_save_prefix"
17415 if test "X$x" = "X$element"; then
17420 if test -z "$haveit"; then
17421 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17430 if ac_fn_c_try_compile
"$LINENO"; then :
17435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17438 if test "x$cy_good" = x1
; then :
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17440 $as_echo "yes" >&6; }
17442 for element
in -Wno-parentheses; do
17444 for x
in $CFLAGS; do
17446 acl_save_prefix
="$prefix"
17447 prefix
="$acl_final_prefix"
17448 acl_save_exec_prefix
="$exec_prefix"
17449 exec_prefix
="$acl_final_exec_prefix"
17451 exec_prefix
="$acl_save_exec_prefix"
17452 prefix
="$acl_save_prefix"
17454 if test "X$x" = "X$element"; then
17459 if test -z "$haveit"; then
17460 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17467 $as_echo "no" >&6; }
17471 ac_cpp
='$CXXCPP $CPPFLAGS'
17472 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17473 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17474 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17479 ac_cpp
='$CXXCPP $CPPFLAGS'
17480 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17481 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17482 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
17485 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
17489 for element
in -Wno-parentheses; do
17491 for x
in $CXXFLAGS; do
17493 acl_save_prefix
="$prefix"
17494 prefix
="$acl_final_prefix"
17495 acl_save_exec_prefix
="$exec_prefix"
17496 exec_prefix
="$acl_final_exec_prefix"
17498 exec_prefix
="$acl_save_exec_prefix"
17499 prefix
="$acl_save_prefix"
17501 if test "X$x" = "X$element"; then
17506 if test -z "$haveit"; then
17507 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17516 if ac_fn_cxx_try_compile
"$LINENO"; then :
17521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17524 if test "x$cy_good" = x1
; then :
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17526 $as_echo "yes" >&6; }
17528 for element
in -Wno-parentheses; do
17530 for x
in $CXXFLAGS; do
17532 acl_save_prefix
="$prefix"
17533 prefix
="$acl_final_prefix"
17534 acl_save_exec_prefix
="$exec_prefix"
17535 exec_prefix
="$acl_final_exec_prefix"
17537 exec_prefix
="$acl_save_exec_prefix"
17538 prefix
="$acl_save_prefix"
17540 if test "X$x" = "X$element"; then
17545 if test -z "$haveit"; then
17546 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17553 $as_echo "no" >&6; }
17557 ac_cpp
='$CXXCPP $CPPFLAGS'
17558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17565 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17566 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17567 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17568 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
17571 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
17573 cy_save
=$OBJCXXFLAGS
17575 for element
in -Wno-parentheses; do
17577 for x
in $OBJCXXFLAGS; do
17579 acl_save_prefix
="$prefix"
17580 prefix
="$acl_final_prefix"
17581 acl_save_exec_prefix
="$exec_prefix"
17582 exec_prefix
="$acl_final_exec_prefix"
17584 exec_prefix
="$acl_save_exec_prefix"
17585 prefix
="$acl_save_prefix"
17587 if test "X$x" = "X$element"; then
17592 if test -z "$haveit"; then
17593 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17602 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17609 OBJCXXFLAGS
=$cy_save
17610 if test "x$cy_good" = x1
; then :
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17612 $as_echo "yes" >&6; }
17614 for element
in -Wno-parentheses; do
17616 for x
in $OBJCXXFLAGS; do
17618 acl_save_prefix
="$prefix"
17619 prefix
="$acl_final_prefix"
17620 acl_save_exec_prefix
="$exec_prefix"
17621 exec_prefix
="$acl_final_exec_prefix"
17623 exec_prefix
="$acl_save_exec_prefix"
17624 prefix
="$acl_save_prefix"
17626 if test "X$x" = "X$element"; then
17631 if test -z "$haveit"; then
17632 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17639 $as_echo "no" >&6; }
17643 ac_cpp
='$CXXCPP $CPPFLAGS'
17644 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17653 ac_cpp
='$CPP $CPPFLAGS'
17654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
17659 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
17663 for element
in -Wno-unneeded-internal-declaration; do
17665 for x
in $CFLAGS; do
17667 acl_save_prefix
="$prefix"
17668 prefix
="$acl_final_prefix"
17669 acl_save_exec_prefix
="$exec_prefix"
17670 exec_prefix
="$acl_final_exec_prefix"
17672 exec_prefix
="$acl_save_exec_prefix"
17673 prefix
="$acl_save_prefix"
17675 if test "X$x" = "X$element"; then
17680 if test -z "$haveit"; then
17681 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17690 if ac_fn_c_try_compile
"$LINENO"; then :
17695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17698 if test "x$cy_good" = x1
; then :
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17700 $as_echo "yes" >&6; }
17702 for element
in -Wno-unneeded-internal-declaration; do
17704 for x
in $CFLAGS; do
17706 acl_save_prefix
="$prefix"
17707 prefix
="$acl_final_prefix"
17708 acl_save_exec_prefix
="$exec_prefix"
17709 exec_prefix
="$acl_final_exec_prefix"
17711 exec_prefix
="$acl_save_exec_prefix"
17712 prefix
="$acl_save_prefix"
17714 if test "X$x" = "X$element"; then
17719 if test -z "$haveit"; then
17720 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17727 $as_echo "no" >&6; }
17731 ac_cpp
='$CXXCPP $CPPFLAGS'
17732 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17733 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17734 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17739 ac_cpp
='$CXXCPP $CPPFLAGS'
17740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
17745 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
17749 for element
in -Wno-unneeded-internal-declaration; do
17751 for x
in $CXXFLAGS; do
17753 acl_save_prefix
="$prefix"
17754 prefix
="$acl_final_prefix"
17755 acl_save_exec_prefix
="$exec_prefix"
17756 exec_prefix
="$acl_final_exec_prefix"
17758 exec_prefix
="$acl_save_exec_prefix"
17759 prefix
="$acl_save_prefix"
17761 if test "X$x" = "X$element"; then
17766 if test -z "$haveit"; then
17767 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17773 /* end confdefs.h. */
17776 if ac_fn_cxx_try_compile
"$LINENO"; then :
17781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17784 if test "x$cy_good" = x1
; then :
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17786 $as_echo "yes" >&6; }
17788 for element
in -Wno-unneeded-internal-declaration; do
17790 for x
in $CXXFLAGS; do
17792 acl_save_prefix
="$prefix"
17793 prefix
="$acl_final_prefix"
17794 acl_save_exec_prefix
="$exec_prefix"
17795 exec_prefix
="$acl_final_exec_prefix"
17797 exec_prefix
="$acl_save_exec_prefix"
17798 prefix
="$acl_save_prefix"
17800 if test "X$x" = "X$element"; then
17805 if test -z "$haveit"; then
17806 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17813 $as_echo "no" >&6; }
17817 ac_cpp
='$CXXCPP $CPPFLAGS'
17818 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17819 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17820 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17825 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17826 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17827 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17828 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
17831 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
17833 cy_save
=$OBJCXXFLAGS
17835 for element
in -Wno-unneeded-internal-declaration; do
17837 for x
in $OBJCXXFLAGS; do
17839 acl_save_prefix
="$prefix"
17840 prefix
="$acl_final_prefix"
17841 acl_save_exec_prefix
="$exec_prefix"
17842 exec_prefix
="$acl_final_exec_prefix"
17844 exec_prefix
="$acl_save_exec_prefix"
17845 prefix
="$acl_save_prefix"
17847 if test "X$x" = "X$element"; then
17852 if test -z "$haveit"; then
17853 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17862 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17869 OBJCXXFLAGS
=$cy_save
17870 if test "x$cy_good" = x1
; then :
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17872 $as_echo "yes" >&6; }
17874 for element
in -Wno-unneeded-internal-declaration; do
17876 for x
in $OBJCXXFLAGS; do
17878 acl_save_prefix
="$prefix"
17879 prefix
="$acl_final_prefix"
17880 acl_save_exec_prefix
="$exec_prefix"
17881 exec_prefix
="$acl_final_exec_prefix"
17883 exec_prefix
="$acl_save_exec_prefix"
17884 prefix
="$acl_save_prefix"
17886 if test "X$x" = "X$element"; then
17891 if test -z "$haveit"; then
17892 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17899 $as_echo "no" >&6; }
17903 ac_cpp
='$CXXCPP $CPPFLAGS'
17904 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17905 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17906 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17911 for cy_arch
in ppc ppc64 i386 x86_64 armv6
; do
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
17913 $as_echo_n "checking for -arch $cy_arch... " >&6; }
17917 for element
in "-arch $cy_arch"; do
17919 for x
in $CXXFLAGS; do
17921 acl_save_prefix
="$prefix"
17922 prefix
="$acl_final_prefix"
17923 acl_save_exec_prefix
="$exec_prefix"
17924 exec_prefix
="$acl_final_exec_prefix"
17926 exec_prefix
="$acl_save_exec_prefix"
17927 prefix
="$acl_save_prefix"
17929 if test "X$x" = "X$element"; then
17934 if test -z "$haveit"; then
17935 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17941 /* end confdefs.h. */
17951 if ac_fn_cxx_try_link
"$LINENO"; then :
17956 rm -f core conftest.err conftest.
$ac_objext \
17957 conftest
$ac_exeext conftest.
$ac_ext
17960 if test "x$cy_good" = x1
; then :
17961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17962 $as_echo "yes" >&6; }
17964 for element
in "-arch $cy_arch"; do
17966 for x
in $CY_ARCH; do
17968 acl_save_prefix
="$prefix"
17969 prefix
="$acl_final_prefix"
17970 acl_save_exec_prefix
="$exec_prefix"
17971 exec_prefix
="$acl_final_exec_prefix"
17973 exec_prefix
="$acl_save_exec_prefix"
17974 prefix
="$acl_save_prefix"
17976 if test "X$x" = "X$element"; then
17981 if test -z "$haveit"; then
17982 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17989 $as_echo "no" >&6; }
18001 # Check whether --enable-javascript was given.
18002 if test "${enable_javascript+set}" = set; then :
18003 enableval
=$enable_javascript;
18004 case $enableval in #(
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18011 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18012 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18013 $as_echo_n "(cached) " >&6
18016 ac_check_framework_save_LIBS
=$LIBS
18017 LIBS
="-framework JavaScriptCore $LIBS"
18018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18021 #include <JavaScriptCore/JSBase.h>
18027 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18033 if ac_fn_cxx_try_link
"$LINENO"; then :
18035 ac_cv_framework_JavaScriptCore
=yes
18038 ac_cv_framework_JavaScriptCore
=no
18040 rm -f core conftest.err conftest.
$ac_objext \
18041 conftest
$ac_exeext conftest.
$ac_ext
18042 LIBS
=$ac_check_framework_save_LIBS
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18046 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18047 if test $ac_cv_framework_JavaScriptCore = yes; then :
18050 for element
in "-framework JavaScriptCore"; do
18054 acl_save_prefix
="$prefix"
18055 prefix
="$acl_final_prefix"
18056 acl_save_exec_prefix
="$exec_prefix"
18057 exec_prefix
="$acl_final_exec_prefix"
18059 exec_prefix
="$acl_save_exec_prefix"
18060 prefix
="$acl_save_prefix"
18062 if test "X$x" = "X$element"; then
18067 if test -z "$haveit"; then
18068 LIBS
="${LIBS}${LIBS:+ }$element"
18079 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18083 $as_echo_n "checking for WEBKIT... " >&6; }
18085 if test -n "$WEBKIT_CFLAGS"; then
18086 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18087 elif test -n "$PKG_CONFIG"; then
18088 if test -n "$PKG_CONFIG" && \
18089 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18090 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18093 test $ac_status = 0; }; then
18094 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18101 if test -n "$WEBKIT_LIBS"; then
18102 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18103 elif test -n "$PKG_CONFIG"; then
18104 if test -n "$PKG_CONFIG" && \
18105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18106 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18109 test $ac_status = 0; }; then
18110 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18120 if test $pkg_failed = yes; then
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18122 $as_echo "no" >&6; }
18124 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18125 _pkg_short_errors_supported
=yes
18127 _pkg_short_errors_supported
=no
18129 if test $_pkg_short_errors_supported = yes; then
18130 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18132 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18134 # Put the nasty error message in config.log where it belongs
18135 echo "$WEBKIT_PKG_ERRORS" >&5
18138 elif test $pkg_failed = untried
; then
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18140 $as_echo "no" >&6; }
18143 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18144 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18146 $as_echo "yes" >&6; }
18152 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18154 for x
in $CFLAGS; do
18156 acl_save_prefix
="$prefix"
18157 prefix
="$acl_final_prefix"
18158 acl_save_exec_prefix
="$exec_prefix"
18159 exec_prefix
="$acl_final_exec_prefix"
18161 exec_prefix
="$acl_save_exec_prefix"
18162 prefix
="$acl_save_prefix"
18164 if test "X$x" = "X$element"; then
18169 if test -z "$haveit"; then
18170 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18175 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18177 for x
in $CXXFLAGS; do
18179 acl_save_prefix
="$prefix"
18180 prefix
="$acl_final_prefix"
18181 acl_save_exec_prefix
="$exec_prefix"
18182 exec_prefix
="$acl_final_exec_prefix"
18184 exec_prefix
="$acl_save_exec_prefix"
18185 prefix
="$acl_save_prefix"
18187 if test "X$x" = "X$element"; then
18192 if test -z "$haveit"; then
18193 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18198 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18200 for x
in $OBJCXXFLAGS; do
18202 acl_save_prefix
="$prefix"
18203 prefix
="$acl_final_prefix"
18204 acl_save_exec_prefix
="$exec_prefix"
18205 exec_prefix
="$acl_final_exec_prefix"
18207 exec_prefix
="$acl_save_exec_prefix"
18208 prefix
="$acl_save_prefix"
18210 if test "X$x" = "X$element"; then
18215 if test -z "$haveit"; then
18216 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18222 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18226 acl_save_prefix
="$prefix"
18227 prefix
="$acl_final_prefix"
18228 acl_save_exec_prefix
="$exec_prefix"
18229 exec_prefix
="$acl_final_exec_prefix"
18231 exec_prefix
="$acl_save_exec_prefix"
18232 prefix
="$acl_save_prefix"
18234 if test "X$x" = "X$element"; then
18239 if test -z "$haveit"; then
18240 LIBS
="${LIBS}${LIBS:+ }$element"
18245 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18259 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18260 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18261 $as_echo_n "(cached) " >&6
18264 ac_check_framework_save_LIBS
=$LIBS
18265 LIBS
="-framework JavaScriptCore $LIBS"
18266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18267 /* end confdefs.h. */
18269 #include <JavaScriptCore/JSBase.h>
18275 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18281 if ac_fn_cxx_try_link
"$LINENO"; then :
18283 ac_cv_framework_JavaScriptCore
=yes
18286 ac_cv_framework_JavaScriptCore
=no
18288 rm -f core conftest.err conftest.
$ac_objext \
18289 conftest
$ac_exeext conftest.
$ac_ext
18290 LIBS
=$ac_check_framework_save_LIBS
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18294 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18295 if test $ac_cv_framework_JavaScriptCore = yes; then :
18298 for element
in "-framework JavaScriptCore"; do
18302 acl_save_prefix
="$prefix"
18303 prefix
="$acl_final_prefix"
18304 acl_save_exec_prefix
="$exec_prefix"
18305 exec_prefix
="$acl_final_exec_prefix"
18307 exec_prefix
="$acl_save_exec_prefix"
18308 prefix
="$acl_save_prefix"
18310 if test "X$x" = "X$element"; then
18315 if test -z "$haveit"; then
18316 LIBS
="${LIBS}${LIBS:+ }$element"
18327 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18331 $as_echo_n "checking for WEBKIT... " >&6; }
18333 if test -n "$WEBKIT_CFLAGS"; then
18334 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
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 \"\$cy_webkit_pkg\""; } >&5
18338 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18341 test $ac_status = 0; }; then
18342 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18349 if test -n "$WEBKIT_LIBS"; then
18350 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18351 elif test -n "$PKG_CONFIG"; then
18352 if test -n "$PKG_CONFIG" && \
18353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18354 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18357 test $ac_status = 0; }; then
18358 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18368 if test $pkg_failed = yes; then
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18370 $as_echo "no" >&6; }
18372 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18373 _pkg_short_errors_supported
=yes
18375 _pkg_short_errors_supported
=no
18377 if test $_pkg_short_errors_supported = yes; then
18378 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18380 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18382 # Put the nasty error message in config.log where it belongs
18383 echo "$WEBKIT_PKG_ERRORS" >&5
18386 elif test $pkg_failed = untried
; then
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18388 $as_echo "no" >&6; }
18391 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18392 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18394 $as_echo "yes" >&6; }
18400 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18402 for x
in $CFLAGS; do
18404 acl_save_prefix
="$prefix"
18405 prefix
="$acl_final_prefix"
18406 acl_save_exec_prefix
="$exec_prefix"
18407 exec_prefix
="$acl_final_exec_prefix"
18409 exec_prefix
="$acl_save_exec_prefix"
18410 prefix
="$acl_save_prefix"
18412 if test "X$x" = "X$element"; then
18417 if test -z "$haveit"; then
18418 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18423 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18425 for x
in $CXXFLAGS; do
18427 acl_save_prefix
="$prefix"
18428 prefix
="$acl_final_prefix"
18429 acl_save_exec_prefix
="$exec_prefix"
18430 exec_prefix
="$acl_final_exec_prefix"
18432 exec_prefix
="$acl_save_exec_prefix"
18433 prefix
="$acl_save_prefix"
18435 if test "X$x" = "X$element"; then
18440 if test -z "$haveit"; then
18441 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18446 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18448 for x
in $OBJCXXFLAGS; do
18450 acl_save_prefix
="$prefix"
18451 prefix
="$acl_final_prefix"
18452 acl_save_exec_prefix
="$exec_prefix"
18453 exec_prefix
="$acl_final_exec_prefix"
18455 exec_prefix
="$acl_save_exec_prefix"
18456 prefix
="$acl_save_prefix"
18458 if test "X$x" = "X$element"; then
18463 if test -z "$haveit"; then
18464 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18470 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18474 acl_save_prefix
="$prefix"
18475 prefix
="$acl_final_prefix"
18476 acl_save_exec_prefix
="$exec_prefix"
18477 exec_prefix
="$acl_final_exec_prefix"
18479 exec_prefix
="$acl_save_exec_prefix"
18480 prefix
="$acl_save_prefix"
18482 if test "X$x" = "X$element"; then
18487 if test -z "$haveit"; then
18488 LIBS
="${LIBS}${LIBS:+ }$element"
18493 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18499 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18507 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18508 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18509 $as_echo_n "(cached) " >&6
18512 ac_check_framework_save_LIBS
=$LIBS
18513 LIBS
="-framework JavaScriptCore $LIBS"
18514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18517 #include <JavaScriptCore/JSBase.h>
18523 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18529 if ac_fn_cxx_try_link
"$LINENO"; then :
18531 ac_cv_framework_JavaScriptCore
=yes
18534 ac_cv_framework_JavaScriptCore
=no
18536 rm -f core conftest.err conftest.
$ac_objext \
18537 conftest
$ac_exeext conftest.
$ac_ext
18538 LIBS
=$ac_check_framework_save_LIBS
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18542 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18543 if test $ac_cv_framework_JavaScriptCore = yes; then :
18546 for element
in "-framework JavaScriptCore"; do
18550 acl_save_prefix
="$prefix"
18551 prefix
="$acl_final_prefix"
18552 acl_save_exec_prefix
="$exec_prefix"
18553 exec_prefix
="$acl_final_exec_prefix"
18555 exec_prefix
="$acl_save_exec_prefix"
18556 prefix
="$acl_save_prefix"
18558 if test "X$x" = "X$element"; then
18563 if test -z "$haveit"; then
18564 LIBS
="${LIBS}${LIBS:+ }$element"
18575 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18579 $as_echo_n "checking for WEBKIT... " >&6; }
18581 if test -n "$WEBKIT_CFLAGS"; then
18582 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18583 elif test -n "$PKG_CONFIG"; then
18584 if test -n "$PKG_CONFIG" && \
18585 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18586 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18589 test $ac_status = 0; }; then
18590 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18597 if test -n "$WEBKIT_LIBS"; then
18598 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18599 elif test -n "$PKG_CONFIG"; then
18600 if test -n "$PKG_CONFIG" && \
18601 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18602 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18605 test $ac_status = 0; }; then
18606 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18616 if test $pkg_failed = yes; then
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18618 $as_echo "no" >&6; }
18620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18621 _pkg_short_errors_supported
=yes
18623 _pkg_short_errors_supported
=no
18625 if test $_pkg_short_errors_supported = yes; then
18626 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18628 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18630 # Put the nasty error message in config.log where it belongs
18631 echo "$WEBKIT_PKG_ERRORS" >&5
18634 elif test $pkg_failed = untried
; then
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18636 $as_echo "no" >&6; }
18639 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18640 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18642 $as_echo "yes" >&6; }
18648 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18650 for x
in $CFLAGS; do
18652 acl_save_prefix
="$prefix"
18653 prefix
="$acl_final_prefix"
18654 acl_save_exec_prefix
="$exec_prefix"
18655 exec_prefix
="$acl_final_exec_prefix"
18657 exec_prefix
="$acl_save_exec_prefix"
18658 prefix
="$acl_save_prefix"
18660 if test "X$x" = "X$element"; then
18665 if test -z "$haveit"; then
18666 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18671 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18673 for x
in $CXXFLAGS; do
18675 acl_save_prefix
="$prefix"
18676 prefix
="$acl_final_prefix"
18677 acl_save_exec_prefix
="$exec_prefix"
18678 exec_prefix
="$acl_final_exec_prefix"
18680 exec_prefix
="$acl_save_exec_prefix"
18681 prefix
="$acl_save_prefix"
18683 if test "X$x" = "X$element"; then
18688 if test -z "$haveit"; then
18689 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18694 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18696 for x
in $OBJCXXFLAGS; do
18698 acl_save_prefix
="$prefix"
18699 prefix
="$acl_final_prefix"
18700 acl_save_exec_prefix
="$exec_prefix"
18701 exec_prefix
="$acl_final_exec_prefix"
18703 exec_prefix
="$acl_save_exec_prefix"
18704 prefix
="$acl_save_prefix"
18706 if test "X$x" = "X$element"; then
18711 if test -z "$haveit"; then
18712 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18718 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18722 acl_save_prefix
="$prefix"
18723 prefix
="$acl_final_prefix"
18724 acl_save_exec_prefix
="$exec_prefix"
18725 exec_prefix
="$acl_final_exec_prefix"
18727 exec_prefix
="$acl_save_exec_prefix"
18728 prefix
="$acl_save_prefix"
18730 if test "X$x" = "X$element"; then
18735 if test -z "$haveit"; then
18736 LIBS
="${LIBS}${LIBS:+ }$element"
18741 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18752 if test "$target_os" = "os2-emx"; then
18753 # Scripts don't pass test -x on OS/2
18759 acceptable_majors
="1"
18761 apr_temp_acceptable_apr_config
=""
18762 for apr_temp_major
in $acceptable_majors
18764 case $apr_temp_major in
18766 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
18769 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
18775 $as_echo_n "checking for APR... " >&6; }
18777 # Check whether --with-apr was given.
18778 if test "${with_apr+set}" = set; then :
18780 if test "$withval" = "no" || test "$withval" = "yes"; then
18781 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
18784 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
18786 for lookdir
in "$withval/bin" "$withval"
18788 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
18789 apr_config
="$lookdir/$apr_temp_apr_config_file"
18797 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
18798 apr_config
="$withval"
18802 if test "$apr_found" != "yes"; then
18803 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
18808 if test -n "1" && test "1" = "1"; then
18809 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
18811 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
18812 apr_config
="$apr_temp_apr_config_file"
18817 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
18818 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
18819 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
18828 if test "$apr_found" = "no" && test -d ""; then
18829 apr_temp_abs_srcdir
="`cd && pwd`"
18830 apr_found
="reconfig"
18831 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
18832 case $apr_bundled_major in
18834 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
18837 apr_temp_apr_config_file
="apr-config"
18840 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
18843 if test -n ""; then
18844 apr_config
="/$apr_temp_apr_config_file"
18846 apr_config
="/$apr_temp_apr_config_file"
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
18854 $as_echo "$apr_found" >&6; }
18856 case $apr_found in #(
18860 for element
in `$apr_config --includes`; do
18862 for x
in $CPPFLAGS; do
18864 acl_save_prefix
="$prefix"
18865 prefix
="$acl_final_prefix"
18866 acl_save_exec_prefix
="$exec_prefix"
18867 exec_prefix
="$acl_final_exec_prefix"
18869 exec_prefix
="$acl_save_exec_prefix"
18870 prefix
="$acl_save_prefix"
18872 if test "X$x" = "X$element"; then
18877 if test -z "$haveit"; then
18878 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18883 for element
in `$apr_config --link-libtool`; do
18885 for x
in $LTLIBAPR; do
18887 acl_save_prefix
="$prefix"
18888 prefix
="$acl_final_prefix"
18889 acl_save_exec_prefix
="$exec_prefix"
18890 exec_prefix
="$acl_final_exec_prefix"
18892 exec_prefix
="$acl_save_exec_prefix"
18893 prefix
="$acl_save_prefix"
18895 if test "X$x" = "X$element"; then
18900 if test -z "$haveit"; then
18901 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
18908 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5 ;;
18913 if test "x$CY_EXECUTE" = x1
; then
18915 CY_EXECUTE_FALSE
='#'
18917 CY_EXECUTE_TRUE
='#'
18923 case $CY_EXECUTE in #(
18926 for ac_header
in ffi.h ffi
/ffi.h
18928 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18929 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18930 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18931 cat >>confdefs.h
<<_ACEOF
18932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18943 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
18947 C compiler flags
for LIBFFI
, overriding pkg
-config
18948 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
18952 $as_echo_n "checking for LIBFFI... " >&6; }
18954 if test -n "$LIBFFI_CFLAGS"; then
18955 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
18956 elif test -n "$PKG_CONFIG"; then
18957 if test -n "$PKG_CONFIG" && \
18958 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
18959 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
18961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18962 test $ac_status = 0; }; then
18963 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
18970 if test -n "$LIBFFI_LIBS"; then
18971 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
18972 elif test -n "$PKG_CONFIG"; then
18973 if test -n "$PKG_CONFIG" && \
18974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
18975 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
18977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18978 test $ac_status = 0; }; then
18979 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
18989 if test $pkg_failed = yes; then
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18991 $as_echo "no" >&6; }
18993 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18994 _pkg_short_errors_supported
=yes
18996 _pkg_short_errors_supported
=no
18998 if test $_pkg_short_errors_supported = yes; then
18999 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19001 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19003 # Put the nasty error message in config.log where it belongs
19004 echo "$LIBFFI_PKG_ERRORS" >&5
19006 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19007 elif test $pkg_failed = untried
; then
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19009 $as_echo "no" >&6; }
19010 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19012 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19013 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19015 $as_echo "yes" >&6; }
19019 for element
in `$PKG_CONFIG --cflags libffi`; do
19021 for x
in $CFLAGS; do
19023 acl_save_prefix
="$prefix"
19024 prefix
="$acl_final_prefix"
19025 acl_save_exec_prefix
="$exec_prefix"
19026 exec_prefix
="$acl_final_exec_prefix"
19028 exec_prefix
="$acl_save_exec_prefix"
19029 prefix
="$acl_save_prefix"
19031 if test "X$x" = "X$element"; then
19036 if test -z "$haveit"; then
19037 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19042 for element
in `$PKG_CONFIG --cflags libffi`; do
19044 for x
in $CXXFLAGS; do
19046 acl_save_prefix
="$prefix"
19047 prefix
="$acl_final_prefix"
19048 acl_save_exec_prefix
="$exec_prefix"
19049 exec_prefix
="$acl_final_exec_prefix"
19051 exec_prefix
="$acl_save_exec_prefix"
19052 prefix
="$acl_save_prefix"
19054 if test "X$x" = "X$element"; then
19059 if test -z "$haveit"; then
19060 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19065 for element
in `$PKG_CONFIG --cflags libffi`; do
19067 for x
in $OBJCXXFLAGS; do
19069 acl_save_prefix
="$prefix"
19070 prefix
="$acl_final_prefix"
19071 acl_save_exec_prefix
="$exec_prefix"
19072 exec_prefix
="$acl_final_exec_prefix"
19074 exec_prefix
="$acl_save_exec_prefix"
19075 prefix
="$acl_save_prefix"
19077 if test "X$x" = "X$element"; then
19082 if test -z "$haveit"; then
19083 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19089 for element
in `$PKG_CONFIG --libs libffi`; do
19093 acl_save_prefix
="$prefix"
19094 prefix
="$acl_final_prefix"
19095 acl_save_exec_prefix
="$exec_prefix"
19096 exec_prefix
="$acl_final_exec_prefix"
19098 exec_prefix
="$acl_save_exec_prefix"
19099 prefix
="$acl_save_prefix"
19101 if test "X$x" = "X$element"; then
19106 if test -z "$haveit"; then
19107 LIBS
="${LIBS}${LIBS:+ }$element"
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19117 $as_echo_n "checking for library containing ffi_call... " >&6; }
19118 if ${ac_cv_search_ffi_call+:} false
; then :
19119 $as_echo_n "(cached) " >&6
19121 ac_func_search_save_LIBS
=$LIBS
19122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19123 /* end confdefs.h. */
19125 /* Override any GCC internal prototype to avoid an error.
19126 Use char because int might match the return type of a GCC
19127 builtin and then its argument prototype would still apply. */
19135 return ffi_call ();
19140 for ac_lib
in '' ffi
; do
19141 if test -z "$ac_lib"; then
19142 ac_res
="none required"
19145 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19147 if ac_fn_cxx_try_link
"$LINENO"; then :
19148 ac_cv_search_ffi_call
=$ac_res
19150 rm -f core conftest.err conftest.
$ac_objext \
19152 if ${ac_cv_search_ffi_call+:} false
; then :
19156 if ${ac_cv_search_ffi_call+:} false
; then :
19159 ac_cv_search_ffi_call
=no
19161 rm conftest.
$ac_ext
19162 LIBS
=$ac_func_search_save_LIBS
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19165 $as_echo "$ac_cv_search_ffi_call" >&6; }
19166 ac_res
=$ac_cv_search_ffi_call
19167 if test "$ac_res" != no
; then :
19168 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19172 case $ac_cv_search_ffi_call in #(
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19178 $as_echo_n "checking for LIBFFI... " >&6; }
19180 if test -n "$LIBFFI_CFLAGS"; then
19181 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19182 elif test -n "$PKG_CONFIG"; then
19183 if test -n "$PKG_CONFIG" && \
19184 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19185 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19188 test $ac_status = 0; }; then
19189 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19196 if test -n "$LIBFFI_LIBS"; then
19197 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19198 elif test -n "$PKG_CONFIG"; then
19199 if test -n "$PKG_CONFIG" && \
19200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19201 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19204 test $ac_status = 0; }; then
19205 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19215 if test $pkg_failed = yes; then
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19217 $as_echo "no" >&6; }
19219 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19220 _pkg_short_errors_supported
=yes
19222 _pkg_short_errors_supported
=no
19224 if test $_pkg_short_errors_supported = yes; then
19225 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19227 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19229 # Put the nasty error message in config.log where it belongs
19230 echo "$LIBFFI_PKG_ERRORS" >&5
19232 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19233 elif test $pkg_failed = untried
; then
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19235 $as_echo "no" >&6; }
19236 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19238 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19239 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19241 $as_echo "yes" >&6; }
19245 for element
in `$PKG_CONFIG --cflags libffi`; do
19247 for x
in $CFLAGS; do
19249 acl_save_prefix
="$prefix"
19250 prefix
="$acl_final_prefix"
19251 acl_save_exec_prefix
="$exec_prefix"
19252 exec_prefix
="$acl_final_exec_prefix"
19254 exec_prefix
="$acl_save_exec_prefix"
19255 prefix
="$acl_save_prefix"
19257 if test "X$x" = "X$element"; then
19262 if test -z "$haveit"; then
19263 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19268 for element
in `$PKG_CONFIG --cflags libffi`; do
19270 for x
in $CXXFLAGS; do
19272 acl_save_prefix
="$prefix"
19273 prefix
="$acl_final_prefix"
19274 acl_save_exec_prefix
="$exec_prefix"
19275 exec_prefix
="$acl_final_exec_prefix"
19277 exec_prefix
="$acl_save_exec_prefix"
19278 prefix
="$acl_save_prefix"
19280 if test "X$x" = "X$element"; then
19285 if test -z "$haveit"; then
19286 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19291 for element
in `$PKG_CONFIG --cflags libffi`; do
19293 for x
in $OBJCXXFLAGS; do
19295 acl_save_prefix
="$prefix"
19296 prefix
="$acl_final_prefix"
19297 acl_save_exec_prefix
="$exec_prefix"
19298 exec_prefix
="$acl_final_exec_prefix"
19300 exec_prefix
="$acl_save_exec_prefix"
19301 prefix
="$acl_save_prefix"
19303 if test "X$x" = "X$element"; then
19308 if test -z "$haveit"; then
19309 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19315 for element
in `$PKG_CONFIG --libs libffi`; do
19319 acl_save_prefix
="$prefix"
19320 prefix
="$acl_final_prefix"
19321 acl_save_exec_prefix
="$exec_prefix"
19322 exec_prefix
="$acl_final_exec_prefix"
19324 exec_prefix
="$acl_save_exec_prefix"
19325 prefix
="$acl_save_prefix"
19327 if test "X$x" = "X$element"; then
19332 if test -z "$haveit"; then
19333 LIBS
="${LIBS}${LIBS:+ }$element"
19350 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19351 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19352 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19353 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19357 $as_echo_n "checking if we really have Objective C++... " >&6; }
19358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h. */
19362 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19366 $as_echo "yes" >&6; }
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19370 $as_echo "no" >&6; }
19372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19374 if test "x$CY_OBJECTIVEC" = x1
; then :
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19378 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19379 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19380 $as_echo_n "(cached) " >&6
19383 ac_check_framework_save_LIBS
=$LIBS
19384 LIBS
="-framework CoreFoundation $LIBS"
19385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19388 #include <CoreFoundation/CFBase.h>
19393 CFAllocatorGetDefault();
19398 if ac_fn_objcxx_try_link
"$LINENO"; then :
19400 ac_cv_framework_CoreFoundation
=yes
19403 ac_cv_framework_CoreFoundation
=no
19405 rm -f core conftest.err conftest.
$ac_objext \
19406 conftest
$ac_exeext conftest.
$ac_ext
19407 LIBS
=$ac_check_framework_save_LIBS
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19411 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19412 if test $ac_cv_framework_CoreFoundation = yes; then :
19415 for element
in "-framework CoreFoundation"; do
19419 acl_save_prefix
="$prefix"
19420 prefix
="$acl_final_prefix"
19421 acl_save_exec_prefix
="$exec_prefix"
19422 exec_prefix
="$acl_final_exec_prefix"
19424 exec_prefix
="$acl_save_exec_prefix"
19425 prefix
="$acl_save_prefix"
19427 if test "X$x" = "X$element"; then
19432 if test -z "$haveit"; then
19433 LIBS
="${LIBS}${LIBS:+ }$element"
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19443 $as_echo_n "checking for framework Foundation... " >&6; }
19444 if ${ac_cv_framework_Foundation+:} false
; then :
19445 $as_echo_n "(cached) " >&6
19448 ac_check_framework_save_LIBS
=$LIBS
19449 LIBS
="-framework Foundation $LIBS"
19450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19453 #include <Foundation/NSObject.h>
19458 [[NSObject alloc] init];
19463 if ac_fn_objcxx_try_link
"$LINENO"; then :
19465 ac_cv_framework_Foundation
=yes
19468 ac_cv_framework_Foundation
=no
19470 rm -f core conftest.err conftest.
$ac_objext \
19471 conftest
$ac_exeext conftest.
$ac_ext
19472 LIBS
=$ac_check_framework_save_LIBS
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19476 $as_echo "$ac_cv_framework_Foundation" >&6; }
19477 if test $ac_cv_framework_Foundation = yes; then :
19480 for element
in "-framework Foundation"; do
19484 acl_save_prefix
="$prefix"
19485 prefix
="$acl_final_prefix"
19486 acl_save_exec_prefix
="$exec_prefix"
19487 exec_prefix
="$acl_final_exec_prefix"
19489 exec_prefix
="$acl_save_exec_prefix"
19490 prefix
="$acl_save_prefix"
19492 if test "X$x" = "X$element"; then
19497 if test -z "$haveit"; then
19498 LIBS
="${LIBS}${LIBS:+ }$element"
19502 cat >>confdefs.h
<<_ACEOF
19503 #define HAVE_FRAMEWORK_FOUNDATION 1
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
19512 $as_echo_n "checking for framework WebKit... " >&6; }
19513 if ${ac_cv_framework_WebKit+:} false
; then :
19514 $as_echo_n "(cached) " >&6
19517 ac_check_framework_save_LIBS
=$LIBS
19518 LIBS
="-framework WebKit $LIBS"
19519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19522 #include <WebKit/WebScriptObject.h>
19527 [[WebScriptObject alloc] init];
19532 if ac_fn_objcxx_try_link
"$LINENO"; then :
19534 ac_cv_framework_WebKit
=yes
19537 ac_cv_framework_WebKit
=no
19539 rm -f core conftest.err conftest.
$ac_objext \
19540 conftest
$ac_exeext conftest.
$ac_ext
19541 LIBS
=$ac_check_framework_save_LIBS
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
19545 $as_echo "$ac_cv_framework_WebKit" >&6; }
19546 if test $ac_cv_framework_WebKit = yes; then :
19549 for element
in "-framework WebKit"; do
19553 acl_save_prefix
="$prefix"
19554 prefix
="$acl_final_prefix"
19555 acl_save_exec_prefix
="$exec_prefix"
19556 exec_prefix
="$acl_final_exec_prefix"
19558 exec_prefix
="$acl_save_exec_prefix"
19559 prefix
="$acl_save_prefix"
19561 if test "X$x" = "X$element"; then
19566 if test -z "$haveit"; then
19567 LIBS
="${LIBS}${LIBS:+ }$element"
19571 cat >>confdefs.h
<<_ACEOF
19572 #define HAVE_FRAMEWORK_WEBKIT 1
19582 for ac_prog
in gnustep
-config
19584 # Extract the first word of "$ac_prog", so it can be a program name with args.
19585 set dummy
$ac_prog; ac_word
=$2
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19587 $as_echo_n "checking for $ac_word... " >&6; }
19588 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19589 $as_echo_n "(cached) " >&6
19591 if test -n "$GNUSTEP_CONFIG"; then
19592 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19595 for as_dir
in $PATH
19598 test -z "$as_dir" && as_dir
=.
19599 for ac_exec_ext
in '' $ac_executable_extensions; do
19600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19601 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19611 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19612 if test -n "$GNUSTEP_CONFIG"; then
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19614 $as_echo "$GNUSTEP_CONFIG" >&6; }
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19617 $as_echo "no" >&6; }
19621 test -n "$GNUSTEP_CONFIG" && break
19625 if test "x$GNUSTEP_CONFIG" != x
; then :
19629 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19631 for x
in $OBJCXXFLAGS; do
19633 acl_save_prefix
="$prefix"
19634 prefix
="$acl_final_prefix"
19635 acl_save_exec_prefix
="$exec_prefix"
19636 exec_prefix
="$acl_final_exec_prefix"
19638 exec_prefix
="$acl_save_exec_prefix"
19639 prefix
="$acl_save_prefix"
19641 if test "X$x" = "X$element"; then
19646 if test -z "$haveit"; then
19647 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19652 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19656 acl_save_prefix
="$prefix"
19657 prefix
="$acl_final_prefix"
19658 acl_save_exec_prefix
="$exec_prefix"
19659 exec_prefix
="$acl_final_exec_prefix"
19661 exec_prefix
="$acl_save_exec_prefix"
19662 prefix
="$acl_save_prefix"
19664 if test "X$x" = "X$element"; then
19669 if test -z "$haveit"; then
19670 LIBS
="${LIBS}${LIBS:+ }$element"
19685 ac_cpp
='$CXXCPP $CPPFLAGS'
19686 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19687 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19688 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19695 if test "x$CY_OBJECTIVEC" = x1
; then
19696 CY_OBJECTIVEC_TRUE
=
19697 CY_OBJECTIVEC_FALSE
='#'
19699 CY_OBJECTIVEC_TRUE
='#'
19700 CY_OBJECTIVEC_FALSE
=
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19709 $as_echo_n "checking for a readline compatible library... " >&6; }
19710 if ${ax_cv_lib_readline+:} false
; then :
19711 $as_echo_n "(cached) " >&6
19715 for readline_lib
in readline edit editline
; do
19716 for termcap_lib
in "" termcap curses ncurses
; do
19717 if test -z "$termcap_lib"; then
19718 TRY_LIB
="-l$readline_lib"
19720 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19722 LIBS
="$ORIG_LIBS $TRY_LIB"
19723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19724 /* end confdefs.h. */
19726 /* Override any GCC internal prototype to avoid an error.
19727 Use char because int might match the return type of a GCC
19728 builtin and then its argument prototype would still apply. */
19736 return readline ();
19741 if ac_fn_cxx_try_link
"$LINENO"; then :
19742 ax_cv_lib_readline
="$TRY_LIB"
19744 rm -f core conftest.err conftest.
$ac_objext \
19745 conftest
$ac_exeext conftest.
$ac_ext
19746 if test -n "$ax_cv_lib_readline"; then
19750 if test -n "$ax_cv_lib_readline"; then
19754 if test -z "$ax_cv_lib_readline"; then
19755 ax_cv_lib_readline
="no"
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19761 $as_echo "$ax_cv_lib_readline" >&6; }
19763 if test "$ax_cv_lib_readline" != "no"; then
19764 LIBS
="$LIBS $ax_cv_lib_readline"
19766 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19768 for ac_header
in readline.h readline
/readline.h
19770 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19771 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19772 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19773 cat >>confdefs.h
<<_ACEOF
19774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19782 $as_echo_n "checking whether readline supports history... " >&6; }
19783 if ${ax_cv_lib_readline_history+:} false
; then :
19784 $as_echo_n "(cached) " >&6
19787 ax_cv_lib_readline_history
="no"
19788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19791 /* Override any GCC internal prototype to avoid an error.
19792 Use char because int might match the return type of a GCC
19793 builtin and then its argument prototype would still apply. */
19797 char add_history ();
19801 return add_history ();
19806 if ac_fn_cxx_try_link
"$LINENO"; then :
19807 ax_cv_lib_readline_history
="yes"
19809 rm -f core conftest.err conftest.
$ac_objext \
19810 conftest
$ac_exeext conftest.
$ac_ext
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
19814 $as_echo "$ax_cv_lib_readline_history" >&6; }
19815 if test "$ax_cv_lib_readline_history" = "yes"; then
19817 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
19819 for ac_header
in history.h readline
/history.h
19821 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19822 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19823 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19824 cat >>confdefs.h
<<_ACEOF
19825 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19835 LTLIBREADLINE
=$LIBS
19839 case $ax_cv_lib_readline in #(
19841 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
19850 $as_echo_n "checking for library containing cur_term... " >&6; }
19851 if ${ac_cv_search_cur_term+:} false
; then :
19852 $as_echo_n "(cached) " >&6
19854 ac_func_search_save_LIBS
=$LIBS
19855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19858 /* Override any GCC internal prototype to avoid an error.
19859 Use char because int might match the return type of a GCC
19860 builtin and then its argument prototype would still apply. */
19868 return cur_term ();
19873 for ac_lib
in '' termcap
; do
19874 if test -z "$ac_lib"; then
19875 ac_res
="none required"
19878 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19880 if ac_fn_cxx_try_link
"$LINENO"; then :
19881 ac_cv_search_cur_term
=$ac_res
19883 rm -f core conftest.err conftest.
$ac_objext \
19885 if ${ac_cv_search_cur_term+:} false
; then :
19889 if ${ac_cv_search_cur_term+:} false
; then :
19892 ac_cv_search_cur_term
=no
19894 rm conftest.
$ac_ext
19895 LIBS
=$ac_func_search_save_LIBS
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
19898 $as_echo "$ac_cv_search_cur_term" >&6; }
19899 ac_res
=$ac_cv_search_cur_term
19900 if test "$ac_res" != no
; then :
19901 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19911 ac_cpp
='$CPP $CPPFLAGS'
19912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19917 if test "X$prefix" = "XNONE"; then
19918 acl_final_prefix
="$ac_default_prefix"
19920 acl_final_prefix
="$prefix"
19922 if test "X$exec_prefix" = "XNONE"; then
19923 acl_final_exec_prefix
='${prefix}'
19925 acl_final_exec_prefix
="$exec_prefix"
19927 acl_save_prefix
="$prefix"
19928 prefix
="$acl_final_prefix"
19929 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
19930 prefix
="$acl_save_prefix"
19934 # Check whether --with-gnu-ld was given.
19935 if test "${with_gnu_ld+set}" = set; then :
19936 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
19941 # Prepare PATH_SEPARATOR.
19942 # The user is always right.
19943 if test "${PATH_SEPARATOR+set}" != set; then
19944 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
19945 # contains only /bin. Note that ksh looks also at the FPATH variable,
19946 # so we have to set that as well for the test.
19948 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
19949 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
19950 || PATH_SEPARATOR
=';'
19955 if test "$GCC" = yes; then
19956 # Check if gcc -print-prog-name=ld gives a path.
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19958 $as_echo_n "checking for ld used by $CC... " >&6; }
19961 # gcc leaves a trailing carriage return which upsets mingw
19962 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19964 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
19967 # Accept absolute paths.
19969 re_direlt
='/[^/][^/]*/\.\./'
19970 # Canonicalize the pathname of ld
19971 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
19972 while echo "$ac_prog" | grep "$re_direlt" > /dev
/null
2>&1; do
19973 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
19975 test -z "$LD" && LD
="$ac_prog"
19978 # If it fails, then pretend we aren't using GCC.
19982 # If it is relative, then search for the first ld in PATH.
19983 with_gnu_ld
=unknown
19986 elif test "$with_gnu_ld" = yes; then
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19988 $as_echo_n "checking for GNU ld... " >&6; }
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19991 $as_echo_n "checking for non-GNU ld... " >&6; }
19993 if ${acl_cv_path_LD+:} false
; then :
19994 $as_echo_n "(cached) " >&6
19996 if test -z "$LD"; then
19997 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
19998 for ac_dir
in $PATH; do
19999 IFS
="$acl_save_ifs"
20000 test -z "$ac_dir" && ac_dir
=.
20001 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20002 acl_cv_path_LD
="$ac_dir/$ac_prog"
20003 # Check to see if the program is GNU ld. I'd rather use --version,
20004 # but apparently some variants of GNU ld only accept -v.
20005 # Break only if it was the GNU/non-GNU ld that we prefer.
20006 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
20007 *GNU
* | *'with BFD'*)
20008 test "$with_gnu_ld" != no
&& break
20011 test "$with_gnu_ld" != yes && break
20016 IFS
="$acl_save_ifs"
20018 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
20022 LD
="$acl_cv_path_LD"
20023 if test -n "$LD"; then
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20025 $as_echo "$LD" >&6; }
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20028 $as_echo "no" >&6; }
20030 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20032 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20033 if ${acl_cv_prog_gnu_ld+:} false
; then :
20034 $as_echo_n "(cached) " >&6
20036 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20037 case `$LD -v 2>&1 </dev/null` in
20038 *GNU
* | *'with BFD'*)
20039 acl_cv_prog_gnu_ld
=yes
20042 acl_cv_prog_gnu_ld
=no
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
20047 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
20048 with_gnu_ld
=$acl_cv_prog_gnu_ld
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
20054 $as_echo_n "checking for shared library run path origin... " >&6; }
20055 if ${acl_cv_rpath+:} false
; then :
20056 $as_echo_n "(cached) " >&6
20059 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
20060 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
20062 rm -f .
/conftest.sh
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
20067 $as_echo "$acl_cv_rpath" >&6; }
20069 acl_libext
="$acl_cv_libext"
20070 acl_shlibext
="$acl_cv_shlibext"
20071 acl_libname_spec
="$acl_cv_libname_spec"
20072 acl_library_names_spec
="$acl_cv_library_names_spec"
20073 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
20074 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
20075 acl_hardcode_direct
="$acl_cv_hardcode_direct"
20076 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
20077 # Check whether --enable-rpath was given.
20078 if test "${enable_rpath+set}" = set; then :
20079 enableval
=$enable_rpath; :
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
20092 $as_echo_n "checking for 64-bit host... " >&6; }
20093 if ${gl_cv_solaris_64bit+:} false
; then :
20094 $as_echo_n "(cached) " >&6
20096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20097 /* end confdefs.h. */
20104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20105 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
20106 gl_cv_solaris_64bit
=yes
20108 gl_cv_solaris_64bit
=no
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
20115 $as_echo "$gl_cv_solaris_64bit" >&6; }
20116 if test $gl_cv_solaris_64bit = yes; then
20117 acl_libdirstem
=lib
/64
20118 case "$host_cpu" in
20119 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
20120 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
20125 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
20126 if test -n "$searchpath"; then
20127 acl_save_IFS
="${IFS= }"; IFS
=":"
20128 for searchdir
in $searchpath; do
20129 if test -d "$searchdir"; then
20130 case "$searchdir" in
20131 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
20133 # Better ignore directories of this form. They are misleading.
20135 *) searchdir
=`cd "$searchdir" && pwd`
20136 case "$searchdir" in
20137 */lib64
) acl_libdirstem
=lib64
;;
20142 IFS
="$acl_save_IFS"
20146 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
20161 acl_save_prefix
="$prefix"
20162 prefix
="$acl_final_prefix"
20163 acl_save_exec_prefix
="$exec_prefix"
20164 exec_prefix
="$acl_final_exec_prefix"
20166 eval additional_includedir
=\"$includedir\"
20167 eval additional_libdir
=\"$libdir\"
20169 exec_prefix
="$acl_save_exec_prefix"
20170 prefix
="$acl_save_prefix"
20173 # Check whether --with-libiconv-prefix was given.
20174 if test "${with_libiconv_prefix+set}" = set; then :
20175 withval
=$with_libiconv_prefix;
20176 if test "X$withval" = "Xno"; then
20179 if test "X$withval" = "X"; then
20181 acl_save_prefix
="$prefix"
20182 prefix
="$acl_final_prefix"
20183 acl_save_exec_prefix
="$exec_prefix"
20184 exec_prefix
="$acl_final_exec_prefix"
20186 eval additional_includedir
=\"$includedir\"
20187 eval additional_libdir
=\"$libdir\"
20189 exec_prefix
="$acl_save_exec_prefix"
20190 prefix
="$acl_save_prefix"
20193 additional_includedir
="$withval/include"
20194 additional_libdir
="$withval/$acl_libdirstem"
20195 if test "$acl_libdirstem2" != "$acl_libdirstem" \
20196 && ! test -d "$withval/$acl_libdirstem"; then
20197 additional_libdir
="$withval/$acl_libdirstem2"
20211 names_already_handled
=
20212 names_next_round
='iconv '
20213 while test -n "$names_next_round"; do
20214 names_this_round
="$names_next_round"
20216 for name
in $names_this_round; do
20218 for n
in $names_already_handled; do
20219 if test "$n" = "$name"; then
20220 already_handled
=yes
20224 if test -z "$already_handled"; then
20225 names_already_handled
="$names_already_handled $name"
20226 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
20227 eval value
=\"\
$HAVE_LIB$uppername\"
20228 if test -n "$value"; then
20229 if test "$value" = yes; then
20230 eval value
=\"\
$LIB$uppername\"
20231 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
20232 eval value
=\"\
$LTLIB$uppername\"
20233 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
20242 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
20243 if test -n "$acl_shlibext"; then
20244 shrext
=".$acl_shlibext" # typically: shrext=.so
20248 if test $use_additional = yes; then
20249 dir
="$additional_libdir"
20250 if test -n "$acl_shlibext"; then
20251 if test -f "$dir/$libname$shrext"; then
20253 found_so
="$dir/$libname$shrext"
20255 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20256 ver
=`(cd "$dir" && \
20257 for f in "$libname$shrext".*; do echo "$f"; done \
20258 | sed -e "s,^$libname$shrext\\\\.,," \
20259 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20260 | sed 1q ) 2>/dev/null`
20261 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20263 found_so
="$dir/$libname$shrext.$ver"
20266 eval library_names
=\"$acl_library_names_spec\"
20267 for f
in $library_names; do
20268 if test -f "$dir/$f"; then
20277 if test "X$found_dir" = "X"; then
20278 if test -f "$dir/$libname.$acl_libext"; then
20280 found_a
="$dir/$libname.$acl_libext"
20283 if test "X$found_dir" != "X"; then
20284 if test -f "$dir/$libname.la"; then
20285 found_la
="$dir/$libname.la"
20289 if test "X$found_dir" = "X"; then
20290 for x
in $LDFLAGS $LTLIBICONV; do
20292 acl_save_prefix
="$prefix"
20293 prefix
="$acl_final_prefix"
20294 acl_save_exec_prefix
="$exec_prefix"
20295 exec_prefix
="$acl_final_exec_prefix"
20297 exec_prefix
="$acl_save_exec_prefix"
20298 prefix
="$acl_save_prefix"
20302 dir
=`echo "X$x" | sed -e 's/^X-L//'`
20303 if test -n "$acl_shlibext"; then
20304 if test -f "$dir/$libname$shrext"; then
20306 found_so
="$dir/$libname$shrext"
20308 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20309 ver
=`(cd "$dir" && \
20310 for f in "$libname$shrext".*; do echo "$f"; done \
20311 | sed -e "s,^$libname$shrext\\\\.,," \
20312 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20313 | sed 1q ) 2>/dev/null`
20314 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20316 found_so
="$dir/$libname$shrext.$ver"
20319 eval library_names
=\"$acl_library_names_spec\"
20320 for f
in $library_names; do
20321 if test -f "$dir/$f"; then
20330 if test "X$found_dir" = "X"; then
20331 if test -f "$dir/$libname.$acl_libext"; then
20333 found_a
="$dir/$libname.$acl_libext"
20336 if test "X$found_dir" != "X"; then
20337 if test -f "$dir/$libname.la"; then
20338 found_la
="$dir/$libname.la"
20343 if test "X$found_dir" != "X"; then
20348 if test "X$found_dir" != "X"; then
20349 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
20350 if test "X$found_so" != "X"; then
20351 if test "$enable_rpath" = no \
20352 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
20353 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
20354 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20357 for x
in $ltrpathdirs; do
20358 if test "X$x" = "X$found_dir"; then
20363 if test -z "$haveit"; then
20364 ltrpathdirs
="$ltrpathdirs $found_dir"
20366 if test "$acl_hardcode_direct" = yes; then
20367 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20369 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
20370 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20372 for x
in $rpathdirs; do
20373 if test "X$x" = "X$found_dir"; then
20378 if test -z "$haveit"; then
20379 rpathdirs
="$rpathdirs $found_dir"
20383 for x
in $LDFLAGS $LIBICONV; do
20385 acl_save_prefix
="$prefix"
20386 prefix
="$acl_final_prefix"
20387 acl_save_exec_prefix
="$exec_prefix"
20388 exec_prefix
="$acl_final_exec_prefix"
20390 exec_prefix
="$acl_save_exec_prefix"
20391 prefix
="$acl_save_prefix"
20393 if test "X$x" = "X-L$found_dir"; then
20398 if test -z "$haveit"; then
20399 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20401 if test "$acl_hardcode_minus_L" != no
; then
20402 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20404 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20410 if test "X$found_a" != "X"; then
20411 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
20413 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20416 additional_includedir
=
20417 case "$found_dir" in
20418 */$acl_libdirstem | */$acl_libdirstem/)
20419 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
20420 if test "$name" = 'iconv'; then
20421 LIBICONV_PREFIX
="$basedir"
20423 additional_includedir
="$basedir/include"
20425 */$acl_libdirstem2 | */$acl_libdirstem2/)
20426 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
20427 if test "$name" = 'iconv'; then
20428 LIBICONV_PREFIX
="$basedir"
20430 additional_includedir
="$basedir/include"
20433 if test "X$additional_includedir" != "X"; then
20434 if test "X$additional_includedir" != "X/usr/include"; then
20436 if test "X$additional_includedir" = "X/usr/local/include"; then
20437 if test -n "$GCC"; then
20439 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20443 if test -z "$haveit"; then
20444 for x
in $CPPFLAGS $INCICONV; do
20446 acl_save_prefix
="$prefix"
20447 prefix
="$acl_final_prefix"
20448 acl_save_exec_prefix
="$exec_prefix"
20449 exec_prefix
="$acl_final_exec_prefix"
20451 exec_prefix
="$acl_save_exec_prefix"
20452 prefix
="$acl_save_prefix"
20454 if test "X$x" = "X-I$additional_includedir"; then
20459 if test -z "$haveit"; then
20460 if test -d "$additional_includedir"; then
20461 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20467 if test -n "$found_la"; then
20468 save_libdir
="$libdir"
20469 case "$found_la" in
20470 */* | *\\*) .
"$found_la" ;;
20471 *) .
"./$found_la" ;;
20473 libdir
="$save_libdir"
20474 for dep
in $dependency_libs; do
20477 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
20478 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
20479 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
20481 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
20482 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
20483 if test -n "$GCC"; then
20485 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20489 if test -z "$haveit"; then
20491 for x
in $LDFLAGS $LIBICONV; do
20493 acl_save_prefix
="$prefix"
20494 prefix
="$acl_final_prefix"
20495 acl_save_exec_prefix
="$exec_prefix"
20496 exec_prefix
="$acl_final_exec_prefix"
20498 exec_prefix
="$acl_save_exec_prefix"
20499 prefix
="$acl_save_prefix"
20501 if test "X$x" = "X-L$additional_libdir"; then
20506 if test -z "$haveit"; then
20507 if test -d "$additional_libdir"; then
20508 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20512 for x
in $LDFLAGS $LTLIBICONV; do
20514 acl_save_prefix
="$prefix"
20515 prefix
="$acl_final_prefix"
20516 acl_save_exec_prefix
="$exec_prefix"
20517 exec_prefix
="$acl_final_exec_prefix"
20519 exec_prefix
="$acl_save_exec_prefix"
20520 prefix
="$acl_save_prefix"
20522 if test "X$x" = "X-L$additional_libdir"; then
20527 if test -z "$haveit"; then
20528 if test -d "$additional_libdir"; then
20529 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20536 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
20537 if test "$enable_rpath" != no
; then
20539 for x
in $rpathdirs; do
20540 if test "X$x" = "X$dir"; then
20545 if test -z "$haveit"; then
20546 rpathdirs
="$rpathdirs $dir"
20549 for x
in $ltrpathdirs; do
20550 if test "X$x" = "X$dir"; then
20555 if test -z "$haveit"; then
20556 ltrpathdirs
="$ltrpathdirs $dir"
20561 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20564 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20567 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
20568 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20574 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20575 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20581 if test "X$rpathdirs" != "X"; then
20582 if test -n "$acl_hardcode_libdir_separator"; then
20584 for found_dir
in $rpathdirs; do
20585 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
20587 acl_save_libdir
="$libdir"
20589 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20590 libdir
="$acl_save_libdir"
20591 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20593 for found_dir
in $rpathdirs; do
20594 acl_save_libdir
="$libdir"
20595 libdir
="$found_dir"
20596 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20597 libdir
="$acl_save_libdir"
20598 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20602 if test "X$ltrpathdirs" != "X"; then
20603 for found_dir
in $ltrpathdirs; do
20604 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20619 am_save_CPPFLAGS
="$CPPFLAGS"
20621 for element
in $INCICONV; do
20623 for x
in $CPPFLAGS; do
20625 acl_save_prefix
="$prefix"
20626 prefix
="$acl_final_prefix"
20627 acl_save_exec_prefix
="$exec_prefix"
20628 exec_prefix
="$acl_final_exec_prefix"
20630 exec_prefix
="$acl_save_exec_prefix"
20631 prefix
="$acl_save_prefix"
20633 if test "X$x" = "X$element"; then
20638 if test -z "$haveit"; then
20639 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
20645 $as_echo_n "checking for iconv... " >&6; }
20646 if ${am_cv_func_iconv+:} false
; then :
20647 $as_echo_n "(cached) " >&6
20650 am_cv_func_iconv
="no, consider installing GNU libiconv"
20652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20653 /* end confdefs.h. */
20655 #include <stdlib.h>
20661 iconv_t cd = iconv_open("","");
20662 iconv(cd,NULL,NULL,NULL,NULL);
20668 if ac_fn_c_try_link
"$LINENO"; then :
20669 am_cv_func_iconv
=yes
20671 rm -f core conftest.err conftest.
$ac_objext \
20672 conftest
$ac_exeext conftest.
$ac_ext
20673 if test "$am_cv_func_iconv" != yes; then
20674 am_save_LIBS
="$LIBS"
20675 LIBS
="$LIBS $LIBICONV"
20676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20677 /* end confdefs.h. */
20679 #include <stdlib.h>
20685 iconv_t cd = iconv_open("","");
20686 iconv(cd,NULL,NULL,NULL,NULL);
20692 if ac_fn_c_try_link
"$LINENO"; then :
20693 am_cv_lib_iconv
=yes
20694 am_cv_func_iconv
=yes
20696 rm -f core conftest.err conftest.
$ac_objext \
20697 conftest
$ac_exeext conftest.
$ac_ext
20698 LIBS
="$am_save_LIBS"
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
20703 $as_echo "$am_cv_func_iconv" >&6; }
20704 if test "$am_cv_func_iconv" = yes; then
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
20706 $as_echo_n "checking for working iconv... " >&6; }
20707 if ${am_cv_func_iconv_works+:} false
; then :
20708 $as_echo_n "(cached) " >&6
20711 am_save_LIBS
="$LIBS"
20712 if test $am_cv_lib_iconv = yes; then
20713 LIBS
="$LIBS $LIBICONV"
20715 if test "$cross_compiling" = yes; then :
20718 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
20719 *) am_cv_func_iconv_works
="guessing yes" ;;
20723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20724 /* end confdefs.h. */
20727 #include <string.h>
20731 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
20734 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
20735 if (cd_utf8_to_88591 != (iconv_t)(-1))
20737 static const char input[] = "\342\202\254"; /* EURO SIGN */
20739 const char *inptr = input;
20740 size_t inbytesleft = strlen (input);
20741 char *outptr = buf;
20742 size_t outbytesleft = sizeof (buf);
20743 size_t res = iconv (cd_utf8_to_88591,
20744 (char **) &inptr, &inbytesleft,
20745 &outptr, &outbytesleft);
20748 iconv_close (cd_utf8_to_88591);
20751 /* Test against Solaris 10 bug: Failures are not distinguishable from
20752 successful returns. */
20754 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
20755 if (cd_ascii_to_88591 != (iconv_t)(-1))
20757 static const char input[] = "\263";
20759 const char *inptr = input;
20760 size_t inbytesleft = strlen (input);
20761 char *outptr = buf;
20762 size_t outbytesleft = sizeof (buf);
20763 size_t res = iconv (cd_ascii_to_88591,
20764 (char **) &inptr, &inbytesleft,
20765 &outptr, &outbytesleft);
20768 iconv_close (cd_ascii_to_88591);
20771 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
20773 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
20774 if (cd_88591_to_utf8 != (iconv_t)(-1))
20776 static const char input[] = "\304";
20777 static char buf[2] = { (char)0xDE, (char)0xAD };
20778 const char *inptr = input;
20779 size_t inbytesleft = 1;
20780 char *outptr = buf;
20781 size_t outbytesleft = 1;
20782 size_t res = iconv (cd_88591_to_utf8,
20783 (char **) &inptr, &inbytesleft,
20784 &outptr, &outbytesleft);
20785 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
20787 iconv_close (cd_88591_to_utf8);
20790 #if 0 /* This bug could be worked around by the caller. */
20791 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
20793 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
20794 if (cd_88591_to_utf8 != (iconv_t)(-1))
20796 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
20798 const char *inptr = input;
20799 size_t inbytesleft = strlen (input);
20800 char *outptr = buf;
20801 size_t outbytesleft = sizeof (buf);
20802 size_t res = iconv (cd_88591_to_utf8,
20803 (char **) &inptr, &inbytesleft,
20804 &outptr, &outbytesleft);
20807 iconv_close (cd_88591_to_utf8);
20811 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
20813 if (/* Try standardized names. */
20814 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
20815 /* Try IRIX, OSF/1 names. */
20816 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
20817 /* Try AIX names. */
20818 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
20819 /* Try HP-UX names. */
20820 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
20825 if ac_fn_c_try_run
"$LINENO"; then :
20826 am_cv_func_iconv_works
=yes
20828 am_cv_func_iconv_works
=no
20830 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20831 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20834 LIBS
="$am_save_LIBS"
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
20838 $as_echo "$am_cv_func_iconv_works" >&6; }
20839 case "$am_cv_func_iconv_works" in
20840 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
20841 *) am_func_iconv
=yes ;;
20844 am_func_iconv
=no am_cv_lib_iconv
=no
20846 if test "$am_func_iconv" = yes; then
20848 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
20851 if test "$am_cv_lib_iconv" = yes; then
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
20853 $as_echo_n "checking how to link with libiconv... " >&6; }
20854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
20855 $as_echo "$LIBICONV" >&6; }
20857 CPPFLAGS
="$am_save_CPPFLAGS"
20864 if test "$am_cv_func_iconv" = yes; then
20865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
20866 $as_echo_n "checking for iconv declaration... " >&6; }
20867 if ${am_cv_proto_iconv+:} false
; then :
20868 $as_echo_n "(cached) " >&6
20871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h. */
20874 #include <stdlib.h>
20880 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
20881 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
20894 if ac_fn_c_try_compile
"$LINENO"; then :
20895 am_cv_proto_iconv_arg1
=""
20897 am_cv_proto_iconv_arg1
="const"
20899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20900 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);"
20903 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
20905 $am_cv_proto_iconv" >&5
20907 $am_cv_proto_iconv" >&6; }
20909 cat >>confdefs.h
<<_ACEOF
20910 #define ICONV_CONST $am_cv_proto_iconv_arg1
20916 case $am_cv_func_iconv in #(
20920 as_fn_error $?
"missing \"libiconv\"" "$LINENO" 5 ;;
20923 ac_cpp
='$CXXCPP $CPPFLAGS'
20924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20933 if test "x$CY_EXECUTE" = x1
; then :
20935 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20936 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20938 if test -n "$ac_tool_prefix"; then
20939 for ac_prog
in lipo
20941 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20942 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20944 $as_echo_n "checking for $ac_word... " >&6; }
20945 if ${ac_cv_prog__LIPO+:} false
; then :
20946 $as_echo_n "(cached) " >&6
20948 if test -n "$_LIPO"; then
20949 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20952 for as_dir
in $PATH
20955 test -z "$as_dir" && as_dir
=.
20956 for ac_exec_ext
in '' $ac_executable_extensions; do
20957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20958 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20968 _LIPO
=$ac_cv_prog__LIPO
20969 if test -n "$_LIPO"; then
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20971 $as_echo "$_LIPO" >&6; }
20973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20974 $as_echo "no" >&6; }
20978 test -n "$_LIPO" && break
20981 if test -z "$_LIPO"; then
20983 for ac_prog
in lipo
20985 # Extract the first word of "$ac_prog", so it can be a program name with args.
20986 set dummy
$ac_prog; ac_word
=$2
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20988 $as_echo_n "checking for $ac_word... " >&6; }
20989 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20990 $as_echo_n "(cached) " >&6
20992 if test -n "$ac_ct__LIPO"; then
20993 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20996 for as_dir
in $PATH
20999 test -z "$as_dir" && as_dir
=.
21000 for ac_exec_ext
in '' $ac_executable_extensions; do
21001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21002 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
21003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21012 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
21013 if test -n "$ac_ct__LIPO"; then
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
21015 $as_echo "$ac_ct__LIPO" >&6; }
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21018 $as_echo "no" >&6; }
21022 test -n "$ac_ct__LIPO" && break
21025 if test "x$ac_ct__LIPO" = x
; then
21026 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
21028 case $cross_compiling:$ac_tool_warned in
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21032 ac_tool_warned
=yes ;;
21038 if test -n "$ac_tool_prefix"; then
21041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21042 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21044 $as_echo_n "checking for $ac_word... " >&6; }
21045 if ${ac_cv_prog__NM+:} false
; then :
21046 $as_echo_n "(cached) " >&6
21048 if test -n "$_NM"; then
21049 ac_cv_prog__NM
="$_NM" # Let the user override the test.
21051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21052 for as_dir
in $PATH
21055 test -z "$as_dir" && as_dir
=.
21056 for ac_exec_ext
in '' $ac_executable_extensions; do
21057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21058 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
21059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21068 _NM
=$ac_cv_prog__NM
21069 if test -n "$_NM"; then
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
21071 $as_echo "$_NM" >&6; }
21073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21074 $as_echo "no" >&6; }
21078 test -n "$_NM" && break
21081 if test -z "$_NM"; then
21085 # Extract the first word of "$ac_prog", so it can be a program name with args.
21086 set dummy
$ac_prog; ac_word
=$2
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21088 $as_echo_n "checking for $ac_word... " >&6; }
21089 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
21090 $as_echo_n "(cached) " >&6
21092 if test -n "$ac_ct__NM"; then
21093 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
21095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21096 for as_dir
in $PATH
21099 test -z "$as_dir" && as_dir
=.
21100 for ac_exec_ext
in '' $ac_executable_extensions; do
21101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21102 ac_cv_prog_ac_ct__NM
="$ac_prog"
21103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21112 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
21113 if test -n "$ac_ct__NM"; then
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
21115 $as_echo "$ac_ct__NM" >&6; }
21117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21118 $as_echo "no" >&6; }
21122 test -n "$ac_ct__NM" && break
21125 if test "x$ac_ct__NM" = x
; then
21126 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
21128 case $cross_compiling:$ac_tool_warned in
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21132 ac_tool_warned
=yes ;;
21138 if test -n "$ac_tool_prefix"; then
21139 for ac_prog
in otool
21141 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21142 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21144 $as_echo_n "checking for $ac_word... " >&6; }
21145 if ${ac_cv_prog__OTOOL+:} false
; then :
21146 $as_echo_n "(cached) " >&6
21148 if test -n "$_OTOOL"; then
21149 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
21151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21152 for as_dir
in $PATH
21155 test -z "$as_dir" && as_dir
=.
21156 for ac_exec_ext
in '' $ac_executable_extensions; do
21157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21158 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
21159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21168 _OTOOL
=$ac_cv_prog__OTOOL
21169 if test -n "$_OTOOL"; then
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
21171 $as_echo "$_OTOOL" >&6; }
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21174 $as_echo "no" >&6; }
21178 test -n "$_OTOOL" && break
21181 if test -z "$_OTOOL"; then
21182 ac_ct__OTOOL
=$_OTOOL
21183 for ac_prog
in otool
21185 # Extract the first word of "$ac_prog", so it can be a program name with args.
21186 set dummy
$ac_prog; ac_word
=$2
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21188 $as_echo_n "checking for $ac_word... " >&6; }
21189 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
21190 $as_echo_n "(cached) " >&6
21192 if test -n "$ac_ct__OTOOL"; then
21193 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
21195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21196 for as_dir
in $PATH
21199 test -z "$as_dir" && as_dir
=.
21200 for ac_exec_ext
in '' $ac_executable_extensions; do
21201 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21202 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
21203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21212 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
21213 if test -n "$ac_ct__OTOOL"; then
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
21215 $as_echo "$ac_ct__OTOOL" >&6; }
21217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21218 $as_echo "no" >&6; }
21222 test -n "$ac_ct__OTOOL" && break
21225 if test "x$ac_ct__OTOOL" = x
; then
21226 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
21228 case $cross_compiling:$ac_tool_warned in
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21232 ac_tool_warned
=yes ;;
21234 _OTOOL
=$ac_ct__OTOOL
21238 CY_ATTACH_GROUP
=procmod
21246 if test "x$CY_MACH" = x1
; then
21255 ac_config_files
="$ac_config_files Makefile"
21257 cat >confcache
<<\_ACEOF
21258 # This file is a shell script that caches the results of configure
21259 # tests run on this system so they can be shared between configure
21260 # scripts and configure runs, see configure's option --config-cache.
21261 # It is not useful on other systems. If it contains results you don't
21262 # want to keep, you may remove or edit it.
21264 # config.status only pays attention to the cache file if you give it
21265 # the --recheck option to rerun configure.
21267 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21268 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21269 # following values.
21273 # The following way of writing the cache mishandles newlines in values,
21274 # but we know of no workaround that is simple, portable, and efficient.
21275 # So, we kill variables containing newlines.
21276 # Ultrix sh set writes to stderr and can't be redirected directly,
21277 # and sets the high bit in the cache file unless we assign to the vars.
21279 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21280 eval ac_val
=\$
$ac_var
21284 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21285 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21288 _
| IFS
| as_nl
) ;; #(
21289 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21290 *) { eval $ac_var=; unset $ac_var;} ;;
21296 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21297 *${as_nl}ac_space
=\
*)
21298 # `set' does not quote correctly, so add quotes: double-quote
21299 # substitution turns \\\\ into \\, and sed turns \\ into \.
21302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21305 # `set' quotes correctly as required by POSIX, so do not add quotes.
21306 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21315 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21317 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21319 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21320 if test -w "$cache_file"; then
21321 if test "x$cache_file" != "x/dev/null"; then
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21323 $as_echo "$as_me: updating cache $cache_file" >&6;}
21324 if test ! -f "$cache_file" || test -h "$cache_file"; then
21325 cat confcache
>"$cache_file"
21327 case $cache_file in #(
21329 mv -f confcache
"$cache_file"$$
&&
21330 mv -f "$cache_file"$$
"$cache_file" ;; #(
21332 mv -f confcache
"$cache_file" ;;
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21338 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21343 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21344 # Let make expand exec_prefix.
21345 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21347 DEFS
=-DHAVE_CONFIG_H
21352 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21353 # 1. Remove the extension, and $U if already installed.
21354 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21355 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21356 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21357 # will be set to the directory where LIBOBJS objects are built.
21358 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21359 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21361 LIBOBJS
=$ac_libobjs
21363 LTLIBOBJS
=$ac_ltlibobjs
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21367 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21368 if test -n "$am_sleep_pid"; then
21369 # Hide warnings about reused PIDs.
21370 wait $am_sleep_pid 2>/dev
/null
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21373 $as_echo "done" >&6; }
21374 if test -n "$EXEEXT"; then
21376 am__EXEEXT_FALSE
='#'
21378 am__EXEEXT_TRUE
='#'
21382 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21383 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21386 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21387 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
21388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21390 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
21391 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
21392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21394 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21395 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21398 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
21399 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
21400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21402 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
21403 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
21404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21406 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
21407 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
21408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21411 : "${CONFIG_STATUS=./config.status}"
21413 ac_clean_files_save
=$ac_clean_files
21414 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21416 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21418 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21420 # Generated by $as_me.
21421 # Run this file to recreate the current configuration.
21422 # Compiler output produced by configure, useful for debugging
21423 # configure, is in config.log if it exists.
21426 ac_cs_recheck=false
21429 SHELL=\${CONFIG_SHELL-$SHELL}
21432 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
21433 ## -------------------- ##
21434 ## M4sh Initialization. ##
21435 ## -------------------- ##
21437 # Be more Bourne compatible
21438 DUALCASE
=1; export DUALCASE
# for MKS sh
21439 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21442 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21443 # is contrary to our usage. Disable this feature.
21444 alias -g '${1+"$@"}'='"$@"'
21445 setopt NO_GLOB_SUBST
21447 case `(set -o) 2>/dev/null` in #(
21459 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21460 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21461 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21462 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21463 # Prefer a ksh shell builtin over an external printf program on Solaris,
21464 # but without wasting forks for bash or zsh.
21465 if test -z "$BASH_VERSION$ZSH_VERSION" \
21466 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21467 as_echo='print
-r --'
21468 as_echo_n='print
-rn --'
21469 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21470 as_echo='printf %s
\n'
21471 as_echo_n='printf %s
'
21473 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21474 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21475 as_echo_n='/usr
/ucb
/echo -n'
21477 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21478 as_echo_n_body='eval
21482 expr "X$arg" : "X\\(.*\\)$as_nl";
21483 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21485 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21487 export as_echo_n_body
21488 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21490 export as_echo_body
21491 as_echo='sh
-c $as_echo_body as_echo
'
21494 # The user is always right.
21495 if test "${PATH_SEPARATOR+set}" != set; then
21497 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21498 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21505 # We need space, tab and new line, in precisely that order. Quoting is
21506 # there to prevent editors from complaining about space-tab.
21507 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21508 # splitting by setting IFS to empty value.)
21511 # Find who we are. Look in the path if we contain no directory separator.
21514 *[\\/]* ) as_myself=$0 ;;
21515 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21516 for as_dir in $PATH
21519 test -z "$as_dir" && as_dir=.
21520 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21526 # We did not find ourselves, most probably we were run as `sh COMMAND'
21527 # in which case we are not to be found in the path.
21528 if test "x$as_myself" = x
; then
21531 if test ! -f "$as_myself"; then
21532 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21536 # Unset variables that we do not need and which cause bugs (e.g. in
21537 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21538 # suppresses any "Segmentation fault" message there. '((' could
21539 # trigger a bug in pdksh 5.2.14.
21540 for as_var
in BASH_ENV ENV MAIL MAILPATH
21541 do eval test x\
${$as_var+set} = xset \
21542 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
21555 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
21558 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21559 # ----------------------------------------
21560 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21561 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21562 # script with STATUS, using 1 if that was 0.
21565 as_status
=$1; test $as_status -eq 0 && as_status
=1
21567 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21568 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21570 $as_echo "$as_me: error: $2" >&2
21571 as_fn_exit
$as_status
21575 # as_fn_set_status STATUS
21576 # -----------------------
21577 # Set $? to STATUS, without forking.
21578 as_fn_set_status
()
21581 } # as_fn_set_status
21583 # as_fn_exit STATUS
21584 # -----------------
21585 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21589 as_fn_set_status
$1
21595 # Portably unset VAR.
21598 { eval $1=; unset $1;}
21600 as_unset
=as_fn_unset
21601 # as_fn_append VAR VALUE
21602 # ----------------------
21603 # Append the text in VALUE to the end of the definition contained in VAR. Take
21604 # advantage of any shell optimizations that allow amortized linear growth over
21605 # repeated appends, instead of the typical quadratic growth present in naive
21607 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21608 eval 'as_fn_append ()
21619 # as_fn_arith ARG...
21620 # ------------------
21621 # Perform arithmetic evaluation on the ARGs, and store the result in the
21622 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21623 # must be portable across $(()) and expr.
21624 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
21625 eval 'as_fn_arith ()
21632 as_val
=`expr "$@" || test $? -eq 1`
21637 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21638 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21644 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21645 as_basename
=basename
21650 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21656 as_me
=`$as_basename -- "$0" ||
21657 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21658 X"$0" : 'X\(//\)$' \| \
21659 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21661 sed '/^.*\/\([^/][^/]*\)\/*$/{
21675 # Avoid depending upon Character Ranges.
21676 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21677 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21678 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21679 as_cr_digits
='0123456789'
21680 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21682 ECHO_C
= ECHO_N
= ECHO_T
=
21683 case `echo -n x` in #(((((
21685 case `echo 'xy\c'` in
21686 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21688 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21695 rm -f conf$$ conf$$.exe conf$$.
file
21696 if test -d conf$$.dir
; then
21697 rm -f conf$$.dir
/conf$$.
file
21700 mkdir conf$$.dir
2>/dev
/null
21702 if (echo >conf$$.
file) 2>/dev
/null
; then
21703 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21705 # ... but there are two gotchas:
21706 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21707 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21708 # In both cases, we have to default to `cp -pR'.
21709 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
21711 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21719 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21720 rmdir conf$$.dir
2>/dev
/null
21725 # Create "$as_dir" as a directory, including parents if necessary.
21730 -*) as_dir
=.
/$as_dir;;
21732 test -d "$as_dir" || eval $as_mkdir_p || {
21736 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21737 *) as_qdir
=$as_dir;;
21739 as_dirs
="'$as_qdir' $as_dirs"
21740 as_dir
=`$as_dirname -- "$as_dir" ||
21741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21742 X"$as_dir" : 'X\(//\)[^/]' \| \
21743 X"$as_dir" : 'X\(//\)$' \| \
21744 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21745 $as_echo X"$as_dir" |
21746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21750 /^X\(\/\/\)[^/].*/{
21763 test -d "$as_dir" && break
21765 test -z "$as_dirs" || eval "mkdir $as_dirs"
21766 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21770 if mkdir -p .
2>/dev
/null
; then
21771 as_mkdir_p
='mkdir -p "$as_dir"'
21773 test -d .
/-p && rmdir .
/-p
21778 # as_fn_executable_p FILE
21779 # -----------------------
21780 # Test if FILE is an executable regular file.
21781 as_fn_executable_p
()
21783 test -f "$1" && test -x "$1"
21784 } # as_fn_executable_p
21785 as_test_x
='test -x'
21786 as_executable_p
=as_fn_executable_p
21788 # Sed expression to map a string onto a valid CPP name.
21789 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21791 # Sed expression to map a string onto a valid variable name.
21792 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21796 ## ----------------------------------- ##
21797 ## Main body of $CONFIG_STATUS script. ##
21798 ## ----------------------------------- ##
21800 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21802 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21803 # Save the log message, to keep $0 and so on meaningful, and to
21804 # report actual input values of CONFIG_FILES etc. instead of their
21805 # values after options handling.
21807 This file was extended by Cycript $as_me 0.9, which was
21808 generated by GNU Autoconf 2.69. Invocation command line was
21810 CONFIG_FILES = $CONFIG_FILES
21811 CONFIG_HEADERS = $CONFIG_HEADERS
21812 CONFIG_LINKS = $CONFIG_LINKS
21813 CONFIG_COMMANDS = $CONFIG_COMMANDS
21816 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21821 case $ac_config_files in *"
21822 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21825 case $ac_config_headers in *"
21826 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21831 # Files that config.status was made for.
21832 config_files="$ac_config_files"
21833 config_headers="$ac_config_headers"
21834 config_commands="$ac_config_commands"
21838 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21840 \`$as_me' instantiates files and other configuration actions
21841 from templates according to the current configuration. Unless the files
21842 and actions are specified as TAGs, all are instantiated by default.
21844 Usage: $0 [OPTION]... [TAG]...
21846 -h, --help print this help, then exit
21847 -V, --version print version number and configuration settings, then exit
21848 --config print configuration, then exit
21849 -q, --quiet, --silent
21850 do not print progress messages
21851 -d, --debug don't remove temporary files
21852 --recheck update $as_me by reconfiguring in the same conditions
21853 --file=FILE[:TEMPLATE]
21854 instantiate the configuration file FILE
21855 --header=FILE[:TEMPLATE]
21856 instantiate the configuration header FILE
21858 Configuration files:
21861 Configuration headers:
21864 Configuration commands:
21867 Report bugs to <saurik@saurik.com>.
21868 Cycript home page: <http://www.cycript.org/>."
21871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21872 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21874 Cycript config.status 0.9
21875 configured by $0, generated by GNU Autoconf 2.69,
21876 with options \\"\$ac_cs_config\\"
21878 Copyright (C) 2012 Free Software Foundation, Inc.
21879 This config.status script is free software; the Free Software Foundation
21880 gives unlimited permission to copy, distribute and modify it."
21887 test -n "\$AWK" || AWK=awk
21890 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21891 # The default lists apply if the user does not specify any file.
21897 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21898 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21902 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21914 # Handling of the options.
21915 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21917 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21918 $as_echo "$ac_cs_version"; exit ;;
21919 --config | --confi | --conf | --con | --co | --c )
21920 $as_echo "$ac_cs_config"; exit ;;
21921 --debug | --debu | --deb | --de | --d | -d )
21923 --file | --fil | --fi | --f )
21926 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21927 '') as_fn_error $?
"missing file argument" ;;
21929 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21930 ac_need_defaults
=false
;;
21931 --header | --heade | --head | --hea )
21934 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21936 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21937 ac_need_defaults
=false
;;
21939 # Conflict between --help and --header
21940 as_fn_error $?
"ambiguous option: \`$1'
21941 Try \`$0 --help' for more information.";;
21942 --help | --hel | -h )
21943 $as_echo "$ac_cs_usage"; exit ;;
21944 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21945 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21948 # This is an error.
21949 -*) as_fn_error $?
"unrecognized option: \`$1'
21950 Try \`$0 --help' for more information." ;;
21952 *) as_fn_append ac_config_targets
" $1"
21953 ac_need_defaults
=false
;;
21959 ac_configure_extra_args
=
21961 if $ac_cs_silent; then
21963 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21968 if \$ac_cs_recheck; then
21969 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21971 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21972 CONFIG_SHELL='$SHELL'
21973 export CONFIG_SHELL
21978 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21982 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21983 ## Running $as_me. ##
21989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21993 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21996 # The HP-UX ksh and POSIX shell print the target directory to stdout
21997 # if CDPATH is set.
21998 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22000 sed_quote_subst='$sed_quote_subst'
22001 double_quote_subst='$double_quote_subst'
22002 delay_variable_subst='$delay_variable_subst'
22003 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22004 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22005 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22006 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22007 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22008 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22009 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22010 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22011 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22012 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22013 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22014 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22015 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22016 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22017 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22018 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22019 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22020 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22021 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22022 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22023 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22024 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22025 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22026 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22027 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22028 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22029 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22030 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22031 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22032 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22033 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22034 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22035 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22036 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22037 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22038 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22039 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22040 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22041 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22042 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22043 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22044 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22045 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22046 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22047 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22048 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22049 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22050 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22051 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22052 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22053 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22054 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22055 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22056 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22057 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22058 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22059 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"`'
22060 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22061 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22062 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22063 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22064 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22065 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22066 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22067 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22068 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22069 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22070 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22071 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22072 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22073 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22074 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22075 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22076 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22077 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22078 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22079 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22080 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22081 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22082 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22083 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22084 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22085 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22086 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22087 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22088 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22089 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22090 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22091 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22092 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22093 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22094 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22095 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22096 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22097 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22098 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22099 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22100 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22101 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22102 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22103 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22104 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22105 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22106 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22107 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22108 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22109 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22110 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22111 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22112 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22113 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22114 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22115 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22116 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22117 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22118 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22119 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22120 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22121 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22122 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22123 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22124 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22125 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22126 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22127 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22128 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22129 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22130 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22131 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22132 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22133 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22134 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22135 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22136 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22137 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22138 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22139 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22140 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22141 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22142 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22143 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22144 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22145 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22146 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22147 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22148 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22149 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22150 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22151 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22152 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22153 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22154 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22155 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22156 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22157 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22158 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22159 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22160 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22161 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22162 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22163 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22164 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22165 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22166 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22167 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22168 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22169 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22170 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22171 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22172 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22173 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22174 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22175 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22176 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22177 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22178 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22179 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22180 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22181 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22182 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22183 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22184 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22185 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22186 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22189 LTCFLAGS='$LTCFLAGS'
22190 compiler='$compiler_DEFAULT'
22192 # A function that is used when there is no print builtin or printf.
22193 func_fallback_echo ()
22195 eval 'cat <<_LTECHO_EOF
22200 # Quote evaled strings.
22215 deplibs_check_method \
22220 sharedlib_from_linklib_cmd \
22223 archiver_list_spec \
22229 lt_cv_sys_global_symbol_pipe \
22230 lt_cv_sys_global_symbol_to_cdecl \
22231 lt_cv_sys_global_symbol_to_c_name_address \
22232 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22233 nm_file_list_spec \
22234 lt_prog_compiler_no_builtin_flag \
22235 lt_prog_compiler_pic \
22236 lt_prog_compiler_wl \
22237 lt_prog_compiler_static \
22238 lt_cv_prog_compiler_c_o \
22247 export_dynamic_flag_spec \
22248 whole_archive_flag_spec \
22249 compiler_needs_object \
22251 allow_undefined_flag \
22252 no_undefined_flag \
22253 hardcode_libdir_flag_spec \
22254 hardcode_libdir_separator \
22258 variables_saved_for_relink \
22260 library_names_spec \
22262 install_override_mode \
22266 compiler_lib_search_dirs \
22271 compiler_lib_search_path \
22275 lt_prog_compiler_no_builtin_flag_CXX \
22276 lt_prog_compiler_pic_CXX \
22277 lt_prog_compiler_wl_CXX \
22278 lt_prog_compiler_static_CXX \
22279 lt_cv_prog_compiler_c_o_CXX \
22280 export_dynamic_flag_spec_CXX \
22281 whole_archive_flag_spec_CXX \
22282 compiler_needs_object_CXX \
22284 allow_undefined_flag_CXX \
22285 no_undefined_flag_CXX \
22286 hardcode_libdir_flag_spec_CXX \
22287 hardcode_libdir_separator_CXX \
22288 exclude_expsyms_CXX \
22289 include_expsyms_CXX \
22290 file_list_spec_CXX \
22291 compiler_lib_search_dirs_CXX \
22292 predep_objects_CXX \
22293 postdep_objects_CXX \
22296 compiler_lib_search_path_CXX; do
22297 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22298 *[\\\\\\\`\\"\\\$]*)
22299 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22302 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22307 # Double-quote double-evaled strings.
22308 for var in reload_cmds \
22309 old_postinstall_cmds \
22310 old_postuninstall_cmds \
22312 extract_expsyms_cmds \
22313 old_archive_from_new_cmds \
22314 old_archive_from_expsyms_cmds \
22316 archive_expsym_cmds \
22318 module_expsym_cmds \
22319 export_symbols_cmds \
22323 postuninstall_cmds \
22325 sys_lib_search_path_spec \
22326 sys_lib_dlsearch_path_spec \
22328 old_archive_cmds_CXX \
22329 old_archive_from_new_cmds_CXX \
22330 old_archive_from_expsyms_cmds_CXX \
22332 archive_expsym_cmds_CXX \
22334 module_expsym_cmds_CXX \
22335 export_symbols_cmds_CXX \
22337 postlink_cmds_CXX; do
22338 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22339 *[\\\\\\\`\\"\\\$]*)
22340 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22343 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22348 ac_aux_dir='$ac_aux_dir'
22349 xsi_shell='$xsi_shell'
22350 lt_shell_append='$lt_shell_append'
22352 # See if we are running on zsh, and set the options which allow our
22353 # commands through without removal of \ escapes INIT.
22354 if test -n "\${ZSH_VERSION+set}" ; then
22355 setopt NO_GLOB_SUBST
22361 TIMESTAMP='$TIMESTAMP'
22372 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22374 # Handling of arguments.
22375 for ac_config_target
in $ac_config_targets
22377 case $ac_config_target in
22378 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22379 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22380 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22381 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22383 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22388 # If the user did not use the arguments to specify the items to instantiate,
22389 # then the envvar interface is used. Set only those that are not.
22390 # We use the long form for the default assignment because of an extremely
22391 # bizarre bug on SunOS 4.1.3.
22392 if $ac_need_defaults; then
22393 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22394 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22395 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22398 # Have a temporary directory for convenience. Make it in the build tree
22399 # simply because there is no reason against having it here, and in addition,
22400 # creating and moving files from /tmp can sometimes cause problems.
22401 # Hook for its removal unless debugging.
22402 # Note that there is a small window in which the directory will not be cleaned:
22403 # after its creation but before its name has been assigned to `$tmp'.
22407 trap 'exit_status=$?
22408 : "${ac_tmp:=$tmp}"
22409 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22411 trap 'as_fn_exit 1' 1 2 13 15
22413 # Create a (secure) tmp directory for tmp files.
22416 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22420 tmp
=.
/conf$$
-$RANDOM
22421 (umask 077 && mkdir "$tmp")
22422 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22425 # Set up the scripts for CONFIG_FILES section.
22426 # No need to generate them if there are no CONFIG_FILES.
22427 # This happens for instance with `./config.status config.h'.
22428 if test -n "$CONFIG_FILES"; then
22431 ac_cr
=`echo X | tr X '\015'`
22432 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22433 # But we know of no other shell where ac_cr would be empty at this
22434 # point, so we can use a bashism as a fallback.
22435 if test "x$ac_cr" = x
; then
22436 eval ac_cr
=\$
\'\\r
\'
22438 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22439 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22442 ac_cs_awk_cr
=$ac_cr
22445 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22450 echo "cat >conf$$subs.awk <<_ACEOF" &&
22451 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22453 } >conf$$subs.sh ||
22454 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22455 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22457 for ac_last_try in false false false false false :; do
22458 . ./conf$$subs.sh ||
22459 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22461 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22462 if test $ac_delim_n = $ac_delim_num; then
22464 elif $ac_last_try; then
22465 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22467 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22470 rm -f conf$$subs.sh
22472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22473 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22477 s/^/S["/; s
/!.
*/"]=/
22487 s/\(.\{148\}\)..*/\1/
22489 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22494 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22501 s/\(.\{148\}\)..*/\1/
22503 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22507 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22512 ' <conf$$subs.awk | sed '
22517 ' >>$CONFIG_STATUS || ac_write_fail=1
22518 rm -f conf$$subs.awk
22519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22521 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22522 for (key in S) S_is_set[key] = 1
22528 nfields = split(line, field, "@
")
22530 len = length(field[1])
22531 for (i = 2; i < nfields; i++) {
22533 keylen = length(key)
22534 if (S_is_set[key]) {
22536 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22537 len += length(value) + length(field[++i])
22548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22549 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22550 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22553 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22554 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22557 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22558 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22559 # trailing colons and then remove the whole line if VPATH becomes empty
22560 # (actually we leave an empty line to preserve line numbers).
22561 if test "x
$srcdir" = x.; then
22562 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22581 fi # test -n "$CONFIG_FILES"
22583 # Set up the scripts for CONFIG_HEADERS section.
22584 # No need to generate them if there are no CONFIG_HEADERS.
22585 # This happens for instance with `./config.status Makefile'.
22586 if test -n "$CONFIG_HEADERS"; then
22587 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22591 # Transform confdefs.h into an awk script `defines.awk', embedded as
22592 # here-document in config.status, that substitutes the proper values into
22593 # config.h.in to produce config.h.
22595 # Create a delimiter string that does not exist in confdefs.h, to ease
22596 # handling of long lines.
22598 for ac_last_try in false false :; do
22599 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22600 if test -z "$ac_tt"; then
22602 elif $ac_last_try; then
22603 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22605 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22609 # For the awk script, D is an array of macro values keyed by name,
22610 # likewise P contains macro parameters if any. Preserve backslash
22611 # newline sequences.
22613 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22615 s/.\{148\}/&'"$ac_delim"'/g
22618 s/^[ ]*#[ ]*define[ ][ ]*/ /
22625 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22627 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22631 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22632 D["\
1"]=" \
3\\\\\\n
"\\/p
22634 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22639 s/.\{148\}/&'"$ac_delim"'/g
22644 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22647 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22649 ' <confdefs.h | sed '
22650 s/'"$ac_delim"'/"\\\
22651 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22654 for (key in D) D_is_set[key] = 1
22657 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22659 split(line, arg, " ")
22660 if (arg[1] == "#") {
22664 defundef
= substr
(arg
[1], 2)
22667 split(mac1
, mac2
, "(") #)
22669 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22670 if (D_is_set
[macro
]) {
22671 # Preserve the white space surrounding the "#".
22672 print prefix
"define", macro P
[macro
] D
[macro
]
22675 # Replace #undef with comments. This is necessary, for example,
22676 # in the case of _POSIX_SOURCE, which is predefined and required
22677 # on some systems where configure will not decide to define it.
22678 if (defundef
== "undef") {
22679 print
"/*", prefix defundef
, macro
, "*/"
22687 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22688 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22689 fi # test -n "$CONFIG_HEADERS"
22692 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22697 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22699 case $ac_mode$ac_tag in
22701 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22702 :[FH
]-) ac_tag
=-:-;;
22703 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22720 -) ac_f
="$ac_tmp/stdin";;
22721 *) # Look for the file first in the build tree, then in the source tree
22722 # (if the path is not absolute). The absolute path cannot be DOS-style,
22723 # because $ac_f cannot contain `:'.
22727 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22729 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22731 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22732 as_fn_append ac_file_inputs
" '$ac_f'"
22735 # Let's still pretend it is `configure' which instantiates (i.e., don't
22736 # use $as_me), people would be surprised to read:
22737 # /* config.h. Generated by config.status. */
22738 configure_input
='Generated from '`
22739 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22741 if test x
"$ac_file" != x
-; then
22742 configure_input
="$ac_file. $configure_input"
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22744 $as_echo "$as_me: creating $ac_file" >&6;}
22746 # Neutralize special characters interpreted by sed in replacement strings.
22747 case $configure_input in #(
22748 *\
&* | *\
|* | *\\* )
22749 ac_sed_conf_input
=`$as_echo "$configure_input" |
22750 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22751 *) ac_sed_conf_input
=$configure_input;;
22755 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22756 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22761 ac_dir
=`$as_dirname -- "$ac_file" ||
22762 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22763 X"$ac_file" : 'X\(//\)[^/]' \| \
22764 X"$ac_file" : 'X\(//\)$' \| \
22765 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22766 $as_echo X"$ac_file" |
22767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22771 /^X\(\/\/\)[^/].*/{
22784 as_dir
="$ac_dir"; as_fn_mkdir_p
22788 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22790 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22791 # A ".." for each directory in $ac_dir_suffix.
22792 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22793 case $ac_top_builddir_sub in
22794 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22795 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22798 ac_abs_top_builddir
=$ac_pwd
22799 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22800 # for backward compatibility:
22801 ac_top_builddir
=$ac_top_build_prefix
22804 .
) # We are building in place.
22806 ac_top_srcdir
=$ac_top_builddir_sub
22807 ac_abs_top_srcdir
=$ac_pwd ;;
22808 [\\/]* | ?
:[\\/]* ) # Absolute name.
22809 ac_srcdir
=$srcdir$ac_dir_suffix;
22810 ac_top_srcdir
=$srcdir
22811 ac_abs_top_srcdir
=$srcdir ;;
22812 *) # Relative name.
22813 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22814 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22815 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22817 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22827 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22828 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22830 ac_MKDIR_P
=$MKDIR_P
22832 [\\/$
]* | ?
:[\\/]* ) ;;
22833 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22837 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22838 # If the template does not know about datarootdir, expand it.
22839 # FIXME: This hack should be removed a few years after 2.60.
22840 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22851 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22852 *datarootdir
*) ac_datarootdir_seen
=yes;;
22853 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22855 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22858 ac_datarootdir_hack='
22859 s&@datadir@&$datadir&g
22860 s&@docdir@&$docdir&g
22861 s&@infodir@&$infodir&g
22862 s&@localedir@&$localedir&g
22863 s&@mandir@&$mandir&g
22864 s&\\\${datarootdir}&$datarootdir&g' ;;
22868 # Neutralize VPATH when `$srcdir' = `.'.
22869 # Shell code in configure.ac might set extrasub.
22870 # FIXME: do we really want to maintain this feature?
22871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22872 ac_sed_extra="$ac_vpsub
22875 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22877 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22878 s
|@configure_input@
|$ac_sed_conf_input|;t t
22879 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22880 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22881 s
&@srcdir@
&$ac_srcdir&;t t
22882 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22883 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22884 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22885 s
&@builddir@
&$ac_builddir&;t t
22886 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22887 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22888 s
&@INSTALL@
&$ac_INSTALL&;t t
22889 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22890 $ac_datarootdir_hack
22892 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22893 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22895 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22896 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22897 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22898 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22900 which seems to be undefined. Please make sure it is defined" >&5
22901 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22902 which seems to be undefined. Please make sure it is defined" >&2;}
22904 rm -f "$ac_tmp/stdin"
22906 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22907 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22909 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22915 if test x"$ac_file" != x-; then
22917 $as_echo "/* $configure_input */" \
22918 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22919 } >"$ac_tmp/config.h" \
22920 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22921 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22922 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22923 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22926 mv "$ac_tmp/config.h" "$ac_file" \
22927 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22930 $as_echo "/* $configure_input */" \
22931 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22932 || as_fn_error $? "could not create -" "$LINENO" 5
22934 # Compute "$ac_file"'s index
in $config_headers.
22937 for _am_header
in $config_headers :; do
22938 case $_am_header in
22939 $_am_arg | $_am_arg:* )
22942 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22945 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22946 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22947 X"$_am_arg" : 'X\(//\)[^/]' \| \
22948 X"$_am_arg" : 'X\(//\)$' \| \
22949 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22950 $as_echo X"$_am_arg" |
22951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22955 /^X\(\/\/\)[^/].*/{
22967 s/.*/./; q'`/stamp
-h$_am_stamp_count
22970 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22971 $as_echo "$as_me: executing $ac_file commands" >&6;}
22976 case $ac_file$ac_mode in
22977 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22978 # Older Autoconf quotes --file arguments for eval, but not when files
22979 # are listed without --file. Let's play safe and only enable the eval
22980 # if we detect the quoting.
22981 case $CONFIG_FILES in
22982 *\'*) eval set x
"$CONFIG_FILES" ;;
22983 *) set x
$CONFIG_FILES ;;
22988 # Strip MF so we end up with the name of the file.
22989 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22990 # Check whether this is an Automake generated Makefile or not.
22991 # We used to match only the files named 'Makefile.in', but
22992 # some people rename them; so instead we look at the file content.
22993 # Grep'ing the first line is not enough: some people post-process
22994 # each Makefile.in and add a new line on top of each file to say so.
22995 # Grep'ing the whole file is not good either: AIX grep has a line
22996 # limit of 2048, but all sed's we know have understand at least 4000.
22997 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22998 dirpart
=`$as_dirname -- "$mf" ||
22999 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23000 X"$mf" : 'X\(//\)[^/]' \| \
23001 X"$mf" : 'X\(//\)$' \| \
23002 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23008 /^X\(\/\/\)[^/].*/{
23024 # Extract the definition of DEPDIR, am__include, and am__quote
23025 # from the Makefile without running 'make'.
23026 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23027 test -z "$DEPDIR" && continue
23028 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23029 test -z "am__include" && continue
23030 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23031 # Find all dependency output files, they are included files with
23032 # $(DEPDIR) in their names. We invoke sed twice because it is the
23033 # simplest approach to changing $(DEPDIR) to its actual value in the
23035 for file in `sed -n "
23036 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23037 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23038 # Make sure the directory exists.
23039 test -f "$dirpart/$file" && continue
23040 fdir
=`$as_dirname -- "$file" ||
23041 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23042 X"$file" : 'X\(//\)[^/]' \| \
23043 X"$file" : 'X\(//\)$' \| \
23044 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23045 $as_echo X"$file" |
23046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23050 /^X\(\/\/\)[^/].*/{
23063 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23064 # echo "creating $dirpart/$file"
23065 echo '# dummy' > "$dirpart/$file"
23072 # See if we are running on zsh, and set the options which allow our
23073 # commands through without removal of \ escapes.
23074 if test -n "${ZSH_VERSION+set}" ; then
23075 setopt NO_GLOB_SUBST
23078 cfgfile
="${ofile}T"
23079 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23082 cat <<_LT_EOF >> "$cfgfile"
23085 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23086 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23087 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23088 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23090 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23091 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23093 # Written by Gordon Matzigkeit, 1996
23095 # This file is part of GNU Libtool.
23097 # GNU Libtool is free software; you can redistribute it and/or
23098 # modify it under the terms of the GNU General Public License as
23099 # published by the Free Software Foundation; either version 2 of
23100 # the License, or (at your option) any later version.
23102 # As a special exception to the GNU General Public License,
23103 # if you distribute this file as part of a program or library that
23104 # is built using GNU Libtool, you may include this file under the
23105 # same distribution terms that you use for the rest of that program.
23107 # GNU Libtool is distributed in the hope that it will be useful,
23108 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23109 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23110 # GNU General Public License for more details.
23112 # You should have received a copy of the GNU General Public License
23113 # along with GNU Libtool; see the file COPYING. If not, a copy
23114 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23115 # obtained by writing to the Free Software Foundation, Inc.,
23116 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23119 # The names of the tagged configurations supported by this script.
23120 available_tags="CXX "
23122 # ### BEGIN LIBTOOL CONFIG
23124 # Which release of libtool.m4 was used?
23125 macro_version=$macro_version
23126 macro_revision=$macro_revision
23128 # Whether or not to build static libraries.
23129 build_old_libs=$enable_static
23131 # Whether or not to build shared libraries.
23132 build_libtool_libs=$enable_shared
23134 # What type of objects to build.
23137 # Whether or not to optimize for fast installation.
23138 fast_install=$enable_fast_install
23140 # Shell to use when invoking shell scripts.
23143 # An echo program that protects backslashes.
23146 # The PATH separator for the build system.
23147 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23150 host_alias=$host_alias
23154 # The build system.
23155 build_alias=$build_alias
23159 # A sed program that does not truncate output.
23162 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23163 Xsed="\$SED -e 1s/^X//"
23165 # A grep program that handles long lines.
23171 # A literal string matcher.
23174 # A BSD- or MS-compatible name lister.
23177 # Whether we need soft or hard links.
23180 # What is the maximum length of a command?
23181 max_cmd_len=$max_cmd_len
23183 # Object file suffix (normally "o").
23186 # Executable file suffix (normally "").
23189 # whether the shell understands "unset".
23192 # turn spaces into newlines.
23195 # turn newlines into spaces.
23198 # convert \$build file names to \$host format.
23199 to_host_file_cmd=$lt_cv_to_host_file_cmd
23201 # convert \$build files to toolchain format.
23202 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23204 # An object symbol dumper.
23205 OBJDUMP=$lt_OBJDUMP
23207 # Method to check whether dependent libraries are shared objects.
23208 deplibs_check_method=$lt_deplibs_check_method
23210 # Command to use when deplibs_check_method = "file_magic".
23211 file_magic_cmd=$lt_file_magic_cmd
23213 # How to find potential files when deplibs_check_method = "file_magic".
23214 file_magic_glob=$lt_file_magic_glob
23216 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23217 want_nocaseglob=$lt_want_nocaseglob
23219 # DLL creation program.
23220 DLLTOOL=$lt_DLLTOOL
23222 # Command to associate shared and link libraries.
23223 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23228 # Flags to create an archive.
23229 AR_FLAGS=$lt_AR_FLAGS
23231 # How to feed a file listing to the archiver.
23232 archiver_list_spec=$lt_archiver_list_spec
23234 # A symbol stripping program.
23237 # Commands used to install an old-style archive.
23239 old_postinstall_cmds=$lt_old_postinstall_cmds
23240 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23242 # Whether to use a lock for old archive extraction.
23243 lock_old_archive_extraction=$lock_old_archive_extraction
23248 # LTCC compiler flags.
23249 LTCFLAGS=$lt_CFLAGS
23251 # Take the output of nm and produce a listing of raw symbols and C names.
23252 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23254 # Transform the output of nm in a proper C declaration.
23255 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23257 # Transform the output of nm in a C name address pair.
23258 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23260 # Transform the output of nm in a C name address pair when lib prefix is needed.
23261 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23263 # Specify filename containing input files for \$NM.
23264 nm_file_list_spec=$lt_nm_file_list_spec
23266 # The root where to search for dependent libraries,and in which our libraries should be installed.
23267 lt_sysroot=$lt_sysroot
23269 # The name of the directory that contains temporary libtool files.
23272 # Used to examine libraries when file_magic_cmd begins with "file".
23273 MAGIC_CMD=$MAGIC_CMD
23275 # Must we lock files when doing compilation?
23276 need_locks=$lt_need_locks
23279 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23281 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23282 DSYMUTIL=$lt_DSYMUTIL
23284 # Tool to change global to local symbols on Mac OS X.
23287 # Tool to manipulate fat objects and archives on Mac OS X.
23290 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23293 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23294 OTOOL64=$lt_OTOOL64
23296 # Old archive suffix (normally "a").
23299 # Shared library suffix (normally ".so").
23300 shrext_cmds=$lt_shrext_cmds
23302 # The commands to extract the exported symbol list from a shared archive.
23303 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23305 # Variables whose values should be saved in libtool wrapper scripts and
23306 # restored at link time.
23307 variables_saved_for_relink=$lt_variables_saved_for_relink
23309 # Do we need the "lib" prefix for modules?
23310 need_lib_prefix=$need_lib_prefix
23312 # Do we need a version for libraries?
23313 need_version=$need_version
23315 # Library versioning type.
23316 version_type=$version_type
23318 # Shared library runtime path variable.
23319 runpath_var=$runpath_var
23321 # Shared library path variable.
23322 shlibpath_var=$shlibpath_var
23324 # Is shlibpath searched before the hard-coded library search path?
23325 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23327 # Format of library name prefix.
23328 libname_spec=$lt_libname_spec
23330 # List of archive names. First name is the real one, the rest are links.
23331 # The last name is the one that the linker finds with -lNAME
23332 library_names_spec=$lt_library_names_spec
23334 # The coded name of the library, if different from the real name.
23335 soname_spec=$lt_soname_spec
23337 # Permission mode override for installation of shared libraries.
23338 install_override_mode=$lt_install_override_mode
23340 # Command to use after installation of a shared archive.
23341 postinstall_cmds=$lt_postinstall_cmds
23343 # Command to use after uninstallation of a shared archive.
23344 postuninstall_cmds=$lt_postuninstall_cmds
23346 # Commands used to finish a libtool library installation in a directory.
23347 finish_cmds=$lt_finish_cmds
23349 # As "finish_cmds", except a single script fragment to be evaled but
23351 finish_eval=$lt_finish_eval
23353 # Whether we should hardcode library paths into libraries.
23354 hardcode_into_libs=$hardcode_into_libs
23356 # Compile-time system search path for libraries.
23357 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23359 # Run-time system search path for libraries.
23360 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23362 # Whether dlopen is supported.
23363 dlopen_support=$enable_dlopen
23365 # Whether dlopen of programs is supported.
23366 dlopen_self=$enable_dlopen_self
23368 # Whether dlopen of statically linked programs is supported.
23369 dlopen_self_static=$enable_dlopen_self_static
23371 # Commands to strip libraries.
23372 old_striplib=$lt_old_striplib
23373 striplib=$lt_striplib
23376 # The linker used to build libraries.
23379 # How to create reloadable object files.
23380 reload_flag=$lt_reload_flag
23381 reload_cmds=$lt_reload_cmds
23383 # Commands used to build an old-style archive.
23384 old_archive_cmds=$lt_old_archive_cmds
23386 # A language specific compiler.
23389 # Is the compiler the GNU compiler?
23392 # Compiler flag to turn off builtin functions.
23393 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23395 # Additional compiler flags for building library objects.
23396 pic_flag=$lt_lt_prog_compiler_pic
23398 # How to pass a linker flag through the compiler.
23399 wl=$lt_lt_prog_compiler_wl
23401 # Compiler flag to prevent dynamic linking.
23402 link_static_flag=$lt_lt_prog_compiler_static
23404 # Does compiler simultaneously support -c and -o options?
23405 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23407 # Whether or not to add -lc for building shared libraries.
23408 build_libtool_need_lc=$archive_cmds_need_lc
23410 # Whether or not to disallow shared libs when runtime libs are static.
23411 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23413 # Compiler flag to allow reflexive dlopens.
23414 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23416 # Compiler flag to generate shared objects directly from archives.
23417 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23419 # Whether the compiler copes with passing no objects directly.
23420 compiler_needs_object=$lt_compiler_needs_object
23422 # Create an old-style archive from a shared archive.
23423 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23425 # Create a temporary old-style archive to link instead of a shared archive.
23426 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23428 # Commands used to build a shared archive.
23429 archive_cmds=$lt_archive_cmds
23430 archive_expsym_cmds=$lt_archive_expsym_cmds
23432 # Commands used to build a loadable module if different from building
23433 # a shared archive.
23434 module_cmds=$lt_module_cmds
23435 module_expsym_cmds=$lt_module_expsym_cmds
23437 # Whether we are building with GNU ld or not.
23438 with_gnu_ld=$lt_with_gnu_ld
23440 # Flag that allows shared libraries with undefined symbols to be built.
23441 allow_undefined_flag=$lt_allow_undefined_flag
23443 # Flag that enforces no undefined symbols.
23444 no_undefined_flag=$lt_no_undefined_flag
23446 # Flag to hardcode \$libdir into a binary during linking.
23447 # This must work even if \$libdir does not exist
23448 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23450 # Whether we need a single "-rpath" flag with a separated argument.
23451 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23453 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23454 # DIR into the resulting binary.
23455 hardcode_direct=$hardcode_direct
23457 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23458 # DIR into the resulting binary and the resulting library dependency is
23459 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23460 # library is relocated.
23461 hardcode_direct_absolute=$hardcode_direct_absolute
23463 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23464 # into the resulting binary.
23465 hardcode_minus_L=$hardcode_minus_L
23467 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23468 # into the resulting binary.
23469 hardcode_shlibpath_var=$hardcode_shlibpath_var
23471 # Set to "yes" if building a shared library automatically hardcodes DIR
23472 # into the library and all subsequent libraries and executables linked
23474 hardcode_automatic=$hardcode_automatic
23476 # Set to yes if linker adds runtime paths of dependent libraries
23477 # to runtime path list.
23478 inherit_rpath=$inherit_rpath
23480 # Whether libtool must link a program against all its dependency libraries.
23481 link_all_deplibs=$link_all_deplibs
23483 # Set to "yes" if exported symbols are required.
23484 always_export_symbols=$always_export_symbols
23486 # The commands to list exported symbols.
23487 export_symbols_cmds=$lt_export_symbols_cmds
23489 # Symbols that should not be listed in the preloaded symbols.
23490 exclude_expsyms=$lt_exclude_expsyms
23492 # Symbols that must always be exported.
23493 include_expsyms=$lt_include_expsyms
23495 # Commands necessary for linking programs (against libraries) with templates.
23496 prelink_cmds=$lt_prelink_cmds
23498 # Commands necessary for finishing linking programs.
23499 postlink_cmds=$lt_postlink_cmds
23501 # Specify filename containing input files.
23502 file_list_spec=$lt_file_list_spec
23504 # How to hardcode a shared library path into an executable.
23505 hardcode_action=$hardcode_action
23507 # The directories searched by this compiler when creating a shared library.
23508 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23510 # Dependencies to place before and after the objects being linked to
23511 # create a shared library.
23512 predep_objects=$lt_predep_objects
23513 postdep_objects=$lt_postdep_objects
23514 predeps=$lt_predeps
23515 postdeps=$lt_postdeps
23517 # The library search path used internally by the compiler when linking
23518 # a shared library.
23519 compiler_lib_search_path=$lt_compiler_lib_search_path
23521 # ### END LIBTOOL CONFIG
23527 cat <<\_LT_EOF
>> "$cfgfile"
23528 # AIX sometimes has problems with the GCC collect2 program. For some
23529 # reason, if we set the COLLECT_NAMES environment variable, the problems
23530 # vanish in a puff of smoke.
23531 if test "X${COLLECT_NAMES+set}" != Xset
; then
23533 export COLLECT_NAMES
23540 ltmain
="$ac_aux_dir/ltmain.sh"
23543 # We use sed instead of cat because bash on DJGPP gets confused if
23544 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23545 # text mode, it properly converts lines to CR/LF. This bash problem
23546 # is reportedly fixed, but why not run on old versions too?
23547 sed '$q' "$ltmain" >> "$cfgfile" \
23548 || (rm -f "$cfgfile"; exit 1)
23550 if test x
"$xsi_shell" = xyes
; then
23551 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23555 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23556 \ * ) func_dirname_result="${3}" ;;\
23558 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23559 && mv -f "$cfgfile.tmp" "$cfgfile" \
23560 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23561 test 0 -eq $?
|| _lt_function_replace_fail
=:
23564 sed -e '/^func_basename ()$/,/^} # func_basename /c\
23567 \ func_basename_result="${1##*/}"\
23568 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23569 && mv -f "$cfgfile.tmp" "$cfgfile" \
23570 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23571 test 0 -eq $?
|| _lt_function_replace_fail
=:
23574 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23575 func_dirname_and_basename ()\
23578 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23579 \ * ) func_dirname_result="${3}" ;;\
23581 \ func_basename_result="${1##*/}"\
23582 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23583 && mv -f "$cfgfile.tmp" "$cfgfile" \
23584 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23585 test 0 -eq $?
|| _lt_function_replace_fail
=:
23588 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23591 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23592 \ # positional parameters, so assign one to ordinary parameter first.\
23593 \ func_stripname_result=${3}\
23594 \ func_stripname_result=${func_stripname_result#"${1}"}\
23595 \ func_stripname_result=${func_stripname_result%"${2}"}\
23596 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23597 && mv -f "$cfgfile.tmp" "$cfgfile" \
23598 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23599 test 0 -eq $?
|| _lt_function_replace_fail
=:
23602 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23603 func_split_long_opt ()\
23605 \ func_split_long_opt_name=${1%%=*}\
23606 \ func_split_long_opt_arg=${1#*=}\
23607 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23608 && mv -f "$cfgfile.tmp" "$cfgfile" \
23609 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23610 test 0 -eq $?
|| _lt_function_replace_fail
=:
23613 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23614 func_split_short_opt ()\
23616 \ func_split_short_opt_arg=${1#??}\
23617 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23618 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23619 && mv -f "$cfgfile.tmp" "$cfgfile" \
23620 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23621 test 0 -eq $?
|| _lt_function_replace_fail
=:
23624 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23628 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23629 \ *) func_lo2o_result=${1} ;;\
23631 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23632 && mv -f "$cfgfile.tmp" "$cfgfile" \
23633 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23634 test 0 -eq $?
|| _lt_function_replace_fail
=:
23637 sed -e '/^func_xform ()$/,/^} # func_xform /c\
23640 func_xform_result=${1%.*}.lo\
23641 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23642 && mv -f "$cfgfile.tmp" "$cfgfile" \
23643 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23644 test 0 -eq $?
|| _lt_function_replace_fail
=:
23647 sed -e '/^func_arith ()$/,/^} # func_arith /c\
23650 func_arith_result=$(( $* ))\
23651 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23652 && mv -f "$cfgfile.tmp" "$cfgfile" \
23653 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23654 test 0 -eq $?
|| _lt_function_replace_fail
=:
23657 sed -e '/^func_len ()$/,/^} # func_len /c\
23660 func_len_result=${#1}\
23661 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
23662 && mv -f "$cfgfile.tmp" "$cfgfile" \
23663 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23664 test 0 -eq $?
|| _lt_function_replace_fail
=:
23668 if test x
"$lt_shell_append" = xyes
; then
23669 sed -e '/^func_append ()$/,/^} # func_append /c\
23672 eval "${1}+=\\${2}"\
23673 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23674 && mv -f "$cfgfile.tmp" "$cfgfile" \
23675 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23676 test 0 -eq $?
|| _lt_function_replace_fail
=:
23679 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23680 func_append_quoted ()\
23682 \ func_quote_for_eval "${2}"\
23683 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23684 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23685 && mv -f "$cfgfile.tmp" "$cfgfile" \
23686 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23687 test 0 -eq $?
|| _lt_function_replace_fail
=:
23690 # Save a `func_append' function call where possible by direct use of '+='
23691 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23692 && mv -f "$cfgfile.tmp" "$cfgfile" \
23693 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23694 test 0 -eq $?
|| _lt_function_replace_fail
=:
23696 # Save a `func_append' function call even when '+=' is not available
23697 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23698 && mv -f "$cfgfile.tmp" "$cfgfile" \
23699 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23700 test 0 -eq $?
|| _lt_function_replace_fail
=:
23703 if test x
"$_lt_function_replace_fail" = x
":"; then
23704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23705 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23709 mv -f "$cfgfile" "$ofile" ||
23710 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23714 cat <<_LT_EOF >> "$ofile"
23716 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23718 # The linker used to build libraries.
23721 # How to create reloadable object files.
23722 reload_flag=$lt_reload_flag_CXX
23723 reload_cmds=$lt_reload_cmds_CXX
23725 # Commands used to build an old-style archive.
23726 old_archive_cmds=$lt_old_archive_cmds_CXX
23728 # A language specific compiler.
23729 CC=$lt_compiler_CXX
23731 # Is the compiler the GNU compiler?
23734 # Compiler flag to turn off builtin functions.
23735 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23737 # Additional compiler flags for building library objects.
23738 pic_flag=$lt_lt_prog_compiler_pic_CXX
23740 # How to pass a linker flag through the compiler.
23741 wl=$lt_lt_prog_compiler_wl_CXX
23743 # Compiler flag to prevent dynamic linking.
23744 link_static_flag=$lt_lt_prog_compiler_static_CXX
23746 # Does compiler simultaneously support -c and -o options?
23747 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23749 # Whether or not to add -lc for building shared libraries.
23750 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23752 # Whether or not to disallow shared libs when runtime libs are static.
23753 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23755 # Compiler flag to allow reflexive dlopens.
23756 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23758 # Compiler flag to generate shared objects directly from archives.
23759 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23761 # Whether the compiler copes with passing no objects directly.
23762 compiler_needs_object=$lt_compiler_needs_object_CXX
23764 # Create an old-style archive from a shared archive.
23765 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23767 # Create a temporary old-style archive to link instead of a shared archive.
23768 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23770 # Commands used to build a shared archive.
23771 archive_cmds=$lt_archive_cmds_CXX
23772 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23774 # Commands used to build a loadable module if different from building
23775 # a shared archive.
23776 module_cmds=$lt_module_cmds_CXX
23777 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23779 # Whether we are building with GNU ld or not.
23780 with_gnu_ld=$lt_with_gnu_ld_CXX
23782 # Flag that allows shared libraries with undefined symbols to be built.
23783 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23785 # Flag that enforces no undefined symbols.
23786 no_undefined_flag=$lt_no_undefined_flag_CXX
23788 # Flag to hardcode \$libdir into a binary during linking.
23789 # This must work even if \$libdir does not exist
23790 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23792 # Whether we need a single "-rpath" flag with a separated argument.
23793 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23795 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23796 # DIR into the resulting binary.
23797 hardcode_direct=$hardcode_direct_CXX
23799 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23800 # DIR into the resulting binary and the resulting library dependency is
23801 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23802 # library is relocated.
23803 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23805 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23806 # into the resulting binary.
23807 hardcode_minus_L=$hardcode_minus_L_CXX
23809 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23810 # into the resulting binary.
23811 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23813 # Set to "yes" if building a shared library automatically hardcodes DIR
23814 # into the library and all subsequent libraries and executables linked
23816 hardcode_automatic=$hardcode_automatic_CXX
23818 # Set to yes if linker adds runtime paths of dependent libraries
23819 # to runtime path list.
23820 inherit_rpath=$inherit_rpath_CXX
23822 # Whether libtool must link a program against all its dependency libraries.
23823 link_all_deplibs=$link_all_deplibs_CXX
23825 # Set to "yes" if exported symbols are required.
23826 always_export_symbols=$always_export_symbols_CXX
23828 # The commands to list exported symbols.
23829 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23831 # Symbols that should not be listed in the preloaded symbols.
23832 exclude_expsyms=$lt_exclude_expsyms_CXX
23834 # Symbols that must always be exported.
23835 include_expsyms=$lt_include_expsyms_CXX
23837 # Commands necessary for linking programs (against libraries) with templates.
23838 prelink_cmds=$lt_prelink_cmds_CXX
23840 # Commands necessary for finishing linking programs.
23841 postlink_cmds=$lt_postlink_cmds_CXX
23843 # Specify filename containing input files.
23844 file_list_spec=$lt_file_list_spec_CXX
23846 # How to hardcode a shared library path into an executable.
23847 hardcode_action=$hardcode_action_CXX
23849 # The directories searched by this compiler when creating a shared library.
23850 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23852 # Dependencies to place before and after the objects being linked to
23853 # create a shared library.
23854 predep_objects=$lt_predep_objects_CXX
23855 postdep_objects=$lt_postdep_objects_CXX
23856 predeps=$lt_predeps_CXX
23857 postdeps=$lt_postdeps_CXX
23859 # The library search path used internally by the compiler when linking
23860 # a shared library.
23861 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23863 # ### END LIBTOOL TAG CONFIG: CXX
23874 ac_clean_files
=$ac_clean_files_save
23876 test $ac_write_fail = 0 ||
23877 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23880 # configure is writing to config.log, and then calls config.status.
23881 # config.status does its own redirection, appending to config.log.
23882 # Unfortunately, on DOS this fails, as config.log is still kept open
23883 # by configure, so config.status won't be able to write to it; its
23884 # output is simply discarded. So we exec the FD to /dev/null,
23885 # effectively closing config.log, so it can be properly (re)opened and
23886 # appended to by config.status. When coming back to configure, we
23887 # need to make the FD available again.
23888 if test "$no_create" != yes; then
23890 ac_config_status_args
=
23891 test "$silent" = yes &&
23892 ac_config_status_args
="$ac_config_status_args --quiet"
23894 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23896 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23897 # would make configure fail if this is the last instruction.
23898 $ac_cs_success || as_fn_exit
1
23900 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23902 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}