2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
14 # Copyright (C) 2009-2012 Jay Freeman (saurik)
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 # Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
142 _as_can_reexec
=no
; export _as_can_reexec
;
143 # We cannot yet assume a decent shell, so we have to provide a
144 # neutralization value for shells without unset; and this also
145 # works around shells that cannot unset nonexistent variables.
146 # Preserve -v and -x to the replacement shell.
149 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
151 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157 # Admittedly, this is quite paranoid, since all the known shells bail
158 # out after a failed `exec'.
159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec
=; unset _as_can_reexec
;}
164 if test "x$CONFIG_SHELL" = x
; then
165 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
173 case \`(set -o) 2>/dev/null\` in #(
181 as_required
="as_fn_return () { (exit \$1); }
182 as_fn_success () { as_fn_return 0; }
183 as_fn_failure () { as_fn_return 1; }
184 as_fn_ret_success () { return 0; }
185 as_fn_ret_failure () { return 1; }
188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195 exitcode=1; echo positional parameters were not saved.
197 test x\$exitcode = x0 || exit 1
199 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208 PATH=/empty FPATH=/empty; export PATH FPATH
209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211 test \$(( 1 + 1 )) = 2 || exit 1"
212 if (eval "$as_required") 2>/dev
/null
; then :
217 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
229 for as_base
in sh bash ksh sh5
; do
230 # Try only shells that exist, to save several forks.
231 as_shell
=$as_dir/$as_base
232 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$as_shell as_have_required
=yes
235 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
243 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
245 CONFIG_SHELL
=$SHELL as_have_required
=yes
250 if test "x$CONFIG_SHELL" != x
; then :
252 # We cannot yet assume a decent shell, so we have to provide a
253 # neutralization value for shells without unset; and this also
254 # works around shells that cannot unset nonexistent variables.
255 # Preserve -v and -x to the replacement shell.
258 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
260 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
265 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266 # Admittedly, this is quite paranoid, since all the known shells bail
267 # out after a failed `exec'.
268 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272 if test x
$as_have_required = xno
; then :
273 $as_echo "$0: This script requires a shell more modern than all"
274 $as_echo "$0: the shells that I found on your system."
275 if test x
${ZSH_VERSION+set} = xset
; then
276 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
279 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
280 $0: about your system, including any error possibly output
281 $0: before this message. Then install a modern shell, or
282 $0: manually run the script under such a shell if you do
289 SHELL
=${CONFIG_SHELL-/bin/sh}
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE
= GREP_OPTIONS
=
293 unset CLICOLOR_FORCE GREP_OPTIONS
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
300 # Portably unset VAR.
303 { eval $1=; unset $1;}
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" || eval $as_mkdir_p || {
338 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 $as_echo X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
411 as_val
=`expr "$@" || test $? -eq 1`
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
423 as_status
=$1; test $as_status -eq 0 && as_status
=1
425 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428 $as_echo "$as_me: error: $2" >&2
429 as_fn_exit
$as_status
432 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
439 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
451 as_me
=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
470 # Avoid depending upon Character Ranges.
471 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits
='0123456789'
475 as_cr_alnum
=$as_cr_Letters$as_cr_digits
478 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
479 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498 chmod +x
"$as_me.lineno" ||
499 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec
=no
; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
509 # Exit status is that of the last command.
513 ECHO_C
= ECHO_N
= ECHO_T
=
514 case `echo -n x` in #(((((
516 case `echo 'xy\c'` in
517 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
519 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
526 rm -f conf$$ conf$$.exe conf$$.
file
527 if test -d conf$$.dir
; then
528 rm -f conf$$.dir
/conf$$.
file
531 mkdir conf$$.dir
2>/dev
/null
533 if (echo >conf$$.
file) 2>/dev
/null
; then
534 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
536 # ... but there are two gotchas:
537 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539 # In both cases, we have to default to `cp -pR'.
540 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
542 elif ln conf$$.
file conf$$
2>/dev
/null
; then
550 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
551 rmdir conf$$.dir
2>/dev
/null
553 if mkdir -p .
2>/dev
/null
; then
554 as_mkdir_p
='mkdir -p "$as_dir"'
556 test -d .
/-p && rmdir .
/-p
561 as_executable_p
=as_fn_executable_p
563 # Sed expression to map a string onto a valid CPP name.
564 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
566 # Sed expression to map a string onto a valid variable name.
567 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
569 SHELL
=${CONFIG_SHELL-/bin/sh}
572 test -n "$DJDIR" || exec 7<&0 </dev
/null
576 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577 # so uname gets run too.
578 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
583 ac_default_prefix
=/usr
/local
585 ac_config_libobj_dir
=.
592 # Identity of this package.
593 PACKAGE_NAME
='Cycript'
594 PACKAGE_TARNAME
='cycript'
595 PACKAGE_VERSION
='0.9'
596 PACKAGE_STRING
='Cycript 0.9'
597 PACKAGE_BUGREPORT
='saurik@saurik.com'
598 PACKAGE_URL
='http://www.cycript.org/'
600 ac_unique_file
="Console.cpp"
601 # Factoring default headers for most tests.
602 ac_includes_default
="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
718 am__fastdepOBJCXX_FALSE
719 am__fastdepOBJCXX_TRUE
753 INSTALL_STRIP_PROGRAM
795 program_transform_name
808 enable_option_checking
810 enable_dependency_tracking
823 ac_precious_vars
='build_alias
852 # Initialize some variables set by options.
854 ac_init_version
=false
855 ac_unrecognized_opts
=
857 # The variables have the same names as the options, with
858 # dashes changed to underlines.
866 program_transform_name
=s
,x
,x
,
874 # Installation directory options.
875 # These are left unexpanded so users can "make install exec_prefix=/foo"
876 # and all the variables that are supposed to be based on exec_prefix
877 # by default will actually change.
878 # Use braces instead of parens because sh, perl, etc. also accept them.
879 # (The list follows the same order as the GNU Coding Standards.)
880 bindir
='${exec_prefix}/bin'
881 sbindir
='${exec_prefix}/sbin'
882 libexecdir
='${exec_prefix}/libexec'
883 datarootdir
='${prefix}/share'
884 datadir
='${datarootdir}'
885 sysconfdir
='${prefix}/etc'
886 sharedstatedir
='${prefix}/com'
887 localstatedir
='${prefix}/var'
888 includedir
='${prefix}/include'
889 oldincludedir
='/usr/include'
890 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
891 infodir
='${datarootdir}/info'
896 libdir
='${exec_prefix}/lib'
897 localedir
='${datarootdir}/locale'
898 mandir
='${datarootdir}/man'
904 # If the previous option needs an argument, assign it.
905 if test -n "$ac_prev"; then
906 eval $ac_prev=\
$ac_option
912 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
917 # Accept the important Cygnus configure options, so we can diagnose typos.
919 case $ac_dashdash$ac_option in
923 -bindir | --bindir | --bindi | --bind | --bin | --bi)
925 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
928 -build | --build | --buil | --bui | --bu)
929 ac_prev
=build_alias
;;
930 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
931 build_alias
=$ac_optarg ;;
933 -cache-file | --cache-file | --cache-fil | --cache-fi \
934 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
935 ac_prev
=cache_file
;;
936 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
937 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
938 cache_file
=$ac_optarg ;;
941 cache_file
=config.cache
;;
943 -datadir | --datadir | --datadi | --datad)
945 -datadir=* | --datadir=* | --datadi=* | --datad=*)
946 datadir
=$ac_optarg ;;
948 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
949 | --dataroo | --dataro | --datar)
950 ac_prev
=datarootdir
;;
951 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
952 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
953 datarootdir
=$ac_optarg ;;
955 -disable-* | --disable-*)
956 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
957 # Reject names that are not valid shell variable names.
958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
959 as_fn_error $?
"invalid feature name: $ac_useropt"
960 ac_useropt_orig
=$ac_useropt
961 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962 case $ac_user_opts in
966 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
967 ac_unrecognized_sep
=', ';;
969 eval enable_
$ac_useropt=no
;;
971 -docdir | --docdir | --docdi | --doc | --do)
973 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
976 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
978 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
981 -enable-* | --enable-*)
982 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
985 as_fn_error $?
"invalid feature name: $ac_useropt"
986 ac_useropt_orig
=$ac_useropt
987 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in
992 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
993 ac_unrecognized_sep
=', ';;
995 eval enable_
$ac_useropt=\
$ac_optarg ;;
997 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
998 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
999 | --exec | --exe | --ex)
1000 ac_prev
=exec_prefix
;;
1001 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1002 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1003 | --exec=* | --exe=* | --ex=*)
1004 exec_prefix
=$ac_optarg ;;
1006 -gas | --gas | --ga | --g)
1007 # Obsolete; use --with-gas.
1010 -help | --help | --hel | --he | -h)
1011 ac_init_help
=long
;;
1012 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1013 ac_init_help
=recursive
;;
1014 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1015 ac_init_help
=short
;;
1017 -host | --host | --hos | --ho)
1018 ac_prev
=host_alias
;;
1019 -host=* | --host=* | --hos=* | --ho=*)
1020 host_alias
=$ac_optarg ;;
1022 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1024 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1026 htmldir
=$ac_optarg ;;
1028 -includedir | --includedir | --includedi | --included | --include \
1029 | --includ | --inclu | --incl | --inc)
1030 ac_prev
=includedir
;;
1031 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1032 | --includ=* | --inclu=* | --incl=* | --inc=*)
1033 includedir
=$ac_optarg ;;
1035 -infodir | --infodir | --infodi | --infod | --info | --inf)
1037 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1038 infodir
=$ac_optarg ;;
1040 -libdir | --libdir | --libdi | --libd)
1042 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1043 libdir
=$ac_optarg ;;
1045 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1046 | --libexe | --libex | --libe)
1047 ac_prev
=libexecdir
;;
1048 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1049 | --libexe=* | --libex=* | --libe=*)
1050 libexecdir
=$ac_optarg ;;
1052 -localedir | --localedir | --localedi | --localed | --locale)
1053 ac_prev
=localedir
;;
1054 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1055 localedir
=$ac_optarg ;;
1057 -localstatedir | --localstatedir | --localstatedi | --localstated \
1058 | --localstate | --localstat | --localsta | --localst | --locals)
1059 ac_prev
=localstatedir
;;
1060 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1061 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1062 localstatedir
=$ac_optarg ;;
1064 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1066 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1067 mandir
=$ac_optarg ;;
1069 -nfp | --nfp | --nf)
1070 # Obsolete; use --without-fp.
1073 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1074 | --no-cr | --no-c | -n)
1077 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1078 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1081 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1082 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1083 | --oldin | --oldi | --old | --ol | --o)
1084 ac_prev
=oldincludedir
;;
1085 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1086 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1087 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1088 oldincludedir
=$ac_optarg ;;
1090 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1092 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1093 prefix
=$ac_optarg ;;
1095 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1096 | --program-pre | --program-pr | --program-p)
1097 ac_prev
=program_prefix
;;
1098 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1099 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1100 program_prefix
=$ac_optarg ;;
1102 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1103 | --program-suf | --program-su | --program-s)
1104 ac_prev
=program_suffix
;;
1105 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1106 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1107 program_suffix
=$ac_optarg ;;
1109 -program-transform-name | --program-transform-name \
1110 | --program-transform-nam | --program-transform-na \
1111 | --program-transform-n | --program-transform- \
1112 | --program-transform | --program-transfor \
1113 | --program-transfo | --program-transf \
1114 | --program-trans | --program-tran \
1115 | --progr-tra | --program-tr | --program-t)
1116 ac_prev
=program_transform_name
;;
1117 -program-transform-name=* | --program-transform-name=* \
1118 | --program-transform-nam=* | --program-transform-na=* \
1119 | --program-transform-n=* | --program-transform-=* \
1120 | --program-transform=* | --program-transfor=* \
1121 | --program-transfo=* | --program-transf=* \
1122 | --program-trans=* | --program-tran=* \
1123 | --progr-tra=* | --program-tr=* | --program-t=*)
1124 program_transform_name
=$ac_optarg ;;
1126 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1128 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1129 pdfdir
=$ac_optarg ;;
1131 -psdir | --psdir | --psdi | --psd | --ps)
1133 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1136 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1137 | -silent | --silent | --silen | --sile | --sil)
1140 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1142 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1144 sbindir
=$ac_optarg ;;
1146 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1147 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1148 | --sharedst | --shareds | --shared | --share | --shar \
1150 ac_prev
=sharedstatedir
;;
1151 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1152 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1153 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1155 sharedstatedir
=$ac_optarg ;;
1157 -site | --site | --sit)
1159 -site=* | --site=* | --sit=*)
1162 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1164 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1165 srcdir
=$ac_optarg ;;
1167 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1168 | --syscon | --sysco | --sysc | --sys | --sy)
1169 ac_prev
=sysconfdir
;;
1170 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1171 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1172 sysconfdir
=$ac_optarg ;;
1174 -target | --target | --targe | --targ | --tar | --ta | --t)
1175 ac_prev
=target_alias
;;
1176 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1177 target_alias
=$ac_optarg ;;
1179 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1182 -version | --version | --versio | --versi | --vers | -V)
1183 ac_init_version
=: ;;
1186 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error $?
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=\
$ac_optarg ;;
1201 -without-* | --without-*)
1202 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1205 as_fn_error $?
"invalid package name: $ac_useropt"
1206 ac_useropt_orig
=$ac_useropt
1207 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in
1212 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1213 ac_unrecognized_sep
=', ';;
1215 eval with_
$ac_useropt=no
;;
1218 # Obsolete; use --with-x.
1221 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1222 | --x-incl | --x-inc | --x-in | --x-i)
1223 ac_prev
=x_includes
;;
1224 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1225 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1226 x_includes
=$ac_optarg ;;
1228 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1229 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1230 ac_prev
=x_libraries
;;
1231 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1232 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1233 x_libraries
=$ac_optarg ;;
1235 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1236 Try \`$0 --help' for more information"
1240 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1241 # Reject names that are not valid shell variable names.
1242 case $ac_envvar in #(
1243 '' | [0-9]* | *[!_$as_cr_alnum]* )
1244 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1246 eval $ac_envvar=\
$ac_optarg
1247 export $ac_envvar ;;
1250 # FIXME: should be removed in autoconf 3.0.
1251 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1252 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1253 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1254 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1260 if test -n "$ac_prev"; then
1261 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1262 as_fn_error $?
"missing argument to $ac_option"
1265 if test -n "$ac_unrecognized_opts"; then
1266 case $enable_option_checking in
1268 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1273 # Check all directory arguments for consistency.
1274 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1275 datadir sysconfdir sharedstatedir localstatedir includedir \
1276 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1277 libdir localedir mandir
1279 eval ac_val
=\$
$ac_var
1280 # Remove trailing slashes.
1283 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1284 eval $ac_var=\
$ac_val;;
1286 # Be sure to have absolute directory names.
1288 [\\/$
]* | ?
:[\\/]* ) continue;;
1289 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1291 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target
=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x
; then
1303 if test "x$build_alias" = x
; then
1304 cross_compiling
=maybe
1305 elif test "x$build_alias" != "x$host_alias"; then
1311 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1313 test "$silent" = yes && exec 6>/dev
/null
1316 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1317 ac_ls_di
=`ls -di .` &&
1318 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1319 as_fn_error $?
"working directory cannot be determined"
1320 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1321 as_fn_error $?
"pwd does not report name of working directory"
1324 # Find the source files, if location was not specified.
1325 if test -z "$srcdir"; then
1326 ac_srcdir_defaulted
=yes
1327 # Try the directory containing this script, then the parent directory.
1328 ac_confdir
=`$as_dirname -- "$as_myself" ||
1329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1330 X"$as_myself" : 'X\(//\)[^/]' \| \
1331 X"$as_myself" : 'X\(//\)$' \| \
1332 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1333 $as_echo X"$as_myself" |
1334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1356 ac_srcdir_defaulted
=no
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1359 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1360 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1362 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1364 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1366 # When building in place, set srcdir=.
1367 if test "$ac_abs_confdir" = "$ac_pwd"; then
1370 # Remove unnecessary trailing slashes from srcdir.
1371 # Double slashes in file names in object file debugging info
1372 # mess up M-x gdb in Emacs.
1374 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1376 for ac_var
in $ac_precious_vars; do
1377 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1378 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1379 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1380 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1384 # Report the --help message.
1386 if test "$ac_init_help" = "long"; then
1387 # Omit some internal or obsolete options to make the list less imposing.
1388 # This message is too long to be a string in the A/UX 3.1 sh.
1390 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1392 Usage: $0 [OPTION]... [VAR=VALUE]...
1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1395 VAR=VALUE. See below for descriptions of some of the useful variables.
1397 Defaults for the options are specified in brackets.
1400 -h, --help display this help and exit
1401 --help=short display options specific to this package
1402 --help=recursive display the short help of all the included packages
1403 -V, --version display version information and exit
1404 -q, --quiet, --silent do not print \`checking ...' messages
1405 --cache-file=FILE cache test results in FILE [disabled]
1406 -C, --config-cache alias for \`--cache-file=config.cache'
1407 -n, --no-create do not create output files
1408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1410 Installation directories:
1411 --prefix=PREFIX install architecture-independent files in PREFIX
1412 [$ac_default_prefix]
1413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1416 By default, \`make install' will install all the files in
1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1419 for instance \`--prefix=\$HOME'.
1421 For better control, use the options below.
1423 Fine tuning of the installation directories:
1424 --bindir=DIR user executables [EPREFIX/bin]
1425 --sbindir=DIR system admin executables [EPREFIX/sbin]
1426 --libexecdir=DIR program executables [EPREFIX/libexec]
1427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1430 --libdir=DIR object code libraries [EPREFIX/lib]
1431 --includedir=DIR C header files [PREFIX/include]
1432 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1433 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1434 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1435 --infodir=DIR info documentation [DATAROOTDIR/info]
1436 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1437 --mandir=DIR man documentation [DATAROOTDIR/man]
1438 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1439 --htmldir=DIR html documentation [DOCDIR]
1440 --dvidir=DIR dvi documentation [DOCDIR]
1441 --pdfdir=DIR pdf documentation [DOCDIR]
1442 --psdir=DIR ps documentation [DOCDIR]
1448 --program-prefix=PREFIX prepend PREFIX to installed program names
1449 --program-suffix=SUFFIX append SUFFIX to installed program names
1450 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1453 --build=BUILD configure
for building on BUILD
[guessed
]
1454 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1458 if test -n "$ac_init_help"; then
1459 case $ac_init_help in
1460 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1465 --disable-option-checking ignore unrecognized
--enable/--with options
1466 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1467 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1468 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1469 --disable-silent-rules verbose build output
(undo
: "make V=0")
1470 --enable-dependency-tracking
1471 do not reject slow dependency extractors
1472 --disable-dependency-tracking
1473 speeds up one
-time build
1474 --enable-static[=PKGS
] build static libraries
[default
=no
]
1475 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1476 --enable-fast-install[=PKGS
]
1477 optimize
for fast installation
[default
=yes]
1478 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1479 --enable-javascript[=ENGINE
]
1480 use a JavaScript runtime
(currently the only
1481 available option
for ENGINE is JavaScriptCore
)
1483 --disable-rpath do not hardcode runtime library paths
1486 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1487 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1488 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1490 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1491 --with-sysroot=DIR Search
for dependent libraries within DIR
1492 (or the compiler
's sysroot if not specified).
1493 --with-apr=PATH prefix for installed APR or the full path to
1495 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1496 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1497 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1499 Some influential environment variables
:
1500 CXX C
++ compiler
command
1501 CXXFLAGS C
++ compiler flags
1502 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1503 nonstandard directory
<lib dir
>
1504 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1505 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1506 you have headers
in a nonstandard directory
<include dir
>
1507 OBJCXX Objective C
++ compiler
command
1508 OBJCXXFLAGS Objective C
++ compiler flags
1509 CC C compiler
command
1510 CFLAGS C compiler flags
1512 CXXCPP C
++ preprocessor
1513 PKG_CONFIG path to pkg
-config utility
1515 directories to add to pkg
-config's search path
1517 path overriding pkg-config's built
-in search path
1518 BISON GNU Project parser generator
(yacc replacement
)
1519 FLEX the fast lexical analyser generator
1520 GPERF perfect
hash function generator
1521 GNUTAR a very sticky lump of files
1523 C compiler flags
for WEBKIT
, overriding pkg
-config
1524 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
1526 prints information about the current gnustep installation
1528 Use these variables to override the choices made by
`configure' or to help
1529 it to find libraries and programs with nonstandard names/locations.
1531 Report bugs to <saurik@saurik.com>.
1532 Cycript home page: <http://www.cycript.org/>.
1537 if test "$ac_init_help" = "recursive"; then
1538 # If there are subdirs, report their specific --help.
1539 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1540 test -d "$ac_dir" ||
1541 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1546 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1549 # A ".." for each directory in $ac_dir_suffix.
1550 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1551 case $ac_top_builddir_sub in
1552 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1556 ac_abs_top_builddir=$ac_pwd
1557 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1558 # for backward compatibility:
1559 ac_top_builddir=$ac_top_build_prefix
1562 .) # We are building in place.
1564 ac_top_srcdir=$ac_top_builddir_sub
1565 ac_abs_top_srcdir=$ac_pwd ;;
1566 [\\/]* | ?:[\\/]* ) # Absolute name.
1567 ac_srcdir=$srcdir$ac_dir_suffix;
1568 ac_top_srcdir=$srcdir
1569 ac_abs_top_srcdir=$srcdir ;;
1571 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1572 ac_top_srcdir=$ac_top_build_prefix$srcdir
1573 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1575 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1577 cd "$ac_dir" || { ac_status=$?; continue; }
1578 # Check for guested configure.
1579 if test -f "$ac_srcdir/configure.gnu"; then
1581 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1582 elif test -f "$ac_srcdir/configure"; then
1584 $SHELL "$ac_srcdir/configure" --help=recursive
1586 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1588 cd "$ac_pwd" || { ac_status=$?; break; }
1592 test -n "$ac_init_help" && exit $ac_status
1593 if $ac_init_version; then
1595 Cycript configure 0.9
1596 generated by GNU Autoconf 2.69
1598 Copyright (C) 2012 Free Software Foundation, Inc.
1599 This configure script is free software; the Free Software Foundation
1600 gives unlimited permission to copy, distribute and modify it.
1602 Copyright (C) 2009-2012 Jay Freeman (saurik)
1607 ## ------------------------ ##
1608 ## Autoconf initialization. ##
1609 ## ------------------------ ##
1611 # ac_fn_cxx_try_compile LINENO
1612 # ----------------------------
1613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_cxx_try_compile ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 rm -f conftest.$ac_objext
1618 if { { ac_try="$ac_compile"
1620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1621 *) ac_try_echo
=$ac_try;;
1623 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_compile") 2>conftest.err
1627 if test -s conftest.err
; then
1628 grep -v '^ *+' conftest.err
>conftest.er1
1629 cat conftest.er1
>&5
1630 mv -f conftest.er1 conftest.err
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && {
1634 test -z "$ac_cxx_werror_flag" ||
1635 test ! -s conftest.err
1636 } && test -s conftest.
$ac_objext; then :
1639 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.
$ac_ext >&5
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 as_fn_set_status
$ac_retval
1647 } # ac_fn_cxx_try_compile
1649 # ac_fn_objcxx_try_compile LINENO
1650 # -------------------------------
1651 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_objcxx_try_compile
()
1654 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1655 rm -f conftest.
$ac_objext
1656 if { { ac_try
="$ac_compile"
1658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_compile") 2>conftest.err
1665 if test -s conftest.err; then
1666 grep -v '^ *+' conftest.err >conftest.er1
1667 cat conftest.er1 >&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && {
1672 test -z "$ac_objcxx_werror_flag" ||
1673 test ! -s conftest.err
1674 } && test -s conftest.$ac_objext; then :
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status $ac_retval
1685 } # ac_fn_objcxx_try_compile
1687 # ac_fn_c_try_compile LINENO
1688 # --------------------------
1689 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1690 ac_fn_c_try_compile ()
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 rm -f conftest.$ac_objext
1694 if { { ac_try="$ac_compile"
1696 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1697 *) ac_try_echo
=$ac_try;;
1699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_compile") 2>conftest.err
1703 if test -s conftest.err
; then
1704 grep -v '^ *+' conftest.err
>conftest.er1
1705 cat conftest.er1
>&5
1706 mv -f conftest.er1 conftest.err
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_c_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest.
$ac_objext; then :
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.
$ac_ext >&5
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status
$ac_retval
1723 } # ac_fn_c_try_compile
1725 # ac_fn_c_try_link LINENO
1726 # -----------------------
1727 # Try to link conftest.$ac_ext, and return whether this succeeded.
1730 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1731 rm -f conftest.
$ac_objext conftest
$ac_exeext
1732 if { { ac_try
="$ac_link"
1734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_link") 2>conftest.err
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest$ac_exeext && {
1751 test "$cross_compiling" = yes ||
1752 test -x conftest$ac_exeext
1756 $as_echo "$as_me: failed program was:" >&5
1757 sed 's/^/| /' conftest.$ac_ext >&5
1761 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1762 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1763 # interfere with the next link command; also delete a directory that is
1764 # left behind by Apple's compiler. We do this before executing the actions.
1765 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 as_fn_set_status $ac_retval
1769 } # ac_fn_c_try_link
1771 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1772 # -------------------------------------------------------
1773 # Tests whether HEADER exists and can be compiled using the include files in
1774 # INCLUDES, setting the cache variable VAR accordingly.
1775 ac_fn_c_check_header_compile ()
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval \${$3+:} false; then :
1781 $as_echo_n "(cached) " >&6
1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1788 if ac_fn_c_try_compile "$LINENO"; then :
1793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1797 $as_echo "$ac_res" >&6; }
1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800 } # ac_fn_c_check_header_compile
1802 # ac_fn_c_try_cpp LINENO
1803 # ----------------------
1804 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 if { { ac_try="$ac_cpp conftest.$ac_ext"
1810 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1811 *) ac_try_echo
=$ac_try;;
1813 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1817 if test -s conftest.err
; then
1818 grep -v '^ *+' conftest.err
>conftest.er1
1819 cat conftest.er1
>&5
1820 mv -f conftest.er1 conftest.err
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } > conftest.i
&& {
1824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1825 test ! -s conftest.err
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.
$ac_ext >&5
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 as_fn_set_status
$ac_retval
1839 # ac_fn_c_try_run LINENO
1840 # ----------------------
1841 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1842 # that executables *can* be run.
1845 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1846 if { { ac_try
="$ac_link"
1848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_link") 2>&5
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1857 { { case "(($ac_try" in
1858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1859 *) ac_try_echo
=$ac_try;;
1861 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_try") 2>&5
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; }; }; then :
1869 $as_echo "$as_me: program exited with status $ac_status" >&5
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.
$ac_ext >&5
1873 ac_retval
=$ac_status
1875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 as_fn_set_status
$ac_retval
1881 # ac_fn_c_check_func LINENO FUNC VAR
1882 # ----------------------------------
1883 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1884 ac_fn_c_check_func
()
1886 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888 $as_echo_n "checking for $2... " >&6; }
1889 if eval \
${$3+:} false
; then :
1890 $as_echo_n "(cached) " >&6
1892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1894 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1896 #define $2 innocuous_$2
1898 /* System header to define __stub macros and hopefully few prototypes,
1899 which can conflict with char $2 (); below.
1900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1901 <limits.h> exists even on freestanding compilers. */
1904 # include <limits.h>
1906 # include <assert.h>
1911 /* Override any GCC internal prototype to avoid an error.
1912 Use char because int might match the return type of a GCC
1913 builtin and then its argument prototype would still apply. */
1918 /* The GNU C library defines this for functions which it implements
1919 to always fail with ENOSYS. Some functions are actually named
1920 something starting with __ and the normal name is an alias. */
1921 #if defined __stub_$2 || defined __stub___$2
1933 if ac_fn_c_try_link
"$LINENO"; then :
1938 rm -f core conftest.err conftest.
$ac_objext \
1939 conftest
$ac_exeext conftest.
$ac_ext
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943 $as_echo "$ac_res" >&6; }
1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946 } # ac_fn_c_check_func
1948 # ac_fn_cxx_try_cpp LINENO
1949 # ------------------------
1950 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1951 ac_fn_cxx_try_cpp
()
1953 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1954 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1957 *) ac_try_echo=$ac_try;;
1959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1960 $as_echo "$ac_try_echo"; } >&5
1961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1963 if test -s conftest.err; then
1964 grep -v '^ *+' conftest.err >conftest.er1
1965 cat conftest.er1 >&5
1966 mv -f conftest.er1 conftest.err
1968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969 test $ac_status = 0; } > conftest.i && {
1970 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1971 test ! -s conftest.err
1975 $as_echo "$as_me: failed program was:" >&5
1976 sed 's/^/| /' conftest.$ac_ext >&5
1980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1981 as_fn_set_status $ac_retval
1983 } # ac_fn_cxx_try_cpp
1985 # ac_fn_cxx_try_link LINENO
1986 # -------------------------
1987 # Try to link conftest.$ac_ext, and return whether this succeeded.
1988 ac_fn_cxx_try_link ()
1990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991 rm -f conftest.$ac_objext conftest$ac_exeext
1992 if { { ac_try="$ac_link"
1994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1995 *) ac_try_echo
=$ac_try;;
1997 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_link") 2>conftest.err
2001 if test -s conftest.err
; then
2002 grep -v '^ *+' conftest.err
>conftest.er1
2003 cat conftest.er1
>&5
2004 mv -f conftest.er1 conftest.err
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; } && {
2008 test -z "$ac_cxx_werror_flag" ||
2009 test ! -s conftest.err
2010 } && test -s conftest
$ac_exeext && {
2011 test "$cross_compiling" = yes ||
2012 test -x conftest
$ac_exeext
2016 $as_echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.
$ac_ext >&5
2021 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2022 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2023 # interfere with the next link command; also delete a directory that is
2024 # left behind by Apple's compiler. We do this before executing the actions.
2025 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2026 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027 as_fn_set_status
$ac_retval
2029 } # ac_fn_cxx_try_link
2031 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2032 # ---------------------------------------------------------
2033 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2034 # the include files in INCLUDES and setting the cache variable VAR
2036 ac_fn_cxx_check_header_mongrel
()
2038 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2039 if eval \
${$3+:} false
; then :
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2041 $as_echo_n "checking for $2... " >&6; }
2042 if eval \
${$3+:} false
; then :
2043 $as_echo_n "(cached) " >&6
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047 $as_echo "$ac_res" >&6; }
2049 # Is the header compilable?
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2051 $as_echo_n "checking $2 usability... " >&6; }
2052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2057 if ac_fn_cxx_try_compile
"$LINENO"; then :
2058 ac_header_compiler
=yes
2060 ac_header_compiler
=no
2062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2064 $as_echo "$ac_header_compiler" >&6; }
2066 # Is the header present?
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2068 $as_echo_n "checking $2 presence... " >&6; }
2069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2073 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2074 ac_header_preproc
=yes
2076 ac_header_preproc
=no
2078 rm -f conftest.err conftest.i conftest.
$ac_ext
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2080 $as_echo "$ac_header_preproc" >&6; }
2082 # So? What about this header?
2083 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2086 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2088 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2092 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2094 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2096 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2098 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2101 ( $as_echo "## -------------------------------- ##
2102 ## Report this to saurik@saurik.com ##
2103 ## -------------------------------- ##"
2104 ) | sed "s/^/$as_me: WARNING: /" >&2
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2108 $as_echo_n "checking for $2... " >&6; }
2109 if eval \
${$3+:} false
; then :
2110 $as_echo_n "(cached) " >&6
2112 eval "$3=\$ac_header_compiler"
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; }
2118 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120 } # ac_fn_cxx_check_header_mongrel
2122 # ac_fn_objcxx_try_link LINENO
2123 # ----------------------------
2124 # Try to link conftest.$ac_ext, and return whether this succeeded.
2125 ac_fn_objcxx_try_link
()
2127 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2128 rm -f conftest.
$ac_objext conftest
$ac_exeext
2129 if { { ac_try
="$ac_link"
2131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2132 *) ac_try_echo=$ac_try;;
2134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2135 $as_echo "$ac_try_echo"; } >&5
2136 (eval "$ac_link") 2>conftest.err
2138 if test -s conftest.err; then
2139 grep -v '^ *+' conftest.err >conftest.er1
2140 cat conftest.er1 >&5
2141 mv -f conftest.er1 conftest.err
2143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2144 test $ac_status = 0; } && {
2145 test -z "$ac_objcxx_werror_flag" ||
2146 test ! -s conftest.err
2147 } && test -s conftest$ac_exeext && {
2148 test "$cross_compiling" = yes ||
2149 test -x conftest$ac_exeext
2153 $as_echo "$as_me: failed program was:" >&5
2154 sed 's/^/| /' conftest.$ac_ext >&5
2158 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2159 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2160 # interfere with the next link command; also delete a directory that is
2161 # left behind by Apple's compiler. We do this before executing the actions.
2162 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2163 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2164 as_fn_set_status $ac_retval
2166 } # ac_fn_objcxx_try_link
2167 cat >config.log <<_ACEOF
2168 This file contains any messages produced by compilers while
2169 running configure, to aid debugging if configure makes a mistake.
2171 It was created by Cycript $as_me 0.9, which was
2172 generated by GNU Autoconf 2.69. Invocation command line was
2184 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2185 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2186 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2187 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2188 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2190 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2191 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2193 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2194 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2195 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2196 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2197 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2198 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2199 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 test -z "$as_dir" && as_dir=.
2208 $as_echo "PATH: $as_dir"
2224 # Keep a trace of the command line.
2225 # Strip out --no-create and --no-recursion so they do not pile up.
2226 # Strip out --silent because we don't want to record it for future runs.
2227 # Also quote any args containing shell meta-characters.
2228 # Make two passes to allow for proper duplicate-argument suppression.
2232 ac_must_keep_next=false
2238 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2239 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2240 | -silent | --silent | --silen | --sile | --sil)
2243 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2246 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2248 as_fn_append ac_configure_args1 " '$ac_arg'"
2249 if test $ac_must_keep_next = true; then
2250 ac_must_keep_next=false # Got value, back to normal.
2253 *=* | --config-cache | -C | -disable-* | --disable-* \
2254 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2255 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2256 | -with-* | --with-* | -without-* | --without-* | --x)
2257 case "$ac_configure_args0 " in
2258 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2261 -* ) ac_must_keep_next=true ;;
2264 as_fn_append ac_configure_args " '$ac_arg'"
2269 { ac_configure_args0=; unset ac_configure_args0;}
2270 { ac_configure_args1=; unset ac_configure_args1;}
2272 # When interrupted or exit'd, cleanup temporary files, and complete
2273 # config.log. We remove comments because anyway the quotes in there
2274 # would cause problems or look ugly.
2275 # WARNING: Use '\'' to represent an apostrophe within the trap.
2276 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2277 trap 'exit_status=$?
2278 # Save into config.log some information that might help in debugging.
2282 $as_echo "## ---------------- ##
2283 ## Cache variables. ##
2284 ## ---------------- ##"
2286 # The following way of writing the cache mishandles newlines in values,
2288 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2289 eval ac_val=\$$ac_var
2293 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2294 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2297 _ | IFS | as_nl) ;; #(
2298 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2299 *) { eval $ac_var=; unset $ac_var;} ;;
2304 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2305 *${as_nl}ac_space=\ *)
2307 "s/'\''/'\''\\\\'\'''\''/g;
2308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2311 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2318 $as_echo "## ----------------- ##
2319 ## Output variables. ##
2320 ## ----------------- ##"
2322 for ac_var in $ac_subst_vars
2324 eval ac_val=\$$ac_var
2326 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2328 $as_echo "$ac_var='\''$ac_val'\''"
2332 if test -n "$ac_subst_files"; then
2333 $as_echo "## ------------------- ##
2334 ## File substitutions. ##
2335 ## ------------------- ##"
2337 for ac_var in $ac_subst_files
2339 eval ac_val=\$$ac_var
2341 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2343 $as_echo "$ac_var='\''$ac_val'\''"
2348 if test -s confdefs.h; then
2349 $as_echo "## ----------- ##
2356 test "$ac_signal" != 0 &&
2357 $as_echo "$as_me: caught signal $ac_signal"
2358 $as_echo "$as_me: exit $exit_status"
2360 rm -f core *.core core.conftest.* &&
2361 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2364 for ac_signal in 1 2 13 15; do
2365 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2369 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2370 rm -f -r conftest* confdefs.h
2372 $as_echo "/* confdefs.h */" > confdefs.h
2374 # Predefined preprocessor variables.
2376 cat >>confdefs.h <<_ACEOF
2377 #define PACKAGE_NAME "$PACKAGE_NAME"
2380 cat >>confdefs.h <<_ACEOF
2381 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2384 cat >>confdefs.h <<_ACEOF
2385 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE_STRING "$PACKAGE_STRING"
2392 cat >>confdefs.h <<_ACEOF
2393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2396 cat >>confdefs.h <<_ACEOF
2397 #define PACKAGE_URL "$PACKAGE_URL"
2401 # Let the site file select an alternate cache file if it wants to.
2402 # Prefer an explicitly selected file to automatically selected ones.
2405 if test -n "$CONFIG_SITE"; then
2406 # We do not want a PATH search for config.site.
2407 case $CONFIG_SITE in #((
2408 -*) ac_site_file1=./$CONFIG_SITE;;
2409 */*) ac_site_file1=$CONFIG_SITE;;
2410 *) ac_site_file1=./$CONFIG_SITE;;
2412 elif test "x$prefix" != xNONE; then
2413 ac_site_file1=$prefix/share/config.site
2414 ac_site_file2=$prefix/etc/config.site
2416 ac_site_file1=$ac_default_prefix/share/config.site
2417 ac_site_file2=$ac_default_prefix/etc/config.site
2419 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2421 test "x$ac_site_file" = xNONE && continue
2422 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2424 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2425 sed 's/^/| /' "$ac_site_file" >&5
2427 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429 as_fn_error $? "failed to load site
script $ac_site_file
2430 See \
`config.log' for more details" "$LINENO" 5; }
2434 if test -r "$cache_file"; then
2435 # Some versions of bash will fail to source /dev/null (special files
2436 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2437 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2439 $as_echo "$as_me: loading cache $cache_file" >&6;}
2441 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2442 *) . "./$cache_file";;
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2447 $as_echo "$as_me: creating cache $cache_file" >&6;}
2451 # Check that the precious variables saved in the cache have kept the same
2453 ac_cache_corrupted=false
2454 for ac_var in $ac_precious_vars; do
2455 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2456 eval ac_new_set=\$ac_env_${ac_var}_set
2457 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2458 eval ac_new_val=\$ac_env_${ac_var}_value
2459 case $ac_old_set,$ac_new_set in
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2462 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2463 ac_cache_corrupted=: ;;
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2466 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2467 ac_cache_corrupted=: ;;
2470 if test "x$ac_old_val" != "x$ac_new_val"; then
2471 # differences in whitespace do not lead to failure.
2472 ac_old_val_w=`echo x
$ac_old_val`
2473 ac_new_val_w=`echo x
$ac_new_val`
2474 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2476 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2477 ac_cache_corrupted=:
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2480 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2481 eval $ac_var=\$ac_old_val
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2484 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2486 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2489 # Pass precious variables to config.status.
2490 if test "$ac_new_set" = set; then
2492 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2493 *) ac_arg=$ac_var=$ac_new_val ;;
2495 case " $ac_configure_args " in
2496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2497 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2501 if $ac_cache_corrupted; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2505 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2506 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2508 ## -------------------- ##
2509 ## Main body of script. ##
2510 ## -------------------- ##
2513 ac_cpp='$CPP $CPPFLAGS'
2514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2523 for ac_dir in . "$srcdir"/.; do
2524 if test -f "$ac_dir/install-sh"; then
2526 ac_install_sh="$ac_aux_dir/install-sh -c"
2528 elif test -f "$ac_dir/install.sh"; then
2530 ac_install_sh="$ac_aux_dir/install.sh -c"
2532 elif test -f "$ac_dir/shtool"; then
2534 ac_install_sh="$ac_aux_dir/shtool install -c"
2538 if test -z "$ac_aux_dir"; then
2539 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2542 # These three variables are undocumented and unsupported,
2543 # and are intended to be withdrawn in a future Autoconf release.
2544 # They can cause serious problems if a builder's source tree is in a directory
2545 # whose full name contains unusual characters.
2546 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2547 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2548 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2552 ac_config_headers="$ac_config_headers config.h"
2555 am__api_version='1.13'
2557 # Find a good install program. We prefer a C program (faster),
2558 # so one script is as good as another. But avoid the broken or
2559 # incompatible versions:
2560 # SysV /etc/install, /usr/sbin/install
2561 # SunOS /usr/etc/install
2562 # IRIX /sbin/install
2564 # AmigaOS /C/install, which installs bootblocks on floppy discs
2565 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2566 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2567 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2568 # OS/2's system install, which has a completely different semantic
2569 # ./install, which can be erroneously created by make from ./install.sh.
2570 # Reject install programs that cannot install multiple files.
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2572 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2573 if test -z "$INSTALL"; then
2574 if ${ac_cv_path_install+:} false; then :
2575 $as_echo_n "(cached) " >&6
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir=.
2582 # Account for people who put trailing slashes in PATH elements.
2583 case $as_dir/ in #((
2584 ./ | .// | /[cC]/* | \
2585 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2586 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2589 # OSF1 and SCO ODT 3.0 have their own names for install.
2590 # Don't use installbsd from OSF since it installs stuff as root
2592 for ac_prog in ginstall scoinst install; do
2593 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2595 if test $ac_prog = install &&
2596 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2597 # AIX install. It has an incompatible calling convention.
2599 elif test $ac_prog = install &&
2600 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2601 # program-specific install script used by HP pwplus--don't use.
2604 rm -rf conftest.one conftest.two conftest.dir
2605 echo one > conftest.one
2606 echo two > conftest.two
2608 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2609 test -s conftest.one && test -s conftest.two &&
2610 test -s conftest.dir/conftest.one &&
2611 test -s conftest.dir/conftest.two
2613 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2626 rm -rf conftest.one conftest.two conftest.dir
2629 if test "${ac_cv_path_install+set}" = set; then
2630 INSTALL=$ac_cv_path_install
2632 # As a last resort, use the slow shell script. Don't cache a
2633 # value for INSTALL within a source directory, because that will
2634 # break other packages using the cache if that directory is
2635 # removed, or if the value is a relative name.
2636 INSTALL=$ac_install_sh
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2640 $as_echo "$INSTALL" >&6; }
2642 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2643 # It thinks the first close brace ends the variable substitution.
2644 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2646 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2648 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2651 $as_echo_n "checking whether build environment is sane... " >&6; }
2652 # Reject unsafe characters in $srcdir or the absolute working directory
2653 # name. Accept space and tab only in the latter.
2657 *[\\\"\#\$\&\'\`$am_lf]*)
2658 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2661 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2662 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2665 # Do 'set' in a subshell so we don't clobber the current shell's
2666 # arguments. Must try -L first in case configure is actually a
2667 # symlink; some systems play weird games with the mod time of symlinks
2668 # (eg FreeBSD returns the mod time of the symlink's containing
2672 for am_try in 1 2; do
2673 echo "timestamp, slept: $am_has_slept" > conftest.file
2674 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2675 if test "$*" = "X"; then
2677 set X `ls -t "$srcdir/configure" conftest.
file`
2679 if test "$*" != "X $srcdir/configure conftest.file" \
2680 && test "$*" != "X conftest.file $srcdir/configure"; then
2682 # If neither matched, then we have a broken ls. This can happen
2683 # if, for instance, CONFIG_SHELL is bash and it inherits a
2684 # broken ls alias from the environment. This has actually
2685 # happened. Such a system could not be considered "sane".
2686 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2687 alias in your environment" "$LINENO" 5
2689 if test "$2" = conftest.file || test $am_try -eq 2; then
2696 test "$2" = conftest.file
2702 as_fn_error $? "newly created file is older than distributed files!
2703 Check your system clock" "$LINENO" 5
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2706 $as_echo "yes" >&6; }
2707 # If we didn't sleep, we still need to ensure time stamps of config.status and
2708 # generated files are strictly newer.
2710 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2717 test "$program_prefix" != NONE &&
2718 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2719 # Use a double $ so make ignores it.
2720 test "$program_suffix" != NONE &&
2721 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2722 # Double any \ or $.
2723 # By default was `s
,x
,x
', remove it if useless.
2724 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2725 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2727 # expand $ac_aux_dir to an absolute path
2728 am_aux_dir=`cd $ac_aux_dir && pwd`
2730 if test x"${MISSING+set}" != xset; then
2733 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2735 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2738 # Use eval to expand $SHELL
2739 if eval "$MISSING --is-lightweight"; then
2740 am_missing_run="$MISSING "
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2744 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2747 if test x"${install_sh}" != xset; then
2750 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2752 install_sh="\${SHELL} $am_aux_dir/install-sh"
2756 # Installed binaries are usually stripped using 'strip
' when the user
2757 # run "make install-strip". However 'strip
' might not be the right
2758 # tool to use in cross-compilation environments, therefore Automake
2759 # will honor the 'STRIP
' environment variable to overrule this program.
2760 if test "$cross_compiling" != no; then
2761 if test -n "$ac_tool_prefix"; then
2762 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2763 set dummy ${ac_tool_prefix}strip; ac_word=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if ${ac_cv_prog_STRIP+:} false; then :
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$STRIP"; then
2770 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir=.
2777 for ac_exec_ext in '' $ac_executable_extensions; do
2778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2779 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 STRIP=$ac_cv_prog_STRIP
2790 if test -n "$STRIP"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2792 $as_echo "$STRIP" >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2800 if test -z "$ac_cv_prog_STRIP"; then
2802 # Extract the first word of "strip", so it can be a program name with args.
2803 set dummy strip; ac_word=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2807 $as_echo_n "(cached) " >&6
2809 if test -n "$ac_ct_STRIP"; then
2810 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir=.
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2819 ac_cv_prog_ac_ct_STRIP="strip"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2830 if test -n "$ac_ct_STRIP"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2832 $as_echo "$ac_ct_STRIP" >&6; }
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2838 if test "x$ac_ct_STRIP" = x; then
2841 case $cross_compiling:$ac_tool_warned in
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2845 ac_tool_warned=yes ;;
2850 STRIP="$ac_cv_prog_STRIP"
2854 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2857 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2858 if test -z "$MKDIR_P"; then
2859 if ${ac_cv_path_mkdir+:} false; then :
2860 $as_echo_n "(cached) " >&6
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2866 test -z "$as_dir" && as_dir=.
2867 for ac_prog in mkdir gmkdir; do
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2870 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2871 'mkdir (GNU coreutils
) '* | \
2872 'mkdir (coreutils
) '* | \
2873 'mkdir (fileutils
) '4.1*)
2874 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2884 test -d ./--version && rmdir ./--version
2885 if test "${ac_cv_path_mkdir+set}" = set; then
2886 MKDIR_P="$ac_cv_path_mkdir -p"
2888 # As a last resort, use the slow shell script. Don't cache a
2889 # value for MKDIR_P within a source directory, because that will
2890 # break other packages using the cache if that directory is
2891 # removed, or if the value is a relative name.
2892 MKDIR_P
="$ac_install_sh -d"
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2896 $as_echo "$MKDIR_P" >&6; }
2898 for ac_prog
in gawk mawk nawk
awk
2900 # Extract the first word of "$ac_prog", so it can be a program name with args.
2901 set dummy
$ac_prog; ac_word
=$2
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903 $as_echo_n "checking for $ac_word... " >&6; }
2904 if ${ac_cv_prog_AWK+:} false
; then :
2905 $as_echo_n "(cached) " >&6
2907 if test -n "$AWK"; then
2908 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2914 test -z "$as_dir" && as_dir
=.
2915 for ac_exec_ext
in '' $ac_executable_extensions; do
2916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2917 ac_cv_prog_AWK
="$ac_prog"
2918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2928 if test -n "$AWK"; then
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2930 $as_echo "$AWK" >&6; }
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933 $as_echo "no" >&6; }
2937 test -n "$AWK" && break
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2941 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2943 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2944 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2945 $as_echo_n "(cached) " >&6
2947 cat >conftest.
make <<\_ACEOF
2950 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2952 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2953 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2955 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2957 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2961 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2963 $as_echo "yes" >&6; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967 $as_echo "no" >&6; }
2968 SET_MAKE
="MAKE=${MAKE-make}"
2971 rm -rf .tst
2>/dev
/null
2972 mkdir .tst
2>/dev
/null
2973 if test -d .tst
; then
2978 rmdir .tst
2>/dev
/null
2980 # Check whether --enable-silent-rules was given.
2981 if test "${enable_silent_rules+set}" = set; then :
2982 enableval
=$enable_silent_rules;
2985 case $enable_silent_rules in # (((
2986 yes) AM_DEFAULT_VERBOSITY
=0;;
2987 no
) AM_DEFAULT_VERBOSITY
=1;;
2988 *) AM_DEFAULT_VERBOSITY
=1;;
2990 am_make
=${MAKE-make}
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2992 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2993 if ${am_cv_make_support_nested_variables+:} false
; then :
2994 $as_echo_n "(cached) " >&6
2996 if $as_echo 'TRUE=$(BAR$(V))
3002 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3003 am_cv_make_support_nested_variables
=yes
3005 am_cv_make_support_nested_variables
=no
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3009 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3010 if test $am_cv_make_support_nested_variables = yes; then
3012 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3014 AM_V
=$AM_DEFAULT_VERBOSITY
3015 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3019 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3020 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3021 # is not polluted with repeated "-I."
3022 am__isrc
=' -I$(srcdir)'
3023 # test to see if srcdir already configured
3024 if test -f $srcdir/config.status
; then
3025 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3029 # test whether we have cygpath
3030 if test -z "$CYGPATH_W"; then
3031 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3032 CYGPATH_W
='cygpath -w'
3039 # Define the identity of the package.
3044 cat >>confdefs.h
<<_ACEOF
3045 #define PACKAGE "$PACKAGE"
3049 cat >>confdefs.h
<<_ACEOF
3050 #define VERSION "$VERSION"
3053 # Some tools Automake needs.
3055 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3058 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3061 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3064 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3067 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3069 # For better backward compatibility. To be removed once Automake 1.9.x
3070 # dies out for good. For more background, see:
3071 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3072 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3073 mkdir_p
='$(MKDIR_P)'
3075 # We need awk for the "check" target. The system "awk" is bad on
3077 # Always define AMTAR for backward compatibility. Yes, it's still used
3078 # in the wild :-( We should find a proper way to deprecate it ...
3081 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3089 ac_cpp
='$CXXCPP $CPPFLAGS'
3090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3093 if test -z "$CXX"; then
3094 if test -n "$CCC"; then
3097 if test -n "$ac_tool_prefix"; then
3098 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3101 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103 $as_echo_n "checking for $ac_word... " >&6; }
3104 if ${ac_cv_prog_CXX+:} false
; then :
3105 $as_echo_n "(cached) " >&6
3107 if test -n "$CXX"; then
3108 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir
=.
3115 for ac_exec_ext
in '' $ac_executable_extensions; do
3116 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3117 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 if test -n "$CXX"; then
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3130 $as_echo "$CXX" >&6; }
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133 $as_echo "no" >&6; }
3137 test -n "$CXX" && break
3140 if test -z "$CXX"; then
3142 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3144 # Extract the first word of "$ac_prog", so it can be a program name with args.
3145 set dummy
$ac_prog; ac_word
=$2
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147 $as_echo_n "checking for $ac_word... " >&6; }
3148 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3149 $as_echo_n "(cached) " >&6
3151 if test -n "$ac_ct_CXX"; then
3152 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3158 test -z "$as_dir" && as_dir
=.
3159 for ac_exec_ext
in '' $ac_executable_extensions; do
3160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3161 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3172 if test -n "$ac_ct_CXX"; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3174 $as_echo "$ac_ct_CXX" >&6; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3177 $as_echo "no" >&6; }
3181 test -n "$ac_ct_CXX" && break
3184 if test "x$ac_ct_CXX" = x
; then
3187 case $cross_compiling:$ac_tool_warned in
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3191 ac_tool_warned
=yes ;;
3199 # Provide some information about the compiler.
3200 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3203 for ac_option
in --version -v -V -qversion; do
3204 { { ac_try
="$ac_compiler $ac_option >&5"
3206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3210 $as_echo "$ac_try_echo"; } >&5
3211 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3213 if test -s conftest.err; then
3215 ... rest of stderr output deleted ...
3216 10q' conftest.err >conftest.er1
3217 cat conftest.er1 >&5
3219 rm -f conftest.er1 conftest.err
3220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3221 test $ac_status = 0; }
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3235 ac_clean_files_save=$ac_clean_files
3236 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3237 # Try to create an executable without -o first, disregard a.out.
3238 # It will help us diagnose broken compilers, and finding out an intuition
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3241 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3242 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3244 # The possible output files:
3245 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3248 for ac_file in $ac_files
3251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3252 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3257 if { { ac_try="$ac_link_default"
3259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3260 *) ac_try_echo
=$ac_try;;
3262 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_link_default") 2>&5
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; }; then :
3268 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3269 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3270 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3271 # so that the user can short-circuit this test for compilers unknown to
3273 for ac_file
in $ac_files ''
3275 test -f "$ac_file" || continue
3277 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3280 # We found the default executable, but exeext='' is most
3284 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3286 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3288 # We set ac_cv_exeext here because the later test for it is not
3289 # safe: cross compilers may not add the suffix if given an `-o'
3290 # argument, so we may need to know it at that point already.
3291 # Even if this section looks crufty: it has the advantage of
3298 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3303 if test -z "$ac_file"; then :
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3305 $as_echo "no" >&6; }
3306 $as_echo "$as_me: failed program was:" >&5
3307 sed 's/^/| /' conftest.
$ac_ext >&5
3309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3311 as_fn_error
77 "C++ compiler cannot create executables
3312 See \`config.log' for more details" "$LINENO" 5; }
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3315 $as_echo "yes" >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3318 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3320 $as_echo "$ac_file" >&6; }
3321 ac_exeext
=$ac_cv_exeext
3323 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3324 ac_clean_files
=$ac_clean_files_save
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3326 $as_echo_n "checking for suffix of executables... " >&6; }
3327 if { { ac_try
="$ac_link"
3329 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334 (eval "$ac_link") 2>&5
3336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337 test $ac_status = 0; }; then :
3338 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3339 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3340 # work properly (i.e., refer to `conftest.exe'), while it won't with
3342 for ac_file
in conftest.exe conftest conftest.
*; do
3343 test -f "$ac_file" || continue
3345 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3346 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3355 See \`config.log' for more details" "$LINENO" 5; }
3357 rm -f conftest conftest
$ac_cv_exeext
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3359 $as_echo "$ac_cv_exeext" >&6; }
3361 rm -f conftest.
$ac_ext
3362 EXEEXT
=$ac_cv_exeext
3364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3370 FILE *f = fopen ("conftest.out", "w");
3371 return ferror (f) || fclose (f) != 0;
3377 ac_clean_files
="$ac_clean_files conftest.out"
3378 # Check that the compiler produces executables we can run. If not, either
3379 # the compiler is broken, or we cross compile.
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3381 $as_echo_n "checking whether we are cross compiling... " >&6; }
3382 if test "$cross_compiling" != yes; then
3383 { { ac_try
="$ac_link"
3385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_link") 2>&5
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }
3394 if { ac_try='./conftest$ac_cv_exeext'
3395 { { case "(($ac_try" in
3396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3397 *) ac_try_echo
=$ac_try;;
3399 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3400 $as_echo "$ac_try_echo"; } >&5
3401 (eval "$ac_try") 2>&5
3403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3404 test $ac_status = 0; }; }; then
3407 if test "$cross_compiling" = maybe
; then
3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error $?
"cannot run C++ compiled programs.
3413 If you meant to cross compile, use \`--host'.
3414 See \`config.log' for more details" "$LINENO" 5; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3419 $as_echo "$cross_compiling" >&6; }
3421 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3422 ac_clean_files
=$ac_clean_files_save
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3424 $as_echo_n "checking for suffix of object files... " >&6; }
3425 if ${ac_cv_objext+:} false
; then :
3426 $as_echo_n "(cached) " >&6
3428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3439 rm -f conftest.o conftest.obj
3440 if { { ac_try
="$ac_compile"
3442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3446 $as_echo "$ac_try_echo"; } >&5
3447 (eval "$ac_compile") 2>&5
3449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3450 test $ac_status = 0; }; then :
3451 for ac_file in conftest.o conftest.obj conftest.*; do
3452 test -f "$ac_file" || continue;
3454 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3455 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3460 $as_echo "$as_me: failed program was:" >&5
3461 sed 's/^/| /' conftest.$ac_ext >&5
3463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3465 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3466 See \
`config.log' for more details" "$LINENO" 5; }
3468 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3471 $as_echo "$ac_cv_objext" >&6; }
3472 OBJEXT=$ac_cv_objext
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3475 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3476 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3493 if ac_fn_cxx_try_compile "$LINENO"; then :
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3499 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3503 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3504 if test $ac_compiler_gnu = yes; then
3509 ac_test_CXXFLAGS=${CXXFLAGS+set}
3510 ac_save_CXXFLAGS=$CXXFLAGS
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3512 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3513 if ${ac_cv_prog_cxx_g+:} false; then :
3514 $as_echo_n "(cached) " >&6
3516 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3517 ac_cxx_werror_flag=yes
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3531 if ac_fn_cxx_try_compile "$LINENO"; then :
3532 ac_cv_prog_cxx_g=yes
3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536 /* end confdefs.h. */
3546 if ac_fn_cxx_try_compile "$LINENO"; then :
3549 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h. */
3562 if ac_fn_cxx_try_compile "$LINENO"; then :
3563 ac_cv_prog_cxx_g=yes
3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3573 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3574 if test "$ac_test_CXXFLAGS" = set; then
3575 CXXFLAGS=$ac_save_CXXFLAGS
3576 elif test $ac_cv_prog_cxx_g = yes; then
3577 if test "$GXX" = yes; then
3583 if test "$GXX" = yes; then
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3594 DEPDIR="${am__leading_dot}deps"
3596 ac_config_commands="$ac_config_commands depfiles"
3599 am_make=${MAKE-make}
3600 cat > confinc << 'END'
3602 @echo this is the am__doit target
3605 # If we don't find an include directive, just comment out the code.
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3607 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3611 # First try GNU make style include.
3612 echo "include confinc" > confmf
3613 # Ignore all kinds of additional output from 'make'.
3614 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3615 *the\ am__doit\ target*)
3621 # Now try BSD make style include.
3622 if test "$am__include" = "#"; then
3623 echo '.include "confinc"' > confmf
3624 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3625 *the\ am__doit\ target*)
3626 am__include=.include
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3635 $as_echo "$_am_result" >&6; }
3636 rm -f confinc confmf
3638 # Check whether --enable-dependency-tracking was given.
3639 if test "${enable_dependency_tracking+set}" = set; then :
3640 enableval=$enable_dependency_tracking;
3643 if test "x$enable_dependency_tracking" != xno; then
3644 am_depcomp="$ac_aux_dir/depcomp"
3648 if test "x$enable_dependency_tracking" != xno; then
3658 depcc="$CXX" am_compiler_list=
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3661 $as_echo_n "checking dependency style of $depcc... " >&6; }
3662 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3663 $as_echo_n "(cached) " >&6
3665 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3666 # We make a subdir and do the tests there. Otherwise we can end up
3667 # making bogus files that we don't know about and never remove. For
3668 # instance it was reported that on HP-UX the gcc test will end up
3669 # making a dummy file named 'D' -- because '-MD' means "put the output
3673 # Copy depcomp to subdir because otherwise we won't find it if we're
3674 # using a relative directory.
3675 cp "$am_depcomp" conftest.dir
3677 # We will build objects and dependencies in a subdirectory because
3678 # it helps to detect inapplicable dependency modes. For instance
3679 # both Tru64's cc and ICC support -MD to output dependencies as a
3680 # side effect of compilation, but ICC will put the dependencies in
3681 # the current directory while Tru64 will put them in the object
3685 am_cv_CXX_dependencies_compiler_type=none
3686 if test "$am_compiler_list" = ""; then
3687 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3690 case " $depcc " in #(
3691 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3694 for depmode in $am_compiler_list; do
3695 # Setup a source with many dependencies, because some compilers
3696 # like to wrap large dependency lists on column 80 (with \), and
3697 # we should not choose a depcomp mode which is confused by this.
3699 # We need to recreate these files for each test, as the compiler may
3700 # overwrite some of them when testing with obscure command lines.
3701 # This happens at least with the AIX C compiler.
3703 for i in 1 2 3 4 5 6; do
3704 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3705 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3706 # Solaris 10 /bin/sh.
3707 echo '/* dummy */' > sub/conftst$i.h
3709 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3711 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3712 # mode. It turns out that the SunPro C++ compiler does not properly
3713 # handle '-M -o', and we need to detect this. Also, some Intel
3714 # versions had trouble with output in subdirs.
3715 am__obj=sub/conftest.${OBJEXT-o}
3716 am__minus_obj="-o $am__obj"
3719 # This depmode causes a compiler race in universal mode.
3720 test "$am__universal" = false || continue
3723 # After this tag, mechanisms are not by side-effect, so they'll
3724 # only be used when explicitly requested.
3725 if test "x$enable_dependency_tracking" = xyes; then
3731 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3732 # This compiler won't grok '-c -o', but also, the minuso test has
3733 # not run yet. These depmodes are late enough in the game, and
3734 # so weak that their functioning should not be impacted.
3735 am__obj=conftest.${OBJEXT-o}
3740 if depmode=$depmode \
3741 source=sub/conftest.c object=$am__obj \
3742 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3743 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3744 >/dev/null 2>conftest.err &&
3745 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3746 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3747 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3748 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3749 # icc doesn't choke on unknown options, it will just issue warnings
3750 # or remarks (even with -Werror). So we grep stderr for any message
3751 # that says an option was ignored or not supported.
3752 # When given -MP, icc 7.0 and 7.1 complain thusly:
3753 # icc: Command line warning: ignoring option '-M'; no argument required
3754 # The diagnosis changed in icc 8.0:
3755 # icc: Command line remark: option '-MP' not supported
3756 if (grep 'ignoring option' conftest.err ||
3757 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3758 am_cv_CXX_dependencies_compiler_type=$depmode
3767 am_cv_CXX_dependencies_compiler_type=none
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3772 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3773 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3776 test "x$enable_dependency_tracking" != xno \
3777 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3778 am__fastdepCXX_TRUE=
3779 am__fastdepCXX_FALSE='#'
3781 am__fastdepCXX_TRUE='#'
3782 am__fastdepCXX_FALSE=
3787 ac_cpp='$OBJCXXCPP $CPPFLAGS'
3788 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3789 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3790 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
3791 if test -n "$ac_tool_prefix"; then
3792 for ac_prog in g++ objc++ objcxx c++ CXX
3794 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3795 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if ${ac_cv_prog_OBJCXX+:} false; then :
3799 $as_echo_n "(cached) " >&6
3801 if test -n "$OBJCXX"; then
3802 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 test -z "$as_dir" && as_dir=.
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3811 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
3812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 OBJCXX=$ac_cv_prog_OBJCXX
3822 if test -n "$OBJCXX"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
3824 $as_echo "$OBJCXX" >&6; }
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3831 test -n "$OBJCXX" && break
3834 if test -z "$OBJCXX"; then
3835 ac_ct_OBJCXX=$OBJCXX
3836 for ac_prog in g++ objc++ objcxx c++ CXX
3838 # Extract the first word of "$ac_prog", so it can be a program name with args.
3839 set dummy $ac_prog; ac_word=$2
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then :
3843 $as_echo_n "(cached) " >&6
3845 if test -n "$ac_ct_OBJCXX"; then
3846 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3855 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3865 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
3866 if test -n "$ac_ct_OBJCXX"; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
3868 $as_echo "$ac_ct_OBJCXX" >&6; }
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3875 test -n "$ac_ct_OBJCXX" && break
3878 if test "x$ac_ct_OBJCXX" = x; then
3881 case $cross_compiling:$ac_tool_warned in
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3885 ac_tool_warned=yes ;;
3887 OBJCXX=$ac_ct_OBJCXX
3891 # Provide some information about the compiler.
3892 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
3895 for ac_option in --version -v -V -qversion; do
3896 { { ac_try="$ac_compiler $ac_option >&5"
3898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3899 *) ac_try_echo
=$ac_try;;
3901 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3902 $as_echo "$ac_try_echo"; } >&5
3903 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3905 if test -s conftest.err
; then
3907 ... rest of stderr output deleted ...
3908 10q' conftest.err
>conftest.er1
3909 cat conftest.er1
>&5
3911 rm -f conftest.er1 conftest.err
3912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3913 test $ac_status = 0; }
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
3917 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
3918 if ${ac_cv_objcxx_compiler_gnu+:} false
; then :
3919 $as_echo_n "(cached) " >&6
3921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3935 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3941 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
3945 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
3946 if test $ac_compiler_gnu = yes; then
3951 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
3952 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
3954 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
3955 if ${ac_cv_prog_objcxx_g+:} false
; then :
3956 $as_echo_n "(cached) " >&6
3958 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
3959 ac_objcxx_werror_flag
=yes
3960 ac_cv_prog_objcxx_g
=no
3962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3973 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3974 ac_cv_prog_objcxx_g
=yes
3977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3988 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3991 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
3993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
4004 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4005 ac_cv_prog_objcxx_g
=yes
4007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4012 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4015 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4016 if test "$ac_test_OBJCXXFLAGS" = set; then
4017 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
4018 elif test $ac_cv_prog_objcxx_g = yes; then
4019 if test "$GOBJCXX" = yes; then
4020 OBJCXXFLAGS
="-g -O2"
4025 if test "$GOBJCXX" = yes; then
4032 ac_cpp
='$CPP $CPPFLAGS'
4033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4037 depcc
="$OBJCXX" am_compiler_list
='gcc3 gcc'
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4040 $as_echo_n "checking dependency style of $depcc... " >&6; }
4041 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false
; then :
4042 $as_echo_n "(cached) " >&6
4044 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4045 # We make a subdir and do the tests there. Otherwise we can end up
4046 # making bogus files that we don't know about and never remove. For
4047 # instance it was reported that on HP-UX the gcc test will end up
4048 # making a dummy file named 'D' -- because '-MD' means "put the output
4052 # Copy depcomp to subdir because otherwise we won't find it if we're
4053 # using a relative directory.
4054 cp "$am_depcomp" conftest.dir
4056 # We will build objects and dependencies in a subdirectory because
4057 # it helps to detect inapplicable dependency modes. For instance
4058 # both Tru64's cc and ICC support -MD to output dependencies as a
4059 # side effect of compilation, but ICC will put the dependencies in
4060 # the current directory while Tru64 will put them in the object
4064 am_cv_OBJCXX_dependencies_compiler_type
=none
4065 if test "$am_compiler_list" = ""; then
4066 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4071 for depmode
in $am_compiler_list; do
4072 # Setup a source with many dependencies, because some compilers
4073 # like to wrap large dependency lists on column 80 (with \), and
4074 # we should not choose a depcomp mode which is confused by this.
4076 # We need to recreate these files for each test, as the compiler may
4077 # overwrite some of them when testing with obscure command lines.
4078 # This happens at least with the AIX C compiler.
4080 for i
in 1 2 3 4 5 6; do
4081 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4082 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4083 # Solaris 10 /bin/sh.
4084 echo '/* dummy */' > sub
/conftst
$i.h
4086 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4088 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4089 # mode. It turns out that the SunPro C++ compiler does not properly
4090 # handle '-M -o', and we need to detect this. Also, some Intel
4091 # versions had trouble with output in subdirs.
4092 am__obj
=sub
/conftest.
${OBJEXT-o}
4093 am__minus_obj
="-o $am__obj"
4096 # This depmode causes a compiler race in universal mode.
4097 test "$am__universal" = false
|| continue
4100 # After this tag, mechanisms are not by side-effect, so they'll
4101 # only be used when explicitly requested.
4102 if test "x$enable_dependency_tracking" = xyes
; then
4108 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4109 # This compiler won't grok '-c -o', but also, the minuso test has
4110 # not run yet. These depmodes are late enough in the game, and
4111 # so weak that their functioning should not be impacted.
4112 am__obj
=conftest.
${OBJEXT-o}
4117 if depmode
=$depmode \
4118 source=sub
/conftest.c object
=$am__obj \
4119 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4120 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4121 >/dev
/null
2>conftest.err
&&
4122 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4123 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4124 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4125 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4126 # icc doesn't choke on unknown options, it will just issue warnings
4127 # or remarks (even with -Werror). So we grep stderr for any message
4128 # that says an option was ignored or not supported.
4129 # When given -MP, icc 7.0 and 7.1 complain thusly:
4130 # icc: Command line warning: ignoring option '-M'; no argument required
4131 # The diagnosis changed in icc 8.0:
4132 # icc: Command line remark: option '-MP' not supported
4133 if (grep 'ignoring option' conftest.err
||
4134 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4135 am_cv_OBJCXX_dependencies_compiler_type
=$depmode
4144 am_cv_OBJCXX_dependencies_compiler_type
=none
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4149 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4150 OBJCXXDEPMODE
=depmode
=$am_cv_OBJCXX_dependencies_compiler_type
4153 test "x$enable_dependency_tracking" != xno \
4154 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3
; then
4155 am__fastdepOBJCXX_TRUE
=
4156 am__fastdepOBJCXX_FALSE
='#'
4158 am__fastdepOBJCXX_TRUE
='#'
4159 am__fastdepOBJCXX_FALSE
=
4164 ac_cpp
='$CPP $CPPFLAGS'
4165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4168 if test -n "$ac_tool_prefix"; then
4169 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4170 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4172 $as_echo_n "checking for $ac_word... " >&6; }
4173 if ${ac_cv_prog_CC+:} false
; then :
4174 $as_echo_n "(cached) " >&6
4176 if test -n "$CC"; then
4177 ac_cv_prog_CC
="$CC" # Let the user override the test.
4179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4183 test -z "$as_dir" && as_dir
=.
4184 for ac_exec_ext
in '' $ac_executable_extensions; do
4185 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4186 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4197 if test -n "$CC"; then
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4199 $as_echo "$CC" >&6; }
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4202 $as_echo "no" >&6; }
4207 if test -z "$ac_cv_prog_CC"; then
4209 # Extract the first word of "gcc", so it can be a program name with args.
4210 set dummy gcc
; ac_word
=$2
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4212 $as_echo_n "checking for $ac_word... " >&6; }
4213 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4214 $as_echo_n "(cached) " >&6
4216 if test -n "$ac_ct_CC"; then
4217 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4223 test -z "$as_dir" && as_dir
=.
4224 for ac_exec_ext
in '' $ac_executable_extensions; do
4225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4226 ac_cv_prog_ac_ct_CC
="gcc"
4227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4236 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4237 if test -n "$ac_ct_CC"; then
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4239 $as_echo "$ac_ct_CC" >&6; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4242 $as_echo "no" >&6; }
4245 if test "x$ac_ct_CC" = x
; then
4248 case $cross_compiling:$ac_tool_warned in
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4252 ac_tool_warned
=yes ;;
4260 if test -z "$CC"; then
4261 if test -n "$ac_tool_prefix"; then
4262 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4263 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if ${ac_cv_prog_CC+:} false
; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -n "$CC"; then
4270 ac_cv_prog_CC
="$CC" # Let the user override the test.
4272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir
=.
4277 for ac_exec_ext
in '' $ac_executable_extensions; do
4278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4279 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 if test -n "$CC"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4292 $as_echo "$CC" >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4301 if test -z "$CC"; then
4302 # Extract the first word of "cc", so it can be a program name with args.
4303 set dummy cc
; ac_word
=$2
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4305 $as_echo_n "checking for $ac_word... " >&6; }
4306 if ${ac_cv_prog_CC+:} false
; then :
4307 $as_echo_n "(cached) " >&6
4309 if test -n "$CC"; then
4310 ac_cv_prog_CC
="$CC" # Let the user override the test.
4313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir
=.
4318 for ac_exec_ext
in '' $ac_executable_extensions; do
4319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4320 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4321 ac_prog_rejected
=yes
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 if test $ac_prog_rejected = yes; then
4333 # We found a bogon in the path, so make sure we never use it.
4334 set dummy
$ac_cv_prog_CC
4336 if test $# != 0; then
4337 # We chose a different compiler from the bogus one.
4338 # However, it has the same basename, so the bogon will be chosen
4339 # first if we set CC to just the basename; use the full file name.
4341 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4347 if test -n "$CC"; then
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4349 $as_echo "$CC" >&6; }
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4352 $as_echo "no" >&6; }
4357 if test -z "$CC"; then
4358 if test -n "$ac_tool_prefix"; then
4359 for ac_prog
in cl.exe
4361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4362 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4364 $as_echo_n "checking for $ac_word... " >&6; }
4365 if ${ac_cv_prog_CC+:} false
; then :
4366 $as_echo_n "(cached) " >&6
4368 if test -n "$CC"; then
4369 ac_cv_prog_CC
="$CC" # Let the user override the test.
4371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4375 test -z "$as_dir" && as_dir
=.
4376 for ac_exec_ext
in '' $ac_executable_extensions; do
4377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4378 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 if test -n "$CC"; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4391 $as_echo "$CC" >&6; }
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394 $as_echo "no" >&6; }
4398 test -n "$CC" && break
4401 if test -z "$CC"; then
4403 for ac_prog
in cl.exe
4405 # Extract the first word of "$ac_prog", so it can be a program name with args.
4406 set dummy
$ac_prog; ac_word
=$2
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408 $as_echo_n "checking for $ac_word... " >&6; }
4409 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4410 $as_echo_n "(cached) " >&6
4412 if test -n "$ac_ct_CC"; then
4413 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir
=.
4420 for ac_exec_ext
in '' $ac_executable_extensions; do
4421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4422 ac_cv_prog_ac_ct_CC
="$ac_prog"
4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4433 if test -n "$ac_ct_CC"; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4435 $as_echo "$ac_ct_CC" >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438 $as_echo "no" >&6; }
4442 test -n "$ac_ct_CC" && break
4445 if test "x$ac_ct_CC" = x
; then
4448 case $cross_compiling:$ac_tool_warned in
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4452 ac_tool_warned
=yes ;;
4461 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4463 as_fn_error $?
"no acceptable C compiler found in \$PATH
4464 See \`config.log' for more details" "$LINENO" 5; }
4466 # Provide some information about the compiler.
4467 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4470 for ac_option
in --version -v -V -qversion; do
4471 { { ac_try
="$ac_compiler $ac_option >&5"
4473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4474 *) ac_try_echo=$ac_try;;
4476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4477 $as_echo "$ac_try_echo"; } >&5
4478 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4480 if test -s conftest.err; then
4482 ... rest of stderr output deleted ...
4483 10q' conftest.err >conftest.er1
4484 cat conftest.er1 >&5
4486 rm -f conftest.er1 conftest.err
4487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4488 test $ac_status = 0; }
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4492 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4493 if ${ac_cv_c_compiler_gnu+:} false; then :
4494 $as_echo_n "(cached) " >&6
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4510 if ac_fn_c_try_compile "$LINENO"; then :
4515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4516 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4520 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4521 if test $ac_compiler_gnu = yes; then
4526 ac_test_CFLAGS=${CFLAGS+set}
4527 ac_save_CFLAGS=$CFLAGS
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4529 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4530 if ${ac_cv_prog_cc_g+:} false; then :
4531 $as_echo_n "(cached) " >&6
4533 ac_save_c_werror_flag=$ac_c_werror_flag
4534 ac_c_werror_flag=yes
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4548 if ac_fn_c_try_compile "$LINENO"; then :
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4563 if ac_fn_c_try_compile "$LINENO"; then :
4566 ac_c_werror_flag=$ac_save_c_werror_flag
4568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4579 if ac_fn_c_try_compile "$LINENO"; then :
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4587 ac_c_werror_flag=$ac_save_c_werror_flag
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4590 $as_echo "$ac_cv_prog_cc_g" >&6; }
4591 if test "$ac_test_CFLAGS" = set; then
4592 CFLAGS=$ac_save_CFLAGS
4593 elif test $ac_cv_prog_cc_g = yes; then
4594 if test "$GCC" = yes; then
4600 if test "$GCC" = yes; then
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4607 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4608 if ${ac_cv_prog_cc_c89+:} false; then :
4609 $as_echo_n "(cached) " >&6
4611 ac_cv_prog_cc_c89=no
4613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4618 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4619 struct buf { int x; };
4620 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4621 static char *e (p, i)
4627 static char *f (char * (*g) (char **, int), char **p, ...)
4632 s = g (p, va_arg (v,int));
4637 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4638 function prototypes and stuff, but not '\xHH' hex character constants.
4639 These don't provoke an error unfortunately, instead are silently treated
4640 as 'x'. The following induces an error, until -std is added to get
4641 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4642 array size at least. It's necessary to write '\x00'==0 to get something
4643 that's true only with -std. */
4644 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4646 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4647 inside strings and character constants. */
4649 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4651 int test (int i, double x);
4652 struct s1 {int (*f) (int a);};
4653 struct s2 {int (*f) (double a);};
4654 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4660 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4665 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4666 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4668 CC="$ac_save_CC $ac_arg"
4669 if ac_fn_c_try_compile "$LINENO"; then :
4670 ac_cv_prog_cc_c89=$ac_arg
4672 rm -f core conftest.err conftest.$ac_objext
4673 test "x$ac_cv_prog_cc_c89" != "xno" && break
4675 rm -f conftest.$ac_ext
4680 case "x$ac_cv_prog_cc_c89" in
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4683 $as_echo "none needed" >&6; } ;;
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4686 $as_echo "unsupported" >&6; } ;;
4688 CC="$CC $ac_cv_prog_cc_c89"
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4690 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4692 if test "x$ac_cv_prog_cc_c89" != xno; then :
4697 ac_cpp='$CPP $CPPFLAGS'
4698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4702 depcc="$CC" am_compiler_list=
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4705 $as_echo_n "checking dependency style of $depcc... " >&6; }
4706 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4707 $as_echo_n "(cached) " >&6
4709 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4710 # We make a subdir and do the tests there. Otherwise we can end up
4711 # making bogus files that we don't know about and never remove. For
4712 # instance it was reported that on HP-UX the gcc test will end up
4713 # making a dummy file named 'D' -- because '-MD' means "put the output
4717 # Copy depcomp to subdir because otherwise we won't find it if we're
4718 # using a relative directory.
4719 cp "$am_depcomp" conftest.dir
4721 # We will build objects and dependencies in a subdirectory because
4722 # it helps to detect inapplicable dependency modes. For instance
4723 # both Tru64's cc and ICC support -MD to output dependencies as a
4724 # side effect of compilation, but ICC will put the dependencies in
4725 # the current directory while Tru64 will put them in the object
4729 am_cv_CC_dependencies_compiler_type=none
4730 if test "$am_compiler_list" = ""; then
4731 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4734 case " $depcc " in #(
4735 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4738 for depmode in $am_compiler_list; do
4739 # Setup a source with many dependencies, because some compilers
4740 # like to wrap large dependency lists on column 80 (with \), and
4741 # we should not choose a depcomp mode which is confused by this.
4743 # We need to recreate these files for each test, as the compiler may
4744 # overwrite some of them when testing with obscure command lines.
4745 # This happens at least with the AIX C compiler.
4747 for i in 1 2 3 4 5 6; do
4748 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4749 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4750 # Solaris 10 /bin/sh.
4751 echo '/* dummy */' > sub/conftst$i.h
4753 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4755 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4756 # mode. It turns out that the SunPro C++ compiler does not properly
4757 # handle '-M -o', and we need to detect this. Also, some Intel
4758 # versions had trouble with output in subdirs.
4759 am__obj=sub/conftest.${OBJEXT-o}
4760 am__minus_obj="-o $am__obj"
4763 # This depmode causes a compiler race in universal mode.
4764 test "$am__universal" = false || continue
4767 # After this tag, mechanisms are not by side-effect, so they'll
4768 # only be used when explicitly requested.
4769 if test "x$enable_dependency_tracking" = xyes; then
4775 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4776 # This compiler won't grok '-c -o', but also, the minuso test has
4777 # not run yet. These depmodes are late enough in the game, and
4778 # so weak that their functioning should not be impacted.
4779 am__obj=conftest.${OBJEXT-o}
4784 if depmode=$depmode \
4785 source=sub/conftest.c object=$am__obj \
4786 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4787 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4788 >/dev/null 2>conftest.err &&
4789 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4790 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4791 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4792 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4793 # icc doesn't choke on unknown options, it will just issue warnings
4794 # or remarks (even with -Werror). So we grep stderr for any message
4795 # that says an option was ignored or not supported.
4796 # When given -MP, icc 7.0 and 7.1 complain thusly:
4797 # icc: Command line warning: ignoring option '-M'; no argument required
4798 # The diagnosis changed in icc 8.0:
4799 # icc: Command line remark: option '-MP' not supported
4800 if (grep 'ignoring option' conftest.err ||
4801 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4802 am_cv_CC_dependencies_compiler_type=$depmode
4811 am_cv_CC_dependencies_compiler_type=none
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4816 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4817 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4820 test "x$enable_dependency_tracking" != xno \
4821 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4823 am__fastdepCC_FALSE='#'
4825 am__fastdepCC_TRUE='#'
4826 am__fastdepCC_FALSE=
4831 if test -n "$ac_tool_prefix"; then
4832 for ac_prog in ar lib "link -lib"
4834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4837 $as_echo_n "checking for $ac_word... " >&6; }
4838 if ${ac_cv_prog_AR+:} false; then :
4839 $as_echo_n "(cached) " >&6
4841 if test -n "$AR"; then
4842 ac_cv_prog_AR="$AR" # Let the user override the test.
4844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 test -z "$as_dir" && as_dir=.
4849 for ac_exec_ext in '' $ac_executable_extensions; do
4850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4851 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4862 if test -n "$AR"; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4864 $as_echo "$AR" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4871 test -n "$AR" && break
4874 if test -z "$AR"; then
4876 for ac_prog in ar lib "link -lib"
4878 # Extract the first word of "$ac_prog", so it can be a program name with args.
4879 set dummy $ac_prog; ac_word=$2
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881 $as_echo_n "checking for $ac_word... " >&6; }
4882 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4883 $as_echo_n "(cached) " >&6
4885 if test -n "$ac_ct_AR"; then
4886 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir=.
4893 for ac_exec_ext in '' $ac_executable_extensions; do
4894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4895 ac_cv_prog_ac_ct_AR="$ac_prog"
4896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4906 if test -n "$ac_ct_AR"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4908 $as_echo "$ac_ct_AR" >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4915 test -n "$ac_ct_AR" && break
4918 if test "x$ac_ct_AR" = x; then
4921 case $cross_compiling:$ac_tool_warned in
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4925 ac_tool_warned=yes ;;
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4934 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4935 if ${am_cv_ar_interface+:} false; then :
4936 $as_echo_n "(cached) " >&6
4938 am_cv_ar_interface=ar
4939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4941 int some_variable = 0;
4943 if ac_fn_c_try_compile "$LINENO"; then :
4944 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4945 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4946 (eval $am_ar_try) 2>&5
4948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4949 test $ac_status = 0; }
4950 if test "$ac_status" -eq 0; then
4951 am_cv_ar_interface=ar
4953 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4954 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4955 (eval $am_ar_try) 2>&5
4957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4958 test $ac_status = 0; }
4959 if test "$ac_status" -eq 0; then
4960 am_cv_ar_interface=lib
4962 am_cv_ar_interface=unknown
4965 rm -f conftest.lib libconftest.a
4968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4972 $as_echo "$am_cv_ar_interface" >&6; }
4974 case $am_cv_ar_interface in
4978 # Microsoft lib, so override with the ar-lib wrapper script.
4979 # FIXME: It is wrong to rewrite AR.
4980 # But if we don't then we get into trouble of one sort or another.
4981 # A longer-term fix would be to have automake use am__AR in this case,
4982 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4984 AR="$am_aux_dir/ar-lib $AR"
4987 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4996 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5001 macro_version='2.4.2'
5002 macro_revision='1.3337'
5016 ltmain="$ac_aux_dir/ltmain.sh"
5018 # Make sure we can run config.sub.
5019 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5020 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5023 $as_echo_n "checking build system type... " >&6; }
5024 if ${ac_cv_build+:} false; then :
5025 $as_echo_n "(cached) " >&6
5027 ac_build_alias=$build_alias
5028 test "x$ac_build_alias" = x &&
5029 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5030 test "x$ac_build_alias" = x &&
5031 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5032 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5033 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5037 $as_echo "$ac_cv_build" >&6; }
5038 case $ac_cv_build in
5040 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5043 ac_save_IFS=$IFS; IFS='-'
5049 # Remember, the first character of IFS is used to create $*,
5050 # except with old shells:
5053 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5057 $as_echo_n "checking host system type... " >&6; }
5058 if ${ac_cv_host+:} false; then :
5059 $as_echo_n "(cached) " >&6
5061 if test "x$host_alias" = x; then
5062 ac_cv_host=$ac_cv_build
5064 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5065 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5070 $as_echo "$ac_cv_host" >&6; }
5073 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5076 ac_save_IFS=$IFS; IFS='-'
5082 # Remember, the first character of IFS is used to create $*,
5083 # except with old shells:
5086 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5089 # Backslashify metacharacters that are still active within
5090 # double-quoted strings.
5091 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5093 # Same as above, but do not quote variable references.
5094 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5096 # Sed substitution to delay expansion of an escaped shell variable in a
5097 # double_quote_subst'ed string.
5098 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5100 # Sed substitution to delay expansion of an escaped single quote.
5101 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5103 # Sed substitution to avoid accidental globbing in evaled expressions
5104 no_glob_subst='s/\*/\\\*/g'
5106 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5107 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5108 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5111 $as_echo_n "checking how to print
strings...
" >&6; }
5112 # Test print first, because it will be a builtin if present.
5113 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5114 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5116 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5119 # Use this function as a fallback that always works.
5120 func_fallback_echo ()
5122 eval 'cat <<_LTECHO_EOF
5126 ECHO='func_fallback_echo'
5129 # func_echo_all arg...
5130 # Invoke $ECHO with all args, space-separated.
5137 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5138 $as_echo "printf" >&6; } ;;
5139 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5140 $as_echo "print
-r" >&6; } ;;
5141 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5142 $as_echo "cat" >&6; } ;;
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5159 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5160 if ${ac_cv_path_SED+:} false; then :
5161 $as_echo_n "(cached
) " >&6
5163 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5164 for ac_i in 1 2 3 4 5 6 7; do
5165 ac_script="$ac_script$as_nl$ac_script"
5167 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5168 { ac_script=; unset ac_script;}
5169 if test -z "$SED"; then
5170 ac_path_SED_found=false
5171 # Loop through the user's path and test for each of PROGNAME-LIST
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 test -z "$as_dir" && as_dir=.
5177 for ac_prog in sed gsed; do
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5180 as_fn_executable_p "$ac_path_SED" || continue
5181 # Check for GNU ac_path_SED and select it if it is found.
5182 # Check for GNU $ac_path_SED
5183 case `"$ac_path_SED" --version 2>&1` in
5185 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5188 $as_echo_n 0123456789 >"conftest.
in"
5191 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5192 mv "conftest.tmp
" "conftest.
in"
5193 cp "conftest.
in" "conftest.
nl"
5194 $as_echo '' >> "conftest.
nl"
5195 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5196 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5197 as_fn_arith $ac_count + 1 && ac_count=$as_val
5198 if test $ac_count -gt ${ac_path_SED_max-0}; then
5199 # Best one so far, save it but keep looking for a better one
5200 ac_cv_path_SED="$ac_path_SED"
5201 ac_path_SED_max=$ac_count
5203 # 10*(2^10) chars as input seems more than enough
5204 test $ac_count -gt 10 && break
5206 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5209 $ac_path_SED_found && break 3
5214 if test -z "$ac_cv_path_SED"; then
5215 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5223 $as_echo "$ac_cv_path_SED" >&6; }
5224 SED="$ac_cv_path_SED"
5227 test -z "$SED" && SED=sed
5228 Xsed="$SED -e 1s
/^X
//"
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5241 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5242 if ${ac_cv_path_GREP+:} false; then :
5243 $as_echo_n "(cached
) " >&6
5245 if test -z "$GREP"; then
5246 ac_path_GREP_found=false
5247 # Loop through the user's path and test for each of PROGNAME-LIST
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5252 test -z "$as_dir" && as_dir=.
5253 for ac_prog in grep ggrep; do
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5256 as_fn_executable_p "$ac_path_GREP" || continue
5257 # Check for GNU ac_path_GREP and select it if it is found.
5258 # Check for GNU $ac_path_GREP
5259 case `"$ac_path_GREP" --version 2>&1` in
5261 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5264 $as_echo_n 0123456789 >"conftest.
in"
5267 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5268 mv "conftest.tmp
" "conftest.
in"
5269 cp "conftest.
in" "conftest.
nl"
5270 $as_echo 'GREP' >> "conftest.
nl"
5271 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5272 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5273 as_fn_arith $ac_count + 1 && ac_count=$as_val
5274 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5275 # Best one so far, save it but keep looking for a better one
5276 ac_cv_path_GREP="$ac_path_GREP"
5277 ac_path_GREP_max=$ac_count
5279 # 10*(2^10) chars as input seems more than enough
5280 test $ac_count -gt 10 && break
5282 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5285 $ac_path_GREP_found && break 3
5290 if test -z "$ac_cv_path_GREP"; then
5291 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5294 ac_cv_path_GREP=$GREP
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5299 $as_echo "$ac_cv_path_GREP" >&6; }
5300 GREP="$ac_cv_path_GREP"
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5304 $as_echo_n "checking
for egrep...
" >&6; }
5305 if ${ac_cv_path_EGREP+:} false; then :
5306 $as_echo_n "(cached
) " >&6
5308 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5309 then ac_cv_path_EGREP="$GREP -E"
5311 if test -z "$EGREP"; then
5312 ac_path_EGREP_found=false
5313 # Loop through the user's path and test for each of PROGNAME-LIST
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5318 test -z "$as_dir" && as_dir=.
5319 for ac_prog in egrep; do
5320 for ac_exec_ext in '' $ac_executable_extensions; do
5321 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5322 as_fn_executable_p "$ac_path_EGREP" || continue
5323 # Check for GNU ac_path_EGREP and select it if it is found.
5324 # Check for GNU $ac_path_EGREP
5325 case `"$ac_path_EGREP" --version 2>&1` in
5327 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5330 $as_echo_n 0123456789 >"conftest.
in"
5333 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5334 mv "conftest.tmp
" "conftest.
in"
5335 cp "conftest.
in" "conftest.
nl"
5336 $as_echo 'EGREP' >> "conftest.
nl"
5337 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5338 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5339 as_fn_arith $ac_count + 1 && ac_count=$as_val
5340 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5341 # Best one so far, save it but keep looking for a better one
5342 ac_cv_path_EGREP="$ac_path_EGREP"
5343 ac_path_EGREP_max=$ac_count
5345 # 10*(2^10) chars as input seems more than enough
5346 test $ac_count -gt 10 && break
5348 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5351 $ac_path_EGREP_found && break 3
5356 if test -z "$ac_cv_path_EGREP"; then
5357 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5360 ac_cv_path_EGREP=$EGREP
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5366 $as_echo "$ac_cv_path_EGREP" >&6; }
5367 EGREP="$ac_cv_path_EGREP"
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5371 $as_echo_n "checking
for fgrep...
" >&6; }
5372 if ${ac_cv_path_FGREP+:} false; then :
5373 $as_echo_n "(cached
) " >&6
5375 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5376 then ac_cv_path_FGREP="$GREP -F"
5378 if test -z "$FGREP"; then
5379 ac_path_FGREP_found=false
5380 # Loop through the user's path and test for each of PROGNAME-LIST
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5385 test -z "$as_dir" && as_dir=.
5386 for ac_prog in fgrep; do
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5389 as_fn_executable_p "$ac_path_FGREP" || continue
5390 # Check for GNU ac_path_FGREP and select it if it is found.
5391 # Check for GNU $ac_path_FGREP
5392 case `"$ac_path_FGREP" --version 2>&1` in
5394 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5397 $as_echo_n 0123456789 >"conftest.
in"
5400 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5401 mv "conftest.tmp
" "conftest.
in"
5402 cp "conftest.
in" "conftest.
nl"
5403 $as_echo 'FGREP' >> "conftest.
nl"
5404 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5405 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5406 as_fn_arith $ac_count + 1 && ac_count=$as_val
5407 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5408 # Best one so far, save it but keep looking for a better one
5409 ac_cv_path_FGREP="$ac_path_FGREP"
5410 ac_path_FGREP_max=$ac_count
5412 # 10*(2^10) chars as input seems more than enough
5413 test $ac_count -gt 10 && break
5415 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5418 $ac_path_FGREP_found && break 3
5423 if test -z "$ac_cv_path_FGREP"; then
5424 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5427 ac_cv_path_FGREP=$FGREP
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5433 $as_echo "$ac_cv_path_FGREP" >&6; }
5434 FGREP="$ac_cv_path_FGREP"
5437 test -z "$GREP" && GREP=grep
5457 # Check whether --with-gnu-ld was given.
5458 if test "${with_gnu_ld+set}" = set; then :
5459 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5465 if test "$GCC" = yes; then
5466 # Check if gcc -print-prog-name=ld gives a path.
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5468 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5471 # gcc leaves a trailing carriage return which upsets mingw
5472 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5474 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5477 # Accept absolute paths.
5479 re_direlt='/[^/][^/]*/\.\./'
5480 # Canonicalize the pathname of ld
5481 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5482 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5483 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5485 test -z "$LD" && LD="$ac_prog"
5488 # If it fails, then pretend we aren't using GCC.
5492 # If it is relative, then search for the first ld in PATH.
5496 elif test "$with_gnu_ld" = yes; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5498 $as_echo_n "checking
for GNU ld...
" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5501 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5503 if ${lt_cv_path_LD+:} false; then :
5504 $as_echo_n "(cached
) " >&6
5506 if test -z "$LD"; then
5507 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5508 for ac_dir in $PATH; do
5510 test -z "$ac_dir" && ac_dir=.
5511 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5512 lt_cv_path_LD="$ac_dir/$ac_prog"
5513 # Check to see if the program is GNU ld. I'd rather use --version,
5514 # but apparently some variants of GNU ld only accept -v.
5515 # Break only if it was the GNU/non-GNU ld that we prefer.
5516 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5517 *GNU* | *'with BFD'*)
5518 test "$with_gnu_ld" != no && break
5521 test "$with_gnu_ld" != yes && break
5528 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5533 if test -n "$LD"; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5535 $as_echo "$LD" >&6; }
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5538 $as_echo "no
" >&6; }
5540 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5542 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5543 if ${lt_cv_prog_gnu_ld+:} false; then :
5544 $as_echo_n "(cached
) " >&6
5546 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5547 case `$LD -v 2>&1 </dev/null` in
5548 *GNU* | *'with BFD'*)
5549 lt_cv_prog_gnu_ld=yes
5552 lt_cv_prog_gnu_ld=no
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5557 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5558 with_gnu_ld=$lt_cv_prog_gnu_ld
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5569 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5570 if ${lt_cv_path_NM+:} false; then :
5571 $as_echo_n "(cached
) " >&6
5573 if test -n "$NM"; then
5574 # Let the user override the test.
5577 lt_nm_to_check="${ac_tool_prefix}nm
"
5578 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5579 lt_nm_to_check="$lt_nm_to_check nm
"
5581 for lt_tmp_nm in $lt_nm_to_check; do
5582 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5583 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5585 test -z "$ac_dir" && ac_dir=.
5586 tmp_nm="$ac_dir/$lt_tmp_nm"
5587 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5588 # Check to see if the nm accepts a BSD-compat flag.
5589 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5590 # nm: unknown option "B
" ignored
5591 # Tru64's nm complains that /dev/null is an invalid object file
5592 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5593 */dev/null* | *'Invalid file or object type'*)
5594 lt_cv_path_NM="$tmp_nm -B"
5598 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5600 lt_cv_path_NM="$tmp_nm -p"
5604 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5605 continue # so that we can try to find one that supports BSD flags
5614 : ${lt_cv_path_NM=no}
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5618 $as_echo "$lt_cv_path_NM" >&6; }
5619 if test "$lt_cv_path_NM" != "no
"; then
5622 # Didn't find any BSD compatible name lister, look for dumpbin.
5623 if test -n "$DUMPBIN"; then :
5624 # Let the user override the test.
5626 if test -n "$ac_tool_prefix"; then
5627 for ac_prog in dumpbin "link
-dump"
5629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5632 $as_echo_n "checking
for $ac_word...
" >&6; }
5633 if ${ac_cv_prog_DUMPBIN+:} false; then :
5634 $as_echo_n "(cached
) " >&6
5636 if test -n "$DUMPBIN"; then
5637 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 test -z "$as_dir" && as_dir=.
5644 for ac_exec_ext in '' $ac_executable_extensions; do
5645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5646 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5656 DUMPBIN=$ac_cv_prog_DUMPBIN
5657 if test -n "$DUMPBIN"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5659 $as_echo "$DUMPBIN" >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5662 $as_echo "no
" >&6; }
5666 test -n "$DUMPBIN" && break
5669 if test -z "$DUMPBIN"; then
5670 ac_ct_DUMPBIN=$DUMPBIN
5671 for ac_prog in dumpbin "link
-dump"
5673 # Extract the first word of "$ac_prog", so it can be a program name with args.
5674 set dummy $ac_prog; ac_word=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5676 $as_echo_n "checking
for $ac_word...
" >&6; }
5677 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5678 $as_echo_n "(cached
) " >&6
5680 if test -n "$ac_ct_DUMPBIN"; then
5681 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 test -z "$as_dir" && as_dir=.
5688 for ac_exec_ext in '' $ac_executable_extensions; do
5689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5690 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5700 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5701 if test -n "$ac_ct_DUMPBIN"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5703 $as_echo "$ac_ct_DUMPBIN" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5706 $as_echo "no
" >&6; }
5710 test -n "$ac_ct_DUMPBIN" && break
5713 if test "x
$ac_ct_DUMPBIN" = x; then
5716 case $cross_compiling:$ac_tool_warned in
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5719 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5720 ac_tool_warned=yes ;;
5722 DUMPBIN=$ac_ct_DUMPBIN
5726 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5728 DUMPBIN="$DUMPBIN -symbols"
5736 if test "$DUMPBIN" != ":"; then
5740 test -z "$NM" && NM=nm
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5748 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5749 if ${lt_cv_nm_interface+:} false; then :
5750 $as_echo_n "(cached
) " >&6
5752 lt_cv_nm_interface="BSD nm
"
5753 echo "int some_variable
= 0;" > conftest.$ac_ext
5754 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5755 (eval "$ac_compile" 2>conftest.err)
5756 cat conftest.err >&5
5757 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5758 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5759 cat conftest.err >&5
5760 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5761 cat conftest.out >&5
5762 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5763 lt_cv_nm_interface="MS dumpbin
"
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5768 $as_echo "$lt_cv_nm_interface" >&6; }
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5771 $as_echo_n "checking whether
ln -s works...
" >&6; }
5773 if test "$LN_S" = "ln -s"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5775 $as_echo "yes" >&6; }
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5778 $as_echo "no
, using
$LN_S" >&6; }
5781 # find the maximum length of command line arguments
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5783 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5784 if ${lt_cv_sys_max_cmd_len+:} false; then :
5785 $as_echo_n "(cached
) " >&6
5792 # On DJGPP, this test can blow up pretty badly due to problems in libc
5793 # (any single argument exceeding 2000 bytes causes a buffer overrun
5794 # during glob expansion). Even if it were fixed, the result of this
5795 # check would be larger than it should be.
5796 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5800 # Under GNU Hurd, this test is not required because there is
5801 # no limit to the length of command line arguments.
5802 # Libtool will interpret -1 as no limit whatsoever
5803 lt_cv_sys_max_cmd_len=-1;
5806 cygwin* | mingw* | cegcc*)
5807 # On Win9x/ME, this test blows up -- it succeeds, but takes
5808 # about 5 minutes as the teststring grows exponentially.
5809 # Worse, since 9x/ME are not pre-emptively multitasking,
5810 # you end up with a "frozen
" computer, even though with patience
5811 # the test eventually succeeds (with a max line length of 256k).
5812 # Instead, let's just punt: use the minimum linelength reported by
5813 # all of the supported platforms: 8192 (on NT/2K/XP).
5814 lt_cv_sys_max_cmd_len=8192;
5818 # On MiNT this can take a long time and run out of memory.
5819 lt_cv_sys_max_cmd_len=8192;
5823 # On AmigaOS with pdksh, this test takes hours, literally.
5824 # So we just punt and use a minimum line length of 8192.
5825 lt_cv_sys_max_cmd_len=8192;
5828 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5829 # This has been around since 386BSD, at least. Likely further.
5830 if test -x /sbin/sysctl; then
5831 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5832 elif test -x /usr/sbin/sysctl; then
5833 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5835 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5837 # And add a safety zone
5838 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5839 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5843 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5844 lt_cv_sys_max_cmd_len=196608
5848 # The test takes a long time on OS/2.
5849 lt_cv_sys_max_cmd_len=8192
5853 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5854 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5855 # nice to cause kernel panics so lets avoid the loop below.
5856 # First set a reasonable default.
5857 lt_cv_sys_max_cmd_len=16384
5859 if test -x /sbin/sysconfig; then
5860 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5861 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5866 lt_cv_sys_max_cmd_len=102400
5868 sysv5* | sco5v6* | sysv4.2uw2*)
5869 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5870 if test -n "$kargmax"; then
5871 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5873 lt_cv_sys_max_cmd_len=32768
5877 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5878 if test -n "$lt_cv_sys_max_cmd_len"; then
5879 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5880 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5882 # Make teststring a little bigger before we do anything with it.
5883 # a 1K string should be a reasonable start.
5884 for i in 1 2 3 4 5 6 7 8 ; do
5885 teststring=$teststring$teststring
5887 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5888 # If test is not a shell built-in, we'll probably end up computing a
5889 # maximum length that is only half of the actual maximum length, but
5891 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5892 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5893 test $i != 17 # 1/2 MB should be enough
5896 teststring=$teststring$teststring
5898 # Only check the string length outside the loop.
5899 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5901 # Add a significant safety factor because C++ compilers can tack on
5902 # massive amounts of additional arguments before passing them to the
5903 # linker. It appears as though 1/2 is a usable value.
5904 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5911 if test -n $lt_cv_sys_max_cmd_len ; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5913 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5916 $as_echo "none
" >&6; }
5918 max_cmd_len=$lt_cv_sys_max_cmd_len
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5930 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5931 # Try some XSI features
5934 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5936 && eval 'test $(( 1 + 1 )) -eq 2 \
5937 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5940 $as_echo "$xsi_shell" >&6; }
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5944 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5946 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5948 && lt_shell_append=yes
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5950 $as_echo "$lt_shell_append" >&6; }
5953 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5963 # test EBCDIC or ASCII
5964 case `echo X|tr X '\101'` in
5965 A) # ASCII based system
5966 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5967 lt_SP2NL='tr \040 \012'
5968 lt_NL2SP='tr \015\012 \040\040'
5970 *) # EBCDIC based system
5971 lt_SP2NL='tr \100 \n'
5972 lt_NL2SP='tr \r\n \100\100'
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5985 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5986 if ${lt_cv_to_host_file_cmd+:} false; then :
5987 $as_echo_n "(cached
) " >&6
5992 *-*-mingw* ) # actually msys
5993 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5996 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5998 * ) # otherwise, assume *nix
5999 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6005 *-*-mingw* ) # actually msys
6006 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6009 lt_cv_to_host_file_cmd=func_convert_file_noop
6011 * ) # otherwise, assume *nix
6012 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6016 * ) # unhandled hosts (and "normal
" native builds)
6017 lt_cv_to_host_file_cmd=func_convert_file_noop
6023 to_host_file_cmd=$lt_cv_to_host_file_cmd
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6025 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6032 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6033 if ${lt_cv_to_tool_file_cmd+:} false; then :
6034 $as_echo_n "(cached
) " >&6
6036 #assume ordinary cross tools, or native build.
6037 lt_cv_to_tool_file_cmd=func_convert_file_noop
6041 *-*-mingw* ) # actually msys
6042 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6050 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6052 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6059 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6060 if ${lt_cv_ld_reload_flag+:} false; then :
6061 $as_echo_n "(cached
) " >&6
6063 lt_cv_ld_reload_flag='-r'
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6066 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6067 reload_flag=$lt_cv_ld_reload_flag
6068 case $reload_flag in
6070 *) reload_flag=" $reload_flag" ;;
6072 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6074 cygwin* | mingw* | pw32* | cegcc*)
6075 if test "$GCC" != yes; then
6080 if test "$GCC" = yes; then
6081 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6096 if test -n "$ac_tool_prefix"; then
6097 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6098 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6100 $as_echo_n "checking
for $ac_word...
" >&6; }
6101 if ${ac_cv_prog_OBJDUMP+:} false; then :
6102 $as_echo_n "(cached
) " >&6
6104 if test -n "$OBJDUMP"; then
6105 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6114 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6124 OBJDUMP=$ac_cv_prog_OBJDUMP
6125 if test -n "$OBJDUMP"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6127 $as_echo "$OBJDUMP" >&6; }
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6130 $as_echo "no
" >&6; }
6135 if test -z "$ac_cv_prog_OBJDUMP"; then
6136 ac_ct_OBJDUMP=$OBJDUMP
6137 # Extract the first word of "objdump
", so it can be a program name with args.
6138 set dummy objdump; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6140 $as_echo_n "checking
for $ac_word...
" >&6; }
6141 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6142 $as_echo_n "(cached
) " >&6
6144 if test -n "$ac_ct_OBJDUMP"; then
6145 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6164 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6165 if test -n "$ac_ct_OBJDUMP"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6167 $as_echo "$ac_ct_OBJDUMP" >&6; }
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6170 $as_echo "no
" >&6; }
6173 if test "x
$ac_ct_OBJDUMP" = x; then
6176 case $cross_compiling:$ac_tool_warned in
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6179 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6180 ac_tool_warned=yes ;;
6182 OBJDUMP=$ac_ct_OBJDUMP
6185 OBJDUMP="$ac_cv_prog_OBJDUMP"
6188 test -z "$OBJDUMP" && OBJDUMP=objdump
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6199 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6200 if ${lt_cv_deplibs_check_method+:} false; then :
6201 $as_echo_n "(cached
) " >&6
6203 lt_cv_file_magic_cmd='$MAGIC_CMD'
6204 lt_cv_file_magic_test_file=
6205 lt_cv_deplibs_check_method='unknown'
6206 # Need to set the preceding variable on all platforms that support
6207 # interlibrary dependencies.
6208 # 'none' -- dependencies not supported.
6209 # `unknown' -- same as none, but documents that we really don't know.
6210 # 'pass_all' -- all dependencies passed with no checks.
6211 # 'test_compile' -- check by making test program.
6212 # 'file_magic [[regex]]' -- check by looking for files in library path
6213 # which responds to the $file_magic_cmd with a given extended regex.
6214 # If you have `file' or equivalent on your system and you're not sure
6215 # whether `pass_all' will *always* work, you probably want this one.
6219 lt_cv_deplibs_check_method=pass_all
6223 lt_cv_deplibs_check_method=pass_all
6227 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6228 lt_cv_file_magic_cmd='/usr/bin/file -L'
6229 lt_cv_file_magic_test_file=/shlib/libc.so
6233 # func_win32_libid is a shell function defined in ltmain.sh
6234 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6235 lt_cv_file_magic_cmd='func_win32_libid'
6239 # Base MSYS/MinGW do not provide the 'file' command needed by
6240 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6241 # unless we find 'file', for example because we are cross-compiling.
6242 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6243 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6244 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6245 lt_cv_file_magic_cmd='func_win32_libid'
6247 # Keep this pattern in sync with the one in func_win32_libid.
6248 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6249 lt_cv_file_magic_cmd='$OBJDUMP -f'
6254 # use the weaker test based on 'objdump'. See mingw*.
6255 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6256 lt_cv_file_magic_cmd='$OBJDUMP -f'
6259 darwin* | rhapsody*)
6260 lt_cv_deplibs_check_method=pass_all
6263 freebsd* | dragonfly*)
6264 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6267 # Not sure whether the presence of OpenBSD here was a mistake.
6268 # Let's accept both of them until this is cleared up.
6269 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6270 lt_cv_file_magic_cmd=/usr/bin/file
6271 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6275 lt_cv_deplibs_check_method=pass_all
6280 lt_cv_deplibs_check_method=pass_all
6284 lt_cv_deplibs_check_method=pass_all
6287 hpux10.20* | hpux11*)
6288 lt_cv_file_magic_cmd=/usr/bin/file
6291 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6292 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6295 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]'
6296 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6299 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6300 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6306 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6307 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6310 irix5* | irix6* | nonstopux*)
6312 *-32|*"-32 ") libmagic=32-bit;;
6313 *-n32|*"-n32 ") libmagic=N32;;
6314 *-64|*"-64 ") libmagic=64-bit;;
6315 *) libmagic=never-match;;
6317 lt_cv_deplibs_check_method=pass_all
6320 # This must be glibc/ELF.
6321 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6322 lt_cv_deplibs_check_method=pass_all
6326 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6327 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6329 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6334 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6335 lt_cv_file_magic_cmd=/usr/bin/file
6336 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6340 lt_cv_deplibs_check_method=pass_all
6344 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6345 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6347 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6351 osf3* | osf4* | osf5*)
6352 lt_cv_deplibs_check_method=pass_all
6356 lt_cv_deplibs_check_method=pass_all
6360 lt_cv_deplibs_check_method=pass_all
6363 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6364 lt_cv_deplibs_check_method=pass_all
6368 case $host_vendor in
6370 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]'
6371 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6374 lt_cv_deplibs_check_method=pass_all
6377 lt_cv_file_magic_cmd='/bin/file'
6378 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6381 lt_cv_file_magic_cmd='/bin/file'
6382 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6383 lt_cv_file_magic_test_file=/lib/libc.so
6386 lt_cv_deplibs_check_method=pass_all
6389 lt_cv_deplibs_check_method=pass_all
6395 lt_cv_deplibs_check_method=pass_all
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6401 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6405 if test "$build" = "$host"; then
6408 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6411 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6417 file_magic_cmd=$lt_cv_file_magic_cmd
6418 deplibs_check_method=$lt_cv_deplibs_check_method
6419 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6442 if test -n "$ac_tool_prefix"; then
6443 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6444 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6446 $as_echo_n "checking
for $ac_word...
" >&6; }
6447 if ${ac_cv_prog_DLLTOOL+:} false; then :
6448 $as_echo_n "(cached
) " >&6
6450 if test -n "$DLLTOOL"; then
6451 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6457 test -z "$as_dir" && as_dir=.
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6460 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6470 DLLTOOL=$ac_cv_prog_DLLTOOL
6471 if test -n "$DLLTOOL"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6473 $as_echo "$DLLTOOL" >&6; }
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6476 $as_echo "no
" >&6; }
6481 if test -z "$ac_cv_prog_DLLTOOL"; then
6482 ac_ct_DLLTOOL=$DLLTOOL
6483 # Extract the first word of "dlltool
", so it can be a program name with args.
6484 set dummy dlltool; ac_word=$2
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6486 $as_echo_n "checking
for $ac_word...
" >&6; }
6487 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6488 $as_echo_n "(cached
) " >&6
6490 if test -n "$ac_ct_DLLTOOL"; then
6491 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6497 test -z "$as_dir" && as_dir=.
6498 for ac_exec_ext in '' $ac_executable_extensions; do
6499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6500 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6501 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6510 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6511 if test -n "$ac_ct_DLLTOOL"; then
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6513 $as_echo "$ac_ct_DLLTOOL" >&6; }
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6516 $as_echo "no
" >&6; }
6519 if test "x
$ac_ct_DLLTOOL" = x; then
6522 case $cross_compiling:$ac_tool_warned in
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6525 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6526 ac_tool_warned=yes ;;
6528 DLLTOOL=$ac_ct_DLLTOOL
6531 DLLTOOL="$ac_cv_prog_DLLTOOL"
6534 test -z "$DLLTOOL" && DLLTOOL=dlltool
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6546 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6547 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6548 $as_echo_n "(cached
) " >&6
6550 lt_cv_sharedlib_from_linklib_cmd='unknown'
6553 cygwin* | mingw* | pw32* | cegcc*)
6554 # two different shell functions defined in ltmain.sh
6555 # decide which to use based on capabilities of $DLLTOOL
6556 case `$DLLTOOL --help 2>&1` in
6557 *--identify-strict*)
6558 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6561 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6566 # fallback: assume linklib IS sharedlib
6567 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6573 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6574 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6575 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6583 if test -n "$ac_tool_prefix"; then
6586 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6587 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6589 $as_echo_n "checking
for $ac_word...
" >&6; }
6590 if ${ac_cv_prog_AR+:} false; then :
6591 $as_echo_n "(cached
) " >&6
6593 if test -n "$AR"; then
6594 ac_cv_prog_AR="$AR" # Let the user override the test.
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6614 if test -n "$AR"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6616 $as_echo "$AR" >&6; }
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6619 $as_echo "no
" >&6; }
6623 test -n "$AR" && break
6626 if test -z "$AR"; then
6630 # Extract the first word of "$ac_prog", so it can be a program name with args.
6631 set dummy $ac_prog; ac_word=$2
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6633 $as_echo_n "checking
for $ac_word...
" >&6; }
6634 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6635 $as_echo_n "(cached
) " >&6
6637 if test -n "$ac_ct_AR"; then
6638 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6644 test -z "$as_dir" && as_dir=.
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_ac_ct_AR="$ac_prog"
6648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6657 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6658 if test -n "$ac_ct_AR"; then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6660 $as_echo "$ac_ct_AR" >&6; }
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6663 $as_echo "no
" >&6; }
6667 test -n "$ac_ct_AR" && break
6670 if test "x
$ac_ct_AR" = x; then
6673 case $cross_compiling:$ac_tool_warned in
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6676 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6677 ac_tool_warned=yes ;;
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6697 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6698 if ${lt_cv_ar_at_file+:} false; then :
6699 $as_echo_n "(cached
) " >&6
6702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6703 /* end confdefs.h. */
6713 if ac_fn_c_try_compile "$LINENO"; then :
6714 echo conftest.$ac_objext > conftest.lst
6715 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6716 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6717 (eval $lt_ar_try) 2>&5
6719 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6720 test $ac_status = 0; }
6721 if test "$ac_status" -eq 0; then
6722 # Ensure the archiver fails upon bogus file names.
6723 rm -f conftest.$ac_objext libconftest.a
6724 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6725 (eval $lt_ar_try) 2>&5
6727 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6728 test $ac_status = 0; }
6729 if test "$ac_status" -ne 0; then
6733 rm -f conftest.* libconftest.a
6736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6740 $as_echo "$lt_cv_ar_at_file" >&6; }
6742 if test "x
$lt_cv_ar_at_file" = xno; then
6745 archiver_list_spec=$lt_cv_ar_at_file
6754 if test -n "$ac_tool_prefix"; then
6755 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6756 set dummy ${ac_tool_prefix}strip; ac_word=$2
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6758 $as_echo_n "checking
for $ac_word...
" >&6; }
6759 if ${ac_cv_prog_STRIP+:} false; then :
6760 $as_echo_n "(cached
) " >&6
6762 if test -n "$STRIP"; then
6763 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769 test -z "$as_dir" && as_dir=.
6770 for ac_exec_ext in '' $ac_executable_extensions; do
6771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6772 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6782 STRIP=$ac_cv_prog_STRIP
6783 if test -n "$STRIP"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6785 $as_echo "$STRIP" >&6; }
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6788 $as_echo "no
" >&6; }
6793 if test -z "$ac_cv_prog_STRIP"; then
6795 # Extract the first word of "strip
", so it can be a program name with args.
6796 set dummy strip; ac_word=$2
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6798 $as_echo_n "checking
for $ac_word...
" >&6; }
6799 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6800 $as_echo_n "(cached
) " >&6
6802 if test -n "$ac_ct_STRIP"; then
6803 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6812 ac_cv_prog_ac_ct_STRIP="strip
"
6813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6822 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6823 if test -n "$ac_ct_STRIP"; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6825 $as_echo "$ac_ct_STRIP" >&6; }
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6828 $as_echo "no
" >&6; }
6831 if test "x
$ac_ct_STRIP" = x; then
6834 case $cross_compiling:$ac_tool_warned in
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6837 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6838 ac_tool_warned=yes ;;
6843 STRIP="$ac_cv_prog_STRIP"
6846 test -z "$STRIP" && STRIP=:
6853 if test -n "$ac_tool_prefix"; then
6854 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6855 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6857 $as_echo_n "checking
for $ac_word...
" >&6; }
6858 if ${ac_cv_prog_RANLIB+:} false; then :
6859 $as_echo_n "(cached
) " >&6
6861 if test -n "$RANLIB"; then
6862 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 test -z "$as_dir" && as_dir=.
6869 for ac_exec_ext in '' $ac_executable_extensions; do
6870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6871 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6881 RANLIB=$ac_cv_prog_RANLIB
6882 if test -n "$RANLIB"; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6884 $as_echo "$RANLIB" >&6; }
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6887 $as_echo "no
" >&6; }
6892 if test -z "$ac_cv_prog_RANLIB"; then
6893 ac_ct_RANLIB=$RANLIB
6894 # Extract the first word of "ranlib
", so it can be a program name with args.
6895 set dummy ranlib; ac_word=$2
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6897 $as_echo_n "checking
for $ac_word...
" >&6; }
6898 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6899 $as_echo_n "(cached
) " >&6
6901 if test -n "$ac_ct_RANLIB"; then
6902 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 test -z "$as_dir" && as_dir=.
6909 for ac_exec_ext in '' $ac_executable_extensions; do
6910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6911 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6921 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6922 if test -n "$ac_ct_RANLIB"; then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6924 $as_echo "$ac_ct_RANLIB" >&6; }
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6927 $as_echo "no
" >&6; }
6930 if test "x
$ac_ct_RANLIB" = x; then
6933 case $cross_compiling:$ac_tool_warned in
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6936 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6937 ac_tool_warned=yes ;;
6939 RANLIB=$ac_ct_RANLIB
6942 RANLIB="$ac_cv_prog_RANLIB"
6945 test -z "$RANLIB" && RANLIB=:
6952 # Determine commands to create old-style static archives.
6953 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6954 old_postinstall_cmds='chmod 644 $oldlib'
6955 old_postuninstall_cmds=
6957 if test -n "$RANLIB"; then
6960 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6963 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6966 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6971 lock_old_archive_extraction=yes ;;
6973 lock_old_archive_extraction=no ;;
7014 # If no C compiler was specified, use CC.
7017 # If no C compiler flags were specified, use CFLAGS.
7018 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7020 # Allow CC to be a program name with arguments.
7024 # Check for command to grab the raw symbol name followed by C symbol from nm.
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7026 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7027 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7028 $as_echo_n "(cached
) " >&6
7031 # These are sane defaults that work on at least a few old systems.
7032 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7034 # Character class describing NM global symbol codes.
7035 symcode='[BCDEGRST]'
7037 # Regexp to match symbols that can be accessed directly from C.
7038 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7040 # Define system-specific variables.
7045 cygwin* | mingw* | pw32* | cegcc*)
7046 symcode='[ABCDGISTW]'
7049 if test "$host_cpu" = ia64; then
7050 symcode='[ABCDEGRST]'
7054 symcode='[BCDEGRST]'
7057 symcode='[BCDEGQRST]'
7068 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7076 # If we're using GNU nm, then use its standard symbol codes.
7077 case `$NM -V 2>&1` in
7078 *GNU* | *'with BFD'*)
7079 symcode='[ABCDGIRSTW]' ;;
7082 # Transform an extracted symbol line into a proper C declaration.
7083 # Some systems (esp. on ia64) link data and code symbols differently,
7084 # so use this general approach.
7085 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7087 # Transform an extracted symbol line into symbol name and symbol address
7088 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7089 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'"
7091 # Handle CRLF in mingw tool chain
7095 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7099 # Try without a prefix underscore, then with it.
7100 for ac_symprfx in "" "_
"; do
7102 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7103 symxfrm="\\1 $ac_symprfx\\2 \\2"
7105 # Write the raw and C identifiers.
7106 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7107 # Fake it for dumpbin and say T for any non-static function
7108 # and D for any global variable.
7109 # Also find C++ and __fastcall symbols from MSVC++,
7110 # which start with @ or ?.
7111 lt_cv_sys_global_symbol_pipe="$AWK '"\
7112 " {last_section=section; section=\$ 3};"\
7113 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7114 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7115 " \$ 0!~/External *\|/{next};"\
7116 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7117 " {if(hide[section]) next};"\
7118 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7119 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7120 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7121 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7122 " ' prfx
=^
$ac_symprfx"
7124 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7126 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7128 # Check to see that the pipe works correctly.
7132 cat > conftest.$ac_ext <<_LT_EOF
7137 void nm_test_func(void);
7138 void nm_test_func(void){}
7142 int main(){nm_test_var='a';nm_test_func();return(0);}
7145 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7146 (eval $ac_compile) 2>&5
7148 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7149 test $ac_status = 0; }; then
7150 # Now try to grab the symbols.
7152 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7153 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7155 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7156 test $ac_status = 0; } && test -s "$nlist"; then
7157 # Try sorting and uniquifying the output.
7158 if sort "$nlist" | uniq > "$nlist"T; then
7159 mv -f "$nlist"T "$nlist"
7164 # Make sure that we snagged all the symbols we need.
7165 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7166 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7167 cat <<_LT_EOF > conftest.$ac_ext
7168 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7169 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7170 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7171 relocations are performed -- see ld's documentation on pseudo-relocs. */
7172 # define LT_DLSYM_CONST
7173 #elif defined(__osf__)
7174 /* This system does not cope well with relocations in const data. */
7175 # define LT_DLSYM_CONST
7177 # define LT_DLSYM_CONST const
7185 # Now generate the symbol file.
7186 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7188 cat <<_LT_EOF >> conftest.$ac_ext
7190 /* The mapping between symbol names and symbols. */
7191 LT_DLSYM_CONST struct {
7195 lt__PROGRAM__LTX_preloaded_symbols[] =
7197 { "@PROGRAM@
", (void *) 0 },
7199 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7200 cat <<\_LT_EOF >> conftest.$ac_ext
7204 /* This works around a problem in FreeBSD linker */
7205 #ifdef FREEBSD_WORKAROUND
7206 static const void *lt_preloaded_setup() {
7207 return lt__PROGRAM__LTX_preloaded_symbols;
7215 # Now try linking the two files.
7216 mv conftest.$ac_objext conftstm.$ac_objext
7217 lt_globsym_save_LIBS=$LIBS
7218 lt_globsym_save_CFLAGS=$CFLAGS
7219 LIBS="conftstm.
$ac_objext"
7220 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7221 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7222 (eval $ac_link) 2>&5
7224 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7225 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7228 LIBS=$lt_globsym_save_LIBS
7229 CFLAGS=$lt_globsym_save_CFLAGS
7231 echo "cannot
find nm_test_func
in $nlist" >&5
7234 echo "cannot
find nm_test_var
in $nlist" >&5
7237 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7240 echo "$progname: failed program was
:" >&5
7241 cat conftest.$ac_ext >&5
7243 rm -rf conftest* conftst*
7245 # Do not use the global_symbol_pipe unless it works.
7246 if test "$pipe_works" = yes; then
7249 lt_cv_sys_global_symbol_pipe=
7255 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7256 lt_cv_sys_global_symbol_to_cdecl=
7258 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7260 $as_echo "failed
" >&6; }
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7263 $as_echo "ok
" >&6; }
7266 # Response file support.
7267 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7268 nm_file_list_spec='@'
7269 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7270 nm_file_list_spec='@'
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7300 $as_echo_n "checking
for sysroot...
" >&6; }
7302 # Check whether --with-sysroot was given.
7303 if test "${with_sysroot+set}" = set; then :
7304 withval=$with_sysroot;
7311 case ${with_sysroot} in #(
7313 if test "$GCC" = yes; then
7314 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7318 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7324 $as_echo "${with_sysroot}" >&6; }
7325 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7330 $as_echo "${lt_sysroot:-no}" >&6; }
7336 # Check whether --enable-libtool-lock was given.
7337 if test "${enable_libtool_lock+set}" = set; then :
7338 enableval=$enable_libtool_lock;
7341 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7343 # Some flags need to be propagated to the compiler or linker for good
7347 # Find out which ABI we are using.
7348 echo 'int i;' > conftest.$ac_ext
7349 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7350 (eval $ac_compile) 2>&5
7352 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7353 test $ac_status = 0; }; then
7354 case `/usr/bin/file conftest.$ac_objext` in
7366 # Find out which ABI we are using.
7367 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7368 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7369 (eval $ac_compile) 2>&5
7371 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7372 test $ac_status = 0; }; then
7373 if test "$lt_cv_prog_gnu_ld" = yes; then
7374 case `/usr/bin/file conftest.$ac_objext` in
7376 LD="${LD-ld} -melf32bsmip"
7379 LD="${LD-ld} -melf32bmipn32"
7382 LD="${LD-ld} -melf64bmip"
7386 case `/usr/bin/file conftest.$ac_objext` in
7402 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7403 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7404 # Find out which ABI we are using.
7405 echo 'int i;' > conftest.$ac_ext
7406 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7407 (eval $ac_compile) 2>&5
7409 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7410 test $ac_status = 0; }; then
7411 case `/usr/bin/file conftest.o` in
7414 x86_64-*kfreebsd*-gnu)
7415 LD="${LD-ld} -m elf_i386_fbsd
"
7418 LD="${LD-ld} -m elf_i386
"
7420 ppc64-*linux*|powerpc64-*linux*)
7421 LD="${LD-ld} -m elf32ppclinux
"
7424 LD="${LD-ld} -m elf_s390
"
7427 LD="${LD-ld} -m elf32_sparc
"
7433 x86_64-*kfreebsd*-gnu)
7434 LD="${LD-ld} -m elf_x86_64_fbsd
"
7437 LD="${LD-ld} -m elf_x86_64
"
7439 ppc*-*linux*|powerpc*-*linux*)
7440 LD="${LD-ld} -m elf64ppc
"
7442 s390*-*linux*|s390*-*tpf*)
7443 LD="${LD-ld} -m elf64_s390
"
7446 LD="${LD-ld} -m elf64_sparc
"
7456 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7457 SAVE_CFLAGS="$CFLAGS"
7458 CFLAGS="$CFLAGS -belf"
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7460 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7461 if ${lt_cv_cc_needs_belf+:} false; then :
7462 $as_echo_n "(cached
) " >&6
7465 ac_cpp='$CPP $CPPFLAGS'
7466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7471 /* end confdefs.h. */
7481 if ac_fn_c_try_link "$LINENO"; then :
7482 lt_cv_cc_needs_belf=yes
7484 lt_cv_cc_needs_belf=no
7486 rm -f core conftest.err conftest.$ac_objext \
7487 conftest$ac_exeext conftest.$ac_ext
7489 ac_cpp='$CPP $CPPFLAGS'
7490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7496 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7497 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7498 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7499 CFLAGS="$SAVE_CFLAGS"
7503 # Find out which ABI we are using.
7504 echo 'int i;' > conftest.$ac_ext
7505 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7506 (eval $ac_compile) 2>&5
7508 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7509 test $ac_status = 0; }; then
7510 case `/usr/bin/file conftest.o` in
7512 case $lt_cv_prog_gnu_ld in
7516 LD="${LD-ld} -m elf_x86_64
"
7519 LD="${LD-ld} -m elf64_sparc
"
7522 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7523 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7528 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7540 need_locks="$enable_libtool_lock"
7542 if test -n "$ac_tool_prefix"; then
7543 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7544 set dummy ${ac_tool_prefix}mt; ac_word=$2
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7546 $as_echo_n "checking
for $ac_word...
" >&6; }
7547 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7548 $as_echo_n "(cached
) " >&6
7550 if test -n "$MANIFEST_TOOL"; then
7551 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 test -z "$as_dir" && as_dir=.
7558 for ac_exec_ext in '' $ac_executable_extensions; do
7559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7560 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7570 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7571 if test -n "$MANIFEST_TOOL"; then
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7573 $as_echo "$MANIFEST_TOOL" >&6; }
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7576 $as_echo "no
" >&6; }
7581 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7582 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7583 # Extract the first word of "mt
", so it can be a program name with args.
7584 set dummy mt; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7586 $as_echo_n "checking
for $ac_word...
" >&6; }
7587 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7588 $as_echo_n "(cached
) " >&6
7590 if test -n "$ac_ct_MANIFEST_TOOL"; then
7591 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7597 test -z "$as_dir" && as_dir=.
7598 for ac_exec_ext in '' $ac_executable_extensions; do
7599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7600 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7610 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7611 if test -n "$ac_ct_MANIFEST_TOOL"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7613 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7616 $as_echo "no
" >&6; }
7619 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7622 case $cross_compiling:$ac_tool_warned in
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7625 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7626 ac_tool_warned=yes ;;
7628 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7631 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7634 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7636 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7637 if ${lt_cv_path_mainfest_tool+:} false; then :
7638 $as_echo_n "(cached
) " >&6
7640 lt_cv_path_mainfest_tool=no
7641 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7642 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7643 cat conftest.err >&5
7644 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7645 lt_cv_path_mainfest_tool=yes
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7650 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7651 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7661 rhapsody* | darwin*)
7662 if test -n "$ac_tool_prefix"; then
7663 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7664 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7666 $as_echo_n "checking
for $ac_word...
" >&6; }
7667 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7668 $as_echo_n "(cached
) " >&6
7670 if test -n "$DSYMUTIL"; then
7671 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7680 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7690 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7691 if test -n "$DSYMUTIL"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7693 $as_echo "$DSYMUTIL" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7696 $as_echo "no
" >&6; }
7701 if test -z "$ac_cv_prog_DSYMUTIL"; then
7702 ac_ct_DSYMUTIL=$DSYMUTIL
7703 # Extract the first word of "dsymutil
", so it can be a program name with args.
7704 set dummy dsymutil; ac_word=$2
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7706 $as_echo_n "checking
for $ac_word...
" >&6; }
7707 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7708 $as_echo_n "(cached
) " >&6
7710 if test -n "$ac_ct_DSYMUTIL"; then
7711 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7717 test -z "$as_dir" && as_dir=.
7718 for ac_exec_ext in '' $ac_executable_extensions; do
7719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7720 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7730 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7731 if test -n "$ac_ct_DSYMUTIL"; then
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7733 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7736 $as_echo "no
" >&6; }
7739 if test "x
$ac_ct_DSYMUTIL" = x; then
7742 case $cross_compiling:$ac_tool_warned in
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7745 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7746 ac_tool_warned=yes ;;
7748 DSYMUTIL=$ac_ct_DSYMUTIL
7751 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7754 if test -n "$ac_tool_prefix"; then
7755 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7756 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7758 $as_echo_n "checking
for $ac_word...
" >&6; }
7759 if ${ac_cv_prog_NMEDIT+:} false; then :
7760 $as_echo_n "(cached
) " >&6
7762 if test -n "$NMEDIT"; then
7763 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7772 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7782 NMEDIT=$ac_cv_prog_NMEDIT
7783 if test -n "$NMEDIT"; then
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7785 $as_echo "$NMEDIT" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7788 $as_echo "no
" >&6; }
7793 if test -z "$ac_cv_prog_NMEDIT"; then
7794 ac_ct_NMEDIT=$NMEDIT
7795 # Extract the first word of "nmedit
", so it can be a program name with args.
7796 set dummy nmedit; ac_word=$2
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7798 $as_echo_n "checking
for $ac_word...
" >&6; }
7799 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7800 $as_echo_n "(cached
) " >&6
7802 if test -n "$ac_ct_NMEDIT"; then
7803 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809 test -z "$as_dir" && as_dir=.
7810 for ac_exec_ext in '' $ac_executable_extensions; do
7811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7812 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7822 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7823 if test -n "$ac_ct_NMEDIT"; then
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7825 $as_echo "$ac_ct_NMEDIT" >&6; }
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7828 $as_echo "no
" >&6; }
7831 if test "x
$ac_ct_NMEDIT" = x; then
7834 case $cross_compiling:$ac_tool_warned in
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7837 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7838 ac_tool_warned=yes ;;
7840 NMEDIT=$ac_ct_NMEDIT
7843 NMEDIT="$ac_cv_prog_NMEDIT"
7846 if test -n "$ac_tool_prefix"; then
7847 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7848 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7850 $as_echo_n "checking
for $ac_word...
" >&6; }
7851 if ${ac_cv_prog_LIPO+:} false; then :
7852 $as_echo_n "(cached
) " >&6
7854 if test -n "$LIPO"; then
7855 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7874 LIPO=$ac_cv_prog_LIPO
7875 if test -n "$LIPO"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7877 $as_echo "$LIPO" >&6; }
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7880 $as_echo "no
" >&6; }
7885 if test -z "$ac_cv_prog_LIPO"; then
7887 # Extract the first word of "lipo
", so it can be a program name with args.
7888 set dummy lipo; ac_word=$2
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7890 $as_echo_n "checking
for $ac_word...
" >&6; }
7891 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7892 $as_echo_n "(cached
) " >&6
7894 if test -n "$ac_ct_LIPO"; then
7895 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7904 ac_cv_prog_ac_ct_LIPO="lipo
"
7905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7914 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7915 if test -n "$ac_ct_LIPO"; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7917 $as_echo "$ac_ct_LIPO" >&6; }
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7920 $as_echo "no
" >&6; }
7923 if test "x
$ac_ct_LIPO" = x; then
7926 case $cross_compiling:$ac_tool_warned in
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7929 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7930 ac_tool_warned=yes ;;
7935 LIPO="$ac_cv_prog_LIPO"
7938 if test -n "$ac_tool_prefix"; then
7939 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7940 set dummy ${ac_tool_prefix}otool; ac_word=$2
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7942 $as_echo_n "checking
for $ac_word...
" >&6; }
7943 if ${ac_cv_prog_OTOOL+:} false; then :
7944 $as_echo_n "(cached
) " >&6
7946 if test -n "$OTOOL"; then
7947 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7953 test -z "$as_dir" && as_dir=.
7954 for ac_exec_ext in '' $ac_executable_extensions; do
7955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7956 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7966 OTOOL=$ac_cv_prog_OTOOL
7967 if test -n "$OTOOL"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7969 $as_echo "$OTOOL" >&6; }
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7972 $as_echo "no
" >&6; }
7977 if test -z "$ac_cv_prog_OTOOL"; then
7979 # Extract the first word of "otool
", so it can be a program name with args.
7980 set dummy otool; ac_word=$2
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7982 $as_echo_n "checking
for $ac_word...
" >&6; }
7983 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7984 $as_echo_n "(cached
) " >&6
7986 if test -n "$ac_ct_OTOOL"; then
7987 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993 test -z "$as_dir" && as_dir=.
7994 for ac_exec_ext in '' $ac_executable_extensions; do
7995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7996 ac_cv_prog_ac_ct_OTOOL="otool
"
7997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8006 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8007 if test -n "$ac_ct_OTOOL"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8009 $as_echo "$ac_ct_OTOOL" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8012 $as_echo "no
" >&6; }
8015 if test "x
$ac_ct_OTOOL" = x; then
8018 case $cross_compiling:$ac_tool_warned in
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8021 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8022 ac_tool_warned=yes ;;
8027 OTOOL="$ac_cv_prog_OTOOL"
8030 if test -n "$ac_tool_prefix"; then
8031 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8032 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8034 $as_echo_n "checking
for $ac_word...
" >&6; }
8035 if ${ac_cv_prog_OTOOL64+:} false; then :
8036 $as_echo_n "(cached
) " >&6
8038 if test -n "$OTOOL64"; then
8039 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8048 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8058 OTOOL64=$ac_cv_prog_OTOOL64
8059 if test -n "$OTOOL64"; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8061 $as_echo "$OTOOL64" >&6; }
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8064 $as_echo "no
" >&6; }
8069 if test -z "$ac_cv_prog_OTOOL64"; then
8070 ac_ct_OTOOL64=$OTOOL64
8071 # Extract the first word of "otool64
", so it can be a program name with args.
8072 set dummy otool64; ac_word=$2
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8074 $as_echo_n "checking
for $ac_word...
" >&6; }
8075 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8076 $as_echo_n "(cached
) " >&6
8078 if test -n "$ac_ct_OTOOL64"; then
8079 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 test -z "$as_dir" && as_dir=.
8086 for ac_exec_ext in '' $ac_executable_extensions; do
8087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8088 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8098 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8099 if test -n "$ac_ct_OTOOL64"; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8101 $as_echo "$ac_ct_OTOOL64" >&6; }
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8104 $as_echo "no
" >&6; }
8107 if test "x
$ac_ct_OTOOL64" = x; then
8110 case $cross_compiling:$ac_tool_warned in
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8113 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8114 ac_tool_warned=yes ;;
8116 OTOOL64=$ac_ct_OTOOL64
8119 OTOOL64="$ac_cv_prog_OTOOL64"
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8149 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8150 if ${lt_cv_apple_cc_single_mod+:} false; then :
8151 $as_echo_n "(cached
) " >&6
8153 lt_cv_apple_cc_single_mod=no
8154 if test -z "${LT_MULTI_MODULE}"; then
8155 # By default we will add the -single_module flag. You can override
8156 # by either setting the environment variable LT_MULTI_MODULE
8157 # non-empty at configure time, or by adding -multi_module to the
8159 rm -rf libconftest.dylib*
8160 echo "int foo
(void
){return 1;}" > conftest.c
8161 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8162 -dynamiclib -Wl,-single_module conftest.c
" >&5
8163 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8164 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8166 # If there is a non-empty error log, and "single_module
"
8167 # appears in it, assume the flag caused a linker warning
8168 if test -s conftest.err && $GREP single_module conftest.err; then
8169 cat conftest.err >&5
8170 # Otherwise, if the output was created with a 0 exit code from
8171 # the compiler, it worked.
8172 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8173 lt_cv_apple_cc_single_mod=yes
8175 cat conftest.err >&5
8177 rm -rf libconftest.dylib*
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8182 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8185 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8186 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8187 $as_echo_n "(cached
) " >&6
8189 lt_cv_ld_exported_symbols_list=no
8190 save_LDFLAGS=$LDFLAGS
8191 echo "_main
" > conftest.sym
8192 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8204 if ac_fn_c_try_link "$LINENO"; then :
8205 lt_cv_ld_exported_symbols_list=yes
8207 lt_cv_ld_exported_symbols_list=no
8209 rm -f core conftest.err conftest.$ac_objext \
8210 conftest$ac_exeext conftest.$ac_ext
8211 LDFLAGS="$save_LDFLAGS"
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8215 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8218 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8219 if ${lt_cv_ld_force_load+:} false; then :
8220 $as_echo_n "(cached
) " >&6
8222 lt_cv_ld_force_load=no
8223 cat > conftest.c << _LT_EOF
8224 int forced_loaded() { return 2;}
8226 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8227 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8228 echo "$AR cru libconftest.a conftest.o
" >&5
8229 $AR cru libconftest.a conftest.o 2>&5
8230 echo "$RANLIB libconftest.a
" >&5
8231 $RANLIB libconftest.a 2>&5
8232 cat > conftest.c << _LT_EOF
8233 int main() { return 0;}
8235 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8236 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8238 if test -s conftest.err && $GREP force_load conftest.err; then
8239 cat conftest.err >&5
8240 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8241 lt_cv_ld_force_load=yes
8243 cat conftest.err >&5
8245 rm -f conftest.err libconftest.a conftest conftest.c
8246 rm -rf conftest.dSYM
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8250 $as_echo "$lt_cv_ld_force_load" >&6; }
8252 rhapsody* | darwin1.[012])
8253 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8255 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8256 darwin*) # darwin 5.x on
8257 # if running on 10.5 or later, the deployment target defaults
8258 # to the OS version, if on x86, and 10.4, the deployment
8259 # target defaults to 10.4. Don't you love it?
8260 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8261 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8262 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8264 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8266 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8270 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8271 _lt_dar_single_mod='$single_module'
8273 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8274 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8276 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8278 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8279 _lt_dsymutil='~$DSYMUTIL $lib || :'
8287 ac_cpp='$CPP $CPPFLAGS'
8288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8292 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8293 # On Suns, sometimes $CPP names a directory.
8294 if test -n "$CPP" && test -d "$CPP"; then
8297 if test -z "$CPP"; then
8298 if ${ac_cv_prog_CPP+:} false; then :
8299 $as_echo_n "(cached
) " >&6
8301 # Double quotes because CPP needs to be expanded
8302 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8305 for ac_c_preproc_warn_flag in '' yes
8307 # Use a header file that comes with gcc, so configuring glibc
8308 # with a fresh cross-compiler works.
8309 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8310 # <limits.h> exists even on freestanding compilers.
8311 # On the NeXT, cc -E runs the code through the compiler's parser,
8312 # not just through cpp. "Syntax error
" is here to catch this case.
8313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8316 # include <limits.h>
8318 # include <assert.h>
8322 if ac_fn_c_try_cpp "$LINENO"; then :
8325 # Broken: fails on valid input.
8328 rm -f conftest.err conftest.i conftest.$ac_ext
8330 # OK, works on sane cases. Now check whether nonexistent headers
8331 # can be detected and how.
8332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8333 /* end confdefs.h. */
8334 #include <ac_nonexistent.h>
8336 if ac_fn_c_try_cpp "$LINENO"; then :
8337 # Broken: success on invalid input.
8340 # Passes both tests.
8344 rm -f conftest.err conftest.i conftest.$ac_ext
8347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8348 rm -f conftest.i conftest.err conftest.$ac_ext
8349 if $ac_preproc_ok; then :
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8362 $as_echo "$CPP" >&6; }
8364 for ac_c_preproc_warn_flag in '' yes
8366 # Use a header file that comes with gcc, so configuring glibc
8367 # with a fresh cross-compiler works.
8368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8369 # <limits.h> exists even on freestanding compilers.
8370 # On the NeXT, cc -E runs the code through the compiler's parser,
8371 # not just through cpp. "Syntax error
" is here to catch this case.
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8375 # include <limits.h>
8377 # include <assert.h>
8381 if ac_fn_c_try_cpp "$LINENO"; then :
8384 # Broken: fails on valid input.
8387 rm -f conftest.err conftest.i conftest.$ac_ext
8389 # OK, works on sane cases. Now check whether nonexistent headers
8390 # can be detected and how.
8391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8392 /* end confdefs.h. */
8393 #include <ac_nonexistent.h>
8395 if ac_fn_c_try_cpp "$LINENO"; then :
8396 # Broken: success on invalid input.
8399 # Passes both tests.
8403 rm -f conftest.err conftest.i conftest.$ac_ext
8406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8407 rm -f conftest.i conftest.err conftest.$ac_ext
8408 if $ac_preproc_ok; then :
8411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8413 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8414 See \`config.log' for more details
" "$LINENO" 5; }
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8425 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8426 if ${ac_cv_header_stdc+:} false; then :
8427 $as_echo_n "(cached
) " >&6
8429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8444 if ac_fn_c_try_compile "$LINENO"; then :
8445 ac_cv_header_stdc=yes
8447 ac_cv_header_stdc=no
8449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8451 if test $ac_cv_header_stdc = yes; then
8452 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8458 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8459 $EGREP "memchr
" >/dev/null 2>&1; then :
8462 ac_cv_header_stdc=no
8468 if test $ac_cv_header_stdc = yes; then
8469 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8475 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8476 $EGREP "free
" >/dev/null 2>&1; then :
8479 ac_cv_header_stdc=no
8485 if test $ac_cv_header_stdc = yes; then
8486 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8487 if test "$cross_compiling" = yes; then :
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8494 #if ((' ' & 0x0FF) == 0x020)
8495 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8496 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8498 # define ISLOWER(c) \
8499 (('a' <= (c) && (c) <= 'i') \
8500 || ('j' <= (c) && (c) <= 'r') \
8501 || ('s' <= (c) && (c) <= 'z'))
8502 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8505 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8510 for (i = 0; i < 256; i++)
8511 if (XOR (islower (i), ISLOWER (i))
8512 || toupper (i) != TOUPPER (i))
8517 if ac_fn_c_try_run "$LINENO"; then :
8520 ac_cv_header_stdc=no
8522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8523 conftest.$ac_objext conftest.beam conftest.$ac_ext
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8529 $as_echo "$ac_cv_header_stdc" >&6; }
8530 if test $ac_cv_header_stdc = yes; then
8532 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8536 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8537 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8538 inttypes.h stdint.h unistd.h
8540 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8541 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8543 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8544 cat >>confdefs.h
<<_ACEOF
8545 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8553 for ac_header
in dlfcn.h
8555 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8557 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8558 cat >>confdefs.h
<<_ACEOF
8559 #define HAVE_DLFCN_H 1
8569 func_stripname_cnf
()
8572 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8573 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8575 } # func_stripname_cnf
8582 # Check whether --enable-static was given.
8583 if test "${enable_static+set}" = set; then :
8584 enableval
=$enable_static; p
=${PACKAGE-default}
8586 yes) enable_static
=yes ;;
8587 no
) enable_static
=no
;;
8590 # Look at the argument we got. We use all the common list separators.
8591 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8592 for pkg
in $enableval; do
8594 if test "X$pkg" = "X$p"; then
8620 # Check whether --enable-shared was given.
8621 if test "${enable_shared+set}" = set; then :
8622 enableval
=$enable_shared; p
=${PACKAGE-default}
8624 yes) enable_shared
=yes ;;
8625 no
) enable_shared
=no
;;
8628 # Look at the argument we got. We use all the common list separators.
8629 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8630 for pkg
in $enableval; do
8632 if test "X$pkg" = "X$p"; then
8653 # Check whether --with-pic was given.
8654 if test "${with_pic+set}" = set; then :
8655 withval
=$with_pic; lt_p
=${PACKAGE-default}
8657 yes|no
) pic_mode
=$withval ;;
8660 # Look at the argument we got. We use all the common list separators.
8661 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8662 for lt_pkg
in $withval; do
8664 if test "X$lt_pkg" = "X$lt_p"; then
8676 test -z "$pic_mode" && pic_mode
=default
8684 # Check whether --enable-fast-install was given.
8685 if test "${enable_fast_install+set}" = set; then :
8686 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8688 yes) enable_fast_install
=yes ;;
8689 no
) enable_fast_install
=no
;;
8691 enable_fast_install
=no
8692 # Look at the argument we got. We use all the common list separators.
8693 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8694 for pkg
in $enableval; do
8696 if test "X$pkg" = "X$p"; then
8697 enable_fast_install
=yes
8704 enable_fast_install
=yes
8717 # This can be used to rebuild libtool when needed
8718 LIBTOOL_DEPS
="$ltmain"
8720 # Always use our own libtool.
8721 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8752 test -z "$LN_S" && LN_S
="ln -s"
8767 if test -n "${ZSH_VERSION+set}" ; then
8768 setopt NO_GLOB_SUBST
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8772 $as_echo_n "checking for objdir... " >&6; }
8773 if ${lt_cv_objdir+:} false
; then :
8774 $as_echo_n "(cached) " >&6
8776 rm -f .libs
2>/dev
/null
8777 mkdir .libs
2>/dev
/null
8778 if test -d .libs
; then
8781 # MS-DOS does not allow filenames that begin with a dot.
8784 rmdir .libs
2>/dev
/null
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8787 $as_echo "$lt_cv_objdir" >&6; }
8788 objdir
=$lt_cv_objdir
8794 cat >>confdefs.h
<<_ACEOF
8795 #define LT_OBJDIR "$lt_cv_objdir/"
8803 # AIX sometimes has problems with the GCC collect2 program. For some
8804 # reason, if we set the COLLECT_NAMES environment variable, the problems
8805 # vanish in a puff of smoke.
8806 if test "X${COLLECT_NAMES+set}" != Xset
; then
8808 export COLLECT_NAMES
8815 can_build_shared
=yes
8817 # All known linkers require a `.a' archive for static linking (except MSVC,
8818 # which needs '.lib').
8821 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8824 old_CFLAGS
="$CFLAGS"
8826 # Set sane defaults for various variables
8827 test -z "$CC" && CC
=cc
8828 test -z "$LTCC" && LTCC
=$CC
8829 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8830 test -z "$LD" && LD
=ld
8831 test -z "$ac_objext" && ac_objext
=o
8833 for cc_temp
in $compiler""; do
8835 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8836 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8841 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8844 # Only perform the check for file, if the check method requires it
8845 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8846 case $deplibs_check_method in
8848 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8850 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8851 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8852 $as_echo_n "(cached) " >&6
8856 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8859 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8860 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8861 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8862 for ac_dir
in $ac_dummy; do
8864 test -z "$ac_dir" && ac_dir
=.
8865 if test -f $ac_dir/${ac_tool_prefix}file; then
8866 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8867 if test -n "$file_magic_test_file"; then
8868 case $deplibs_check_method in
8870 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8871 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8872 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8873 $EGREP "$file_magic_regex" > /dev
/null
; then
8878 *** Warning: the command libtool uses to detect shared libraries,
8879 *** $file_magic_cmd, produces output that libtool cannot recognize.
8880 *** The result is that libtool may fail to recognize shared libraries
8881 *** as such. This will affect the creation of libtool libraries that
8882 *** depend on shared libraries, but programs linked with such libtool
8883 *** libraries will work regardless of this problem. Nevertheless, you
8884 *** may want to report the problem to your system manager and/or to
8885 *** bug-libtool@gnu.org
8895 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8900 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8901 if test -n "$MAGIC_CMD"; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8903 $as_echo "$MAGIC_CMD" >&6; }
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8906 $as_echo "no" >&6; }
8913 if test -z "$lt_cv_path_MAGIC_CMD"; then
8914 if test -n "$ac_tool_prefix"; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8916 $as_echo_n "checking for file... " >&6; }
8917 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8918 $as_echo_n "(cached) " >&6
8922 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8925 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8926 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8927 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8928 for ac_dir
in $ac_dummy; do
8930 test -z "$ac_dir" && ac_dir
=.
8931 if test -f $ac_dir/file; then
8932 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8933 if test -n "$file_magic_test_file"; then
8934 case $deplibs_check_method in
8936 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8937 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8938 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8939 $EGREP "$file_magic_regex" > /dev
/null
; then
8944 *** Warning: the command libtool uses to detect shared libraries,
8945 *** $file_magic_cmd, produces output that libtool cannot recognize.
8946 *** The result is that libtool may fail to recognize shared libraries
8947 *** as such. This will affect the creation of libtool libraries that
8948 *** depend on shared libraries, but programs linked with such libtool
8949 *** libraries will work regardless of this problem. Nevertheless, you
8950 *** may want to report the problem to your system manager and/or to
8951 *** bug-libtool@gnu.org
8961 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8966 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8967 if test -n "$MAGIC_CMD"; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8969 $as_echo "$MAGIC_CMD" >&6; }
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8985 # Use C for the default configuration in the libtool script
8989 ac_cpp
='$CPP $CPPFLAGS'
8990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8995 # Source file extension for C test sources.
8998 # Object file extension for compiled C test sources.
9002 # Code to be used in simple compile tests
9003 lt_simple_compile_test_code
="int some_variable = 0;"
9005 # Code to be used in simple link tests
9006 lt_simple_link_test_code
='int main(){return(0);}'
9014 # If no C compiler was specified, use CC.
9017 # If no C compiler flags were specified, use CFLAGS.
9018 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9020 # Allow CC to be a program name with arguments.
9023 # Save the default compiler, since it gets overwritten when the other
9024 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9025 compiler_DEFAULT
=$CC
9027 # save warnings/boilerplate of simple test code
9028 ac_outfile
=conftest.
$ac_objext
9029 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9030 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9031 _lt_compiler_boilerplate
=`cat conftest.err`
9034 ac_outfile
=conftest.
$ac_objext
9035 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9036 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9037 _lt_linker_boilerplate
=`cat conftest.err`
9042 ## There is no encapsulation within the following macros, do not change
9043 ## the running order or otherwise move them around unless you know exactly
9044 ## what you are doing...
9045 if test -n "$compiler"; then
9047 lt_prog_compiler_no_builtin_flag
=
9049 if test "$GCC" = yes; then
9050 case $cc_basename in
9052 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9054 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9058 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9059 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9060 $as_echo_n "(cached) " >&6
9062 lt_cv_prog_compiler_rtti_exceptions
=no
9063 ac_outfile
=conftest.
$ac_objext
9064 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9065 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9066 # Insert the option either (1) after the last *FLAGS variable, or
9067 # (2) before a word containing "conftest.", or (3) at the end.
9068 # Note that $ac_compile itself does not contain backslashes and begins
9069 # with a dollar sign (not a hyphen), so the echo should work correctly.
9070 # The option is referenced via a variable to avoid confusing sed.
9071 lt_compile
=`echo "$ac_compile" | $SED \
9072 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9073 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9074 -e 's:$: $lt_compiler_flag:'`
9075 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9076 (eval "$lt_compile" 2>conftest.err
)
9078 cat conftest.err
>&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 if (exit $ac_status) && test -s "$ac_outfile"; then
9081 # The compiler can only warn and ignore the option if not recognized
9082 # So say no if there are warnings other than the usual output.
9083 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9084 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9085 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9086 lt_cv_prog_compiler_rtti_exceptions
=yes
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9093 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9095 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9096 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9108 lt_prog_compiler_wl
=
9109 lt_prog_compiler_pic
=
9110 lt_prog_compiler_static
=
9113 if test "$GCC" = yes; then
9114 lt_prog_compiler_wl
='-Wl,'
9115 lt_prog_compiler_static
='-static'
9119 # All AIX code is PIC.
9120 if test "$host_cpu" = ia64
; then
9121 # AIX 5 now supports IA64 processor
9122 lt_prog_compiler_static
='-Bstatic'
9129 # see comment about AmigaOS4 .so support
9130 lt_prog_compiler_pic
='-fPIC'
9133 # FIXME: we need at least 68020 code to build shared libraries, but
9134 # adding the `-m68020' flag to GCC prevents building anything better,
9136 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9141 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9142 # PIC is the default for these OSes.
9145 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9146 # This hack is so that the source file can tell whether it is being
9147 # built for inclusion in a dll (and should export symbols for example).
9148 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9149 # (--disable-auto-import) libraries
9150 lt_prog_compiler_pic
='-DDLL_EXPORT'
9153 darwin
* | rhapsody
*)
9154 # PIC is the default on this platform
9155 # Common symbols not allowed in MH_DYLIB files
9156 lt_prog_compiler_pic
='-fno-common'
9160 # PIC is the default for Haiku.
9161 # The "-static" flag exists, but is broken.
9162 lt_prog_compiler_static
=
9166 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9167 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9168 # sets the default TLS model and affects inlining.
9174 lt_prog_compiler_pic
='-fPIC'
9180 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9181 # Instead, we relocate shared libraries at runtime.
9185 # Just because we use GCC doesn't mean we suddenly get shared libraries
9186 # on systems that don't support them.
9187 lt_prog_compiler_can_build_shared
=no
9192 # QNX uses GNU C++, but need to define -shared option too, otherwise
9194 lt_prog_compiler_pic
='-fPIC -shared'
9198 if test -d /usr
/nec
; then
9199 lt_prog_compiler_pic
=-Kconform_pic
9204 lt_prog_compiler_pic
='-fPIC'
9208 case $cc_basename in
9209 nvcc
*) # Cuda Compiler Driver 2.2
9210 lt_prog_compiler_wl
='-Xlinker '
9211 if test -n "$lt_prog_compiler_pic"; then
9212 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9217 # PORTME Check for flag to pass linker flags through the system compiler.
9220 lt_prog_compiler_wl
='-Wl,'
9221 if test "$host_cpu" = ia64
; then
9222 # AIX 5 now supports IA64 processor
9223 lt_prog_compiler_static
='-Bstatic'
9225 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9229 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9230 # This hack is so that the source file can tell whether it is being
9231 # built for inclusion in a dll (and should export symbols for example).
9232 lt_prog_compiler_pic
='-DDLL_EXPORT'
9235 hpux9
* | hpux10
* | hpux11
*)
9236 lt_prog_compiler_wl
='-Wl,'
9237 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9244 lt_prog_compiler_pic
='+Z'
9247 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9248 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9251 irix5
* | irix6
* | nonstopux
*)
9252 lt_prog_compiler_wl
='-Wl,'
9253 # PIC (with -KPIC) is the default.
9254 lt_prog_compiler_static
='-non_shared'
9257 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9258 case $cc_basename in
9259 # old Intel for x86_64 which still supported -KPIC.
9261 lt_prog_compiler_wl
='-Wl,'
9262 lt_prog_compiler_pic
='-KPIC'
9263 lt_prog_compiler_static
='-static'
9265 # icc used to be incompatible with GCC.
9266 # ICC 10 doesn't accept -KPIC any more.
9268 lt_prog_compiler_wl
='-Wl,'
9269 lt_prog_compiler_pic
='-fPIC'
9270 lt_prog_compiler_static
='-static'
9272 # Lahey Fortran 8.1.
9274 lt_prog_compiler_wl
='-Wl,'
9275 lt_prog_compiler_pic
='--shared'
9276 lt_prog_compiler_static
='--static'
9279 # NAG Fortran compiler
9280 lt_prog_compiler_wl
='-Wl,-Wl,,'
9281 lt_prog_compiler_pic
='-PIC'
9282 lt_prog_compiler_static
='-Bstatic'
9284 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9285 # Portland Group compilers (*not* the Pentium gcc compiler,
9286 # which looks to be a dead project)
9287 lt_prog_compiler_wl
='-Wl,'
9288 lt_prog_compiler_pic
='-fpic'
9289 lt_prog_compiler_static
='-Bstatic'
9292 lt_prog_compiler_wl
='-Wl,'
9293 # All Alpha code is PIC.
9294 lt_prog_compiler_static
='-non_shared'
9296 xl
* | bgxl
* | bgf
* | mpixl
*)
9297 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9298 lt_prog_compiler_wl
='-Wl,'
9299 lt_prog_compiler_pic
='-qpic'
9300 lt_prog_compiler_static
='-qstaticlink'
9303 case `$CC -V 2>&1 | sed 5q` in
9304 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9305 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9306 lt_prog_compiler_pic
='-KPIC'
9307 lt_prog_compiler_static
='-Bstatic'
9308 lt_prog_compiler_wl
=''
9310 *Sun\ F
* | *Sun
*Fortran
*)
9311 lt_prog_compiler_pic
='-KPIC'
9312 lt_prog_compiler_static
='-Bstatic'
9313 lt_prog_compiler_wl
='-Qoption ld '
9317 lt_prog_compiler_pic
='-KPIC'
9318 lt_prog_compiler_static
='-Bstatic'
9319 lt_prog_compiler_wl
='-Wl,'
9321 *Intel
*\
[CF
]*Compiler
*)
9322 lt_prog_compiler_wl
='-Wl,'
9323 lt_prog_compiler_pic
='-fPIC'
9324 lt_prog_compiler_static
='-static'
9327 lt_prog_compiler_wl
='-Wl,'
9328 lt_prog_compiler_pic
='-fpic'
9329 lt_prog_compiler_static
='-Bstatic'
9337 lt_prog_compiler_pic
='-KPIC'
9338 lt_prog_compiler_static
='-Bstatic'
9342 # QNX uses GNU C++, but need to define -shared option too, otherwise
9344 lt_prog_compiler_pic
='-fPIC -shared'
9347 osf3
* | osf4
* | osf5
*)
9348 lt_prog_compiler_wl
='-Wl,'
9349 # All OSF/1 code is PIC.
9350 lt_prog_compiler_static
='-non_shared'
9354 lt_prog_compiler_static
='-non_shared'
9358 lt_prog_compiler_pic
='-KPIC'
9359 lt_prog_compiler_static
='-Bstatic'
9360 case $cc_basename in
9361 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9362 lt_prog_compiler_wl
='-Qoption ld ';;
9364 lt_prog_compiler_wl
='-Wl,';;
9369 lt_prog_compiler_wl
='-Qoption ld '
9370 lt_prog_compiler_pic
='-PIC'
9371 lt_prog_compiler_static
='-Bstatic'
9374 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9375 lt_prog_compiler_wl
='-Wl,'
9376 lt_prog_compiler_pic
='-KPIC'
9377 lt_prog_compiler_static
='-Bstatic'
9381 if test -d /usr
/nec
;then
9382 lt_prog_compiler_pic
='-Kconform_pic'
9383 lt_prog_compiler_static
='-Bstatic'
9387 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9388 lt_prog_compiler_wl
='-Wl,'
9389 lt_prog_compiler_pic
='-KPIC'
9390 lt_prog_compiler_static
='-Bstatic'
9394 lt_prog_compiler_wl
='-Wl,'
9395 lt_prog_compiler_can_build_shared
=no
9399 lt_prog_compiler_pic
='-pic'
9400 lt_prog_compiler_static
='-Bstatic'
9404 lt_prog_compiler_can_build_shared
=no
9410 # For platforms which do not support PIC, -DPIC is meaningless:
9412 lt_prog_compiler_pic
=
9415 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9420 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9421 if ${lt_cv_prog_compiler_pic+:} false
; then :
9422 $as_echo_n "(cached) " >&6
9424 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9427 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9428 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9431 # Check to make sure the PIC flag actually works.
9433 if test -n "$lt_prog_compiler_pic"; then
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9435 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9436 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9437 $as_echo_n "(cached) " >&6
9439 lt_cv_prog_compiler_pic_works
=no
9440 ac_outfile
=conftest.
$ac_objext
9441 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9442 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9443 # Insert the option either (1) after the last *FLAGS variable, or
9444 # (2) before a word containing "conftest.", or (3) at the end.
9445 # Note that $ac_compile itself does not contain backslashes and begins
9446 # with a dollar sign (not a hyphen), so the echo should work correctly.
9447 # The option is referenced via a variable to avoid confusing sed.
9448 lt_compile
=`echo "$ac_compile" | $SED \
9449 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9450 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9451 -e 's:$: $lt_compiler_flag:'`
9452 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9453 (eval "$lt_compile" 2>conftest.err
)
9455 cat conftest.err
>&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 if (exit $ac_status) && test -s "$ac_outfile"; then
9458 # The compiler can only warn and ignore the option if not recognized
9459 # So say no if there are warnings other than the usual output.
9460 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9461 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9462 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9463 lt_cv_prog_compiler_pic_works
=yes
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9470 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9472 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9473 case $lt_prog_compiler_pic in
9475 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9478 lt_prog_compiler_pic
=
9479 lt_prog_compiler_can_build_shared
=no
9495 # Check to make sure the static flag actually works.
9497 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9499 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9500 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9501 $as_echo_n "(cached) " >&6
9503 lt_cv_prog_compiler_static_works
=no
9504 save_LDFLAGS
="$LDFLAGS"
9505 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9506 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9507 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9508 # The linker can only warn and ignore the option if not recognized
9509 # So say no if there are warnings
9510 if test -s conftest.err
; then
9511 # Append any errors to the config.log.
9512 cat conftest.err
1>&5
9513 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9514 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9515 if diff conftest.exp conftest.er2
>/dev
/null
; then
9516 lt_cv_prog_compiler_static_works
=yes
9519 lt_cv_prog_compiler_static_works
=yes
9523 LDFLAGS
="$save_LDFLAGS"
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9527 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9529 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9532 lt_prog_compiler_static
=
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9542 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9543 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9544 $as_echo_n "(cached) " >&6
9546 lt_cv_prog_compiler_c_o
=no
9547 $RM -r conftest
2>/dev
/null
9551 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9553 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9554 # Insert the option either (1) after the last *FLAGS variable, or
9555 # (2) before a word containing "conftest.", or (3) at the end.
9556 # Note that $ac_compile itself does not contain backslashes and begins
9557 # with a dollar sign (not a hyphen), so the echo should work correctly.
9558 lt_compile
=`echo "$ac_compile" | $SED \
9559 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9560 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9561 -e 's:$: $lt_compiler_flag:'`
9562 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9563 (eval "$lt_compile" 2>out
/conftest.err
)
9565 cat out
/conftest.err
>&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9569 # The compiler can only warn and ignore the option if not recognized
9570 # So say no if there are warnings
9571 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9572 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9573 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9574 lt_cv_prog_compiler_c_o
=yes
9579 # SGI C++ compiler will create directory out/ii_files/ for
9580 # template instantiation
9581 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9582 $RM out
/* && rmdir out
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9589 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9597 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9598 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9599 $as_echo_n "(cached) " >&6
9601 lt_cv_prog_compiler_c_o
=no
9602 $RM -r conftest
2>/dev
/null
9606 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9608 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9609 # Insert the option either (1) after the last *FLAGS variable, or
9610 # (2) before a word containing "conftest.", or (3) at the end.
9611 # Note that $ac_compile itself does not contain backslashes and begins
9612 # with a dollar sign (not a hyphen), so the echo should work correctly.
9613 lt_compile
=`echo "$ac_compile" | $SED \
9614 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9615 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9616 -e 's:$: $lt_compiler_flag:'`
9617 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9618 (eval "$lt_compile" 2>out
/conftest.err
)
9620 cat out
/conftest.err
>&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9624 # The compiler can only warn and ignore the option if not recognized
9625 # So say no if there are warnings
9626 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9627 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9628 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9629 lt_cv_prog_compiler_c_o
=yes
9634 # SGI C++ compiler will create directory out/ii_files/ for
9635 # template instantiation
9636 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9637 $RM out
/* && rmdir out
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9644 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9649 hard_links
="nottested"
9650 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9651 # do not overwrite the value of need_locks provided by the user
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9653 $as_echo_n "checking if we can lock with hard links... " >&6; }
9656 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9658 ln conftest.a conftest.b
2>&5 || hard_links
=no
9659 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9661 $as_echo "$hard_links" >&6; }
9662 if test "$hard_links" = no
; then
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9664 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9677 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9680 allow_undefined_flag
=
9681 always_export_symbols
=no
9683 archive_expsym_cmds
=
9684 compiler_needs_object
=no
9685 enable_shared_with_static_runtimes
=no
9686 export_dynamic_flag_spec
=
9687 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9688 hardcode_automatic
=no
9690 hardcode_direct_absolute
=no
9691 hardcode_libdir_flag_spec
=
9692 hardcode_libdir_separator
=
9694 hardcode_shlibpath_var
=unsupported
9696 link_all_deplibs
=unknown
9699 old_archive_from_new_cmds
=
9700 old_archive_from_expsyms_cmds
=
9701 thread_safe_flag_spec
=
9702 whole_archive_flag_spec
=
9703 # include_expsyms should be a list of space-separated symbols to be *always*
9704 # included in the symbol list
9706 # exclude_expsyms can be an extended regexp of symbols to exclude
9707 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9708 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9709 # as well as any symbol that contains `d'.
9710 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9711 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9712 # platforms (ab)use it in PIC code, but their linkers get confused if
9713 # the symbol is explicitly referenced. Since portable code cannot
9714 # rely on this symbol name, it's probably fine to never include it in
9715 # preloaded symbol tables.
9716 # Exclude shared library initialization/finalization symbols.
9717 extract_expsyms_cmds
=
9720 cygwin
* | mingw
* | pw32
* | cegcc
*)
9721 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9722 # When not using gcc, we currently assume that we are using
9723 # Microsoft Visual C++.
9724 if test "$GCC" != yes; then
9729 # we just hope/assume this is gcc and not c89 (= MSVC++)
9739 # On some targets, GNU ld is compatible enough with the native linker
9740 # that we're better off using the native interface for both.
9741 lt_use_gnu_ld_interface
=no
9742 if test "$with_gnu_ld" = yes; then
9745 # The AIX port of GNU ld has always aspired to compatibility
9746 # with the native linker. However, as the warning in the GNU ld
9747 # block says, versions before 2.19.5* couldn't really create working
9748 # shared libraries, regardless of the interface used.
9749 case `$LD -v 2>&1` in
9750 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9751 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9752 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9754 lt_use_gnu_ld_interface
=yes
9759 lt_use_gnu_ld_interface
=yes
9764 if test "$lt_use_gnu_ld_interface" = yes; then
9765 # If archive_cmds runs LD, not CC, wlarc should be empty
9768 # Set some defaults for GNU ld with shared library support. These
9769 # are reset later if shared libraries are not supported. Putting them
9770 # here allows them to be overridden if necessary.
9771 runpath_var
=LD_RUN_PATH
9772 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9773 export_dynamic_flag_spec
='${wl}--export-dynamic'
9774 # ancient GNU ld didn't support --whole-archive et. al.
9775 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9776 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9778 whole_archive_flag_spec
=
9780 supports_anon_versioning
=no
9781 case `$LD -v 2>&1` in
9782 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9783 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9784 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9785 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9786 *\
2.11.
*) ;; # other 2.11 versions
9787 *) supports_anon_versioning
=yes ;;
9790 # See if GNU ld supports shared libraries.
9793 # On AIX/PPC, the GNU linker is very broken
9794 if test "$host_cpu" != ia64
; then
9798 *** Warning: the GNU linker, at least up to release 2.19, is reported
9799 *** to be unable to reliably create shared libraries on AIX.
9800 *** Therefore, libtool is disabling shared libraries support. If you
9801 *** really care for shared libraries, you may want to install binutils
9802 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9803 *** You will then need to restart the configuration process.
9812 # see comment about AmigaOS4 .so support
9813 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9814 archive_expsym_cmds
=''
9817 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)'
9818 hardcode_libdir_flag_spec
='-L$libdir'
9819 hardcode_minus_L
=yes
9825 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9826 allow_undefined_flag
=unsupported
9827 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9828 # support --undefined. This deserves some investigation. FIXME
9829 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9835 cygwin
* | mingw
* | pw32
* | cegcc
*)
9836 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9837 # as there is no search path for DLLs.
9838 hardcode_libdir_flag_spec
='-L$libdir'
9839 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9840 allow_undefined_flag
=unsupported
9841 always_export_symbols
=no
9842 enable_shared_with_static_runtimes
=yes
9843 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'
9844 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9846 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9847 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9848 # If the export-symbols file already is a .def file (1st line
9849 # is EXPORTS), use it as is; otherwise, prepend...
9850 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9851 cp $export_symbols $output_objdir/$soname.def;
9853 echo EXPORTS > $output_objdir/$soname.def;
9854 cat $export_symbols >> $output_objdir/$soname.def;
9856 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9863 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9864 link_all_deplibs
=yes
9869 hardcode_shlibpath_var
=no
9870 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9871 export_dynamic_flag_spec
='${wl}-E'
9872 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9873 # Instead, shared libraries are loaded at an image base (0x10000000 by
9874 # default) and relocated if they conflict, which is a slow very memory
9875 # consuming and fragmenting process. To avoid this, we pick a random,
9876 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9877 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9878 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9879 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'
9882 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9884 if test "$host_os" = linux
-dietlibc; then
9885 case $cc_basename in
9886 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9889 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9890 && test "$tmp_diet" = no
9892 tmp_addflag
=' $pic_flag'
9893 tmp_sharedflag
='-shared'
9894 case $cc_basename,$host_cpu in
9895 pgcc
*) # Portland Group C compiler
9896 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'
9897 tmp_addflag
=' $pic_flag'
9899 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9900 # Portland Group f77 and f90 compilers
9901 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'
9902 tmp_addflag
=' $pic_flag -Mnomain' ;;
9903 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9904 tmp_addflag
=' -i_dynamic' ;;
9905 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9906 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9907 ifc
* | ifort
*) # Intel Fortran compiler
9908 tmp_addflag
=' -nofor_main' ;;
9909 lf95
*) # Lahey Fortran 8.1
9910 whole_archive_flag_spec
=
9911 tmp_sharedflag
='--shared' ;;
9912 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9913 tmp_sharedflag
='-qmkshrobj'
9915 nvcc
*) # Cuda Compiler Driver 2.2
9916 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'
9917 compiler_needs_object
=yes
9920 case `$CC -V 2>&1 | sed 5q` in
9921 *Sun\ C
*) # Sun C 5.9
9922 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'
9923 compiler_needs_object
=yes
9924 tmp_sharedflag
='-G' ;;
9925 *Sun\ F
*) # Sun Fortran 8.3
9926 tmp_sharedflag
='-G' ;;
9928 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9930 if test "x$supports_anon_versioning" = xyes
; then
9931 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9932 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9933 echo "local: *; };" >> $output_objdir/$libname.ver~
9934 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9937 case $cc_basename in
9938 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9939 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9940 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9941 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9942 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9943 if test "x$supports_anon_versioning" = xyes
; then
9944 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9945 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9946 echo "local: *; };" >> $output_objdir/$libname.ver~
9947 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9957 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9958 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9961 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9962 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9967 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9971 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9972 *** create shared libraries on Solaris systems. Therefore, libtool
9973 *** is disabling shared libraries support. We urge you to upgrade GNU
9974 *** binutils to release 2.9.1 or newer. Another option is to modify
9975 *** your PATH or compiler configuration so that the native linker is
9976 *** used, and then restart.
9979 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9980 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9981 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9987 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9988 case `$LD -v 2>&1` in
9989 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9993 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9994 *** reliably create shared libraries on SCO systems. Therefore, libtool
9995 *** is disabling shared libraries support. We urge you to upgrade GNU
9996 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9997 *** your PATH or compiler configuration so that the native linker is
9998 *** used, and then restart.
10003 # For security reasons, it is highly recommended that you always
10004 # use absolute paths for naming shared libraries, and exclude the
10005 # DT_RUNPATH tag from executables and libraries. But doing so
10006 # requires that you compile everything twice, which is a pain.
10007 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10008 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10009 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10019 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10021 hardcode_direct
=yes
10022 hardcode_shlibpath_var
=no
10026 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10027 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10028 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10035 if test "$ld_shlibs" = no
; then
10037 hardcode_libdir_flag_spec
=
10038 export_dynamic_flag_spec
=
10039 whole_archive_flag_spec
=
10042 # PORTME fill in a description of your system's linker (not GNU ld)
10045 allow_undefined_flag
=unsupported
10046 always_export_symbols
=yes
10047 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'
10048 # Note: this linker hardcodes the directories in LIBPATH if there
10049 # are no directories specified by -L.
10050 hardcode_minus_L
=yes
10051 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10052 # Neither direct hardcoding nor static linking is supported with a
10054 hardcode_direct
=unsupported
10059 if test "$host_cpu" = ia64
; then
10060 # On IA64, the linker does run time linking by default, so we don't
10061 # have to do anything special.
10062 aix_use_runtimelinking
=no
10063 exp_sym_flag
='-Bexport'
10066 # If we're using GNU nm, then we don't want the "-C" option.
10067 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10068 # Also, AIX nm treats weak defined symbols like other global
10069 # defined symbols, whereas GNU nm marks them as "W".
10070 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10071 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'
10073 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'
10075 aix_use_runtimelinking
=no
10077 # Test if we are trying to use run time linking or normal
10078 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10079 # need to do runtime linking.
10080 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10081 for ld_flag
in $LDFLAGS; do
10082 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10083 aix_use_runtimelinking
=yes
10090 exp_sym_flag
='-bexport'
10091 no_entry_flag
='-bnoentry'
10094 # When large executables or shared objects are built, AIX ld can
10095 # have problems creating the table of contents. If linking a library
10096 # or program results in "error TOC overflow" add -mminimal-toc to
10097 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10098 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10101 hardcode_direct
=yes
10102 hardcode_direct_absolute
=yes
10103 hardcode_libdir_separator
=':'
10104 link_all_deplibs
=yes
10105 file_list_spec
='${wl}-f,'
10107 if test "$GCC" = yes; then
10108 case $host_os in aix4.
[012]|aix4.
[012].
*)
10109 # We only want to do this on AIX 4.2 and lower, the check
10110 # below for broken collect2 doesn't work under 4.3+
10111 collect2name
=`${CC} -print-prog-name=collect2`
10112 if test -f "$collect2name" &&
10113 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10115 # We have reworked collect2
10118 # We have old collect2
10119 hardcode_direct
=unsupported
10120 # It fails to find uninstalled libraries when the uninstalled
10121 # path is not listed in the libpath. Setting hardcode_minus_L
10122 # to unsupported forces relinking
10123 hardcode_minus_L
=yes
10124 hardcode_libdir_flag_spec
='-L$libdir'
10125 hardcode_libdir_separator
=
10129 shared_flag
='-shared'
10130 if test "$aix_use_runtimelinking" = yes; then
10131 shared_flag
="$shared_flag "'${wl}-G'
10135 if test "$host_cpu" = ia64
; then
10136 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10137 # chokes on -Wl,-G. The following line is correct:
10140 if test "$aix_use_runtimelinking" = yes; then
10141 shared_flag
='${wl}-G'
10143 shared_flag
='${wl}-bM:SRE'
10148 export_dynamic_flag_spec
='${wl}-bexpall'
10149 # It seems that -bexpall does not export symbols beginning with
10150 # underscore (_), so it is better to generate a list of symbols to export.
10151 always_export_symbols
=yes
10152 if test "$aix_use_runtimelinking" = yes; then
10153 # Warning - without using the other runtime loading flags (-brtl),
10154 # -berok will link without error, but may produce a broken library.
10155 allow_undefined_flag
='-berok'
10156 # Determine the default libpath from the value encoded in an
10157 # empty executable.
10158 if test "${lt_cv_aix_libpath+set}" = set; then
10159 aix_libpath
=$lt_cv_aix_libpath
10161 if ${lt_cv_aix_libpath_+:} false
; then :
10162 $as_echo_n "(cached) " >&6
10164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10175 if ac_fn_c_try_link
"$LINENO"; then :
10177 lt_aix_libpath_sed
='
10178 /Import File Strings/,/^$/ {
10180 s/^0 *\([^ ]*\) *$/\1/
10184 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10185 # Check for a 64-bit object if we didn't find anything.
10186 if test -z "$lt_cv_aix_libpath_"; then
10187 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10190 rm -f core conftest.err conftest.
$ac_objext \
10191 conftest
$ac_exeext conftest.
$ac_ext
10192 if test -z "$lt_cv_aix_libpath_"; then
10193 lt_cv_aix_libpath_
="/usr/lib:/lib"
10198 aix_libpath
=$lt_cv_aix_libpath_
10201 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10202 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"
10204 if test "$host_cpu" = ia64
; then
10205 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10206 allow_undefined_flag
="-z nodefs"
10207 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"
10209 # Determine the default libpath from the value encoded in an
10210 # empty executable.
10211 if test "${lt_cv_aix_libpath+set}" = set; then
10212 aix_libpath
=$lt_cv_aix_libpath
10214 if ${lt_cv_aix_libpath_+:} false
; then :
10215 $as_echo_n "(cached) " >&6
10217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10228 if ac_fn_c_try_link
"$LINENO"; then :
10230 lt_aix_libpath_sed
='
10231 /Import File Strings/,/^$/ {
10233 s/^0 *\([^ ]*\) *$/\1/
10237 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10238 # Check for a 64-bit object if we didn't find anything.
10239 if test -z "$lt_cv_aix_libpath_"; then
10240 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10243 rm -f core conftest.err conftest.
$ac_objext \
10244 conftest
$ac_exeext conftest.
$ac_ext
10245 if test -z "$lt_cv_aix_libpath_"; then
10246 lt_cv_aix_libpath_
="/usr/lib:/lib"
10251 aix_libpath
=$lt_cv_aix_libpath_
10254 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10255 # Warning - without using the other run time loading flags,
10256 # -berok will link without error, but may produce a broken library.
10257 no_undefined_flag
=' ${wl}-bernotok'
10258 allow_undefined_flag
=' ${wl}-berok'
10259 if test "$with_gnu_ld" = yes; then
10260 # We only use this code for GNU lds that support --whole-archive.
10261 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10263 # Exported symbols can be pulled into shared objects from archives
10264 whole_archive_flag_spec
='$convenience'
10266 archive_cmds_need_lc
=yes
10267 # This is similar to how AIX traditionally builds its shared libraries.
10268 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'
10276 # see comment about AmigaOS4 .so support
10277 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10278 archive_expsym_cmds
=''
10281 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)'
10282 hardcode_libdir_flag_spec
='-L$libdir'
10283 hardcode_minus_L
=yes
10289 export_dynamic_flag_spec
=-rdynamic
10292 cygwin
* | mingw
* | pw32
* | cegcc
*)
10293 # When not using gcc, we currently assume that we are using
10294 # Microsoft Visual C++.
10295 # hardcode_libdir_flag_spec is actually meaningless, as there is
10296 # no search path for DLLs.
10297 case $cc_basename in
10300 hardcode_libdir_flag_spec
=' '
10301 allow_undefined_flag
=unsupported
10302 always_export_symbols
=yes
10304 # Tell ltmain to make .lib files, not .a files.
10306 # Tell ltmain to make .dll files, not .so files.
10308 # FIXME: Setting linknames here is a bad hack.
10309 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10310 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10311 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10313 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10315 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10317 # The linker will not automatically build a static lib if we build a DLL.
10318 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10319 enable_shared_with_static_runtimes
=yes
10320 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10321 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10323 old_postinstall_cmds
='chmod 644 $oldlib'
10324 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10325 lt_tool_outputfile="@TOOL_OUTPUT@"~
10326 case $lt_outputfile in
10329 lt_outputfile="$lt_outputfile.exe"
10330 lt_tool_outputfile="$lt_tool_outputfile.exe"
10333 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10334 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10335 $RM "$lt_outputfile.manifest";
10339 # Assume MSVC wrapper
10340 hardcode_libdir_flag_spec
=' '
10341 allow_undefined_flag
=unsupported
10342 # Tell ltmain to make .lib files, not .a files.
10344 # Tell ltmain to make .dll files, not .so files.
10346 # FIXME: Setting linknames here is a bad hack.
10347 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10348 # The linker will automatically build a .lib file if we build a DLL.
10349 old_archive_from_new_cmds
='true'
10350 # FIXME: Should let the user specify the lib program.
10351 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10352 enable_shared_with_static_runtimes
=yes
10357 darwin
* | rhapsody
*)
10360 archive_cmds_need_lc
=no
10362 hardcode_automatic
=yes
10363 hardcode_shlibpath_var
=unsupported
10364 if test "$lt_cv_ld_force_load" = "yes"; then
10365 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\"`'
10368 whole_archive_flag_spec
=''
10370 link_all_deplibs
=yes
10371 allow_undefined_flag
="$_lt_dar_allow_undefined"
10372 case $cc_basename in
10373 ifort
*) _lt_dar_can_shared
=yes ;;
10374 *) _lt_dar_can_shared
=$GCC ;;
10376 if test "$_lt_dar_can_shared" = "yes"; then
10377 output_verbose_link_cmd
=func_echo_all
10378 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10379 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10380 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}"
10381 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}"
10390 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10391 hardcode_libdir_flag_spec
='-L$libdir'
10392 hardcode_shlibpath_var
=no
10395 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10396 # support. Future versions do this automatically, but an explicit c++rt0.o
10397 # does not break anything, and helps significantly (at the cost of a little
10400 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10401 hardcode_libdir_flag_spec
='-R$libdir'
10402 hardcode_direct
=yes
10403 hardcode_shlibpath_var
=no
10406 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10408 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10409 hardcode_direct
=yes
10410 hardcode_minus_L
=yes
10411 hardcode_shlibpath_var
=no
10414 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10415 freebsd
* | dragonfly
*)
10416 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10417 hardcode_libdir_flag_spec
='-R$libdir'
10418 hardcode_direct
=yes
10419 hardcode_shlibpath_var
=no
10423 if test "$GCC" = yes; then
10424 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'
10426 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'
10428 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10429 hardcode_libdir_separator
=:
10430 hardcode_direct
=yes
10432 # hardcode_minus_L: Not really in the search PATH,
10433 # but as the default location of the library.
10434 hardcode_minus_L
=yes
10435 export_dynamic_flag_spec
='${wl}-E'
10439 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10440 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10442 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10444 if test "$with_gnu_ld" = no
; then
10445 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10446 hardcode_libdir_separator
=:
10447 hardcode_direct
=yes
10448 hardcode_direct_absolute
=yes
10449 export_dynamic_flag_spec
='${wl}-E'
10450 # hardcode_minus_L: Not really in the search PATH,
10451 # but as the default location of the library.
10452 hardcode_minus_L
=yes
10457 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10460 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10463 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10466 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10472 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10475 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10479 # Older versions of the 11.00 compiler do not understand -b yet
10480 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10482 $as_echo_n "checking if $CC understands -b... " >&6; }
10483 if ${lt_cv_prog_compiler__b+:} false
; then :
10484 $as_echo_n "(cached) " >&6
10486 lt_cv_prog_compiler__b
=no
10487 save_LDFLAGS
="$LDFLAGS"
10488 LDFLAGS
="$LDFLAGS -b"
10489 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10490 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10491 # The linker can only warn and ignore the option if not recognized
10492 # So say no if there are warnings
10493 if test -s conftest.err
; then
10494 # Append any errors to the config.log.
10495 cat conftest.err
1>&5
10496 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10497 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10498 if diff conftest.exp conftest.er2
>/dev
/null
; then
10499 lt_cv_prog_compiler__b
=yes
10502 lt_cv_prog_compiler__b
=yes
10506 LDFLAGS
="$save_LDFLAGS"
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10510 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10512 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10513 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10515 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10521 if test "$with_gnu_ld" = no
; then
10522 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10523 hardcode_libdir_separator
=:
10528 hardcode_shlibpath_var
=no
10531 hardcode_direct
=yes
10532 hardcode_direct_absolute
=yes
10533 export_dynamic_flag_spec
='${wl}-E'
10535 # hardcode_minus_L: Not really in the search PATH,
10536 # but as the default location of the library.
10537 hardcode_minus_L
=yes
10543 irix5
* | irix6
* | nonstopux
*)
10544 if test "$GCC" = yes; then
10545 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'
10546 # Try to use the -exported_symbol ld option, if it does not
10547 # work, assume that -exports_file does not work either and
10548 # implicitly export all symbols.
10549 # This should be the same for all languages, so no per-tag cache variable.
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10551 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10552 if ${lt_cv_irix_exported_symbol+:} false
; then :
10553 $as_echo_n "(cached) " >&6
10555 save_LDFLAGS
="$LDFLAGS"
10556 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10559 int foo (void) { return 0; }
10561 if ac_fn_c_try_link
"$LINENO"; then :
10562 lt_cv_irix_exported_symbol
=yes
10564 lt_cv_irix_exported_symbol
=no
10566 rm -f core conftest.err conftest.
$ac_objext \
10567 conftest
$ac_exeext conftest.
$ac_ext
10568 LDFLAGS
="$save_LDFLAGS"
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10571 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10572 if test "$lt_cv_irix_exported_symbol" = yes; then
10573 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'
10576 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'
10577 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'
10579 archive_cmds_need_lc
='no'
10580 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10581 hardcode_libdir_separator
=:
10583 link_all_deplibs
=yes
10587 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10588 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10590 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10592 hardcode_libdir_flag_spec
='-R$libdir'
10593 hardcode_direct
=yes
10594 hardcode_shlibpath_var
=no
10598 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10599 hardcode_direct
=yes
10600 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10601 hardcode_libdir_separator
=:
10602 hardcode_shlibpath_var
=no
10609 if test -f /usr
/libexec
/ld.so
; then
10610 hardcode_direct
=yes
10611 hardcode_shlibpath_var
=no
10612 hardcode_direct_absolute
=yes
10613 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10614 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10615 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10616 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10617 export_dynamic_flag_spec
='${wl}-E'
10620 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10621 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10622 hardcode_libdir_flag_spec
='-R$libdir'
10625 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10626 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10636 hardcode_libdir_flag_spec
='-L$libdir'
10637 hardcode_minus_L
=yes
10638 allow_undefined_flag
=unsupported
10639 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'
10640 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10644 if test "$GCC" = yes; then
10645 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10646 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'
10648 allow_undefined_flag
=' -expect_unresolved \*'
10649 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'
10651 archive_cmds_need_lc
='no'
10652 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10653 hardcode_libdir_separator
=:
10656 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10657 if test "$GCC" = yes; then
10658 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10659 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'
10660 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10662 allow_undefined_flag
=' -expect_unresolved \*'
10663 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'
10664 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~
10665 $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'
10667 # Both c and cxx compiler support -rpath directly
10668 hardcode_libdir_flag_spec
='-rpath $libdir'
10670 archive_cmds_need_lc
='no'
10671 hardcode_libdir_separator
=:
10675 no_undefined_flag
=' -z defs'
10676 if test "$GCC" = yes; then
10678 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10679 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10680 $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'
10682 case `$CC -V 2>&1` in
10685 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10686 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10687 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10691 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10692 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10693 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10697 hardcode_libdir_flag_spec
='-R$libdir'
10698 hardcode_shlibpath_var
=no
10700 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10702 # The compiler driver will combine and reorder linker options,
10703 # but understands `-z linker_flag'. GCC discards it without `$wl',
10704 # but is careful enough not to reorder.
10705 # Supported since Solaris 2.6 (maybe 2.5.1?)
10706 if test "$GCC" = yes; then
10707 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10709 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10713 link_all_deplibs
=yes
10717 if test "x$host_vendor" = xsequent
; then
10718 # Use $CC to link under sequent, because it throws in some extra .o
10719 # files that make .init and .fini sections work.
10720 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10722 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10724 hardcode_libdir_flag_spec
='-L$libdir'
10725 hardcode_direct
=yes
10726 hardcode_minus_L
=yes
10727 hardcode_shlibpath_var
=no
10731 case $host_vendor in
10733 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10734 hardcode_direct
=yes # is this really true???
10737 ## LD is ld it makes a PLAMLIB
10738 ## CC just makes a GrossModule.
10739 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10740 reload_cmds
='$CC -r -o $output$reload_objs'
10744 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10745 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10748 runpath_var
='LD_RUN_PATH'
10749 hardcode_shlibpath_var
=no
10753 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10754 hardcode_shlibpath_var
=no
10755 export_dynamic_flag_spec
='-Bexport'
10759 if test -d /usr
/nec
; then
10760 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10761 hardcode_shlibpath_var
=no
10762 runpath_var
=LD_RUN_PATH
10763 hardcode_runpath_var
=yes
10768 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10769 no_undefined_flag
='${wl}-z,text'
10770 archive_cmds_need_lc
=no
10771 hardcode_shlibpath_var
=no
10772 runpath_var
='LD_RUN_PATH'
10774 if test "$GCC" = yes; then
10775 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10776 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10778 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10783 sysv5
* | sco3.2v5
* | sco5v6
*)
10784 # Note: We can NOT use -z defs as we might desire, because we do not
10785 # link with -lc, and that would cause any symbols used from libc to
10786 # always be unresolved, which means just about no library would
10787 # ever link correctly. If we're not using GNU ld we use -z text
10788 # though, which does catch some bad symbols but isn't as heavy-handed
10790 no_undefined_flag
='${wl}-z,text'
10791 allow_undefined_flag
='${wl}-z,nodefs'
10792 archive_cmds_need_lc
=no
10793 hardcode_shlibpath_var
=no
10794 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10795 hardcode_libdir_separator
=':'
10796 link_all_deplibs
=yes
10797 export_dynamic_flag_spec
='${wl}-Bexport'
10798 runpath_var
='LD_RUN_PATH'
10800 if test "$GCC" = yes; then
10801 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10802 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10804 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10805 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10810 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10811 hardcode_libdir_flag_spec
='-L$libdir'
10812 hardcode_shlibpath_var
=no
10820 if test x
$host_vendor = xsni
; then
10822 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10823 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10830 $as_echo "$ld_shlibs" >&6; }
10831 test "$ld_shlibs" = no
&& can_build_shared
=no
10833 with_gnu_ld
=$with_gnu_ld
10850 # Do we need to explicitly link libc?
10852 case "x$archive_cmds_need_lc" in
10854 # Assume -lc should be added
10855 archive_cmds_need_lc
=yes
10857 if test "$enable_shared" = yes && test "$GCC" = yes; then
10858 case $archive_cmds in
10860 # FIXME: we may have to deal with multi-command sequences.
10863 # Test whether the compiler implicitly links with -lc since on some
10864 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10865 # to ld, don't add -lc before -lgcc.
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10867 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10868 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10869 $as_echo_n "(cached) " >&6
10872 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10875 (eval $ac_compile) 2>&5
10877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10878 test $ac_status = 0; } 2>conftest.err
; then
10881 libobjs
=conftest.
$ac_objext
10883 wl
=$lt_prog_compiler_wl
10884 pic_flag
=$lt_prog_compiler_pic
10890 lt_save_allow_undefined_flag
=$allow_undefined_flag
10891 allow_undefined_flag
=
10892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10893 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10896 test $ac_status = 0; }
10898 lt_cv_archive_cmds_need_lc
=no
10900 lt_cv_archive_cmds_need_lc
=yes
10902 allow_undefined_flag
=$lt_save_allow_undefined_flag
10904 cat conftest.err
1>&5
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10910 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10911 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11070 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11072 if test "$GCC" = yes; then
11074 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11075 *) lt_awk_arg
="/^libraries:/" ;;
11078 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11079 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11081 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11082 case $lt_search_path_spec in
11084 # if the path contains ";" then we assume it to be the separator
11085 # otherwise default to the standard path separator (i.e. ":") - it is
11086 # assumed that no part of a normal pathname contains ";" but that should
11087 # okay in the real world where ";" in dirpaths is itself problematic.
11088 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11091 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11094 # Ok, now we have the path, separated by spaces, we can step through it
11095 # and add multilib dir if necessary.
11096 lt_tmp_lt_search_path_spec
=
11097 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11098 for lt_sys_path
in $lt_search_path_spec; do
11099 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11100 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11102 test -d "$lt_sys_path" && \
11103 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11106 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11107 BEGIN {RS=" "; FS="/|\n";} {
11110 for (lt_i = NF; lt_i > 0; lt_i--) {
11111 if ($lt_i != "" && $lt_i != ".") {
11112 if ($lt_i == "..") {
11115 if (lt_count == 0) {
11116 lt_foo="/" $lt_i lt_foo;
11123 if (lt_foo != "") { lt_freq[lt_foo]++; }
11124 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11126 # AWK program above erroneously prepends '/' to C:/dos/paths
11129 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11130 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11132 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11134 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11136 library_names_spec
=
11137 libname_spec
='lib$name'
11141 postuninstall_cmds
=
11145 shlibpath_overrides_runpath
=unknown
11147 dynamic_linker
="$host_os ld.so"
11148 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11149 need_lib_prefix
=unknown
11150 hardcode_into_libs
=no
11152 # when you set need_version to no, make sure it does not cause -set_version
11153 # flags to be left without arguments
11154 need_version
=unknown
11158 version_type
=linux
# correct to gnu/linux during the next big refactor
11159 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11160 shlibpath_var
=LIBPATH
11162 # AIX 3 has no versioning support, so we append a major version to the name.
11163 soname_spec
='${libname}${release}${shared_ext}$major'
11167 version_type
=linux
# correct to gnu/linux during the next big refactor
11170 hardcode_into_libs
=yes
11171 if test "$host_cpu" = ia64
; then
11172 # AIX 5 supports IA64
11173 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11174 shlibpath_var
=LD_LIBRARY_PATH
11176 # With GCC up to 2.95.x, collect2 would create an import file
11177 # for dependence libraries. The import file would start with
11178 # the line `#! .'. This would cause the generated library to
11179 # depend on `.', always an invalid library. This was fixed in
11180 # development snapshots of GCC prior to 3.0.
11182 aix4
| aix4.
[01] | aix4.
[01].
*)
11183 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11185 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11188 can_build_shared
=no
11192 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11193 # soname into executable. Probably we can add versioning support to
11194 # collect2, so additional links can be useful in future.
11195 if test "$aix_use_runtimelinking" = yes; then
11196 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11197 # instead of lib<name>.a to let people know that these are not
11198 # typical AIX shared libraries.
11199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11201 # We preserve .a as extension for shared libraries through AIX4.2
11202 # and later when we are not doing run time linking.
11203 library_names_spec
='${libname}${release}.a $libname.a'
11204 soname_spec
='${libname}${release}${shared_ext}$major'
11206 shlibpath_var
=LIBPATH
11213 # Since July 2007 AmigaOS4 officially supports .so libraries.
11214 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11218 library_names_spec
='$libname.ixlibrary $libname.a'
11219 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11220 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'
11226 library_names_spec
='${libname}${shared_ext}'
11227 dynamic_linker
="$host_os ld.so"
11228 shlibpath_var
=LIBRARY_PATH
11232 version_type
=linux
# correct to gnu/linux during the next big refactor
11234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11235 soname_spec
='${libname}${release}${shared_ext}$major'
11236 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11237 shlibpath_var
=LD_LIBRARY_PATH
11238 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11239 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11240 # the default ld.so.conf also contains /usr/contrib/lib and
11241 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11242 # libtool to hard-code these into programs
11245 cygwin
* | mingw
* | pw32
* | cegcc
*)
11246 version_type
=windows
11251 case $GCC,$cc_basename in
11254 library_names_spec
='$libname.dll.a'
11255 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11256 postinstall_cmds
='base_file=`basename \${file}`~
11257 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11258 dldir=$destdir/`dirname \$dlpath`~
11259 test -d \$dldir || mkdir -p \$dldir~
11260 $install_prog $dir/$dlname \$dldir/$dlname~
11261 chmod a+x \$dldir/$dlname~
11262 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11263 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11265 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11266 dlpath=$dir/\$dldll~
11268 shlibpath_overrides_runpath
=yes
11272 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11273 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11275 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11278 # MinGW DLLs use traditional 'lib' prefix
11279 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11282 # pw32 DLLs use 'pw' prefix rather than 'lib'
11283 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11286 dynamic_linker
='Win32 ld.exe'
11291 libname_spec
='$name'
11292 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11293 library_names_spec
='${libname}.dll.lib'
11297 sys_lib_search_path_spec
=
11300 for lt_path
in $LIB
11303 # Let DOS variable expansion print the short 8.3 style file name.
11304 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11305 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11308 # Convert to MSYS style.
11309 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11312 # Convert to unix form, then to dos form, then back to unix form
11313 # but this time dos style (no spaces!) so that the unix form looks
11314 # like /cygdrive/c/PROGRA~1:/cygdr...
11315 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11316 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11317 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11320 sys_lib_search_path_spec
="$LIB"
11321 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11322 # It is most probably a Windows format PATH.
11323 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11325 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11327 # FIXME: find the short name or the path components, as spaces are
11328 # common. (e.g. "Program Files" -> "PROGRA~1")
11332 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11333 postinstall_cmds
='base_file=`basename \${file}`~
11334 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11335 dldir=$destdir/`dirname \$dlpath`~
11336 test -d \$dldir || mkdir -p \$dldir~
11337 $install_prog $dir/$dlname \$dldir/$dlname'
11338 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11339 dlpath=$dir/\$dldll~
11341 shlibpath_overrides_runpath
=yes
11342 dynamic_linker
='Win32 link.exe'
11346 # Assume MSVC wrapper
11347 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11348 dynamic_linker
='Win32 ld.exe'
11351 # FIXME: first we should search . and the directory the executable is in
11355 darwin
* | rhapsody
*)
11356 dynamic_linker
="$host_os dyld"
11357 version_type
=darwin
11360 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11361 soname_spec
='${libname}${release}${major}$shared_ext'
11362 shlibpath_overrides_runpath
=yes
11363 shlibpath_var
=DYLD_LIBRARY_PATH
11364 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11366 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11367 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11371 version_type
=linux
# correct to gnu/linux during the next big refactor
11374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11375 soname_spec
='${libname}${release}${shared_ext}$major'
11376 shlibpath_var
=LD_LIBRARY_PATH
11379 freebsd
* | dragonfly
*)
11380 # DragonFly does not have aout. When/if they implement a new
11381 # versioning mechanism, adjust this.
11382 if test -x /usr
/bin
/objformat
; then
11383 objformat
=`/usr/bin/objformat`
11386 freebsd
[23].
*) objformat
=aout
;;
11387 *) objformat
=elf
;;
11390 version_type
=freebsd
-$objformat
11391 case $version_type in
11393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11398 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11402 shlibpath_var
=LD_LIBRARY_PATH
11405 shlibpath_overrides_runpath
=yes
11407 freebsd3.
[01]* | freebsdelf3.
[01]*)
11408 shlibpath_overrides_runpath
=yes
11409 hardcode_into_libs
=yes
11411 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11412 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11413 shlibpath_overrides_runpath
=no
11414 hardcode_into_libs
=yes
11416 *) # from 4.6 on, and DragonFly
11417 shlibpath_overrides_runpath
=yes
11418 hardcode_into_libs
=yes
11424 version_type
=linux
# correct to gnu/linux during the next big refactor
11427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11428 soname_spec
='${libname}${release}${shared_ext}$major'
11429 shlibpath_var
=LD_LIBRARY_PATH
11430 shlibpath_overrides_runpath
=no
11431 hardcode_into_libs
=yes
11435 version_type
=linux
# correct to gnu/linux during the next big refactor
11438 dynamic_linker
="$host_os runtime_loader"
11439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11440 soname_spec
='${libname}${release}${shared_ext}$major'
11441 shlibpath_var
=LIBRARY_PATH
11442 shlibpath_overrides_runpath
=yes
11443 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11444 hardcode_into_libs
=yes
11447 hpux9
* | hpux10
* | hpux11
*)
11448 # Give a soname corresponding to the major version so that dld.sl refuses to
11449 # link against other versions.
11456 hardcode_into_libs
=yes
11457 dynamic_linker
="$host_os dld.so"
11458 shlibpath_var
=LD_LIBRARY_PATH
11459 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11461 soname_spec
='${libname}${release}${shared_ext}$major'
11462 if test "X$HPUX_IA64_MODE" = X32
; then
11463 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11465 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11467 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11471 hardcode_into_libs
=yes
11472 dynamic_linker
="$host_os dld.sl"
11473 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11474 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11476 soname_spec
='${libname}${release}${shared_ext}$major'
11477 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11478 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11482 dynamic_linker
="$host_os dld.sl"
11483 shlibpath_var
=SHLIB_PATH
11484 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11486 soname_spec
='${libname}${release}${shared_ext}$major'
11489 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11490 postinstall_cmds
='chmod 555 $lib'
11491 # or fails outright, so override atomically:
11492 install_override_mode
=555
11496 version_type
=linux
# correct to gnu/linux during the next big refactor
11499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11500 soname_spec
='${libname}${release}${shared_ext}$major'
11501 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11502 shlibpath_var
=LD_LIBRARY_PATH
11503 shlibpath_overrides_runpath
=no
11504 hardcode_into_libs
=yes
11507 irix5
* | irix6
* | nonstopux
*)
11509 nonstopux
*) version_type
=nonstopux
;;
11511 if test "$lt_cv_prog_gnu_ld" = yes; then
11512 version_type
=linux
# correct to gnu/linux during the next big refactor
11519 soname_spec
='${libname}${release}${shared_ext}$major'
11520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11522 irix5
* | nonstopux
*)
11523 libsuff
= shlibsuff
=
11526 case $LD in # libtool.m4 will add one of these switches to LD
11527 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11528 libsuff
= shlibsuff
= libmagic
=32-bit;;
11529 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11530 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11531 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11532 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11533 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11537 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11538 shlibpath_overrides_runpath
=no
11539 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11540 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11541 hardcode_into_libs
=yes
11544 # No shared lib support for Linux oldld, aout, or coff.
11545 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11549 # This must be glibc/ELF.
11550 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11551 version_type
=linux
# correct to gnu/linux during the next big refactor
11554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11555 soname_spec
='${libname}${release}${shared_ext}$major'
11556 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11557 shlibpath_var
=LD_LIBRARY_PATH
11558 shlibpath_overrides_runpath
=no
11560 # Some binutils ld are patched to set DT_RUNPATH
11561 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11562 $as_echo_n "(cached) " >&6
11564 lt_cv_shlibpath_overrides_runpath
=no
11565 save_LDFLAGS
=$LDFLAGS
11566 save_libdir
=$libdir
11567 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11568 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11580 if ac_fn_c_try_link
"$LINENO"; then :
11581 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11582 lt_cv_shlibpath_overrides_runpath
=yes
11585 rm -f core conftest.err conftest.
$ac_objext \
11586 conftest
$ac_exeext conftest.
$ac_ext
11587 LDFLAGS
=$save_LDFLAGS
11588 libdir
=$save_libdir
11592 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11594 # This implies no fast_install, which is unacceptable.
11595 # Some rework will be needed to allow for fast_install
11596 # before this can be enabled.
11597 hardcode_into_libs
=yes
11599 # Append ld.so.conf contents to the search path
11600 if test -f /etc
/ld.so.conf
; then
11601 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' ' '`
11602 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11605 # We used to test for /lib/ld.so.1 and disable shared libraries on
11606 # powerpc, because MkLinux only supported shared libraries with the
11607 # GNU dynamic linker. Since this was broken with cross compilers,
11608 # most powerpc-linux boxes support dynamic linking these days and
11609 # people can always --disable-shared, the test was removed, and we
11610 # assume the GNU/Linux dynamic linker is in use.
11611 dynamic_linker
='GNU/Linux ld.so'
11618 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11620 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11621 dynamic_linker
='NetBSD (a.out) ld.so'
11623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11624 soname_spec
='${libname}${release}${shared_ext}$major'
11625 dynamic_linker
='NetBSD ld.elf_so'
11627 shlibpath_var
=LD_LIBRARY_PATH
11628 shlibpath_overrides_runpath
=yes
11629 hardcode_into_libs
=yes
11633 version_type
=linux
# correct to gnu/linux during the next big refactor
11634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11635 shlibpath_var
=LD_LIBRARY_PATH
11636 shlibpath_overrides_runpath
=yes
11643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11644 soname_spec
='${libname}${release}${shared_ext}$major'
11645 shlibpath_var
=LD_LIBRARY_PATH
11646 shlibpath_overrides_runpath
=no
11647 hardcode_into_libs
=yes
11648 dynamic_linker
='ldqnx.so'
11653 sys_lib_dlsearch_path_spec
="/usr/lib"
11655 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11657 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11658 *) need_version
=no
;;
11660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11661 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11662 shlibpath_var
=LD_LIBRARY_PATH
11663 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11665 openbsd2.
[89] | openbsd2.
[89].
*)
11666 shlibpath_overrides_runpath
=no
11669 shlibpath_overrides_runpath
=yes
11673 shlibpath_overrides_runpath
=yes
11678 libname_spec
='$name'
11681 library_names_spec
='$libname${shared_ext} $libname.a'
11682 dynamic_linker
='OS/2 ld.exe'
11683 shlibpath_var
=LIBPATH
11686 osf3
* | osf4
* | osf5
*)
11690 soname_spec
='${libname}${release}${shared_ext}$major'
11691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11692 shlibpath_var
=LD_LIBRARY_PATH
11693 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11694 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11702 version_type
=linux
# correct to gnu/linux during the next big refactor
11705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11706 soname_spec
='${libname}${release}${shared_ext}$major'
11707 shlibpath_var
=LD_LIBRARY_PATH
11708 shlibpath_overrides_runpath
=yes
11709 hardcode_into_libs
=yes
11710 # ldd complains unless libraries are executable
11711 postinstall_cmds
='chmod +x $lib'
11716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11717 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11718 shlibpath_var
=LD_LIBRARY_PATH
11719 shlibpath_overrides_runpath
=yes
11720 if test "$with_gnu_ld" = yes; then
11727 version_type
=linux
# correct to gnu/linux during the next big refactor
11728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11729 soname_spec
='${libname}${release}${shared_ext}$major'
11730 shlibpath_var
=LD_LIBRARY_PATH
11731 case $host_vendor in
11733 shlibpath_overrides_runpath
=no
11735 runpath_var
=LD_RUN_PATH
11743 shlibpath_overrides_runpath
=no
11744 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11750 if test -d /usr
/nec
;then
11751 version_type
=linux
# correct to gnu/linux during the next big refactor
11752 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11753 soname_spec
='$libname${shared_ext}.$major'
11754 shlibpath_var
=LD_LIBRARY_PATH
11758 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11759 version_type
=freebsd
-elf
11762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11763 soname_spec
='${libname}${release}${shared_ext}$major'
11764 shlibpath_var
=LD_LIBRARY_PATH
11765 shlibpath_overrides_runpath
=yes
11766 hardcode_into_libs
=yes
11767 if test "$with_gnu_ld" = yes; then
11768 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11770 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11773 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11777 sys_lib_dlsearch_path_spec
='/usr/lib'
11781 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11782 version_type
=linux
# correct to gnu/linux during the next big refactor
11785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11786 shlibpath_var
=LD_LIBRARY_PATH
11787 shlibpath_overrides_runpath
=no
11788 hardcode_into_libs
=yes
11792 version_type
=linux
# correct to gnu/linux during the next big refactor
11793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11794 soname_spec
='${libname}${release}${shared_ext}$major'
11795 shlibpath_var
=LD_LIBRARY_PATH
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11803 $as_echo "$dynamic_linker" >&6; }
11804 test "$dynamic_linker" = no
&& can_build_shared
=no
11806 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11807 if test "$GCC" = yes; then
11808 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11811 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11812 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11814 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11815 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11910 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11912 if test -n "$hardcode_libdir_flag_spec" ||
11913 test -n "$runpath_var" ||
11914 test "X$hardcode_automatic" = "Xyes" ; then
11916 # We can hardcode non-existent directories.
11917 if test "$hardcode_direct" != no
&&
11918 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11919 # have to relink, otherwise we might link with an installed library
11920 # when we should be linking with a yet-to-be-installed one
11921 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11922 test "$hardcode_minus_L" != no
; then
11923 # Linking always hardcodes the temporary library directory.
11924 hardcode_action
=relink
11926 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11927 hardcode_action
=immediate
11930 # We cannot hardcode anything, or else we can only hardcode existing
11932 hardcode_action
=unsupported
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11935 $as_echo "$hardcode_action" >&6; }
11937 if test "$hardcode_action" = relink
||
11938 test "$inherit_rpath" = yes; then
11939 # Fast installation is not supported
11940 enable_fast_install
=no
11941 elif test "$shlibpath_overrides_runpath" = yes ||
11942 test "$enable_shared" = no
; then
11943 # Fast installation is not necessary
11944 enable_fast_install
=needless
11952 if test "x$enable_dlopen" != xyes
; then
11953 enable_dlopen
=unknown
11954 enable_dlopen_self
=unknown
11955 enable_dlopen_self_static
=unknown
11962 lt_cv_dlopen
="load_add_on"
11964 lt_cv_dlopen_self
=yes
11967 mingw
* | pw32
* | cegcc
*)
11968 lt_cv_dlopen
="LoadLibrary"
11973 lt_cv_dlopen
="dlopen"
11978 # if libdl is installed we need to link against it
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11980 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11981 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11982 $as_echo_n "(cached) " >&6
11984 ac_check_lib_save_LIBS
=$LIBS
11986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11989 /* Override any GCC internal prototype to avoid an error.
11990 Use char because int might match the return type of a GCC
11991 builtin and then its argument prototype would still apply. */
12004 if ac_fn_c_try_link
"$LINENO"; then :
12005 ac_cv_lib_dl_dlopen
=yes
12007 ac_cv_lib_dl_dlopen
=no
12009 rm -f core conftest.err conftest.
$ac_objext \
12010 conftest
$ac_exeext conftest.
$ac_ext
12011 LIBS
=$ac_check_lib_save_LIBS
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12014 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12015 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12016 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12019 lt_cv_dlopen
="dyld"
12021 lt_cv_dlopen_self
=yes
12028 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12029 if test "x$ac_cv_func_shl_load" = xyes
; then :
12030 lt_cv_dlopen
="shl_load"
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12033 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12034 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12035 $as_echo_n "(cached) " >&6
12037 ac_check_lib_save_LIBS
=$LIBS
12039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12040 /* end confdefs.h. */
12042 /* Override any GCC internal prototype to avoid an error.
12043 Use char because int might match the return type of a GCC
12044 builtin and then its argument prototype would still apply. */
12052 return shl_load ();
12057 if ac_fn_c_try_link
"$LINENO"; then :
12058 ac_cv_lib_dld_shl_load
=yes
12060 ac_cv_lib_dld_shl_load
=no
12062 rm -f core conftest.err conftest.
$ac_objext \
12063 conftest
$ac_exeext conftest.
$ac_ext
12064 LIBS
=$ac_check_lib_save_LIBS
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12067 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12068 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12069 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12071 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12072 if test "x$ac_cv_func_dlopen" = xyes
; then :
12073 lt_cv_dlopen
="dlopen"
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12076 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12077 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12078 $as_echo_n "(cached) " >&6
12080 ac_check_lib_save_LIBS
=$LIBS
12082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12085 /* Override any GCC internal prototype to avoid an error.
12086 Use char because int might match the return type of a GCC
12087 builtin and then its argument prototype would still apply. */
12100 if ac_fn_c_try_link
"$LINENO"; then :
12101 ac_cv_lib_dl_dlopen
=yes
12103 ac_cv_lib_dl_dlopen
=no
12105 rm -f core conftest.err conftest.
$ac_objext \
12106 conftest
$ac_exeext conftest.
$ac_ext
12107 LIBS
=$ac_check_lib_save_LIBS
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12110 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12111 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12112 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12115 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12116 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12117 $as_echo_n "(cached) " >&6
12119 ac_check_lib_save_LIBS
=$LIBS
12120 LIBS
="-lsvld $LIBS"
12121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h. */
12124 /* Override any GCC internal prototype to avoid an error.
12125 Use char because int might match the return type of a GCC
12126 builtin and then its argument prototype would still apply. */
12139 if ac_fn_c_try_link
"$LINENO"; then :
12140 ac_cv_lib_svld_dlopen
=yes
12142 ac_cv_lib_svld_dlopen
=no
12144 rm -f core conftest.err conftest.
$ac_objext \
12145 conftest
$ac_exeext conftest.
$ac_ext
12146 LIBS
=$ac_check_lib_save_LIBS
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12149 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12150 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12151 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12154 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12155 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12156 $as_echo_n "(cached) " >&6
12158 ac_check_lib_save_LIBS
=$LIBS
12160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12173 return dld_link ();
12178 if ac_fn_c_try_link
"$LINENO"; then :
12179 ac_cv_lib_dld_dld_link
=yes
12181 ac_cv_lib_dld_dld_link
=no
12183 rm -f core conftest.err conftest.
$ac_objext \
12184 conftest
$ac_exeext conftest.
$ac_ext
12185 LIBS
=$ac_check_lib_save_LIBS
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12188 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12189 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12190 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12211 if test "x$lt_cv_dlopen" != xno
; then
12217 case $lt_cv_dlopen in
12219 save_CPPFLAGS
="$CPPFLAGS"
12220 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12222 save_LDFLAGS
="$LDFLAGS"
12223 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12226 LIBS
="$lt_cv_dlopen_libs $LIBS"
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12229 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12230 if ${lt_cv_dlopen_self+:} false
; then :
12231 $as_echo_n "(cached) " >&6
12233 if test "$cross_compiling" = yes; then :
12234 lt_cv_dlopen_self
=cross
12236 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12237 lt_status
=$lt_dlunknown
12238 cat > conftest.
$ac_ext <<_LT_EOF
12239 #line $LINENO "configure"
12240 #include "confdefs.h"
12249 # define LT_DLGLOBAL RTLD_GLOBAL
12252 # define LT_DLGLOBAL DL_GLOBAL
12254 # define LT_DLGLOBAL 0
12258 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12259 find out it does not work in some platform. */
12260 #ifndef LT_DLLAZY_OR_NOW
12262 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12265 # define LT_DLLAZY_OR_NOW DL_LAZY
12268 # define LT_DLLAZY_OR_NOW RTLD_NOW
12271 # define LT_DLLAZY_OR_NOW DL_NOW
12273 # define LT_DLLAZY_OR_NOW 0
12280 /* When -fvisbility=hidden is used, assume the code has been annotated
12281 correspondingly for the symbols needed. */
12282 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12283 int fnord () __attribute__((visibility("default")));
12286 int fnord () { return 42; }
12289 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12290 int status = $lt_dlunknown;
12294 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12297 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12298 else puts (dlerror ());
12300 /* dlclose (self); */
12308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12309 (eval $ac_link) 2>&5
12311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12312 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12313 (.
/conftest
; exit; ) >&5 2>/dev
/null
12315 case x
$lt_status in
12316 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12317 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12318 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12321 # compilation failed
12322 lt_cv_dlopen_self
=no
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12330 $as_echo "$lt_cv_dlopen_self" >&6; }
12332 if test "x$lt_cv_dlopen_self" = xyes
; then
12333 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12335 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12336 if ${lt_cv_dlopen_self_static+:} false
; then :
12337 $as_echo_n "(cached) " >&6
12339 if test "$cross_compiling" = yes; then :
12340 lt_cv_dlopen_self_static
=cross
12342 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12343 lt_status
=$lt_dlunknown
12344 cat > conftest.
$ac_ext <<_LT_EOF
12345 #line $LINENO "configure"
12346 #include "confdefs.h"
12355 # define LT_DLGLOBAL RTLD_GLOBAL
12358 # define LT_DLGLOBAL DL_GLOBAL
12360 # define LT_DLGLOBAL 0
12364 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12365 find out it does not work in some platform. */
12366 #ifndef LT_DLLAZY_OR_NOW
12368 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12371 # define LT_DLLAZY_OR_NOW DL_LAZY
12374 # define LT_DLLAZY_OR_NOW RTLD_NOW
12377 # define LT_DLLAZY_OR_NOW DL_NOW
12379 # define LT_DLLAZY_OR_NOW 0
12386 /* When -fvisbility=hidden is used, assume the code has been annotated
12387 correspondingly for the symbols needed. */
12388 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12389 int fnord () __attribute__((visibility("default")));
12392 int fnord () { return 42; }
12395 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12396 int status = $lt_dlunknown;
12400 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12403 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12404 else puts (dlerror ());
12406 /* dlclose (self); */
12414 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12415 (eval $ac_link) 2>&5
12417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12418 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12419 (.
/conftest
; exit; ) >&5 2>/dev
/null
12421 case x
$lt_status in
12422 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12423 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12424 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12427 # compilation failed
12428 lt_cv_dlopen_self_static
=no
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12436 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12439 CPPFLAGS
="$save_CPPFLAGS"
12440 LDFLAGS
="$save_LDFLAGS"
12445 case $lt_cv_dlopen_self in
12446 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12447 *) enable_dlopen_self
=unknown
;;
12450 case $lt_cv_dlopen_self_static in
12451 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12452 *) enable_dlopen_self_static
=unknown
;;
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12475 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12476 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12477 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12478 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12480 $as_echo "yes" >&6; }
12482 # FIXME - insert some real tests, host_os isn't really good enough
12485 if test -n "$STRIP" ; then
12486 striplib
="$STRIP -x"
12487 old_striplib
="$STRIP -S"
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12489 $as_echo "yes" >&6; }
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492 $as_echo "no" >&6; }
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12497 $as_echo "no" >&6; }
12513 # Report which library types will actually be built
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12515 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12517 $as_echo "$can_build_shared" >&6; }
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12520 $as_echo_n "checking whether to build shared libraries... " >&6; }
12521 test "$can_build_shared" = "no" && enable_shared
=no
12523 # On AIX, shared libraries and static libraries use the same namespace, and
12524 # are all built from PIC.
12527 test "$enable_shared" = yes && enable_static
=no
12528 if test -n "$RANLIB"; then
12529 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12530 postinstall_cmds
='$RANLIB $lib'
12535 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12536 test "$enable_shared" = yes && enable_static
=no
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12541 $as_echo "$enable_shared" >&6; }
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12544 $as_echo_n "checking whether to build static libraries... " >&6; }
12545 # Make sure either enable_shared or enable_static is yes.
12546 test "$enable_shared" = yes || enable_static
=yes
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12548 $as_echo "$enable_static" >&6; }
12555 ac_cpp
='$CPP $CPPFLAGS'
12556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12562 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12563 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12564 (test "X$CXX" != "Xg++"))) ; then
12566 ac_cpp
='$CXXCPP $CPPFLAGS'
12567 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12568 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12569 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12571 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12572 if test -z "$CXXCPP"; then
12573 if ${ac_cv_prog_CXXCPP+:} false
; then :
12574 $as_echo_n "(cached) " >&6
12576 # Double quotes because CXXCPP needs to be expanded
12577 for CXXCPP
in "$CXX -E" "/lib/cpp"
12579 ac_preproc_ok
=false
12580 for ac_cxx_preproc_warn_flag
in '' yes
12582 # Use a header file that comes with gcc, so configuring glibc
12583 # with a fresh cross-compiler works.
12584 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12585 # <limits.h> exists even on freestanding compilers.
12586 # On the NeXT, cc -E runs the code through the compiler's parser,
12587 # not just through cpp. "Syntax error" is here to catch this case.
12588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 # include <limits.h>
12593 # include <assert.h>
12597 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12600 # Broken: fails on valid input.
12603 rm -f conftest.err conftest.i conftest.
$ac_ext
12605 # OK, works on sane cases. Now check whether nonexistent headers
12606 # can be detected and how.
12607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12609 #include <ac_nonexistent.h>
12611 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12612 # Broken: success on invalid input.
12615 # Passes both tests.
12619 rm -f conftest.err conftest.i conftest.
$ac_ext
12622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12623 rm -f conftest.i conftest.err conftest.
$ac_ext
12624 if $ac_preproc_ok; then :
12629 ac_cv_prog_CXXCPP
=$CXXCPP
12632 CXXCPP
=$ac_cv_prog_CXXCPP
12634 ac_cv_prog_CXXCPP
=$CXXCPP
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12637 $as_echo "$CXXCPP" >&6; }
12638 ac_preproc_ok
=false
12639 for ac_cxx_preproc_warn_flag
in '' yes
12641 # Use a header file that comes with gcc, so configuring glibc
12642 # with a fresh cross-compiler works.
12643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12644 # <limits.h> exists even on freestanding compilers.
12645 # On the NeXT, cc -E runs the code through the compiler's parser,
12646 # not just through cpp. "Syntax error" is here to catch this case.
12647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12648 /* end confdefs.h. */
12650 # include <limits.h>
12652 # include <assert.h>
12656 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12659 # Broken: fails on valid input.
12662 rm -f conftest.err conftest.i conftest.
$ac_ext
12664 # OK, works on sane cases. Now check whether nonexistent headers
12665 # can be detected and how.
12666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12668 #include <ac_nonexistent.h>
12670 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12671 # Broken: success on invalid input.
12674 # Passes both tests.
12678 rm -f conftest.err conftest.i conftest.
$ac_ext
12681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12682 rm -f conftest.i conftest.err conftest.
$ac_ext
12683 if $ac_preproc_ok; then :
12686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12688 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12689 See \`config.log' for more details" "$LINENO" 5; }
12693 ac_cpp
='$CPP $CPPFLAGS'
12694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12699 _lt_caught_CXX_error
=yes
12703 ac_cpp
='$CXXCPP $CPPFLAGS'
12704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12708 archive_cmds_need_lc_CXX
=no
12709 allow_undefined_flag_CXX
=
12710 always_export_symbols_CXX
=no
12711 archive_expsym_cmds_CXX
=
12712 compiler_needs_object_CXX
=no
12713 export_dynamic_flag_spec_CXX
=
12714 hardcode_direct_CXX
=no
12715 hardcode_direct_absolute_CXX
=no
12716 hardcode_libdir_flag_spec_CXX
=
12717 hardcode_libdir_separator_CXX
=
12718 hardcode_minus_L_CXX
=no
12719 hardcode_shlibpath_var_CXX
=unsupported
12720 hardcode_automatic_CXX
=no
12721 inherit_rpath_CXX
=no
12723 module_expsym_cmds_CXX
=
12724 link_all_deplibs_CXX
=unknown
12725 old_archive_cmds_CXX
=$old_archive_cmds
12726 reload_flag_CXX
=$reload_flag
12727 reload_cmds_CXX
=$reload_cmds
12728 no_undefined_flag_CXX
=
12729 whole_archive_flag_spec_CXX
=
12730 enable_shared_with_static_runtimes_CXX
=no
12732 # Source file extension for C++ test sources.
12735 # Object file extension for compiled C++ test sources.
12739 # No sense in running all these tests if we already determined that
12740 # the CXX compiler isn't working. Some variables (like enable_shared)
12741 # are currently assumed to apply to all compilers on this platform,
12742 # and will be corrupted by setting them based on a non-working compiler.
12743 if test "$_lt_caught_CXX_error" != yes; then
12744 # Code to be used in simple compile tests
12745 lt_simple_compile_test_code
="int some_variable = 0;"
12747 # Code to be used in simple link tests
12748 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12750 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12757 # If no C compiler was specified, use CC.
12760 # If no C compiler flags were specified, use CFLAGS.
12761 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12763 # Allow CC to be a program name with arguments.
12767 # save warnings/boilerplate of simple test code
12768 ac_outfile
=conftest.
$ac_objext
12769 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12770 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12771 _lt_compiler_boilerplate
=`cat conftest.err`
12774 ac_outfile
=conftest.
$ac_objext
12775 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12776 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12777 _lt_linker_boilerplate
=`cat conftest.err`
12781 # Allow CC to be a program name with arguments.
12783 lt_save_CFLAGS
=$CFLAGS
12787 lt_save_with_gnu_ld
=$with_gnu_ld
12788 lt_save_path_LD
=$lt_cv_path_LD
12789 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12790 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12792 $as_unset lt_cv_prog_gnu_ld
12794 if test -n "${lt_cv_path_LDCXX+set}"; then
12795 lt_cv_path_LD
=$lt_cv_path_LDCXX
12797 $as_unset lt_cv_path_LD
12799 test -z "${LDCXX+set}" || LD
=$LDCXX
12804 for cc_temp
in $compiler""; do
12806 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12807 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12812 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12815 if test -n "$compiler"; then
12816 # We don't want -fno-exception when compiling C++ code, so set the
12817 # no_builtin_flag separately
12818 if test "$GXX" = yes; then
12819 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12821 lt_prog_compiler_no_builtin_flag_CXX
=
12824 if test "$GXX" = yes; then
12825 # Set up default GNU C++ configuration
12829 # Check whether --with-gnu-ld was given.
12830 if test "${with_gnu_ld+set}" = set; then :
12831 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12837 if test "$GCC" = yes; then
12838 # Check if gcc -print-prog-name=ld gives a path.
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12840 $as_echo_n "checking for ld used by $CC... " >&6; }
12843 # gcc leaves a trailing carriage return which upsets mingw
12844 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12846 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12849 # Accept absolute paths.
12851 re_direlt
='/[^/][^/]*/\.\./'
12852 # Canonicalize the pathname of ld
12853 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12854 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12855 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12857 test -z "$LD" && LD
="$ac_prog"
12860 # If it fails, then pretend we aren't using GCC.
12864 # If it is relative, then search for the first ld in PATH.
12865 with_gnu_ld
=unknown
12868 elif test "$with_gnu_ld" = yes; then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12870 $as_echo_n "checking for GNU ld... " >&6; }
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12873 $as_echo_n "checking for non-GNU ld... " >&6; }
12875 if ${lt_cv_path_LD+:} false
; then :
12876 $as_echo_n "(cached) " >&6
12878 if test -z "$LD"; then
12879 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12880 for ac_dir
in $PATH; do
12882 test -z "$ac_dir" && ac_dir
=.
12883 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12884 lt_cv_path_LD
="$ac_dir/$ac_prog"
12885 # Check to see if the program is GNU ld. I'd rather use --version,
12886 # but apparently some variants of GNU ld only accept -v.
12887 # Break only if it was the GNU/non-GNU ld that we prefer.
12888 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12889 *GNU
* | *'with BFD'*)
12890 test "$with_gnu_ld" != no
&& break
12893 test "$with_gnu_ld" != yes && break
12900 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12904 LD
="$lt_cv_path_LD"
12905 if test -n "$LD"; then
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12907 $as_echo "$LD" >&6; }
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12910 $as_echo "no" >&6; }
12912 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12914 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12915 if ${lt_cv_prog_gnu_ld+:} false
; then :
12916 $as_echo_n "(cached) " >&6
12918 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12919 case `$LD -v 2>&1 </dev/null` in
12920 *GNU
* | *'with BFD'*)
12921 lt_cv_prog_gnu_ld
=yes
12924 lt_cv_prog_gnu_ld
=no
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12929 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12930 with_gnu_ld
=$lt_cv_prog_gnu_ld
12938 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12939 # archiving commands below assume that GNU ld is being used.
12940 if test "$with_gnu_ld" = yes; then
12941 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12942 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'
12944 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12945 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12947 # If archive_cmds runs LD, not CC, wlarc should be empty
12948 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12949 # investigate it a little bit more. (MM)
12952 # ancient GNU ld didn't support --whole-archive et. al.
12953 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12954 $GREP 'no-whole-archive' > /dev
/null
; then
12955 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12957 whole_archive_flag_spec_CXX
=
12963 # A generic and very simple default shared library creation
12964 # command for GNU C++ for the case where it uses the native
12965 # linker, instead of GNU ld. If possible, this setting should
12966 # overridden to take advantage of the native linker features on
12967 # the platform it is being used on.
12968 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12971 # Commands to make compiler produce verbose output that lists
12972 # what "hidden" libraries, object files and flags are used when
12973 # linking a shared library.
12974 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12982 # PORTME: fill in a description of your system's C++ link characteristics
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12984 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12988 # FIXME: insert proper C++ library support
12992 if test "$host_cpu" = ia64
; then
12993 # On IA64, the linker does run time linking by default, so we don't
12994 # have to do anything special.
12995 aix_use_runtimelinking
=no
12996 exp_sym_flag
='-Bexport'
12999 aix_use_runtimelinking
=no
13001 # Test if we are trying to use run time linking or normal
13002 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13003 # need to do runtime linking.
13004 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13005 for ld_flag
in $LDFLAGS; do
13008 aix_use_runtimelinking
=yes
13016 exp_sym_flag
='-bexport'
13017 no_entry_flag
='-bnoentry'
13020 # When large executables or shared objects are built, AIX ld can
13021 # have problems creating the table of contents. If linking a library
13022 # or program results in "error TOC overflow" add -mminimal-toc to
13023 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13024 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13026 archive_cmds_CXX
=''
13027 hardcode_direct_CXX
=yes
13028 hardcode_direct_absolute_CXX
=yes
13029 hardcode_libdir_separator_CXX
=':'
13030 link_all_deplibs_CXX
=yes
13031 file_list_spec_CXX
='${wl}-f,'
13033 if test "$GXX" = yes; then
13034 case $host_os in aix4.
[012]|aix4.
[012].
*)
13035 # We only want to do this on AIX 4.2 and lower, the check
13036 # below for broken collect2 doesn't work under 4.3+
13037 collect2name
=`${CC} -print-prog-name=collect2`
13038 if test -f "$collect2name" &&
13039 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13041 # We have reworked collect2
13044 # We have old collect2
13045 hardcode_direct_CXX
=unsupported
13046 # It fails to find uninstalled libraries when the uninstalled
13047 # path is not listed in the libpath. Setting hardcode_minus_L
13048 # to unsupported forces relinking
13049 hardcode_minus_L_CXX
=yes
13050 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13051 hardcode_libdir_separator_CXX
=
13054 shared_flag
='-shared'
13055 if test "$aix_use_runtimelinking" = yes; then
13056 shared_flag
="$shared_flag "'${wl}-G'
13060 if test "$host_cpu" = ia64
; then
13061 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13062 # chokes on -Wl,-G. The following line is correct:
13065 if test "$aix_use_runtimelinking" = yes; then
13066 shared_flag
='${wl}-G'
13068 shared_flag
='${wl}-bM:SRE'
13073 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13074 # It seems that -bexpall does not export symbols beginning with
13075 # underscore (_), so it is better to generate a list of symbols to
13077 always_export_symbols_CXX
=yes
13078 if test "$aix_use_runtimelinking" = yes; then
13079 # Warning - without using the other runtime loading flags (-brtl),
13080 # -berok will link without error, but may produce a broken library.
13081 allow_undefined_flag_CXX
='-berok'
13082 # Determine the default libpath from the value encoded in an empty
13084 if test "${lt_cv_aix_libpath+set}" = set; then
13085 aix_libpath
=$lt_cv_aix_libpath
13087 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13088 $as_echo_n "(cached) " >&6
13090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13101 if ac_fn_cxx_try_link
"$LINENO"; then :
13103 lt_aix_libpath_sed
='
13104 /Import File Strings/,/^$/ {
13106 s/^0 *\([^ ]*\) *$/\1/
13110 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13111 # Check for a 64-bit object if we didn't find anything.
13112 if test -z "$lt_cv_aix_libpath__CXX"; then
13113 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13116 rm -f core conftest.err conftest.
$ac_objext \
13117 conftest
$ac_exeext conftest.
$ac_ext
13118 if test -z "$lt_cv_aix_libpath__CXX"; then
13119 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13124 aix_libpath
=$lt_cv_aix_libpath__CXX
13127 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13129 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"
13131 if test "$host_cpu" = ia64
; then
13132 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13133 allow_undefined_flag_CXX
="-z nodefs"
13134 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"
13136 # Determine the default libpath from the value encoded in an
13137 # empty executable.
13138 if test "${lt_cv_aix_libpath+set}" = set; then
13139 aix_libpath
=$lt_cv_aix_libpath
13141 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13142 $as_echo_n "(cached) " >&6
13144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13145 /* end confdefs.h. */
13155 if ac_fn_cxx_try_link
"$LINENO"; then :
13157 lt_aix_libpath_sed
='
13158 /Import File Strings/,/^$/ {
13160 s/^0 *\([^ ]*\) *$/\1/
13164 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13165 # Check for a 64-bit object if we didn't find anything.
13166 if test -z "$lt_cv_aix_libpath__CXX"; then
13167 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13170 rm -f core conftest.err conftest.
$ac_objext \
13171 conftest
$ac_exeext conftest.
$ac_ext
13172 if test -z "$lt_cv_aix_libpath__CXX"; then
13173 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13178 aix_libpath
=$lt_cv_aix_libpath__CXX
13181 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13182 # Warning - without using the other run time loading flags,
13183 # -berok will link without error, but may produce a broken library.
13184 no_undefined_flag_CXX
=' ${wl}-bernotok'
13185 allow_undefined_flag_CXX
=' ${wl}-berok'
13186 if test "$with_gnu_ld" = yes; then
13187 # We only use this code for GNU lds that support --whole-archive.
13188 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13190 # Exported symbols can be pulled into shared objects from archives
13191 whole_archive_flag_spec_CXX
='$convenience'
13193 archive_cmds_need_lc_CXX
=yes
13194 # This is similar to how AIX traditionally builds its shared
13196 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'
13202 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13203 allow_undefined_flag_CXX
=unsupported
13204 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13205 # support --undefined. This deserves some investigation. FIXME
13206 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13213 case $cc_basename in
13215 # FIXME: insert proper C++ library support
13221 cygwin
* | mingw
* | pw32
* | cegcc
*)
13222 case $GXX,$cc_basename in
13225 # hardcode_libdir_flag_spec is actually meaningless, as there is
13226 # no search path for DLLs.
13227 hardcode_libdir_flag_spec_CXX
=' '
13228 allow_undefined_flag_CXX
=unsupported
13229 always_export_symbols_CXX
=yes
13230 file_list_spec_CXX
='@'
13231 # Tell ltmain to make .lib files, not .a files.
13233 # Tell ltmain to make .dll files, not .so files.
13235 # FIXME: Setting linknames here is a bad hack.
13236 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13237 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13238 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13240 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13242 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13244 # The linker will not automatically build a static lib if we build a DLL.
13245 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13246 enable_shared_with_static_runtimes_CXX
=yes
13248 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13249 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13250 lt_tool_outputfile="@TOOL_OUTPUT@"~
13251 case $lt_outputfile in
13254 lt_outputfile="$lt_outputfile.exe"
13255 lt_tool_outputfile="$lt_tool_outputfile.exe"
13258 func_to_tool_file "$lt_outputfile"~
13259 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13260 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13261 $RM "$lt_outputfile.manifest";
13266 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13267 # as there is no search path for DLLs.
13268 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13269 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13270 allow_undefined_flag_CXX
=unsupported
13271 always_export_symbols_CXX
=no
13272 enable_shared_with_static_runtimes_CXX
=yes
13274 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13275 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'
13276 # If the export-symbols file already is a .def file (1st line
13277 # is EXPORTS), use it as is; otherwise, prepend...
13278 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13279 cp $export_symbols $output_objdir/$soname.def;
13281 echo EXPORTS > $output_objdir/$soname.def;
13282 cat $export_symbols >> $output_objdir/$soname.def;
13284 $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'
13291 darwin
* | rhapsody
*)
13294 archive_cmds_need_lc_CXX
=no
13295 hardcode_direct_CXX
=no
13296 hardcode_automatic_CXX
=yes
13297 hardcode_shlibpath_var_CXX
=unsupported
13298 if test "$lt_cv_ld_force_load" = "yes"; then
13299 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\"`'
13302 whole_archive_flag_spec_CXX
=''
13304 link_all_deplibs_CXX
=yes
13305 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13306 case $cc_basename in
13307 ifort
*) _lt_dar_can_shared
=yes ;;
13308 *) _lt_dar_can_shared
=$GCC ;;
13310 if test "$_lt_dar_can_shared" = "yes"; then
13311 output_verbose_link_cmd
=func_echo_all
13312 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}"
13313 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13314 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}"
13315 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}"
13316 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13317 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}"
13318 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}"
13328 case $cc_basename in
13330 # FIXME: insert proper C++ library support
13334 # Green Hills C++ Compiler
13335 # FIXME: insert proper C++ library support
13339 # FIXME: insert proper C++ library support
13346 # C++ shared libraries reported to be fairly broken before
13352 archive_cmds_need_lc_CXX
=no
13355 freebsd
* | dragonfly
*)
13356 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13365 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13366 link_all_deplibs_CXX
=yes
13370 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13371 hardcode_libdir_separator_CXX
=:
13372 export_dynamic_flag_spec_CXX
='${wl}-E'
13373 hardcode_direct_CXX
=yes
13374 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13375 # but as the default
13376 # location of the library.
13378 case $cc_basename in
13380 # FIXME: insert proper C++ library support
13384 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'
13385 # Commands to make compiler produce verbose output that lists
13386 # what "hidden" libraries, object files and flags are used when
13387 # linking a shared library.
13389 # There doesn't appear to be a way to prevent this compiler from
13390 # explicitly linking system object files so we need to strip them
13391 # from the output so that they don't get included in the library
13393 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"'
13396 if test "$GXX" = yes; then
13397 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'
13399 # FIXME: insert proper C++ library support
13407 if test $with_gnu_ld = no
; then
13408 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13409 hardcode_libdir_separator_CXX
=:
13415 export_dynamic_flag_spec_CXX
='${wl}-E'
13421 hardcode_direct_CXX
=no
13422 hardcode_shlibpath_var_CXX
=no
13425 hardcode_direct_CXX
=yes
13426 hardcode_direct_absolute_CXX
=yes
13427 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13428 # but as the default
13429 # location of the library.
13433 case $cc_basename in
13435 # FIXME: insert proper C++ library support
13441 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13444 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13447 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13450 # Commands to make compiler produce verbose output that lists
13451 # what "hidden" libraries, object files and flags are used when
13452 # linking a shared library.
13454 # There doesn't appear to be a way to prevent this compiler from
13455 # explicitly linking system object files so we need to strip them
13456 # from the output so that they don't get included in the library
13458 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"'
13461 if test "$GXX" = yes; then
13462 if test $with_gnu_ld = no
; then
13465 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13468 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13471 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'
13476 # FIXME: insert proper C++ library support
13484 hardcode_direct_CXX
=no
13485 hardcode_shlibpath_var_CXX
=no
13486 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13487 export_dynamic_flag_spec_CXX
='${wl}-E'
13488 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13489 # Instead, shared libraries are loaded at an image base (0x10000000 by
13490 # default) and relocated if they conflict, which is a slow very memory
13491 # consuming and fragmenting process. To avoid this, we pick a random,
13492 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13493 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13494 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'
13495 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'
13498 case $cc_basename in
13501 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'
13503 # Archives containing C++ object files must be created using
13504 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13505 # necessary to make sure instantiated templates are included
13507 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13510 if test "$GXX" = yes; then
13511 if test "$with_gnu_ld" = no
; then
13512 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'
13514 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'
13517 link_all_deplibs_CXX
=yes
13520 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13521 hardcode_libdir_separator_CXX
=:
13522 inherit_rpath_CXX
=yes
13525 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13526 case $cc_basename in
13528 # Kuck and Associates, Inc. (KAI) C++ Compiler
13530 # KCC will only create a shared library if the output file
13531 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13532 # to its proper name (with version) after linking.
13533 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'
13534 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'
13535 # Commands to make compiler produce verbose output that lists
13536 # what "hidden" libraries, object files and flags are used when
13537 # linking a shared library.
13539 # There doesn't appear to be a way to prevent this compiler from
13540 # explicitly linking system object files so we need to strip them
13541 # from the output so that they don't get included in the library
13543 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"'
13545 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13546 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13548 # Archives containing C++ object files must be created using
13549 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13550 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13555 # version 8.0 and above of icpc choke on multiply defined symbols
13556 # if we add $predep_objects and $postdep_objects, however 7.1 and
13557 # earlier do not add the objects themselves.
13558 case `$CC -V 2>&1` in
13560 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13561 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'
13563 *) # Version 8.0 or newer
13566 ia64
*) tmp_idyn
=' -i_dynamic';;
13568 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13569 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'
13572 archive_cmds_need_lc_CXX
=no
13573 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13574 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13575 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13578 # Portland Group C++ compiler
13580 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13581 prelink_cmds_CXX
='tpldir=Template.dir~
13583 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13584 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13585 old_archive_cmds_CXX
='tpldir=Template.dir~
13587 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13588 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13590 archive_cmds_CXX
='tpldir=Template.dir~
13592 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13593 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13594 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13596 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13597 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13599 *) # Version 6 and above use weak symbols
13600 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13601 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'
13605 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13606 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13607 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'
13611 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13612 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'
13614 runpath_var
=LD_RUN_PATH
13615 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13616 hardcode_libdir_separator_CXX
=:
13618 # Commands to make compiler produce verbose output that lists
13619 # what "hidden" libraries, object files and flags are used when
13620 # linking a shared library.
13622 # There doesn't appear to be a way to prevent this compiler from
13623 # explicitly linking system object files so we need to strip them
13624 # from the output so that they don't get included in the library
13626 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'
13628 xl
* | mpixl
* | bgxl
*)
13629 # IBM XL 8.0 on PPC, with GNU ld
13630 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13631 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13632 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13633 if test "x$supports_anon_versioning" = xyes
; then
13634 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13635 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13636 echo "local: *; };" >> $output_objdir/$libname.ver~
13637 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13641 case `$CC -V 2>&1 | sed 5q` in
13644 no_undefined_flag_CXX
=' -zdefs'
13645 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13646 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'
13647 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13648 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'
13649 compiler_needs_object_CXX
=yes
13651 # Not sure whether something based on
13652 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13654 output_verbose_link_cmd
='func_echo_all'
13656 # Archives containing C++ object files must be created using
13657 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13658 # necessary to make sure instantiated templates are included
13660 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13668 # FIXME: insert proper C++ library support
13673 # FIXME: insert proper C++ library support
13678 case $cc_basename in
13680 # FIXME: insert proper C++ library support
13684 # FIXME: insert proper C++ library support
13691 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13692 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13694 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13695 hardcode_direct_CXX
=yes
13696 hardcode_shlibpath_var_CXX
=no
13698 # Workaround some broken pre-1.5 toolchains
13699 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13707 # C++ shared libraries are fairly broken
13712 if test -f /usr
/libexec
/ld.so
; then
13713 hardcode_direct_CXX
=yes
13714 hardcode_shlibpath_var_CXX
=no
13715 hardcode_direct_absolute_CXX
=yes
13716 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13717 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13718 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13719 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13720 export_dynamic_flag_spec_CXX
='${wl}-E'
13721 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13723 output_verbose_link_cmd
=func_echo_all
13729 osf3
* | osf4
* | osf5
*)
13730 case $cc_basename in
13732 # Kuck and Associates, Inc. (KAI) C++ Compiler
13734 # KCC will only create a shared library if the output file
13735 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13736 # to its proper name (with version) after linking.
13737 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'
13739 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13740 hardcode_libdir_separator_CXX
=:
13742 # Archives containing C++ object files must be created using
13743 # the KAI C++ compiler.
13745 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13746 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13750 # Rational C++ 2.4.1
13751 # FIXME: insert proper C++ library support
13757 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13758 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'
13759 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13762 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13763 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'
13764 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13765 echo "-hidden">> $lib.exp~
13766 $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~
13768 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13772 hardcode_libdir_separator_CXX
=:
13774 # Commands to make compiler produce verbose output that lists
13775 # what "hidden" libraries, object files and flags are used when
13776 # linking a shared library.
13778 # There doesn't appear to be a way to prevent this compiler from
13779 # explicitly linking system object files so we need to strip them
13780 # from the output so that they don't get included in the library
13782 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"'
13785 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13786 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13789 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'
13792 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'
13796 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13797 hardcode_libdir_separator_CXX
=:
13799 # Commands to make compiler produce verbose output that lists
13800 # what "hidden" libraries, object files and flags are used when
13801 # linking a shared library.
13802 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13805 # FIXME: insert proper C++ library support
13813 # FIXME: insert proper C++ library support
13818 case $cc_basename in
13821 # FIXME: insert proper C++ library support
13826 # FIXME: insert proper C++ library support
13830 # FIXME: insert proper C++ library support
13837 case $cc_basename in
13839 # Sun C++ 4.2, 5.x and Centerline C++
13840 archive_cmds_need_lc_CXX
=yes
13841 no_undefined_flag_CXX
=' -zdefs'
13842 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13843 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13844 $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'
13846 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13847 hardcode_shlibpath_var_CXX
=no
13849 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13851 # The compiler driver will combine and reorder linker options,
13852 # but understands `-z linker_flag'.
13853 # Supported since Solaris 2.6 (maybe 2.5.1?)
13854 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13857 link_all_deplibs_CXX
=yes
13859 output_verbose_link_cmd
='func_echo_all'
13861 # Archives containing C++ object files must be created using
13862 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13863 # necessary to make sure instantiated templates are included
13865 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13868 # Green Hills C++ Compiler
13869 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13871 # The C++ compiler must be used to create the archive.
13872 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13875 # GNU C++ compiler with Solaris linker
13876 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13877 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13878 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13879 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13880 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13881 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13883 # Commands to make compiler produce verbose output that lists
13884 # what "hidden" libraries, object files and flags are used when
13885 # linking a shared library.
13886 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13888 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13890 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13891 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13892 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13894 # Commands to make compiler produce verbose output that lists
13895 # what "hidden" libraries, object files and flags are used when
13896 # linking a shared library.
13897 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13900 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13902 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13904 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13912 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13913 no_undefined_flag_CXX
='${wl}-z,text'
13914 archive_cmds_need_lc_CXX
=no
13915 hardcode_shlibpath_var_CXX
=no
13916 runpath_var
='LD_RUN_PATH'
13918 case $cc_basename in
13920 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13921 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13924 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13925 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13930 sysv5
* | sco3.2v5
* | sco5v6
*)
13931 # Note: We can NOT use -z defs as we might desire, because we do not
13932 # link with -lc, and that would cause any symbols used from libc to
13933 # always be unresolved, which means just about no library would
13934 # ever link correctly. If we're not using GNU ld we use -z text
13935 # though, which does catch some bad symbols but isn't as heavy-handed
13937 no_undefined_flag_CXX
='${wl}-z,text'
13938 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13939 archive_cmds_need_lc_CXX
=no
13940 hardcode_shlibpath_var_CXX
=no
13941 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13942 hardcode_libdir_separator_CXX
=':'
13943 link_all_deplibs_CXX
=yes
13944 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13945 runpath_var
='LD_RUN_PATH'
13947 case $cc_basename in
13949 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13950 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13951 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13952 '"$old_archive_cmds_CXX"
13953 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13954 '"$reload_cmds_CXX"
13957 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13958 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13964 case $cc_basename in
13966 # NonStop-UX NCC 3.20
13967 # FIXME: insert proper C++ library support
13971 # FIXME: insert proper C++ library support
13978 # FIXME: insert proper C++ library support
13983 # FIXME: insert proper C++ library support
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13989 $as_echo "$ld_shlibs_CXX" >&6; }
13990 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13996 ## There is no encapsulation within the following macros, do not change
13997 ## the running order or otherwise move them around unless you know exactly
13998 ## what you are doing...
13999 # Dependencies to place before and after the object being linked:
14000 predep_objects_CXX
=
14001 postdep_objects_CXX
=
14004 compiler_lib_search_path_CXX
=
14006 cat > conftest.
$ac_ext <<_LT_EOF
14010 Foo (void) { a = 0; }
14017 _lt_libdeps_save_CFLAGS
=$CFLAGS
14018 case "$CC $CFLAGS " in #(
14019 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14020 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14021 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14025 (eval $ac_compile) 2>&5
14027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14028 test $ac_status = 0; }; then
14029 # Parse the compiler output and extract the necessary
14030 # objects, libraries and library flags.
14032 # Sentinel used to keep track of whether or not we are before
14033 # the conftest object file.
14034 pre_test_object_deps_done
=no
14036 for p
in `eval "$output_verbose_link_cmd"`; do
14037 case ${prev}${p} in
14040 # Some compilers place space between "-{L,R}" and the path.
14041 # Remove the space.
14042 if test $p = "-L" ||
14043 test $p = "-R"; then
14048 # Expand the sysroot to ease extracting the directories later.
14049 if test -z "$prev"; then
14051 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14052 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14053 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14057 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14059 if test "$pre_test_object_deps_done" = no
; then
14062 # Internal compiler library paths should come after those
14063 # provided the user. The postdeps already come after the
14064 # user supplied libs so there is no need to process them.
14065 if test -z "$compiler_lib_search_path_CXX"; then
14066 compiler_lib_search_path_CXX
="${prev}${p}"
14068 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14071 # The "-l" case would never come before the object being
14072 # linked, so don't bother handling this case.
14075 if test -z "$postdeps_CXX"; then
14076 postdeps_CXX
="${prev}${p}"
14078 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14084 *.lto.
$objext) ;; # Ignore GCC LTO objects
14086 # This assumes that the test object file only shows up
14087 # once in the compiler output.
14088 if test "$p" = "conftest.$objext"; then
14089 pre_test_object_deps_done
=yes
14093 if test "$pre_test_object_deps_done" = no
; then
14094 if test -z "$predep_objects_CXX"; then
14095 predep_objects_CXX
="$p"
14097 predep_objects_CXX
="$predep_objects_CXX $p"
14100 if test -z "$postdep_objects_CXX"; then
14101 postdep_objects_CXX
="$p"
14103 postdep_objects_CXX
="$postdep_objects_CXX $p"
14108 *) ;; # Ignore the rest.
14116 echo "libtool.m4: error: problem compiling CXX test program"
14119 $RM -f confest.
$objext
14120 CFLAGS
=$_lt_libdeps_save_CFLAGS
14122 # PORTME: override above test on systems where it is broken
14125 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14126 # hack all around it, let's just trust "g++" to DTRT.
14127 predep_objects_CXX
=
14128 postdep_objects_CXX
=
14133 case `$CC -V 2>&1 | sed 5q` in
14137 # The more standards-conforming stlport4 library is
14138 # incompatible with the Cstd library. Avoid specifying
14139 # it if it's in CXXFLAGS. Ignore libCrun as
14140 # -library=stlport4 depends on it.
14141 case " $CXX $CXXFLAGS " in
14142 *" -library=stlport4 "*)
14143 solaris_use_stlport4
=yes
14147 if test "$solaris_use_stlport4" != yes; then
14148 postdeps_CXX
='-library=Cstd -library=Crun'
14155 case $cc_basename in
14157 # The more standards-conforming stlport4 library is
14158 # incompatible with the Cstd library. Avoid specifying
14159 # it if it's in CXXFLAGS. Ignore libCrun as
14160 # -library=stlport4 depends on it.
14161 case " $CXX $CXXFLAGS " in
14162 *" -library=stlport4 "*)
14163 solaris_use_stlport4
=yes
14167 # Adding this requires a known-good setup of shared libraries for
14168 # Sun compiler versions before 5.6, else PIC objects from an old
14169 # archive will be linked into the output, leading to subtle bugs.
14170 if test "$solaris_use_stlport4" != yes; then
14171 postdeps_CXX
='-library=Cstd -library=Crun'
14179 case " $postdeps_CXX " in
14180 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14182 compiler_lib_search_dirs_CXX
=
14183 if test -n "${compiler_lib_search_path_CXX}"; then
14184 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14217 lt_prog_compiler_wl_CXX
=
14218 lt_prog_compiler_pic_CXX
=
14219 lt_prog_compiler_static_CXX
=
14222 # C++ specific cases for pic, static, wl, etc.
14223 if test "$GXX" = yes; then
14224 lt_prog_compiler_wl_CXX
='-Wl,'
14225 lt_prog_compiler_static_CXX
='-static'
14229 # All AIX code is PIC.
14230 if test "$host_cpu" = ia64
; then
14231 # AIX 5 now supports IA64 processor
14232 lt_prog_compiler_static_CXX
='-Bstatic'
14239 # see comment about AmigaOS4 .so support
14240 lt_prog_compiler_pic_CXX
='-fPIC'
14243 # FIXME: we need at least 68020 code to build shared libraries, but
14244 # adding the `-m68020' flag to GCC prevents building anything better,
14246 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14251 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14252 # PIC is the default for these OSes.
14254 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14255 # This hack is so that the source file can tell whether it is being
14256 # built for inclusion in a dll (and should export symbols for example).
14257 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14258 # (--disable-auto-import) libraries
14259 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14261 darwin
* | rhapsody
*)
14262 # PIC is the default on this platform
14263 # Common symbols not allowed in MH_DYLIB files
14264 lt_prog_compiler_pic_CXX
='-fno-common'
14267 # DJGPP does not support shared libraries at all
14268 lt_prog_compiler_pic_CXX
=
14271 # PIC is the default for Haiku.
14272 # The "-static" flag exists, but is broken.
14273 lt_prog_compiler_static_CXX
=
14276 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14277 # Instead, we relocate shared libraries at runtime.
14280 if test -d /usr
/nec
; then
14281 lt_prog_compiler_pic_CXX
=-Kconform_pic
14285 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14286 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14287 # sets the default TLS model and affects inlining.
14292 lt_prog_compiler_pic_CXX
='-fPIC'
14297 # QNX uses GNU C++, but need to define -shared option too, otherwise
14298 # it will coredump.
14299 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14302 lt_prog_compiler_pic_CXX
='-fPIC'
14308 # All AIX code is PIC.
14309 if test "$host_cpu" = ia64
; then
14310 # AIX 5 now supports IA64 processor
14311 lt_prog_compiler_static_CXX
='-Bstatic'
14313 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14317 case $cc_basename in
14319 # Green Hills C++ Compiler
14320 # _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"
14324 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14325 # This hack is so that the source file can tell whether it is being
14326 # built for inclusion in a dll (and should export symbols for example).
14327 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14330 case $cc_basename in
14332 lt_prog_compiler_pic_CXX
='-KPIC'
14335 # Green Hills C++ Compiler
14336 lt_prog_compiler_pic_CXX
='-pic'
14342 freebsd
* | dragonfly
*)
14343 # FreeBSD uses GNU C++
14345 hpux9
* | hpux10
* | hpux11
*)
14346 case $cc_basename in
14348 lt_prog_compiler_wl_CXX
='-Wl,'
14349 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14350 if test "$host_cpu" != ia64
; then
14351 lt_prog_compiler_pic_CXX
='+Z'
14355 lt_prog_compiler_wl_CXX
='-Wl,'
14356 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14362 lt_prog_compiler_pic_CXX
='+Z'
14371 # This is c89, which is MS Visual C++ (no shared libs)
14372 # Anyone wants to do a port?
14374 irix5
* | irix6
* | nonstopux
*)
14375 case $cc_basename in
14377 lt_prog_compiler_wl_CXX
='-Wl,'
14378 lt_prog_compiler_static_CXX
='-non_shared'
14379 # CC pic flag -KPIC is the default.
14385 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14386 case $cc_basename in
14389 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14390 lt_prog_compiler_pic_CXX
='-fPIC'
14393 # old Intel C++ for x86_64 which still supported -KPIC.
14394 lt_prog_compiler_wl_CXX
='-Wl,'
14395 lt_prog_compiler_pic_CXX
='-KPIC'
14396 lt_prog_compiler_static_CXX
='-static'
14399 # Intel C++, used to be incompatible with GCC.
14400 # ICC 10 doesn't accept -KPIC any more.
14401 lt_prog_compiler_wl_CXX
='-Wl,'
14402 lt_prog_compiler_pic_CXX
='-fPIC'
14403 lt_prog_compiler_static_CXX
='-static'
14406 # Portland Group C++ compiler
14407 lt_prog_compiler_wl_CXX
='-Wl,'
14408 lt_prog_compiler_pic_CXX
='-fpic'
14409 lt_prog_compiler_static_CXX
='-Bstatic'
14413 # Make sure the PIC flag is empty. It appears that all Alpha
14414 # Linux and Compaq Tru64 Unix objects are PIC.
14415 lt_prog_compiler_pic_CXX
=
14416 lt_prog_compiler_static_CXX
='-non_shared'
14418 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14419 # IBM XL 8.0, 9.0 on PPC and BlueGene
14420 lt_prog_compiler_wl_CXX
='-Wl,'
14421 lt_prog_compiler_pic_CXX
='-qpic'
14422 lt_prog_compiler_static_CXX
='-qstaticlink'
14425 case `$CC -V 2>&1 | sed 5q` in
14428 lt_prog_compiler_pic_CXX
='-KPIC'
14429 lt_prog_compiler_static_CXX
='-Bstatic'
14430 lt_prog_compiler_wl_CXX
='-Qoption ld '
14441 case $cc_basename in
14443 lt_prog_compiler_pic_CXX
='-W c,exportall'
14452 # QNX uses GNU C++, but need to define -shared option too, otherwise
14453 # it will coredump.
14454 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14456 osf3
* | osf4
* | osf5
*)
14457 case $cc_basename in
14459 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14462 # Rational C++ 2.4.1
14463 lt_prog_compiler_pic_CXX
='-pic'
14466 # Digital/Compaq C++
14467 lt_prog_compiler_wl_CXX
='-Wl,'
14468 # Make sure the PIC flag is empty. It appears that all Alpha
14469 # Linux and Compaq Tru64 Unix objects are PIC.
14470 lt_prog_compiler_pic_CXX
=
14471 lt_prog_compiler_static_CXX
='-non_shared'
14480 case $cc_basename in
14482 # Sun C++ 4.2, 5.x and Centerline C++
14483 lt_prog_compiler_pic_CXX
='-KPIC'
14484 lt_prog_compiler_static_CXX
='-Bstatic'
14485 lt_prog_compiler_wl_CXX
='-Qoption ld '
14488 # Green Hills C++ Compiler
14489 lt_prog_compiler_pic_CXX
='-PIC'
14496 case $cc_basename in
14499 lt_prog_compiler_pic_CXX
='-pic'
14500 lt_prog_compiler_static_CXX
='-Bstatic'
14504 lt_prog_compiler_pic_CXX
='-pic'
14510 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14511 case $cc_basename in
14513 lt_prog_compiler_wl_CXX
='-Wl,'
14514 lt_prog_compiler_pic_CXX
='-KPIC'
14515 lt_prog_compiler_static_CXX
='-Bstatic'
14520 case $cc_basename in
14522 # NonStop-UX NCC 3.20
14523 lt_prog_compiler_pic_CXX
='-KPIC'
14532 lt_prog_compiler_can_build_shared_CXX
=no
14538 # For platforms which do not support PIC, -DPIC is meaningless:
14540 lt_prog_compiler_pic_CXX
=
14543 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14548 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14549 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14550 $as_echo_n "(cached) " >&6
14552 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14555 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14556 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14559 # Check to make sure the PIC flag actually works.
14561 if test -n "$lt_prog_compiler_pic_CXX"; then
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14563 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14564 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14565 $as_echo_n "(cached) " >&6
14567 lt_cv_prog_compiler_pic_works_CXX
=no
14568 ac_outfile
=conftest.
$ac_objext
14569 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14570 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14571 # Insert the option either (1) after the last *FLAGS variable, or
14572 # (2) before a word containing "conftest.", or (3) at the end.
14573 # Note that $ac_compile itself does not contain backslashes and begins
14574 # with a dollar sign (not a hyphen), so the echo should work correctly.
14575 # The option is referenced via a variable to avoid confusing sed.
14576 lt_compile
=`echo "$ac_compile" | $SED \
14577 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14578 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14579 -e 's:$: $lt_compiler_flag:'`
14580 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14581 (eval "$lt_compile" 2>conftest.err
)
14583 cat conftest.err
>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 if (exit $ac_status) && test -s "$ac_outfile"; then
14586 # The compiler can only warn and ignore the option if not recognized
14587 # So say no if there are warnings other than the usual output.
14588 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14589 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14590 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14591 lt_cv_prog_compiler_pic_works_CXX
=yes
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14598 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14600 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14601 case $lt_prog_compiler_pic_CXX in
14603 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14606 lt_prog_compiler_pic_CXX
=
14607 lt_prog_compiler_can_build_shared_CXX
=no
14617 # Check to make sure the static flag actually works.
14619 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14621 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14622 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14623 $as_echo_n "(cached) " >&6
14625 lt_cv_prog_compiler_static_works_CXX
=no
14626 save_LDFLAGS
="$LDFLAGS"
14627 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14628 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14629 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14630 # The linker can only warn and ignore the option if not recognized
14631 # So say no if there are warnings
14632 if test -s conftest.err
; then
14633 # Append any errors to the config.log.
14634 cat conftest.err
1>&5
14635 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14636 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14637 if diff conftest.exp conftest.er2
>/dev
/null
; then
14638 lt_cv_prog_compiler_static_works_CXX
=yes
14641 lt_cv_prog_compiler_static_works_CXX
=yes
14645 LDFLAGS
="$save_LDFLAGS"
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14649 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14651 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14654 lt_prog_compiler_static_CXX
=
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14661 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14662 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14663 $as_echo_n "(cached) " >&6
14665 lt_cv_prog_compiler_c_o_CXX
=no
14666 $RM -r conftest
2>/dev
/null
14670 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14672 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14673 # Insert the option either (1) after the last *FLAGS variable, or
14674 # (2) before a word containing "conftest.", or (3) at the end.
14675 # Note that $ac_compile itself does not contain backslashes and begins
14676 # with a dollar sign (not a hyphen), so the echo should work correctly.
14677 lt_compile
=`echo "$ac_compile" | $SED \
14678 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14679 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14680 -e 's:$: $lt_compiler_flag:'`
14681 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14682 (eval "$lt_compile" 2>out
/conftest.err
)
14684 cat out
/conftest.err
>&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14688 # The compiler can only warn and ignore the option if not recognized
14689 # So say no if there are warnings
14690 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14691 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14692 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14693 lt_cv_prog_compiler_c_o_CXX
=yes
14698 # SGI C++ compiler will create directory out/ii_files/ for
14699 # template instantiation
14700 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14701 $RM out
/* && rmdir out
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14708 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14713 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14714 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14715 $as_echo_n "(cached) " >&6
14717 lt_cv_prog_compiler_c_o_CXX
=no
14718 $RM -r conftest
2>/dev
/null
14722 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14724 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14725 # Insert the option either (1) after the last *FLAGS variable, or
14726 # (2) before a word containing "conftest.", or (3) at the end.
14727 # Note that $ac_compile itself does not contain backslashes and begins
14728 # with a dollar sign (not a hyphen), so the echo should work correctly.
14729 lt_compile
=`echo "$ac_compile" | $SED \
14730 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14731 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14732 -e 's:$: $lt_compiler_flag:'`
14733 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14734 (eval "$lt_compile" 2>out
/conftest.err
)
14736 cat out
/conftest.err
>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14740 # The compiler can only warn and ignore the option if not recognized
14741 # So say no if there are warnings
14742 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14743 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14744 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14745 lt_cv_prog_compiler_c_o_CXX
=yes
14750 # SGI C++ compiler will create directory out/ii_files/ for
14751 # template instantiation
14752 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14753 $RM out
/* && rmdir out
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14760 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14765 hard_links
="nottested"
14766 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14767 # do not overwrite the value of need_locks provided by the user
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14769 $as_echo_n "checking if we can lock with hard links... " >&6; }
14772 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14774 ln conftest.a conftest.b
2>&5 || hard_links
=no
14775 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14777 $as_echo "$hard_links" >&6; }
14778 if test "$hard_links" = no
; then
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14780 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14790 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14792 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14793 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14796 # If we're using GNU nm, then we don't want the "-C" option.
14797 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14798 # Also, AIX nm treats weak defined symbols like other global defined
14799 # symbols, whereas GNU nm marks them as "W".
14800 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14801 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'
14803 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'
14807 export_symbols_cmds_CXX
="$ltdll_cmds"
14809 cygwin
* | mingw
* | cegcc
*)
14810 case $cc_basename in
14812 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14815 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'
14816 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14821 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14826 $as_echo "$ld_shlibs_CXX" >&6; }
14827 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14829 with_gnu_ld_CXX
=$with_gnu_ld
14837 # Do we need to explicitly link libc?
14839 case "x$archive_cmds_need_lc_CXX" in
14841 # Assume -lc should be added
14842 archive_cmds_need_lc_CXX
=yes
14844 if test "$enable_shared" = yes && test "$GCC" = yes; then
14845 case $archive_cmds_CXX in
14847 # FIXME: we may have to deal with multi-command sequences.
14850 # Test whether the compiler implicitly links with -lc since on some
14851 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14852 # to ld, don't add -lc before -lgcc.
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14854 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14855 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14856 $as_echo_n "(cached) " >&6
14859 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14861 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14862 (eval $ac_compile) 2>&5
14864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14865 test $ac_status = 0; } 2>conftest.err
; then
14868 libobjs
=conftest.
$ac_objext
14870 wl
=$lt_prog_compiler_wl_CXX
14871 pic_flag
=$lt_prog_compiler_pic_CXX
14877 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14878 allow_undefined_flag_CXX
=
14879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14880 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14883 test $ac_status = 0; }
14885 lt_cv_archive_cmds_need_lc_CXX
=no
14887 lt_cv_archive_cmds_need_lc_CXX
=yes
14889 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14891 cat conftest.err
1>&5
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14897 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14898 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14967 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14969 library_names_spec
=
14970 libname_spec
='lib$name'
14974 postuninstall_cmds
=
14978 shlibpath_overrides_runpath
=unknown
14980 dynamic_linker
="$host_os ld.so"
14981 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14982 need_lib_prefix
=unknown
14983 hardcode_into_libs
=no
14985 # when you set need_version to no, make sure it does not cause -set_version
14986 # flags to be left without arguments
14987 need_version
=unknown
14991 version_type
=linux
# correct to gnu/linux during the next big refactor
14992 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14993 shlibpath_var
=LIBPATH
14995 # AIX 3 has no versioning support, so we append a major version to the name.
14996 soname_spec
='${libname}${release}${shared_ext}$major'
15000 version_type
=linux
# correct to gnu/linux during the next big refactor
15003 hardcode_into_libs
=yes
15004 if test "$host_cpu" = ia64
; then
15005 # AIX 5 supports IA64
15006 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15007 shlibpath_var
=LD_LIBRARY_PATH
15009 # With GCC up to 2.95.x, collect2 would create an import file
15010 # for dependence libraries. The import file would start with
15011 # the line `#! .'. This would cause the generated library to
15012 # depend on `.', always an invalid library. This was fixed in
15013 # development snapshots of GCC prior to 3.0.
15015 aix4
| aix4.
[01] | aix4.
[01].
*)
15016 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15018 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15021 can_build_shared
=no
15025 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15026 # soname into executable. Probably we can add versioning support to
15027 # collect2, so additional links can be useful in future.
15028 if test "$aix_use_runtimelinking" = yes; then
15029 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15030 # instead of lib<name>.a to let people know that these are not
15031 # typical AIX shared libraries.
15032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15034 # We preserve .a as extension for shared libraries through AIX4.2
15035 # and later when we are not doing run time linking.
15036 library_names_spec
='${libname}${release}.a $libname.a'
15037 soname_spec
='${libname}${release}${shared_ext}$major'
15039 shlibpath_var
=LIBPATH
15046 # Since July 2007 AmigaOS4 officially supports .so libraries.
15047 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15051 library_names_spec
='$libname.ixlibrary $libname.a'
15052 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15053 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'
15059 library_names_spec
='${libname}${shared_ext}'
15060 dynamic_linker
="$host_os ld.so"
15061 shlibpath_var
=LIBRARY_PATH
15065 version_type
=linux
# correct to gnu/linux during the next big refactor
15067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15068 soname_spec
='${libname}${release}${shared_ext}$major'
15069 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15070 shlibpath_var
=LD_LIBRARY_PATH
15071 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15072 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15073 # the default ld.so.conf also contains /usr/contrib/lib and
15074 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15075 # libtool to hard-code these into programs
15078 cygwin
* | mingw
* | pw32
* | cegcc
*)
15079 version_type
=windows
15084 case $GCC,$cc_basename in
15087 library_names_spec
='$libname.dll.a'
15088 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15089 postinstall_cmds
='base_file=`basename \${file}`~
15090 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15091 dldir=$destdir/`dirname \$dlpath`~
15092 test -d \$dldir || mkdir -p \$dldir~
15093 $install_prog $dir/$dlname \$dldir/$dlname~
15094 chmod a+x \$dldir/$dlname~
15095 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15096 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15098 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15099 dlpath=$dir/\$dldll~
15101 shlibpath_overrides_runpath
=yes
15105 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15106 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15110 # MinGW DLLs use traditional 'lib' prefix
15111 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15114 # pw32 DLLs use 'pw' prefix rather than 'lib'
15115 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15118 dynamic_linker
='Win32 ld.exe'
15123 libname_spec
='$name'
15124 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15125 library_names_spec
='${libname}.dll.lib'
15129 sys_lib_search_path_spec
=
15132 for lt_path
in $LIB
15135 # Let DOS variable expansion print the short 8.3 style file name.
15136 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15137 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15140 # Convert to MSYS style.
15141 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15144 # Convert to unix form, then to dos form, then back to unix form
15145 # but this time dos style (no spaces!) so that the unix form looks
15146 # like /cygdrive/c/PROGRA~1:/cygdr...
15147 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15148 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15149 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15152 sys_lib_search_path_spec
="$LIB"
15153 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15154 # It is most probably a Windows format PATH.
15155 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15157 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15159 # FIXME: find the short name or the path components, as spaces are
15160 # common. (e.g. "Program Files" -> "PROGRA~1")
15164 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15165 postinstall_cmds
='base_file=`basename \${file}`~
15166 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15167 dldir=$destdir/`dirname \$dlpath`~
15168 test -d \$dldir || mkdir -p \$dldir~
15169 $install_prog $dir/$dlname \$dldir/$dlname'
15170 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15171 dlpath=$dir/\$dldll~
15173 shlibpath_overrides_runpath
=yes
15174 dynamic_linker
='Win32 link.exe'
15178 # Assume MSVC wrapper
15179 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15180 dynamic_linker
='Win32 ld.exe'
15183 # FIXME: first we should search . and the directory the executable is in
15187 darwin
* | rhapsody
*)
15188 dynamic_linker
="$host_os dyld"
15189 version_type
=darwin
15192 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15193 soname_spec
='${libname}${release}${major}$shared_ext'
15194 shlibpath_overrides_runpath
=yes
15195 shlibpath_var
=DYLD_LIBRARY_PATH
15196 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15198 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15202 version_type
=linux
# correct to gnu/linux during the next big refactor
15205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15206 soname_spec
='${libname}${release}${shared_ext}$major'
15207 shlibpath_var
=LD_LIBRARY_PATH
15210 freebsd
* | dragonfly
*)
15211 # DragonFly does not have aout. When/if they implement a new
15212 # versioning mechanism, adjust this.
15213 if test -x /usr
/bin
/objformat
; then
15214 objformat
=`/usr/bin/objformat`
15217 freebsd
[23].
*) objformat
=aout
;;
15218 *) objformat
=elf
;;
15221 version_type
=freebsd
-$objformat
15222 case $version_type in
15224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15229 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15233 shlibpath_var
=LD_LIBRARY_PATH
15236 shlibpath_overrides_runpath
=yes
15238 freebsd3.
[01]* | freebsdelf3.
[01]*)
15239 shlibpath_overrides_runpath
=yes
15240 hardcode_into_libs
=yes
15242 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15243 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15244 shlibpath_overrides_runpath
=no
15245 hardcode_into_libs
=yes
15247 *) # from 4.6 on, and DragonFly
15248 shlibpath_overrides_runpath
=yes
15249 hardcode_into_libs
=yes
15255 version_type
=linux
# correct to gnu/linux during the next big refactor
15258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15259 soname_spec
='${libname}${release}${shared_ext}$major'
15260 shlibpath_var
=LD_LIBRARY_PATH
15261 shlibpath_overrides_runpath
=no
15262 hardcode_into_libs
=yes
15266 version_type
=linux
# correct to gnu/linux during the next big refactor
15269 dynamic_linker
="$host_os runtime_loader"
15270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15271 soname_spec
='${libname}${release}${shared_ext}$major'
15272 shlibpath_var
=LIBRARY_PATH
15273 shlibpath_overrides_runpath
=yes
15274 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15275 hardcode_into_libs
=yes
15278 hpux9
* | hpux10
* | hpux11
*)
15279 # Give a soname corresponding to the major version so that dld.sl refuses to
15280 # link against other versions.
15287 hardcode_into_libs
=yes
15288 dynamic_linker
="$host_os dld.so"
15289 shlibpath_var
=LD_LIBRARY_PATH
15290 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15292 soname_spec
='${libname}${release}${shared_ext}$major'
15293 if test "X$HPUX_IA64_MODE" = X32
; then
15294 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15296 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15298 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15302 hardcode_into_libs
=yes
15303 dynamic_linker
="$host_os dld.sl"
15304 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15305 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15307 soname_spec
='${libname}${release}${shared_ext}$major'
15308 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15309 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15313 dynamic_linker
="$host_os dld.sl"
15314 shlibpath_var
=SHLIB_PATH
15315 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15317 soname_spec
='${libname}${release}${shared_ext}$major'
15320 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15321 postinstall_cmds
='chmod 555 $lib'
15322 # or fails outright, so override atomically:
15323 install_override_mode
=555
15327 version_type
=linux
# correct to gnu/linux during the next big refactor
15330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15331 soname_spec
='${libname}${release}${shared_ext}$major'
15332 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15333 shlibpath_var
=LD_LIBRARY_PATH
15334 shlibpath_overrides_runpath
=no
15335 hardcode_into_libs
=yes
15338 irix5
* | irix6
* | nonstopux
*)
15340 nonstopux
*) version_type
=nonstopux
;;
15342 if test "$lt_cv_prog_gnu_ld" = yes; then
15343 version_type
=linux
# correct to gnu/linux during the next big refactor
15350 soname_spec
='${libname}${release}${shared_ext}$major'
15351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15353 irix5
* | nonstopux
*)
15354 libsuff
= shlibsuff
=
15357 case $LD in # libtool.m4 will add one of these switches to LD
15358 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15359 libsuff
= shlibsuff
= libmagic
=32-bit;;
15360 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15361 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15362 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15363 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15364 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15368 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15369 shlibpath_overrides_runpath
=no
15370 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15371 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15372 hardcode_into_libs
=yes
15375 # No shared lib support for Linux oldld, aout, or coff.
15376 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15380 # This must be glibc/ELF.
15381 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15382 version_type
=linux
# correct to gnu/linux during the next big refactor
15385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15386 soname_spec
='${libname}${release}${shared_ext}$major'
15387 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15388 shlibpath_var
=LD_LIBRARY_PATH
15389 shlibpath_overrides_runpath
=no
15391 # Some binutils ld are patched to set DT_RUNPATH
15392 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15393 $as_echo_n "(cached) " >&6
15395 lt_cv_shlibpath_overrides_runpath
=no
15396 save_LDFLAGS
=$LDFLAGS
15397 save_libdir
=$libdir
15398 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15399 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15411 if ac_fn_cxx_try_link
"$LINENO"; then :
15412 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15413 lt_cv_shlibpath_overrides_runpath
=yes
15416 rm -f core conftest.err conftest.
$ac_objext \
15417 conftest
$ac_exeext conftest.
$ac_ext
15418 LDFLAGS
=$save_LDFLAGS
15419 libdir
=$save_libdir
15423 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15425 # This implies no fast_install, which is unacceptable.
15426 # Some rework will be needed to allow for fast_install
15427 # before this can be enabled.
15428 hardcode_into_libs
=yes
15430 # Append ld.so.conf contents to the search path
15431 if test -f /etc
/ld.so.conf
; then
15432 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' ' '`
15433 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15436 # We used to test for /lib/ld.so.1 and disable shared libraries on
15437 # powerpc, because MkLinux only supported shared libraries with the
15438 # GNU dynamic linker. Since this was broken with cross compilers,
15439 # most powerpc-linux boxes support dynamic linking these days and
15440 # people can always --disable-shared, the test was removed, and we
15441 # assume the GNU/Linux dynamic linker is in use.
15442 dynamic_linker
='GNU/Linux ld.so'
15449 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15451 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15452 dynamic_linker
='NetBSD (a.out) ld.so'
15454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15455 soname_spec
='${libname}${release}${shared_ext}$major'
15456 dynamic_linker
='NetBSD ld.elf_so'
15458 shlibpath_var
=LD_LIBRARY_PATH
15459 shlibpath_overrides_runpath
=yes
15460 hardcode_into_libs
=yes
15464 version_type
=linux
# correct to gnu/linux during the next big refactor
15465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15466 shlibpath_var
=LD_LIBRARY_PATH
15467 shlibpath_overrides_runpath
=yes
15474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15475 soname_spec
='${libname}${release}${shared_ext}$major'
15476 shlibpath_var
=LD_LIBRARY_PATH
15477 shlibpath_overrides_runpath
=no
15478 hardcode_into_libs
=yes
15479 dynamic_linker
='ldqnx.so'
15484 sys_lib_dlsearch_path_spec
="/usr/lib"
15486 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15488 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15489 *) need_version
=no
;;
15491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15492 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15493 shlibpath_var
=LD_LIBRARY_PATH
15494 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15496 openbsd2.
[89] | openbsd2.
[89].
*)
15497 shlibpath_overrides_runpath
=no
15500 shlibpath_overrides_runpath
=yes
15504 shlibpath_overrides_runpath
=yes
15509 libname_spec
='$name'
15512 library_names_spec
='$libname${shared_ext} $libname.a'
15513 dynamic_linker
='OS/2 ld.exe'
15514 shlibpath_var
=LIBPATH
15517 osf3
* | osf4
* | osf5
*)
15521 soname_spec
='${libname}${release}${shared_ext}$major'
15522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15523 shlibpath_var
=LD_LIBRARY_PATH
15524 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15525 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15533 version_type
=linux
# correct to gnu/linux during the next big refactor
15536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15537 soname_spec
='${libname}${release}${shared_ext}$major'
15538 shlibpath_var
=LD_LIBRARY_PATH
15539 shlibpath_overrides_runpath
=yes
15540 hardcode_into_libs
=yes
15541 # ldd complains unless libraries are executable
15542 postinstall_cmds
='chmod +x $lib'
15547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15548 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15549 shlibpath_var
=LD_LIBRARY_PATH
15550 shlibpath_overrides_runpath
=yes
15551 if test "$with_gnu_ld" = yes; then
15558 version_type
=linux
# correct to gnu/linux during the next big refactor
15559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15560 soname_spec
='${libname}${release}${shared_ext}$major'
15561 shlibpath_var
=LD_LIBRARY_PATH
15562 case $host_vendor in
15564 shlibpath_overrides_runpath
=no
15566 runpath_var
=LD_RUN_PATH
15574 shlibpath_overrides_runpath
=no
15575 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15581 if test -d /usr
/nec
;then
15582 version_type
=linux
# correct to gnu/linux during the next big refactor
15583 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15584 soname_spec
='$libname${shared_ext}.$major'
15585 shlibpath_var
=LD_LIBRARY_PATH
15589 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15590 version_type
=freebsd
-elf
15593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15594 soname_spec
='${libname}${release}${shared_ext}$major'
15595 shlibpath_var
=LD_LIBRARY_PATH
15596 shlibpath_overrides_runpath
=yes
15597 hardcode_into_libs
=yes
15598 if test "$with_gnu_ld" = yes; then
15599 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15601 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15604 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15608 sys_lib_dlsearch_path_spec
='/usr/lib'
15612 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15613 version_type
=linux
# correct to gnu/linux during the next big refactor
15616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15617 shlibpath_var
=LD_LIBRARY_PATH
15618 shlibpath_overrides_runpath
=no
15619 hardcode_into_libs
=yes
15623 version_type
=linux
# correct to gnu/linux during the next big refactor
15624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15625 soname_spec
='${libname}${release}${shared_ext}$major'
15626 shlibpath_var
=LD_LIBRARY_PATH
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15634 $as_echo "$dynamic_linker" >&6; }
15635 test "$dynamic_linker" = no
&& can_build_shared
=no
15637 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15638 if test "$GCC" = yes; then
15639 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15642 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15643 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15645 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15646 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15687 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15688 hardcode_action_CXX
=
15689 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15690 test -n "$runpath_var_CXX" ||
15691 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15693 # We can hardcode non-existent directories.
15694 if test "$hardcode_direct_CXX" != no
&&
15695 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15696 # have to relink, otherwise we might link with an installed library
15697 # when we should be linking with a yet-to-be-installed one
15698 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15699 test "$hardcode_minus_L_CXX" != no
; then
15700 # Linking always hardcodes the temporary library directory.
15701 hardcode_action_CXX
=relink
15703 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15704 hardcode_action_CXX
=immediate
15707 # We cannot hardcode anything, or else we can only hardcode existing
15709 hardcode_action_CXX
=unsupported
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15712 $as_echo "$hardcode_action_CXX" >&6; }
15714 if test "$hardcode_action_CXX" = relink
||
15715 test "$inherit_rpath_CXX" = yes; then
15716 # Fast installation is not supported
15717 enable_fast_install
=no
15718 elif test "$shlibpath_overrides_runpath" = yes ||
15719 test "$enable_shared" = no
; then
15720 # Fast installation is not necessary
15721 enable_fast_install
=needless
15730 fi # test -n "$compiler"
15733 CFLAGS
=$lt_save_CFLAGS
15737 with_gnu_ld
=$lt_save_with_gnu_ld
15738 lt_cv_path_LDCXX
=$lt_cv_path_LD
15739 lt_cv_path_LD
=$lt_save_path_LD
15740 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15741 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15742 fi # test "$_lt_caught_CXX_error" != yes
15745 ac_cpp
='$CPP $CPPFLAGS'
15746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15764 ac_config_commands
="$ac_config_commands libtool"
15769 # Only expand once:
15774 ac_cpp
='$CXXCPP $CPPFLAGS'
15775 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15776 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15777 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15786 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15787 if test -n "$ac_tool_prefix"; then
15788 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15789 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15791 $as_echo_n "checking for $ac_word... " >&6; }
15792 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15793 $as_echo_n "(cached) " >&6
15795 case $PKG_CONFIG in
15797 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15801 for as_dir
in $PATH
15804 test -z "$as_dir" && as_dir
=.
15805 for ac_exec_ext
in '' $ac_executable_extensions; do
15806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15807 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15818 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15819 if test -n "$PKG_CONFIG"; then
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15821 $as_echo "$PKG_CONFIG" >&6; }
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15824 $as_echo "no" >&6; }
15829 if test -z "$ac_cv_path_PKG_CONFIG"; then
15830 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15831 # Extract the first word of "pkg-config", so it can be a program name with args.
15832 set dummy pkg
-config; ac_word
=$2
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15834 $as_echo_n "checking for $ac_word... " >&6; }
15835 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15836 $as_echo_n "(cached) " >&6
15838 case $ac_pt_PKG_CONFIG in
15840 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15844 for as_dir
in $PATH
15847 test -z "$as_dir" && as_dir
=.
15848 for ac_exec_ext
in '' $ac_executable_extensions; do
15849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15850 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15861 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15862 if test -n "$ac_pt_PKG_CONFIG"; then
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15864 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15867 $as_echo "no" >&6; }
15870 if test "x$ac_pt_PKG_CONFIG" = x
; then
15873 case $cross_compiling:$ac_tool_warned in
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15877 ac_tool_warned
=yes ;;
15879 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15882 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15886 if test -n "$PKG_CONFIG"; then
15887 _pkg_min_version
=0.22
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15889 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15890 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15892 $as_echo "yes" >&6; }
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15895 $as_echo "no" >&6; }
15900 # Extract the first word of "git", so it can be a program name with args.
15901 set dummy git
; ac_word
=$2
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15903 $as_echo_n "checking for $ac_word... " >&6; }
15904 if ${ac_cv_path_GIT+:} false
; then :
15905 $as_echo_n "(cached) " >&6
15909 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
15912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15913 for as_dir
in $PATH
15916 test -z "$as_dir" && as_dir
=.
15917 for ac_exec_ext
in '' $ac_executable_extensions; do
15918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15919 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
15920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15930 GIT
=$ac_cv_path_GIT
15931 if test -n "$GIT"; then
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
15933 $as_echo "$GIT" >&6; }
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15936 $as_echo "no" >&6; }
15940 # Extract the first word of "time", so it can be a program name with args.
15941 set dummy
time; ac_word
=$2
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15943 $as_echo_n "checking for $ac_word... " >&6; }
15944 if ${ac_cv_path_TIME+:} false
; then :
15945 $as_echo_n "(cached) " >&6
15949 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
15952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15953 for as_dir
in $PATH
15956 test -z "$as_dir" && as_dir
=.
15957 for ac_exec_ext
in '' $ac_executable_extensions; do
15958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15959 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
15960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15970 TIME
=$ac_cv_path_TIME
15971 if test -n "$TIME"; then
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
15973 $as_echo "$TIME" >&6; }
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15976 $as_echo "no" >&6; }
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
15986 $as_echo_n "checking for bison >= 2.3... " >&6; }
15987 if test -z "$BISON"; then
15988 ac_path_BISON_found
=false
15989 # Loop through the user's path and test for each of PROGNAME-LIST
15990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15991 for as_dir
in $PATH
15994 test -z "$as_dir" && as_dir
=.
15995 for ac_prog
in bison
; do
15996 for ac_exec_ext
in '' $ac_executable_extensions; do
15997 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
15998 as_fn_executable_p
"$ac_path_BISON" || continue
15999 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16000 if ${version:+false} :; then :
16003 as_awk_strverscmp
='
16004 # Use only awk features that work with 7th edition Unix awk (1978).
16005 # My, what an old awk you have, Mr. Solaris!
16007 while (length(v1) && length(v2)) {
16008 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16009 # Normally this is a single character, but if v1 and v2 contain digits,
16010 # compare them as integers and fractions as strverscmp does.
16011 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16012 # Split v1 and v2 into their leading digit string components d1 and d2,
16013 # and advance v1 and v2 past the leading digit strings.
16014 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16015 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16016 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16017 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16020 # Compare two fractions.
16021 while (d1 ~ /^0/ && d2 ~ /^0/) {
16022 d1 = substr(d1, 2); len1--
16023 d2 = substr(d2, 2); len2--
16025 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16026 # The two components differ in length, and the common prefix
16027 # contains only leading zeros. Consider the longer to be less.
16031 # Otherwise, compare as strings.
16036 # A fraction is less than an integer.
16041 # An integer is greater than a fraction.
16044 # Compare two integers.
16050 # The normal case, without worrying about digits.
16051 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16052 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16054 if (d1 < d2) exit 1
16055 if (d1 > d2) exit 2
16057 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16058 # which mishandles some comparisons of empty strings to integers.
16059 if (length(v2)) exit 1
16060 if (length(v1)) exit 2
16065 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16070 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16072 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16078 $ac_path_BISON_found && break 3
16083 if test -z "$ac_cv_path_BISON"; then
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16085 $as_echo "no" >&6; }
16088 ac_cv_path_BISON
=$BISON
16094 BISON
=$ac_cv_path_BISON
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16097 $as_echo "$BISON" >&6; }
16102 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16109 $as_echo "no" >&6; }
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16118 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16119 if test -z "$FLEX"; then
16120 ac_path_FLEX_found
=false
16121 # Loop through the user's path and test for each of PROGNAME-LIST
16122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16123 for as_dir
in $PATH
16126 test -z "$as_dir" && as_dir
=.
16127 for ac_prog
in flex
; do
16128 for ac_exec_ext
in '' $ac_executable_extensions; do
16129 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16130 as_fn_executable_p
"$ac_path_FLEX" || continue
16131 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16132 if ${version:+false} :; then :
16137 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16142 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16144 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16150 $ac_path_FLEX_found && break 3
16155 if test -z "$ac_cv_path_FLEX"; then
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16157 $as_echo "no" >&6; }
16160 ac_cv_path_FLEX
=$FLEX
16166 FLEX
=$ac_cv_path_FLEX
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16169 $as_echo "$FLEX" >&6; }
16174 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16181 $as_echo "no" >&6; }
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16190 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16191 if test -z "$GPERF"; then
16192 ac_path_GPERF_found
=false
16193 # Loop through the user's path and test for each of PROGNAME-LIST
16194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16195 for as_dir
in $PATH
16198 test -z "$as_dir" && as_dir
=.
16199 for ac_prog
in gperf
; do
16200 for ac_exec_ext
in '' $ac_executable_extensions; do
16201 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16202 as_fn_executable_p
"$ac_path_GPERF" || continue
16203 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16204 if ${version:+false} :; then :
16209 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16214 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16216 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16222 $ac_path_GPERF_found && break 3
16227 if test -z "$ac_cv_path_GPERF"; then
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16229 $as_echo "no" >&6; }
16232 ac_cv_path_GPERF
=$GPERF
16238 GPERF
=$ac_cv_path_GPERF
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16241 $as_echo "$GPERF" >&6; }
16246 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16253 $as_echo "no" >&6; }
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16262 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16263 if test -z "$GNUTAR"; then
16264 ac_path_GNUTAR_found
=false
16265 # Loop through the user's path and test for each of PROGNAME-LIST
16266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16267 for as_dir
in $PATH
16270 test -z "$as_dir" && as_dir
=.
16271 for ac_prog
in tar gtar gnutar
; do
16272 for ac_exec_ext
in '' $ac_executable_extensions; do
16273 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16274 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16275 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16276 if ${version:+false} :; then :
16281 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16286 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16288 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16294 $ac_path_GNUTAR_found && break 3
16299 if test -z "$ac_cv_path_GNUTAR"; then
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16301 $as_echo "no" >&6; }
16304 ac_cv_path_GNUTAR
=$GNUTAR
16310 GNUTAR
=$ac_cv_path_GNUTAR
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16313 $as_echo "$GNUTAR" >&6; }
16318 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16325 $as_echo "no" >&6; }
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16332 $as_echo_n "checking bison for %code{}... " >&6; }
16333 echo '%code{}%%_:' >conftest.y
16334 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16336 for element
in Bison24
; do
16338 for x
in $CY_FILTERS; do
16340 acl_save_prefix
="$prefix"
16341 prefix
="$acl_final_prefix"
16342 acl_save_exec_prefix
="$exec_prefix"
16343 exec_prefix
="$acl_final_exec_prefix"
16345 exec_prefix
="$acl_save_exec_prefix"
16346 prefix
="$acl_save_prefix"
16348 if test "X$x" = "X$element"; then
16353 if test -z "$haveit"; then
16354 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16359 $as_echo "yes" >&6; }
16362 for element
in Bison23
; do
16364 for x
in $CY_FILTERS; do
16366 acl_save_prefix
="$prefix"
16367 prefix
="$acl_final_prefix"
16368 acl_save_exec_prefix
="$exec_prefix"
16369 exec_prefix
="$acl_final_exec_prefix"
16371 exec_prefix
="$acl_save_exec_prefix"
16372 prefix
="$acl_save_prefix"
16374 if test "X$x" = "X$element"; then
16379 if test -z "$haveit"; then
16380 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16385 $as_echo "no" >&6; }
16399 if ${CFLAGS+:} false
; then :
16400 case " $CFLAGS " in
16402 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16403 (: CFLAGS already contains
) 2>&5
16405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16406 test $ac_status = 0; }
16409 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16410 (: CFLAGS
="$CFLAGS ") 2>&5
16412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16413 test $ac_status = 0; }
16422 ac_cpp
='$CPP $CPPFLAGS'
16423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16428 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16429 if ${ac_cv_cflags_warn_all+:} false
; then :
16430 $as_echo_n "(cached) " >&6
16432 ac_cv_cflags_warn_all
="no, unknown"
16433 ac_save_CFLAGS
="$CFLAGS"
16434 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" #
16435 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16437 /* end confdefs.h. */
16447 if ac_fn_c_try_compile
"$LINENO"; then :
16448 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16452 CFLAGS
="$ac_save_CFLAGS"
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16456 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16458 case ".$ac_cv_cflags_warn_all" in
16461 *) if ${CFLAGS+:} false
; then :
16462 case " $CFLAGS " in
16463 *" $ac_cv_cflags_warn_all "*)
16464 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16465 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16468 test $ac_status = 0; }
16471 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16472 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16475 test $ac_status = 0; }
16476 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16480 CFLAGS
="$ac_cv_cflags_warn_all"
16486 ac_cpp
='$CXXCPP $CPPFLAGS'
16487 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16488 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16489 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16493 ac_cpp
='$CXXCPP $CPPFLAGS'
16494 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16495 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16496 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16499 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16500 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16501 $as_echo_n "(cached) " >&6
16503 ac_cv_cxxflags_warn_all
="no, unknown"
16504 ac_save_CXXFLAGS
="$CXXFLAGS"
16505 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" #
16506 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16508 /* end confdefs.h. */
16518 if ac_fn_cxx_try_compile
"$LINENO"; then :
16519 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16523 CXXFLAGS
="$ac_save_CXXFLAGS"
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16527 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16529 case ".$ac_cv_cxxflags_warn_all" in
16532 *) if ${CXXFLAGS+:} false
; then :
16533 case " $CXXFLAGS " in
16534 *" $ac_cv_cxxflags_warn_all "*)
16535 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16536 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16539 test $ac_status = 0; }
16542 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16543 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16546 test $ac_status = 0; }
16547 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16551 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16557 ac_cpp
='$CXXCPP $CPPFLAGS'
16558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16568 ac_cpp
='$CPP $CPPFLAGS'
16569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
16574 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
16578 for element
in -Wno-deprecated-declarations; do
16580 for x
in $CFLAGS; do
16582 acl_save_prefix
="$prefix"
16583 prefix
="$acl_final_prefix"
16584 acl_save_exec_prefix
="$exec_prefix"
16585 exec_prefix
="$acl_final_exec_prefix"
16587 exec_prefix
="$acl_save_exec_prefix"
16588 prefix
="$acl_save_prefix"
16590 if test "X$x" = "X$element"; then
16595 if test -z "$haveit"; then
16596 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16605 if ac_fn_c_try_compile
"$LINENO"; then :
16610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16613 if test "x$cy_good" = x1
; then :
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16615 $as_echo "yes" >&6; }
16617 for element
in -Wno-deprecated-declarations; do
16619 for x
in $CFLAGS; do
16621 acl_save_prefix
="$prefix"
16622 prefix
="$acl_final_prefix"
16623 acl_save_exec_prefix
="$exec_prefix"
16624 exec_prefix
="$acl_final_exec_prefix"
16626 exec_prefix
="$acl_save_exec_prefix"
16627 prefix
="$acl_save_prefix"
16629 if test "X$x" = "X$element"; then
16634 if test -z "$haveit"; then
16635 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16642 $as_echo "no" >&6; }
16646 ac_cpp
='$CXXCPP $CPPFLAGS'
16647 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16648 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16649 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16654 ac_cpp
='$CXXCPP $CPPFLAGS'
16655 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16656 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16657 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
16660 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
16664 for element
in -Wno-deprecated-declarations; do
16666 for x
in $CXXFLAGS; do
16668 acl_save_prefix
="$prefix"
16669 prefix
="$acl_final_prefix"
16670 acl_save_exec_prefix
="$exec_prefix"
16671 exec_prefix
="$acl_final_exec_prefix"
16673 exec_prefix
="$acl_save_exec_prefix"
16674 prefix
="$acl_save_prefix"
16676 if test "X$x" = "X$element"; then
16681 if test -z "$haveit"; then
16682 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16688 /* end confdefs.h. */
16691 if ac_fn_cxx_try_compile
"$LINENO"; then :
16696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16699 if test "x$cy_good" = x1
; then :
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16701 $as_echo "yes" >&6; }
16703 for element
in -Wno-deprecated-declarations; do
16705 for x
in $CXXFLAGS; do
16707 acl_save_prefix
="$prefix"
16708 prefix
="$acl_final_prefix"
16709 acl_save_exec_prefix
="$exec_prefix"
16710 exec_prefix
="$acl_final_exec_prefix"
16712 exec_prefix
="$acl_save_exec_prefix"
16713 prefix
="$acl_save_prefix"
16715 if test "X$x" = "X$element"; then
16720 if test -z "$haveit"; then
16721 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16728 $as_echo "no" >&6; }
16732 ac_cpp
='$CXXCPP $CPPFLAGS'
16733 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16734 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16735 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16740 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16741 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16742 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16743 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
16746 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
16748 cy_save
=$OBJCXXFLAGS
16750 for element
in -Wno-deprecated-declarations; do
16752 for x
in $OBJCXXFLAGS; do
16754 acl_save_prefix
="$prefix"
16755 prefix
="$acl_final_prefix"
16756 acl_save_exec_prefix
="$exec_prefix"
16757 exec_prefix
="$acl_final_exec_prefix"
16759 exec_prefix
="$acl_save_exec_prefix"
16760 prefix
="$acl_save_prefix"
16762 if test "X$x" = "X$element"; then
16767 if test -z "$haveit"; then
16768 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16777 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16784 OBJCXXFLAGS
=$cy_save
16785 if test "x$cy_good" = x1
; then :
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16787 $as_echo "yes" >&6; }
16789 for element
in -Wno-deprecated-declarations; do
16791 for x
in $OBJCXXFLAGS; do
16793 acl_save_prefix
="$prefix"
16794 prefix
="$acl_final_prefix"
16795 acl_save_exec_prefix
="$exec_prefix"
16796 exec_prefix
="$acl_final_exec_prefix"
16798 exec_prefix
="$acl_save_exec_prefix"
16799 prefix
="$acl_save_prefix"
16801 if test "X$x" = "X$element"; then
16806 if test -z "$haveit"; then
16807 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16814 $as_echo "no" >&6; }
16818 ac_cpp
='$CXXCPP $CPPFLAGS'
16819 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16820 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16829 ac_cpp
='$CPP $CPPFLAGS'
16830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
16835 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
16839 for element
in -Wno-dangling-else; do
16841 for x
in $CFLAGS; do
16843 acl_save_prefix
="$prefix"
16844 prefix
="$acl_final_prefix"
16845 acl_save_exec_prefix
="$exec_prefix"
16846 exec_prefix
="$acl_final_exec_prefix"
16848 exec_prefix
="$acl_save_exec_prefix"
16849 prefix
="$acl_save_prefix"
16851 if test "X$x" = "X$element"; then
16856 if test -z "$haveit"; then
16857 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h. */
16866 if ac_fn_c_try_compile
"$LINENO"; then :
16871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16874 if test "x$cy_good" = x1
; then :
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16876 $as_echo "yes" >&6; }
16878 for element
in -Wno-dangling-else; do
16880 for x
in $CFLAGS; do
16882 acl_save_prefix
="$prefix"
16883 prefix
="$acl_final_prefix"
16884 acl_save_exec_prefix
="$exec_prefix"
16885 exec_prefix
="$acl_final_exec_prefix"
16887 exec_prefix
="$acl_save_exec_prefix"
16888 prefix
="$acl_save_prefix"
16890 if test "X$x" = "X$element"; then
16895 if test -z "$haveit"; then
16896 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16903 $as_echo "no" >&6; }
16907 ac_cpp
='$CXXCPP $CPPFLAGS'
16908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16915 ac_cpp
='$CXXCPP $CPPFLAGS'
16916 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16917 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16918 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
16921 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
16925 for element
in -Wno-dangling-else; do
16927 for x
in $CXXFLAGS; do
16929 acl_save_prefix
="$prefix"
16930 prefix
="$acl_final_prefix"
16931 acl_save_exec_prefix
="$exec_prefix"
16932 exec_prefix
="$acl_final_exec_prefix"
16934 exec_prefix
="$acl_save_exec_prefix"
16935 prefix
="$acl_save_prefix"
16937 if test "X$x" = "X$element"; then
16942 if test -z "$haveit"; then
16943 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16949 /* end confdefs.h. */
16952 if ac_fn_cxx_try_compile
"$LINENO"; then :
16957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16960 if test "x$cy_good" = x1
; then :
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16962 $as_echo "yes" >&6; }
16964 for element
in -Wno-dangling-else; do
16966 for x
in $CXXFLAGS; do
16968 acl_save_prefix
="$prefix"
16969 prefix
="$acl_final_prefix"
16970 acl_save_exec_prefix
="$exec_prefix"
16971 exec_prefix
="$acl_final_exec_prefix"
16973 exec_prefix
="$acl_save_exec_prefix"
16974 prefix
="$acl_save_prefix"
16976 if test "X$x" = "X$element"; then
16981 if test -z "$haveit"; then
16982 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16989 $as_echo "no" >&6; }
16993 ac_cpp
='$CXXCPP $CPPFLAGS'
16994 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16995 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16996 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17001 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17002 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17003 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17004 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
17007 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
17009 cy_save
=$OBJCXXFLAGS
17011 for element
in -Wno-dangling-else; do
17013 for x
in $OBJCXXFLAGS; do
17015 acl_save_prefix
="$prefix"
17016 prefix
="$acl_final_prefix"
17017 acl_save_exec_prefix
="$exec_prefix"
17018 exec_prefix
="$acl_final_exec_prefix"
17020 exec_prefix
="$acl_save_exec_prefix"
17021 prefix
="$acl_save_prefix"
17023 if test "X$x" = "X$element"; then
17028 if test -z "$haveit"; then
17029 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17038 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17045 OBJCXXFLAGS
=$cy_save
17046 if test "x$cy_good" = x1
; then :
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17048 $as_echo "yes" >&6; }
17050 for element
in -Wno-dangling-else; do
17052 for x
in $OBJCXXFLAGS; do
17054 acl_save_prefix
="$prefix"
17055 prefix
="$acl_final_prefix"
17056 acl_save_exec_prefix
="$exec_prefix"
17057 exec_prefix
="$acl_final_exec_prefix"
17059 exec_prefix
="$acl_save_exec_prefix"
17060 prefix
="$acl_save_prefix"
17062 if test "X$x" = "X$element"; then
17067 if test -z "$haveit"; then
17068 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17075 $as_echo "no" >&6; }
17079 ac_cpp
='$CXXCPP $CPPFLAGS'
17080 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17089 ac_cpp
='$CPP $CPPFLAGS'
17090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
17095 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
17099 for element
in -Wno-overloaded-virtual; do
17101 for x
in $CFLAGS; do
17103 acl_save_prefix
="$prefix"
17104 prefix
="$acl_final_prefix"
17105 acl_save_exec_prefix
="$exec_prefix"
17106 exec_prefix
="$acl_final_exec_prefix"
17108 exec_prefix
="$acl_save_exec_prefix"
17109 prefix
="$acl_save_prefix"
17111 if test "X$x" = "X$element"; then
17116 if test -z "$haveit"; then
17117 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17126 if ac_fn_c_try_compile
"$LINENO"; then :
17131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17134 if test "x$cy_good" = x1
; then :
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17136 $as_echo "yes" >&6; }
17138 for element
in -Wno-overloaded-virtual; do
17140 for x
in $CFLAGS; do
17142 acl_save_prefix
="$prefix"
17143 prefix
="$acl_final_prefix"
17144 acl_save_exec_prefix
="$exec_prefix"
17145 exec_prefix
="$acl_final_exec_prefix"
17147 exec_prefix
="$acl_save_exec_prefix"
17148 prefix
="$acl_save_prefix"
17150 if test "X$x" = "X$element"; then
17155 if test -z "$haveit"; then
17156 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17163 $as_echo "no" >&6; }
17167 ac_cpp
='$CXXCPP $CPPFLAGS'
17168 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17169 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17170 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17175 ac_cpp
='$CXXCPP $CPPFLAGS'
17176 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17177 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17178 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
17181 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
17185 for element
in -Wno-overloaded-virtual; do
17187 for x
in $CXXFLAGS; do
17189 acl_save_prefix
="$prefix"
17190 prefix
="$acl_final_prefix"
17191 acl_save_exec_prefix
="$exec_prefix"
17192 exec_prefix
="$acl_final_exec_prefix"
17194 exec_prefix
="$acl_save_exec_prefix"
17195 prefix
="$acl_save_prefix"
17197 if test "X$x" = "X$element"; then
17202 if test -z "$haveit"; then
17203 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17212 if ac_fn_cxx_try_compile
"$LINENO"; then :
17217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17220 if test "x$cy_good" = x1
; then :
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17222 $as_echo "yes" >&6; }
17224 for element
in -Wno-overloaded-virtual; do
17226 for x
in $CXXFLAGS; do
17228 acl_save_prefix
="$prefix"
17229 prefix
="$acl_final_prefix"
17230 acl_save_exec_prefix
="$exec_prefix"
17231 exec_prefix
="$acl_final_exec_prefix"
17233 exec_prefix
="$acl_save_exec_prefix"
17234 prefix
="$acl_save_prefix"
17236 if test "X$x" = "X$element"; then
17241 if test -z "$haveit"; then
17242 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17249 $as_echo "no" >&6; }
17253 ac_cpp
='$CXXCPP $CPPFLAGS'
17254 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17255 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17256 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17261 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17262 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17263 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17264 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
17267 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
17269 cy_save
=$OBJCXXFLAGS
17271 for element
in -Wno-overloaded-virtual; do
17273 for x
in $OBJCXXFLAGS; do
17275 acl_save_prefix
="$prefix"
17276 prefix
="$acl_final_prefix"
17277 acl_save_exec_prefix
="$exec_prefix"
17278 exec_prefix
="$acl_final_exec_prefix"
17280 exec_prefix
="$acl_save_exec_prefix"
17281 prefix
="$acl_save_prefix"
17283 if test "X$x" = "X$element"; then
17288 if test -z "$haveit"; then
17289 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17298 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17305 OBJCXXFLAGS
=$cy_save
17306 if test "x$cy_good" = x1
; then :
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17308 $as_echo "yes" >&6; }
17310 for element
in -Wno-overloaded-virtual; do
17312 for x
in $OBJCXXFLAGS; do
17314 acl_save_prefix
="$prefix"
17315 prefix
="$acl_final_prefix"
17316 acl_save_exec_prefix
="$exec_prefix"
17317 exec_prefix
="$acl_final_exec_prefix"
17319 exec_prefix
="$acl_save_exec_prefix"
17320 prefix
="$acl_save_prefix"
17322 if test "X$x" = "X$element"; then
17327 if test -z "$haveit"; then
17328 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17335 $as_echo "no" >&6; }
17339 ac_cpp
='$CXXCPP $CPPFLAGS'
17340 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17349 ac_cpp
='$CPP $CPPFLAGS'
17350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
17355 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
17359 for element
in -Wno-parentheses; do
17361 for x
in $CFLAGS; do
17363 acl_save_prefix
="$prefix"
17364 prefix
="$acl_final_prefix"
17365 acl_save_exec_prefix
="$exec_prefix"
17366 exec_prefix
="$acl_final_exec_prefix"
17368 exec_prefix
="$acl_save_exec_prefix"
17369 prefix
="$acl_save_prefix"
17371 if test "X$x" = "X$element"; then
17376 if test -z "$haveit"; then
17377 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17386 if ac_fn_c_try_compile
"$LINENO"; then :
17391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17394 if test "x$cy_good" = x1
; then :
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17396 $as_echo "yes" >&6; }
17398 for element
in -Wno-parentheses; do
17400 for x
in $CFLAGS; do
17402 acl_save_prefix
="$prefix"
17403 prefix
="$acl_final_prefix"
17404 acl_save_exec_prefix
="$exec_prefix"
17405 exec_prefix
="$acl_final_exec_prefix"
17407 exec_prefix
="$acl_save_exec_prefix"
17408 prefix
="$acl_save_prefix"
17410 if test "X$x" = "X$element"; then
17415 if test -z "$haveit"; then
17416 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17423 $as_echo "no" >&6; }
17427 ac_cpp
='$CXXCPP $CPPFLAGS'
17428 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17435 ac_cpp
='$CXXCPP $CPPFLAGS'
17436 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17437 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17438 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
17441 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
17445 for element
in -Wno-parentheses; do
17447 for x
in $CXXFLAGS; do
17449 acl_save_prefix
="$prefix"
17450 prefix
="$acl_final_prefix"
17451 acl_save_exec_prefix
="$exec_prefix"
17452 exec_prefix
="$acl_final_exec_prefix"
17454 exec_prefix
="$acl_save_exec_prefix"
17455 prefix
="$acl_save_prefix"
17457 if test "X$x" = "X$element"; then
17462 if test -z "$haveit"; then
17463 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17472 if ac_fn_cxx_try_compile
"$LINENO"; then :
17477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17480 if test "x$cy_good" = x1
; then :
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17482 $as_echo "yes" >&6; }
17484 for element
in -Wno-parentheses; do
17486 for x
in $CXXFLAGS; do
17488 acl_save_prefix
="$prefix"
17489 prefix
="$acl_final_prefix"
17490 acl_save_exec_prefix
="$exec_prefix"
17491 exec_prefix
="$acl_final_exec_prefix"
17493 exec_prefix
="$acl_save_exec_prefix"
17494 prefix
="$acl_save_prefix"
17496 if test "X$x" = "X$element"; then
17501 if test -z "$haveit"; then
17502 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17509 $as_echo "no" >&6; }
17513 ac_cpp
='$CXXCPP $CPPFLAGS'
17514 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17515 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17516 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17521 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17522 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
17527 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
17529 cy_save
=$OBJCXXFLAGS
17531 for element
in -Wno-parentheses; do
17533 for x
in $OBJCXXFLAGS; do
17535 acl_save_prefix
="$prefix"
17536 prefix
="$acl_final_prefix"
17537 acl_save_exec_prefix
="$exec_prefix"
17538 exec_prefix
="$acl_final_exec_prefix"
17540 exec_prefix
="$acl_save_exec_prefix"
17541 prefix
="$acl_save_prefix"
17543 if test "X$x" = "X$element"; then
17548 if test -z "$haveit"; then
17549 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17558 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17565 OBJCXXFLAGS
=$cy_save
17566 if test "x$cy_good" = x1
; then :
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17568 $as_echo "yes" >&6; }
17570 for element
in -Wno-parentheses; do
17572 for x
in $OBJCXXFLAGS; do
17574 acl_save_prefix
="$prefix"
17575 prefix
="$acl_final_prefix"
17576 acl_save_exec_prefix
="$exec_prefix"
17577 exec_prefix
="$acl_final_exec_prefix"
17579 exec_prefix
="$acl_save_exec_prefix"
17580 prefix
="$acl_save_prefix"
17582 if test "X$x" = "X$element"; then
17587 if test -z "$haveit"; then
17588 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17595 $as_echo "no" >&6; }
17599 ac_cpp
='$CXXCPP $CPPFLAGS'
17600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17609 ac_cpp
='$CPP $CPPFLAGS'
17610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
17615 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
17619 for element
in -Wno-unneeded-internal-declaration; do
17621 for x
in $CFLAGS; do
17623 acl_save_prefix
="$prefix"
17624 prefix
="$acl_final_prefix"
17625 acl_save_exec_prefix
="$exec_prefix"
17626 exec_prefix
="$acl_final_exec_prefix"
17628 exec_prefix
="$acl_save_exec_prefix"
17629 prefix
="$acl_save_prefix"
17631 if test "X$x" = "X$element"; then
17636 if test -z "$haveit"; then
17637 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17646 if ac_fn_c_try_compile
"$LINENO"; then :
17651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17654 if test "x$cy_good" = x1
; then :
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17656 $as_echo "yes" >&6; }
17658 for element
in -Wno-unneeded-internal-declaration; do
17660 for x
in $CFLAGS; do
17662 acl_save_prefix
="$prefix"
17663 prefix
="$acl_final_prefix"
17664 acl_save_exec_prefix
="$exec_prefix"
17665 exec_prefix
="$acl_final_exec_prefix"
17667 exec_prefix
="$acl_save_exec_prefix"
17668 prefix
="$acl_save_prefix"
17670 if test "X$x" = "X$element"; then
17675 if test -z "$haveit"; then
17676 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17683 $as_echo "no" >&6; }
17687 ac_cpp
='$CXXCPP $CPPFLAGS'
17688 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17689 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17690 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17695 ac_cpp
='$CXXCPP $CPPFLAGS'
17696 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17697 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17698 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
17701 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
17705 for element
in -Wno-unneeded-internal-declaration; do
17707 for x
in $CXXFLAGS; do
17709 acl_save_prefix
="$prefix"
17710 prefix
="$acl_final_prefix"
17711 acl_save_exec_prefix
="$exec_prefix"
17712 exec_prefix
="$acl_final_exec_prefix"
17714 exec_prefix
="$acl_save_exec_prefix"
17715 prefix
="$acl_save_prefix"
17717 if test "X$x" = "X$element"; then
17722 if test -z "$haveit"; then
17723 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h. */
17732 if ac_fn_cxx_try_compile
"$LINENO"; then :
17737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17740 if test "x$cy_good" = x1
; then :
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17742 $as_echo "yes" >&6; }
17744 for element
in -Wno-unneeded-internal-declaration; do
17746 for x
in $CXXFLAGS; do
17748 acl_save_prefix
="$prefix"
17749 prefix
="$acl_final_prefix"
17750 acl_save_exec_prefix
="$exec_prefix"
17751 exec_prefix
="$acl_final_exec_prefix"
17753 exec_prefix
="$acl_save_exec_prefix"
17754 prefix
="$acl_save_prefix"
17756 if test "X$x" = "X$element"; then
17761 if test -z "$haveit"; then
17762 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17769 $as_echo "no" >&6; }
17773 ac_cpp
='$CXXCPP $CPPFLAGS'
17774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17781 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17782 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17783 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17784 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
17787 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
17789 cy_save
=$OBJCXXFLAGS
17791 for element
in -Wno-unneeded-internal-declaration; do
17793 for x
in $OBJCXXFLAGS; do
17795 acl_save_prefix
="$prefix"
17796 prefix
="$acl_final_prefix"
17797 acl_save_exec_prefix
="$exec_prefix"
17798 exec_prefix
="$acl_final_exec_prefix"
17800 exec_prefix
="$acl_save_exec_prefix"
17801 prefix
="$acl_save_prefix"
17803 if test "X$x" = "X$element"; then
17808 if test -z "$haveit"; then
17809 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17818 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17825 OBJCXXFLAGS
=$cy_save
17826 if test "x$cy_good" = x1
; then :
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17828 $as_echo "yes" >&6; }
17830 for element
in -Wno-unneeded-internal-declaration; do
17832 for x
in $OBJCXXFLAGS; do
17834 acl_save_prefix
="$prefix"
17835 prefix
="$acl_final_prefix"
17836 acl_save_exec_prefix
="$exec_prefix"
17837 exec_prefix
="$acl_final_exec_prefix"
17839 exec_prefix
="$acl_save_exec_prefix"
17840 prefix
="$acl_save_prefix"
17842 if test "X$x" = "X$element"; then
17847 if test -z "$haveit"; then
17848 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17855 $as_echo "no" >&6; }
17859 ac_cpp
='$CXXCPP $CPPFLAGS'
17860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17867 for cy_arch
in ppc ppc64 i386 x86_64 armv6
; do
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
17869 $as_echo_n "checking for -arch $cy_arch... " >&6; }
17873 for element
in "-arch $cy_arch"; do
17875 for x
in $CXXFLAGS; do
17877 acl_save_prefix
="$prefix"
17878 prefix
="$acl_final_prefix"
17879 acl_save_exec_prefix
="$exec_prefix"
17880 exec_prefix
="$acl_final_exec_prefix"
17882 exec_prefix
="$acl_save_exec_prefix"
17883 prefix
="$acl_save_prefix"
17885 if test "X$x" = "X$element"; then
17890 if test -z "$haveit"; then
17891 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17907 if ac_fn_cxx_try_link
"$LINENO"; then :
17912 rm -f core conftest.err conftest.
$ac_objext \
17913 conftest
$ac_exeext conftest.
$ac_ext
17916 if test "x$cy_good" = x1
; then :
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17918 $as_echo "yes" >&6; }
17920 for element
in "-arch $cy_arch"; do
17922 for x
in $CY_ARCH; do
17924 acl_save_prefix
="$prefix"
17925 prefix
="$acl_final_prefix"
17926 acl_save_exec_prefix
="$exec_prefix"
17927 exec_prefix
="$acl_final_exec_prefix"
17929 exec_prefix
="$acl_save_exec_prefix"
17930 prefix
="$acl_save_prefix"
17932 if test "X$x" = "X$element"; then
17937 if test -z "$haveit"; then
17938 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17945 $as_echo "no" >&6; }
17957 # Check whether --enable-javascript was given.
17958 if test "${enable_javascript+set}" = set; then :
17959 enableval
=$enable_javascript;
17960 case $enableval in #(
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17967 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17968 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17969 $as_echo_n "(cached) " >&6
17972 ac_check_framework_save_LIBS
=$LIBS
17973 LIBS
="-framework JavaScriptCore $LIBS"
17974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h. */
17977 #include <JavaScriptCore/JSBase.h>
17983 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17989 if ac_fn_cxx_try_link
"$LINENO"; then :
17991 ac_cv_framework_JavaScriptCore
=yes
17994 ac_cv_framework_JavaScriptCore
=no
17996 rm -f core conftest.err conftest.
$ac_objext \
17997 conftest
$ac_exeext conftest.
$ac_ext
17998 LIBS
=$ac_check_framework_save_LIBS
18001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18002 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18003 if test $ac_cv_framework_JavaScriptCore = yes; then :
18006 for element
in "-framework JavaScriptCore"; do
18010 acl_save_prefix
="$prefix"
18011 prefix
="$acl_final_prefix"
18012 acl_save_exec_prefix
="$exec_prefix"
18013 exec_prefix
="$acl_final_exec_prefix"
18015 exec_prefix
="$acl_save_exec_prefix"
18016 prefix
="$acl_save_prefix"
18018 if test "X$x" = "X$element"; then
18023 if test -z "$haveit"; then
18024 LIBS
="${LIBS}${LIBS:+ }$element"
18035 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18039 $as_echo_n "checking for WEBKIT... " >&6; }
18041 if test -n "$WEBKIT_CFLAGS"; then
18042 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18043 elif test -n "$PKG_CONFIG"; then
18044 if test -n "$PKG_CONFIG" && \
18045 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18046 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18049 test $ac_status = 0; }; then
18050 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18057 if test -n "$WEBKIT_LIBS"; then
18058 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18059 elif test -n "$PKG_CONFIG"; then
18060 if test -n "$PKG_CONFIG" && \
18061 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18062 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18065 test $ac_status = 0; }; then
18066 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18076 if test $pkg_failed = yes; then
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18078 $as_echo "no" >&6; }
18080 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18081 _pkg_short_errors_supported
=yes
18083 _pkg_short_errors_supported
=no
18085 if test $_pkg_short_errors_supported = yes; then
18086 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18088 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18090 # Put the nasty error message in config.log where it belongs
18091 echo "$WEBKIT_PKG_ERRORS" >&5
18094 elif test $pkg_failed = untried
; then
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18096 $as_echo "no" >&6; }
18099 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18100 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18102 $as_echo "yes" >&6; }
18107 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18109 for x
in $CPPFLAGS; do
18111 acl_save_prefix
="$prefix"
18112 prefix
="$acl_final_prefix"
18113 acl_save_exec_prefix
="$exec_prefix"
18114 exec_prefix
="$acl_final_exec_prefix"
18116 exec_prefix
="$acl_save_exec_prefix"
18117 prefix
="$acl_save_prefix"
18119 if test "X$x" = "X$element"; then
18124 if test -z "$haveit"; then
18125 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18130 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18134 acl_save_prefix
="$prefix"
18135 prefix
="$acl_final_prefix"
18136 acl_save_exec_prefix
="$exec_prefix"
18137 exec_prefix
="$acl_final_exec_prefix"
18139 exec_prefix
="$acl_save_exec_prefix"
18140 prefix
="$acl_save_prefix"
18142 if test "X$x" = "X$element"; then
18147 if test -z "$haveit"; then
18148 LIBS
="${LIBS}${LIBS:+ }$element"
18153 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18167 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18168 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18169 $as_echo_n "(cached) " >&6
18172 ac_check_framework_save_LIBS
=$LIBS
18173 LIBS
="-framework JavaScriptCore $LIBS"
18174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18177 #include <JavaScriptCore/JSBase.h>
18183 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18189 if ac_fn_cxx_try_link
"$LINENO"; then :
18191 ac_cv_framework_JavaScriptCore
=yes
18194 ac_cv_framework_JavaScriptCore
=no
18196 rm -f core conftest.err conftest.
$ac_objext \
18197 conftest
$ac_exeext conftest.
$ac_ext
18198 LIBS
=$ac_check_framework_save_LIBS
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18202 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18203 if test $ac_cv_framework_JavaScriptCore = yes; then :
18206 for element
in "-framework JavaScriptCore"; do
18210 acl_save_prefix
="$prefix"
18211 prefix
="$acl_final_prefix"
18212 acl_save_exec_prefix
="$exec_prefix"
18213 exec_prefix
="$acl_final_exec_prefix"
18215 exec_prefix
="$acl_save_exec_prefix"
18216 prefix
="$acl_save_prefix"
18218 if test "X$x" = "X$element"; then
18223 if test -z "$haveit"; then
18224 LIBS
="${LIBS}${LIBS:+ }$element"
18235 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18239 $as_echo_n "checking for WEBKIT... " >&6; }
18241 if test -n "$WEBKIT_CFLAGS"; then
18242 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18243 elif test -n "$PKG_CONFIG"; then
18244 if test -n "$PKG_CONFIG" && \
18245 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18246 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18249 test $ac_status = 0; }; then
18250 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18257 if test -n "$WEBKIT_LIBS"; then
18258 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18259 elif test -n "$PKG_CONFIG"; then
18260 if test -n "$PKG_CONFIG" && \
18261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18262 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18265 test $ac_status = 0; }; then
18266 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18276 if test $pkg_failed = yes; then
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18278 $as_echo "no" >&6; }
18280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18281 _pkg_short_errors_supported
=yes
18283 _pkg_short_errors_supported
=no
18285 if test $_pkg_short_errors_supported = yes; then
18286 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18288 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18290 # Put the nasty error message in config.log where it belongs
18291 echo "$WEBKIT_PKG_ERRORS" >&5
18294 elif test $pkg_failed = untried
; then
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18296 $as_echo "no" >&6; }
18299 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18300 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18302 $as_echo "yes" >&6; }
18307 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18309 for x
in $CPPFLAGS; do
18311 acl_save_prefix
="$prefix"
18312 prefix
="$acl_final_prefix"
18313 acl_save_exec_prefix
="$exec_prefix"
18314 exec_prefix
="$acl_final_exec_prefix"
18316 exec_prefix
="$acl_save_exec_prefix"
18317 prefix
="$acl_save_prefix"
18319 if test "X$x" = "X$element"; then
18324 if test -z "$haveit"; then
18325 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18330 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18334 acl_save_prefix
="$prefix"
18335 prefix
="$acl_final_prefix"
18336 acl_save_exec_prefix
="$exec_prefix"
18337 exec_prefix
="$acl_final_exec_prefix"
18339 exec_prefix
="$acl_save_exec_prefix"
18340 prefix
="$acl_save_prefix"
18342 if test "X$x" = "X$element"; then
18347 if test -z "$haveit"; then
18348 LIBS
="${LIBS}${LIBS:+ }$element"
18353 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18359 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18367 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18368 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18369 $as_echo_n "(cached) " >&6
18372 ac_check_framework_save_LIBS
=$LIBS
18373 LIBS
="-framework JavaScriptCore $LIBS"
18374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18377 #include <JavaScriptCore/JSBase.h>
18383 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18389 if ac_fn_cxx_try_link
"$LINENO"; then :
18391 ac_cv_framework_JavaScriptCore
=yes
18394 ac_cv_framework_JavaScriptCore
=no
18396 rm -f core conftest.err conftest.
$ac_objext \
18397 conftest
$ac_exeext conftest.
$ac_ext
18398 LIBS
=$ac_check_framework_save_LIBS
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18402 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18403 if test $ac_cv_framework_JavaScriptCore = yes; then :
18406 for element
in "-framework JavaScriptCore"; do
18410 acl_save_prefix
="$prefix"
18411 prefix
="$acl_final_prefix"
18412 acl_save_exec_prefix
="$exec_prefix"
18413 exec_prefix
="$acl_final_exec_prefix"
18415 exec_prefix
="$acl_save_exec_prefix"
18416 prefix
="$acl_save_prefix"
18418 if test "X$x" = "X$element"; then
18423 if test -z "$haveit"; then
18424 LIBS
="${LIBS}${LIBS:+ }$element"
18435 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18439 $as_echo_n "checking for WEBKIT... " >&6; }
18441 if test -n "$WEBKIT_CFLAGS"; then
18442 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18443 elif test -n "$PKG_CONFIG"; then
18444 if test -n "$PKG_CONFIG" && \
18445 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18446 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18449 test $ac_status = 0; }; then
18450 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18457 if test -n "$WEBKIT_LIBS"; then
18458 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18459 elif test -n "$PKG_CONFIG"; then
18460 if test -n "$PKG_CONFIG" && \
18461 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18462 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18465 test $ac_status = 0; }; then
18466 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18476 if test $pkg_failed = yes; then
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18478 $as_echo "no" >&6; }
18480 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18481 _pkg_short_errors_supported
=yes
18483 _pkg_short_errors_supported
=no
18485 if test $_pkg_short_errors_supported = yes; then
18486 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18488 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18490 # Put the nasty error message in config.log where it belongs
18491 echo "$WEBKIT_PKG_ERRORS" >&5
18494 elif test $pkg_failed = untried
; then
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18496 $as_echo "no" >&6; }
18499 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18500 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18502 $as_echo "yes" >&6; }
18507 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18509 for x
in $CPPFLAGS; do
18511 acl_save_prefix
="$prefix"
18512 prefix
="$acl_final_prefix"
18513 acl_save_exec_prefix
="$exec_prefix"
18514 exec_prefix
="$acl_final_exec_prefix"
18516 exec_prefix
="$acl_save_exec_prefix"
18517 prefix
="$acl_save_prefix"
18519 if test "X$x" = "X$element"; then
18524 if test -z "$haveit"; then
18525 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18530 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18534 acl_save_prefix
="$prefix"
18535 prefix
="$acl_final_prefix"
18536 acl_save_exec_prefix
="$exec_prefix"
18537 exec_prefix
="$acl_final_exec_prefix"
18539 exec_prefix
="$acl_save_exec_prefix"
18540 prefix
="$acl_save_prefix"
18542 if test "X$x" = "X$element"; then
18547 if test -z "$haveit"; then
18548 LIBS
="${LIBS}${LIBS:+ }$element"
18553 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18564 if test "$target_os" = "os2-emx"; then
18565 # Scripts don't pass test -x on OS/2
18571 acceptable_majors
="1"
18573 apr_temp_acceptable_apr_config
=""
18574 for apr_temp_major
in $acceptable_majors
18576 case $apr_temp_major in
18578 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
18581 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
18587 $as_echo_n "checking for APR... " >&6; }
18589 # Check whether --with-apr was given.
18590 if test "${with_apr+set}" = set; then :
18592 if test "$withval" = "no" || test "$withval" = "yes"; then
18593 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
18596 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
18598 for lookdir
in "$withval/bin" "$withval"
18600 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
18601 apr_config
="$lookdir/$apr_temp_apr_config_file"
18609 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
18610 apr_config
="$withval"
18614 if test "$apr_found" != "yes"; then
18615 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
18620 if test -n "1" && test "1" = "1"; then
18621 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
18623 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
18624 apr_config
="$apr_temp_apr_config_file"
18629 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
18630 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
18631 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
18640 if test "$apr_found" = "no" && test -d ""; then
18641 apr_temp_abs_srcdir
="`cd && pwd`"
18642 apr_found
="reconfig"
18643 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
18644 case $apr_bundled_major in
18646 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
18649 apr_temp_apr_config_file
="apr-config"
18652 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
18655 if test -n ""; then
18656 apr_config
="/$apr_temp_apr_config_file"
18658 apr_config
="/$apr_temp_apr_config_file"
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
18666 $as_echo "$apr_found" >&6; }
18668 case $apr_found in #(
18672 for element
in `$apr_config --includes`; do
18674 for x
in $CPPFLAGS; do
18676 acl_save_prefix
="$prefix"
18677 prefix
="$acl_final_prefix"
18678 acl_save_exec_prefix
="$exec_prefix"
18679 exec_prefix
="$acl_final_exec_prefix"
18681 exec_prefix
="$acl_save_exec_prefix"
18682 prefix
="$acl_save_prefix"
18684 if test "X$x" = "X$element"; then
18689 if test -z "$haveit"; then
18690 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18695 for element
in `$apr_config --link-libtool`; do
18697 for x
in $LTLIBAPR; do
18699 acl_save_prefix
="$prefix"
18700 prefix
="$acl_final_prefix"
18701 acl_save_exec_prefix
="$exec_prefix"
18702 exec_prefix
="$acl_final_exec_prefix"
18704 exec_prefix
="$acl_save_exec_prefix"
18705 prefix
="$acl_save_prefix"
18707 if test "X$x" = "X$element"; then
18712 if test -z "$haveit"; then
18713 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
18720 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5 ;;
18725 if test "x$CY_EXECUTE" = x1
; then
18727 CY_EXECUTE_FALSE
='#'
18729 CY_EXECUTE_TRUE
='#'
18735 case $CY_EXECUTE in #(
18738 for ac_header
in ffi.h ffi
/ffi.h
18740 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18741 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18742 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18743 cat >>confdefs.h
<<_ACEOF
18744 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18755 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
18759 C compiler flags
for LIBFFI
, overriding pkg
-config
18760 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
18764 $as_echo_n "checking for LIBFFI... " >&6; }
18766 if test -n "$LIBFFI_CFLAGS"; then
18767 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
18768 elif test -n "$PKG_CONFIG"; then
18769 if test -n "$PKG_CONFIG" && \
18770 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
18771 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
18773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18774 test $ac_status = 0; }; then
18775 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
18782 if test -n "$LIBFFI_LIBS"; then
18783 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
18784 elif test -n "$PKG_CONFIG"; then
18785 if test -n "$PKG_CONFIG" && \
18786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
18787 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
18789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18790 test $ac_status = 0; }; then
18791 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
18801 if test $pkg_failed = yes; then
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18803 $as_echo "no" >&6; }
18805 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18806 _pkg_short_errors_supported
=yes
18808 _pkg_short_errors_supported
=no
18810 if test $_pkg_short_errors_supported = yes; then
18811 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
18813 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
18815 # Put the nasty error message in config.log where it belongs
18816 echo "$LIBFFI_PKG_ERRORS" >&5
18818 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
18819 elif test $pkg_failed = untried
; then
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18821 $as_echo "no" >&6; }
18822 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
18824 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
18825 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18827 $as_echo "yes" >&6; }
18830 for element
in `$PKG_CONFIG --cflags libffi`; do
18832 for x
in $CPPFLAGS; do
18834 acl_save_prefix
="$prefix"
18835 prefix
="$acl_final_prefix"
18836 acl_save_exec_prefix
="$exec_prefix"
18837 exec_prefix
="$acl_final_exec_prefix"
18839 exec_prefix
="$acl_save_exec_prefix"
18840 prefix
="$acl_save_prefix"
18842 if test "X$x" = "X$element"; then
18847 if test -z "$haveit"; then
18848 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18853 for element
in `$PKG_CONFIG --libs libffi`; do
18857 acl_save_prefix
="$prefix"
18858 prefix
="$acl_final_prefix"
18859 acl_save_exec_prefix
="$exec_prefix"
18860 exec_prefix
="$acl_final_exec_prefix"
18862 exec_prefix
="$acl_save_exec_prefix"
18863 prefix
="$acl_save_prefix"
18865 if test "X$x" = "X$element"; then
18870 if test -z "$haveit"; then
18871 LIBS
="${LIBS}${LIBS:+ }$element"
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
18881 $as_echo_n "checking for library containing ffi_call... " >&6; }
18882 if ${ac_cv_search_ffi_call+:} false
; then :
18883 $as_echo_n "(cached) " >&6
18885 ac_func_search_save_LIBS
=$LIBS
18886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18889 /* Override any GCC internal prototype to avoid an error.
18890 Use char because int might match the return type of a GCC
18891 builtin and then its argument prototype would still apply. */
18899 return ffi_call ();
18904 for ac_lib
in '' ffi
; do
18905 if test -z "$ac_lib"; then
18906 ac_res
="none required"
18909 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18911 if ac_fn_cxx_try_link
"$LINENO"; then :
18912 ac_cv_search_ffi_call
=$ac_res
18914 rm -f core conftest.err conftest.
$ac_objext \
18916 if ${ac_cv_search_ffi_call+:} false
; then :
18920 if ${ac_cv_search_ffi_call+:} false
; then :
18923 ac_cv_search_ffi_call
=no
18925 rm conftest.
$ac_ext
18926 LIBS
=$ac_func_search_save_LIBS
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
18929 $as_echo "$ac_cv_search_ffi_call" >&6; }
18930 ac_res
=$ac_cv_search_ffi_call
18931 if test "$ac_res" != no
; then :
18932 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18936 case $ac_cv_search_ffi_call in #(
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
18942 $as_echo_n "checking for LIBFFI... " >&6; }
18944 if test -n "$LIBFFI_CFLAGS"; then
18945 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
18946 elif test -n "$PKG_CONFIG"; then
18947 if test -n "$PKG_CONFIG" && \
18948 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
18949 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
18951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18952 test $ac_status = 0; }; then
18953 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
18960 if test -n "$LIBFFI_LIBS"; then
18961 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
18962 elif test -n "$PKG_CONFIG"; then
18963 if test -n "$PKG_CONFIG" && \
18964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
18965 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
18967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18968 test $ac_status = 0; }; then
18969 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
18979 if test $pkg_failed = yes; then
18980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18981 $as_echo "no" >&6; }
18983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18984 _pkg_short_errors_supported
=yes
18986 _pkg_short_errors_supported
=no
18988 if test $_pkg_short_errors_supported = yes; then
18989 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
18991 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
18993 # Put the nasty error message in config.log where it belongs
18994 echo "$LIBFFI_PKG_ERRORS" >&5
18996 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
18997 elif test $pkg_failed = untried
; then
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18999 $as_echo "no" >&6; }
19000 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19002 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19003 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19005 $as_echo "yes" >&6; }
19008 for element
in `$PKG_CONFIG --cflags libffi`; do
19010 for x
in $CPPFLAGS; do
19012 acl_save_prefix
="$prefix"
19013 prefix
="$acl_final_prefix"
19014 acl_save_exec_prefix
="$exec_prefix"
19015 exec_prefix
="$acl_final_exec_prefix"
19017 exec_prefix
="$acl_save_exec_prefix"
19018 prefix
="$acl_save_prefix"
19020 if test "X$x" = "X$element"; then
19025 if test -z "$haveit"; then
19026 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19031 for element
in `$PKG_CONFIG --libs libffi`; do
19035 acl_save_prefix
="$prefix"
19036 prefix
="$acl_final_prefix"
19037 acl_save_exec_prefix
="$exec_prefix"
19038 exec_prefix
="$acl_final_exec_prefix"
19040 exec_prefix
="$acl_save_exec_prefix"
19041 prefix
="$acl_save_prefix"
19043 if test "X$x" = "X$element"; then
19048 if test -z "$haveit"; then
19049 LIBS
="${LIBS}${LIBS:+ }$element"
19066 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19067 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19068 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19069 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19073 $as_echo_n "checking if we really have Objective C++... " >&6; }
19074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19075 /* end confdefs.h. */
19078 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19082 $as_echo "yes" >&6; }
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19086 $as_echo "no" >&6; }
19088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19090 if test "x$CY_OBJECTIVEC" = x1
; then :
19093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19094 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19095 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19096 $as_echo_n "(cached) " >&6
19099 ac_check_framework_save_LIBS
=$LIBS
19100 LIBS
="-framework CoreFoundation $LIBS"
19101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19102 /* end confdefs.h. */
19104 #include <CoreFoundation/CFBase.h>
19109 CFAllocatorGetDefault();
19114 if ac_fn_objcxx_try_link
"$LINENO"; then :
19116 ac_cv_framework_CoreFoundation
=yes
19119 ac_cv_framework_CoreFoundation
=no
19121 rm -f core conftest.err conftest.
$ac_objext \
19122 conftest
$ac_exeext conftest.
$ac_ext
19123 LIBS
=$ac_check_framework_save_LIBS
19126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19127 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19128 if test $ac_cv_framework_CoreFoundation = yes; then :
19131 for element
in "-framework CoreFoundation"; do
19135 acl_save_prefix
="$prefix"
19136 prefix
="$acl_final_prefix"
19137 acl_save_exec_prefix
="$exec_prefix"
19138 exec_prefix
="$acl_final_exec_prefix"
19140 exec_prefix
="$acl_save_exec_prefix"
19141 prefix
="$acl_save_prefix"
19143 if test "X$x" = "X$element"; then
19148 if test -z "$haveit"; then
19149 LIBS
="${LIBS}${LIBS:+ }$element"
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19159 $as_echo_n "checking for framework Foundation... " >&6; }
19160 if ${ac_cv_framework_Foundation+:} false
; then :
19161 $as_echo_n "(cached) " >&6
19164 ac_check_framework_save_LIBS
=$LIBS
19165 LIBS
="-framework Foundation $LIBS"
19166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19169 #include <Foundation/NSObject.h>
19174 [[NSObject alloc] init];
19179 if ac_fn_objcxx_try_link
"$LINENO"; then :
19181 ac_cv_framework_Foundation
=yes
19184 ac_cv_framework_Foundation
=no
19186 rm -f core conftest.err conftest.
$ac_objext \
19187 conftest
$ac_exeext conftest.
$ac_ext
19188 LIBS
=$ac_check_framework_save_LIBS
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19192 $as_echo "$ac_cv_framework_Foundation" >&6; }
19193 if test $ac_cv_framework_Foundation = yes; then :
19196 for element
in "-framework Foundation"; do
19200 acl_save_prefix
="$prefix"
19201 prefix
="$acl_final_prefix"
19202 acl_save_exec_prefix
="$exec_prefix"
19203 exec_prefix
="$acl_final_exec_prefix"
19205 exec_prefix
="$acl_save_exec_prefix"
19206 prefix
="$acl_save_prefix"
19208 if test "X$x" = "X$element"; then
19213 if test -z "$haveit"; then
19214 LIBS
="${LIBS}${LIBS:+ }$element"
19218 cat >>confdefs.h
<<_ACEOF
19219 #define HAVE_FRAMEWORK_FOUNDATION 1
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
19228 $as_echo_n "checking for framework WebKit... " >&6; }
19229 if ${ac_cv_framework_WebKit+:} false
; then :
19230 $as_echo_n "(cached) " >&6
19233 ac_check_framework_save_LIBS
=$LIBS
19234 LIBS
="-framework WebKit $LIBS"
19235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19236 /* end confdefs.h. */
19238 #include <WebKit/WebScriptObject.h>
19243 [[WebScriptObject alloc] init];
19248 if ac_fn_objcxx_try_link
"$LINENO"; then :
19250 ac_cv_framework_WebKit
=yes
19253 ac_cv_framework_WebKit
=no
19255 rm -f core conftest.err conftest.
$ac_objext \
19256 conftest
$ac_exeext conftest.
$ac_ext
19257 LIBS
=$ac_check_framework_save_LIBS
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
19261 $as_echo "$ac_cv_framework_WebKit" >&6; }
19262 if test $ac_cv_framework_WebKit = yes; then :
19265 for element
in "-framework WebKit"; do
19269 acl_save_prefix
="$prefix"
19270 prefix
="$acl_final_prefix"
19271 acl_save_exec_prefix
="$exec_prefix"
19272 exec_prefix
="$acl_final_exec_prefix"
19274 exec_prefix
="$acl_save_exec_prefix"
19275 prefix
="$acl_save_prefix"
19277 if test "X$x" = "X$element"; then
19282 if test -z "$haveit"; then
19283 LIBS
="${LIBS}${LIBS:+ }$element"
19287 cat >>confdefs.h
<<_ACEOF
19288 #define HAVE_FRAMEWORK_WEBKIT 1
19298 for ac_prog
in gnustep
-config
19300 # Extract the first word of "$ac_prog", so it can be a program name with args.
19301 set dummy
$ac_prog; ac_word
=$2
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19303 $as_echo_n "checking for $ac_word... " >&6; }
19304 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19305 $as_echo_n "(cached) " >&6
19307 if test -n "$GNUSTEP_CONFIG"; then
19308 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19311 for as_dir
in $PATH
19314 test -z "$as_dir" && as_dir
=.
19315 for ac_exec_ext
in '' $ac_executable_extensions; do
19316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19317 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19327 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19328 if test -n "$GNUSTEP_CONFIG"; then
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19330 $as_echo "$GNUSTEP_CONFIG" >&6; }
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19333 $as_echo "no" >&6; }
19337 test -n "$GNUSTEP_CONFIG" && break
19341 if test "x$GNUSTEP_CONFIG" != x
; then :
19345 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19347 for x
in $OBJCXXFLAGS; do
19349 acl_save_prefix
="$prefix"
19350 prefix
="$acl_final_prefix"
19351 acl_save_exec_prefix
="$exec_prefix"
19352 exec_prefix
="$acl_final_exec_prefix"
19354 exec_prefix
="$acl_save_exec_prefix"
19355 prefix
="$acl_save_prefix"
19357 if test "X$x" = "X$element"; then
19362 if test -z "$haveit"; then
19363 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19368 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19372 acl_save_prefix
="$prefix"
19373 prefix
="$acl_final_prefix"
19374 acl_save_exec_prefix
="$exec_prefix"
19375 exec_prefix
="$acl_final_exec_prefix"
19377 exec_prefix
="$acl_save_exec_prefix"
19378 prefix
="$acl_save_prefix"
19380 if test "X$x" = "X$element"; then
19385 if test -z "$haveit"; then
19386 LIBS
="${LIBS}${LIBS:+ }$element"
19401 ac_cpp
='$CXXCPP $CPPFLAGS'
19402 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19403 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19404 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19411 if test "x$CY_OBJECTIVEC" = x1
; then
19412 CY_OBJECTIVEC_TRUE
=
19413 CY_OBJECTIVEC_FALSE
='#'
19415 CY_OBJECTIVEC_TRUE
='#'
19416 CY_OBJECTIVEC_FALSE
=
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19425 $as_echo_n "checking for a readline compatible library... " >&6; }
19426 if ${ax_cv_lib_readline+:} false
; then :
19427 $as_echo_n "(cached) " >&6
19431 for readline_lib
in readline edit editline
; do
19432 for termcap_lib
in "" termcap curses ncurses
; do
19433 if test -z "$termcap_lib"; then
19434 TRY_LIB
="-l$readline_lib"
19436 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19438 LIBS
="$ORIG_LIBS $TRY_LIB"
19439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19440 /* end confdefs.h. */
19442 /* Override any GCC internal prototype to avoid an error.
19443 Use char because int might match the return type of a GCC
19444 builtin and then its argument prototype would still apply. */
19452 return readline ();
19457 if ac_fn_cxx_try_link
"$LINENO"; then :
19458 ax_cv_lib_readline
="$TRY_LIB"
19460 rm -f core conftest.err conftest.
$ac_objext \
19461 conftest
$ac_exeext conftest.
$ac_ext
19462 if test -n "$ax_cv_lib_readline"; then
19466 if test -n "$ax_cv_lib_readline"; then
19470 if test -z "$ax_cv_lib_readline"; then
19471 ax_cv_lib_readline
="no"
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19477 $as_echo "$ax_cv_lib_readline" >&6; }
19479 if test "$ax_cv_lib_readline" != "no"; then
19480 LIBS
="$LIBS $ax_cv_lib_readline"
19482 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19484 for ac_header
in readline.h readline
/readline.h
19486 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19487 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19488 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19489 cat >>confdefs.h
<<_ACEOF
19490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19498 $as_echo_n "checking whether readline supports history... " >&6; }
19499 if ${ax_cv_lib_readline_history+:} false
; then :
19500 $as_echo_n "(cached) " >&6
19503 ax_cv_lib_readline_history
="no"
19504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19507 /* Override any GCC internal prototype to avoid an error.
19508 Use char because int might match the return type of a GCC
19509 builtin and then its argument prototype would still apply. */
19513 char add_history ();
19517 return add_history ();
19522 if ac_fn_cxx_try_link
"$LINENO"; then :
19523 ax_cv_lib_readline_history
="yes"
19525 rm -f core conftest.err conftest.
$ac_objext \
19526 conftest
$ac_exeext conftest.
$ac_ext
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
19530 $as_echo "$ax_cv_lib_readline_history" >&6; }
19531 if test "$ax_cv_lib_readline_history" = "yes"; then
19533 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
19535 for ac_header
in history.h readline
/history.h
19537 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19538 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19539 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19540 cat >>confdefs.h
<<_ACEOF
19541 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19551 LTLIBREADLINE
=$LIBS
19555 case $ax_cv_lib_readline in #(
19557 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
19566 $as_echo_n "checking for library containing cur_term... " >&6; }
19567 if ${ac_cv_search_cur_term+:} false
; then :
19568 $as_echo_n "(cached) " >&6
19570 ac_func_search_save_LIBS
=$LIBS
19571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19572 /* end confdefs.h. */
19574 /* Override any GCC internal prototype to avoid an error.
19575 Use char because int might match the return type of a GCC
19576 builtin and then its argument prototype would still apply. */
19584 return cur_term ();
19589 for ac_lib
in '' termcap
; do
19590 if test -z "$ac_lib"; then
19591 ac_res
="none required"
19594 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19596 if ac_fn_cxx_try_link
"$LINENO"; then :
19597 ac_cv_search_cur_term
=$ac_res
19599 rm -f core conftest.err conftest.
$ac_objext \
19601 if ${ac_cv_search_cur_term+:} false
; then :
19605 if ${ac_cv_search_cur_term+:} false
; then :
19608 ac_cv_search_cur_term
=no
19610 rm conftest.
$ac_ext
19611 LIBS
=$ac_func_search_save_LIBS
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
19614 $as_echo "$ac_cv_search_cur_term" >&6; }
19615 ac_res
=$ac_cv_search_cur_term
19616 if test "$ac_res" != no
; then :
19617 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19627 ac_cpp
='$CPP $CPPFLAGS'
19628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19633 if test "X$prefix" = "XNONE"; then
19634 acl_final_prefix
="$ac_default_prefix"
19636 acl_final_prefix
="$prefix"
19638 if test "X$exec_prefix" = "XNONE"; then
19639 acl_final_exec_prefix
='${prefix}'
19641 acl_final_exec_prefix
="$exec_prefix"
19643 acl_save_prefix
="$prefix"
19644 prefix
="$acl_final_prefix"
19645 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
19646 prefix
="$acl_save_prefix"
19650 # Check whether --with-gnu-ld was given.
19651 if test "${with_gnu_ld+set}" = set; then :
19652 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
19657 # Prepare PATH_SEPARATOR.
19658 # The user is always right.
19659 if test "${PATH_SEPARATOR+set}" != set; then
19660 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
19661 # contains only /bin. Note that ksh looks also at the FPATH variable,
19662 # so we have to set that as well for the test.
19664 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
19665 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
19666 || PATH_SEPARATOR
=';'
19671 if test "$GCC" = yes; then
19672 # Check if gcc -print-prog-name=ld gives a path.
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19674 $as_echo_n "checking for ld used by $CC... " >&6; }
19677 # gcc leaves a trailing carriage return which upsets mingw
19678 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19680 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
19683 # Accept absolute paths.
19685 re_direlt
='/[^/][^/]*/\.\./'
19686 # Canonicalize the pathname of ld
19687 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
19688 while echo "$ac_prog" | grep "$re_direlt" > /dev
/null
2>&1; do
19689 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
19691 test -z "$LD" && LD
="$ac_prog"
19694 # If it fails, then pretend we aren't using GCC.
19698 # If it is relative, then search for the first ld in PATH.
19699 with_gnu_ld
=unknown
19702 elif test "$with_gnu_ld" = yes; then
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19704 $as_echo_n "checking for GNU ld... " >&6; }
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19707 $as_echo_n "checking for non-GNU ld... " >&6; }
19709 if ${acl_cv_path_LD+:} false
; then :
19710 $as_echo_n "(cached) " >&6
19712 if test -z "$LD"; then
19713 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
19714 for ac_dir
in $PATH; do
19715 IFS
="$acl_save_ifs"
19716 test -z "$ac_dir" && ac_dir
=.
19717 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19718 acl_cv_path_LD
="$ac_dir/$ac_prog"
19719 # Check to see if the program is GNU ld. I'd rather use --version,
19720 # but apparently some variants of GNU ld only accept -v.
19721 # Break only if it was the GNU/non-GNU ld that we prefer.
19722 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
19723 *GNU
* | *'with BFD'*)
19724 test "$with_gnu_ld" != no
&& break
19727 test "$with_gnu_ld" != yes && break
19732 IFS
="$acl_save_ifs"
19734 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
19738 LD
="$acl_cv_path_LD"
19739 if test -n "$LD"; then
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19741 $as_echo "$LD" >&6; }
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19744 $as_echo "no" >&6; }
19746 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19748 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19749 if ${acl_cv_prog_gnu_ld+:} false
; then :
19750 $as_echo_n "(cached) " >&6
19752 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19753 case `$LD -v 2>&1 </dev/null` in
19754 *GNU
* | *'with BFD'*)
19755 acl_cv_prog_gnu_ld
=yes
19758 acl_cv_prog_gnu_ld
=no
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
19763 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
19764 with_gnu_ld
=$acl_cv_prog_gnu_ld
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
19770 $as_echo_n "checking for shared library run path origin... " >&6; }
19771 if ${acl_cv_rpath+:} false
; then :
19772 $as_echo_n "(cached) " >&6
19775 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
19776 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
19778 rm -f .
/conftest.sh
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
19783 $as_echo "$acl_cv_rpath" >&6; }
19785 acl_libext
="$acl_cv_libext"
19786 acl_shlibext
="$acl_cv_shlibext"
19787 acl_libname_spec
="$acl_cv_libname_spec"
19788 acl_library_names_spec
="$acl_cv_library_names_spec"
19789 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
19790 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
19791 acl_hardcode_direct
="$acl_cv_hardcode_direct"
19792 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
19793 # Check whether --enable-rpath was given.
19794 if test "${enable_rpath+set}" = set; then :
19795 enableval
=$enable_rpath; :
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
19808 $as_echo_n "checking for 64-bit host... " >&6; }
19809 if ${gl_cv_solaris_64bit+:} false
; then :
19810 $as_echo_n "(cached) " >&6
19812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19813 /* end confdefs.h. */
19820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19821 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
19822 gl_cv_solaris_64bit
=yes
19824 gl_cv_solaris_64bit
=no
19830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
19831 $as_echo "$gl_cv_solaris_64bit" >&6; }
19832 if test $gl_cv_solaris_64bit = yes; then
19833 acl_libdirstem
=lib
/64
19834 case "$host_cpu" in
19835 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
19836 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
19841 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
19842 if test -n "$searchpath"; then
19843 acl_save_IFS
="${IFS= }"; IFS
=":"
19844 for searchdir
in $searchpath; do
19845 if test -d "$searchdir"; then
19846 case "$searchdir" in
19847 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
19849 # Better ignore directories of this form. They are misleading.
19851 *) searchdir
=`cd "$searchdir" && pwd`
19852 case "$searchdir" in
19853 */lib64
) acl_libdirstem
=lib64
;;
19858 IFS
="$acl_save_IFS"
19862 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
19877 acl_save_prefix
="$prefix"
19878 prefix
="$acl_final_prefix"
19879 acl_save_exec_prefix
="$exec_prefix"
19880 exec_prefix
="$acl_final_exec_prefix"
19882 eval additional_includedir
=\"$includedir\"
19883 eval additional_libdir
=\"$libdir\"
19885 exec_prefix
="$acl_save_exec_prefix"
19886 prefix
="$acl_save_prefix"
19889 # Check whether --with-libiconv-prefix was given.
19890 if test "${with_libiconv_prefix+set}" = set; then :
19891 withval
=$with_libiconv_prefix;
19892 if test "X$withval" = "Xno"; then
19895 if test "X$withval" = "X"; then
19897 acl_save_prefix
="$prefix"
19898 prefix
="$acl_final_prefix"
19899 acl_save_exec_prefix
="$exec_prefix"
19900 exec_prefix
="$acl_final_exec_prefix"
19902 eval additional_includedir
=\"$includedir\"
19903 eval additional_libdir
=\"$libdir\"
19905 exec_prefix
="$acl_save_exec_prefix"
19906 prefix
="$acl_save_prefix"
19909 additional_includedir
="$withval/include"
19910 additional_libdir
="$withval/$acl_libdirstem"
19911 if test "$acl_libdirstem2" != "$acl_libdirstem" \
19912 && ! test -d "$withval/$acl_libdirstem"; then
19913 additional_libdir
="$withval/$acl_libdirstem2"
19927 names_already_handled
=
19928 names_next_round
='iconv '
19929 while test -n "$names_next_round"; do
19930 names_this_round
="$names_next_round"
19932 for name
in $names_this_round; do
19934 for n
in $names_already_handled; do
19935 if test "$n" = "$name"; then
19936 already_handled
=yes
19940 if test -z "$already_handled"; then
19941 names_already_handled
="$names_already_handled $name"
19942 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
19943 eval value
=\"\
$HAVE_LIB$uppername\"
19944 if test -n "$value"; then
19945 if test "$value" = yes; then
19946 eval value
=\"\
$LIB$uppername\"
19947 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
19948 eval value
=\"\
$LTLIB$uppername\"
19949 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
19958 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
19959 if test -n "$acl_shlibext"; then
19960 shrext
=".$acl_shlibext" # typically: shrext=.so
19964 if test $use_additional = yes; then
19965 dir
="$additional_libdir"
19966 if test -n "$acl_shlibext"; then
19967 if test -f "$dir/$libname$shrext"; then
19969 found_so
="$dir/$libname$shrext"
19971 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19972 ver
=`(cd "$dir" && \
19973 for f in "$libname$shrext".*; do echo "$f"; done \
19974 | sed -e "s,^$libname$shrext\\\\.,," \
19975 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19976 | sed 1q ) 2>/dev/null`
19977 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19979 found_so
="$dir/$libname$shrext.$ver"
19982 eval library_names
=\"$acl_library_names_spec\"
19983 for f
in $library_names; do
19984 if test -f "$dir/$f"; then
19993 if test "X$found_dir" = "X"; then
19994 if test -f "$dir/$libname.$acl_libext"; then
19996 found_a
="$dir/$libname.$acl_libext"
19999 if test "X$found_dir" != "X"; then
20000 if test -f "$dir/$libname.la"; then
20001 found_la
="$dir/$libname.la"
20005 if test "X$found_dir" = "X"; then
20006 for x
in $LDFLAGS $LTLIBICONV; do
20008 acl_save_prefix
="$prefix"
20009 prefix
="$acl_final_prefix"
20010 acl_save_exec_prefix
="$exec_prefix"
20011 exec_prefix
="$acl_final_exec_prefix"
20013 exec_prefix
="$acl_save_exec_prefix"
20014 prefix
="$acl_save_prefix"
20018 dir
=`echo "X$x" | sed -e 's/^X-L//'`
20019 if test -n "$acl_shlibext"; then
20020 if test -f "$dir/$libname$shrext"; then
20022 found_so
="$dir/$libname$shrext"
20024 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20025 ver
=`(cd "$dir" && \
20026 for f in "$libname$shrext".*; do echo "$f"; done \
20027 | sed -e "s,^$libname$shrext\\\\.,," \
20028 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20029 | sed 1q ) 2>/dev/null`
20030 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20032 found_so
="$dir/$libname$shrext.$ver"
20035 eval library_names
=\"$acl_library_names_spec\"
20036 for f
in $library_names; do
20037 if test -f "$dir/$f"; then
20046 if test "X$found_dir" = "X"; then
20047 if test -f "$dir/$libname.$acl_libext"; then
20049 found_a
="$dir/$libname.$acl_libext"
20052 if test "X$found_dir" != "X"; then
20053 if test -f "$dir/$libname.la"; then
20054 found_la
="$dir/$libname.la"
20059 if test "X$found_dir" != "X"; then
20064 if test "X$found_dir" != "X"; then
20065 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
20066 if test "X$found_so" != "X"; then
20067 if test "$enable_rpath" = no \
20068 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
20069 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
20070 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20073 for x
in $ltrpathdirs; do
20074 if test "X$x" = "X$found_dir"; then
20079 if test -z "$haveit"; then
20080 ltrpathdirs
="$ltrpathdirs $found_dir"
20082 if test "$acl_hardcode_direct" = yes; then
20083 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20085 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
20086 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20088 for x
in $rpathdirs; do
20089 if test "X$x" = "X$found_dir"; then
20094 if test -z "$haveit"; then
20095 rpathdirs
="$rpathdirs $found_dir"
20099 for x
in $LDFLAGS $LIBICONV; do
20101 acl_save_prefix
="$prefix"
20102 prefix
="$acl_final_prefix"
20103 acl_save_exec_prefix
="$exec_prefix"
20104 exec_prefix
="$acl_final_exec_prefix"
20106 exec_prefix
="$acl_save_exec_prefix"
20107 prefix
="$acl_save_prefix"
20109 if test "X$x" = "X-L$found_dir"; then
20114 if test -z "$haveit"; then
20115 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20117 if test "$acl_hardcode_minus_L" != no
; then
20118 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20120 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20126 if test "X$found_a" != "X"; then
20127 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
20129 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20132 additional_includedir
=
20133 case "$found_dir" in
20134 */$acl_libdirstem | */$acl_libdirstem/)
20135 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
20136 if test "$name" = 'iconv'; then
20137 LIBICONV_PREFIX
="$basedir"
20139 additional_includedir
="$basedir/include"
20141 */$acl_libdirstem2 | */$acl_libdirstem2/)
20142 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
20143 if test "$name" = 'iconv'; then
20144 LIBICONV_PREFIX
="$basedir"
20146 additional_includedir
="$basedir/include"
20149 if test "X$additional_includedir" != "X"; then
20150 if test "X$additional_includedir" != "X/usr/include"; then
20152 if test "X$additional_includedir" = "X/usr/local/include"; then
20153 if test -n "$GCC"; then
20155 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20159 if test -z "$haveit"; then
20160 for x
in $CPPFLAGS $INCICONV; do
20162 acl_save_prefix
="$prefix"
20163 prefix
="$acl_final_prefix"
20164 acl_save_exec_prefix
="$exec_prefix"
20165 exec_prefix
="$acl_final_exec_prefix"
20167 exec_prefix
="$acl_save_exec_prefix"
20168 prefix
="$acl_save_prefix"
20170 if test "X$x" = "X-I$additional_includedir"; then
20175 if test -z "$haveit"; then
20176 if test -d "$additional_includedir"; then
20177 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20183 if test -n "$found_la"; then
20184 save_libdir
="$libdir"
20185 case "$found_la" in
20186 */* | *\\*) .
"$found_la" ;;
20187 *) .
"./$found_la" ;;
20189 libdir
="$save_libdir"
20190 for dep
in $dependency_libs; do
20193 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
20194 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
20195 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
20197 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
20198 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
20199 if test -n "$GCC"; then
20201 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20205 if test -z "$haveit"; then
20207 for x
in $LDFLAGS $LIBICONV; do
20209 acl_save_prefix
="$prefix"
20210 prefix
="$acl_final_prefix"
20211 acl_save_exec_prefix
="$exec_prefix"
20212 exec_prefix
="$acl_final_exec_prefix"
20214 exec_prefix
="$acl_save_exec_prefix"
20215 prefix
="$acl_save_prefix"
20217 if test "X$x" = "X-L$additional_libdir"; then
20222 if test -z "$haveit"; then
20223 if test -d "$additional_libdir"; then
20224 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20228 for x
in $LDFLAGS $LTLIBICONV; do
20230 acl_save_prefix
="$prefix"
20231 prefix
="$acl_final_prefix"
20232 acl_save_exec_prefix
="$exec_prefix"
20233 exec_prefix
="$acl_final_exec_prefix"
20235 exec_prefix
="$acl_save_exec_prefix"
20236 prefix
="$acl_save_prefix"
20238 if test "X$x" = "X-L$additional_libdir"; then
20243 if test -z "$haveit"; then
20244 if test -d "$additional_libdir"; then
20245 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20252 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
20253 if test "$enable_rpath" != no
; then
20255 for x
in $rpathdirs; do
20256 if test "X$x" = "X$dir"; then
20261 if test -z "$haveit"; then
20262 rpathdirs
="$rpathdirs $dir"
20265 for x
in $ltrpathdirs; do
20266 if test "X$x" = "X$dir"; then
20271 if test -z "$haveit"; then
20272 ltrpathdirs
="$ltrpathdirs $dir"
20277 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20280 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20283 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
20284 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20290 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20291 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20297 if test "X$rpathdirs" != "X"; then
20298 if test -n "$acl_hardcode_libdir_separator"; then
20300 for found_dir
in $rpathdirs; do
20301 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
20303 acl_save_libdir
="$libdir"
20305 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20306 libdir
="$acl_save_libdir"
20307 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20309 for found_dir
in $rpathdirs; do
20310 acl_save_libdir
="$libdir"
20311 libdir
="$found_dir"
20312 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20313 libdir
="$acl_save_libdir"
20314 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20318 if test "X$ltrpathdirs" != "X"; then
20319 for found_dir
in $ltrpathdirs; do
20320 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20335 am_save_CPPFLAGS
="$CPPFLAGS"
20337 for element
in $INCICONV; do
20339 for x
in $CPPFLAGS; do
20341 acl_save_prefix
="$prefix"
20342 prefix
="$acl_final_prefix"
20343 acl_save_exec_prefix
="$exec_prefix"
20344 exec_prefix
="$acl_final_exec_prefix"
20346 exec_prefix
="$acl_save_exec_prefix"
20347 prefix
="$acl_save_prefix"
20349 if test "X$x" = "X$element"; then
20354 if test -z "$haveit"; then
20355 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
20361 $as_echo_n "checking for iconv... " >&6; }
20362 if ${am_cv_func_iconv+:} false
; then :
20363 $as_echo_n "(cached) " >&6
20366 am_cv_func_iconv
="no, consider installing GNU libiconv"
20368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20369 /* end confdefs.h. */
20371 #include <stdlib.h>
20377 iconv_t cd = iconv_open("","");
20378 iconv(cd,NULL,NULL,NULL,NULL);
20384 if ac_fn_c_try_link
"$LINENO"; then :
20385 am_cv_func_iconv
=yes
20387 rm -f core conftest.err conftest.
$ac_objext \
20388 conftest
$ac_exeext conftest.
$ac_ext
20389 if test "$am_cv_func_iconv" != yes; then
20390 am_save_LIBS
="$LIBS"
20391 LIBS
="$LIBS $LIBICONV"
20392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20393 /* end confdefs.h. */
20395 #include <stdlib.h>
20401 iconv_t cd = iconv_open("","");
20402 iconv(cd,NULL,NULL,NULL,NULL);
20408 if ac_fn_c_try_link
"$LINENO"; then :
20409 am_cv_lib_iconv
=yes
20410 am_cv_func_iconv
=yes
20412 rm -f core conftest.err conftest.
$ac_objext \
20413 conftest
$ac_exeext conftest.
$ac_ext
20414 LIBS
="$am_save_LIBS"
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
20419 $as_echo "$am_cv_func_iconv" >&6; }
20420 if test "$am_cv_func_iconv" = yes; then
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
20422 $as_echo_n "checking for working iconv... " >&6; }
20423 if ${am_cv_func_iconv_works+:} false
; then :
20424 $as_echo_n "(cached) " >&6
20427 am_save_LIBS
="$LIBS"
20428 if test $am_cv_lib_iconv = yes; then
20429 LIBS
="$LIBS $LIBICONV"
20431 if test "$cross_compiling" = yes; then :
20434 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
20435 *) am_cv_func_iconv_works
="guessing yes" ;;
20439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20440 /* end confdefs.h. */
20443 #include <string.h>
20447 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
20450 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
20451 if (cd_utf8_to_88591 != (iconv_t)(-1))
20453 static const char input[] = "\342\202\254"; /* EURO SIGN */
20455 const char *inptr = input;
20456 size_t inbytesleft = strlen (input);
20457 char *outptr = buf;
20458 size_t outbytesleft = sizeof (buf);
20459 size_t res = iconv (cd_utf8_to_88591,
20460 (char **) &inptr, &inbytesleft,
20461 &outptr, &outbytesleft);
20464 iconv_close (cd_utf8_to_88591);
20467 /* Test against Solaris 10 bug: Failures are not distinguishable from
20468 successful returns. */
20470 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
20471 if (cd_ascii_to_88591 != (iconv_t)(-1))
20473 static const char input[] = "\263";
20475 const char *inptr = input;
20476 size_t inbytesleft = strlen (input);
20477 char *outptr = buf;
20478 size_t outbytesleft = sizeof (buf);
20479 size_t res = iconv (cd_ascii_to_88591,
20480 (char **) &inptr, &inbytesleft,
20481 &outptr, &outbytesleft);
20484 iconv_close (cd_ascii_to_88591);
20487 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
20489 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
20490 if (cd_88591_to_utf8 != (iconv_t)(-1))
20492 static const char input[] = "\304";
20493 static char buf[2] = { (char)0xDE, (char)0xAD };
20494 const char *inptr = input;
20495 size_t inbytesleft = 1;
20496 char *outptr = buf;
20497 size_t outbytesleft = 1;
20498 size_t res = iconv (cd_88591_to_utf8,
20499 (char **) &inptr, &inbytesleft,
20500 &outptr, &outbytesleft);
20501 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
20503 iconv_close (cd_88591_to_utf8);
20506 #if 0 /* This bug could be worked around by the caller. */
20507 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
20509 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
20510 if (cd_88591_to_utf8 != (iconv_t)(-1))
20512 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
20514 const char *inptr = input;
20515 size_t inbytesleft = strlen (input);
20516 char *outptr = buf;
20517 size_t outbytesleft = sizeof (buf);
20518 size_t res = iconv (cd_88591_to_utf8,
20519 (char **) &inptr, &inbytesleft,
20520 &outptr, &outbytesleft);
20523 iconv_close (cd_88591_to_utf8);
20527 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
20529 if (/* Try standardized names. */
20530 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
20531 /* Try IRIX, OSF/1 names. */
20532 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
20533 /* Try AIX names. */
20534 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
20535 /* Try HP-UX names. */
20536 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
20541 if ac_fn_c_try_run
"$LINENO"; then :
20542 am_cv_func_iconv_works
=yes
20544 am_cv_func_iconv_works
=no
20546 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20547 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20550 LIBS
="$am_save_LIBS"
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
20554 $as_echo "$am_cv_func_iconv_works" >&6; }
20555 case "$am_cv_func_iconv_works" in
20556 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
20557 *) am_func_iconv
=yes ;;
20560 am_func_iconv
=no am_cv_lib_iconv
=no
20562 if test "$am_func_iconv" = yes; then
20564 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
20567 if test "$am_cv_lib_iconv" = yes; then
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
20569 $as_echo_n "checking how to link with libiconv... " >&6; }
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
20571 $as_echo "$LIBICONV" >&6; }
20573 CPPFLAGS
="$am_save_CPPFLAGS"
20580 if test "$am_cv_func_iconv" = yes; then
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
20582 $as_echo_n "checking for iconv declaration... " >&6; }
20583 if ${am_cv_proto_iconv+:} false
; then :
20584 $as_echo_n "(cached) " >&6
20587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20588 /* end confdefs.h. */
20590 #include <stdlib.h>
20596 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
20597 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
20610 if ac_fn_c_try_compile
"$LINENO"; then :
20611 am_cv_proto_iconv_arg1
=""
20613 am_cv_proto_iconv_arg1
="const"
20615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20616 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);"
20619 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
20621 $am_cv_proto_iconv" >&5
20623 $am_cv_proto_iconv" >&6; }
20625 cat >>confdefs.h
<<_ACEOF
20626 #define ICONV_CONST $am_cv_proto_iconv_arg1
20632 case $am_cv_func_iconv in #(
20636 as_fn_error $?
"missing \"libiconv\"" "$LINENO" 5 ;;
20639 ac_cpp
='$CXXCPP $CPPFLAGS'
20640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20649 if test "x$CY_EXECUTE" = x1
; then :
20651 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20652 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20654 if test -n "$ac_tool_prefix"; then
20655 for ac_prog
in lipo
20657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20658 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20660 $as_echo_n "checking for $ac_word... " >&6; }
20661 if ${ac_cv_prog__LIPO+:} false
; then :
20662 $as_echo_n "(cached) " >&6
20664 if test -n "$_LIPO"; then
20665 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20668 for as_dir
in $PATH
20671 test -z "$as_dir" && as_dir
=.
20672 for ac_exec_ext
in '' $ac_executable_extensions; do
20673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20674 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20684 _LIPO
=$ac_cv_prog__LIPO
20685 if test -n "$_LIPO"; then
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20687 $as_echo "$_LIPO" >&6; }
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20690 $as_echo "no" >&6; }
20694 test -n "$_LIPO" && break
20697 if test -z "$_LIPO"; then
20699 for ac_prog
in lipo
20701 # Extract the first word of "$ac_prog", so it can be a program name with args.
20702 set dummy
$ac_prog; ac_word
=$2
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20704 $as_echo_n "checking for $ac_word... " >&6; }
20705 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20706 $as_echo_n "(cached) " >&6
20708 if test -n "$ac_ct__LIPO"; then
20709 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20712 for as_dir
in $PATH
20715 test -z "$as_dir" && as_dir
=.
20716 for ac_exec_ext
in '' $ac_executable_extensions; do
20717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20718 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20728 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20729 if test -n "$ac_ct__LIPO"; then
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20731 $as_echo "$ac_ct__LIPO" >&6; }
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20734 $as_echo "no" >&6; }
20738 test -n "$ac_ct__LIPO" && break
20741 if test "x$ac_ct__LIPO" = x
; then
20742 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
20744 case $cross_compiling:$ac_tool_warned in
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20748 ac_tool_warned
=yes ;;
20754 if test -n "$ac_tool_prefix"; then
20757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20758 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20760 $as_echo_n "checking for $ac_word... " >&6; }
20761 if ${ac_cv_prog__NM+:} false
; then :
20762 $as_echo_n "(cached) " >&6
20764 if test -n "$_NM"; then
20765 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20768 for as_dir
in $PATH
20771 test -z "$as_dir" && as_dir
=.
20772 for ac_exec_ext
in '' $ac_executable_extensions; do
20773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20774 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20784 _NM
=$ac_cv_prog__NM
20785 if test -n "$_NM"; then
20786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20787 $as_echo "$_NM" >&6; }
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20790 $as_echo "no" >&6; }
20794 test -n "$_NM" && break
20797 if test -z "$_NM"; then
20801 # Extract the first word of "$ac_prog", so it can be a program name with args.
20802 set dummy
$ac_prog; ac_word
=$2
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20804 $as_echo_n "checking for $ac_word... " >&6; }
20805 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
20806 $as_echo_n "(cached) " >&6
20808 if test -n "$ac_ct__NM"; then
20809 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
20811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20812 for as_dir
in $PATH
20815 test -z "$as_dir" && as_dir
=.
20816 for ac_exec_ext
in '' $ac_executable_extensions; do
20817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20818 ac_cv_prog_ac_ct__NM
="$ac_prog"
20819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20828 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
20829 if test -n "$ac_ct__NM"; then
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20831 $as_echo "$ac_ct__NM" >&6; }
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20834 $as_echo "no" >&6; }
20838 test -n "$ac_ct__NM" && break
20841 if test "x$ac_ct__NM" = x
; then
20842 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
20844 case $cross_compiling:$ac_tool_warned in
20846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20848 ac_tool_warned
=yes ;;
20854 if test -n "$ac_tool_prefix"; then
20855 for ac_prog
in otool
20857 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20858 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20860 $as_echo_n "checking for $ac_word... " >&6; }
20861 if ${ac_cv_prog__OTOOL+:} false
; then :
20862 $as_echo_n "(cached) " >&6
20864 if test -n "$_OTOOL"; then
20865 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
20867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20868 for as_dir
in $PATH
20871 test -z "$as_dir" && as_dir
=.
20872 for ac_exec_ext
in '' $ac_executable_extensions; do
20873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20874 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
20875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20884 _OTOOL
=$ac_cv_prog__OTOOL
20885 if test -n "$_OTOOL"; then
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20887 $as_echo "$_OTOOL" >&6; }
20889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20890 $as_echo "no" >&6; }
20894 test -n "$_OTOOL" && break
20897 if test -z "$_OTOOL"; then
20898 ac_ct__OTOOL
=$_OTOOL
20899 for ac_prog
in otool
20901 # Extract the first word of "$ac_prog", so it can be a program name with args.
20902 set dummy
$ac_prog; ac_word
=$2
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20904 $as_echo_n "checking for $ac_word... " >&6; }
20905 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
20906 $as_echo_n "(cached) " >&6
20908 if test -n "$ac_ct__OTOOL"; then
20909 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
20911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20912 for as_dir
in $PATH
20915 test -z "$as_dir" && as_dir
=.
20916 for ac_exec_ext
in '' $ac_executable_extensions; do
20917 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20918 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
20919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20928 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
20929 if test -n "$ac_ct__OTOOL"; then
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20931 $as_echo "$ac_ct__OTOOL" >&6; }
20933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20934 $as_echo "no" >&6; }
20938 test -n "$ac_ct__OTOOL" && break
20941 if test "x$ac_ct__OTOOL" = x
; then
20942 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
20944 case $cross_compiling:$ac_tool_warned in
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20948 ac_tool_warned
=yes ;;
20950 _OTOOL
=$ac_ct__OTOOL
20954 CY_ATTACH_GROUP
=procmod
20962 if test "x$CY_MACH" = x1
; then
20971 ac_config_files
="$ac_config_files Makefile"
20973 cat >confcache
<<\_ACEOF
20974 # This file is a shell script that caches the results of configure
20975 # tests run on this system so they can be shared between configure
20976 # scripts and configure runs, see configure's option --config-cache.
20977 # It is not useful on other systems. If it contains results you don't
20978 # want to keep, you may remove or edit it.
20980 # config.status only pays attention to the cache file if you give it
20981 # the --recheck option to rerun configure.
20983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20985 # following values.
20989 # The following way of writing the cache mishandles newlines in values,
20990 # but we know of no workaround that is simple, portable, and efficient.
20991 # So, we kill variables containing newlines.
20992 # Ultrix sh set writes to stderr and can't be redirected directly,
20993 # and sets the high bit in the cache file unless we assign to the vars.
20995 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20996 eval ac_val
=\$
$ac_var
21000 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21004 _
| IFS
| as_nl
) ;; #(
21005 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21006 *) { eval $ac_var=; unset $ac_var;} ;;
21012 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21013 *${as_nl}ac_space
=\
*)
21014 # `set' does not quote correctly, so add quotes: double-quote
21015 # substitution turns \\\\ into \\, and sed turns \\ into \.
21018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21021 # `set' quotes correctly as required by POSIX, so do not add quotes.
21022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21033 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21035 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21036 if test -w "$cache_file"; then
21037 if test "x$cache_file" != "x/dev/null"; then
21038 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21039 $as_echo "$as_me: updating cache $cache_file" >&6;}
21040 if test ! -f "$cache_file" || test -h "$cache_file"; then
21041 cat confcache
>"$cache_file"
21043 case $cache_file in #(
21045 mv -f confcache
"$cache_file"$$
&&
21046 mv -f "$cache_file"$$
"$cache_file" ;; #(
21048 mv -f confcache
"$cache_file" ;;
21053 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21054 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21059 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21060 # Let make expand exec_prefix.
21061 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21063 DEFS
=-DHAVE_CONFIG_H
21068 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21069 # 1. Remove the extension, and $U if already installed.
21070 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21071 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21072 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21073 # will be set to the directory where LIBOBJS objects are built.
21074 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21075 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21077 LIBOBJS
=$ac_libobjs
21079 LTLIBOBJS
=$ac_ltlibobjs
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21083 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21084 if test -n "$am_sleep_pid"; then
21085 # Hide warnings about reused PIDs.
21086 wait $am_sleep_pid 2>/dev
/null
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21089 $as_echo "done" >&6; }
21090 if test -n "$EXEEXT"; then
21092 am__EXEEXT_FALSE
='#'
21094 am__EXEEXT_TRUE
='#'
21098 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21099 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21102 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21103 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
21104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21106 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
21107 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
21108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21110 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21111 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21114 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
21115 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
21116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21118 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
21119 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
21120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21122 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
21123 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
21124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21127 : "${CONFIG_STATUS=./config.status}"
21129 ac_clean_files_save
=$ac_clean_files
21130 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21132 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21134 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21136 # Generated by $as_me.
21137 # Run this file to recreate the current configuration.
21138 # Compiler output produced by configure, useful for debugging
21139 # configure, is in config.log if it exists.
21142 ac_cs_recheck=false
21145 SHELL=\${CONFIG_SHELL-$SHELL}
21148 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
21149 ## -------------------- ##
21150 ## M4sh Initialization. ##
21151 ## -------------------- ##
21153 # Be more Bourne compatible
21154 DUALCASE
=1; export DUALCASE
# for MKS sh
21155 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21158 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21159 # is contrary to our usage. Disable this feature.
21160 alias -g '${1+"$@"}'='"$@"'
21161 setopt NO_GLOB_SUBST
21163 case `(set -o) 2>/dev/null` in #(
21175 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21176 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21177 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21178 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21179 # Prefer a ksh shell builtin over an external printf program on Solaris,
21180 # but without wasting forks for bash or zsh.
21181 if test -z "$BASH_VERSION$ZSH_VERSION" \
21182 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21183 as_echo='print
-r --'
21184 as_echo_n='print
-rn --'
21185 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21186 as_echo='printf %s
\n'
21187 as_echo_n='printf %s
'
21189 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21190 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21191 as_echo_n='/usr
/ucb
/echo -n'
21193 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21194 as_echo_n_body='eval
21198 expr "X$arg" : "X\\(.*\\)$as_nl";
21199 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21201 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21203 export as_echo_n_body
21204 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21206 export as_echo_body
21207 as_echo='sh
-c $as_echo_body as_echo
'
21210 # The user is always right.
21211 if test "${PATH_SEPARATOR+set}" != set; then
21213 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21214 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21221 # We need space, tab and new line, in precisely that order. Quoting is
21222 # there to prevent editors from complaining about space-tab.
21223 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21224 # splitting by setting IFS to empty value.)
21227 # Find who we are. Look in the path if we contain no directory separator.
21230 *[\\/]* ) as_myself=$0 ;;
21231 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21232 for as_dir in $PATH
21235 test -z "$as_dir" && as_dir=.
21236 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21242 # We did not find ourselves, most probably we were run as `sh COMMAND'
21243 # in which case we are not to be found in the path.
21244 if test "x$as_myself" = x
; then
21247 if test ! -f "$as_myself"; then
21248 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21252 # Unset variables that we do not need and which cause bugs (e.g. in
21253 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21254 # suppresses any "Segmentation fault" message there. '((' could
21255 # trigger a bug in pdksh 5.2.14.
21256 for as_var
in BASH_ENV ENV MAIL MAILPATH
21257 do eval test x\
${$as_var+set} = xset \
21258 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
21271 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
21274 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21275 # ----------------------------------------
21276 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21277 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21278 # script with STATUS, using 1 if that was 0.
21281 as_status
=$1; test $as_status -eq 0 && as_status
=1
21283 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21284 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21286 $as_echo "$as_me: error: $2" >&2
21287 as_fn_exit
$as_status
21291 # as_fn_set_status STATUS
21292 # -----------------------
21293 # Set $? to STATUS, without forking.
21294 as_fn_set_status
()
21297 } # as_fn_set_status
21299 # as_fn_exit STATUS
21300 # -----------------
21301 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21305 as_fn_set_status
$1
21311 # Portably unset VAR.
21314 { eval $1=; unset $1;}
21316 as_unset
=as_fn_unset
21317 # as_fn_append VAR VALUE
21318 # ----------------------
21319 # Append the text in VALUE to the end of the definition contained in VAR. Take
21320 # advantage of any shell optimizations that allow amortized linear growth over
21321 # repeated appends, instead of the typical quadratic growth present in naive
21323 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21324 eval 'as_fn_append ()
21335 # as_fn_arith ARG...
21336 # ------------------
21337 # Perform arithmetic evaluation on the ARGs, and store the result in the
21338 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21339 # must be portable across $(()) and expr.
21340 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
21341 eval 'as_fn_arith ()
21348 as_val
=`expr "$@" || test $? -eq 1`
21353 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21354 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21360 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21361 as_basename
=basename
21366 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21372 as_me
=`$as_basename -- "$0" ||
21373 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21374 X"$0" : 'X\(//\)$' \| \
21375 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21377 sed '/^.*\/\([^/][^/]*\)\/*$/{
21391 # Avoid depending upon Character Ranges.
21392 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21393 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21394 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21395 as_cr_digits
='0123456789'
21396 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21398 ECHO_C
= ECHO_N
= ECHO_T
=
21399 case `echo -n x` in #(((((
21401 case `echo 'xy\c'` in
21402 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21404 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21411 rm -f conf$$ conf$$.exe conf$$.
file
21412 if test -d conf$$.dir
; then
21413 rm -f conf$$.dir
/conf$$.
file
21416 mkdir conf$$.dir
2>/dev
/null
21418 if (echo >conf$$.
file) 2>/dev
/null
; then
21419 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21421 # ... but there are two gotchas:
21422 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21423 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21424 # In both cases, we have to default to `cp -pR'.
21425 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
21427 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21435 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21436 rmdir conf$$.dir
2>/dev
/null
21441 # Create "$as_dir" as a directory, including parents if necessary.
21446 -*) as_dir
=.
/$as_dir;;
21448 test -d "$as_dir" || eval $as_mkdir_p || {
21452 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21453 *) as_qdir
=$as_dir;;
21455 as_dirs
="'$as_qdir' $as_dirs"
21456 as_dir
=`$as_dirname -- "$as_dir" ||
21457 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21458 X"$as_dir" : 'X\(//\)[^/]' \| \
21459 X"$as_dir" : 'X\(//\)$' \| \
21460 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21461 $as_echo X"$as_dir" |
21462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21466 /^X\(\/\/\)[^/].*/{
21479 test -d "$as_dir" && break
21481 test -z "$as_dirs" || eval "mkdir $as_dirs"
21482 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21486 if mkdir -p .
2>/dev
/null
; then
21487 as_mkdir_p
='mkdir -p "$as_dir"'
21489 test -d .
/-p && rmdir .
/-p
21494 # as_fn_executable_p FILE
21495 # -----------------------
21496 # Test if FILE is an executable regular file.
21497 as_fn_executable_p
()
21499 test -f "$1" && test -x "$1"
21500 } # as_fn_executable_p
21501 as_test_x
='test -x'
21502 as_executable_p
=as_fn_executable_p
21504 # Sed expression to map a string onto a valid CPP name.
21505 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21507 # Sed expression to map a string onto a valid variable name.
21508 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21512 ## ----------------------------------- ##
21513 ## Main body of $CONFIG_STATUS script. ##
21514 ## ----------------------------------- ##
21516 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21518 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21519 # Save the log message, to keep $0 and so on meaningful, and to
21520 # report actual input values of CONFIG_FILES etc. instead of their
21521 # values after options handling.
21523 This file was extended by Cycript $as_me 0.9, which was
21524 generated by GNU Autoconf 2.69. Invocation command line was
21526 CONFIG_FILES = $CONFIG_FILES
21527 CONFIG_HEADERS = $CONFIG_HEADERS
21528 CONFIG_LINKS = $CONFIG_LINKS
21529 CONFIG_COMMANDS = $CONFIG_COMMANDS
21532 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21537 case $ac_config_files in *"
21538 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21541 case $ac_config_headers in *"
21542 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21547 # Files that config.status was made for.
21548 config_files="$ac_config_files"
21549 config_headers="$ac_config_headers"
21550 config_commands="$ac_config_commands"
21554 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21556 \`$as_me' instantiates files and other configuration actions
21557 from templates according to the current configuration. Unless the files
21558 and actions are specified as TAGs, all are instantiated by default.
21560 Usage: $0 [OPTION]... [TAG]...
21562 -h, --help print this help, then exit
21563 -V, --version print version number and configuration settings, then exit
21564 --config print configuration, then exit
21565 -q, --quiet, --silent
21566 do not print progress messages
21567 -d, --debug don't remove temporary files
21568 --recheck update $as_me by reconfiguring in the same conditions
21569 --file=FILE[:TEMPLATE]
21570 instantiate the configuration file FILE
21571 --header=FILE[:TEMPLATE]
21572 instantiate the configuration header FILE
21574 Configuration files:
21577 Configuration headers:
21580 Configuration commands:
21583 Report bugs to <saurik@saurik.com>.
21584 Cycript home page: <http://www.cycript.org/>."
21587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21588 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21590 Cycript config.status 0.9
21591 configured by $0, generated by GNU Autoconf 2.69,
21592 with options \\"\$ac_cs_config\\"
21594 Copyright (C) 2012 Free Software Foundation, Inc.
21595 This config.status script is free software; the Free Software Foundation
21596 gives unlimited permission to copy, distribute and modify it."
21603 test -n "\$AWK" || AWK=awk
21606 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21607 # The default lists apply if the user does not specify any file.
21613 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21614 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21618 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21630 # Handling of the options.
21631 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21633 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21634 $as_echo "$ac_cs_version"; exit ;;
21635 --config | --confi | --conf | --con | --co | --c )
21636 $as_echo "$ac_cs_config"; exit ;;
21637 --debug | --debu | --deb | --de | --d | -d )
21639 --file | --fil | --fi | --f )
21642 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21643 '') as_fn_error $?
"missing file argument" ;;
21645 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21646 ac_need_defaults
=false
;;
21647 --header | --heade | --head | --hea )
21650 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21652 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21653 ac_need_defaults
=false
;;
21655 # Conflict between --help and --header
21656 as_fn_error $?
"ambiguous option: \`$1'
21657 Try \`$0 --help' for more information.";;
21658 --help | --hel | -h )
21659 $as_echo "$ac_cs_usage"; exit ;;
21660 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21661 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21664 # This is an error.
21665 -*) as_fn_error $?
"unrecognized option: \`$1'
21666 Try \`$0 --help' for more information." ;;
21668 *) as_fn_append ac_config_targets
" $1"
21669 ac_need_defaults
=false
;;
21675 ac_configure_extra_args
=
21677 if $ac_cs_silent; then
21679 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21684 if \$ac_cs_recheck; then
21685 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21687 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21688 CONFIG_SHELL='$SHELL'
21689 export CONFIG_SHELL
21694 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21698 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21699 ## Running $as_me. ##
21705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21709 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21712 # The HP-UX ksh and POSIX shell print the target directory to stdout
21713 # if CDPATH is set.
21714 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21716 sed_quote_subst='$sed_quote_subst'
21717 double_quote_subst='$double_quote_subst'
21718 delay_variable_subst='$delay_variable_subst'
21719 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21720 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21721 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21722 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21723 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21724 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21725 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21726 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21727 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21728 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21729 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21730 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21731 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21732 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21733 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21734 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21735 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21736 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21737 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21738 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21739 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21740 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21741 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21742 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21743 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21744 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21745 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21746 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21747 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21748 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21749 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21750 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21751 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21752 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21753 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21754 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21755 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21756 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21757 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21758 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21759 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21760 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21761 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21762 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21763 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21764 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21765 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21766 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21767 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21768 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21769 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21770 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21771 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21772 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21773 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21774 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21775 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"`'
21776 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21777 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21778 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21779 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21780 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21781 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21782 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21783 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21784 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21785 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21786 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21787 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21788 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21789 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21790 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21791 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21792 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21793 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21794 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21795 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21796 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21797 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21798 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21799 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21800 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21801 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21802 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21803 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21804 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21805 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21806 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21807 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21808 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21809 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21810 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21811 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21812 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21813 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21814 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21815 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21816 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21817 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21818 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21819 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21820 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21821 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21822 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21823 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21824 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21825 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21826 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21827 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21828 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21829 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21830 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21831 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21832 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21833 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21834 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21835 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21836 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21837 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21838 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21839 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21840 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21841 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21842 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21843 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21844 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21845 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21846 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21847 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21848 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21849 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21850 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21851 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21852 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21853 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21854 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21855 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21856 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21857 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21858 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21859 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21860 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21861 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21862 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21863 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21864 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21865 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21866 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21867 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21868 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21869 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21870 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21871 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21872 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21873 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21874 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21875 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21876 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21877 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21878 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21879 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21880 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21881 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21882 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21883 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21884 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21885 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21886 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21887 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21888 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21889 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21890 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21891 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21892 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21893 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21894 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21895 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21896 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21897 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21898 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21899 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21900 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21901 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21902 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21905 LTCFLAGS='$LTCFLAGS'
21906 compiler='$compiler_DEFAULT'
21908 # A function that is used when there is no print builtin or printf.
21909 func_fallback_echo ()
21911 eval 'cat <<_LTECHO_EOF
21916 # Quote evaled strings.
21931 deplibs_check_method \
21936 sharedlib_from_linklib_cmd \
21939 archiver_list_spec \
21945 lt_cv_sys_global_symbol_pipe \
21946 lt_cv_sys_global_symbol_to_cdecl \
21947 lt_cv_sys_global_symbol_to_c_name_address \
21948 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21949 nm_file_list_spec \
21950 lt_prog_compiler_no_builtin_flag \
21951 lt_prog_compiler_pic \
21952 lt_prog_compiler_wl \
21953 lt_prog_compiler_static \
21954 lt_cv_prog_compiler_c_o \
21963 export_dynamic_flag_spec \
21964 whole_archive_flag_spec \
21965 compiler_needs_object \
21967 allow_undefined_flag \
21968 no_undefined_flag \
21969 hardcode_libdir_flag_spec \
21970 hardcode_libdir_separator \
21974 variables_saved_for_relink \
21976 library_names_spec \
21978 install_override_mode \
21982 compiler_lib_search_dirs \
21987 compiler_lib_search_path \
21991 lt_prog_compiler_no_builtin_flag_CXX \
21992 lt_prog_compiler_pic_CXX \
21993 lt_prog_compiler_wl_CXX \
21994 lt_prog_compiler_static_CXX \
21995 lt_cv_prog_compiler_c_o_CXX \
21996 export_dynamic_flag_spec_CXX \
21997 whole_archive_flag_spec_CXX \
21998 compiler_needs_object_CXX \
22000 allow_undefined_flag_CXX \
22001 no_undefined_flag_CXX \
22002 hardcode_libdir_flag_spec_CXX \
22003 hardcode_libdir_separator_CXX \
22004 exclude_expsyms_CXX \
22005 include_expsyms_CXX \
22006 file_list_spec_CXX \
22007 compiler_lib_search_dirs_CXX \
22008 predep_objects_CXX \
22009 postdep_objects_CXX \
22012 compiler_lib_search_path_CXX; do
22013 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22014 *[\\\\\\\`\\"\\\$]*)
22015 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22018 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22023 # Double-quote double-evaled strings.
22024 for var in reload_cmds \
22025 old_postinstall_cmds \
22026 old_postuninstall_cmds \
22028 extract_expsyms_cmds \
22029 old_archive_from_new_cmds \
22030 old_archive_from_expsyms_cmds \
22032 archive_expsym_cmds \
22034 module_expsym_cmds \
22035 export_symbols_cmds \
22039 postuninstall_cmds \
22041 sys_lib_search_path_spec \
22042 sys_lib_dlsearch_path_spec \
22044 old_archive_cmds_CXX \
22045 old_archive_from_new_cmds_CXX \
22046 old_archive_from_expsyms_cmds_CXX \
22048 archive_expsym_cmds_CXX \
22050 module_expsym_cmds_CXX \
22051 export_symbols_cmds_CXX \
22053 postlink_cmds_CXX; do
22054 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22055 *[\\\\\\\`\\"\\\$]*)
22056 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22059 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22064 ac_aux_dir='$ac_aux_dir'
22065 xsi_shell='$xsi_shell'
22066 lt_shell_append='$lt_shell_append'
22068 # See if we are running on zsh, and set the options which allow our
22069 # commands through without removal of \ escapes INIT.
22070 if test -n "\${ZSH_VERSION+set}" ; then
22071 setopt NO_GLOB_SUBST
22077 TIMESTAMP='$TIMESTAMP'
22088 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22090 # Handling of arguments.
22091 for ac_config_target
in $ac_config_targets
22093 case $ac_config_target in
22094 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22095 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22096 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22097 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22099 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22104 # If the user did not use the arguments to specify the items to instantiate,
22105 # then the envvar interface is used. Set only those that are not.
22106 # We use the long form for the default assignment because of an extremely
22107 # bizarre bug on SunOS 4.1.3.
22108 if $ac_need_defaults; then
22109 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22110 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22111 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22114 # Have a temporary directory for convenience. Make it in the build tree
22115 # simply because there is no reason against having it here, and in addition,
22116 # creating and moving files from /tmp can sometimes cause problems.
22117 # Hook for its removal unless debugging.
22118 # Note that there is a small window in which the directory will not be cleaned:
22119 # after its creation but before its name has been assigned to `$tmp'.
22123 trap 'exit_status=$?
22124 : "${ac_tmp:=$tmp}"
22125 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22127 trap 'as_fn_exit 1' 1 2 13 15
22129 # Create a (secure) tmp directory for tmp files.
22132 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22136 tmp
=.
/conf$$
-$RANDOM
22137 (umask 077 && mkdir "$tmp")
22138 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22141 # Set up the scripts for CONFIG_FILES section.
22142 # No need to generate them if there are no CONFIG_FILES.
22143 # This happens for instance with `./config.status config.h'.
22144 if test -n "$CONFIG_FILES"; then
22147 ac_cr
=`echo X | tr X '\015'`
22148 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22149 # But we know of no other shell where ac_cr would be empty at this
22150 # point, so we can use a bashism as a fallback.
22151 if test "x$ac_cr" = x
; then
22152 eval ac_cr
=\$
\'\\r
\'
22154 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22155 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22158 ac_cs_awk_cr
=$ac_cr
22161 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22166 echo "cat >conf$$subs.awk <<_ACEOF" &&
22167 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22169 } >conf$$subs.sh ||
22170 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22171 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22173 for ac_last_try in false false false false false :; do
22174 . ./conf$$subs.sh ||
22175 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22177 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22178 if test $ac_delim_n = $ac_delim_num; then
22180 elif $ac_last_try; then
22181 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22183 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22186 rm -f conf$$subs.sh
22188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22189 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22193 s/^/S["/; s
/!.
*/"]=/
22203 s/\(.\{148\}\)..*/\1/
22205 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22210 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22217 s/\(.\{148\}\)..*/\1/
22219 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22223 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22228 ' <conf$$subs.awk | sed '
22233 ' >>$CONFIG_STATUS || ac_write_fail=1
22234 rm -f conf$$subs.awk
22235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22237 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22238 for (key in S) S_is_set[key] = 1
22244 nfields = split(line, field, "@
")
22246 len = length(field[1])
22247 for (i = 2; i < nfields; i++) {
22249 keylen = length(key)
22250 if (S_is_set[key]) {
22252 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22253 len += length(value) + length(field[++i])
22264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22265 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22266 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22269 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22270 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22273 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22274 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22275 # trailing colons and then remove the whole line if VPATH becomes empty
22276 # (actually we leave an empty line to preserve line numbers).
22277 if test "x
$srcdir" = x.; then
22278 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22297 fi # test -n "$CONFIG_FILES"
22299 # Set up the scripts for CONFIG_HEADERS section.
22300 # No need to generate them if there are no CONFIG_HEADERS.
22301 # This happens for instance with `./config.status Makefile'.
22302 if test -n "$CONFIG_HEADERS"; then
22303 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22307 # Transform confdefs.h into an awk script `defines.awk', embedded as
22308 # here-document in config.status, that substitutes the proper values into
22309 # config.h.in to produce config.h.
22311 # Create a delimiter string that does not exist in confdefs.h, to ease
22312 # handling of long lines.
22314 for ac_last_try in false false :; do
22315 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22316 if test -z "$ac_tt"; then
22318 elif $ac_last_try; then
22319 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22321 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22325 # For the awk script, D is an array of macro values keyed by name,
22326 # likewise P contains macro parameters if any. Preserve backslash
22327 # newline sequences.
22329 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22331 s/.\{148\}/&'"$ac_delim"'/g
22334 s/^[ ]*#[ ]*define[ ][ ]*/ /
22341 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22343 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22347 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22348 D["\
1"]=" \
3\\\\\\n
"\\/p
22350 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22355 s/.\{148\}/&'"$ac_delim"'/g
22360 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22363 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22365 ' <confdefs.h | sed '
22366 s/'"$ac_delim"'/"\\\
22367 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22370 for (key in D) D_is_set[key] = 1
22373 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22375 split(line, arg, " ")
22376 if (arg[1] == "#") {
22380 defundef
= substr
(arg
[1], 2)
22383 split(mac1
, mac2
, "(") #)
22385 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22386 if (D_is_set
[macro
]) {
22387 # Preserve the white space surrounding the "#".
22388 print prefix
"define", macro P
[macro
] D
[macro
]
22391 # Replace #undef with comments. This is necessary, for example,
22392 # in the case of _POSIX_SOURCE, which is predefined and required
22393 # on some systems where configure will not decide to define it.
22394 if (defundef
== "undef") {
22395 print
"/*", prefix defundef
, macro
, "*/"
22403 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22404 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22405 fi # test -n "$CONFIG_HEADERS"
22408 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22413 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22415 case $ac_mode$ac_tag in
22417 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22418 :[FH
]-) ac_tag
=-:-;;
22419 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22436 -) ac_f
="$ac_tmp/stdin";;
22437 *) # Look for the file first in the build tree, then in the source tree
22438 # (if the path is not absolute). The absolute path cannot be DOS-style,
22439 # because $ac_f cannot contain `:'.
22443 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22445 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22447 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22448 as_fn_append ac_file_inputs
" '$ac_f'"
22451 # Let's still pretend it is `configure' which instantiates (i.e., don't
22452 # use $as_me), people would be surprised to read:
22453 # /* config.h. Generated by config.status. */
22454 configure_input
='Generated from '`
22455 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22457 if test x
"$ac_file" != x
-; then
22458 configure_input
="$ac_file. $configure_input"
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22460 $as_echo "$as_me: creating $ac_file" >&6;}
22462 # Neutralize special characters interpreted by sed in replacement strings.
22463 case $configure_input in #(
22464 *\
&* | *\
|* | *\\* )
22465 ac_sed_conf_input
=`$as_echo "$configure_input" |
22466 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22467 *) ac_sed_conf_input
=$configure_input;;
22471 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22472 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22477 ac_dir
=`$as_dirname -- "$ac_file" ||
22478 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22479 X"$ac_file" : 'X\(//\)[^/]' \| \
22480 X"$ac_file" : 'X\(//\)$' \| \
22481 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22482 $as_echo X"$ac_file" |
22483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22487 /^X\(\/\/\)[^/].*/{
22500 as_dir
="$ac_dir"; as_fn_mkdir_p
22504 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22506 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22507 # A ".." for each directory in $ac_dir_suffix.
22508 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22509 case $ac_top_builddir_sub in
22510 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22511 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22514 ac_abs_top_builddir
=$ac_pwd
22515 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22516 # for backward compatibility:
22517 ac_top_builddir
=$ac_top_build_prefix
22520 .
) # We are building in place.
22522 ac_top_srcdir
=$ac_top_builddir_sub
22523 ac_abs_top_srcdir
=$ac_pwd ;;
22524 [\\/]* | ?
:[\\/]* ) # Absolute name.
22525 ac_srcdir
=$srcdir$ac_dir_suffix;
22526 ac_top_srcdir
=$srcdir
22527 ac_abs_top_srcdir
=$srcdir ;;
22528 *) # Relative name.
22529 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22530 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22531 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22533 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22543 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22544 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22546 ac_MKDIR_P
=$MKDIR_P
22548 [\\/$
]* | ?
:[\\/]* ) ;;
22549 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22553 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22554 # If the template does not know about datarootdir, expand it.
22555 # FIXME: This hack should be removed a few years after 2.60.
22556 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22567 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22568 *datarootdir
*) ac_datarootdir_seen
=yes;;
22569 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22571 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22574 ac_datarootdir_hack='
22575 s&@datadir@&$datadir&g
22576 s&@docdir@&$docdir&g
22577 s&@infodir@&$infodir&g
22578 s&@localedir@&$localedir&g
22579 s&@mandir@&$mandir&g
22580 s&\\\${datarootdir}&$datarootdir&g' ;;
22584 # Neutralize VPATH when `$srcdir' = `.'.
22585 # Shell code in configure.ac might set extrasub.
22586 # FIXME: do we really want to maintain this feature?
22587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22588 ac_sed_extra="$ac_vpsub
22591 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22593 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22594 s
|@configure_input@
|$ac_sed_conf_input|;t t
22595 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22596 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22597 s
&@srcdir@
&$ac_srcdir&;t t
22598 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22599 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22600 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22601 s
&@builddir@
&$ac_builddir&;t t
22602 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22603 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22604 s
&@INSTALL@
&$ac_INSTALL&;t t
22605 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22606 $ac_datarootdir_hack
22608 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22609 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22611 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22612 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22613 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22614 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22616 which seems to be undefined. Please make sure it is defined" >&5
22617 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22618 which seems to be undefined. Please make sure it is defined" >&2;}
22620 rm -f "$ac_tmp/stdin"
22622 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22623 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22625 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22631 if test x"$ac_file" != x-; then
22633 $as_echo "/* $configure_input */" \
22634 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22635 } >"$ac_tmp/config.h" \
22636 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22637 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22638 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22639 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22642 mv "$ac_tmp/config.h" "$ac_file" \
22643 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22646 $as_echo "/* $configure_input */" \
22647 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22648 || as_fn_error $? "could not create -" "$LINENO" 5
22650 # Compute "$ac_file"'s index
in $config_headers.
22653 for _am_header
in $config_headers :; do
22654 case $_am_header in
22655 $_am_arg | $_am_arg:* )
22658 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22661 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22662 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22663 X"$_am_arg" : 'X\(//\)[^/]' \| \
22664 X"$_am_arg" : 'X\(//\)$' \| \
22665 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22666 $as_echo X"$_am_arg" |
22667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22671 /^X\(\/\/\)[^/].*/{
22683 s/.*/./; q'`/stamp
-h$_am_stamp_count
22686 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22687 $as_echo "$as_me: executing $ac_file commands" >&6;}
22692 case $ac_file$ac_mode in
22693 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22694 # Older Autoconf quotes --file arguments for eval, but not when files
22695 # are listed without --file. Let's play safe and only enable the eval
22696 # if we detect the quoting.
22697 case $CONFIG_FILES in
22698 *\'*) eval set x
"$CONFIG_FILES" ;;
22699 *) set x
$CONFIG_FILES ;;
22704 # Strip MF so we end up with the name of the file.
22705 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22706 # Check whether this is an Automake generated Makefile or not.
22707 # We used to match only the files named 'Makefile.in', but
22708 # some people rename them; so instead we look at the file content.
22709 # Grep'ing the first line is not enough: some people post-process
22710 # each Makefile.in and add a new line on top of each file to say so.
22711 # Grep'ing the whole file is not good either: AIX grep has a line
22712 # limit of 2048, but all sed's we know have understand at least 4000.
22713 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22714 dirpart
=`$as_dirname -- "$mf" ||
22715 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22716 X"$mf" : 'X\(//\)[^/]' \| \
22717 X"$mf" : 'X\(//\)$' \| \
22718 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22724 /^X\(\/\/\)[^/].*/{
22740 # Extract the definition of DEPDIR, am__include, and am__quote
22741 # from the Makefile without running 'make'.
22742 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22743 test -z "$DEPDIR" && continue
22744 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22745 test -z "am__include" && continue
22746 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22747 # Find all dependency output files, they are included files with
22748 # $(DEPDIR) in their names. We invoke sed twice because it is the
22749 # simplest approach to changing $(DEPDIR) to its actual value in the
22751 for file in `sed -n "
22752 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22753 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22754 # Make sure the directory exists.
22755 test -f "$dirpart/$file" && continue
22756 fdir
=`$as_dirname -- "$file" ||
22757 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22758 X"$file" : 'X\(//\)[^/]' \| \
22759 X"$file" : 'X\(//\)$' \| \
22760 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22761 $as_echo X"$file" |
22762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22766 /^X\(\/\/\)[^/].*/{
22779 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22780 # echo "creating $dirpart/$file"
22781 echo '# dummy' > "$dirpart/$file"
22788 # See if we are running on zsh, and set the options which allow our
22789 # commands through without removal of \ escapes.
22790 if test -n "${ZSH_VERSION+set}" ; then
22791 setopt NO_GLOB_SUBST
22794 cfgfile
="${ofile}T"
22795 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22798 cat <<_LT_EOF >> "$cfgfile"
22801 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22802 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22803 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22804 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22806 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22807 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22809 # Written by Gordon Matzigkeit, 1996
22811 # This file is part of GNU Libtool.
22813 # GNU Libtool is free software; you can redistribute it and/or
22814 # modify it under the terms of the GNU General Public License as
22815 # published by the Free Software Foundation; either version 2 of
22816 # the License, or (at your option) any later version.
22818 # As a special exception to the GNU General Public License,
22819 # if you distribute this file as part of a program or library that
22820 # is built using GNU Libtool, you may include this file under the
22821 # same distribution terms that you use for the rest of that program.
22823 # GNU Libtool is distributed in the hope that it will be useful,
22824 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22825 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22826 # GNU General Public License for more details.
22828 # You should have received a copy of the GNU General Public License
22829 # along with GNU Libtool; see the file COPYING. If not, a copy
22830 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22831 # obtained by writing to the Free Software Foundation, Inc.,
22832 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22835 # The names of the tagged configurations supported by this script.
22836 available_tags="CXX "
22838 # ### BEGIN LIBTOOL CONFIG
22840 # Which release of libtool.m4 was used?
22841 macro_version=$macro_version
22842 macro_revision=$macro_revision
22844 # Whether or not to build static libraries.
22845 build_old_libs=$enable_static
22847 # Whether or not to build shared libraries.
22848 build_libtool_libs=$enable_shared
22850 # What type of objects to build.
22853 # Whether or not to optimize for fast installation.
22854 fast_install=$enable_fast_install
22856 # Shell to use when invoking shell scripts.
22859 # An echo program that protects backslashes.
22862 # The PATH separator for the build system.
22863 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22866 host_alias=$host_alias
22870 # The build system.
22871 build_alias=$build_alias
22875 # A sed program that does not truncate output.
22878 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22879 Xsed="\$SED -e 1s/^X//"
22881 # A grep program that handles long lines.
22887 # A literal string matcher.
22890 # A BSD- or MS-compatible name lister.
22893 # Whether we need soft or hard links.
22896 # What is the maximum length of a command?
22897 max_cmd_len=$max_cmd_len
22899 # Object file suffix (normally "o").
22902 # Executable file suffix (normally "").
22905 # whether the shell understands "unset".
22908 # turn spaces into newlines.
22911 # turn newlines into spaces.
22914 # convert \$build file names to \$host format.
22915 to_host_file_cmd=$lt_cv_to_host_file_cmd
22917 # convert \$build files to toolchain format.
22918 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22920 # An object symbol dumper.
22921 OBJDUMP=$lt_OBJDUMP
22923 # Method to check whether dependent libraries are shared objects.
22924 deplibs_check_method=$lt_deplibs_check_method
22926 # Command to use when deplibs_check_method = "file_magic".
22927 file_magic_cmd=$lt_file_magic_cmd
22929 # How to find potential files when deplibs_check_method = "file_magic".
22930 file_magic_glob=$lt_file_magic_glob
22932 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22933 want_nocaseglob=$lt_want_nocaseglob
22935 # DLL creation program.
22936 DLLTOOL=$lt_DLLTOOL
22938 # Command to associate shared and link libraries.
22939 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22944 # Flags to create an archive.
22945 AR_FLAGS=$lt_AR_FLAGS
22947 # How to feed a file listing to the archiver.
22948 archiver_list_spec=$lt_archiver_list_spec
22950 # A symbol stripping program.
22953 # Commands used to install an old-style archive.
22955 old_postinstall_cmds=$lt_old_postinstall_cmds
22956 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22958 # Whether to use a lock for old archive extraction.
22959 lock_old_archive_extraction=$lock_old_archive_extraction
22964 # LTCC compiler flags.
22965 LTCFLAGS=$lt_CFLAGS
22967 # Take the output of nm and produce a listing of raw symbols and C names.
22968 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22970 # Transform the output of nm in a proper C declaration.
22971 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22973 # Transform the output of nm in a C name address pair.
22974 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22976 # Transform the output of nm in a C name address pair when lib prefix is needed.
22977 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22979 # Specify filename containing input files for \$NM.
22980 nm_file_list_spec=$lt_nm_file_list_spec
22982 # The root where to search for dependent libraries,and in which our libraries should be installed.
22983 lt_sysroot=$lt_sysroot
22985 # The name of the directory that contains temporary libtool files.
22988 # Used to examine libraries when file_magic_cmd begins with "file".
22989 MAGIC_CMD=$MAGIC_CMD
22991 # Must we lock files when doing compilation?
22992 need_locks=$lt_need_locks
22995 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22997 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22998 DSYMUTIL=$lt_DSYMUTIL
23000 # Tool to change global to local symbols on Mac OS X.
23003 # Tool to manipulate fat objects and archives on Mac OS X.
23006 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23009 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23010 OTOOL64=$lt_OTOOL64
23012 # Old archive suffix (normally "a").
23015 # Shared library suffix (normally ".so").
23016 shrext_cmds=$lt_shrext_cmds
23018 # The commands to extract the exported symbol list from a shared archive.
23019 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23021 # Variables whose values should be saved in libtool wrapper scripts and
23022 # restored at link time.
23023 variables_saved_for_relink=$lt_variables_saved_for_relink
23025 # Do we need the "lib" prefix for modules?
23026 need_lib_prefix=$need_lib_prefix
23028 # Do we need a version for libraries?
23029 need_version=$need_version
23031 # Library versioning type.
23032 version_type=$version_type
23034 # Shared library runtime path variable.
23035 runpath_var=$runpath_var
23037 # Shared library path variable.
23038 shlibpath_var=$shlibpath_var
23040 # Is shlibpath searched before the hard-coded library search path?
23041 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23043 # Format of library name prefix.
23044 libname_spec=$lt_libname_spec
23046 # List of archive names. First name is the real one, the rest are links.
23047 # The last name is the one that the linker finds with -lNAME
23048 library_names_spec=$lt_library_names_spec
23050 # The coded name of the library, if different from the real name.
23051 soname_spec=$lt_soname_spec
23053 # Permission mode override for installation of shared libraries.
23054 install_override_mode=$lt_install_override_mode
23056 # Command to use after installation of a shared archive.
23057 postinstall_cmds=$lt_postinstall_cmds
23059 # Command to use after uninstallation of a shared archive.
23060 postuninstall_cmds=$lt_postuninstall_cmds
23062 # Commands used to finish a libtool library installation in a directory.
23063 finish_cmds=$lt_finish_cmds
23065 # As "finish_cmds", except a single script fragment to be evaled but
23067 finish_eval=$lt_finish_eval
23069 # Whether we should hardcode library paths into libraries.
23070 hardcode_into_libs=$hardcode_into_libs
23072 # Compile-time system search path for libraries.
23073 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23075 # Run-time system search path for libraries.
23076 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23078 # Whether dlopen is supported.
23079 dlopen_support=$enable_dlopen
23081 # Whether dlopen of programs is supported.
23082 dlopen_self=$enable_dlopen_self
23084 # Whether dlopen of statically linked programs is supported.
23085 dlopen_self_static=$enable_dlopen_self_static
23087 # Commands to strip libraries.
23088 old_striplib=$lt_old_striplib
23089 striplib=$lt_striplib
23092 # The linker used to build libraries.
23095 # How to create reloadable object files.
23096 reload_flag=$lt_reload_flag
23097 reload_cmds=$lt_reload_cmds
23099 # Commands used to build an old-style archive.
23100 old_archive_cmds=$lt_old_archive_cmds
23102 # A language specific compiler.
23105 # Is the compiler the GNU compiler?
23108 # Compiler flag to turn off builtin functions.
23109 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23111 # Additional compiler flags for building library objects.
23112 pic_flag=$lt_lt_prog_compiler_pic
23114 # How to pass a linker flag through the compiler.
23115 wl=$lt_lt_prog_compiler_wl
23117 # Compiler flag to prevent dynamic linking.
23118 link_static_flag=$lt_lt_prog_compiler_static
23120 # Does compiler simultaneously support -c and -o options?
23121 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23123 # Whether or not to add -lc for building shared libraries.
23124 build_libtool_need_lc=$archive_cmds_need_lc
23126 # Whether or not to disallow shared libs when runtime libs are static.
23127 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23129 # Compiler flag to allow reflexive dlopens.
23130 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23132 # Compiler flag to generate shared objects directly from archives.
23133 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23135 # Whether the compiler copes with passing no objects directly.
23136 compiler_needs_object=$lt_compiler_needs_object
23138 # Create an old-style archive from a shared archive.
23139 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23141 # Create a temporary old-style archive to link instead of a shared archive.
23142 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23144 # Commands used to build a shared archive.
23145 archive_cmds=$lt_archive_cmds
23146 archive_expsym_cmds=$lt_archive_expsym_cmds
23148 # Commands used to build a loadable module if different from building
23149 # a shared archive.
23150 module_cmds=$lt_module_cmds
23151 module_expsym_cmds=$lt_module_expsym_cmds
23153 # Whether we are building with GNU ld or not.
23154 with_gnu_ld=$lt_with_gnu_ld
23156 # Flag that allows shared libraries with undefined symbols to be built.
23157 allow_undefined_flag=$lt_allow_undefined_flag
23159 # Flag that enforces no undefined symbols.
23160 no_undefined_flag=$lt_no_undefined_flag
23162 # Flag to hardcode \$libdir into a binary during linking.
23163 # This must work even if \$libdir does not exist
23164 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23166 # Whether we need a single "-rpath" flag with a separated argument.
23167 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23169 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23170 # DIR into the resulting binary.
23171 hardcode_direct=$hardcode_direct
23173 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23174 # DIR into the resulting binary and the resulting library dependency is
23175 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23176 # library is relocated.
23177 hardcode_direct_absolute=$hardcode_direct_absolute
23179 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23180 # into the resulting binary.
23181 hardcode_minus_L=$hardcode_minus_L
23183 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23184 # into the resulting binary.
23185 hardcode_shlibpath_var=$hardcode_shlibpath_var
23187 # Set to "yes" if building a shared library automatically hardcodes DIR
23188 # into the library and all subsequent libraries and executables linked
23190 hardcode_automatic=$hardcode_automatic
23192 # Set to yes if linker adds runtime paths of dependent libraries
23193 # to runtime path list.
23194 inherit_rpath=$inherit_rpath
23196 # Whether libtool must link a program against all its dependency libraries.
23197 link_all_deplibs=$link_all_deplibs
23199 # Set to "yes" if exported symbols are required.
23200 always_export_symbols=$always_export_symbols
23202 # The commands to list exported symbols.
23203 export_symbols_cmds=$lt_export_symbols_cmds
23205 # Symbols that should not be listed in the preloaded symbols.
23206 exclude_expsyms=$lt_exclude_expsyms
23208 # Symbols that must always be exported.
23209 include_expsyms=$lt_include_expsyms
23211 # Commands necessary for linking programs (against libraries) with templates.
23212 prelink_cmds=$lt_prelink_cmds
23214 # Commands necessary for finishing linking programs.
23215 postlink_cmds=$lt_postlink_cmds
23217 # Specify filename containing input files.
23218 file_list_spec=$lt_file_list_spec
23220 # How to hardcode a shared library path into an executable.
23221 hardcode_action=$hardcode_action
23223 # The directories searched by this compiler when creating a shared library.
23224 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23226 # Dependencies to place before and after the objects being linked to
23227 # create a shared library.
23228 predep_objects=$lt_predep_objects
23229 postdep_objects=$lt_postdep_objects
23230 predeps=$lt_predeps
23231 postdeps=$lt_postdeps
23233 # The library search path used internally by the compiler when linking
23234 # a shared library.
23235 compiler_lib_search_path=$lt_compiler_lib_search_path
23237 # ### END LIBTOOL CONFIG
23243 cat <<\_LT_EOF
>> "$cfgfile"
23244 # AIX sometimes has problems with the GCC collect2 program. For some
23245 # reason, if we set the COLLECT_NAMES environment variable, the problems
23246 # vanish in a puff of smoke.
23247 if test "X${COLLECT_NAMES+set}" != Xset
; then
23249 export COLLECT_NAMES
23256 ltmain
="$ac_aux_dir/ltmain.sh"
23259 # We use sed instead of cat because bash on DJGPP gets confused if
23260 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23261 # text mode, it properly converts lines to CR/LF. This bash problem
23262 # is reportedly fixed, but why not run on old versions too?
23263 sed '$q' "$ltmain" >> "$cfgfile" \
23264 || (rm -f "$cfgfile"; exit 1)
23266 if test x
"$xsi_shell" = xyes
; then
23267 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23271 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23272 \ * ) func_dirname_result="${3}" ;;\
23274 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23275 && mv -f "$cfgfile.tmp" "$cfgfile" \
23276 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23277 test 0 -eq $?
|| _lt_function_replace_fail
=:
23280 sed -e '/^func_basename ()$/,/^} # func_basename /c\
23283 \ func_basename_result="${1##*/}"\
23284 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23285 && mv -f "$cfgfile.tmp" "$cfgfile" \
23286 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23287 test 0 -eq $?
|| _lt_function_replace_fail
=:
23290 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23291 func_dirname_and_basename ()\
23294 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23295 \ * ) func_dirname_result="${3}" ;;\
23297 \ func_basename_result="${1##*/}"\
23298 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23299 && mv -f "$cfgfile.tmp" "$cfgfile" \
23300 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23301 test 0 -eq $?
|| _lt_function_replace_fail
=:
23304 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23307 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23308 \ # positional parameters, so assign one to ordinary parameter first.\
23309 \ func_stripname_result=${3}\
23310 \ func_stripname_result=${func_stripname_result#"${1}"}\
23311 \ func_stripname_result=${func_stripname_result%"${2}"}\
23312 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23313 && mv -f "$cfgfile.tmp" "$cfgfile" \
23314 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23315 test 0 -eq $?
|| _lt_function_replace_fail
=:
23318 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23319 func_split_long_opt ()\
23321 \ func_split_long_opt_name=${1%%=*}\
23322 \ func_split_long_opt_arg=${1#*=}\
23323 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23324 && mv -f "$cfgfile.tmp" "$cfgfile" \
23325 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23326 test 0 -eq $?
|| _lt_function_replace_fail
=:
23329 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23330 func_split_short_opt ()\
23332 \ func_split_short_opt_arg=${1#??}\
23333 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23334 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23335 && mv -f "$cfgfile.tmp" "$cfgfile" \
23336 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23337 test 0 -eq $?
|| _lt_function_replace_fail
=:
23340 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23344 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23345 \ *) func_lo2o_result=${1} ;;\
23347 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23348 && mv -f "$cfgfile.tmp" "$cfgfile" \
23349 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23350 test 0 -eq $?
|| _lt_function_replace_fail
=:
23353 sed -e '/^func_xform ()$/,/^} # func_xform /c\
23356 func_xform_result=${1%.*}.lo\
23357 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23358 && mv -f "$cfgfile.tmp" "$cfgfile" \
23359 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23360 test 0 -eq $?
|| _lt_function_replace_fail
=:
23363 sed -e '/^func_arith ()$/,/^} # func_arith /c\
23366 func_arith_result=$(( $* ))\
23367 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23368 && mv -f "$cfgfile.tmp" "$cfgfile" \
23369 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23370 test 0 -eq $?
|| _lt_function_replace_fail
=:
23373 sed -e '/^func_len ()$/,/^} # func_len /c\
23376 func_len_result=${#1}\
23377 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
23378 && mv -f "$cfgfile.tmp" "$cfgfile" \
23379 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23380 test 0 -eq $?
|| _lt_function_replace_fail
=:
23384 if test x
"$lt_shell_append" = xyes
; then
23385 sed -e '/^func_append ()$/,/^} # func_append /c\
23388 eval "${1}+=\\${2}"\
23389 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23390 && mv -f "$cfgfile.tmp" "$cfgfile" \
23391 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23392 test 0 -eq $?
|| _lt_function_replace_fail
=:
23395 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23396 func_append_quoted ()\
23398 \ func_quote_for_eval "${2}"\
23399 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23400 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23401 && mv -f "$cfgfile.tmp" "$cfgfile" \
23402 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23403 test 0 -eq $?
|| _lt_function_replace_fail
=:
23406 # Save a `func_append' function call where possible by direct use of '+='
23407 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23408 && mv -f "$cfgfile.tmp" "$cfgfile" \
23409 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23410 test 0 -eq $?
|| _lt_function_replace_fail
=:
23412 # Save a `func_append' function call even when '+=' is not available
23413 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23414 && mv -f "$cfgfile.tmp" "$cfgfile" \
23415 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23416 test 0 -eq $?
|| _lt_function_replace_fail
=:
23419 if test x
"$_lt_function_replace_fail" = x
":"; then
23420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23421 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23425 mv -f "$cfgfile" "$ofile" ||
23426 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23430 cat <<_LT_EOF >> "$ofile"
23432 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23434 # The linker used to build libraries.
23437 # How to create reloadable object files.
23438 reload_flag=$lt_reload_flag_CXX
23439 reload_cmds=$lt_reload_cmds_CXX
23441 # Commands used to build an old-style archive.
23442 old_archive_cmds=$lt_old_archive_cmds_CXX
23444 # A language specific compiler.
23445 CC=$lt_compiler_CXX
23447 # Is the compiler the GNU compiler?
23450 # Compiler flag to turn off builtin functions.
23451 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23453 # Additional compiler flags for building library objects.
23454 pic_flag=$lt_lt_prog_compiler_pic_CXX
23456 # How to pass a linker flag through the compiler.
23457 wl=$lt_lt_prog_compiler_wl_CXX
23459 # Compiler flag to prevent dynamic linking.
23460 link_static_flag=$lt_lt_prog_compiler_static_CXX
23462 # Does compiler simultaneously support -c and -o options?
23463 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23465 # Whether or not to add -lc for building shared libraries.
23466 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23468 # Whether or not to disallow shared libs when runtime libs are static.
23469 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23471 # Compiler flag to allow reflexive dlopens.
23472 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23474 # Compiler flag to generate shared objects directly from archives.
23475 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23477 # Whether the compiler copes with passing no objects directly.
23478 compiler_needs_object=$lt_compiler_needs_object_CXX
23480 # Create an old-style archive from a shared archive.
23481 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23483 # Create a temporary old-style archive to link instead of a shared archive.
23484 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23486 # Commands used to build a shared archive.
23487 archive_cmds=$lt_archive_cmds_CXX
23488 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23490 # Commands used to build a loadable module if different from building
23491 # a shared archive.
23492 module_cmds=$lt_module_cmds_CXX
23493 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23495 # Whether we are building with GNU ld or not.
23496 with_gnu_ld=$lt_with_gnu_ld_CXX
23498 # Flag that allows shared libraries with undefined symbols to be built.
23499 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23501 # Flag that enforces no undefined symbols.
23502 no_undefined_flag=$lt_no_undefined_flag_CXX
23504 # Flag to hardcode \$libdir into a binary during linking.
23505 # This must work even if \$libdir does not exist
23506 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23508 # Whether we need a single "-rpath" flag with a separated argument.
23509 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23511 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23512 # DIR into the resulting binary.
23513 hardcode_direct=$hardcode_direct_CXX
23515 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23516 # DIR into the resulting binary and the resulting library dependency is
23517 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23518 # library is relocated.
23519 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23521 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23522 # into the resulting binary.
23523 hardcode_minus_L=$hardcode_minus_L_CXX
23525 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23526 # into the resulting binary.
23527 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23529 # Set to "yes" if building a shared library automatically hardcodes DIR
23530 # into the library and all subsequent libraries and executables linked
23532 hardcode_automatic=$hardcode_automatic_CXX
23534 # Set to yes if linker adds runtime paths of dependent libraries
23535 # to runtime path list.
23536 inherit_rpath=$inherit_rpath_CXX
23538 # Whether libtool must link a program against all its dependency libraries.
23539 link_all_deplibs=$link_all_deplibs_CXX
23541 # Set to "yes" if exported symbols are required.
23542 always_export_symbols=$always_export_symbols_CXX
23544 # The commands to list exported symbols.
23545 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23547 # Symbols that should not be listed in the preloaded symbols.
23548 exclude_expsyms=$lt_exclude_expsyms_CXX
23550 # Symbols that must always be exported.
23551 include_expsyms=$lt_include_expsyms_CXX
23553 # Commands necessary for linking programs (against libraries) with templates.
23554 prelink_cmds=$lt_prelink_cmds_CXX
23556 # Commands necessary for finishing linking programs.
23557 postlink_cmds=$lt_postlink_cmds_CXX
23559 # Specify filename containing input files.
23560 file_list_spec=$lt_file_list_spec_CXX
23562 # How to hardcode a shared library path into an executable.
23563 hardcode_action=$hardcode_action_CXX
23565 # The directories searched by this compiler when creating a shared library.
23566 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23568 # Dependencies to place before and after the objects being linked to
23569 # create a shared library.
23570 predep_objects=$lt_predep_objects_CXX
23571 postdep_objects=$lt_postdep_objects_CXX
23572 predeps=$lt_predeps_CXX
23573 postdeps=$lt_postdeps_CXX
23575 # The library search path used internally by the compiler when linking
23576 # a shared library.
23577 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23579 # ### END LIBTOOL TAG CONFIG: CXX
23590 ac_clean_files
=$ac_clean_files_save
23592 test $ac_write_fail = 0 ||
23593 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23596 # configure is writing to config.log, and then calls config.status.
23597 # config.status does its own redirection, appending to config.log.
23598 # Unfortunately, on DOS this fails, as config.log is still kept open
23599 # by configure, so config.status won't be able to write to it; its
23600 # output is simply discarded. So we exec the FD to /dev/null,
23601 # effectively closing config.log, so it can be properly (re)opened and
23602 # appended to by config.status. When coming back to configure, we
23603 # need to make the FD available again.
23604 if test "$no_create" != yes; then
23606 ac_config_status_args
=
23607 test "$silent" = yes &&
23608 ac_config_status_args
="$ac_config_status_args --quiet"
23610 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23612 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23613 # would make configure fail if this is the last instruction.
23614 $ac_cs_success || as_fn_exit
1
23616 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23618 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}