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-2014 Jay Freeman (saurik)
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 # Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
142 _as_can_reexec
=no
; export _as_can_reexec
;
143 # We cannot yet assume a decent shell, so we have to provide a
144 # neutralization value for shells without unset; and this also
145 # works around shells that cannot unset nonexistent variables.
146 # Preserve -v and -x to the replacement shell.
149 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
151 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157 # Admittedly, this is quite paranoid, since all the known shells bail
158 # out after a failed `exec'.
159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec
=; unset _as_can_reexec
;}
164 if test "x$CONFIG_SHELL" = x
; then
165 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
173 case \`(set -o) 2>/dev/null\` in #(
181 as_required
="as_fn_return () { (exit \$1); }
182 as_fn_success () { as_fn_return 0; }
183 as_fn_failure () { as_fn_return 1; }
184 as_fn_ret_success () { return 0; }
185 as_fn_ret_failure () { return 1; }
188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195 exitcode=1; echo positional parameters were not saved.
197 test x\$exitcode = x0 || exit 1
199 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208 PATH=/empty FPATH=/empty; export PATH FPATH
209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211 test \$(( 1 + 1 )) = 2 || exit 1"
212 if (eval "$as_required") 2>/dev
/null
; then :
217 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
229 for as_base
in sh bash ksh sh5
; do
230 # Try only shells that exist, to save several forks.
231 as_shell
=$as_dir/$as_base
232 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$as_shell as_have_required
=yes
235 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
243 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
245 CONFIG_SHELL
=$SHELL as_have_required
=yes
250 if test "x$CONFIG_SHELL" != x
; then :
252 # We cannot yet assume a decent shell, so we have to provide a
253 # neutralization value for shells without unset; and this also
254 # works around shells that cannot unset nonexistent variables.
255 # Preserve -v and -x to the replacement shell.
258 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
260 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
265 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266 # Admittedly, this is quite paranoid, since all the known shells bail
267 # out after a failed `exec'.
268 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272 if test x
$as_have_required = xno
; then :
273 $as_echo "$0: This script requires a shell more modern than all"
274 $as_echo "$0: the shells that I found on your system."
275 if test x
${ZSH_VERSION+set} = xset
; then
276 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
279 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
280 $0: about your system, including any error possibly output
281 $0: before this message. Then install a modern shell, or
282 $0: manually run the script under such a shell if you do
289 SHELL
=${CONFIG_SHELL-/bin/sh}
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE
= GREP_OPTIONS
=
293 unset CLICOLOR_FORCE GREP_OPTIONS
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
300 # Portably unset VAR.
303 { eval $1=; unset $1;}
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" || eval $as_mkdir_p || {
338 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 $as_echo X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
411 as_val
=`expr "$@" || test $? -eq 1`
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
423 as_status
=$1; test $as_status -eq 0 && as_status
=1
425 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428 $as_echo "$as_me: error: $2" >&2
429 as_fn_exit
$as_status
432 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
439 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
451 as_me
=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
470 # Avoid depending upon Character Ranges.
471 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits
='0123456789'
475 as_cr_alnum
=$as_cr_Letters$as_cr_digits
478 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
479 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498 chmod +x
"$as_me.lineno" ||
499 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec
=no
; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
509 # Exit status is that of the last command.
513 ECHO_C
= ECHO_N
= ECHO_T
=
514 case `echo -n x` in #(((((
516 case `echo 'xy\c'` in
517 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
519 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
526 rm -f conf$$ conf$$.exe conf$$.
file
527 if test -d conf$$.dir
; then
528 rm -f conf$$.dir
/conf$$.
file
531 mkdir conf$$.dir
2>/dev
/null
533 if (echo >conf$$.
file) 2>/dev
/null
; then
534 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
536 # ... but there are two gotchas:
537 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539 # In both cases, we have to default to `cp -pR'.
540 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
542 elif ln conf$$.
file conf$$
2>/dev
/null
; then
550 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
551 rmdir conf$$.dir
2>/dev
/null
553 if mkdir -p .
2>/dev
/null
; then
554 as_mkdir_p
='mkdir -p "$as_dir"'
556 test -d .
/-p && rmdir .
/-p
561 as_executable_p
=as_fn_executable_p
563 # Sed expression to map a string onto a valid CPP name.
564 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
566 # Sed expression to map a string onto a valid variable name.
567 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
569 SHELL
=${CONFIG_SHELL-/bin/sh}
572 test -n "$DJDIR" || exec 7<&0 </dev
/null
576 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577 # so uname gets run too.
578 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
583 ac_default_prefix
=/usr
/local
585 ac_config_libobj_dir
=.
592 # Identity of this package.
593 PACKAGE_NAME
='Cycript'
594 PACKAGE_TARNAME
='cycript'
595 PACKAGE_VERSION
='0.9'
596 PACKAGE_STRING
='Cycript 0.9'
597 PACKAGE_BUGREPORT
='saurik@saurik.com'
598 PACKAGE_URL
='http://www.cycript.org/'
600 ac_unique_file
="Console.cpp"
601 # Factoring default headers for most tests.
602 ac_includes_default
="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
720 am__fastdepOBJCXX_FALSE
721 am__fastdepOBJCXX_TRUE
750 MAINTAINER_MODE_FALSE
764 INSTALL_STRIP_PROGRAM
806 program_transform_name
819 enable_option_checking
821 enable_maintainer_mode
822 enable_dependency_tracking
834 ac_precious_vars
='build_alias
864 # Initialize some variables set by options.
866 ac_init_version
=false
867 ac_unrecognized_opts
=
869 # The variables have the same names as the options, with
870 # dashes changed to underlines.
878 program_transform_name
=s
,x
,x
,
886 # Installation directory options.
887 # These are left unexpanded so users can "make install exec_prefix=/foo"
888 # and all the variables that are supposed to be based on exec_prefix
889 # by default will actually change.
890 # Use braces instead of parens because sh, perl, etc. also accept them.
891 # (The list follows the same order as the GNU Coding Standards.)
892 bindir
='${exec_prefix}/bin'
893 sbindir
='${exec_prefix}/sbin'
894 libexecdir
='${exec_prefix}/libexec'
895 datarootdir
='${prefix}/share'
896 datadir
='${datarootdir}'
897 sysconfdir
='${prefix}/etc'
898 sharedstatedir
='${prefix}/com'
899 localstatedir
='${prefix}/var'
900 includedir
='${prefix}/include'
901 oldincludedir
='/usr/include'
902 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
903 infodir
='${datarootdir}/info'
908 libdir
='${exec_prefix}/lib'
909 localedir
='${datarootdir}/locale'
910 mandir
='${datarootdir}/man'
916 # If the previous option needs an argument, assign it.
917 if test -n "$ac_prev"; then
918 eval $ac_prev=\
$ac_option
924 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
929 # Accept the important Cygnus configure options, so we can diagnose typos.
931 case $ac_dashdash$ac_option in
935 -bindir | --bindir | --bindi | --bind | --bin | --bi)
937 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
940 -build | --build | --buil | --bui | --bu)
941 ac_prev
=build_alias
;;
942 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
943 build_alias
=$ac_optarg ;;
945 -cache-file | --cache-file | --cache-fil | --cache-fi \
946 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
947 ac_prev
=cache_file
;;
948 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
949 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
950 cache_file
=$ac_optarg ;;
953 cache_file
=config.cache
;;
955 -datadir | --datadir | --datadi | --datad)
957 -datadir=* | --datadir=* | --datadi=* | --datad=*)
958 datadir
=$ac_optarg ;;
960 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
961 | --dataroo | --dataro | --datar)
962 ac_prev
=datarootdir
;;
963 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
964 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
965 datarootdir
=$ac_optarg ;;
967 -disable-* | --disable-*)
968 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
971 as_fn_error $?
"invalid feature name: $ac_useropt"
972 ac_useropt_orig
=$ac_useropt
973 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974 case $ac_user_opts in
978 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
979 ac_unrecognized_sep
=', ';;
981 eval enable_
$ac_useropt=no
;;
983 -docdir | --docdir | --docdi | --doc | --do)
985 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
988 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
990 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
993 -enable-* | --enable-*)
994 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
997 as_fn_error $?
"invalid feature name: $ac_useropt"
998 ac_useropt_orig
=$ac_useropt
999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_
$ac_useropt"
1004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1005 ac_unrecognized_sep
=', ';;
1007 eval enable_
$ac_useropt=\
$ac_optarg ;;
1009 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1010 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1011 | --exec | --exe | --ex)
1012 ac_prev
=exec_prefix
;;
1013 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1014 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1015 | --exec=* | --exe=* | --ex=*)
1016 exec_prefix
=$ac_optarg ;;
1018 -gas | --gas | --ga | --g)
1019 # Obsolete; use --with-gas.
1022 -help | --help | --hel | --he | -h)
1023 ac_init_help
=long
;;
1024 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1025 ac_init_help
=recursive
;;
1026 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1027 ac_init_help
=short
;;
1029 -host | --host | --hos | --ho)
1030 ac_prev
=host_alias
;;
1031 -host=* | --host=* | --hos=* | --ho=*)
1032 host_alias
=$ac_optarg ;;
1034 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1036 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1038 htmldir
=$ac_optarg ;;
1040 -includedir | --includedir | --includedi | --included | --include \
1041 | --includ | --inclu | --incl | --inc)
1042 ac_prev
=includedir
;;
1043 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1044 | --includ=* | --inclu=* | --incl=* | --inc=*)
1045 includedir
=$ac_optarg ;;
1047 -infodir | --infodir | --infodi | --infod | --info | --inf)
1049 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1050 infodir
=$ac_optarg ;;
1052 -libdir | --libdir | --libdi | --libd)
1054 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1055 libdir
=$ac_optarg ;;
1057 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1058 | --libexe | --libex | --libe)
1059 ac_prev
=libexecdir
;;
1060 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1061 | --libexe=* | --libex=* | --libe=*)
1062 libexecdir
=$ac_optarg ;;
1064 -localedir | --localedir | --localedi | --localed | --locale)
1065 ac_prev
=localedir
;;
1066 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1067 localedir
=$ac_optarg ;;
1069 -localstatedir | --localstatedir | --localstatedi | --localstated \
1070 | --localstate | --localstat | --localsta | --localst | --locals)
1071 ac_prev
=localstatedir
;;
1072 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1073 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1074 localstatedir
=$ac_optarg ;;
1076 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1078 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1079 mandir
=$ac_optarg ;;
1081 -nfp | --nfp | --nf)
1082 # Obsolete; use --without-fp.
1085 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1086 | --no-cr | --no-c | -n)
1089 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1090 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1093 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1094 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1095 | --oldin | --oldi | --old | --ol | --o)
1096 ac_prev
=oldincludedir
;;
1097 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1098 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1099 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1100 oldincludedir
=$ac_optarg ;;
1102 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1104 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1105 prefix
=$ac_optarg ;;
1107 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1108 | --program-pre | --program-pr | --program-p)
1109 ac_prev
=program_prefix
;;
1110 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1111 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1112 program_prefix
=$ac_optarg ;;
1114 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1115 | --program-suf | --program-su | --program-s)
1116 ac_prev
=program_suffix
;;
1117 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1118 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1119 program_suffix
=$ac_optarg ;;
1121 -program-transform-name | --program-transform-name \
1122 | --program-transform-nam | --program-transform-na \
1123 | --program-transform-n | --program-transform- \
1124 | --program-transform | --program-transfor \
1125 | --program-transfo | --program-transf \
1126 | --program-trans | --program-tran \
1127 | --progr-tra | --program-tr | --program-t)
1128 ac_prev
=program_transform_name
;;
1129 -program-transform-name=* | --program-transform-name=* \
1130 | --program-transform-nam=* | --program-transform-na=* \
1131 | --program-transform-n=* | --program-transform-=* \
1132 | --program-transform=* | --program-transfor=* \
1133 | --program-transfo=* | --program-transf=* \
1134 | --program-trans=* | --program-tran=* \
1135 | --progr-tra=* | --program-tr=* | --program-t=*)
1136 program_transform_name
=$ac_optarg ;;
1138 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1140 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1141 pdfdir
=$ac_optarg ;;
1143 -psdir | --psdir | --psdi | --psd | --ps)
1145 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1148 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1149 | -silent | --silent | --silen | --sile | --sil)
1152 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1154 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1156 sbindir
=$ac_optarg ;;
1158 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1159 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1160 | --sharedst | --shareds | --shared | --share | --shar \
1162 ac_prev
=sharedstatedir
;;
1163 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1164 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1165 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1167 sharedstatedir
=$ac_optarg ;;
1169 -site | --site | --sit)
1171 -site=* | --site=* | --sit=*)
1174 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1176 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1177 srcdir
=$ac_optarg ;;
1179 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1180 | --syscon | --sysco | --sysc | --sys | --sy)
1181 ac_prev
=sysconfdir
;;
1182 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1183 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1184 sysconfdir
=$ac_optarg ;;
1186 -target | --target | --targe | --targ | --tar | --ta | --t)
1187 ac_prev
=target_alias
;;
1188 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1189 target_alias
=$ac_optarg ;;
1191 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1194 -version | --version | --versio | --versi | --vers | -V)
1195 ac_init_version
=: ;;
1198 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1201 as_fn_error $?
"invalid package name: $ac_useropt"
1202 ac_useropt_orig
=$ac_useropt
1203 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1208 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1209 ac_unrecognized_sep
=', ';;
1211 eval with_
$ac_useropt=\
$ac_optarg ;;
1213 -without-* | --without-*)
1214 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1217 as_fn_error $?
"invalid package name: $ac_useropt"
1218 ac_useropt_orig
=$ac_useropt
1219 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1225 ac_unrecognized_sep
=', ';;
1227 eval with_
$ac_useropt=no
;;
1230 # Obsolete; use --with-x.
1233 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1234 | --x-incl | --x-inc | --x-in | --x-i)
1235 ac_prev
=x_includes
;;
1236 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1237 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1238 x_includes
=$ac_optarg ;;
1240 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1241 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1242 ac_prev
=x_libraries
;;
1243 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1244 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1245 x_libraries
=$ac_optarg ;;
1247 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1248 Try \`$0 --help' for more information"
1252 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1253 # Reject names that are not valid shell variable names.
1254 case $ac_envvar in #(
1255 '' | [0-9]* | *[!_$as_cr_alnum]* )
1256 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1258 eval $ac_envvar=\
$ac_optarg
1259 export $ac_envvar ;;
1262 # FIXME: should be removed in autoconf 3.0.
1263 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1264 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1265 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1266 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1272 if test -n "$ac_prev"; then
1273 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1274 as_fn_error $?
"missing argument to $ac_option"
1277 if test -n "$ac_unrecognized_opts"; then
1278 case $enable_option_checking in
1280 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1281 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1285 # Check all directory arguments for consistency.
1286 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287 datadir sysconfdir sharedstatedir localstatedir includedir \
1288 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289 libdir localedir mandir
1291 eval ac_val
=\$
$ac_var
1292 # Remove trailing slashes.
1295 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1296 eval $ac_var=\
$ac_val;;
1298 # Be sure to have absolute directory names.
1300 [\\/$
]* | ?
:[\\/]* ) continue;;
1301 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1303 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1306 # There might be people who depend on the old broken behavior: `$host'
1307 # used to hold the argument of --host etc.
1308 # FIXME: To remove some day.
1311 target
=$target_alias
1313 # FIXME: To remove some day.
1314 if test "x$host_alias" != x
; then
1315 if test "x$build_alias" = x
; then
1316 cross_compiling
=maybe
1317 elif test "x$build_alias" != "x$host_alias"; then
1323 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1325 test "$silent" = yes && exec 6>/dev
/null
1328 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1329 ac_ls_di
=`ls -di .` &&
1330 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1331 as_fn_error $?
"working directory cannot be determined"
1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333 as_fn_error $?
"pwd does not report name of working directory"
1336 # Find the source files, if location was not specified.
1337 if test -z "$srcdir"; then
1338 ac_srcdir_defaulted
=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir
=`$as_dirname -- "$as_myself" ||
1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$as_myself" : 'X\(//\)[^/]' \| \
1343 X"$as_myself" : 'X\(//\)$' \| \
1344 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1345 $as_echo X"$as_myself" |
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1368 ac_srcdir_defaulted
=no
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1372 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1374 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1386 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 for ac_var
in $ac_precious_vars; do
1389 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1390 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1391 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1392 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1396 # Report the --help message.
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1402 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1409 Defaults for the options are specified in brackets.
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking ...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1433 For better control, use the options below.
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1460 --program-prefix=PREFIX prepend PREFIX to installed program names
1461 --program-suffix=SUFFIX append SUFFIX to installed program names
1462 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1465 --build=BUILD configure
for building on BUILD
[guessed
]
1466 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1470 if test -n "$ac_init_help"; then
1471 case $ac_init_help in
1472 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1477 --disable-option-checking ignore unrecognized
--enable/--with options
1478 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1479 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1480 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1481 --disable-silent-rules verbose build output
(undo
: "make V=0")
1482 --enable-maintainer-mode
1483 enable make rules and dependencies not useful
(and
1484 sometimes confusing
) to the casual installer
1485 --enable-dependency-tracking
1486 do not reject slow dependency extractors
1487 --disable-dependency-tracking
1488 speeds up one
-time build
1489 --enable-static[=PKGS
] build static libraries
[default
=no
]
1490 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1491 --enable-fast-install[=PKGS
]
1492 optimize
for fast installation
[default
=yes]
1493 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1494 --enable-javascript[=ENGINE
]
1495 use a JavaScript runtime
(currently the only
1496 available option
for ENGINE is JavaScriptCore
)
1498 --disable-console disable console
1501 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1502 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1503 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1505 --with-aix-soname=aix
|svr4
|both
1506 shared library versioning
(aka
"SONAME") variant to
1507 provide on AIX
, [default
=aix
].
1508 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1509 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1510 compiler
's sysroot if not specified).
1512 Some influential environment variables:
1513 CC C compiler command
1514 CFLAGS C compiler flags
1515 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1516 nonstandard directory <lib dir>
1517 LIBS libraries to pass to the linker, e.g. -l<library>
1518 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1519 you have headers in a nonstandard directory <include dir>
1520 CXX C++ compiler command
1521 CXXFLAGS C++ compiler flags
1522 OBJCXX Objective C++ compiler command
1523 OBJCXXFLAGS Objective C++ compiler flags
1525 User-defined run-time library search path.
1527 CXXCPP C++ preprocessor
1528 PKG_CONFIG path to pkg-config utility
1530 directories to add to pkg-config's search path
1532 path overriding pkg
-config's built-in search path
1533 BISON GNU Project parser generator (yacc replacement)
1534 FLEX the fast lexical analyser generator
1535 GPERF perfect hash function generator
1536 GNUTAR a very sticky lump of files
1538 C compiler flags for WEBKIT, overriding pkg-config
1539 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1541 prints information about the current gnustep installation
1543 Use these variables to override the choices made by `configure' or to
help
1544 it to
find libraries and programs with nonstandard names
/locations.
1546 Report bugs to
<saurik@saurik.com
>.
1547 Cycript home page
: <http
://www.cycript.org
/>.
1552 if test "$ac_init_help" = "recursive"; then
1553 # If there are subdirs, report their specific --help.
1554 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1555 test -d "$ac_dir" ||
1556 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1561 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1563 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1564 # A ".." for each directory in $ac_dir_suffix.
1565 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1566 case $ac_top_builddir_sub in
1567 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1568 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1571 ac_abs_top_builddir
=$ac_pwd
1572 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1573 # for backward compatibility:
1574 ac_top_builddir
=$ac_top_build_prefix
1577 .
) # We are building in place.
1579 ac_top_srcdir
=$ac_top_builddir_sub
1580 ac_abs_top_srcdir
=$ac_pwd ;;
1581 [\\/]* | ?
:[\\/]* ) # Absolute name.
1582 ac_srcdir
=$srcdir$ac_dir_suffix;
1583 ac_top_srcdir
=$srcdir
1584 ac_abs_top_srcdir
=$srcdir ;;
1586 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1587 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1588 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1590 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1592 cd "$ac_dir" || { ac_status
=$?
; continue; }
1593 # Check for guested configure.
1594 if test -f "$ac_srcdir/configure.gnu"; then
1596 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1597 elif test -f "$ac_srcdir/configure"; then
1599 $SHELL "$ac_srcdir/configure" --help=recursive
1601 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1603 cd "$ac_pwd" || { ac_status
=$?
; break; }
1607 test -n "$ac_init_help" && exit $ac_status
1608 if $ac_init_version; then
1610 Cycript configure
0.9
1611 generated by GNU Autoconf
2.69
1613 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1614 This configure
script is free software
; the Free Software Foundation
1615 gives unlimited permission to copy
, distribute and modify it.
1617 Copyright
(C
) 2009-2014 Jay Freeman
(saurik
)
1622 ## ------------------------ ##
1623 ## Autoconf initialization. ##
1624 ## ------------------------ ##
1626 # ac_fn_c_try_compile LINENO
1627 # --------------------------
1628 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1629 ac_fn_c_try_compile
()
1631 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1632 rm -f conftest.
$ac_objext
1633 if { { ac_try
="$ac_compile"
1635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_compile") 2>conftest.err
1642 if test -s conftest.err; then
1643 grep -v '^ *+' conftest.err >conftest.er1
1644 cat conftest.er1 >&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && {
1649 test -z "$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1651 } && test -s conftest.$ac_objext; then :
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 as_fn_set_status $ac_retval
1662 } # ac_fn_c_try_compile
1664 # ac_fn_cxx_try_compile LINENO
1665 # ----------------------------
1666 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1667 ac_fn_cxx_try_compile ()
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 rm -f conftest.$ac_objext
1671 if { { ac_try="$ac_compile"
1673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1674 *) ac_try_echo
=$ac_try;;
1676 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_compile") 2>conftest.err
1680 if test -s conftest.err
; then
1681 grep -v '^ *+' conftest.err
>conftest.er1
1682 cat conftest.er1
>&5
1683 mv -f conftest.er1 conftest.err
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; } && {
1687 test -z "$ac_cxx_werror_flag" ||
1688 test ! -s conftest.err
1689 } && test -s conftest.
$ac_objext; then :
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.
$ac_ext >&5
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 as_fn_set_status
$ac_retval
1700 } # ac_fn_cxx_try_compile
1702 # ac_fn_objcxx_try_compile LINENO
1703 # -------------------------------
1704 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1705 ac_fn_objcxx_try_compile
()
1707 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1708 rm -f conftest.
$ac_objext
1709 if { { ac_try
="$ac_compile"
1711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1712 *) ac_try_echo=$ac_try;;
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_compile") 2>conftest.err
1718 if test -s conftest.err; then
1719 grep -v '^ *+' conftest.err >conftest.er1
1720 cat conftest.er1 >&5
1721 mv -f conftest.er1 conftest.err
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && {
1725 test -z "$ac_objcxx_werror_flag" ||
1726 test ! -s conftest.err
1727 } && test -s conftest.$ac_objext; then :
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status $ac_retval
1738 } # ac_fn_objcxx_try_compile
1740 # ac_fn_c_try_link LINENO
1741 # -----------------------
1742 # Try to link conftest.$ac_ext, and return whether this succeeded.
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 rm -f conftest.$ac_objext conftest$ac_exeext
1747 if { { ac_try="$ac_link"
1749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1750 *) ac_try_echo
=$ac_try;;
1752 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754 (eval "$ac_link") 2>conftest.err
1756 if test -s conftest.err
; then
1757 grep -v '^ *+' conftest.err
>conftest.er1
1758 cat conftest.er1
>&5
1759 mv -f conftest.er1 conftest.err
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762 test $ac_status = 0; } && {
1763 test -z "$ac_c_werror_flag" ||
1764 test ! -s conftest.err
1765 } && test -s conftest
$ac_exeext && {
1766 test "$cross_compiling" = yes ||
1767 test -x conftest
$ac_exeext
1771 $as_echo "$as_me: failed program was:" >&5
1772 sed 's/^/| /' conftest.
$ac_ext >&5
1776 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1777 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1778 # interfere with the next link command; also delete a directory that is
1779 # left behind by Apple's compiler. We do this before executing the actions.
1780 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 as_fn_set_status
$ac_retval
1784 } # ac_fn_c_try_link
1786 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1787 # -------------------------------------------------------
1788 # Tests whether HEADER exists and can be compiled using the include files in
1789 # INCLUDES, setting the cache variable VAR accordingly.
1790 ac_fn_c_check_header_compile
()
1792 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1794 $as_echo_n "checking for $2... " >&6; }
1795 if eval \
${$3+:} false
; then :
1796 $as_echo_n "(cached) " >&6
1798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1803 if ac_fn_c_try_compile
"$LINENO"; then :
1808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812 $as_echo "$ac_res" >&6; }
1813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 } # ac_fn_c_check_header_compile
1817 # ac_fn_c_try_cpp LINENO
1818 # ----------------------
1819 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1822 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1823 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1826 *) ac_try_echo=$ac_try;;
1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1832 if test -s conftest.err; then
1833 grep -v '^ *+' conftest.err >conftest.er1
1834 cat conftest.er1 >&5
1835 mv -f conftest.er1 conftest.err
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } > conftest.i && {
1839 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1840 test ! -s conftest.err
1844 $as_echo "$as_me: failed program was:" >&5
1845 sed 's/^/| /' conftest.$ac_ext >&5
1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 as_fn_set_status $ac_retval
1854 # ac_fn_c_try_run LINENO
1855 # ----------------------
1856 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1857 # that executables *can* be run.
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 if { { ac_try="$ac_link"
1863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1864 *) ac_try_echo
=$ac_try;;
1866 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867 $as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_link") 2>&5
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1872 { { case "(($ac_try" in
1873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_try") 2>&5
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; }; }; then :
1884 $as_echo "$as_me: program exited with status $ac_status" >&5
1885 $as_echo "$as_me: failed program was:" >&5
1886 sed 's/^/| /' conftest.$ac_ext >&5
1888 ac_retval=$ac_status
1890 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892 as_fn_set_status $ac_retval
1896 # ac_fn_c_check_func LINENO FUNC VAR
1897 # ----------------------------------
1898 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1899 ac_fn_c_check_func ()
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903 $as_echo_n "checking for $2... " >&6; }
1904 if eval \${$3+:} false; then :
1905 $as_echo_n "(cached) " >&6
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1909 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1911 #define $2 innocuous_$2
1913 /* System header to define __stub macros and hopefully few prototypes,
1914 which can conflict with char $2 (); below.
1915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1916 <limits.h> exists even on freestanding compilers. */
1919 # include <limits.h>
1921 # include <assert.h>
1926 /* Override any GCC internal prototype to avoid an error.
1927 Use char because int might match the return type of a GCC
1928 builtin and then its argument prototype would still apply. */
1933 /* The GNU C library defines this for functions which it implements
1934 to always fail with ENOSYS. Some functions are actually named
1935 something starting with __ and the normal name is an alias. */
1936 #if defined __stub_$2 || defined __stub___$2
1948 if ac_fn_c_try_link "$LINENO"; then :
1953 rm -f core conftest.err conftest.$ac_objext \
1954 conftest$ac_exeext conftest.$ac_ext
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958 $as_echo "$ac_res" >&6; }
1959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961 } # ac_fn_c_check_func
1963 # ac_fn_cxx_try_cpp LINENO
1964 # ------------------------
1965 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1966 ac_fn_cxx_try_cpp ()
1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969 if { { ac_try="$ac_cpp conftest.$ac_ext"
1971 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1972 *) ac_try_echo
=$ac_try;;
1974 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1975 $as_echo "$ac_try_echo"; } >&5
1976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1978 if test -s conftest.err
; then
1979 grep -v '^ *+' conftest.err
>conftest.er1
1980 cat conftest.er1
>&5
1981 mv -f conftest.er1 conftest.err
1983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1984 test $ac_status = 0; } > conftest.i
&& {
1985 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1986 test ! -s conftest.err
1990 $as_echo "$as_me: failed program was:" >&5
1991 sed 's/^/| /' conftest.
$ac_ext >&5
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996 as_fn_set_status
$ac_retval
1998 } # ac_fn_cxx_try_cpp
2000 # ac_fn_cxx_try_link LINENO
2001 # -------------------------
2002 # Try to link conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_link
()
2005 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2006 rm -f conftest.
$ac_objext conftest
$ac_exeext
2007 if { { ac_try
="$ac_link"
2009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2010 *) ac_try_echo=$ac_try;;
2012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2013 $as_echo "$ac_try_echo"; } >&5
2014 (eval "$ac_link") 2>conftest.err
2016 if test -s conftest.err; then
2017 grep -v '^ *+' conftest.err >conftest.er1
2018 cat conftest.er1 >&5
2019 mv -f conftest.er1 conftest.err
2021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2022 test $ac_status = 0; } && {
2023 test -z "$ac_cxx_werror_flag" ||
2024 test ! -s conftest.err
2025 } && test -s conftest$ac_exeext && {
2026 test "$cross_compiling" = yes ||
2027 test -x conftest$ac_exeext
2031 $as_echo "$as_me: failed program was:" >&5
2032 sed 's/^/| /' conftest.$ac_ext >&5
2036 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2037 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2038 # interfere with the next link command; also delete a directory that is
2039 # left behind by Apple's compiler. We do this before executing the actions.
2040 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2042 as_fn_set_status $ac_retval
2044 } # ac_fn_cxx_try_link
2046 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2047 # ---------------------------------------------------------
2048 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2049 # the include files in INCLUDES and setting the cache variable VAR
2051 ac_fn_cxx_check_header_mongrel ()
2053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2054 if eval \${$3+:} false; then :
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056 $as_echo_n "checking for $2... " >&6; }
2057 if eval \${$3+:} false; then :
2058 $as_echo_n "(cached) " >&6
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062 $as_echo "$ac_res" >&6; }
2064 # Is the header compilable?
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2066 $as_echo_n "checking $2 usability... " >&6; }
2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2072 if ac_fn_cxx_try_compile "$LINENO"; then :
2073 ac_header_compiler=yes
2075 ac_header_compiler=no
2077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2079 $as_echo "$ac_header_compiler" >&6; }
2081 # Is the header present?
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2083 $as_echo_n "checking $2 presence... " >&6; }
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2088 if ac_fn_cxx_try_cpp "$LINENO"; then :
2089 ac_header_preproc=yes
2091 ac_header_preproc=no
2093 rm -f conftest.err conftest.i conftest.$ac_ext
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2095 $as_echo "$ac_header_preproc" >&6; }
2097 # So? What about this header?
2098 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2101 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2103 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2107 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2109 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2111 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2113 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2115 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2116 ( $as_echo "## -------------------------------- ##
2117 ## Report this to saurik@saurik.com ##
2118 ## -------------------------------- ##"
2119 ) | sed "s/^/$as_me: WARNING: /" >&2
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2123 $as_echo_n "checking for $2... " >&6; }
2124 if eval \${$3+:} false; then :
2125 $as_echo_n "(cached) " >&6
2127 eval "$3=\$ac_header_compiler"
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2135 } # ac_fn_cxx_check_header_mongrel
2137 # ac_fn_objcxx_try_link LINENO
2138 # ----------------------------
2139 # Try to link conftest.$ac_ext, and return whether this succeeded.
2140 ac_fn_objcxx_try_link ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 rm -f conftest.$ac_objext conftest$ac_exeext
2144 if { { ac_try="$ac_link"
2146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2147 *) ac_try_echo
=$ac_try;;
2149 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2150 $as_echo "$ac_try_echo"; } >&5
2151 (eval "$ac_link") 2>conftest.err
2153 if test -s conftest.err
; then
2154 grep -v '^ *+' conftest.err
>conftest.er1
2155 cat conftest.er1
>&5
2156 mv -f conftest.er1 conftest.err
2158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2159 test $ac_status = 0; } && {
2160 test -z "$ac_objcxx_werror_flag" ||
2161 test ! -s conftest.err
2162 } && test -s conftest
$ac_exeext && {
2163 test "$cross_compiling" = yes ||
2164 test -x conftest
$ac_exeext
2168 $as_echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.
$ac_ext >&5
2173 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2174 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2175 # interfere with the next link command; also delete a directory that is
2176 # left behind by Apple's compiler. We do this before executing the actions.
2177 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2178 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 as_fn_set_status
$ac_retval
2181 } # ac_fn_objcxx_try_link
2182 cat >config.log
<<_ACEOF
2183 This file contains any messages produced by compilers while
2184 running configure, to aid debugging if configure makes a mistake.
2186 It was created by Cycript $as_me 0.9, which was
2187 generated by GNU Autoconf 2.69. Invocation command line was
2199 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2200 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2201 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2202 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2203 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2205 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2206 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2208 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2209 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2210 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2211 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2212 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2213 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2214 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir
=.
2223 $as_echo "PATH: $as_dir"
2239 # Keep a trace of the command line.
2240 # Strip out --no-create and --no-recursion so they do not pile up.
2241 # Strip out --silent because we don't want to record it for future runs.
2242 # Also quote any args containing shell meta-characters.
2243 # Make two passes to allow for proper duplicate-argument suppression.
2247 ac_must_keep_next
=false
2253 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2254 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2255 | -silent | --silent | --silen | --sile | --sil)
2258 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2261 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2263 as_fn_append ac_configure_args1
" '$ac_arg'"
2264 if test $ac_must_keep_next = true
; then
2265 ac_must_keep_next
=false
# Got value, back to normal.
2268 *=* | --config-cache | -C | -disable-* | --disable-* \
2269 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2270 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2271 | -with-* | --with-* | -without-* | --without-* | --x)
2272 case "$ac_configure_args0 " in
2273 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2276 -* ) ac_must_keep_next
=true
;;
2279 as_fn_append ac_configure_args
" '$ac_arg'"
2284 { ac_configure_args0
=; unset ac_configure_args0
;}
2285 { ac_configure_args1
=; unset ac_configure_args1
;}
2287 # When interrupted or exit'd, cleanup temporary files, and complete
2288 # config.log. We remove comments because anyway the quotes in there
2289 # would cause problems or look ugly.
2290 # WARNING: Use '\'' to represent an apostrophe within the trap.
2291 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2292 trap 'exit_status=$?
2293 # Save into config.log some information that might help in debugging.
2297 $as_echo "## ---------------- ##
2298 ## Cache variables. ##
2299 ## ---------------- ##"
2301 # The following way of writing the cache mishandles newlines in values,
2303 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2304 eval ac_val=\$$ac_var
2308 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2309 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2312 _ | IFS | as_nl) ;; #(
2313 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2314 *) { eval $ac_var=; unset $ac_var;} ;;
2319 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2320 *${as_nl}ac_space=\ *)
2322 "s/'\''/'\''\\\\'\'''\''/g;
2323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2326 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2333 $as_echo "## ----------------- ##
2334 ## Output variables. ##
2335 ## ----------------- ##"
2337 for ac_var in $ac_subst_vars
2339 eval ac_val=\$$ac_var
2341 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2343 $as_echo "$ac_var='\''$ac_val'\''"
2347 if test -n "$ac_subst_files"; then
2348 $as_echo "## ------------------- ##
2349 ## File substitutions. ##
2350 ## ------------------- ##"
2352 for ac_var
in $ac_subst_files
2354 eval ac_val
=\$
$ac_var
2356 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2358 $as_echo "$ac_var='\''$ac_val'\''"
2363 if test -s confdefs.h; then
2364 $as_echo "## ----------- ##
2371 test "$ac_signal" != 0 &&
2372 $as_echo "$as_me: caught signal $ac_signal"
2373 $as_echo "$as_me: exit $exit_status"
2375 rm -f core *.core core.conftest.* &&
2376 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2379 for ac_signal
in 1 2 13 15; do
2380 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2384 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2385 rm -f -r conftest
* confdefs.h
2387 $as_echo "/* confdefs.h */" > confdefs.h
2389 # Predefined preprocessor variables.
2391 cat >>confdefs.h
<<_ACEOF
2392 #define PACKAGE_NAME "$PACKAGE_NAME"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2399 cat >>confdefs.h
<<_ACEOF
2400 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2403 cat >>confdefs.h
<<_ACEOF
2404 #define PACKAGE_STRING "$PACKAGE_STRING"
2407 cat >>confdefs.h
<<_ACEOF
2408 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2411 cat >>confdefs.h
<<_ACEOF
2412 #define PACKAGE_URL "$PACKAGE_URL"
2416 # Let the site file select an alternate cache file if it wants to.
2417 # Prefer an explicitly selected file to automatically selected ones.
2420 if test -n "$CONFIG_SITE"; then
2421 # We do not want a PATH search for config.site.
2422 case $CONFIG_SITE in #((
2423 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2424 */*) ac_site_file1
=$CONFIG_SITE;;
2425 *) ac_site_file1
=.
/$CONFIG_SITE;;
2427 elif test "x$prefix" != xNONE
; then
2428 ac_site_file1
=$prefix/share
/config.site
2429 ac_site_file2
=$prefix/etc
/config.site
2431 ac_site_file1
=$ac_default_prefix/share
/config.site
2432 ac_site_file2
=$ac_default_prefix/etc
/config.site
2434 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2436 test "x$ac_site_file" = xNONE
&& continue
2437 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2439 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2440 sed 's/^/| /' "$ac_site_file" >&5
2442 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2444 as_fn_error $?
"failed to load site script $ac_site_file
2445 See \`config.log' for more details" "$LINENO" 5; }
2449 if test -r "$cache_file"; then
2450 # Some versions of bash will fail to source /dev/null (special files
2451 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2452 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2454 $as_echo "$as_me: loading cache $cache_file" >&6;}
2456 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2457 *) .
"./$cache_file";;
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2462 $as_echo "$as_me: creating cache $cache_file" >&6;}
2466 # Check that the precious variables saved in the cache have kept the same
2468 ac_cache_corrupted
=false
2469 for ac_var
in $ac_precious_vars; do
2470 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2471 eval ac_new_set
=\
$ac_env_${ac_var}_set
2472 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2473 eval ac_new_val
=\
$ac_env_${ac_var}_value
2474 case $ac_old_set,$ac_new_set in
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2477 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2478 ac_cache_corrupted
=: ;;
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2481 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2482 ac_cache_corrupted
=: ;;
2485 if test "x$ac_old_val" != "x$ac_new_val"; then
2486 # differences in whitespace do not lead to failure.
2487 ac_old_val_w
=`echo x $ac_old_val`
2488 ac_new_val_w
=`echo x $ac_new_val`
2489 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2491 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2492 ac_cache_corrupted
=:
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2495 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2496 eval $ac_var=\
$ac_old_val
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2499 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2501 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2504 # Pass precious variables to config.status.
2505 if test "$ac_new_set" = set; then
2507 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2508 *) ac_arg
=$ac_var=$ac_new_val ;;
2510 case " $ac_configure_args " in
2511 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2512 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2516 if $ac_cache_corrupted; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2520 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2521 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2523 ## -------------------- ##
2524 ## Main body of script. ##
2525 ## -------------------- ##
2528 ac_cpp
='$CPP $CPPFLAGS'
2529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2538 for ac_dir
in .
"$srcdir"/.
; do
2539 if test -f "$ac_dir/install-sh"; then
2541 ac_install_sh
="$ac_aux_dir/install-sh -c"
2543 elif test -f "$ac_dir/install.sh"; then
2545 ac_install_sh
="$ac_aux_dir/install.sh -c"
2547 elif test -f "$ac_dir/shtool"; then
2549 ac_install_sh
="$ac_aux_dir/shtool install -c"
2553 if test -z "$ac_aux_dir"; then
2554 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2557 # These three variables are undocumented and unsupported,
2558 # and are intended to be withdrawn in a future Autoconf release.
2559 # They can cause serious problems if a builder's source tree is in a directory
2560 # whose full name contains unusual characters.
2561 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2562 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2563 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2567 ac_config_headers
="$ac_config_headers config.h"
2570 am__api_version
='1.14'
2572 # Find a good install program. We prefer a C program (faster),
2573 # so one script is as good as another. But avoid the broken or
2574 # incompatible versions:
2575 # SysV /etc/install, /usr/sbin/install
2576 # SunOS /usr/etc/install
2577 # IRIX /sbin/install
2579 # AmigaOS /C/install, which installs bootblocks on floppy discs
2580 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2581 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2582 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2583 # OS/2's system install, which has a completely different semantic
2584 # ./install, which can be erroneously created by make from ./install.sh.
2585 # Reject install programs that cannot install multiple files.
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2587 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2588 if test -z "$INSTALL"; then
2589 if ${ac_cv_path_install+:} false
; then :
2590 $as_echo_n "(cached) " >&6
2592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2596 test -z "$as_dir" && as_dir
=.
2597 # Account for people who put trailing slashes in PATH elements.
2598 case $as_dir/ in #((
2599 .
/ | .
// | /[cC
]/* | \
2600 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2601 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2604 # OSF1 and SCO ODT 3.0 have their own names for install.
2605 # Don't use installbsd from OSF since it installs stuff as root
2607 for ac_prog
in ginstall scoinst
install; do
2608 for ac_exec_ext
in '' $ac_executable_extensions; do
2609 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2610 if test $ac_prog = install &&
2611 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2612 # AIX install. It has an incompatible calling convention.
2614 elif test $ac_prog = install &&
2615 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2616 # program-specific install script used by HP pwplus--don't use.
2619 rm -rf conftest.one conftest.two conftest.dir
2620 echo one
> conftest.one
2621 echo two
> conftest.two
2623 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2624 test -s conftest.one
&& test -s conftest.two
&&
2625 test -s conftest.dir
/conftest.one
&&
2626 test -s conftest.dir
/conftest.two
2628 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2641 rm -rf conftest.one conftest.two conftest.dir
2644 if test "${ac_cv_path_install+set}" = set; then
2645 INSTALL
=$ac_cv_path_install
2647 # As a last resort, use the slow shell script. Don't cache a
2648 # value for INSTALL within a source directory, because that will
2649 # break other packages using the cache if that directory is
2650 # removed, or if the value is a relative name.
2651 INSTALL
=$ac_install_sh
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2655 $as_echo "$INSTALL" >&6; }
2657 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2658 # It thinks the first close brace ends the variable substitution.
2659 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2661 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2663 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2666 $as_echo_n "checking whether build environment is sane... " >&6; }
2667 # Reject unsafe characters in $srcdir or the absolute working directory
2668 # name. Accept space and tab only in the latter.
2672 *[\\\"\#\$\&\'\`$am_lf]*)
2673 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2676 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2677 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2680 # Do 'set' in a subshell so we don't clobber the current shell's
2681 # arguments. Must try -L first in case configure is actually a
2682 # symlink; some systems play weird games with the mod time of symlinks
2683 # (eg FreeBSD returns the mod time of the symlink's containing
2687 for am_try
in 1 2; do
2688 echo "timestamp, slept: $am_has_slept" > conftest.
file
2689 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2690 if test "$*" = "X"; then
2692 set X
`ls -t "$srcdir/configure" conftest.file`
2694 if test "$*" != "X $srcdir/configure conftest.file" \
2695 && test "$*" != "X conftest.file $srcdir/configure"; then
2697 # If neither matched, then we have a broken ls. This can happen
2698 # if, for instance, CONFIG_SHELL is bash and it inherits a
2699 # broken ls alias from the environment. This has actually
2700 # happened. Such a system could not be considered "sane".
2701 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2702 alias in your environment" "$LINENO" 5
2704 if test "$2" = conftest.
file || test $am_try -eq 2; then
2711 test "$2" = conftest.
file
2717 as_fn_error $?
"newly created file is older than distributed files!
2718 Check your system clock" "$LINENO" 5
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2721 $as_echo "yes" >&6; }
2722 # If we didn't sleep, we still need to ensure time stamps of config.status and
2723 # generated files are strictly newer.
2725 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2732 test "$program_prefix" != NONE
&&
2733 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2734 # Use a double $ so make ignores it.
2735 test "$program_suffix" != NONE
&&
2736 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2737 # Double any \ or $.
2738 # By default was `s,x,x', remove it if useless.
2739 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2740 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2742 # expand $ac_aux_dir to an absolute path
2743 am_aux_dir
=`cd $ac_aux_dir && pwd`
2745 if test x
"${MISSING+set}" != xset
; then
2748 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2750 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2753 # Use eval to expand $SHELL
2754 if eval "$MISSING --is-lightweight"; then
2755 am_missing_run
="$MISSING "
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2759 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2762 if test x
"${install_sh}" != xset
; then
2765 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2767 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2771 # Installed binaries are usually stripped using 'strip' when the user
2772 # run "make install-strip". However 'strip' might not be the right
2773 # tool to use in cross-compilation environments, therefore Automake
2774 # will honor the 'STRIP' environment variable to overrule this program.
2775 if test "$cross_compiling" != no
; then
2776 if test -n "$ac_tool_prefix"; then
2777 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2778 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780 $as_echo_n "checking for $ac_word... " >&6; }
2781 if ${ac_cv_prog_STRIP+:} false
; then :
2782 $as_echo_n "(cached) " >&6
2784 if test -n "$STRIP"; then
2785 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir
=.
2792 for ac_exec_ext
in '' $ac_executable_extensions; do
2793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2794 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 STRIP
=$ac_cv_prog_STRIP
2805 if test -n "$STRIP"; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2807 $as_echo "$STRIP" >&6; }
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810 $as_echo "no" >&6; }
2815 if test -z "$ac_cv_prog_STRIP"; then
2817 # Extract the first word of "strip", so it can be a program name with args.
2818 set dummy strip
; ac_word
=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2822 $as_echo_n "(cached) " >&6
2824 if test -n "$ac_ct_STRIP"; then
2825 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir
=.
2832 for ac_exec_ext
in '' $ac_executable_extensions; do
2833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2834 ac_cv_prog_ac_ct_STRIP
="strip"
2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2845 if test -n "$ac_ct_STRIP"; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2847 $as_echo "$ac_ct_STRIP" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2853 if test "x$ac_ct_STRIP" = x
; then
2856 case $cross_compiling:$ac_tool_warned in
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2860 ac_tool_warned
=yes ;;
2865 STRIP
="$ac_cv_prog_STRIP"
2869 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2872 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2873 if test -z "$MKDIR_P"; then
2874 if ${ac_cv_path_mkdir+:} false
; then :
2875 $as_echo_n "(cached) " >&6
2877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2878 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2881 test -z "$as_dir" && as_dir
=.
2882 for ac_prog
in mkdir gmkdir
; do
2883 for ac_exec_ext
in '' $ac_executable_extensions; do
2884 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2885 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2886 'mkdir (GNU coreutils) '* | \
2887 'mkdir (coreutils) '* | \
2888 'mkdir (fileutils) '4.1*)
2889 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2899 test -d .
/--version && rmdir .
/--version
2900 if test "${ac_cv_path_mkdir+set}" = set; then
2901 MKDIR_P
="$ac_cv_path_mkdir -p"
2903 # As a last resort, use the slow shell script. Don't cache a
2904 # value for MKDIR_P within a source directory, because that will
2905 # break other packages using the cache if that directory is
2906 # removed, or if the value is a relative name.
2907 MKDIR_P
="$ac_install_sh -d"
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2911 $as_echo "$MKDIR_P" >&6; }
2913 for ac_prog
in gawk mawk nawk
awk
2915 # Extract the first word of "$ac_prog", so it can be a program name with args.
2916 set dummy
$ac_prog; ac_word
=$2
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2918 $as_echo_n "checking for $ac_word... " >&6; }
2919 if ${ac_cv_prog_AWK+:} false
; then :
2920 $as_echo_n "(cached) " >&6
2922 if test -n "$AWK"; then
2923 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir
=.
2930 for ac_exec_ext
in '' $ac_executable_extensions; do
2931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2932 ac_cv_prog_AWK
="$ac_prog"
2933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943 if test -n "$AWK"; then
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2945 $as_echo "$AWK" >&6; }
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948 $as_echo "no" >&6; }
2952 test -n "$AWK" && break
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2956 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2958 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2959 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2960 $as_echo_n "(cached) " >&6
2962 cat >conftest.
make <<\_ACEOF
2965 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2967 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2968 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2970 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2972 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2976 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2978 $as_echo "yes" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2983 SET_MAKE
="MAKE=${MAKE-make}"
2986 rm -rf .tst
2>/dev
/null
2987 mkdir .tst
2>/dev
/null
2988 if test -d .tst
; then
2993 rmdir .tst
2>/dev
/null
2995 # Check whether --enable-silent-rules was given.
2996 if test "${enable_silent_rules+set}" = set; then :
2997 enableval
=$enable_silent_rules;
3000 case $enable_silent_rules in # (((
3001 yes) AM_DEFAULT_VERBOSITY
=0;;
3002 no
) AM_DEFAULT_VERBOSITY
=1;;
3003 *) AM_DEFAULT_VERBOSITY
=1;;
3005 am_make
=${MAKE-make}
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3007 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3008 if ${am_cv_make_support_nested_variables+:} false
; then :
3009 $as_echo_n "(cached) " >&6
3011 if $as_echo 'TRUE=$(BAR$(V))
3017 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3018 am_cv_make_support_nested_variables
=yes
3020 am_cv_make_support_nested_variables
=no
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3024 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3025 if test $am_cv_make_support_nested_variables = yes; then
3027 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3029 AM_V
=$AM_DEFAULT_VERBOSITY
3030 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3034 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3035 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3036 # is not polluted with repeated "-I."
3037 am__isrc
=' -I$(srcdir)'
3038 # test to see if srcdir already configured
3039 if test -f $srcdir/config.status
; then
3040 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3044 # test whether we have cygpath
3045 if test -z "$CYGPATH_W"; then
3046 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3047 CYGPATH_W
='cygpath -w'
3054 # Define the identity of the package.
3059 cat >>confdefs.h
<<_ACEOF
3060 #define PACKAGE "$PACKAGE"
3064 cat >>confdefs.h
<<_ACEOF
3065 #define VERSION "$VERSION"
3068 # Some tools Automake needs.
3070 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3073 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3076 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3079 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3082 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3084 # For better backward compatibility. To be removed once Automake 1.9.x
3085 # dies out for good. For more background, see:
3086 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3087 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3088 mkdir_p
='$(MKDIR_P)'
3090 # We need awk for the "check" target. The system "awk" is bad on
3092 # Always define AMTAR for backward compatibility. Yes, it's still used
3093 # in the wild :-( We should find a proper way to deprecate it ...
3097 # We'll loop over all known methods to create a tar archive until one works.
3098 _am_tools
='gnutar pax cpio none'
3100 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3107 # POSIX will say in a future version that running "rm -f" with no argument
3108 # is OK; and we want to be able to make that assumption in our Makefile
3109 # recipes. So use an aggressive probe to check that the usage we want is
3110 # actually supported "in the wild" to an acceptable degree.
3111 # See automake bug#10828.
3112 # To make any issue more visible, cause the running configure to be aborted
3113 # by default if the 'rm' program in use doesn't match our expectations; the
3114 # user can still override this though.
3115 if rm -f && rm -fr && rm -rf; then : OK
; else
3119 Your 'rm' program seems unable to run without file operands specified
3120 on the command line, even when the '-f' option is present. This is contrary
3121 to the behaviour of most rm programs out there, and not conforming with
3122 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3124 Please tell bug-automake@gnu.org about your system, including the value
3125 of your $PATH and any error possibly output before this message. This
3126 can help us improve future automake versions.
3129 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3130 echo 'Configuration will proceed anyway, since you have set the' >&2
3131 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3135 Aborting the configuration process, to ensure you take notice of the issue.
3137 You can download and install GNU coreutils to get an 'rm' implementation
3138 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3140 If you want to complete the configuration process using your problematic
3141 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3142 to "yes", and re-run configure.
3145 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3150 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3151 # Check whether --enable-maintainer-mode was given.
3152 if test "${enable_maintainer_mode+set}" = set; then :
3153 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3155 USE_MAINTAINER_MODE
=no
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3159 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3160 if test $USE_MAINTAINER_MODE = yes; then
3161 MAINTAINER_MODE_TRUE
=
3162 MAINTAINER_MODE_FALSE
='#'
3164 MAINTAINER_MODE_TRUE
='#'
3165 MAINTAINER_MODE_FALSE
=
3168 MAINT
=$MAINTAINER_MODE_TRUE
3173 ac_cpp
='$CPP $CPPFLAGS'
3174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3177 if test -n "$ac_tool_prefix"; then
3178 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3179 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3181 $as_echo_n "checking for $ac_word... " >&6; }
3182 if ${ac_cv_prog_CC+:} false
; then :
3183 $as_echo_n "(cached) " >&6
3185 if test -n "$CC"; then
3186 ac_cv_prog_CC
="$CC" # Let the user override the test.
3188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3192 test -z "$as_dir" && as_dir
=.
3193 for ac_exec_ext
in '' $ac_executable_extensions; do
3194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3195 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 if test -n "$CC"; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208 $as_echo "$CC" >&6; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3216 if test -z "$ac_cv_prog_CC"; then
3218 # Extract the first word of "gcc", so it can be a program name with args.
3219 set dummy gcc
; ac_word
=$2
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3221 $as_echo_n "checking for $ac_word... " >&6; }
3222 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3223 $as_echo_n "(cached) " >&6
3225 if test -n "$ac_ct_CC"; then
3226 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3232 test -z "$as_dir" && as_dir
=.
3233 for ac_exec_ext
in '' $ac_executable_extensions; do
3234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3235 ac_cv_prog_ac_ct_CC
="gcc"
3236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3245 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3246 if test -n "$ac_ct_CC"; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3248 $as_echo "$ac_ct_CC" >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3254 if test "x$ac_ct_CC" = x
; then
3257 case $cross_compiling:$ac_tool_warned in
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3261 ac_tool_warned
=yes ;;
3269 if test -z "$CC"; then
3270 if test -n "$ac_tool_prefix"; then
3271 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3272 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274 $as_echo_n "checking for $ac_word... " >&6; }
3275 if ${ac_cv_prog_CC+:} false
; then :
3276 $as_echo_n "(cached) " >&6
3278 if test -n "$CC"; then
3279 ac_cv_prog_CC
="$CC" # Let the user override the test.
3281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3285 test -z "$as_dir" && as_dir
=.
3286 for ac_exec_ext
in '' $ac_executable_extensions; do
3287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3288 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 if test -n "$CC"; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3301 $as_echo "$CC" >&6; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3310 if test -z "$CC"; then
3311 # Extract the first word of "cc", so it can be a program name with args.
3312 set dummy cc
; ac_word
=$2
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3314 $as_echo_n "checking for $ac_word... " >&6; }
3315 if ${ac_cv_prog_CC+:} false
; then :
3316 $as_echo_n "(cached) " >&6
3318 if test -n "$CC"; then
3319 ac_cv_prog_CC
="$CC" # Let the user override the test.
3322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3326 test -z "$as_dir" && as_dir
=.
3327 for ac_exec_ext
in '' $ac_executable_extensions; do
3328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3329 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3330 ac_prog_rejected
=yes
3334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 if test $ac_prog_rejected = yes; then
3342 # We found a bogon in the path, so make sure we never use it.
3343 set dummy
$ac_cv_prog_CC
3345 if test $# != 0; then
3346 # We chose a different compiler from the bogus one.
3347 # However, it has the same basename, so the bogon will be chosen
3348 # first if we set CC to just the basename; use the full file name.
3350 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3356 if test -n "$CC"; then
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3358 $as_echo "$CC" >&6; }
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3361 $as_echo "no" >&6; }
3366 if test -z "$CC"; then
3367 if test -n "$ac_tool_prefix"; then
3368 for ac_prog
in cl.exe
3370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3371 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if ${ac_cv_prog_CC+:} false
; then :
3375 $as_echo_n "(cached) " >&6
3377 if test -n "$CC"; then
3378 ac_cv_prog_CC
="$CC" # Let the user override the test.
3380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3384 test -z "$as_dir" && as_dir
=.
3385 for ac_exec_ext
in '' $ac_executable_extensions; do
3386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3387 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 if test -n "$CC"; then
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3400 $as_echo "$CC" >&6; }
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3407 test -n "$CC" && break
3410 if test -z "$CC"; then
3412 for ac_prog
in cl.exe
3414 # Extract the first word of "$ac_prog", so it can be a program name with args.
3415 set dummy
$ac_prog; ac_word
=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3419 $as_echo_n "(cached) " >&6
3421 if test -n "$ac_ct_CC"; then
3422 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir
=.
3429 for ac_exec_ext
in '' $ac_executable_extensions; do
3430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3431 ac_cv_prog_ac_ct_CC
="$ac_prog"
3432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3442 if test -n "$ac_ct_CC"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3444 $as_echo "$ac_ct_CC" >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3451 test -n "$ac_ct_CC" && break
3454 if test "x$ac_ct_CC" = x
; then
3457 case $cross_compiling:$ac_tool_warned in
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3461 ac_tool_warned
=yes ;;
3470 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3472 as_fn_error $?
"no acceptable C compiler found in \$PATH
3473 See \`config.log' for more details" "$LINENO" 5; }
3475 # Provide some information about the compiler.
3476 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3479 for ac_option
in --version -v -V -qversion; do
3480 { { ac_try
="$ac_compiler $ac_option >&5"
3482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3483 *) ac_try_echo=$ac_try;;
3485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486 $as_echo "$ac_try_echo"; } >&5
3487 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3489 if test -s conftest.err; then
3491 ... rest of stderr output deleted ...
3492 10q' conftest.err >conftest.er1
3493 cat conftest.er1 >&5
3495 rm -f conftest.er1 conftest.err
3496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3497 test $ac_status = 0; }
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3511 ac_clean_files_save=$ac_clean_files
3512 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3513 # Try to create an executable without -o first, disregard a.out.
3514 # It will help us diagnose broken compilers, and finding out an intuition
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3517 $as_echo_n "checking whether the C compiler works... " >&6; }
3518 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3520 # The possible output files:
3521 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3524 for ac_file in $ac_files
3527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3528 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3533 if { { ac_try="$ac_link_default"
3535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3536 *) ac_try_echo
=$ac_try;;
3538 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3539 $as_echo "$ac_try_echo"; } >&5
3540 (eval "$ac_link_default") 2>&5
3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3543 test $ac_status = 0; }; then :
3544 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3545 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3546 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3547 # so that the user can short-circuit this test for compilers unknown to
3549 for ac_file
in $ac_files ''
3551 test -f "$ac_file" || continue
3553 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3556 # We found the default executable, but exeext='' is most
3560 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3562 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3564 # We set ac_cv_exeext here because the later test for it is not
3565 # safe: cross compilers may not add the suffix if given an `-o'
3566 # argument, so we may need to know it at that point already.
3567 # Even if this section looks crufty: it has the advantage of
3574 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3579 if test -z "$ac_file"; then :
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3582 $as_echo "$as_me: failed program was:" >&5
3583 sed 's/^/| /' conftest.
$ac_ext >&5
3585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 as_fn_error
77 "C compiler cannot create executables
3588 See \`config.log' for more details" "$LINENO" 5; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3591 $as_echo "yes" >&6; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3594 $as_echo_n "checking for C compiler default output file name... " >&6; }
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3596 $as_echo "$ac_file" >&6; }
3597 ac_exeext
=$ac_cv_exeext
3599 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3600 ac_clean_files
=$ac_clean_files_save
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3602 $as_echo_n "checking for suffix of executables... " >&6; }
3603 if { { ac_try
="$ac_link"
3605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3606 *) ac_try_echo=$ac_try;;
3608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3609 $as_echo "$ac_try_echo"; } >&5
3610 (eval "$ac_link") 2>&5
3612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3613 test $ac_status = 0; }; then :
3614 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3615 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3616 # work properly (i.e., refer to `conftest.exe'), while it won't with
3618 for ac_file
in conftest.exe conftest conftest.
*; do
3619 test -f "$ac_file" || continue
3621 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3622 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3630 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3631 See \`config.log' for more details" "$LINENO" 5; }
3633 rm -f conftest conftest
$ac_cv_exeext
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3635 $as_echo "$ac_cv_exeext" >&6; }
3637 rm -f conftest.
$ac_ext
3638 EXEEXT
=$ac_cv_exeext
3640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3646 FILE *f = fopen ("conftest.out", "w");
3647 return ferror (f) || fclose (f) != 0;
3653 ac_clean_files
="$ac_clean_files conftest.out"
3654 # Check that the compiler produces executables we can run. If not, either
3655 # the compiler is broken, or we cross compile.
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3657 $as_echo_n "checking whether we are cross compiling... " >&6; }
3658 if test "$cross_compiling" != yes; then
3659 { { ac_try
="$ac_link"
3661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3662 *) ac_try_echo=$ac_try;;
3664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3665 $as_echo "$ac_try_echo"; } >&5
3666 (eval "$ac_link") 2>&5
3668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3669 test $ac_status = 0; }
3670 if { ac_try='./conftest$ac_cv_exeext'
3671 { { case "(($ac_try" in
3672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3673 *) ac_try_echo
=$ac_try;;
3675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3676 $as_echo "$ac_try_echo"; } >&5
3677 (eval "$ac_try") 2>&5
3679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3680 test $ac_status = 0; }; }; then
3683 if test "$cross_compiling" = maybe
; then
3686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3688 as_fn_error $?
"cannot run C compiled programs.
3689 If you meant to cross compile, use \`--host'.
3690 See \`config.log' for more details" "$LINENO" 5; }
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3695 $as_echo "$cross_compiling" >&6; }
3697 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3698 ac_clean_files
=$ac_clean_files_save
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3700 $as_echo_n "checking for suffix of object files... " >&6; }
3701 if ${ac_cv_objext+:} false
; then :
3702 $as_echo_n "(cached) " >&6
3704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3715 rm -f conftest.o conftest.obj
3716 if { { ac_try
="$ac_compile"
3718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3719 *) ac_try_echo=$ac_try;;
3721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3722 $as_echo "$ac_try_echo"; } >&5
3723 (eval "$ac_compile") 2>&5
3725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3726 test $ac_status = 0; }; then :
3727 for ac_file in conftest.o conftest.obj conftest.*; do
3728 test -f "$ac_file" || continue;
3730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3731 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3736 $as_echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.$ac_ext >&5
3739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3741 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3742 See \
`config.log' for more details" "$LINENO" 5; }
3744 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3747 $as_echo "$ac_cv_objext" >&6; }
3748 OBJEXT=$ac_cv_objext
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3751 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3752 if ${ac_cv_c_compiler_gnu+:} false; then :
3753 $as_echo_n "(cached) " >&6
3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3769 if ac_fn_c_try_compile "$LINENO"; then :
3774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3779 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3780 if test $ac_compiler_gnu = yes; then
3785 ac_test_CFLAGS=${CFLAGS+set}
3786 ac_save_CFLAGS=$CFLAGS
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3788 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3789 if ${ac_cv_prog_cc_g+:} false; then :
3790 $as_echo_n "(cached) " >&6
3792 ac_save_c_werror_flag=$ac_c_werror_flag
3793 ac_c_werror_flag=yes
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3807 if ac_fn_c_try_compile "$LINENO"; then :
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3822 if ac_fn_c_try_compile "$LINENO"; then :
3825 ac_c_werror_flag=$ac_save_c_werror_flag
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3838 if ac_fn_c_try_compile "$LINENO"; then :
3841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 ac_c_werror_flag=$ac_save_c_werror_flag
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3849 $as_echo "$ac_cv_prog_cc_g" >&6; }
3850 if test "$ac_test_CFLAGS" = set; then
3851 CFLAGS=$ac_save_CFLAGS
3852 elif test $ac_cv_prog_cc_g = yes; then
3853 if test "$GCC" = yes; then
3859 if test "$GCC" = yes; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3866 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3867 if ${ac_cv_prog_cc_c89+:} false; then :
3868 $as_echo_n "(cached) " >&6
3870 ac_cv_prog_cc_c89=no
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3877 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3878 struct buf { int x; };
3879 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3880 static char *e (p, i)
3886 static char *f (char * (*g) (char **, int), char **p, ...)
3891 s = g (p, va_arg (v,int));
3896 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3897 function prototypes and stuff, but not '\xHH' hex character constants.
3898 These don't provoke an error unfortunately, instead are silently treated
3899 as 'x'. The following induces an error, until -std is added to get
3900 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3901 array size at least. It's necessary to write '\x00'==0 to get something
3902 that's true only with -std. */
3903 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3905 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3906 inside strings and character constants. */
3908 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3910 int test (int i, double x);
3911 struct s1 {int (*f) (int a);};
3912 struct s2 {int (*f) (double a);};
3913 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3919 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3924 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3925 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3927 CC="$ac_save_CC $ac_arg"
3928 if ac_fn_c_try_compile "$LINENO"; then :
3929 ac_cv_prog_cc_c89=$ac_arg
3931 rm -f core conftest.err conftest.$ac_objext
3932 test "x$ac_cv_prog_cc_c89" != "xno" && break
3934 rm -f conftest.$ac_ext
3939 case "x$ac_cv_prog_cc_c89" in
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3942 $as_echo "none needed" >&6; } ;;
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3945 $as_echo "unsupported" >&6; } ;;
3947 CC="$CC $ac_cv_prog_cc_c89"
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3949 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3951 if test "x$ac_cv_prog_cc_c89" != xno; then :
3956 ac_cpp='$CPP $CPPFLAGS'
3957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3962 ac_cpp='$CPP $CPPFLAGS'
3963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3967 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3968 if ${am_cv_prog_cc_c_o+:} false; then :
3969 $as_echo_n "(cached) " >&6
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3982 # Make sure it works both with $CC and with simple cc.
3983 # Following AC_PROG_CC_C_O, we do the test twice because some
3984 # compilers refuse to overwrite an existing .o file with -o,
3985 # though they will create one.
3986 am_cv_prog_cc_c_o=yes
3988 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3989 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } \
3993 && test -f conftest2.$ac_objext; then
3996 am_cv_prog_cc_c_o=no
4000 rm -f core conftest*
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4004 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4005 if test "$am_cv_prog_cc_c_o" != yes; then
4006 # Losing compiler, so override with the script.
4007 # FIXME: It is wrong to rewrite CC.
4008 # But if we don't then we get into trouble of one sort or another.
4009 # A longer-term fix would be to have automake use am__CC in this case,
4010 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4011 CC="$am_aux_dir/compile $CC"
4014 ac_cpp='$CPP $CPPFLAGS'
4015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4019 DEPDIR="${am__leading_dot}deps"
4021 ac_config_commands="$ac_config_commands depfiles"
4024 am_make=${MAKE-make}
4025 cat > confinc << 'END'
4027 @echo this is the am__doit target
4030 # If we don't find an include directive, just comment out the code.
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4032 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4036 # First try GNU make style include.
4037 echo "include confinc" > confmf
4038 # Ignore all kinds of additional output from 'make'.
4039 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4040 *the\ am__doit\ target*)
4046 # Now try BSD make style include.
4047 if test "$am__include" = "#"; then
4048 echo '.include "confinc"' > confmf
4049 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4050 *the\ am__doit\ target*)
4051 am__include=.include
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4060 $as_echo "$_am_result" >&6; }
4061 rm -f confinc confmf
4063 # Check whether --enable-dependency-tracking was given.
4064 if test "${enable_dependency_tracking+set}" = set; then :
4065 enableval=$enable_dependency_tracking;
4068 if test "x$enable_dependency_tracking" != xno; then
4069 am_depcomp="$ac_aux_dir/depcomp"
4073 if test "x$enable_dependency_tracking" != xno; then
4083 depcc="$CC" am_compiler_list=
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4086 $as_echo_n "checking dependency style of $depcc... " >&6; }
4087 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4088 $as_echo_n "(cached) " >&6
4090 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4091 # We make a subdir and do the tests there. Otherwise we can end up
4092 # making bogus files that we don't know about and never remove. For
4093 # instance it was reported that on HP-UX the gcc test will end up
4094 # making a dummy file named 'D' -- because '-MD' means "put the output
4098 # Copy depcomp to subdir because otherwise we won't find it if we're
4099 # using a relative directory.
4100 cp "$am_depcomp" conftest.dir
4102 # We will build objects and dependencies in a subdirectory because
4103 # it helps to detect inapplicable dependency modes. For instance
4104 # both Tru64's cc and ICC support -MD to output dependencies as a
4105 # side effect of compilation, but ICC will put the dependencies in
4106 # the current directory while Tru64 will put them in the object
4110 am_cv_CC_dependencies_compiler_type=none
4111 if test "$am_compiler_list" = ""; then
4112 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4115 case " $depcc " in #(
4116 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4119 for depmode in $am_compiler_list; do
4120 # Setup a source with many dependencies, because some compilers
4121 # like to wrap large dependency lists on column 80 (with \), and
4122 # we should not choose a depcomp mode which is confused by this.
4124 # We need to recreate these files for each test, as the compiler may
4125 # overwrite some of them when testing with obscure command lines.
4126 # This happens at least with the AIX C compiler.
4128 for i in 1 2 3 4 5 6; do
4129 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4130 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4131 # Solaris 10 /bin/sh.
4132 echo '/* dummy */' > sub/conftst$i.h
4134 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4136 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4137 # mode. It turns out that the SunPro C++ compiler does not properly
4138 # handle '-M -o', and we need to detect this. Also, some Intel
4139 # versions had trouble with output in subdirs.
4140 am__obj=sub/conftest.${OBJEXT-o}
4141 am__minus_obj="-o $am__obj"
4144 # This depmode causes a compiler race in universal mode.
4145 test "$am__universal" = false || continue
4148 # After this tag, mechanisms are not by side-effect, so they'll
4149 # only be used when explicitly requested.
4150 if test "x$enable_dependency_tracking" = xyes; then
4156 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4157 # This compiler won't grok '-c -o', but also, the minuso test has
4158 # not run yet. These depmodes are late enough in the game, and
4159 # so weak that their functioning should not be impacted.
4160 am__obj=conftest.${OBJEXT-o}
4165 if depmode=$depmode \
4166 source=sub/conftest.c object=$am__obj \
4167 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4168 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4169 >/dev/null 2>conftest.err &&
4170 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4171 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4172 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4173 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4174 # icc doesn't choke on unknown options, it will just issue warnings
4175 # or remarks (even with -Werror). So we grep stderr for any message
4176 # that says an option was ignored or not supported.
4177 # When given -MP, icc 7.0 and 7.1 complain thusly:
4178 # icc: Command line warning: ignoring option '-M'; no argument required
4179 # The diagnosis changed in icc 8.0:
4180 # icc: Command line remark: option '-MP' not supported
4181 if (grep 'ignoring option' conftest.err ||
4182 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4183 am_cv_CC_dependencies_compiler_type=$depmode
4192 am_cv_CC_dependencies_compiler_type=none
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4197 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4198 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4201 test "x$enable_dependency_tracking" != xno \
4202 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4204 am__fastdepCC_FALSE='#'
4206 am__fastdepCC_TRUE='#'
4207 am__fastdepCC_FALSE=
4212 ac_cpp='$CXXCPP $CPPFLAGS'
4213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4216 if test -z "$CXX"; then
4217 if test -n "$CCC"; then
4220 if test -n "$ac_tool_prefix"; then
4221 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_CXX+:} false; then :
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$CXX"; then
4231 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir=.
4238 for ac_exec_ext in '' $ac_executable_extensions; do
4239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4240 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 if test -n "$CXX"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4253 $as_echo "$CXX" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4260 test -n "$CXX" && break
4263 if test -z "$CXX"; then
4265 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4267 # Extract the first word of "$ac_prog", so it can be a program name with args.
4268 set dummy $ac_prog; ac_word=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4272 $as_echo_n "(cached) " >&6
4274 if test -n "$ac_ct_CXX"; then
4275 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4281 test -z "$as_dir" && as_dir=.
4282 for ac_exec_ext in '' $ac_executable_extensions; do
4283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4284 ac_cv_prog_ac_ct_CXX="$ac_prog"
4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4295 if test -n "$ac_ct_CXX"; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4297 $as_echo "$ac_ct_CXX" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4304 test -n "$ac_ct_CXX" && break
4307 if test "x$ac_ct_CXX" = x; then
4310 case $cross_compiling:$ac_tool_warned in
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4314 ac_tool_warned=yes ;;
4322 # Provide some information about the compiler.
4323 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4326 for ac_option in --version -v -V -qversion; do
4327 { { ac_try="$ac_compiler $ac_option >&5"
4329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4330 *) ac_try_echo
=$ac_try;;
4332 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4333 $as_echo "$ac_try_echo"; } >&5
4334 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4336 if test -s conftest.err
; then
4338 ... rest of stderr output deleted ...
4339 10q' conftest.err
>conftest.er1
4340 cat conftest.er1
>&5
4342 rm -f conftest.er1 conftest.err
4343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4344 test $ac_status = 0; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4348 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4349 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4350 $as_echo_n "(cached) " >&6
4352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4366 if ac_fn_cxx_try_compile
"$LINENO"; then :
4371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4372 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4376 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4377 if test $ac_compiler_gnu = yes; then
4382 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4383 ac_save_CXXFLAGS
=$CXXFLAGS
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4385 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4386 if ${ac_cv_prog_cxx_g+:} false
; then :
4387 $as_echo_n "(cached) " >&6
4389 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4390 ac_cxx_werror_flag
=yes
4393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4404 if ac_fn_cxx_try_compile
"$LINENO"; then :
4405 ac_cv_prog_cxx_g
=yes
4408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4409 /* end confdefs.h. */
4419 if ac_fn_cxx_try_compile
"$LINENO"; then :
4422 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4435 if ac_fn_cxx_try_compile
"$LINENO"; then :
4436 ac_cv_prog_cxx_g
=yes
4438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4443 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4446 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4447 if test "$ac_test_CXXFLAGS" = set; then
4448 CXXFLAGS
=$ac_save_CXXFLAGS
4449 elif test $ac_cv_prog_cxx_g = yes; then
4450 if test "$GXX" = yes; then
4456 if test "$GXX" = yes; then
4463 ac_cpp
='$CPP $CPPFLAGS'
4464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4468 depcc
="$CXX" am_compiler_list
=
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4471 $as_echo_n "checking dependency style of $depcc... " >&6; }
4472 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4473 $as_echo_n "(cached) " >&6
4475 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4476 # We make a subdir and do the tests there. Otherwise we can end up
4477 # making bogus files that we don't know about and never remove. For
4478 # instance it was reported that on HP-UX the gcc test will end up
4479 # making a dummy file named 'D' -- because '-MD' means "put the output
4483 # Copy depcomp to subdir because otherwise we won't find it if we're
4484 # using a relative directory.
4485 cp "$am_depcomp" conftest.dir
4487 # We will build objects and dependencies in a subdirectory because
4488 # it helps to detect inapplicable dependency modes. For instance
4489 # both Tru64's cc and ICC support -MD to output dependencies as a
4490 # side effect of compilation, but ICC will put the dependencies in
4491 # the current directory while Tru64 will put them in the object
4495 am_cv_CXX_dependencies_compiler_type
=none
4496 if test "$am_compiler_list" = ""; then
4497 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4500 case " $depcc " in #(
4501 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4504 for depmode
in $am_compiler_list; do
4505 # Setup a source with many dependencies, because some compilers
4506 # like to wrap large dependency lists on column 80 (with \), and
4507 # we should not choose a depcomp mode which is confused by this.
4509 # We need to recreate these files for each test, as the compiler may
4510 # overwrite some of them when testing with obscure command lines.
4511 # This happens at least with the AIX C compiler.
4513 for i
in 1 2 3 4 5 6; do
4514 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4515 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4516 # Solaris 10 /bin/sh.
4517 echo '/* dummy */' > sub
/conftst
$i.h
4519 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4521 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4522 # mode. It turns out that the SunPro C++ compiler does not properly
4523 # handle '-M -o', and we need to detect this. Also, some Intel
4524 # versions had trouble with output in subdirs.
4525 am__obj
=sub
/conftest.
${OBJEXT-o}
4526 am__minus_obj
="-o $am__obj"
4529 # This depmode causes a compiler race in universal mode.
4530 test "$am__universal" = false
|| continue
4533 # After this tag, mechanisms are not by side-effect, so they'll
4534 # only be used when explicitly requested.
4535 if test "x$enable_dependency_tracking" = xyes
; then
4541 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4542 # This compiler won't grok '-c -o', but also, the minuso test has
4543 # not run yet. These depmodes are late enough in the game, and
4544 # so weak that their functioning should not be impacted.
4545 am__obj
=conftest.
${OBJEXT-o}
4550 if depmode
=$depmode \
4551 source=sub
/conftest.c object
=$am__obj \
4552 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4553 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4554 >/dev
/null
2>conftest.err
&&
4555 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4556 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4557 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4558 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4559 # icc doesn't choke on unknown options, it will just issue warnings
4560 # or remarks (even with -Werror). So we grep stderr for any message
4561 # that says an option was ignored or not supported.
4562 # When given -MP, icc 7.0 and 7.1 complain thusly:
4563 # icc: Command line warning: ignoring option '-M'; no argument required
4564 # The diagnosis changed in icc 8.0:
4565 # icc: Command line remark: option '-MP' not supported
4566 if (grep 'ignoring option' conftest.err
||
4567 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4568 am_cv_CXX_dependencies_compiler_type
=$depmode
4577 am_cv_CXX_dependencies_compiler_type
=none
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4582 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4583 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4586 test "x$enable_dependency_tracking" != xno \
4587 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4588 am__fastdepCXX_TRUE
=
4589 am__fastdepCXX_FALSE
='#'
4591 am__fastdepCXX_TRUE
='#'
4592 am__fastdepCXX_FALSE
=
4597 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4598 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4601 if test -n "$ac_tool_prefix"; then
4602 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4605 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if ${ac_cv_prog_OBJCXX+:} false
; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -n "$OBJCXX"; then
4612 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir
=.
4619 for ac_exec_ext
in '' $ac_executable_extensions; do
4620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 OBJCXX
=$ac_cv_prog_OBJCXX
4632 if test -n "$OBJCXX"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4634 $as_echo "$OBJCXX" >&6; }
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4641 test -n "$OBJCXX" && break
4644 if test -z "$OBJCXX"; then
4645 ac_ct_OBJCXX
=$OBJCXX
4646 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4648 # Extract the first word of "$ac_prog", so it can be a program name with args.
4649 set dummy
$ac_prog; ac_word
=$2
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -n "$ac_ct_OBJCXX"; then
4656 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir
=.
4663 for ac_exec_ext
in '' $ac_executable_extensions; do
4664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4676 if test -n "$ac_ct_OBJCXX"; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4678 $as_echo "$ac_ct_OBJCXX" >&6; }
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4685 test -n "$ac_ct_OBJCXX" && break
4688 if test "x$ac_ct_OBJCXX" = x
; then
4691 case $cross_compiling:$ac_tool_warned in
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4695 ac_tool_warned
=yes ;;
4697 OBJCXX
=$ac_ct_OBJCXX
4701 # Provide some information about the compiler.
4702 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4705 for ac_option
in --version -v -V -qversion; do
4706 { { ac_try
="$ac_compiler $ac_option >&5"
4708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4709 *) ac_try_echo=$ac_try;;
4711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4712 $as_echo "$ac_try_echo"; } >&5
4713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4715 if test -s conftest.err; then
4717 ... rest of stderr output deleted ...
4718 10q' conftest.err >conftest.er1
4719 cat conftest.er1 >&5
4721 rm -f conftest.er1 conftest.err
4722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4723 test $ac_status = 0; }
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4727 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4728 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4729 $as_echo_n "(cached) " >&6
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4745 if ac_fn_objcxx_try_compile "$LINENO"; then :
4750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4751 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4755 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4756 if test $ac_compiler_gnu = yes; then
4761 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4762 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4764 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4765 if ${ac_cv_prog_objcxx_g+:} false; then :
4766 $as_echo_n "(cached) " >&6
4768 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4769 ac_objcxx_werror_flag=yes
4770 ac_cv_prog_objcxx_g=no
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4783 if ac_fn_objcxx_try_compile "$LINENO"; then :
4784 ac_cv_prog_objcxx_g=yes
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4798 if ac_fn_objcxx_try_compile "$LINENO"; then :
4801 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4814 if ac_fn_objcxx_try_compile "$LINENO"; then :
4815 ac_cv_prog_objcxx_g=yes
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4825 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4826 if test "$ac_test_OBJCXXFLAGS" = set; then
4827 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4828 elif test $ac_cv_prog_objcxx_g = yes; then
4829 if test "$GOBJCXX" = yes; then
4830 OBJCXXFLAGS="-g -O2"
4835 if test "$GOBJCXX" = yes; then
4842 ac_cpp='$CPP $CPPFLAGS'
4843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4847 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4850 $as_echo_n "checking dependency style of $depcc... " >&6; }
4851 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4852 $as_echo_n "(cached) " >&6
4854 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4855 # We make a subdir and do the tests there. Otherwise we can end up
4856 # making bogus files that we don't know about and never remove. For
4857 # instance it was reported that on HP-UX the gcc test will end up
4858 # making a dummy file named 'D' -- because '-MD' means "put the output
4862 # Copy depcomp to subdir because otherwise we won't find it if we're
4863 # using a relative directory.
4864 cp "$am_depcomp" conftest.dir
4866 # We will build objects and dependencies in a subdirectory because
4867 # it helps to detect inapplicable dependency modes. For instance
4868 # both Tru64's cc and ICC support -MD to output dependencies as a
4869 # side effect of compilation, but ICC will put the dependencies in
4870 # the current directory while Tru64 will put them in the object
4874 am_cv_OBJCXX_dependencies_compiler_type=none
4875 if test "$am_compiler_list" = ""; then
4876 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4881 for depmode in $am_compiler_list; do
4882 # Setup a source with many dependencies, because some compilers
4883 # like to wrap large dependency lists on column 80 (with \), and
4884 # we should not choose a depcomp mode which is confused by this.
4886 # We need to recreate these files for each test, as the compiler may
4887 # overwrite some of them when testing with obscure command lines.
4888 # This happens at least with the AIX C compiler.
4890 for i in 1 2 3 4 5 6; do
4891 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4892 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4893 # Solaris 10 /bin/sh.
4894 echo '/* dummy */' > sub/conftst$i.h
4896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4898 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4899 # mode. It turns out that the SunPro C++ compiler does not properly
4900 # handle '-M -o', and we need to detect this. Also, some Intel
4901 # versions had trouble with output in subdirs.
4902 am__obj=sub/conftest.${OBJEXT-o}
4903 am__minus_obj="-o $am__obj"
4906 # This depmode causes a compiler race in universal mode.
4907 test "$am__universal" = false || continue
4910 # After this tag, mechanisms are not by side-effect, so they'll
4911 # only be used when explicitly requested.
4912 if test "x$enable_dependency_tracking" = xyes; then
4918 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4919 # This compiler won't grok '-c -o', but also, the minuso test has
4920 # not run yet. These depmodes are late enough in the game, and
4921 # so weak that their functioning should not be impacted.
4922 am__obj=conftest.${OBJEXT-o}
4927 if depmode=$depmode \
4928 source=sub/conftest.c object=$am__obj \
4929 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4930 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4931 >/dev/null 2>conftest.err &&
4932 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4933 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4934 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4935 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4936 # icc doesn't choke on unknown options, it will just issue warnings
4937 # or remarks (even with -Werror). So we grep stderr for any message
4938 # that says an option was ignored or not supported.
4939 # When given -MP, icc 7.0 and 7.1 complain thusly:
4940 # icc: Command line warning: ignoring option '-M'; no argument required
4941 # The diagnosis changed in icc 8.0:
4942 # icc: Command line remark: option '-MP' not supported
4943 if (grep 'ignoring option' conftest.err ||
4944 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4945 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4954 am_cv_OBJCXX_dependencies_compiler_type=none
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4959 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4960 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4963 test "x$enable_dependency_tracking" != xno \
4964 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4965 am__fastdepOBJCXX_TRUE=
4966 am__fastdepOBJCXX_FALSE='#'
4968 am__fastdepOBJCXX_TRUE='#'
4969 am__fastdepOBJCXX_FALSE=
4975 if test -n "$ac_tool_prefix"; then
4976 for ac_prog in ar lib "link -lib"
4978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4979 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_prog_AR+:} false; then :
4983 $as_echo_n "(cached) " >&6
4985 if test -n "$AR"; then
4986 ac_cv_prog_AR="$AR" # Let the user override the test.
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 if test -n "$AR"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5008 $as_echo "$AR" >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5015 test -n "$AR" && break
5018 if test -z "$AR"; then
5020 for ac_prog in ar lib "link -lib"
5022 # Extract the first word of "$ac_prog", so it can be a program name with args.
5023 set dummy $ac_prog; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$ac_ct_AR"; then
5030 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir=.
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_ac_ct_AR="$ac_prog"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5050 if test -n "$ac_ct_AR"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5052 $as_echo "$ac_ct_AR" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5059 test -n "$ac_ct_AR" && break
5062 if test "x$ac_ct_AR" = x; then
5065 case $cross_compiling:$ac_tool_warned in
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5069 ac_tool_warned=yes ;;
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5078 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5079 if ${am_cv_ar_interface+:} false; then :
5080 $as_echo_n "(cached) " >&6
5083 ac_cpp='$CPP $CPPFLAGS'
5084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5088 am_cv_ar_interface=ar
5089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5090 /* end confdefs.h. */
5091 int some_variable = 0;
5093 if ac_fn_c_try_compile "$LINENO"; then :
5094 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5095 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5096 (eval $am_ar_try) 2>&5
5098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5099 test $ac_status = 0; }
5100 if test "$ac_status" -eq 0; then
5101 am_cv_ar_interface=ar
5103 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5104 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5105 (eval $am_ar_try) 2>&5
5107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5108 test $ac_status = 0; }
5109 if test "$ac_status" -eq 0; then
5110 am_cv_ar_interface=lib
5112 am_cv_ar_interface=unknown
5115 rm -f conftest.lib libconftest.a
5118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5120 ac_cpp='$CPP $CPPFLAGS'
5121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5127 $as_echo "$am_cv_ar_interface" >&6; }
5129 case $am_cv_ar_interface in
5133 # Microsoft lib, so override with the ar-lib wrapper script.
5134 # FIXME: It is wrong to rewrite AR.
5135 # But if we don't then we get into trouble of one sort or another.
5136 # A longer-term fix would be to have automake use am__AR in this case,
5137 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5139 AR="$am_aux_dir/ar-lib $AR"
5142 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5151 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5156 macro_version='2.4.6'
5157 macro_revision='2.4.6'
5171 ltmain=$ac_aux_dir/ltmain.sh
5173 # Make sure we can run config.sub.
5174 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5175 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5178 $as_echo_n "checking build system type... " >&6; }
5179 if ${ac_cv_build+:} false; then :
5180 $as_echo_n "(cached) " >&6
5182 ac_build_alias=$build_alias
5183 test "x$ac_build_alias" = x &&
5184 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5185 test "x$ac_build_alias" = x &&
5186 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5187 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5188 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5192 $as_echo "$ac_cv_build" >&6; }
5193 case $ac_cv_build in
5195 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5198 ac_save_IFS=$IFS; IFS='-'
5204 # Remember, the first character of IFS is used to create $*,
5205 # except with old shells:
5208 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5212 $as_echo_n "checking host system type... " >&6; }
5213 if ${ac_cv_host+:} false; then :
5214 $as_echo_n "(cached) " >&6
5216 if test "x$host_alias" = x; then
5217 ac_cv_host=$ac_cv_build
5219 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5220 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5225 $as_echo "$ac_cv_host" >&6; }
5228 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5231 ac_save_IFS=$IFS; IFS='-'
5237 # Remember, the first character of IFS is used to create $*,
5238 # except with old shells:
5241 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5244 # Backslashify metacharacters that are still active within
5245 # double-quoted strings.
5246 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5248 # Same as above, but do not quote variable references.
5249 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5251 # Sed substitution to delay expansion of an escaped shell variable in a
5252 # double_quote_subst'ed string.
5253 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5255 # Sed substitution to delay expansion of an escaped single quote.
5256 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5258 # Sed substitution to avoid accidental globbing in evaled expressions
5259 no_glob_subst='s/\*/\\\*/g'
5261 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5262 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5263 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5266 $as_echo_n "checking how to print
strings...
" >&6; }
5267 # Test print first, because it will be a builtin if present.
5268 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5269 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5271 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5274 # Use this function as a fallback that always works.
5275 func_fallback_echo ()
5277 eval 'cat <<_LTECHO_EOF
5281 ECHO='func_fallback_echo'
5284 # func_echo_all arg...
5285 # Invoke $ECHO with all args, space-separated.
5292 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5293 $as_echo "printf" >&6; } ;;
5294 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5295 $as_echo "print
-r" >&6; } ;;
5296 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5297 $as_echo "cat" >&6; } ;;
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5314 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5315 if ${ac_cv_path_SED+:} false; then :
5316 $as_echo_n "(cached
) " >&6
5318 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5319 for ac_i in 1 2 3 4 5 6 7; do
5320 ac_script="$ac_script$as_nl$ac_script"
5322 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5323 { ac_script=; unset ac_script;}
5324 if test -z "$SED"; then
5325 ac_path_SED_found=false
5326 # Loop through the user's path and test for each of PROGNAME-LIST
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir=.
5332 for ac_prog in sed gsed; do
5333 for ac_exec_ext in '' $ac_executable_extensions; do
5334 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5335 as_fn_executable_p "$ac_path_SED" || continue
5336 # Check for GNU ac_path_SED and select it if it is found.
5337 # Check for GNU $ac_path_SED
5338 case `"$ac_path_SED" --version 2>&1` in
5340 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5343 $as_echo_n 0123456789 >"conftest.
in"
5346 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5347 mv "conftest.tmp
" "conftest.
in"
5348 cp "conftest.
in" "conftest.
nl"
5349 $as_echo '' >> "conftest.
nl"
5350 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5351 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5352 as_fn_arith $ac_count + 1 && ac_count=$as_val
5353 if test $ac_count -gt ${ac_path_SED_max-0}; then
5354 # Best one so far, save it but keep looking for a better one
5355 ac_cv_path_SED="$ac_path_SED"
5356 ac_path_SED_max=$ac_count
5358 # 10*(2^10) chars as input seems more than enough
5359 test $ac_count -gt 10 && break
5361 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5364 $ac_path_SED_found && break 3
5369 if test -z "$ac_cv_path_SED"; then
5370 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5378 $as_echo "$ac_cv_path_SED" >&6; }
5379 SED="$ac_cv_path_SED"
5382 test -z "$SED" && SED=sed
5383 Xsed="$SED -e 1s
/^X
//"
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5396 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5397 if ${ac_cv_path_GREP+:} false; then :
5398 $as_echo_n "(cached
) " >&6
5400 if test -z "$GREP"; then
5401 ac_path_GREP_found=false
5402 # Loop through the user's path and test for each of PROGNAME-LIST
5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5407 test -z "$as_dir" && as_dir=.
5408 for ac_prog in grep ggrep; do
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5411 as_fn_executable_p "$ac_path_GREP" || continue
5412 # Check for GNU ac_path_GREP and select it if it is found.
5413 # Check for GNU $ac_path_GREP
5414 case `"$ac_path_GREP" --version 2>&1` in
5416 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5419 $as_echo_n 0123456789 >"conftest.
in"
5422 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5423 mv "conftest.tmp
" "conftest.
in"
5424 cp "conftest.
in" "conftest.
nl"
5425 $as_echo 'GREP' >> "conftest.
nl"
5426 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5427 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5428 as_fn_arith $ac_count + 1 && ac_count=$as_val
5429 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5430 # Best one so far, save it but keep looking for a better one
5431 ac_cv_path_GREP="$ac_path_GREP"
5432 ac_path_GREP_max=$ac_count
5434 # 10*(2^10) chars as input seems more than enough
5435 test $ac_count -gt 10 && break
5437 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 $ac_path_GREP_found && break 3
5445 if test -z "$ac_cv_path_GREP"; then
5446 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5449 ac_cv_path_GREP=$GREP
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5454 $as_echo "$ac_cv_path_GREP" >&6; }
5455 GREP="$ac_cv_path_GREP"
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5459 $as_echo_n "checking
for egrep...
" >&6; }
5460 if ${ac_cv_path_EGREP+:} false; then :
5461 $as_echo_n "(cached
) " >&6
5463 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5464 then ac_cv_path_EGREP="$GREP -E"
5466 if test -z "$EGREP"; then
5467 ac_path_EGREP_found=false
5468 # Loop through the user's path and test for each of PROGNAME-LIST
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5473 test -z "$as_dir" && as_dir=.
5474 for ac_prog in egrep; do
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5477 as_fn_executable_p "$ac_path_EGREP" || continue
5478 # Check for GNU ac_path_EGREP and select it if it is found.
5479 # Check for GNU $ac_path_EGREP
5480 case `"$ac_path_EGREP" --version 2>&1` in
5482 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5485 $as_echo_n 0123456789 >"conftest.
in"
5488 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5489 mv "conftest.tmp
" "conftest.
in"
5490 cp "conftest.
in" "conftest.
nl"
5491 $as_echo 'EGREP' >> "conftest.
nl"
5492 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5493 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5494 as_fn_arith $ac_count + 1 && ac_count=$as_val
5495 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5496 # Best one so far, save it but keep looking for a better one
5497 ac_cv_path_EGREP="$ac_path_EGREP"
5498 ac_path_EGREP_max=$ac_count
5500 # 10*(2^10) chars as input seems more than enough
5501 test $ac_count -gt 10 && break
5503 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5506 $ac_path_EGREP_found && break 3
5511 if test -z "$ac_cv_path_EGREP"; then
5512 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5515 ac_cv_path_EGREP=$EGREP
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5521 $as_echo "$ac_cv_path_EGREP" >&6; }
5522 EGREP="$ac_cv_path_EGREP"
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5526 $as_echo_n "checking
for fgrep...
" >&6; }
5527 if ${ac_cv_path_FGREP+:} false; then :
5528 $as_echo_n "(cached
) " >&6
5530 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5531 then ac_cv_path_FGREP="$GREP -F"
5533 if test -z "$FGREP"; then
5534 ac_path_FGREP_found=false
5535 # Loop through the user's path and test for each of PROGNAME-LIST
5536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5540 test -z "$as_dir" && as_dir=.
5541 for ac_prog in fgrep; do
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5544 as_fn_executable_p "$ac_path_FGREP" || continue
5545 # Check for GNU ac_path_FGREP and select it if it is found.
5546 # Check for GNU $ac_path_FGREP
5547 case `"$ac_path_FGREP" --version 2>&1` in
5549 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5552 $as_echo_n 0123456789 >"conftest.
in"
5555 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5556 mv "conftest.tmp
" "conftest.
in"
5557 cp "conftest.
in" "conftest.
nl"
5558 $as_echo 'FGREP' >> "conftest.
nl"
5559 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5560 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5561 as_fn_arith $ac_count + 1 && ac_count=$as_val
5562 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5563 # Best one so far, save it but keep looking for a better one
5564 ac_cv_path_FGREP="$ac_path_FGREP"
5565 ac_path_FGREP_max=$ac_count
5567 # 10*(2^10) chars as input seems more than enough
5568 test $ac_count -gt 10 && break
5570 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5573 $ac_path_FGREP_found && break 3
5578 if test -z "$ac_cv_path_FGREP"; then
5579 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5582 ac_cv_path_FGREP=$FGREP
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5588 $as_echo "$ac_cv_path_FGREP" >&6; }
5589 FGREP="$ac_cv_path_FGREP"
5592 test -z "$GREP" && GREP=grep
5612 # Check whether --with-gnu-ld was given.
5613 if test "${with_gnu_ld+set}" = set; then :
5614 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5620 if test yes = "$GCC"; then
5621 # Check if gcc -print-prog-name=ld gives a path.
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5623 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5626 # gcc leaves a trailing carriage return, which upsets mingw
5627 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5629 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5632 # Accept absolute paths.
5634 re_direlt='/[^/][^/]*/\.\./'
5635 # Canonicalize the pathname of ld
5636 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5637 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5638 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5640 test -z "$LD" && LD=$ac_prog
5643 # If it fails, then pretend we aren't using GCC.
5647 # If it is relative, then search for the first ld in PATH.
5651 elif test yes = "$with_gnu_ld"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5653 $as_echo_n "checking
for GNU ld...
" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5656 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5658 if ${lt_cv_path_LD+:} false; then :
5659 $as_echo_n "(cached
) " >&6
5661 if test -z "$LD"; then
5662 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5663 for ac_dir in $PATH; do
5665 test -z "$ac_dir" && ac_dir=.
5666 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5667 lt_cv_path_LD=$ac_dir/$ac_prog
5668 # Check to see if the program is GNU ld. I'd rather use --version,
5669 # but apparently some variants of GNU ld only accept -v.
5670 # Break only if it was the GNU/non-GNU ld that we prefer.
5671 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5672 *GNU* | *'with BFD'*)
5673 test no != "$with_gnu_ld" && break
5676 test yes != "$with_gnu_ld" && break
5683 lt_cv_path_LD=$LD # Let the user override the test with a path.
5688 if test -n "$LD"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5690 $as_echo "$LD" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5693 $as_echo "no
" >&6; }
5695 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5697 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5698 if ${lt_cv_prog_gnu_ld+:} false; then :
5699 $as_echo_n "(cached
) " >&6
5701 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5702 case `$LD -v 2>&1 </dev/null` in
5703 *GNU* | *'with BFD'*)
5704 lt_cv_prog_gnu_ld=yes
5707 lt_cv_prog_gnu_ld=no
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5712 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5713 with_gnu_ld=$lt_cv_prog_gnu_ld
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5724 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5725 if ${lt_cv_path_NM+:} false; then :
5726 $as_echo_n "(cached
) " >&6
5728 if test -n "$NM"; then
5729 # Let the user override the test.
5732 lt_nm_to_check=${ac_tool_prefix}nm
5733 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5734 lt_nm_to_check="$lt_nm_to_check nm
"
5736 for lt_tmp_nm in $lt_nm_to_check; do
5737 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5738 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5740 test -z "$ac_dir" && ac_dir=.
5741 tmp_nm=$ac_dir/$lt_tmp_nm
5742 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5743 # Check to see if the nm accepts a BSD-compat flag.
5744 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5745 # nm: unknown option "B
" ignored
5746 # Tru64's nm complains that /dev/null is an invalid object file
5747 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5749 mingw*) lt_bad_file=conftest.nm/nofile ;;
5750 *) lt_bad_file=/dev/null ;;
5752 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5753 *$lt_bad_file* | *'Invalid file or object type'*)
5754 lt_cv_path_NM="$tmp_nm -B"
5758 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5760 lt_cv_path_NM="$tmp_nm -p"
5764 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5765 continue # so that we can try to find one that supports BSD flags
5774 : ${lt_cv_path_NM=no}
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5778 $as_echo "$lt_cv_path_NM" >&6; }
5779 if test no != "$lt_cv_path_NM"; then
5782 # Didn't find any BSD compatible name lister, look for dumpbin.
5783 if test -n "$DUMPBIN"; then :
5784 # Let the user override the test.
5786 if test -n "$ac_tool_prefix"; then
5787 for ac_prog in dumpbin "link
-dump"
5789 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5790 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5792 $as_echo_n "checking
for $ac_word...
" >&6; }
5793 if ${ac_cv_prog_DUMPBIN+:} false; then :
5794 $as_echo_n "(cached
) " >&6
5796 if test -n "$DUMPBIN"; then
5797 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5806 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5816 DUMPBIN=$ac_cv_prog_DUMPBIN
5817 if test -n "$DUMPBIN"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5819 $as_echo "$DUMPBIN" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5822 $as_echo "no
" >&6; }
5826 test -n "$DUMPBIN" && break
5829 if test -z "$DUMPBIN"; then
5830 ac_ct_DUMPBIN=$DUMPBIN
5831 for ac_prog in dumpbin "link
-dump"
5833 # Extract the first word of "$ac_prog", so it can be a program name with args.
5834 set dummy $ac_prog; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5836 $as_echo_n "checking
for $ac_word...
" >&6; }
5837 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5838 $as_echo_n "(cached
) " >&6
5840 if test -n "$ac_ct_DUMPBIN"; then
5841 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5860 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5861 if test -n "$ac_ct_DUMPBIN"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5863 $as_echo "$ac_ct_DUMPBIN" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5866 $as_echo "no
" >&6; }
5870 test -n "$ac_ct_DUMPBIN" && break
5873 if test "x
$ac_ct_DUMPBIN" = x; then
5876 case $cross_compiling:$ac_tool_warned in
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5879 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5880 ac_tool_warned=yes ;;
5882 DUMPBIN=$ac_ct_DUMPBIN
5886 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5888 DUMPBIN="$DUMPBIN -symbols -headers"
5896 if test : != "$DUMPBIN"; then
5900 test -z "$NM" && NM=nm
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5908 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5909 if ${lt_cv_nm_interface+:} false; then :
5910 $as_echo_n "(cached
) " >&6
5912 lt_cv_nm_interface="BSD nm
"
5913 echo "int some_variable
= 0;" > conftest.$ac_ext
5914 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5915 (eval "$ac_compile" 2>conftest.err)
5916 cat conftest.err >&5
5917 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5918 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5919 cat conftest.err >&5
5920 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5921 cat conftest.out >&5
5922 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5923 lt_cv_nm_interface="MS dumpbin
"
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5928 $as_echo "$lt_cv_nm_interface" >&6; }
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5931 $as_echo_n "checking whether
ln -s works...
" >&6; }
5933 if test "$LN_S" = "ln -s"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5935 $as_echo "yes" >&6; }
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5938 $as_echo "no
, using
$LN_S" >&6; }
5941 # find the maximum length of command line arguments
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5943 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5944 if ${lt_cv_sys_max_cmd_len+:} false; then :
5945 $as_echo_n "(cached
) " >&6
5952 # On DJGPP, this test can blow up pretty badly due to problems in libc
5953 # (any single argument exceeding 2000 bytes causes a buffer overrun
5954 # during glob expansion). Even if it were fixed, the result of this
5955 # check would be larger than it should be.
5956 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5960 # Under GNU Hurd, this test is not required because there is
5961 # no limit to the length of command line arguments.
5962 # Libtool will interpret -1 as no limit whatsoever
5963 lt_cv_sys_max_cmd_len=-1;
5966 cygwin* | mingw* | cegcc*)
5967 # On Win9x/ME, this test blows up -- it succeeds, but takes
5968 # about 5 minutes as the teststring grows exponentially.
5969 # Worse, since 9x/ME are not pre-emptively multitasking,
5970 # you end up with a "frozen
" computer, even though with patience
5971 # the test eventually succeeds (with a max line length of 256k).
5972 # Instead, let's just punt: use the minimum linelength reported by
5973 # all of the supported platforms: 8192 (on NT/2K/XP).
5974 lt_cv_sys_max_cmd_len=8192;
5978 # On MiNT this can take a long time and run out of memory.
5979 lt_cv_sys_max_cmd_len=8192;
5983 # On AmigaOS with pdksh, this test takes hours, literally.
5984 # So we just punt and use a minimum line length of 8192.
5985 lt_cv_sys_max_cmd_len=8192;
5988 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5989 # This has been around since 386BSD, at least. Likely further.
5990 if test -x /sbin/sysctl; then
5991 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5992 elif test -x /usr/sbin/sysctl; then
5993 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5995 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5997 # And add a safety zone
5998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5999 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6003 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6004 lt_cv_sys_max_cmd_len=196608
6008 # The test takes a long time on OS/2.
6009 lt_cv_sys_max_cmd_len=8192
6013 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6014 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6015 # nice to cause kernel panics so lets avoid the loop below.
6016 # First set a reasonable default.
6017 lt_cv_sys_max_cmd_len=16384
6019 if test -x /sbin/sysconfig; then
6020 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6021 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6026 lt_cv_sys_max_cmd_len=102400
6028 sysv5* | sco5v6* | sysv4.2uw2*)
6029 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6030 if test -n "$kargmax"; then
6031 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6033 lt_cv_sys_max_cmd_len=32768
6037 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6038 if test -n "$lt_cv_sys_max_cmd_len" && \
6039 test undefined != "$lt_cv_sys_max_cmd_len"; then
6040 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6043 # Make teststring a little bigger before we do anything with it.
6044 # a 1K string should be a reasonable start.
6045 for i in 1 2 3 4 5 6 7 8; do
6046 teststring=$teststring$teststring
6048 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6049 # If test is not a shell built-in, we'll probably end up computing a
6050 # maximum length that is only half of the actual maximum length, but
6052 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6053 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6054 test 17 != "$i" # 1/2 MB should be enough
6057 teststring=$teststring$teststring
6059 # Only check the string length outside the loop.
6060 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6062 # Add a significant safety factor because C++ compilers can tack on
6063 # massive amounts of additional arguments before passing them to the
6064 # linker. It appears as though 1/2 is a usable value.
6065 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6072 if test -n "$lt_cv_sys_max_cmd_len"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6074 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6077 $as_echo "none
" >&6; }
6079 max_cmd_len=$lt_cv_sys_max_cmd_len
6090 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6100 # test EBCDIC or ASCII
6101 case `echo X|tr X '\101'` in
6102 A) # ASCII based system
6103 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6104 lt_SP2NL='tr \040 \012'
6105 lt_NL2SP='tr \015\012 \040\040'
6107 *) # EBCDIC based system
6108 lt_SP2NL='tr \100 \n'
6109 lt_NL2SP='tr \r\n \100\100'
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6122 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6123 if ${lt_cv_to_host_file_cmd+:} false; then :
6124 $as_echo_n "(cached
) " >&6
6129 *-*-mingw* ) # actually msys
6130 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6133 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6135 * ) # otherwise, assume *nix
6136 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6142 *-*-mingw* ) # actually msys
6143 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6146 lt_cv_to_host_file_cmd=func_convert_file_noop
6148 * ) # otherwise, assume *nix
6149 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6153 * ) # unhandled hosts (and "normal
" native builds)
6154 lt_cv_to_host_file_cmd=func_convert_file_noop
6160 to_host_file_cmd=$lt_cv_to_host_file_cmd
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6162 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6169 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6170 if ${lt_cv_to_tool_file_cmd+:} false; then :
6171 $as_echo_n "(cached
) " >&6
6173 #assume ordinary cross tools, or native build.
6174 lt_cv_to_tool_file_cmd=func_convert_file_noop
6178 *-*-mingw* ) # actually msys
6179 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6187 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6189 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6196 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6197 if ${lt_cv_ld_reload_flag+:} false; then :
6198 $as_echo_n "(cached
) " >&6
6200 lt_cv_ld_reload_flag='-r'
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6203 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6204 reload_flag=$lt_cv_ld_reload_flag
6205 case $reload_flag in
6207 *) reload_flag=" $reload_flag" ;;
6209 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6211 cygwin* | mingw* | pw32* | cegcc*)
6212 if test yes != "$GCC"; then
6217 if test yes = "$GCC"; then
6218 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6220 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6233 if test -n "$ac_tool_prefix"; then
6234 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6235 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6237 $as_echo_n "checking
for $ac_word...
" >&6; }
6238 if ${ac_cv_prog_OBJDUMP+:} false; then :
6239 $as_echo_n "(cached
) " >&6
6241 if test -n "$OBJDUMP"; then
6242 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 test -z "$as_dir" && as_dir=.
6249 for ac_exec_ext in '' $ac_executable_extensions; do
6250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6251 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6261 OBJDUMP=$ac_cv_prog_OBJDUMP
6262 if test -n "$OBJDUMP"; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6264 $as_echo "$OBJDUMP" >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6267 $as_echo "no
" >&6; }
6272 if test -z "$ac_cv_prog_OBJDUMP"; then
6273 ac_ct_OBJDUMP=$OBJDUMP
6274 # Extract the first word of "objdump
", so it can be a program name with args.
6275 set dummy objdump; ac_word=$2
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6277 $as_echo_n "checking
for $ac_word...
" >&6; }
6278 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6279 $as_echo_n "(cached
) " >&6
6281 if test -n "$ac_ct_OBJDUMP"; then
6282 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6301 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6302 if test -n "$ac_ct_OBJDUMP"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6304 $as_echo "$ac_ct_OBJDUMP" >&6; }
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6307 $as_echo "no
" >&6; }
6310 if test "x
$ac_ct_OBJDUMP" = x; then
6313 case $cross_compiling:$ac_tool_warned in
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6316 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6317 ac_tool_warned=yes ;;
6319 OBJDUMP=$ac_ct_OBJDUMP
6322 OBJDUMP="$ac_cv_prog_OBJDUMP"
6325 test -z "$OBJDUMP" && OBJDUMP=objdump
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6336 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6337 if ${lt_cv_deplibs_check_method+:} false; then :
6338 $as_echo_n "(cached
) " >&6
6340 lt_cv_file_magic_cmd='$MAGIC_CMD'
6341 lt_cv_file_magic_test_file=
6342 lt_cv_deplibs_check_method='unknown'
6343 # Need to set the preceding variable on all platforms that support
6344 # interlibrary dependencies.
6345 # 'none' -- dependencies not supported.
6346 # 'unknown' -- same as none, but documents that we really don't know.
6347 # 'pass_all' -- all dependencies passed with no checks.
6348 # 'test_compile' -- check by making test program.
6349 # 'file_magic [[regex]]' -- check by looking for files in library path
6350 # that responds to the $file_magic_cmd with a given extended regex.
6351 # If you have 'file' or equivalent on your system and you're not sure
6352 # whether 'pass_all' will *always* work, you probably want this one.
6356 lt_cv_deplibs_check_method=pass_all
6360 lt_cv_deplibs_check_method=pass_all
6364 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6365 lt_cv_file_magic_cmd='/usr/bin/file -L'
6366 lt_cv_file_magic_test_file=/shlib/libc.so
6370 # func_win32_libid is a shell function defined in ltmain.sh
6371 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6372 lt_cv_file_magic_cmd='func_win32_libid'
6376 # Base MSYS/MinGW do not provide the 'file' command needed by
6377 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6378 # unless we find 'file', for example because we are cross-compiling.
6379 if ( file / ) >/dev/null 2>&1; then
6380 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6381 lt_cv_file_magic_cmd='func_win32_libid'
6383 # Keep this pattern in sync with the one in func_win32_libid.
6384 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6385 lt_cv_file_magic_cmd='$OBJDUMP -f'
6390 # use the weaker test based on 'objdump'. See mingw*.
6391 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6392 lt_cv_file_magic_cmd='$OBJDUMP -f'
6395 darwin* | rhapsody*)
6396 lt_cv_deplibs_check_method=pass_all
6399 freebsd* | dragonfly*)
6400 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6403 # Not sure whether the presence of OpenBSD here was a mistake.
6404 # Let's accept both of them until this is cleared up.
6405 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6406 lt_cv_file_magic_cmd=/usr/bin/file
6407 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6411 lt_cv_deplibs_check_method=pass_all
6416 lt_cv_deplibs_check_method=pass_all
6419 hpux10.20* | hpux11*)
6420 lt_cv_file_magic_cmd=/usr/bin/file
6423 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6424 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6427 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]'
6428 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6431 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6432 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6438 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6439 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6442 irix5* | irix6* | nonstopux*)
6444 *-32|*"-32 ") libmagic=32-bit;;
6445 *-n32|*"-n32 ") libmagic=N32;;
6446 *-64|*"-64 ") libmagic=64-bit;;
6447 *) libmagic=never-match;;
6449 lt_cv_deplibs_check_method=pass_all
6452 # This must be glibc/ELF.
6453 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6454 lt_cv_deplibs_check_method=pass_all
6458 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6459 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6461 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6466 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6467 lt_cv_file_magic_cmd=/usr/bin/file
6468 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6472 lt_cv_deplibs_check_method=pass_all
6476 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6477 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6479 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6483 osf3* | osf4* | osf5*)
6484 lt_cv_deplibs_check_method=pass_all
6488 lt_cv_deplibs_check_method=pass_all
6492 lt_cv_deplibs_check_method=pass_all
6495 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6496 lt_cv_deplibs_check_method=pass_all
6500 case $host_vendor in
6502 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]'
6503 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6506 lt_cv_deplibs_check_method=pass_all
6509 lt_cv_file_magic_cmd='/bin/file'
6510 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6513 lt_cv_file_magic_cmd='/bin/file'
6514 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6515 lt_cv_file_magic_test_file=/lib/libc.so
6518 lt_cv_deplibs_check_method=pass_all
6521 lt_cv_deplibs_check_method=pass_all
6527 lt_cv_deplibs_check_method=pass_all
6530 lt_cv_deplibs_check_method=pass_all
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6536 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6540 if test "$build" = "$host"; then
6543 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6546 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6552 file_magic_cmd=$lt_cv_file_magic_cmd
6553 deplibs_check_method=$lt_cv_deplibs_check_method
6554 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6577 if test -n "$ac_tool_prefix"; then
6578 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6579 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6581 $as_echo_n "checking
for $ac_word...
" >&6; }
6582 if ${ac_cv_prog_DLLTOOL+:} false; then :
6583 $as_echo_n "(cached
) " >&6
6585 if test -n "$DLLTOOL"; then
6586 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6605 DLLTOOL=$ac_cv_prog_DLLTOOL
6606 if test -n "$DLLTOOL"; then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6608 $as_echo "$DLLTOOL" >&6; }
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6611 $as_echo "no
" >&6; }
6616 if test -z "$ac_cv_prog_DLLTOOL"; then
6617 ac_ct_DLLTOOL=$DLLTOOL
6618 # Extract the first word of "dlltool
", so it can be a program name with args.
6619 set dummy dlltool; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6621 $as_echo_n "checking
for $ac_word...
" >&6; }
6622 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6623 $as_echo_n "(cached
) " >&6
6625 if test -n "$ac_ct_DLLTOOL"; then
6626 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6645 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6646 if test -n "$ac_ct_DLLTOOL"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6648 $as_echo "$ac_ct_DLLTOOL" >&6; }
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6651 $as_echo "no
" >&6; }
6654 if test "x
$ac_ct_DLLTOOL" = x; then
6657 case $cross_compiling:$ac_tool_warned in
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6660 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6661 ac_tool_warned=yes ;;
6663 DLLTOOL=$ac_ct_DLLTOOL
6666 DLLTOOL="$ac_cv_prog_DLLTOOL"
6669 test -z "$DLLTOOL" && DLLTOOL=dlltool
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6681 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6682 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6683 $as_echo_n "(cached
) " >&6
6685 lt_cv_sharedlib_from_linklib_cmd='unknown'
6688 cygwin* | mingw* | pw32* | cegcc*)
6689 # two different shell functions defined in ltmain.sh;
6690 # decide which one to use based on capabilities of $DLLTOOL
6691 case `$DLLTOOL --help 2>&1` in
6692 *--identify-strict*)
6693 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6696 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6701 # fallback: assume linklib IS sharedlib
6702 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6708 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6709 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6710 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6718 if test -n "$ac_tool_prefix"; then
6721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6722 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6724 $as_echo_n "checking
for $ac_word...
" >&6; }
6725 if ${ac_cv_prog_AR+:} false; then :
6726 $as_echo_n "(cached
) " >&6
6728 if test -n "$AR"; then
6729 ac_cv_prog_AR="$AR" # Let the user override the test.
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 test -z "$as_dir" && as_dir=.
6736 for ac_exec_ext in '' $ac_executable_extensions; do
6737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6738 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6749 if test -n "$AR"; then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6751 $as_echo "$AR" >&6; }
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6754 $as_echo "no
" >&6; }
6758 test -n "$AR" && break
6761 if test -z "$AR"; then
6765 # Extract the first word of "$ac_prog", so it can be a program name with args.
6766 set dummy $ac_prog; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6768 $as_echo_n "checking
for $ac_word...
" >&6; }
6769 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6770 $as_echo_n "(cached
) " >&6
6772 if test -n "$ac_ct_AR"; then
6773 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 test -z "$as_dir" && as_dir=.
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6782 ac_cv_prog_ac_ct_AR="$ac_prog"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6792 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6793 if test -n "$ac_ct_AR"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6795 $as_echo "$ac_ct_AR" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6798 $as_echo "no
" >&6; }
6802 test -n "$ac_ct_AR" && break
6805 if test "x
$ac_ct_AR" = x; then
6808 case $cross_compiling:$ac_tool_warned in
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6811 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6812 ac_tool_warned=yes ;;
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6832 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6833 if ${lt_cv_ar_at_file+:} false; then :
6834 $as_echo_n "(cached
) " >&6
6837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6838 /* end confdefs.h. */
6848 if ac_fn_c_try_compile "$LINENO"; then :
6849 echo conftest.$ac_objext > conftest.lst
6850 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6851 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6852 (eval $lt_ar_try) 2>&5
6854 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6855 test $ac_status = 0; }
6856 if test 0 -eq "$ac_status"; then
6857 # Ensure the archiver fails upon bogus file names.
6858 rm -f conftest.$ac_objext libconftest.a
6859 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6860 (eval $lt_ar_try) 2>&5
6862 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6863 test $ac_status = 0; }
6864 if test 0 -ne "$ac_status"; then
6868 rm -f conftest.* libconftest.a
6871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6875 $as_echo "$lt_cv_ar_at_file" >&6; }
6877 if test no = "$lt_cv_ar_at_file"; then
6880 archiver_list_spec=$lt_cv_ar_at_file
6889 if test -n "$ac_tool_prefix"; then
6890 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6891 set dummy ${ac_tool_prefix}strip; ac_word=$2
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6893 $as_echo_n "checking
for $ac_word...
" >&6; }
6894 if ${ac_cv_prog_STRIP+:} false; then :
6895 $as_echo_n "(cached
) " >&6
6897 if test -n "$STRIP"; then
6898 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6904 test -z "$as_dir" && as_dir=.
6905 for ac_exec_ext in '' $ac_executable_extensions; do
6906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6907 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6917 STRIP=$ac_cv_prog_STRIP
6918 if test -n "$STRIP"; then
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6920 $as_echo "$STRIP" >&6; }
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6923 $as_echo "no
" >&6; }
6928 if test -z "$ac_cv_prog_STRIP"; then
6930 # Extract the first word of "strip
", so it can be a program name with args.
6931 set dummy strip; ac_word=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6933 $as_echo_n "checking
for $ac_word...
" >&6; }
6934 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6935 $as_echo_n "(cached
) " >&6
6937 if test -n "$ac_ct_STRIP"; then
6938 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir=.
6945 for ac_exec_ext in '' $ac_executable_extensions; do
6946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6947 ac_cv_prog_ac_ct_STRIP="strip
"
6948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6957 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6958 if test -n "$ac_ct_STRIP"; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6960 $as_echo "$ac_ct_STRIP" >&6; }
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6963 $as_echo "no
" >&6; }
6966 if test "x
$ac_ct_STRIP" = x; then
6969 case $cross_compiling:$ac_tool_warned in
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6972 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6973 ac_tool_warned=yes ;;
6978 STRIP="$ac_cv_prog_STRIP"
6981 test -z "$STRIP" && STRIP=:
6988 if test -n "$ac_tool_prefix"; then
6989 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6990 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6992 $as_echo_n "checking
for $ac_word...
" >&6; }
6993 if ${ac_cv_prog_RANLIB+:} false; then :
6994 $as_echo_n "(cached
) " >&6
6996 if test -n "$RANLIB"; then
6997 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003 test -z "$as_dir" && as_dir=.
7004 for ac_exec_ext in '' $ac_executable_extensions; do
7005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7006 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7016 RANLIB=$ac_cv_prog_RANLIB
7017 if test -n "$RANLIB"; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7019 $as_echo "$RANLIB" >&6; }
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7022 $as_echo "no
" >&6; }
7027 if test -z "$ac_cv_prog_RANLIB"; then
7028 ac_ct_RANLIB=$RANLIB
7029 # Extract the first word of "ranlib
", so it can be a program name with args.
7030 set dummy ranlib; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7032 $as_echo_n "checking
for $ac_word...
" >&6; }
7033 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7034 $as_echo_n "(cached
) " >&6
7036 if test -n "$ac_ct_RANLIB"; then
7037 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7043 test -z "$as_dir" && as_dir=.
7044 for ac_exec_ext in '' $ac_executable_extensions; do
7045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7046 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7056 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7057 if test -n "$ac_ct_RANLIB"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7059 $as_echo "$ac_ct_RANLIB" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7062 $as_echo "no
" >&6; }
7065 if test "x
$ac_ct_RANLIB" = x; then
7068 case $cross_compiling:$ac_tool_warned in
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7071 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7072 ac_tool_warned=yes ;;
7074 RANLIB=$ac_ct_RANLIB
7077 RANLIB="$ac_cv_prog_RANLIB"
7080 test -z "$RANLIB" && RANLIB=:
7087 # Determine commands to create old-style static archives.
7088 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7089 old_postinstall_cmds='chmod 644 $oldlib'
7090 old_postuninstall_cmds=
7092 if test -n "$RANLIB"; then
7095 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7098 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7101 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7106 lock_old_archive_extraction=yes ;;
7108 lock_old_archive_extraction=no ;;
7149 # If no C compiler was specified, use CC.
7152 # If no C compiler flags were specified, use CFLAGS.
7153 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7155 # Allow CC to be a program name with arguments.
7159 # Check for command to grab the raw symbol name followed by C symbol from nm.
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7161 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7162 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7163 $as_echo_n "(cached
) " >&6
7166 # These are sane defaults that work on at least a few old systems.
7167 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7169 # Character class describing NM global symbol codes.
7170 symcode='[BCDEGRST]'
7172 # Regexp to match symbols that can be accessed directly from C.
7173 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7175 # Define system-specific variables.
7180 cygwin* | mingw* | pw32* | cegcc*)
7181 symcode='[ABCDGISTW]'
7184 if test ia64 = "$host_cpu"; then
7185 symcode='[ABCDEGRST]'
7189 symcode='[BCDEGRST]'
7192 symcode='[BCDEGQRST]'
7203 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7211 # If we're using GNU nm, then use its standard symbol codes.
7212 case `$NM -V 2>&1` in
7213 *GNU* | *'with BFD'*)
7214 symcode='[ABCDGIRSTW]' ;;
7217 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7218 # Gets list of data symbols to import.
7219 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7220 # Adjust the below global symbol transforms to fixup imported variables.
7221 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7222 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7223 lt_c_name_lib_hook="\
7224 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7225 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7227 # Disable hooks by default.
7228 lt_cv_sys_global_symbol_to_import=
7234 # Transform an extracted symbol line into a proper C declaration.
7235 # Some systems (esp. on ia64) link data and code symbols differently,
7236 # so use this general approach.
7237 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7239 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7240 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7242 # Transform an extracted symbol line into symbol name and symbol address
7243 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7245 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7246 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7248 # Transform an extracted symbol line into symbol name with lib prefix and
7250 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7251 $lt_c_name_lib_hook\
7252 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7253 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7254 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7256 # Handle CRLF in mingw tool chain
7260 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7264 # Try without a prefix underscore, then with it.
7265 for ac_symprfx in "" "_
"; do
7267 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7268 symxfrm="\\1 $ac_symprfx\\2 \\2"
7270 # Write the raw and C identifiers.
7271 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7272 # Fake it for dumpbin and say T for any non-static function,
7273 # D for any global variable and I for any imported variable.
7274 # Also find C++ and __fastcall symbols from MSVC++,
7275 # which start with @ or ?.
7276 lt_cv_sys_global_symbol_pipe="$AWK '"\
7277 " {last_section=section; section=\$ 3};"\
7278 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7279 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7280 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7281 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7282 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7283 " \$ 0!~/External *\|/{next};"\
7284 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7285 " {if(hide[section]) next};"\
7286 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7287 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7288 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7289 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7290 " ' prfx
=^
$ac_symprfx"
7292 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7294 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7296 # Check to see that the pipe works correctly.
7300 cat > conftest.$ac_ext <<_LT_EOF
7305 void nm_test_func(void);
7306 void nm_test_func(void){}
7310 int main(){nm_test_var='a';nm_test_func();return(0);}
7313 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7314 (eval $ac_compile) 2>&5
7316 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7317 test $ac_status = 0; }; then
7318 # Now try to grab the symbols.
7320 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7321 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7323 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7324 test $ac_status = 0; } && test -s "$nlist"; then
7325 # Try sorting and uniquifying the output.
7326 if sort "$nlist" | uniq > "$nlist"T; then
7327 mv -f "$nlist"T "$nlist"
7332 # Make sure that we snagged all the symbols we need.
7333 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7334 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7335 cat <<_LT_EOF > conftest.$ac_ext
7336 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7337 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7338 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7339 relocations are performed -- see ld's documentation on pseudo-relocs. */
7340 # define LT_DLSYM_CONST
7341 #elif defined __osf__
7342 /* This system does not cope well with relocations in const data. */
7343 # define LT_DLSYM_CONST
7345 # define LT_DLSYM_CONST const
7353 # Now generate the symbol file.
7354 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7356 cat <<_LT_EOF >> conftest.$ac_ext
7358 /* The mapping between symbol names and symbols. */
7359 LT_DLSYM_CONST struct {
7363 lt__PROGRAM__LTX_preloaded_symbols[] =
7365 { "@PROGRAM@
", (void *) 0 },
7367 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7368 cat <<\_LT_EOF >> conftest.$ac_ext
7372 /* This works around a problem in FreeBSD linker */
7373 #ifdef FREEBSD_WORKAROUND
7374 static const void *lt_preloaded_setup() {
7375 return lt__PROGRAM__LTX_preloaded_symbols;
7383 # Now try linking the two files.
7384 mv conftest.$ac_objext conftstm.$ac_objext
7385 lt_globsym_save_LIBS=$LIBS
7386 lt_globsym_save_CFLAGS=$CFLAGS
7387 LIBS=conftstm.$ac_objext
7388 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7389 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7390 (eval $ac_link) 2>&5
7392 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7393 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7396 LIBS=$lt_globsym_save_LIBS
7397 CFLAGS=$lt_globsym_save_CFLAGS
7399 echo "cannot
find nm_test_func
in $nlist" >&5
7402 echo "cannot
find nm_test_var
in $nlist" >&5
7405 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7408 echo "$progname: failed program was
:" >&5
7409 cat conftest.$ac_ext >&5
7411 rm -rf conftest* conftst*
7413 # Do not use the global_symbol_pipe unless it works.
7414 if test yes = "$pipe_works"; then
7417 lt_cv_sys_global_symbol_pipe=
7423 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7424 lt_cv_sys_global_symbol_to_cdecl=
7426 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7428 $as_echo "failed
" >&6; }
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7431 $as_echo "ok
" >&6; }
7434 # Response file support.
7435 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7436 nm_file_list_spec='@'
7437 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7438 nm_file_list_spec='@'
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7478 $as_echo_n "checking
for sysroot...
" >&6; }
7480 # Check whether --with-sysroot was given.
7481 if test "${with_sysroot+set}" = set; then :
7482 withval=$with_sysroot;
7489 case $with_sysroot in #(
7491 if test yes = "$GCC"; then
7492 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7496 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7502 $as_echo "$with_sysroot" >&6; }
7503 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7508 $as_echo "${lt_sysroot:-no}" >&6; }
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7515 $as_echo_n "checking
for a working
dd...
" >&6; }
7516 if ${ac_cv_path_lt_DD+:} false; then :
7517 $as_echo_n "(cached
) " >&6
7519 printf 0123456789abcdef0123456789abcdef >conftest.i
7520 cat conftest.i conftest.i >conftest2.i
7522 if test -z "$lt_DD"; then
7523 ac_path_lt_DD_found=false
7524 # Loop through the user's path and test for each of PROGNAME-LIST
7525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 test -z "$as_dir" && as_dir=.
7530 for ac_prog in dd; do
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7533 as_fn_executable_p "$ac_path_lt_DD" || continue
7534 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7535 cmp -s conftest.i conftest.out \
7536 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7538 $ac_path_lt_DD_found && break 3
7543 if test -z "$ac_cv_path_lt_DD"; then
7547 ac_cv_path_lt_DD=$lt_DD
7550 rm -f conftest.i conftest2.i conftest.out
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7553 $as_echo "$ac_cv_path_lt_DD" >&6; }
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7557 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7558 if ${lt_cv_truncate_bin+:} false; then :
7559 $as_echo_n "(cached
) " >&6
7561 printf 0123456789abcdef0123456789abcdef >conftest.i
7562 cat conftest.i conftest.i >conftest2.i
7564 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7565 cmp -s conftest.i conftest.out \
7566 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7568 rm -f conftest.i conftest2.i conftest.out
7569 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7572 $as_echo "$lt_cv_truncate_bin" >&6; }
7580 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7583 for cc_temp in $*""; do
7585 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7586 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7591 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7594 # Check whether --enable-libtool-lock was given.
7595 if test "${enable_libtool_lock+set}" = set; then :
7596 enableval=$enable_libtool_lock;
7599 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7601 # Some flags need to be propagated to the compiler or linker for good
7605 # Find out what ABI is being produced by ac_compile, and set mode
7606 # options accordingly.
7607 echo 'int i;' > conftest.$ac_ext
7608 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7609 (eval $ac_compile) 2>&5
7611 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7612 test $ac_status = 0; }; then
7613 case `/usr/bin/file conftest.$ac_objext` in
7625 # Find out what ABI is being produced by ac_compile, and set linker
7626 # options accordingly.
7627 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7628 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7629 (eval $ac_compile) 2>&5
7631 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7632 test $ac_status = 0; }; then
7633 if test yes = "$lt_cv_prog_gnu_ld"; then
7634 case `/usr/bin/file conftest.$ac_objext` in
7636 LD="${LD-ld} -melf32bsmip"
7639 LD="${LD-ld} -melf32bmipn32"
7642 LD="${LD-ld} -melf64bmip"
7646 case `/usr/bin/file conftest.$ac_objext` in
7663 # Find out what ABI is being produced by ac_compile, and set linker
7664 # options accordingly.
7665 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7666 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7667 (eval $ac_compile) 2>&5
7669 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7670 test $ac_status = 0; }; then
7672 case `/usr/bin/file conftest.$ac_objext` in
7680 case `/usr/bin/file conftest.$ac_objext` in
7682 emul="${emul}btsmip
"
7685 emul="${emul}ltsmip
"
7688 case `/usr/bin/file conftest.$ac_objext` in
7693 LD="${LD-ld} -m $emul"
7698 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7699 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7700 # Find out what ABI is being produced by ac_compile, and set linker
7701 # options accordingly. Note that the listed cases only cover the
7702 # situations where additional linker options are needed (such as when
7703 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7704 # vice versa); the common cases where no linker options are needed do
7705 # not appear in the list.
7706 echo 'int i;' > conftest.$ac_ext
7707 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7708 (eval $ac_compile) 2>&5
7710 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7711 test $ac_status = 0; }; then
7712 case `/usr/bin/file conftest.o` in
7715 x86_64-*kfreebsd*-gnu)
7716 LD="${LD-ld} -m elf_i386_fbsd
"
7719 case `/usr/bin/file conftest.o` in
7721 LD="${LD-ld} -m elf32_x86_64
"
7724 LD="${LD-ld} -m elf_i386
"
7728 powerpc64le-*linux*)
7729 LD="${LD-ld} -m elf32lppclinux
"
7732 LD="${LD-ld} -m elf32ppclinux
"
7735 LD="${LD-ld} -m elf_s390
"
7738 LD="${LD-ld} -m elf32_sparc
"
7744 x86_64-*kfreebsd*-gnu)
7745 LD="${LD-ld} -m elf_x86_64_fbsd
"
7748 LD="${LD-ld} -m elf_x86_64
"
7751 LD="${LD-ld} -m elf64lppc
"
7754 LD="${LD-ld} -m elf64ppc
"
7756 s390*-*linux*|s390*-*tpf*)
7757 LD="${LD-ld} -m elf64_s390
"
7760 LD="${LD-ld} -m elf64_sparc
"
7770 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7772 CFLAGS="$CFLAGS -belf"
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7774 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7775 if ${lt_cv_cc_needs_belf+:} false; then :
7776 $as_echo_n "(cached
) " >&6
7779 ac_cpp='$CPP $CPPFLAGS'
7780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7785 /* end confdefs.h. */
7795 if ac_fn_c_try_link "$LINENO"; then :
7796 lt_cv_cc_needs_belf=yes
7798 lt_cv_cc_needs_belf=no
7800 rm -f core conftest.err conftest.$ac_objext \
7801 conftest$ac_exeext conftest.$ac_ext
7803 ac_cpp='$CPP $CPPFLAGS'
7804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7810 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7811 if test yes != "$lt_cv_cc_needs_belf"; then
7812 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7817 # Find out what ABI is being produced by ac_compile, and set linker
7818 # options accordingly.
7819 echo 'int i;' > conftest.$ac_ext
7820 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7821 (eval $ac_compile) 2>&5
7823 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7824 test $ac_status = 0; }; then
7825 case `/usr/bin/file conftest.o` in
7827 case $lt_cv_prog_gnu_ld in
7830 i?86-*-solaris*|x86_64-*-solaris*)
7831 LD="${LD-ld} -m elf_x86_64
"
7834 LD="${LD-ld} -m elf64_sparc
"
7837 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7838 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7843 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7855 need_locks=$enable_libtool_lock
7857 if test -n "$ac_tool_prefix"; then
7858 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7859 set dummy ${ac_tool_prefix}mt; ac_word=$2
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7861 $as_echo_n "checking
for $ac_word...
" >&6; }
7862 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7863 $as_echo_n "(cached
) " >&6
7865 if test -n "$MANIFEST_TOOL"; then
7866 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 test -z "$as_dir" && as_dir=.
7873 for ac_exec_ext in '' $ac_executable_extensions; do
7874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7875 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7885 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7886 if test -n "$MANIFEST_TOOL"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7888 $as_echo "$MANIFEST_TOOL" >&6; }
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7891 $as_echo "no
" >&6; }
7896 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7897 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7898 # Extract the first word of "mt
", so it can be a program name with args.
7899 set dummy mt; ac_word=$2
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7901 $as_echo_n "checking
for $ac_word...
" >&6; }
7902 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7903 $as_echo_n "(cached
) " >&6
7905 if test -n "$ac_ct_MANIFEST_TOOL"; then
7906 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 test -z "$as_dir" && as_dir=.
7913 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7915 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7925 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7926 if test -n "$ac_ct_MANIFEST_TOOL"; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7928 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7931 $as_echo "no
" >&6; }
7934 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7937 case $cross_compiling:$ac_tool_warned in
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7940 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7941 ac_tool_warned=yes ;;
7943 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7946 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7949 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7951 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7952 if ${lt_cv_path_mainfest_tool+:} false; then :
7953 $as_echo_n "(cached
) " >&6
7955 lt_cv_path_mainfest_tool=no
7956 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7957 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7958 cat conftest.err >&5
7959 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7960 lt_cv_path_mainfest_tool=yes
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7965 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7966 if test yes != "$lt_cv_path_mainfest_tool"; then
7976 rhapsody* | darwin*)
7977 if test -n "$ac_tool_prefix"; then
7978 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7979 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7981 $as_echo_n "checking
for $ac_word...
" >&6; }
7982 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7983 $as_echo_n "(cached
) " >&6
7985 if test -n "$DSYMUTIL"; then
7986 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992 test -z "$as_dir" && as_dir=.
7993 for ac_exec_ext in '' $ac_executable_extensions; do
7994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7995 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7996 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8005 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8006 if test -n "$DSYMUTIL"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8008 $as_echo "$DSYMUTIL" >&6; }
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8011 $as_echo "no
" >&6; }
8016 if test -z "$ac_cv_prog_DSYMUTIL"; then
8017 ac_ct_DSYMUTIL=$DSYMUTIL
8018 # Extract the first word of "dsymutil
", so it can be a program name with args.
8019 set dummy dsymutil; ac_word=$2
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8021 $as_echo_n "checking
for $ac_word...
" >&6; }
8022 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8023 $as_echo_n "(cached
) " >&6
8025 if test -n "$ac_ct_DSYMUTIL"; then
8026 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 test -z "$as_dir" && as_dir=.
8033 for ac_exec_ext in '' $ac_executable_extensions; do
8034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8035 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8045 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8046 if test -n "$ac_ct_DSYMUTIL"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8048 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8051 $as_echo "no
" >&6; }
8054 if test "x
$ac_ct_DSYMUTIL" = x; then
8057 case $cross_compiling:$ac_tool_warned in
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8060 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8061 ac_tool_warned=yes ;;
8063 DSYMUTIL=$ac_ct_DSYMUTIL
8066 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8069 if test -n "$ac_tool_prefix"; then
8070 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8071 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8073 $as_echo_n "checking
for $ac_word...
" >&6; }
8074 if ${ac_cv_prog_NMEDIT+:} false; then :
8075 $as_echo_n "(cached
) " >&6
8077 if test -n "$NMEDIT"; then
8078 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8087 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8097 NMEDIT=$ac_cv_prog_NMEDIT
8098 if test -n "$NMEDIT"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8100 $as_echo "$NMEDIT" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8103 $as_echo "no
" >&6; }
8108 if test -z "$ac_cv_prog_NMEDIT"; then
8109 ac_ct_NMEDIT=$NMEDIT
8110 # Extract the first word of "nmedit
", so it can be a program name with args.
8111 set dummy nmedit; ac_word=$2
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8113 $as_echo_n "checking
for $ac_word...
" >&6; }
8114 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8115 $as_echo_n "(cached
) " >&6
8117 if test -n "$ac_ct_NMEDIT"; then
8118 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8124 test -z "$as_dir" && as_dir=.
8125 for ac_exec_ext in '' $ac_executable_extensions; do
8126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8127 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8137 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8138 if test -n "$ac_ct_NMEDIT"; then
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8140 $as_echo "$ac_ct_NMEDIT" >&6; }
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8143 $as_echo "no
" >&6; }
8146 if test "x
$ac_ct_NMEDIT" = x; then
8149 case $cross_compiling:$ac_tool_warned in
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8152 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8153 ac_tool_warned=yes ;;
8155 NMEDIT=$ac_ct_NMEDIT
8158 NMEDIT="$ac_cv_prog_NMEDIT"
8161 if test -n "$ac_tool_prefix"; then
8162 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8163 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8165 $as_echo_n "checking
for $ac_word...
" >&6; }
8166 if ${ac_cv_prog_LIPO+:} false; then :
8167 $as_echo_n "(cached
) " >&6
8169 if test -n "$LIPO"; then
8170 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8179 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8189 LIPO=$ac_cv_prog_LIPO
8190 if test -n "$LIPO"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8192 $as_echo "$LIPO" >&6; }
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8195 $as_echo "no
" >&6; }
8200 if test -z "$ac_cv_prog_LIPO"; then
8202 # Extract the first word of "lipo
", so it can be a program name with args.
8203 set dummy lipo; ac_word=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8205 $as_echo_n "checking
for $ac_word...
" >&6; }
8206 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8207 $as_echo_n "(cached
) " >&6
8209 if test -n "$ac_ct_LIPO"; then
8210 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8216 test -z "$as_dir" && as_dir=.
8217 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219 ac_cv_prog_ac_ct_LIPO="lipo
"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8229 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8230 if test -n "$ac_ct_LIPO"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8232 $as_echo "$ac_ct_LIPO" >&6; }
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8235 $as_echo "no
" >&6; }
8238 if test "x
$ac_ct_LIPO" = x; then
8241 case $cross_compiling:$ac_tool_warned in
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8244 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8245 ac_tool_warned=yes ;;
8250 LIPO="$ac_cv_prog_LIPO"
8253 if test -n "$ac_tool_prefix"; then
8254 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8255 set dummy ${ac_tool_prefix}otool; ac_word=$2
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8257 $as_echo_n "checking
for $ac_word...
" >&6; }
8258 if ${ac_cv_prog_OTOOL+:} false; then :
8259 $as_echo_n "(cached
) " >&6
8261 if test -n "$OTOOL"; then
8262 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8268 test -z "$as_dir" && as_dir=.
8269 for ac_exec_ext in '' $ac_executable_extensions; do
8270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8271 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8281 OTOOL=$ac_cv_prog_OTOOL
8282 if test -n "$OTOOL"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8284 $as_echo "$OTOOL" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8287 $as_echo "no
" >&6; }
8292 if test -z "$ac_cv_prog_OTOOL"; then
8294 # Extract the first word of "otool
", so it can be a program name with args.
8295 set dummy otool; ac_word=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8297 $as_echo_n "checking
for $ac_word...
" >&6; }
8298 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8299 $as_echo_n "(cached
) " >&6
8301 if test -n "$ac_ct_OTOOL"; then
8302 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8308 test -z "$as_dir" && as_dir=.
8309 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8311 ac_cv_prog_ac_ct_OTOOL="otool
"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8321 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8322 if test -n "$ac_ct_OTOOL"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8324 $as_echo "$ac_ct_OTOOL" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8327 $as_echo "no
" >&6; }
8330 if test "x
$ac_ct_OTOOL" = x; then
8333 case $cross_compiling:$ac_tool_warned in
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8336 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8337 ac_tool_warned=yes ;;
8342 OTOOL="$ac_cv_prog_OTOOL"
8345 if test -n "$ac_tool_prefix"; then
8346 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8347 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8349 $as_echo_n "checking
for $ac_word...
" >&6; }
8350 if ${ac_cv_prog_OTOOL64+:} false; then :
8351 $as_echo_n "(cached
) " >&6
8353 if test -n "$OTOOL64"; then
8354 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8360 test -z "$as_dir" && as_dir=.
8361 for ac_exec_ext in '' $ac_executable_extensions; do
8362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8363 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8373 OTOOL64=$ac_cv_prog_OTOOL64
8374 if test -n "$OTOOL64"; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8376 $as_echo "$OTOOL64" >&6; }
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8379 $as_echo "no
" >&6; }
8384 if test -z "$ac_cv_prog_OTOOL64"; then
8385 ac_ct_OTOOL64=$OTOOL64
8386 # Extract the first word of "otool64
", so it can be a program name with args.
8387 set dummy otool64; ac_word=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8389 $as_echo_n "checking
for $ac_word...
" >&6; }
8390 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8391 $as_echo_n "(cached
) " >&6
8393 if test -n "$ac_ct_OTOOL64"; then
8394 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir=.
8401 for ac_exec_ext in '' $ac_executable_extensions; do
8402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8403 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8413 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8414 if test -n "$ac_ct_OTOOL64"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8416 $as_echo "$ac_ct_OTOOL64" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8419 $as_echo "no
" >&6; }
8422 if test "x
$ac_ct_OTOOL64" = x; then
8425 case $cross_compiling:$ac_tool_warned in
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8428 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8429 ac_tool_warned=yes ;;
8431 OTOOL64=$ac_ct_OTOOL64
8434 OTOOL64="$ac_cv_prog_OTOOL64"
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8464 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8465 if ${lt_cv_apple_cc_single_mod+:} false; then :
8466 $as_echo_n "(cached
) " >&6
8468 lt_cv_apple_cc_single_mod=no
8469 if test -z "$LT_MULTI_MODULE"; then
8470 # By default we will add the -single_module flag. You can override
8471 # by either setting the environment variable LT_MULTI_MODULE
8472 # non-empty at configure time, or by adding -multi_module to the
8474 rm -rf libconftest.dylib*
8475 echo "int foo
(void
){return 1;}" > conftest.c
8476 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8477 -dynamiclib -Wl,-single_module conftest.c
" >&5
8478 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8479 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8481 # If there is a non-empty error log, and "single_module
"
8482 # appears in it, assume the flag caused a linker warning
8483 if test -s conftest.err && $GREP single_module conftest.err; then
8484 cat conftest.err >&5
8485 # Otherwise, if the output was created with a 0 exit code from
8486 # the compiler, it worked.
8487 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8488 lt_cv_apple_cc_single_mod=yes
8490 cat conftest.err >&5
8492 rm -rf libconftest.dylib*
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8497 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8500 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8501 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8502 $as_echo_n "(cached
) " >&6
8504 lt_cv_ld_exported_symbols_list=no
8505 save_LDFLAGS=$LDFLAGS
8506 echo "_main
" > conftest.sym
8507 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8519 if ac_fn_c_try_link "$LINENO"; then :
8520 lt_cv_ld_exported_symbols_list=yes
8522 lt_cv_ld_exported_symbols_list=no
8524 rm -f core conftest.err conftest.$ac_objext \
8525 conftest$ac_exeext conftest.$ac_ext
8526 LDFLAGS=$save_LDFLAGS
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8530 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8533 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8534 if ${lt_cv_ld_force_load+:} false; then :
8535 $as_echo_n "(cached
) " >&6
8537 lt_cv_ld_force_load=no
8538 cat > conftest.c << _LT_EOF
8539 int forced_loaded() { return 2;}
8541 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8542 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8543 echo "$AR cru libconftest.a conftest.o
" >&5
8544 $AR cru libconftest.a conftest.o 2>&5
8545 echo "$RANLIB libconftest.a
" >&5
8546 $RANLIB libconftest.a 2>&5
8547 cat > conftest.c << _LT_EOF
8548 int main() { return 0;}
8550 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8551 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8553 if test -s conftest.err && $GREP force_load conftest.err; then
8554 cat conftest.err >&5
8555 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8556 lt_cv_ld_force_load=yes
8558 cat conftest.err >&5
8560 rm -f conftest.err libconftest.a conftest conftest.c
8561 rm -rf conftest.dSYM
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8565 $as_echo "$lt_cv_ld_force_load" >&6; }
8567 rhapsody* | darwin1.[012])
8568 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8570 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8571 darwin*) # darwin 5.x on
8572 # if running on 10.5 or later, the deployment target defaults
8573 # to the OS version, if on x86, and 10.4, the deployment
8574 # target defaults to 10.4. Don't you love it?
8575 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8576 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8577 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8579 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8581 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8585 if test yes = "$lt_cv_apple_cc_single_mod"; then
8586 _lt_dar_single_mod='$single_module'
8588 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8589 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8591 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8593 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8594 _lt_dsymutil='~$DSYMUTIL $lib || :'
8601 # func_munge_path_list VARIABLE PATH
8602 # -----------------------------------
8603 # VARIABLE is name of variable containing _space_ separated list of
8604 # directories to be munged by the contents of PATH, which is string
8607 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8609 # string "DIR
[ DIR
]" will be appended to VARIABLE
8610 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8611 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8612 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8614 # VARIABLE will be replaced by "DIR
[ DIR
]"
8615 func_munge_path_list ()
8621 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8624 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8627 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8628 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8631 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8637 ac_cpp='$CPP $CPPFLAGS'
8638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8642 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8643 # On Suns, sometimes $CPP names a directory.
8644 if test -n "$CPP" && test -d "$CPP"; then
8647 if test -z "$CPP"; then
8648 if ${ac_cv_prog_CPP+:} false; then :
8649 $as_echo_n "(cached
) " >&6
8651 # Double quotes because CPP needs to be expanded
8652 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8655 for ac_c_preproc_warn_flag in '' yes
8657 # Use a header file that comes with gcc, so configuring glibc
8658 # with a fresh cross-compiler works.
8659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8660 # <limits.h> exists even on freestanding compilers.
8661 # On the NeXT, cc -E runs the code through the compiler's parser,
8662 # not just through cpp. "Syntax error
" is here to catch this case.
8663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8664 /* end confdefs.h. */
8666 # include <limits.h>
8668 # include <assert.h>
8672 if ac_fn_c_try_cpp "$LINENO"; then :
8675 # Broken: fails on valid input.
8678 rm -f conftest.err conftest.i conftest.$ac_ext
8680 # OK, works on sane cases. Now check whether nonexistent headers
8681 # can be detected and how.
8682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8683 /* end confdefs.h. */
8684 #include <ac_nonexistent.h>
8686 if ac_fn_c_try_cpp "$LINENO"; then :
8687 # Broken: success on invalid input.
8690 # Passes both tests.
8694 rm -f conftest.err conftest.i conftest.$ac_ext
8697 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8698 rm -f conftest.i conftest.err conftest.$ac_ext
8699 if $ac_preproc_ok; then :
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8712 $as_echo "$CPP" >&6; }
8714 for ac_c_preproc_warn_flag in '' yes
8716 # Use a header file that comes with gcc, so configuring glibc
8717 # with a fresh cross-compiler works.
8718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8719 # <limits.h> exists even on freestanding compilers.
8720 # On the NeXT, cc -E runs the code through the compiler's parser,
8721 # not just through cpp. "Syntax error
" is here to catch this case.
8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8723 /* end confdefs.h. */
8725 # include <limits.h>
8727 # include <assert.h>
8731 if ac_fn_c_try_cpp "$LINENO"; then :
8734 # Broken: fails on valid input.
8737 rm -f conftest.err conftest.i conftest.$ac_ext
8739 # OK, works on sane cases. Now check whether nonexistent headers
8740 # can be detected and how.
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8743 #include <ac_nonexistent.h>
8745 if ac_fn_c_try_cpp "$LINENO"; then :
8746 # Broken: success on invalid input.
8749 # Passes both tests.
8753 rm -f conftest.err conftest.i conftest.$ac_ext
8756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8757 rm -f conftest.i conftest.err conftest.$ac_ext
8758 if $ac_preproc_ok; then :
8761 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8763 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8764 See \`config.log' for more details
" "$LINENO" 5; }
8768 ac_cpp='$CPP $CPPFLAGS'
8769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8775 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8776 if ${ac_cv_header_stdc+:} false; then :
8777 $as_echo_n "(cached
) " >&6
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8794 if ac_fn_c_try_compile "$LINENO"; then :
8795 ac_cv_header_stdc=yes
8797 ac_cv_header_stdc=no
8799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8801 if test $ac_cv_header_stdc = yes; then
8802 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8808 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8809 $EGREP "memchr
" >/dev/null 2>&1; then :
8812 ac_cv_header_stdc=no
8818 if test $ac_cv_header_stdc = yes; then
8819 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8825 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8826 $EGREP "free
" >/dev/null 2>&1; then :
8829 ac_cv_header_stdc=no
8835 if test $ac_cv_header_stdc = yes; then
8836 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8837 if test "$cross_compiling" = yes; then :
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8844 #if ((' ' & 0x0FF) == 0x020)
8845 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8846 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8848 # define ISLOWER(c) \
8849 (('a' <= (c) && (c) <= 'i') \
8850 || ('j' <= (c) && (c) <= 'r') \
8851 || ('s' <= (c) && (c) <= 'z'))
8852 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8855 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8860 for (i = 0; i < 256; i++)
8861 if (XOR (islower (i), ISLOWER (i))
8862 || toupper (i) != TOUPPER (i))
8867 if ac_fn_c_try_run "$LINENO"; then :
8870 ac_cv_header_stdc=no
8872 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8873 conftest.$ac_objext conftest.beam conftest.$ac_ext
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8879 $as_echo "$ac_cv_header_stdc" >&6; }
8880 if test $ac_cv_header_stdc = yes; then
8882 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8886 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8887 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8888 inttypes.h stdint.h unistd.h
8890 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8891 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8893 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8894 cat >>confdefs.h
<<_ACEOF
8895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8903 for ac_header
in dlfcn.h
8905 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8907 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8908 cat >>confdefs.h
<<_ACEOF
8909 #define HAVE_DLFCN_H 1
8919 func_stripname_cnf
()
8922 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8923 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8925 } # func_stripname_cnf
8932 # Check whether --enable-static was given.
8933 if test "${enable_static+set}" = set; then :
8934 enableval
=$enable_static; p
=${PACKAGE-default}
8936 yes) enable_static
=yes ;;
8937 no
) enable_static
=no
;;
8940 # Look at the argument we got. We use all the common list separators.
8941 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8942 for pkg
in $enableval; do
8944 if test "X$pkg" = "X$p"; then
8970 # Check whether --enable-shared was given.
8971 if test "${enable_shared+set}" = set; then :
8972 enableval
=$enable_shared; p
=${PACKAGE-default}
8974 yes) enable_shared
=yes ;;
8975 no
) enable_shared
=no
;;
8978 # Look at the argument we got. We use all the common list separators.
8979 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8980 for pkg
in $enableval; do
8982 if test "X$pkg" = "X$p"; then
9003 # Check whether --with-pic was given.
9004 if test "${with_pic+set}" = set; then :
9005 withval
=$with_pic; lt_p
=${PACKAGE-default}
9007 yes|no
) pic_mode
=$withval ;;
9010 # Look at the argument we got. We use all the common list separators.
9011 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9012 for lt_pkg
in $withval; do
9014 if test "X$lt_pkg" = "X$lt_p"; then
9032 # Check whether --enable-fast-install was given.
9033 if test "${enable_fast_install+set}" = set; then :
9034 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9036 yes) enable_fast_install
=yes ;;
9037 no
) enable_fast_install
=no
;;
9039 enable_fast_install
=no
9040 # Look at the argument we got. We use all the common list separators.
9041 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9042 for pkg
in $enableval; do
9044 if test "X$pkg" = "X$p"; then
9045 enable_fast_install
=yes
9052 enable_fast_install
=yes
9062 shared_archive_member_spec
=
9063 case $host,$enable_shared in
9064 power
*-*-aix[5-9]*,yes)
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9066 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9068 # Check whether --with-aix-soname was given.
9069 if test "${with_aix_soname+set}" = set; then :
9070 withval
=$with_aix_soname; case $withval in
9074 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9077 lt_cv_with_aix_soname
=$with_aix_soname
9079 if ${lt_cv_with_aix_soname+:} false
; then :
9080 $as_echo_n "(cached) " >&6
9082 lt_cv_with_aix_soname
=aix
9085 with_aix_soname
=$lt_cv_with_aix_soname
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9089 $as_echo "$with_aix_soname" >&6; }
9090 if test aix
!= "$with_aix_soname"; then
9091 # For the AIX way of multilib, we name the shared archive member
9092 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9093 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9094 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9095 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9096 if test 64 = "${OBJECT_MODE-32}"; then
9097 shared_archive_member_spec
=shr_64
9099 shared_archive_member_spec
=shr
9117 # This can be used to rebuild libtool when needed
9118 LIBTOOL_DEPS
=$ltmain
9120 # Always use our own libtool.
9121 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9152 test -z "$LN_S" && LN_S
="ln -s"
9167 if test -n "${ZSH_VERSION+set}"; then
9168 setopt NO_GLOB_SUBST
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9172 $as_echo_n "checking for objdir... " >&6; }
9173 if ${lt_cv_objdir+:} false
; then :
9174 $as_echo_n "(cached) " >&6
9176 rm -f .libs
2>/dev
/null
9177 mkdir .libs
2>/dev
/null
9178 if test -d .libs
; then
9181 # MS-DOS does not allow filenames that begin with a dot.
9184 rmdir .libs
2>/dev
/null
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9187 $as_echo "$lt_cv_objdir" >&6; }
9188 objdir
=$lt_cv_objdir
9194 cat >>confdefs.h
<<_ACEOF
9195 #define LT_OBJDIR "$lt_cv_objdir/"
9203 # AIX sometimes has problems with the GCC collect2 program. For some
9204 # reason, if we set the COLLECT_NAMES environment variable, the problems
9205 # vanish in a puff of smoke.
9206 if test set != "${COLLECT_NAMES+set}"; then
9208 export COLLECT_NAMES
9215 can_build_shared
=yes
9217 # All known linkers require a '.a' archive for static linking (except MSVC,
9218 # which needs '.lib').
9221 with_gnu_ld
=$lt_cv_prog_gnu_ld
9226 # Set sane defaults for various variables
9227 test -z "$CC" && CC
=cc
9228 test -z "$LTCC" && LTCC
=$CC
9229 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9230 test -z "$LD" && LD
=ld
9231 test -z "$ac_objext" && ac_objext
=o
9233 func_cc_basename
$compiler
9234 cc_basename
=$func_cc_basename_result
9237 # Only perform the check for file, if the check method requires it
9238 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9239 case $deplibs_check_method in
9241 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9243 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9244 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9245 $as_echo_n "(cached) " >&6
9249 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9252 lt_save_MAGIC_CMD
=$MAGIC_CMD
9253 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9254 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9255 for ac_dir
in $ac_dummy; do
9257 test -z "$ac_dir" && ac_dir
=.
9258 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9259 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9260 if test -n "$file_magic_test_file"; then
9261 case $deplibs_check_method in
9263 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9264 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9265 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9266 $EGREP "$file_magic_regex" > /dev
/null
; then
9271 *** Warning: the command libtool uses to detect shared libraries,
9272 *** $file_magic_cmd, produces output that libtool cannot recognize.
9273 *** The result is that libtool may fail to recognize shared libraries
9274 *** as such. This will affect the creation of libtool libraries that
9275 *** depend on shared libraries, but programs linked with such libtool
9276 *** libraries will work regardless of this problem. Nevertheless, you
9277 *** may want to report the problem to your system manager and/or to
9278 *** bug-libtool@gnu.org
9288 MAGIC_CMD
=$lt_save_MAGIC_CMD
9293 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9294 if test -n "$MAGIC_CMD"; then
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9296 $as_echo "$MAGIC_CMD" >&6; }
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9299 $as_echo "no" >&6; }
9306 if test -z "$lt_cv_path_MAGIC_CMD"; then
9307 if test -n "$ac_tool_prefix"; then
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9309 $as_echo_n "checking for file... " >&6; }
9310 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9311 $as_echo_n "(cached) " >&6
9315 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9318 lt_save_MAGIC_CMD
=$MAGIC_CMD
9319 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9320 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9321 for ac_dir
in $ac_dummy; do
9323 test -z "$ac_dir" && ac_dir
=.
9324 if test -f "$ac_dir/file"; then
9325 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9326 if test -n "$file_magic_test_file"; then
9327 case $deplibs_check_method in
9329 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9330 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9331 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9332 $EGREP "$file_magic_regex" > /dev
/null
; then
9337 *** Warning: the command libtool uses to detect shared libraries,
9338 *** $file_magic_cmd, produces output that libtool cannot recognize.
9339 *** The result is that libtool may fail to recognize shared libraries
9340 *** as such. This will affect the creation of libtool libraries that
9341 *** depend on shared libraries, but programs linked with such libtool
9342 *** libraries will work regardless of this problem. Nevertheless, you
9343 *** may want to report the problem to your system manager and/or to
9344 *** bug-libtool@gnu.org
9354 MAGIC_CMD
=$lt_save_MAGIC_CMD
9359 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9360 if test -n "$MAGIC_CMD"; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9362 $as_echo "$MAGIC_CMD" >&6; }
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9365 $as_echo "no" >&6; }
9378 # Use C for the default configuration in the libtool script
9382 ac_cpp
='$CPP $CPPFLAGS'
9383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9388 # Source file extension for C test sources.
9391 # Object file extension for compiled C test sources.
9395 # Code to be used in simple compile tests
9396 lt_simple_compile_test_code
="int some_variable = 0;"
9398 # Code to be used in simple link tests
9399 lt_simple_link_test_code
='int main(){return(0);}'
9407 # If no C compiler was specified, use CC.
9410 # If no C compiler flags were specified, use CFLAGS.
9411 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9413 # Allow CC to be a program name with arguments.
9416 # Save the default compiler, since it gets overwritten when the other
9417 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9418 compiler_DEFAULT
=$CC
9420 # save warnings/boilerplate of simple test code
9421 ac_outfile
=conftest.
$ac_objext
9422 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9423 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9424 _lt_compiler_boilerplate
=`cat conftest.err`
9427 ac_outfile
=conftest.
$ac_objext
9428 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9429 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9430 _lt_linker_boilerplate
=`cat conftest.err`
9435 ## There is no encapsulation within the following macros, do not change
9436 ## the running order or otherwise move them around unless you know exactly
9437 ## what you are doing...
9438 if test -n "$compiler"; then
9440 lt_prog_compiler_no_builtin_flag
=
9442 if test yes = "$GCC"; then
9443 case $cc_basename in
9445 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9447 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9451 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9452 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9453 $as_echo_n "(cached) " >&6
9455 lt_cv_prog_compiler_rtti_exceptions
=no
9456 ac_outfile
=conftest.
$ac_objext
9457 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9458 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9459 # Insert the option either (1) after the last *FLAGS variable, or
9460 # (2) before a word containing "conftest.", or (3) at the end.
9461 # Note that $ac_compile itself does not contain backslashes and begins
9462 # with a dollar sign (not a hyphen), so the echo should work correctly.
9463 # The option is referenced via a variable to avoid confusing sed.
9464 lt_compile
=`echo "$ac_compile" | $SED \
9465 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9466 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9467 -e 's:$: $lt_compiler_flag:'`
9468 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9469 (eval "$lt_compile" 2>conftest.err
)
9471 cat conftest.err
>&5
9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473 if (exit $ac_status) && test -s "$ac_outfile"; then
9474 # The compiler can only warn and ignore the option if not recognized
9475 # So say no if there are warnings other than the usual output.
9476 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9477 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9478 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9479 lt_cv_prog_compiler_rtti_exceptions
=yes
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9486 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9488 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9489 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9501 lt_prog_compiler_wl
=
9502 lt_prog_compiler_pic
=
9503 lt_prog_compiler_static
=
9506 if test yes = "$GCC"; then
9507 lt_prog_compiler_wl
='-Wl,'
9508 lt_prog_compiler_static
='-static'
9512 # All AIX code is PIC.
9513 if test ia64
= "$host_cpu"; then
9514 # AIX 5 now supports IA64 processor
9515 lt_prog_compiler_static
='-Bstatic'
9517 lt_prog_compiler_pic
='-fPIC'
9523 # see comment about AmigaOS4 .so support
9524 lt_prog_compiler_pic
='-fPIC'
9527 # FIXME: we need at least 68020 code to build shared libraries, but
9528 # adding the '-m68020' flag to GCC prevents building anything better,
9530 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9535 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9536 # PIC is the default for these OSes.
9539 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9540 # This hack is so that the source file can tell whether it is being
9541 # built for inclusion in a dll (and should export symbols for example).
9542 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9543 # (--disable-auto-import) libraries
9544 lt_prog_compiler_pic
='-DDLL_EXPORT'
9547 lt_prog_compiler_static
='$wl-static'
9552 darwin
* | rhapsody
*)
9553 # PIC is the default on this platform
9554 # Common symbols not allowed in MH_DYLIB files
9555 lt_prog_compiler_pic
='-fno-common'
9559 # PIC is the default for Haiku.
9560 # The "-static" flag exists, but is broken.
9561 lt_prog_compiler_static
=
9565 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9566 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9567 # sets the default TLS model and affects inlining.
9573 lt_prog_compiler_pic
='-fPIC'
9579 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9580 # Instead, we relocate shared libraries at runtime.
9584 # Just because we use GCC doesn't mean we suddenly get shared libraries
9585 # on systems that don't support them.
9586 lt_prog_compiler_can_build_shared
=no
9591 # QNX uses GNU C++, but need to define -shared option too, otherwise
9593 lt_prog_compiler_pic
='-fPIC -shared'
9597 if test -d /usr
/nec
; then
9598 lt_prog_compiler_pic
=-Kconform_pic
9603 lt_prog_compiler_pic
='-fPIC'
9607 case $cc_basename in
9608 nvcc
*) # Cuda Compiler Driver 2.2
9609 lt_prog_compiler_wl
='-Xlinker '
9610 if test -n "$lt_prog_compiler_pic"; then
9611 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9616 # PORTME Check for flag to pass linker flags through the system compiler.
9619 lt_prog_compiler_wl
='-Wl,'
9620 if test ia64
= "$host_cpu"; then
9621 # AIX 5 now supports IA64 processor
9622 lt_prog_compiler_static
='-Bstatic'
9624 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9628 darwin
* | rhapsody
*)
9629 # PIC is the default on this platform
9630 # Common symbols not allowed in MH_DYLIB files
9631 lt_prog_compiler_pic
='-fno-common'
9632 case $cc_basename in
9634 # NAG Fortran compiler
9635 lt_prog_compiler_wl
='-Wl,-Wl,,'
9636 lt_prog_compiler_pic
='-PIC'
9637 lt_prog_compiler_static
='-Bstatic'
9642 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9643 # This hack is so that the source file can tell whether it is being
9644 # built for inclusion in a dll (and should export symbols for example).
9645 lt_prog_compiler_pic
='-DDLL_EXPORT'
9648 lt_prog_compiler_static
='$wl-static'
9653 hpux9
* | hpux10
* | hpux11
*)
9654 lt_prog_compiler_wl
='-Wl,'
9655 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9662 lt_prog_compiler_pic
='+Z'
9665 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9666 lt_prog_compiler_static
='$wl-a ${wl}archive'
9669 irix5
* | irix6
* | nonstopux
*)
9670 lt_prog_compiler_wl
='-Wl,'
9671 # PIC (with -KPIC) is the default.
9672 lt_prog_compiler_static
='-non_shared'
9675 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9676 case $cc_basename in
9677 # old Intel for x86_64, which still supported -KPIC.
9679 lt_prog_compiler_wl
='-Wl,'
9680 lt_prog_compiler_pic
='-KPIC'
9681 lt_prog_compiler_static
='-static'
9683 # icc used to be incompatible with GCC.
9684 # ICC 10 doesn't accept -KPIC any more.
9686 lt_prog_compiler_wl
='-Wl,'
9687 lt_prog_compiler_pic
='-fPIC'
9688 lt_prog_compiler_static
='-static'
9690 # Lahey Fortran 8.1.
9692 lt_prog_compiler_wl
='-Wl,'
9693 lt_prog_compiler_pic
='--shared'
9694 lt_prog_compiler_static
='--static'
9697 # NAG Fortran compiler
9698 lt_prog_compiler_wl
='-Wl,-Wl,,'
9699 lt_prog_compiler_pic
='-PIC'
9700 lt_prog_compiler_static
='-Bstatic'
9703 # Fabrice Bellard et al's Tiny C Compiler
9704 lt_prog_compiler_wl
='-Wl,'
9705 lt_prog_compiler_pic
='-fPIC'
9706 lt_prog_compiler_static
='-static'
9708 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9709 # Portland Group compilers (*not* the Pentium gcc compiler,
9710 # which looks to be a dead project)
9711 lt_prog_compiler_wl
='-Wl,'
9712 lt_prog_compiler_pic
='-fpic'
9713 lt_prog_compiler_static
='-Bstatic'
9716 lt_prog_compiler_wl
='-Wl,'
9717 # All Alpha code is PIC.
9718 lt_prog_compiler_static
='-non_shared'
9720 xl
* | bgxl
* | bgf
* | mpixl
*)
9721 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9722 lt_prog_compiler_wl
='-Wl,'
9723 lt_prog_compiler_pic
='-qpic'
9724 lt_prog_compiler_static
='-qstaticlink'
9727 case `$CC -V 2>&1 | sed 5q` in
9728 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9729 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9730 lt_prog_compiler_pic
='-KPIC'
9731 lt_prog_compiler_static
='-Bstatic'
9732 lt_prog_compiler_wl
=''
9734 *Sun\ F
* | *Sun
*Fortran
*)
9735 lt_prog_compiler_pic
='-KPIC'
9736 lt_prog_compiler_static
='-Bstatic'
9737 lt_prog_compiler_wl
='-Qoption ld '
9741 lt_prog_compiler_pic
='-KPIC'
9742 lt_prog_compiler_static
='-Bstatic'
9743 lt_prog_compiler_wl
='-Wl,'
9745 *Intel
*\
[CF
]*Compiler
*)
9746 lt_prog_compiler_wl
='-Wl,'
9747 lt_prog_compiler_pic
='-fPIC'
9748 lt_prog_compiler_static
='-static'
9751 lt_prog_compiler_wl
='-Wl,'
9752 lt_prog_compiler_pic
='-fpic'
9753 lt_prog_compiler_static
='-Bstatic'
9761 lt_prog_compiler_pic
='-KPIC'
9762 lt_prog_compiler_static
='-Bstatic'
9766 # QNX uses GNU C++, but need to define -shared option too, otherwise
9768 lt_prog_compiler_pic
='-fPIC -shared'
9771 osf3
* | osf4
* | osf5
*)
9772 lt_prog_compiler_wl
='-Wl,'
9773 # All OSF/1 code is PIC.
9774 lt_prog_compiler_static
='-non_shared'
9778 lt_prog_compiler_static
='-non_shared'
9782 lt_prog_compiler_pic
='-KPIC'
9783 lt_prog_compiler_static
='-Bstatic'
9784 case $cc_basename in
9785 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9786 lt_prog_compiler_wl
='-Qoption ld ';;
9788 lt_prog_compiler_wl
='-Wl,';;
9793 lt_prog_compiler_wl
='-Qoption ld '
9794 lt_prog_compiler_pic
='-PIC'
9795 lt_prog_compiler_static
='-Bstatic'
9798 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9799 lt_prog_compiler_wl
='-Wl,'
9800 lt_prog_compiler_pic
='-KPIC'
9801 lt_prog_compiler_static
='-Bstatic'
9805 if test -d /usr
/nec
; then
9806 lt_prog_compiler_pic
='-Kconform_pic'
9807 lt_prog_compiler_static
='-Bstatic'
9811 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9812 lt_prog_compiler_wl
='-Wl,'
9813 lt_prog_compiler_pic
='-KPIC'
9814 lt_prog_compiler_static
='-Bstatic'
9818 lt_prog_compiler_wl
='-Wl,'
9819 lt_prog_compiler_can_build_shared
=no
9823 lt_prog_compiler_pic
='-pic'
9824 lt_prog_compiler_static
='-Bstatic'
9828 lt_prog_compiler_can_build_shared
=no
9834 # For platforms that do not support PIC, -DPIC is meaningless:
9836 lt_prog_compiler_pic
=
9839 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9844 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9845 if ${lt_cv_prog_compiler_pic+:} false
; then :
9846 $as_echo_n "(cached) " >&6
9848 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9851 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9852 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9855 # Check to make sure the PIC flag actually works.
9857 if test -n "$lt_prog_compiler_pic"; then
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9859 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9860 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9861 $as_echo_n "(cached) " >&6
9863 lt_cv_prog_compiler_pic_works
=no
9864 ac_outfile
=conftest.
$ac_objext
9865 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9866 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9867 # Insert the option either (1) after the last *FLAGS variable, or
9868 # (2) before a word containing "conftest.", or (3) at the end.
9869 # Note that $ac_compile itself does not contain backslashes and begins
9870 # with a dollar sign (not a hyphen), so the echo should work correctly.
9871 # The option is referenced via a variable to avoid confusing sed.
9872 lt_compile
=`echo "$ac_compile" | $SED \
9873 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9874 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9875 -e 's:$: $lt_compiler_flag:'`
9876 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9877 (eval "$lt_compile" 2>conftest.err
)
9879 cat conftest.err
>&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 if (exit $ac_status) && test -s "$ac_outfile"; then
9882 # The compiler can only warn and ignore the option if not recognized
9883 # So say no if there are warnings other than the usual output.
9884 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9885 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9886 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9887 lt_cv_prog_compiler_pic_works
=yes
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9894 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9896 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9897 case $lt_prog_compiler_pic in
9899 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9902 lt_prog_compiler_pic
=
9903 lt_prog_compiler_can_build_shared
=no
9919 # Check to make sure the static flag actually works.
9921 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9923 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9924 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9925 $as_echo_n "(cached) " >&6
9927 lt_cv_prog_compiler_static_works
=no
9928 save_LDFLAGS
=$LDFLAGS
9929 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9930 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9931 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9932 # The linker can only warn and ignore the option if not recognized
9933 # So say no if there are warnings
9934 if test -s conftest.err
; then
9935 # Append any errors to the config.log.
9936 cat conftest.err
1>&5
9937 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9938 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9939 if diff conftest.exp conftest.er2
>/dev
/null
; then
9940 lt_cv_prog_compiler_static_works
=yes
9943 lt_cv_prog_compiler_static_works
=yes
9947 LDFLAGS
=$save_LDFLAGS
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9951 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9953 if test yes = "$lt_cv_prog_compiler_static_works"; then
9956 lt_prog_compiler_static
=
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9966 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9967 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9968 $as_echo_n "(cached) " >&6
9970 lt_cv_prog_compiler_c_o
=no
9971 $RM -r conftest
2>/dev
/null
9975 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9977 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9978 # Insert the option either (1) after the last *FLAGS variable, or
9979 # (2) before a word containing "conftest.", or (3) at the end.
9980 # Note that $ac_compile itself does not contain backslashes and begins
9981 # with a dollar sign (not a hyphen), so the echo should work correctly.
9982 lt_compile
=`echo "$ac_compile" | $SED \
9983 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9984 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9985 -e 's:$: $lt_compiler_flag:'`
9986 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9987 (eval "$lt_compile" 2>out
/conftest.err
)
9989 cat out
/conftest.err
>&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9993 # The compiler can only warn and ignore the option if not recognized
9994 # So say no if there are warnings
9995 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9996 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9997 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9998 lt_cv_prog_compiler_c_o
=yes
10003 # SGI C++ compiler will create directory out/ii_files/ for
10004 # template instantiation
10005 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10006 $RM out
/* && rmdir out
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10013 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10022 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10023 $as_echo_n "(cached) " >&6
10025 lt_cv_prog_compiler_c_o
=no
10026 $RM -r conftest
2>/dev
/null
10030 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10032 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10033 # Insert the option either (1) after the last *FLAGS variable, or
10034 # (2) before a word containing "conftest.", or (3) at the end.
10035 # Note that $ac_compile itself does not contain backslashes and begins
10036 # with a dollar sign (not a hyphen), so the echo should work correctly.
10037 lt_compile
=`echo "$ac_compile" | $SED \
10038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10040 -e 's:$: $lt_compiler_flag:'`
10041 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10042 (eval "$lt_compile" 2>out
/conftest.err
)
10044 cat out
/conftest.err
>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10048 # The compiler can only warn and ignore the option if not recognized
10049 # So say no if there are warnings
10050 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10051 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10052 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10053 lt_cv_prog_compiler_c_o
=yes
10058 # SGI C++ compiler will create directory out/ii_files/ for
10059 # template instantiation
10060 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10061 $RM out
/* && rmdir out
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10068 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10073 hard_links
=nottested
10074 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10075 # do not overwrite the value of need_locks provided by the user
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10077 $as_echo_n "checking if we can lock with hard links... " >&6; }
10080 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10082 ln conftest.a conftest.b
2>&5 || hard_links
=no
10083 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10085 $as_echo "$hard_links" >&6; }
10086 if test no
= "$hard_links"; then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10088 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10101 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10104 allow_undefined_flag
=
10105 always_export_symbols
=no
10107 archive_expsym_cmds
=
10108 compiler_needs_object
=no
10109 enable_shared_with_static_runtimes
=no
10110 export_dynamic_flag_spec
=
10111 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10112 hardcode_automatic
=no
10114 hardcode_direct_absolute
=no
10115 hardcode_libdir_flag_spec
=
10116 hardcode_libdir_separator
=
10117 hardcode_minus_L
=no
10118 hardcode_shlibpath_var
=unsupported
10120 link_all_deplibs
=unknown
10122 module_expsym_cmds
=
10123 old_archive_from_new_cmds
=
10124 old_archive_from_expsyms_cmds
=
10125 thread_safe_flag_spec
=
10126 whole_archive_flag_spec
=
10127 # include_expsyms should be a list of space-separated symbols to be *always*
10128 # included in the symbol list
10130 # exclude_expsyms can be an extended regexp of symbols to exclude
10131 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10132 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10133 # as well as any symbol that contains 'd'.
10134 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10135 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10136 # platforms (ab)use it in PIC code, but their linkers get confused if
10137 # the symbol is explicitly referenced. Since portable code cannot
10138 # rely on this symbol name, it's probably fine to never include it in
10139 # preloaded symbol tables.
10140 # Exclude shared library initialization/finalization symbols.
10141 extract_expsyms_cmds
=
10144 cygwin
* | mingw
* | pw32
* | cegcc
*)
10145 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10146 # When not using gcc, we currently assume that we are using
10147 # Microsoft Visual C++.
10148 if test yes != "$GCC"; then
10153 # we just hope/assume this is gcc and not c89 (= MSVC++)
10156 openbsd
* | bitrig
*)
10163 # On some targets, GNU ld is compatible enough with the native linker
10164 # that we're better off using the native interface for both.
10165 lt_use_gnu_ld_interface
=no
10166 if test yes = "$with_gnu_ld"; then
10169 # The AIX port of GNU ld has always aspired to compatibility
10170 # with the native linker. However, as the warning in the GNU ld
10171 # block says, versions before 2.19.5* couldn't really create working
10172 # shared libraries, regardless of the interface used.
10173 case `$LD -v 2>&1` in
10174 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10175 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10176 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10178 lt_use_gnu_ld_interface
=yes
10183 lt_use_gnu_ld_interface
=yes
10188 if test yes = "$lt_use_gnu_ld_interface"; then
10189 # If archive_cmds runs LD, not CC, wlarc should be empty
10192 # Set some defaults for GNU ld with shared library support. These
10193 # are reset later if shared libraries are not supported. Putting them
10194 # here allows them to be overridden if necessary.
10195 runpath_var
=LD_RUN_PATH
10196 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10197 export_dynamic_flag_spec
='$wl--export-dynamic'
10198 # ancient GNU ld didn't support --whole-archive et. al.
10199 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
10200 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10202 whole_archive_flag_spec
=
10204 supports_anon_versioning
=no
10205 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10206 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10207 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
10208 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10209 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10210 *\
2.11.
*) ;; # other 2.11 versions
10211 *) supports_anon_versioning
=yes ;;
10214 # See if GNU ld supports shared libraries.
10217 # On AIX/PPC, the GNU linker is very broken
10218 if test ia64
!= "$host_cpu"; then
10222 *** Warning: the GNU linker, at least up to release 2.19, is reported
10223 *** to be unable to reliably create shared libraries on AIX.
10224 *** Therefore, libtool is disabling shared libraries support. If you
10225 *** really care for shared libraries, you may want to install binutils
10226 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10227 *** You will then need to restart the configuration process.
10236 # see comment about AmigaOS4 .so support
10237 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10238 archive_expsym_cmds
=''
10241 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)'
10242 hardcode_libdir_flag_spec
='-L$libdir'
10243 hardcode_minus_L
=yes
10249 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10250 allow_undefined_flag
=unsupported
10251 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10252 # support --undefined. This deserves some investigation. FIXME
10253 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10259 cygwin
* | mingw
* | pw32
* | cegcc
*)
10260 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10261 # as there is no search path for DLLs.
10262 hardcode_libdir_flag_spec
='-L$libdir'
10263 export_dynamic_flag_spec
='$wl--export-all-symbols'
10264 allow_undefined_flag
=unsupported
10265 always_export_symbols
=no
10266 enable_shared_with_static_runtimes
=yes
10267 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'
10268 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10270 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
10271 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10272 # If the export-symbols file already is a .def file, use it as
10273 # is; otherwise, prepend EXPORTS...
10274 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10275 cp $export_symbols $output_objdir/$soname.def;
10277 echo EXPORTS > $output_objdir/$soname.def;
10278 cat $export_symbols >> $output_objdir/$soname.def;
10280 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10287 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10288 link_all_deplibs
=yes
10292 hardcode_libdir_flag_spec
='-L$libdir'
10293 hardcode_minus_L
=yes
10294 allow_undefined_flag
=unsupported
10296 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10297 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10298 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10299 $ECHO EXPORTS >> $output_objdir/$libname.def~
10300 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10301 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10302 emximp -o $lib $output_objdir/$libname.def'
10303 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10304 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10305 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10306 $ECHO EXPORTS >> $output_objdir/$libname.def~
10307 prefix_cmds="$SED"~
10308 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10309 prefix_cmds="$prefix_cmds -e 1d";
10311 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10312 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10313 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10314 emximp -o $lib $output_objdir/$libname.def'
10315 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10316 enable_shared_with_static_runtimes
=yes
10321 hardcode_shlibpath_var
=no
10322 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10323 export_dynamic_flag_spec
='$wl-E'
10324 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10325 # Instead, shared libraries are loaded at an image base (0x10000000 by
10326 # default) and relocated if they conflict, which is a slow very memory
10327 # consuming and fragmenting process. To avoid this, we pick a random,
10328 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10329 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10330 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10331 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'
10334 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10336 if test linux
-dietlibc = "$host_os"; then
10337 case $cc_basename in
10338 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10341 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10342 && test no
= "$tmp_diet"
10344 tmp_addflag
=' $pic_flag'
10345 tmp_sharedflag
='-shared'
10346 case $cc_basename,$host_cpu in
10347 pgcc
*) # Portland Group C compiler
10348 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'
10349 tmp_addflag
=' $pic_flag'
10351 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10352 # Portland Group f77 and f90 compilers
10353 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'
10354 tmp_addflag
=' $pic_flag -Mnomain' ;;
10355 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10356 tmp_addflag
=' -i_dynamic' ;;
10357 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10358 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10359 ifc
* | ifort
*) # Intel Fortran compiler
10360 tmp_addflag
=' -nofor_main' ;;
10361 lf95
*) # Lahey Fortran 8.1
10362 whole_archive_flag_spec
=
10363 tmp_sharedflag
='--shared' ;;
10364 nagfor
*) # NAGFOR 5.3
10365 tmp_sharedflag
='-Wl,-shared' ;;
10366 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10367 tmp_sharedflag
='-qmkshrobj'
10369 nvcc
*) # Cuda Compiler Driver 2.2
10370 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'
10371 compiler_needs_object
=yes
10374 case `$CC -V 2>&1 | sed 5q` in
10375 *Sun\ C
*) # Sun C 5.9
10376 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'
10377 compiler_needs_object
=yes
10378 tmp_sharedflag
='-G' ;;
10379 *Sun\ F
*) # Sun Fortran 8.3
10380 tmp_sharedflag
='-G' ;;
10382 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10384 if test yes = "$supports_anon_versioning"; then
10385 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10386 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10387 echo "local: *; };" >> $output_objdir/$libname.ver~
10388 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10391 case $cc_basename in
10393 export_dynamic_flag_spec
='-rdynamic'
10395 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10396 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10397 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10398 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10399 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10400 if test yes = "$supports_anon_versioning"; then
10401 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10402 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10403 echo "local: *; };" >> $output_objdir/$libname.ver~
10404 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10414 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10415 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10418 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10419 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10424 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10428 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10429 *** create shared libraries on Solaris systems. Therefore, libtool
10430 *** is disabling shared libraries support. We urge you to upgrade GNU
10431 *** binutils to release 2.9.1 or newer. Another option is to modify
10432 *** your PATH or compiler configuration so that the native linker is
10433 *** used, and then restart.
10436 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10437 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10438 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10444 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10445 case `$LD -v 2>&1` in
10446 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10450 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10451 *** reliably create shared libraries on SCO systems. Therefore, libtool
10452 *** is disabling shared libraries support. We urge you to upgrade GNU
10453 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10454 *** your PATH or compiler configuration so that the native linker is
10455 *** used, and then restart.
10460 # For security reasons, it is highly recommended that you always
10461 # use absolute paths for naming shared libraries, and exclude the
10462 # DT_RUNPATH tag from executables and libraries. But doing so
10463 # requires that you compile everything twice, which is a pain.
10464 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10465 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10466 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10467 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10476 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10478 hardcode_direct
=yes
10479 hardcode_shlibpath_var
=no
10483 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10484 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10485 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10492 if test no
= "$ld_shlibs"; then
10494 hardcode_libdir_flag_spec
=
10495 export_dynamic_flag_spec
=
10496 whole_archive_flag_spec
=
10499 # PORTME fill in a description of your system's linker (not GNU ld)
10502 allow_undefined_flag
=unsupported
10503 always_export_symbols
=yes
10504 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'
10505 # Note: this linker hardcodes the directories in LIBPATH if there
10506 # are no directories specified by -L.
10507 hardcode_minus_L
=yes
10508 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10509 # Neither direct hardcoding nor static linking is supported with a
10511 hardcode_direct
=unsupported
10516 if test ia64
= "$host_cpu"; then
10517 # On IA64, the linker does run time linking by default, so we don't
10518 # have to do anything special.
10519 aix_use_runtimelinking
=no
10520 exp_sym_flag
='-Bexport'
10523 # If we're using GNU nm, then we don't want the "-C" option.
10524 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10525 # Without the "-l" option, or with the "-B" option, AIX nm treats
10526 # weak defined symbols like other global defined symbols, whereas
10527 # GNU nm marks them as "W".
10528 # While the 'weak' keyword is ignored in the Export File, we need
10529 # it in the Import File for the 'aix-soname' feature, so we have
10530 # to replace the "-B" option with "-P" for AIX nm.
10531 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10532 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10534 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10536 aix_use_runtimelinking
=no
10538 # Test if we are trying to use run time linking or normal
10539 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10540 # have runtime linking enabled, and use it for executables.
10541 # For shared libraries, we enable/disable runtime linking
10542 # depending on the kind of the shared library created -
10543 # when "with_aix_soname,aix_use_runtimelinking" is:
10544 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10545 # "aix,yes" lib.so shared, rtl:yes, for executables
10546 # lib.a static archive
10547 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10548 # lib.a(lib.so.V) shared, rtl:no, for executables
10549 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10550 # lib.a(lib.so.V) shared, rtl:no
10551 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10552 # lib.a static archive
10553 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10554 for ld_flag
in $LDFLAGS; do
10555 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
10556 aix_use_runtimelinking
=yes
10560 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10561 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10562 # so we don't have lib.a shared libs to link our executables.
10563 # We have to force runtime linking in this case.
10564 aix_use_runtimelinking
=yes
10565 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10570 exp_sym_flag
='-bexport'
10571 no_entry_flag
='-bnoentry'
10574 # When large executables or shared objects are built, AIX ld can
10575 # have problems creating the table of contents. If linking a library
10576 # or program results in "error TOC overflow" add -mminimal-toc to
10577 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10578 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10581 hardcode_direct
=yes
10582 hardcode_direct_absolute
=yes
10583 hardcode_libdir_separator
=':'
10584 link_all_deplibs
=yes
10585 file_list_spec
='$wl-f,'
10586 case $with_aix_soname,$aix_use_runtimelinking in
10587 aix
,*) ;; # traditional, no import file
10588 svr4
,* | *,yes) # use import file
10589 # The Import File defines what to hardcode.
10591 hardcode_direct_absolute
=no
10595 if test yes = "$GCC"; then
10596 case $host_os in aix4.
[012]|aix4.
[012].
*)
10597 # We only want to do this on AIX 4.2 and lower, the check
10598 # below for broken collect2 doesn't work under 4.3+
10599 collect2name
=`$CC -print-prog-name=collect2`
10600 if test -f "$collect2name" &&
10601 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10603 # We have reworked collect2
10606 # We have old collect2
10607 hardcode_direct
=unsupported
10608 # It fails to find uninstalled libraries when the uninstalled
10609 # path is not listed in the libpath. Setting hardcode_minus_L
10610 # to unsupported forces relinking
10611 hardcode_minus_L
=yes
10612 hardcode_libdir_flag_spec
='-L$libdir'
10613 hardcode_libdir_separator
=
10617 shared_flag
='-shared'
10618 if test yes = "$aix_use_runtimelinking"; then
10619 shared_flag
="$shared_flag "'$wl-G'
10621 # Need to ensure runtime linking is disabled for the traditional
10622 # shared library, or the linker may eventually find shared libraries
10623 # /with/ Import File - we do not want to mix them.
10624 shared_flag_aix
='-shared'
10625 shared_flag_svr4
='-shared $wl-G'
10628 if test ia64
= "$host_cpu"; then
10629 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10630 # chokes on -Wl,-G. The following line is correct:
10633 if test yes = "$aix_use_runtimelinking"; then
10634 shared_flag
='$wl-G'
10636 shared_flag
='$wl-bM:SRE'
10638 shared_flag_aix
='$wl-bM:SRE'
10639 shared_flag_svr4
='$wl-G'
10643 export_dynamic_flag_spec
='$wl-bexpall'
10644 # It seems that -bexpall does not export symbols beginning with
10645 # underscore (_), so it is better to generate a list of symbols to export.
10646 always_export_symbols
=yes
10647 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10648 # Warning - without using the other runtime loading flags (-brtl),
10649 # -berok will link without error, but may produce a broken library.
10650 allow_undefined_flag
='-berok'
10651 # Determine the default libpath from the value encoded in an
10652 # empty executable.
10653 if test set = "${lt_cv_aix_libpath+set}"; then
10654 aix_libpath
=$lt_cv_aix_libpath
10656 if ${lt_cv_aix_libpath_+:} false
; then :
10657 $as_echo_n "(cached) " >&6
10659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10670 if ac_fn_c_try_link
"$LINENO"; then :
10672 lt_aix_libpath_sed
='
10673 /Import File Strings/,/^$/ {
10675 s/^0 *\([^ ]*\) *$/\1/
10679 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10680 # Check for a 64-bit object if we didn't find anything.
10681 if test -z "$lt_cv_aix_libpath_"; then
10682 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10685 rm -f core conftest.err conftest.
$ac_objext \
10686 conftest
$ac_exeext conftest.
$ac_ext
10687 if test -z "$lt_cv_aix_libpath_"; then
10688 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10693 aix_libpath
=$lt_cv_aix_libpath_
10696 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10697 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
10699 if test ia64
= "$host_cpu"; then
10700 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10701 allow_undefined_flag
="-z nodefs"
10702 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"
10704 # Determine the default libpath from the value encoded in an
10705 # empty executable.
10706 if test set = "${lt_cv_aix_libpath+set}"; then
10707 aix_libpath
=$lt_cv_aix_libpath
10709 if ${lt_cv_aix_libpath_+:} false
; then :
10710 $as_echo_n "(cached) " >&6
10712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10723 if ac_fn_c_try_link
"$LINENO"; then :
10725 lt_aix_libpath_sed
='
10726 /Import File Strings/,/^$/ {
10728 s/^0 *\([^ ]*\) *$/\1/
10732 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10733 # Check for a 64-bit object if we didn't find anything.
10734 if test -z "$lt_cv_aix_libpath_"; then
10735 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10738 rm -f core conftest.err conftest.
$ac_objext \
10739 conftest
$ac_exeext conftest.
$ac_ext
10740 if test -z "$lt_cv_aix_libpath_"; then
10741 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10746 aix_libpath
=$lt_cv_aix_libpath_
10749 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10750 # Warning - without using the other run time loading flags,
10751 # -berok will link without error, but may produce a broken library.
10752 no_undefined_flag
=' $wl-bernotok'
10753 allow_undefined_flag
=' $wl-berok'
10754 if test yes = "$with_gnu_ld"; then
10755 # We only use this code for GNU lds that support --whole-archive.
10756 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10758 # Exported symbols can be pulled into shared objects from archives
10759 whole_archive_flag_spec
='$convenience'
10761 archive_cmds_need_lc
=yes
10762 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10763 # -brtl affects multiple linker settings, -berok does not and is overridden later
10764 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10765 if test svr4
!= "$with_aix_soname"; then
10766 # This is similar to how AIX traditionally builds its shared libraries.
10767 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10769 if test aix
!= "$with_aix_soname"; then
10770 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10772 # used by -dlpreopen to get the symbols
10773 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10775 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10783 # see comment about AmigaOS4 .so support
10784 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10785 archive_expsym_cmds
=''
10788 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)'
10789 hardcode_libdir_flag_spec
='-L$libdir'
10790 hardcode_minus_L
=yes
10796 export_dynamic_flag_spec
=-rdynamic
10799 cygwin
* | mingw
* | pw32
* | cegcc
*)
10800 # When not using gcc, we currently assume that we are using
10801 # Microsoft Visual C++.
10802 # hardcode_libdir_flag_spec is actually meaningless, as there is
10803 # no search path for DLLs.
10804 case $cc_basename in
10807 hardcode_libdir_flag_spec
=' '
10808 allow_undefined_flag
=unsupported
10809 always_export_symbols
=yes
10811 # Tell ltmain to make .lib files, not .a files.
10813 # Tell ltmain to make .dll files, not .so files.
10815 # FIXME: Setting linknames here is a bad hack.
10816 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10817 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10818 cp "$export_symbols" "$output_objdir/$soname.def";
10819 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10821 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10823 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10825 # The linker will not automatically build a static lib if we build a DLL.
10826 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10827 enable_shared_with_static_runtimes
=yes
10828 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10829 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10831 old_postinstall_cmds
='chmod 644 $oldlib'
10832 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10833 lt_tool_outputfile="@TOOL_OUTPUT@"~
10834 case $lt_outputfile in
10837 lt_outputfile=$lt_outputfile.exe
10838 lt_tool_outputfile=$lt_tool_outputfile.exe
10841 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10842 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10843 $RM "$lt_outputfile.manifest";
10847 # Assume MSVC wrapper
10848 hardcode_libdir_flag_spec
=' '
10849 allow_undefined_flag
=unsupported
10850 # Tell ltmain to make .lib files, not .a files.
10852 # Tell ltmain to make .dll files, not .so files.
10854 # FIXME: Setting linknames here is a bad hack.
10855 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10856 # The linker will automatically build a .lib file if we build a DLL.
10857 old_archive_from_new_cmds
='true'
10858 # FIXME: Should let the user specify the lib program.
10859 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10860 enable_shared_with_static_runtimes
=yes
10865 darwin
* | rhapsody
*)
10868 archive_cmds_need_lc
=no
10870 hardcode_automatic
=yes
10871 hardcode_shlibpath_var
=unsupported
10872 if test yes = "$lt_cv_ld_force_load"; then
10873 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\"`'
10876 whole_archive_flag_spec
=''
10878 link_all_deplibs
=yes
10879 allow_undefined_flag
=$_lt_dar_allow_undefined
10880 case $cc_basename in
10881 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10882 *) _lt_dar_can_shared
=$GCC ;;
10884 if test yes = "$_lt_dar_can_shared"; then
10885 output_verbose_link_cmd
=func_echo_all
10886 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10887 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10888 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"
10889 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"
10898 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10899 hardcode_libdir_flag_spec
='-L$libdir'
10900 hardcode_shlibpath_var
=no
10903 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10904 # support. Future versions do this automatically, but an explicit c++rt0.o
10905 # does not break anything, and helps significantly (at the cost of a little
10908 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10909 hardcode_libdir_flag_spec
='-R$libdir'
10910 hardcode_direct
=yes
10911 hardcode_shlibpath_var
=no
10914 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10916 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10917 hardcode_direct
=yes
10918 hardcode_minus_L
=yes
10919 hardcode_shlibpath_var
=no
10922 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10923 freebsd
* | dragonfly
*)
10924 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10925 hardcode_libdir_flag_spec
='-R$libdir'
10926 hardcode_direct
=yes
10927 hardcode_shlibpath_var
=no
10931 if test yes = "$GCC"; then
10932 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10934 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10936 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10937 hardcode_libdir_separator
=:
10938 hardcode_direct
=yes
10940 # hardcode_minus_L: Not really in the search PATH,
10941 # but as the default location of the library.
10942 hardcode_minus_L
=yes
10943 export_dynamic_flag_spec
='$wl-E'
10947 if test yes,no
= "$GCC,$with_gnu_ld"; then
10948 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10952 if test no
= "$with_gnu_ld"; then
10953 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10954 hardcode_libdir_separator
=:
10955 hardcode_direct
=yes
10956 hardcode_direct_absolute
=yes
10957 export_dynamic_flag_spec
='$wl-E'
10958 # hardcode_minus_L: Not really in the search PATH,
10959 # but as the default location of the library.
10960 hardcode_minus_L
=yes
10965 if test yes,no
= "$GCC,$with_gnu_ld"; then
10968 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10971 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10974 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10980 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10983 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10987 # Older versions of the 11.00 compiler do not understand -b yet
10988 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10990 $as_echo_n "checking if $CC understands -b... " >&6; }
10991 if ${lt_cv_prog_compiler__b+:} false
; then :
10992 $as_echo_n "(cached) " >&6
10994 lt_cv_prog_compiler__b
=no
10995 save_LDFLAGS
=$LDFLAGS
10996 LDFLAGS
="$LDFLAGS -b"
10997 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10998 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10999 # The linker can only warn and ignore the option if not recognized
11000 # So say no if there are warnings
11001 if test -s conftest.err
; then
11002 # Append any errors to the config.log.
11003 cat conftest.err
1>&5
11004 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11005 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11006 if diff conftest.exp conftest.er2
>/dev
/null
; then
11007 lt_cv_prog_compiler__b
=yes
11010 lt_cv_prog_compiler__b
=yes
11014 LDFLAGS
=$save_LDFLAGS
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11018 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11020 if test yes = "$lt_cv_prog_compiler__b"; then
11021 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11023 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11029 if test no
= "$with_gnu_ld"; then
11030 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11031 hardcode_libdir_separator
=:
11036 hardcode_shlibpath_var
=no
11039 hardcode_direct
=yes
11040 hardcode_direct_absolute
=yes
11041 export_dynamic_flag_spec
='$wl-E'
11043 # hardcode_minus_L: Not really in the search PATH,
11044 # but as the default location of the library.
11045 hardcode_minus_L
=yes
11051 irix5
* | irix6
* | nonstopux
*)
11052 if test yes = "$GCC"; then
11053 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'
11054 # Try to use the -exported_symbol ld option, if it does not
11055 # work, assume that -exports_file does not work either and
11056 # implicitly export all symbols.
11057 # This should be the same for all languages, so no per-tag cache variable.
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11059 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11060 if ${lt_cv_irix_exported_symbol+:} false
; then :
11061 $as_echo_n "(cached) " >&6
11063 save_LDFLAGS
=$LDFLAGS
11064 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11067 int foo (void) { return 0; }
11069 if ac_fn_c_try_link
"$LINENO"; then :
11070 lt_cv_irix_exported_symbol
=yes
11072 lt_cv_irix_exported_symbol
=no
11074 rm -f core conftest.err conftest.
$ac_objext \
11075 conftest
$ac_exeext conftest.
$ac_ext
11076 LDFLAGS
=$save_LDFLAGS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11079 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11080 if test yes = "$lt_cv_irix_exported_symbol"; then
11081 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'
11084 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'
11085 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'
11087 archive_cmds_need_lc
='no'
11088 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11089 hardcode_libdir_separator
=:
11091 link_all_deplibs
=yes
11095 case $cc_basename in
11097 # Fabrice Bellard et al's Tiny C Compiler
11099 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11105 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11106 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11108 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11110 hardcode_libdir_flag_spec
='-R$libdir'
11111 hardcode_direct
=yes
11112 hardcode_shlibpath_var
=no
11116 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11117 hardcode_direct
=yes
11118 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11119 hardcode_libdir_separator
=:
11120 hardcode_shlibpath_var
=no
11126 openbsd
* | bitrig
*)
11127 if test -f /usr
/libexec
/ld.so
; then
11128 hardcode_direct
=yes
11129 hardcode_shlibpath_var
=no
11130 hardcode_direct_absolute
=yes
11131 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11132 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11133 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11134 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11135 export_dynamic_flag_spec
='$wl-E'
11137 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11138 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11146 hardcode_libdir_flag_spec
='-L$libdir'
11147 hardcode_minus_L
=yes
11148 allow_undefined_flag
=unsupported
11150 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11151 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11152 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11153 $ECHO EXPORTS >> $output_objdir/$libname.def~
11154 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11155 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11156 emximp -o $lib $output_objdir/$libname.def'
11157 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11158 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11159 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11160 $ECHO EXPORTS >> $output_objdir/$libname.def~
11161 prefix_cmds="$SED"~
11162 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11163 prefix_cmds="$prefix_cmds -e 1d";
11165 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11166 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11167 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11168 emximp -o $lib $output_objdir/$libname.def'
11169 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11170 enable_shared_with_static_runtimes
=yes
11174 if test yes = "$GCC"; then
11175 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11176 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'
11178 allow_undefined_flag
=' -expect_unresolved \*'
11179 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'
11181 archive_cmds_need_lc
='no'
11182 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11183 hardcode_libdir_separator
=:
11186 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11187 if test yes = "$GCC"; then
11188 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11189 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'
11190 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11192 allow_undefined_flag
=' -expect_unresolved \*'
11193 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'
11194 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~
11195 $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'
11197 # Both c and cxx compiler support -rpath directly
11198 hardcode_libdir_flag_spec
='-rpath $libdir'
11200 archive_cmds_need_lc
='no'
11201 hardcode_libdir_separator
=:
11205 no_undefined_flag
=' -z defs'
11206 if test yes = "$GCC"; then
11208 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11209 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11210 $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'
11212 case `$CC -V 2>&1` in
11215 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11216 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11217 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11221 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11222 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11223 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11227 hardcode_libdir_flag_spec
='-R$libdir'
11228 hardcode_shlibpath_var
=no
11230 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11232 # The compiler driver will combine and reorder linker options,
11233 # but understands '-z linker_flag'. GCC discards it without '$wl',
11234 # but is careful enough not to reorder.
11235 # Supported since Solaris 2.6 (maybe 2.5.1?)
11236 if test yes = "$GCC"; then
11237 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11239 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11243 link_all_deplibs
=yes
11247 if test sequent
= "$host_vendor"; then
11248 # Use $CC to link under sequent, because it throws in some extra .o
11249 # files that make .init and .fini sections work.
11250 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11252 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11254 hardcode_libdir_flag_spec
='-L$libdir'
11255 hardcode_direct
=yes
11256 hardcode_minus_L
=yes
11257 hardcode_shlibpath_var
=no
11261 case $host_vendor in
11263 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11264 hardcode_direct
=yes # is this really true???
11267 ## LD is ld it makes a PLAMLIB
11268 ## CC just makes a GrossModule.
11269 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11270 reload_cmds
='$CC -r -o $output$reload_objs'
11274 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11275 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11278 runpath_var
='LD_RUN_PATH'
11279 hardcode_shlibpath_var
=no
11283 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11284 hardcode_shlibpath_var
=no
11285 export_dynamic_flag_spec
='-Bexport'
11289 if test -d /usr
/nec
; then
11290 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11291 hardcode_shlibpath_var
=no
11292 runpath_var
=LD_RUN_PATH
11293 hardcode_runpath_var
=yes
11298 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11299 no_undefined_flag
='$wl-z,text'
11300 archive_cmds_need_lc
=no
11301 hardcode_shlibpath_var
=no
11302 runpath_var
='LD_RUN_PATH'
11304 if test yes = "$GCC"; then
11305 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11306 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11308 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11309 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11313 sysv5
* | sco3.2v5
* | sco5v6
*)
11314 # Note: We CANNOT use -z defs as we might desire, because we do not
11315 # link with -lc, and that would cause any symbols used from libc to
11316 # always be unresolved, which means just about no library would
11317 # ever link correctly. If we're not using GNU ld we use -z text
11318 # though, which does catch some bad symbols but isn't as heavy-handed
11320 no_undefined_flag
='$wl-z,text'
11321 allow_undefined_flag
='$wl-z,nodefs'
11322 archive_cmds_need_lc
=no
11323 hardcode_shlibpath_var
=no
11324 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11325 hardcode_libdir_separator
=':'
11326 link_all_deplibs
=yes
11327 export_dynamic_flag_spec
='$wl-Bexport'
11328 runpath_var
='LD_RUN_PATH'
11330 if test yes = "$GCC"; then
11331 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11332 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11334 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11335 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11340 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11341 hardcode_libdir_flag_spec
='-L$libdir'
11342 hardcode_shlibpath_var
=no
11350 if test sni
= "$host_vendor"; then
11352 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11353 export_dynamic_flag_spec
='$wl-Blargedynsym'
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11360 $as_echo "$ld_shlibs" >&6; }
11361 test no
= "$ld_shlibs" && can_build_shared
=no
11363 with_gnu_ld
=$with_gnu_ld
11380 # Do we need to explicitly link libc?
11382 case "x$archive_cmds_need_lc" in
11384 # Assume -lc should be added
11385 archive_cmds_need_lc
=yes
11387 if test yes,yes = "$GCC,$enable_shared"; then
11388 case $archive_cmds in
11390 # FIXME: we may have to deal with multi-command sequences.
11393 # Test whether the compiler implicitly links with -lc since on some
11394 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11395 # to ld, don't add -lc before -lgcc.
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11397 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11398 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11399 $as_echo_n "(cached) " >&6
11402 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11404 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11405 (eval $ac_compile) 2>&5
11407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11408 test $ac_status = 0; } 2>conftest.err
; then
11411 libobjs
=conftest.
$ac_objext
11413 wl
=$lt_prog_compiler_wl
11414 pic_flag
=$lt_prog_compiler_pic
11420 lt_save_allow_undefined_flag
=$allow_undefined_flag
11421 allow_undefined_flag
=
11422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11423 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11426 test $ac_status = 0; }
11428 lt_cv_archive_cmds_need_lc
=no
11430 lt_cv_archive_cmds_need_lc
=yes
11432 allow_undefined_flag
=$lt_save_allow_undefined_flag
11434 cat conftest.err
1>&5
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11440 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11441 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11600 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11602 if test yes = "$GCC"; then
11604 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11605 *) lt_awk_arg
='/^libraries:/' ;;
11608 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11609 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11611 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11612 case $lt_search_path_spec in
11614 # if the path contains ";" then we assume it to be the separator
11615 # otherwise default to the standard path separator (i.e. ":") - it is
11616 # assumed that no part of a normal pathname contains ";" but that should
11617 # okay in the real world where ";" in dirpaths is itself problematic.
11618 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11621 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11624 # Ok, now we have the path, separated by spaces, we can step through it
11625 # and add multilib dir if necessary...
11626 lt_tmp_lt_search_path_spec
=
11627 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11628 # ...but if some path component already ends with the multilib dir we assume
11629 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11630 case "$lt_multi_os_dir; $lt_search_path_spec " in
11631 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11635 for lt_sys_path
in $lt_search_path_spec; do
11636 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11637 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11638 elif test -n "$lt_multi_os_dir"; then
11639 test -d "$lt_sys_path" && \
11640 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11643 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11644 BEGIN {RS = " "; FS = "/|\n";} {
11647 for (lt_i = NF; lt_i > 0; lt_i--) {
11648 if ($lt_i != "" && $lt_i != ".") {
11649 if ($lt_i == "..") {
11652 if (lt_count == 0) {
11653 lt_foo = "/" $lt_i lt_foo;
11660 if (lt_foo != "") { lt_freq[lt_foo]++; }
11661 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11663 # AWK program above erroneously prepends '/' to C:/dos/paths
11666 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11667 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11669 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11671 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11673 library_names_spec
=
11674 libname_spec
='lib$name'
11678 postuninstall_cmds
=
11682 shlibpath_overrides_runpath
=unknown
11684 dynamic_linker
="$host_os ld.so"
11685 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11686 need_lib_prefix
=unknown
11687 hardcode_into_libs
=no
11689 # when you set need_version to no, make sure it does not cause -set_version
11690 # flags to be left without arguments
11691 need_version
=unknown
11697 version_type
=linux
# correct to gnu/linux during the next big refactor
11698 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11699 shlibpath_var
=LIBPATH
11701 # AIX 3 has no versioning support, so we append a major version to the name.
11702 soname_spec
='$libname$release$shared_ext$major'
11706 version_type
=linux
# correct to gnu/linux during the next big refactor
11709 hardcode_into_libs
=yes
11710 if test ia64
= "$host_cpu"; then
11711 # AIX 5 supports IA64
11712 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11713 shlibpath_var
=LD_LIBRARY_PATH
11715 # With GCC up to 2.95.x, collect2 would create an import file
11716 # for dependence libraries. The import file would start with
11717 # the line '#! .'. This would cause the generated library to
11718 # depend on '.', always an invalid library. This was fixed in
11719 # development snapshots of GCC prior to 3.0.
11721 aix4
| aix4.
[01] | aix4.
[01].
*)
11722 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11724 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
11727 can_build_shared
=no
11731 # Using Import Files as archive members, it is possible to support
11732 # filename-based versioning of shared library archives on AIX. While
11733 # this would work for both with and without runtime linking, it will
11734 # prevent static linking of such archives. So we do filename-based
11735 # shared library versioning with .so extension only, which is used
11736 # when both runtime linking and shared linking is enabled.
11737 # Unfortunately, runtime linking may impact performance, so we do
11738 # not want this to be the default eventually. Also, we use the
11739 # versioned .so libs for executables only if there is the -brtl
11740 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11741 # To allow for filename-based versioning support, we need to create
11742 # libNAME.so.V as an archive file, containing:
11743 # *) an Import File, referring to the versioned filename of the
11744 # archive as well as the shared archive member, telling the
11745 # bitwidth (32 or 64) of that shared object, and providing the
11746 # list of exported symbols of that shared object, eventually
11747 # decorated with the 'weak' keyword
11748 # *) the shared object with the F_LOADONLY flag set, to really avoid
11749 # it being seen by the linker.
11750 # At run time we better use the real file rather than another symlink,
11751 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11753 case $with_aix_soname,$aix_use_runtimelinking in
11754 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11755 # soname into executable. Probably we can add versioning support to
11756 # collect2, so additional links can be useful in future.
11757 aix
,yes) # traditional libtool
11758 dynamic_linker
='AIX unversionable lib.so'
11759 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11760 # instead of lib<name>.a to let people know that these are not
11761 # typical AIX shared libraries.
11762 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11764 aix
,no
) # traditional AIX only
11765 dynamic_linker
='AIX lib.a(lib.so.V)'
11766 # We preserve .a as extension for shared libraries through AIX4.2
11767 # and later when we are not doing run time linking.
11768 library_names_spec
='$libname$release.a $libname.a'
11769 soname_spec
='$libname$release$shared_ext$major'
11771 svr4
,*) # full svr4 only
11772 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11773 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11774 # We do not specify a path in Import Files, so LIBPATH fires.
11775 shlibpath_overrides_runpath
=yes
11777 *,yes) # both, prefer svr4
11778 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11779 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11780 # unpreferred sharedlib libNAME.a needs extra handling
11781 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11782 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11783 # We do not specify a path in Import Files, so LIBPATH fires.
11784 shlibpath_overrides_runpath
=yes
11786 *,no
) # both, prefer aix
11787 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11788 library_names_spec
='$libname$release.a $libname.a'
11789 soname_spec
='$libname$release$shared_ext$major'
11790 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11791 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11792 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11795 shlibpath_var
=LIBPATH
11802 # Since July 2007 AmigaOS4 officially supports .so libraries.
11803 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11804 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11807 library_names_spec
='$libname.ixlibrary $libname.a'
11808 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11809 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11815 library_names_spec
='$libname$shared_ext'
11816 dynamic_linker
="$host_os ld.so"
11817 shlibpath_var
=LIBRARY_PATH
11821 version_type
=linux
# correct to gnu/linux during the next big refactor
11823 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11824 soname_spec
='$libname$release$shared_ext$major'
11825 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11826 shlibpath_var
=LD_LIBRARY_PATH
11827 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11828 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11829 # the default ld.so.conf also contains /usr/contrib/lib and
11830 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11831 # libtool to hard-code these into programs
11834 cygwin
* | mingw
* | pw32
* | cegcc
*)
11835 version_type
=windows
11840 case $GCC,$cc_basename in
11843 library_names_spec
='$libname.dll.a'
11844 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11845 postinstall_cmds
='base_file=`basename \$file`~
11846 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11847 dldir=$destdir/`dirname \$dlpath`~
11848 test -d \$dldir || mkdir -p \$dldir~
11849 $install_prog $dir/$dlname \$dldir/$dlname~
11850 chmod a+x \$dldir/$dlname~
11851 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11852 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11854 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11855 dlpath=$dir/\$dldll~
11857 shlibpath_overrides_runpath
=yes
11861 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11862 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11864 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11867 # MinGW DLLs use traditional 'lib' prefix
11868 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11871 # pw32 DLLs use 'pw' prefix rather than 'lib'
11872 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11875 dynamic_linker
='Win32 ld.exe'
11880 libname_spec
='$name'
11881 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11882 library_names_spec
='$libname.dll.lib'
11886 sys_lib_search_path_spec
=
11889 for lt_path
in $LIB
11892 # Let DOS variable expansion print the short 8.3 style file name.
11893 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11894 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11897 # Convert to MSYS style.
11898 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11901 # Convert to unix form, then to dos form, then back to unix form
11902 # but this time dos style (no spaces!) so that the unix form looks
11903 # like /cygdrive/c/PROGRA~1:/cygdr...
11904 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11905 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11906 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11909 sys_lib_search_path_spec
=$LIB
11910 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11911 # It is most probably a Windows format PATH.
11912 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11914 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11916 # FIXME: find the short name or the path components, as spaces are
11917 # common. (e.g. "Program Files" -> "PROGRA~1")
11921 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11922 postinstall_cmds
='base_file=`basename \$file`~
11923 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11924 dldir=$destdir/`dirname \$dlpath`~
11925 test -d \$dldir || mkdir -p \$dldir~
11926 $install_prog $dir/$dlname \$dldir/$dlname'
11927 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11928 dlpath=$dir/\$dldll~
11930 shlibpath_overrides_runpath
=yes
11931 dynamic_linker
='Win32 link.exe'
11935 # Assume MSVC wrapper
11936 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11937 dynamic_linker
='Win32 ld.exe'
11940 # FIXME: first we should search . and the directory the executable is in
11944 darwin
* | rhapsody
*)
11945 dynamic_linker
="$host_os dyld"
11946 version_type
=darwin
11949 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11950 soname_spec
='$libname$release$major$shared_ext'
11951 shlibpath_overrides_runpath
=yes
11952 shlibpath_var
=DYLD_LIBRARY_PATH
11953 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11955 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11956 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11960 version_type
=linux
# correct to gnu/linux during the next big refactor
11963 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11964 soname_spec
='$libname$release$shared_ext$major'
11965 shlibpath_var
=LD_LIBRARY_PATH
11968 freebsd
* | dragonfly
*)
11969 # DragonFly does not have aout. When/if they implement a new
11970 # versioning mechanism, adjust this.
11971 if test -x /usr
/bin
/objformat
; then
11972 objformat
=`/usr/bin/objformat`
11975 freebsd
[23].
*) objformat
=aout
;;
11976 *) objformat
=elf
;;
11979 version_type
=freebsd
-$objformat
11980 case $version_type in
11982 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11983 soname_spec
='$libname$release$shared_ext$major'
11988 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11992 shlibpath_var
=LD_LIBRARY_PATH
11995 shlibpath_overrides_runpath
=yes
11997 freebsd3.
[01]* | freebsdelf3.
[01]*)
11998 shlibpath_overrides_runpath
=yes
11999 hardcode_into_libs
=yes
12001 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12002 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12003 shlibpath_overrides_runpath
=no
12004 hardcode_into_libs
=yes
12006 *) # from 4.6 on, and DragonFly
12007 shlibpath_overrides_runpath
=yes
12008 hardcode_into_libs
=yes
12014 version_type
=linux
# correct to gnu/linux during the next big refactor
12017 dynamic_linker
="$host_os runtime_loader"
12018 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12019 soname_spec
='$libname$release$shared_ext$major'
12020 shlibpath_var
=LIBRARY_PATH
12021 shlibpath_overrides_runpath
=no
12022 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12023 hardcode_into_libs
=yes
12026 hpux9
* | hpux10
* | hpux11
*)
12027 # Give a soname corresponding to the major version so that dld.sl refuses to
12028 # link against other versions.
12035 hardcode_into_libs
=yes
12036 dynamic_linker
="$host_os dld.so"
12037 shlibpath_var
=LD_LIBRARY_PATH
12038 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12039 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12040 soname_spec
='$libname$release$shared_ext$major'
12041 if test 32 = "$HPUX_IA64_MODE"; then
12042 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12043 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12045 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12046 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12051 hardcode_into_libs
=yes
12052 dynamic_linker
="$host_os dld.sl"
12053 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12054 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12055 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12056 soname_spec
='$libname$release$shared_ext$major'
12057 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12058 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12062 dynamic_linker
="$host_os dld.sl"
12063 shlibpath_var
=SHLIB_PATH
12064 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12065 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12066 soname_spec
='$libname$release$shared_ext$major'
12069 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12070 postinstall_cmds
='chmod 555 $lib'
12071 # or fails outright, so override atomically:
12072 install_override_mode
=555
12076 version_type
=linux
# correct to gnu/linux during the next big refactor
12079 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12080 soname_spec
='$libname$release$shared_ext$major'
12081 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12082 shlibpath_var
=LD_LIBRARY_PATH
12083 shlibpath_overrides_runpath
=no
12084 hardcode_into_libs
=yes
12087 irix5
* | irix6
* | nonstopux
*)
12089 nonstopux
*) version_type
=nonstopux
;;
12091 if test yes = "$lt_cv_prog_gnu_ld"; then
12092 version_type
=linux
# correct to gnu/linux during the next big refactor
12099 soname_spec
='$libname$release$shared_ext$major'
12100 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12102 irix5
* | nonstopux
*)
12103 libsuff
= shlibsuff
=
12106 case $LD in # libtool.m4 will add one of these switches to LD
12107 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12108 libsuff
= shlibsuff
= libmagic
=32-bit;;
12109 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12110 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12111 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12112 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12113 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
12117 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12118 shlibpath_overrides_runpath
=no
12119 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12120 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12121 hardcode_into_libs
=yes
12124 # No shared lib support for Linux oldld, aout, or coff.
12125 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12130 version_type
=none
# Android doesn't support versioned libraries.
12133 library_names_spec
='$libname$release$shared_ext'
12134 soname_spec
='$libname$release$shared_ext'
12136 shlibpath_var
=LD_LIBRARY_PATH
12137 shlibpath_overrides_runpath
=yes
12139 # This implies no fast_install, which is unacceptable.
12140 # Some rework will be needed to allow for fast_install
12141 # before this can be enabled.
12142 hardcode_into_libs
=yes
12144 dynamic_linker
='Android linker'
12145 # Don't embed -rpath directories since the linker doesn't support them.
12146 hardcode_libdir_flag_spec
='-L$libdir'
12149 # This must be glibc/ELF.
12150 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12151 version_type
=linux
# correct to gnu/linux during the next big refactor
12154 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12155 soname_spec
='$libname$release$shared_ext$major'
12156 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12157 shlibpath_var
=LD_LIBRARY_PATH
12158 shlibpath_overrides_runpath
=no
12160 # Some binutils ld are patched to set DT_RUNPATH
12161 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12162 $as_echo_n "(cached) " >&6
12164 lt_cv_shlibpath_overrides_runpath
=no
12165 save_LDFLAGS
=$LDFLAGS
12166 save_libdir
=$libdir
12167 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12168 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12180 if ac_fn_c_try_link
"$LINENO"; then :
12181 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
12182 lt_cv_shlibpath_overrides_runpath
=yes
12185 rm -f core conftest.err conftest.
$ac_objext \
12186 conftest
$ac_exeext conftest.
$ac_ext
12187 LDFLAGS
=$save_LDFLAGS
12188 libdir
=$save_libdir
12192 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12194 # This implies no fast_install, which is unacceptable.
12195 # Some rework will be needed to allow for fast_install
12196 # before this can be enabled.
12197 hardcode_into_libs
=yes
12199 # Ideally, we could use ldconfig to report *all* directores which are
12200 # searched for libraries, however this is still not possible. Aside from not
12201 # being certain /sbin/ldconfig is available, command
12202 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12203 # even though it is searched at run-time. Try to do the best guess by
12204 # appending ld.so.conf contents (and includes) to the search path.
12205 if test -f /etc
/ld.so.conf
; then
12206 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' ' '`
12207 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12210 # We used to test for /lib/ld.so.1 and disable shared libraries on
12211 # powerpc, because MkLinux only supported shared libraries with the
12212 # GNU dynamic linker. Since this was broken with cross compilers,
12213 # most powerpc-linux boxes support dynamic linking these days and
12214 # people can always --disable-shared, the test was removed, and we
12215 # assume the GNU/Linux dynamic linker is in use.
12216 dynamic_linker
='GNU/Linux ld.so'
12223 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12224 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12225 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12226 dynamic_linker
='NetBSD (a.out) ld.so'
12228 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12229 soname_spec
='$libname$release$shared_ext$major'
12230 dynamic_linker
='NetBSD ld.elf_so'
12232 shlibpath_var
=LD_LIBRARY_PATH
12233 shlibpath_overrides_runpath
=yes
12234 hardcode_into_libs
=yes
12238 version_type
=linux
# correct to gnu/linux during the next big refactor
12239 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12240 shlibpath_var
=LD_LIBRARY_PATH
12241 shlibpath_overrides_runpath
=yes
12248 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12249 soname_spec
='$libname$release$shared_ext$major'
12250 shlibpath_var
=LD_LIBRARY_PATH
12251 shlibpath_overrides_runpath
=no
12252 hardcode_into_libs
=yes
12253 dynamic_linker
='ldqnx.so'
12256 openbsd
* | bitrig
*)
12258 sys_lib_dlsearch_path_spec
=/usr
/lib
12260 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12265 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12266 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12267 shlibpath_var
=LD_LIBRARY_PATH
12268 shlibpath_overrides_runpath
=yes
12272 libname_spec
='$name'
12273 version_type
=windows
12277 # OS/2 can only load a DLL with a base name of 8 characters or less.
12278 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12279 v=$($ECHO $release$versuffix | tr -d .-);
12280 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12281 $ECHO $n$v`$shared_ext'
12282 library_names_spec
='${libname}_dll.$libext'
12283 dynamic_linker
='OS/2 ld.exe'
12284 shlibpath_var
=BEGINLIBPATH
12285 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12286 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12287 postinstall_cmds
='base_file=`basename \$file`~
12288 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12289 dldir=$destdir/`dirname \$dlpath`~
12290 test -d \$dldir || mkdir -p \$dldir~
12291 $install_prog $dir/$dlname \$dldir/$dlname~
12292 chmod a+x \$dldir/$dlname~
12293 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12294 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12296 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12297 dlpath=$dir/\$dldll~
12301 osf3
* | osf4
* | osf5
*)
12305 soname_spec
='$libname$release$shared_ext$major'
12306 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12307 shlibpath_var
=LD_LIBRARY_PATH
12308 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12309 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12317 version_type
=linux
# correct to gnu/linux during the next big refactor
12320 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12321 soname_spec
='$libname$release$shared_ext$major'
12322 shlibpath_var
=LD_LIBRARY_PATH
12323 shlibpath_overrides_runpath
=yes
12324 hardcode_into_libs
=yes
12325 # ldd complains unless libraries are executable
12326 postinstall_cmds
='chmod +x $lib'
12331 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12332 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12333 shlibpath_var
=LD_LIBRARY_PATH
12334 shlibpath_overrides_runpath
=yes
12335 if test yes = "$with_gnu_ld"; then
12342 version_type
=linux
# correct to gnu/linux during the next big refactor
12343 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12344 soname_spec
='$libname$release$shared_ext$major'
12345 shlibpath_var
=LD_LIBRARY_PATH
12346 case $host_vendor in
12348 shlibpath_overrides_runpath
=no
12350 runpath_var
=LD_RUN_PATH
12358 shlibpath_overrides_runpath
=no
12359 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12365 if test -d /usr
/nec
; then
12366 version_type
=linux
# correct to gnu/linux during the next big refactor
12367 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12368 soname_spec
='$libname$shared_ext.$major'
12369 shlibpath_var
=LD_LIBRARY_PATH
12373 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12377 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12378 soname_spec
='$libname$release$shared_ext$major'
12379 shlibpath_var
=LD_LIBRARY_PATH
12380 shlibpath_overrides_runpath
=yes
12381 hardcode_into_libs
=yes
12382 if test yes = "$with_gnu_ld"; then
12383 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12385 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12388 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12392 sys_lib_dlsearch_path_spec
='/usr/lib'
12396 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12397 version_type
=linux
# correct to gnu/linux during the next big refactor
12400 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12401 shlibpath_var
=LD_LIBRARY_PATH
12402 shlibpath_overrides_runpath
=no
12403 hardcode_into_libs
=yes
12407 version_type
=linux
# correct to gnu/linux during the next big refactor
12408 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12409 soname_spec
='$libname$release$shared_ext$major'
12410 shlibpath_var
=LD_LIBRARY_PATH
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12418 $as_echo "$dynamic_linker" >&6; }
12419 test no
= "$dynamic_linker" && can_build_shared
=no
12421 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12422 if test yes = "$GCC"; then
12423 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12426 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12427 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12430 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12431 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12434 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12435 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12437 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12438 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12440 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12441 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12540 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12542 if test -n "$hardcode_libdir_flag_spec" ||
12543 test -n "$runpath_var" ||
12544 test yes = "$hardcode_automatic"; then
12546 # We can hardcode non-existent directories.
12547 if test no
!= "$hardcode_direct" &&
12548 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12549 # have to relink, otherwise we might link with an installed library
12550 # when we should be linking with a yet-to-be-installed one
12551 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12552 test no
!= "$hardcode_minus_L"; then
12553 # Linking always hardcodes the temporary library directory.
12554 hardcode_action
=relink
12556 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12557 hardcode_action
=immediate
12560 # We cannot hardcode anything, or else we can only hardcode existing
12562 hardcode_action
=unsupported
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12565 $as_echo "$hardcode_action" >&6; }
12567 if test relink
= "$hardcode_action" ||
12568 test yes = "$inherit_rpath"; then
12569 # Fast installation is not supported
12570 enable_fast_install
=no
12571 elif test yes = "$shlibpath_overrides_runpath" ||
12572 test no
= "$enable_shared"; then
12573 # Fast installation is not necessary
12574 enable_fast_install
=needless
12582 if test yes != "$enable_dlopen"; then
12583 enable_dlopen
=unknown
12584 enable_dlopen_self
=unknown
12585 enable_dlopen_self_static
=unknown
12592 lt_cv_dlopen
=load_add_on
12594 lt_cv_dlopen_self
=yes
12597 mingw
* | pw32
* | cegcc
*)
12598 lt_cv_dlopen
=LoadLibrary
12603 lt_cv_dlopen
=dlopen
12608 # if libdl is installed we need to link against it
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12610 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12611 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12612 $as_echo_n "(cached) " >&6
12614 ac_check_lib_save_LIBS
=$LIBS
12616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12634 if ac_fn_c_try_link
"$LINENO"; then :
12635 ac_cv_lib_dl_dlopen
=yes
12637 ac_cv_lib_dl_dlopen
=no
12639 rm -f core conftest.err conftest.
$ac_objext \
12640 conftest
$ac_exeext conftest.
$ac_ext
12641 LIBS
=$ac_check_lib_save_LIBS
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12644 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12645 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12646 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12651 lt_cv_dlopen_self
=yes
12658 # Don't try to run any link tests for TPF. We know it's impossible
12659 # because TPF is a cross-compiler, and we know how we open DSOs.
12660 lt_cv_dlopen
=dlopen
12662 lt_cv_dlopen_self
=no
12666 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12667 if test "x$ac_cv_func_shl_load" = xyes
; then :
12668 lt_cv_dlopen
=shl_load
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12671 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12672 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12673 $as_echo_n "(cached) " >&6
12675 ac_check_lib_save_LIBS
=$LIBS
12677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12690 return shl_load ();
12695 if ac_fn_c_try_link
"$LINENO"; then :
12696 ac_cv_lib_dld_shl_load
=yes
12698 ac_cv_lib_dld_shl_load
=no
12700 rm -f core conftest.err conftest.
$ac_objext \
12701 conftest
$ac_exeext conftest.
$ac_ext
12702 LIBS
=$ac_check_lib_save_LIBS
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12705 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12706 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12707 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12709 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12710 if test "x$ac_cv_func_dlopen" = xyes
; then :
12711 lt_cv_dlopen
=dlopen
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12714 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12715 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12716 $as_echo_n "(cached) " >&6
12718 ac_check_lib_save_LIBS
=$LIBS
12720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 /* Override any GCC internal prototype to avoid an error.
12724 Use char because int might match the return type of a GCC
12725 builtin and then its argument prototype would still apply. */
12738 if ac_fn_c_try_link
"$LINENO"; then :
12739 ac_cv_lib_dl_dlopen
=yes
12741 ac_cv_lib_dl_dlopen
=no
12743 rm -f core conftest.err conftest.
$ac_objext \
12744 conftest
$ac_exeext conftest.
$ac_ext
12745 LIBS
=$ac_check_lib_save_LIBS
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12748 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12749 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12750 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12753 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12754 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12755 $as_echo_n "(cached) " >&6
12757 ac_check_lib_save_LIBS
=$LIBS
12758 LIBS
="-lsvld $LIBS"
12759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12762 /* Override any GCC internal prototype to avoid an error.
12763 Use char because int might match the return type of a GCC
12764 builtin and then its argument prototype would still apply. */
12777 if ac_fn_c_try_link
"$LINENO"; then :
12778 ac_cv_lib_svld_dlopen
=yes
12780 ac_cv_lib_svld_dlopen
=no
12782 rm -f core conftest.err conftest.
$ac_objext \
12783 conftest
$ac_exeext conftest.
$ac_ext
12784 LIBS
=$ac_check_lib_save_LIBS
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12787 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12788 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12789 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12792 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12793 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12794 $as_echo_n "(cached) " >&6
12796 ac_check_lib_save_LIBS
=$LIBS
12798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12811 return dld_link ();
12816 if ac_fn_c_try_link
"$LINENO"; then :
12817 ac_cv_lib_dld_dld_link
=yes
12819 ac_cv_lib_dld_dld_link
=no
12821 rm -f core conftest.err conftest.
$ac_objext \
12822 conftest
$ac_exeext conftest.
$ac_ext
12823 LIBS
=$ac_check_lib_save_LIBS
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12826 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12827 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12828 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12849 if test no
= "$lt_cv_dlopen"; then
12855 case $lt_cv_dlopen in
12857 save_CPPFLAGS
=$CPPFLAGS
12858 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12860 save_LDFLAGS
=$LDFLAGS
12861 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12864 LIBS
="$lt_cv_dlopen_libs $LIBS"
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12867 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12868 if ${lt_cv_dlopen_self+:} false
; then :
12869 $as_echo_n "(cached) " >&6
12871 if test yes = "$cross_compiling"; then :
12872 lt_cv_dlopen_self
=cross
12874 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12875 lt_status
=$lt_dlunknown
12876 cat > conftest.
$ac_ext <<_LT_EOF
12877 #line $LINENO "configure"
12878 #include "confdefs.h"
12887 # define LT_DLGLOBAL RTLD_GLOBAL
12890 # define LT_DLGLOBAL DL_GLOBAL
12892 # define LT_DLGLOBAL 0
12896 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12897 find out it does not work in some platform. */
12898 #ifndef LT_DLLAZY_OR_NOW
12900 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12903 # define LT_DLLAZY_OR_NOW DL_LAZY
12906 # define LT_DLLAZY_OR_NOW RTLD_NOW
12909 # define LT_DLLAZY_OR_NOW DL_NOW
12911 # define LT_DLLAZY_OR_NOW 0
12918 /* When -fvisibility=hidden is used, assume the code has been annotated
12919 correspondingly for the symbols needed. */
12920 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12921 int fnord () __attribute__((visibility("default")));
12924 int fnord () { return 42; }
12927 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12928 int status = $lt_dlunknown;
12932 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12935 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12936 else puts (dlerror ());
12938 /* dlclose (self); */
12946 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12947 (eval $ac_link) 2>&5
12949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12950 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12951 (.
/conftest
; exit; ) >&5 2>/dev
/null
12953 case x
$lt_status in
12954 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12955 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12956 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12959 # compilation failed
12960 lt_cv_dlopen_self
=no
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12968 $as_echo "$lt_cv_dlopen_self" >&6; }
12970 if test yes = "$lt_cv_dlopen_self"; then
12971 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12973 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12974 if ${lt_cv_dlopen_self_static+:} false
; then :
12975 $as_echo_n "(cached) " >&6
12977 if test yes = "$cross_compiling"; then :
12978 lt_cv_dlopen_self_static
=cross
12980 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12981 lt_status
=$lt_dlunknown
12982 cat > conftest.
$ac_ext <<_LT_EOF
12983 #line $LINENO "configure"
12984 #include "confdefs.h"
12993 # define LT_DLGLOBAL RTLD_GLOBAL
12996 # define LT_DLGLOBAL DL_GLOBAL
12998 # define LT_DLGLOBAL 0
13002 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13003 find out it does not work in some platform. */
13004 #ifndef LT_DLLAZY_OR_NOW
13006 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13009 # define LT_DLLAZY_OR_NOW DL_LAZY
13012 # define LT_DLLAZY_OR_NOW RTLD_NOW
13015 # define LT_DLLAZY_OR_NOW DL_NOW
13017 # define LT_DLLAZY_OR_NOW 0
13024 /* When -fvisibility=hidden is used, assume the code has been annotated
13025 correspondingly for the symbols needed. */
13026 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13027 int fnord () __attribute__((visibility("default")));
13030 int fnord () { return 42; }
13033 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13034 int status = $lt_dlunknown;
13038 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13041 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13042 else puts (dlerror ());
13044 /* dlclose (self); */
13052 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13053 (eval $ac_link) 2>&5
13055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13056 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13057 (.
/conftest
; exit; ) >&5 2>/dev
/null
13059 case x
$lt_status in
13060 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13061 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13062 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13065 # compilation failed
13066 lt_cv_dlopen_self_static
=no
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13074 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13077 CPPFLAGS
=$save_CPPFLAGS
13078 LDFLAGS
=$save_LDFLAGS
13083 case $lt_cv_dlopen_self in
13084 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13085 *) enable_dlopen_self
=unknown
;;
13088 case $lt_cv_dlopen_self_static in
13089 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13090 *) enable_dlopen_self_static
=unknown
;;
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13113 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13114 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
13115 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13116 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13118 $as_echo "yes" >&6; }
13120 # FIXME - insert some real tests, host_os isn't really good enough
13123 if test -n "$STRIP"; then
13124 striplib
="$STRIP -x"
13125 old_striplib
="$STRIP -S"
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13127 $as_echo "yes" >&6; }
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13130 $as_echo "no" >&6; }
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13135 $as_echo "no" >&6; }
13151 # Report what library types will actually be built
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13153 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13155 $as_echo "$can_build_shared" >&6; }
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13158 $as_echo_n "checking whether to build shared libraries... " >&6; }
13159 test no
= "$can_build_shared" && enable_shared
=no
13161 # On AIX, shared libraries and static libraries use the same namespace, and
13162 # are all built from PIC.
13165 test yes = "$enable_shared" && enable_static
=no
13166 if test -n "$RANLIB"; then
13167 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13168 postinstall_cmds
='$RANLIB $lib'
13173 if test ia64
!= "$host_cpu"; then
13174 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13175 yes,aix
,yes) ;; # shared object as lib.so file only
13176 yes,svr4
,*) ;; # shared object as lib.so archive member only
13177 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13183 $as_echo "$enable_shared" >&6; }
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13186 $as_echo_n "checking whether to build static libraries... " >&6; }
13187 # Make sure either enable_shared or enable_static is yes.
13188 test yes = "$enable_shared" || enable_static
=yes
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13190 $as_echo "$enable_static" >&6; }
13197 ac_cpp
='$CPP $CPPFLAGS'
13198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13204 if test -n "$CXX" && ( test no
!= "$CXX" &&
13205 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13206 (test g
++ != "$CXX"))); then
13208 ac_cpp
='$CXXCPP $CPPFLAGS'
13209 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13210 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13211 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13213 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13214 if test -z "$CXXCPP"; then
13215 if ${ac_cv_prog_CXXCPP+:} false
; then :
13216 $as_echo_n "(cached) " >&6
13218 # Double quotes because CXXCPP needs to be expanded
13219 for CXXCPP
in "$CXX -E" "/lib/cpp"
13221 ac_preproc_ok
=false
13222 for ac_cxx_preproc_warn_flag
in '' yes
13224 # Use a header file that comes with gcc, so configuring glibc
13225 # with a fresh cross-compiler works.
13226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13227 # <limits.h> exists even on freestanding compilers.
13228 # On the NeXT, cc -E runs the code through the compiler's parser,
13229 # not just through cpp. "Syntax error" is here to catch this case.
13230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13231 /* end confdefs.h. */
13233 # include <limits.h>
13235 # include <assert.h>
13239 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13242 # Broken: fails on valid input.
13245 rm -f conftest.err conftest.i conftest.
$ac_ext
13247 # OK, works on sane cases. Now check whether nonexistent headers
13248 # can be detected and how.
13249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13251 #include <ac_nonexistent.h>
13253 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13254 # Broken: success on invalid input.
13257 # Passes both tests.
13261 rm -f conftest.err conftest.i conftest.
$ac_ext
13264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13265 rm -f conftest.i conftest.err conftest.
$ac_ext
13266 if $ac_preproc_ok; then :
13271 ac_cv_prog_CXXCPP
=$CXXCPP
13274 CXXCPP
=$ac_cv_prog_CXXCPP
13276 ac_cv_prog_CXXCPP
=$CXXCPP
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13279 $as_echo "$CXXCPP" >&6; }
13280 ac_preproc_ok
=false
13281 for ac_cxx_preproc_warn_flag
in '' yes
13283 # Use a header file that comes with gcc, so configuring glibc
13284 # with a fresh cross-compiler works.
13285 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13286 # <limits.h> exists even on freestanding compilers.
13287 # On the NeXT, cc -E runs the code through the compiler's parser,
13288 # not just through cpp. "Syntax error" is here to catch this case.
13289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13292 # include <limits.h>
13294 # include <assert.h>
13298 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13301 # Broken: fails on valid input.
13304 rm -f conftest.err conftest.i conftest.
$ac_ext
13306 # OK, works on sane cases. Now check whether nonexistent headers
13307 # can be detected and how.
13308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13310 #include <ac_nonexistent.h>
13312 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13313 # Broken: success on invalid input.
13316 # Passes both tests.
13320 rm -f conftest.err conftest.i conftest.
$ac_ext
13323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13324 rm -f conftest.i conftest.err conftest.
$ac_ext
13325 if $ac_preproc_ok; then :
13328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13330 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13331 See \`config.log' for more details" "$LINENO" 5; }
13335 ac_cpp
='$CPP $CPPFLAGS'
13336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13341 _lt_caught_CXX_error
=yes
13345 ac_cpp
='$CXXCPP $CPPFLAGS'
13346 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13347 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13348 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13350 archive_cmds_need_lc_CXX
=no
13351 allow_undefined_flag_CXX
=
13352 always_export_symbols_CXX
=no
13353 archive_expsym_cmds_CXX
=
13354 compiler_needs_object_CXX
=no
13355 export_dynamic_flag_spec_CXX
=
13356 hardcode_direct_CXX
=no
13357 hardcode_direct_absolute_CXX
=no
13358 hardcode_libdir_flag_spec_CXX
=
13359 hardcode_libdir_separator_CXX
=
13360 hardcode_minus_L_CXX
=no
13361 hardcode_shlibpath_var_CXX
=unsupported
13362 hardcode_automatic_CXX
=no
13363 inherit_rpath_CXX
=no
13365 module_expsym_cmds_CXX
=
13366 link_all_deplibs_CXX
=unknown
13367 old_archive_cmds_CXX
=$old_archive_cmds
13368 reload_flag_CXX
=$reload_flag
13369 reload_cmds_CXX
=$reload_cmds
13370 no_undefined_flag_CXX
=
13371 whole_archive_flag_spec_CXX
=
13372 enable_shared_with_static_runtimes_CXX
=no
13374 # Source file extension for C++ test sources.
13377 # Object file extension for compiled C++ test sources.
13381 # No sense in running all these tests if we already determined that
13382 # the CXX compiler isn't working. Some variables (like enable_shared)
13383 # are currently assumed to apply to all compilers on this platform,
13384 # and will be corrupted by setting them based on a non-working compiler.
13385 if test yes != "$_lt_caught_CXX_error"; then
13386 # Code to be used in simple compile tests
13387 lt_simple_compile_test_code
="int some_variable = 0;"
13389 # Code to be used in simple link tests
13390 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13392 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13399 # If no C compiler was specified, use CC.
13402 # If no C compiler flags were specified, use CFLAGS.
13403 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13405 # Allow CC to be a program name with arguments.
13409 # save warnings/boilerplate of simple test code
13410 ac_outfile
=conftest.
$ac_objext
13411 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13412 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13413 _lt_compiler_boilerplate
=`cat conftest.err`
13416 ac_outfile
=conftest.
$ac_objext
13417 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13418 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13419 _lt_linker_boilerplate
=`cat conftest.err`
13423 # Allow CC to be a program name with arguments.
13425 lt_save_CFLAGS
=$CFLAGS
13429 lt_save_with_gnu_ld
=$with_gnu_ld
13430 lt_save_path_LD
=$lt_cv_path_LD
13431 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13432 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13434 $as_unset lt_cv_prog_gnu_ld
13436 if test -n "${lt_cv_path_LDCXX+set}"; then
13437 lt_cv_path_LD
=$lt_cv_path_LDCXX
13439 $as_unset lt_cv_path_LD
13441 test -z "${LDCXX+set}" || LD
=$LDCXX
13446 func_cc_basename
$compiler
13447 cc_basename
=$func_cc_basename_result
13450 if test -n "$compiler"; then
13451 # We don't want -fno-exception when compiling C++ code, so set the
13452 # no_builtin_flag separately
13453 if test yes = "$GXX"; then
13454 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13456 lt_prog_compiler_no_builtin_flag_CXX
=
13459 if test yes = "$GXX"; then
13460 # Set up default GNU C++ configuration
13464 # Check whether --with-gnu-ld was given.
13465 if test "${with_gnu_ld+set}" = set; then :
13466 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
13472 if test yes = "$GCC"; then
13473 # Check if gcc -print-prog-name=ld gives a path.
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13475 $as_echo_n "checking for ld used by $CC... " >&6; }
13478 # gcc leaves a trailing carriage return, which upsets mingw
13479 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13481 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13484 # Accept absolute paths.
13486 re_direlt
='/[^/][^/]*/\.\./'
13487 # Canonicalize the pathname of ld
13488 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13489 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13490 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13492 test -z "$LD" && LD
=$ac_prog
13495 # If it fails, then pretend we aren't using GCC.
13499 # If it is relative, then search for the first ld in PATH.
13500 with_gnu_ld
=unknown
13503 elif test yes = "$with_gnu_ld"; then
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13505 $as_echo_n "checking for GNU ld... " >&6; }
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13508 $as_echo_n "checking for non-GNU ld... " >&6; }
13510 if ${lt_cv_path_LD+:} false
; then :
13511 $as_echo_n "(cached) " >&6
13513 if test -z "$LD"; then
13514 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
13515 for ac_dir
in $PATH; do
13517 test -z "$ac_dir" && ac_dir
=.
13518 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13519 lt_cv_path_LD
=$ac_dir/$ac_prog
13520 # Check to see if the program is GNU ld. I'd rather use --version,
13521 # but apparently some variants of GNU ld only accept -v.
13522 # Break only if it was the GNU/non-GNU ld that we prefer.
13523 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13524 *GNU
* | *'with BFD'*)
13525 test no
!= "$with_gnu_ld" && break
13528 test yes != "$with_gnu_ld" && break
13535 lt_cv_path_LD
=$LD # Let the user override the test with a path.
13540 if test -n "$LD"; then
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13542 $as_echo "$LD" >&6; }
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13545 $as_echo "no" >&6; }
13547 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13549 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13550 if ${lt_cv_prog_gnu_ld+:} false
; then :
13551 $as_echo_n "(cached) " >&6
13553 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13554 case `$LD -v 2>&1 </dev/null` in
13555 *GNU
* | *'with BFD'*)
13556 lt_cv_prog_gnu_ld
=yes
13559 lt_cv_prog_gnu_ld
=no
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13564 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13565 with_gnu_ld
=$lt_cv_prog_gnu_ld
13573 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13574 # archiving commands below assume that GNU ld is being used.
13575 if test yes = "$with_gnu_ld"; then
13576 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13577 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'
13579 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
13580 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13582 # If archive_cmds runs LD, not CC, wlarc should be empty
13583 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13584 # investigate it a little bit more. (MM)
13587 # ancient GNU ld didn't support --whole-archive et. al.
13588 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13589 $GREP 'no-whole-archive' > /dev
/null
; then
13590 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13592 whole_archive_flag_spec_CXX
=
13598 # A generic and very simple default shared library creation
13599 # command for GNU C++ for the case where it uses the native
13600 # linker, instead of GNU ld. If possible, this setting should
13601 # overridden to take advantage of the native linker features on
13602 # the platform it is being used on.
13603 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13606 # Commands to make compiler produce verbose output that lists
13607 # what "hidden" libraries, object files and flags are used when
13608 # linking a shared library.
13609 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13617 # PORTME: fill in a description of your system's C++ link characteristics
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13619 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13623 # FIXME: insert proper C++ library support
13627 if test ia64
= "$host_cpu"; then
13628 # On IA64, the linker does run time linking by default, so we don't
13629 # have to do anything special.
13630 aix_use_runtimelinking
=no
13631 exp_sym_flag
='-Bexport'
13634 aix_use_runtimelinking
=no
13636 # Test if we are trying to use run time linking or normal
13637 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13638 # have runtime linking enabled, and use it for executables.
13639 # For shared libraries, we enable/disable runtime linking
13640 # depending on the kind of the shared library created -
13641 # when "with_aix_soname,aix_use_runtimelinking" is:
13642 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13643 # "aix,yes" lib.so shared, rtl:yes, for executables
13644 # lib.a static archive
13645 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13646 # lib.a(lib.so.V) shared, rtl:no, for executables
13647 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13648 # lib.a(lib.so.V) shared, rtl:no
13649 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13650 # lib.a static archive
13651 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13652 for ld_flag
in $LDFLAGS; do
13655 aix_use_runtimelinking
=yes
13660 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
13661 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13662 # so we don't have lib.a shared libs to link our executables.
13663 # We have to force runtime linking in this case.
13664 aix_use_runtimelinking
=yes
13665 LDFLAGS
="$LDFLAGS -Wl,-brtl"
13670 exp_sym_flag
='-bexport'
13671 no_entry_flag
='-bnoentry'
13674 # When large executables or shared objects are built, AIX ld can
13675 # have problems creating the table of contents. If linking a library
13676 # or program results in "error TOC overflow" add -mminimal-toc to
13677 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13678 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13680 archive_cmds_CXX
=''
13681 hardcode_direct_CXX
=yes
13682 hardcode_direct_absolute_CXX
=yes
13683 hardcode_libdir_separator_CXX
=':'
13684 link_all_deplibs_CXX
=yes
13685 file_list_spec_CXX
='$wl-f,'
13686 case $with_aix_soname,$aix_use_runtimelinking in
13687 aix
,*) ;; # no import file
13688 svr4
,* | *,yes) # use import file
13689 # The Import File defines what to hardcode.
13690 hardcode_direct_CXX
=no
13691 hardcode_direct_absolute_CXX
=no
13695 if test yes = "$GXX"; then
13696 case $host_os in aix4.
[012]|aix4.
[012].
*)
13697 # We only want to do this on AIX 4.2 and lower, the check
13698 # below for broken collect2 doesn't work under 4.3+
13699 collect2name
=`$CC -print-prog-name=collect2`
13700 if test -f "$collect2name" &&
13701 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13703 # We have reworked collect2
13706 # We have old collect2
13707 hardcode_direct_CXX
=unsupported
13708 # It fails to find uninstalled libraries when the uninstalled
13709 # path is not listed in the libpath. Setting hardcode_minus_L
13710 # to unsupported forces relinking
13711 hardcode_minus_L_CXX
=yes
13712 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13713 hardcode_libdir_separator_CXX
=
13716 shared_flag
='-shared'
13717 if test yes = "$aix_use_runtimelinking"; then
13718 shared_flag
=$shared_flag' $wl-G'
13720 # Need to ensure runtime linking is disabled for the traditional
13721 # shared library, or the linker may eventually find shared libraries
13722 # /with/ Import File - we do not want to mix them.
13723 shared_flag_aix
='-shared'
13724 shared_flag_svr4
='-shared $wl-G'
13727 if test ia64
= "$host_cpu"; then
13728 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13729 # chokes on -Wl,-G. The following line is correct:
13732 if test yes = "$aix_use_runtimelinking"; then
13733 shared_flag
='$wl-G'
13735 shared_flag
='$wl-bM:SRE'
13737 shared_flag_aix
='$wl-bM:SRE'
13738 shared_flag_svr4
='$wl-G'
13742 export_dynamic_flag_spec_CXX
='$wl-bexpall'
13743 # It seems that -bexpall does not export symbols beginning with
13744 # underscore (_), so it is better to generate a list of symbols to
13746 always_export_symbols_CXX
=yes
13747 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13748 # Warning - without using the other runtime loading flags (-brtl),
13749 # -berok will link without error, but may produce a broken library.
13750 # The "-G" linker flag allows undefined symbols.
13751 no_undefined_flag_CXX
='-bernotok'
13752 # Determine the default libpath from the value encoded in an empty
13754 if test set = "${lt_cv_aix_libpath+set}"; then
13755 aix_libpath
=$lt_cv_aix_libpath
13757 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13758 $as_echo_n "(cached) " >&6
13760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13771 if ac_fn_cxx_try_link
"$LINENO"; then :
13773 lt_aix_libpath_sed
='
13774 /Import File Strings/,/^$/ {
13776 s/^0 *\([^ ]*\) *$/\1/
13780 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13781 # Check for a 64-bit object if we didn't find anything.
13782 if test -z "$lt_cv_aix_libpath__CXX"; then
13783 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13786 rm -f core conftest.err conftest.
$ac_objext \
13787 conftest
$ac_exeext conftest.
$ac_ext
13788 if test -z "$lt_cv_aix_libpath__CXX"; then
13789 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13794 aix_libpath
=$lt_cv_aix_libpath__CXX
13797 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13799 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
13801 if test ia64
= "$host_cpu"; then
13802 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
13803 allow_undefined_flag_CXX
="-z nodefs"
13804 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"
13806 # Determine the default libpath from the value encoded in an
13807 # empty executable.
13808 if test set = "${lt_cv_aix_libpath+set}"; then
13809 aix_libpath
=$lt_cv_aix_libpath
13811 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13812 $as_echo_n "(cached) " >&6
13814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13825 if ac_fn_cxx_try_link
"$LINENO"; then :
13827 lt_aix_libpath_sed
='
13828 /Import File Strings/,/^$/ {
13830 s/^0 *\([^ ]*\) *$/\1/
13834 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13835 # Check for a 64-bit object if we didn't find anything.
13836 if test -z "$lt_cv_aix_libpath__CXX"; then
13837 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13840 rm -f core conftest.err conftest.
$ac_objext \
13841 conftest
$ac_exeext conftest.
$ac_ext
13842 if test -z "$lt_cv_aix_libpath__CXX"; then
13843 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13848 aix_libpath
=$lt_cv_aix_libpath__CXX
13851 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13852 # Warning - without using the other run time loading flags,
13853 # -berok will link without error, but may produce a broken library.
13854 no_undefined_flag_CXX
=' $wl-bernotok'
13855 allow_undefined_flag_CXX
=' $wl-berok'
13856 if test yes = "$with_gnu_ld"; then
13857 # We only use this code for GNU lds that support --whole-archive.
13858 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
13860 # Exported symbols can be pulled into shared objects from archives
13861 whole_archive_flag_spec_CXX
='$convenience'
13863 archive_cmds_need_lc_CXX
=yes
13864 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13865 # -brtl affects multiple linker settings, -berok does not and is overridden later
13866 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13867 if test svr4
!= "$with_aix_soname"; then
13868 # This is similar to how AIX traditionally builds its shared
13869 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13870 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13872 if test aix
!= "$with_aix_soname"; then
13873 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13875 # used by -dlpreopen to get the symbols
13876 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13878 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13884 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13885 allow_undefined_flag_CXX
=unsupported
13886 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13887 # support --undefined. This deserves some investigation. FIXME
13888 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13895 case $cc_basename in
13897 # FIXME: insert proper C++ library support
13903 cygwin
* | mingw
* | pw32
* | cegcc
*)
13904 case $GXX,$cc_basename in
13907 # hardcode_libdir_flag_spec is actually meaningless, as there is
13908 # no search path for DLLs.
13909 hardcode_libdir_flag_spec_CXX
=' '
13910 allow_undefined_flag_CXX
=unsupported
13911 always_export_symbols_CXX
=yes
13912 file_list_spec_CXX
='@'
13913 # Tell ltmain to make .lib files, not .a files.
13915 # Tell ltmain to make .dll files, not .so files.
13917 # FIXME: Setting linknames here is a bad hack.
13918 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13919 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13920 cp "$export_symbols" "$output_objdir/$soname.def";
13921 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13923 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13925 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13927 # The linker will not automatically build a static lib if we build a DLL.
13928 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13929 enable_shared_with_static_runtimes_CXX
=yes
13931 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13932 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13933 lt_tool_outputfile="@TOOL_OUTPUT@"~
13934 case $lt_outputfile in
13937 lt_outputfile=$lt_outputfile.exe
13938 lt_tool_outputfile=$lt_tool_outputfile.exe
13941 func_to_tool_file "$lt_outputfile"~
13942 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13943 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13944 $RM "$lt_outputfile.manifest";
13949 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13950 # as there is no search path for DLLs.
13951 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13952 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
13953 allow_undefined_flag_CXX
=unsupported
13954 always_export_symbols_CXX
=no
13955 enable_shared_with_static_runtimes_CXX
=yes
13957 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13958 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'
13959 # If the export-symbols file already is a .def file, use it as
13960 # is; otherwise, prepend EXPORTS...
13961 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13962 cp $export_symbols $output_objdir/$soname.def;
13964 echo EXPORTS > $output_objdir/$soname.def;
13965 cat $export_symbols >> $output_objdir/$soname.def;
13967 $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'
13974 darwin
* | rhapsody
*)
13977 archive_cmds_need_lc_CXX
=no
13978 hardcode_direct_CXX
=no
13979 hardcode_automatic_CXX
=yes
13980 hardcode_shlibpath_var_CXX
=unsupported
13981 if test yes = "$lt_cv_ld_force_load"; then
13982 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\"`'
13985 whole_archive_flag_spec_CXX
=''
13987 link_all_deplibs_CXX
=yes
13988 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
13989 case $cc_basename in
13990 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
13991 *) _lt_dar_can_shared
=$GCC ;;
13993 if test yes = "$_lt_dar_can_shared"; then
13994 output_verbose_link_cmd
=func_echo_all
13995 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"
13996 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13997 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"
13998 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"
13999 if test yes != "$lt_cv_apple_cc_single_mod"; then
14000 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"
14001 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"
14011 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14012 hardcode_minus_L_CXX
=yes
14013 allow_undefined_flag_CXX
=unsupported
14015 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14016 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14017 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14018 $ECHO EXPORTS >> $output_objdir/$libname.def~
14019 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14020 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14021 emximp -o $lib $output_objdir/$libname.def'
14022 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14023 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14024 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14025 $ECHO EXPORTS >> $output_objdir/$libname.def~
14026 prefix_cmds="$SED"~
14027 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14028 prefix_cmds="$prefix_cmds -e 1d";
14030 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14031 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14032 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14033 emximp -o $lib $output_objdir/$libname.def'
14034 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14035 enable_shared_with_static_runtimes_CXX
=yes
14039 case $cc_basename in
14041 # FIXME: insert proper C++ library support
14045 # Green Hills C++ Compiler
14046 # FIXME: insert proper C++ library support
14050 # FIXME: insert proper C++ library support
14057 # C++ shared libraries reported to be fairly broken before
14063 archive_cmds_need_lc_CXX
=no
14066 freebsd
* | dragonfly
*)
14067 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14073 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14074 link_all_deplibs_CXX
=yes
14078 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14079 hardcode_libdir_separator_CXX
=:
14080 export_dynamic_flag_spec_CXX
='$wl-E'
14081 hardcode_direct_CXX
=yes
14082 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14083 # but as the default
14084 # location of the library.
14086 case $cc_basename in
14088 # FIXME: insert proper C++ library support
14092 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14093 # Commands to make compiler produce verbose output that lists
14094 # what "hidden" libraries, object files and flags are used when
14095 # linking a shared library.
14097 # There doesn't appear to be a way to prevent this compiler from
14098 # explicitly linking system object files so we need to strip them
14099 # from the output so that they don't get included in the library
14101 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"'
14104 if test yes = "$GXX"; then
14105 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14107 # FIXME: insert proper C++ library support
14115 if test no
= "$with_gnu_ld"; then
14116 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14117 hardcode_libdir_separator_CXX
=:
14123 export_dynamic_flag_spec_CXX
='$wl-E'
14129 hardcode_direct_CXX
=no
14130 hardcode_shlibpath_var_CXX
=no
14133 hardcode_direct_CXX
=yes
14134 hardcode_direct_absolute_CXX
=yes
14135 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14136 # but as the default
14137 # location of the library.
14141 case $cc_basename in
14143 # FIXME: insert proper C++ library support
14149 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14152 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14155 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14158 # Commands to make compiler produce verbose output that lists
14159 # what "hidden" libraries, object files and flags are used when
14160 # linking a shared library.
14162 # There doesn't appear to be a way to prevent this compiler from
14163 # explicitly linking system object files so we need to strip them
14164 # from the output so that they don't get included in the library
14166 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"'
14169 if test yes = "$GXX"; then
14170 if test no
= "$with_gnu_ld"; then
14173 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14176 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14179 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'
14184 # FIXME: insert proper C++ library support
14192 hardcode_direct_CXX
=no
14193 hardcode_shlibpath_var_CXX
=no
14194 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14195 export_dynamic_flag_spec_CXX
='$wl-E'
14196 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14197 # Instead, shared libraries are loaded at an image base (0x10000000 by
14198 # default) and relocated if they conflict, which is a slow very memory
14199 # consuming and fragmenting process. To avoid this, we pick a random,
14200 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14201 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14202 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'
14203 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'
14206 case $cc_basename in
14209 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'
14211 # Archives containing C++ object files must be created using
14212 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14213 # necessary to make sure instantiated templates are included
14215 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14218 if test yes = "$GXX"; then
14219 if test no
= "$with_gnu_ld"; then
14220 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'
14222 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'
14225 link_all_deplibs_CXX
=yes
14228 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14229 hardcode_libdir_separator_CXX
=:
14230 inherit_rpath_CXX
=yes
14233 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14234 case $cc_basename in
14236 # Kuck and Associates, Inc. (KAI) C++ Compiler
14238 # KCC will only create a shared library if the output file
14239 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14240 # to its proper name (with version) after linking.
14241 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'
14242 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'
14243 # Commands to make compiler produce verbose output that lists
14244 # what "hidden" libraries, object files and flags are used when
14245 # linking a shared library.
14247 # There doesn't appear to be a way to prevent this compiler from
14248 # explicitly linking system object files so we need to strip them
14249 # from the output so that they don't get included in the library
14251 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"'
14253 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14254 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14256 # Archives containing C++ object files must be created using
14257 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14258 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14263 # version 8.0 and above of icpc choke on multiply defined symbols
14264 # if we add $predep_objects and $postdep_objects, however 7.1 and
14265 # earlier do not add the objects themselves.
14266 case `$CC -V 2>&1` in
14268 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14269 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'
14271 *) # Version 8.0 or newer
14274 ia64
*) tmp_idyn
=' -i_dynamic';;
14276 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14277 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'
14280 archive_cmds_need_lc_CXX
=no
14281 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14282 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14283 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14286 # Portland Group C++ compiler
14288 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
14289 prelink_cmds_CXX
='tpldir=Template.dir~
14291 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14292 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14293 old_archive_cmds_CXX
='tpldir=Template.dir~
14295 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14296 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14298 archive_cmds_CXX
='tpldir=Template.dir~
14300 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14301 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14302 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14304 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14305 $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'
14307 *) # Version 6 and above use weak symbols
14308 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14309 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'
14313 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
14314 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14315 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'
14319 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14320 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'
14322 runpath_var
=LD_RUN_PATH
14323 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14324 hardcode_libdir_separator_CXX
=:
14326 # Commands to make compiler produce verbose output that lists
14327 # what "hidden" libraries, object files and flags are used when
14328 # linking a shared library.
14330 # There doesn't appear to be a way to prevent this compiler from
14331 # explicitly linking system object files so we need to strip them
14332 # from the output so that they don't get included in the library
14334 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'
14336 xl
* | mpixl
* | bgxl
*)
14337 # IBM XL 8.0 on PPC, with GNU ld
14338 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14339 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14340 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14341 if test yes = "$supports_anon_versioning"; then
14342 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14343 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14344 echo "local: *; };" >> $output_objdir/$libname.ver~
14345 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14349 case `$CC -V 2>&1 | sed 5q` in
14352 no_undefined_flag_CXX
=' -zdefs'
14353 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14354 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'
14355 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14356 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'
14357 compiler_needs_object_CXX
=yes
14359 # Not sure whether something based on
14360 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14362 output_verbose_link_cmd
='func_echo_all'
14364 # Archives containing C++ object files must be created using
14365 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14366 # necessary to make sure instantiated templates are included
14368 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14376 # FIXME: insert proper C++ library support
14381 # FIXME: insert proper C++ library support
14386 case $cc_basename in
14388 # FIXME: insert proper C++ library support
14392 # FIXME: insert proper C++ library support
14399 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14400 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14402 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14403 hardcode_direct_CXX
=yes
14404 hardcode_shlibpath_var_CXX
=no
14406 # Workaround some broken pre-1.5 toolchains
14407 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14414 openbsd
* | bitrig
*)
14415 if test -f /usr
/libexec
/ld.so
; then
14416 hardcode_direct_CXX
=yes
14417 hardcode_shlibpath_var_CXX
=no
14418 hardcode_direct_absolute_CXX
=yes
14419 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14420 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14421 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14422 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14423 export_dynamic_flag_spec_CXX
='$wl-E'
14424 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14426 output_verbose_link_cmd
=func_echo_all
14432 osf3
* | osf4
* | osf5
*)
14433 case $cc_basename in
14435 # Kuck and Associates, Inc. (KAI) C++ Compiler
14437 # KCC will only create a shared library if the output file
14438 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14439 # to its proper name (with version) after linking.
14440 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'
14442 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14443 hardcode_libdir_separator_CXX
=:
14445 # Archives containing C++ object files must be created using
14446 # the KAI C++ compiler.
14448 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14449 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14453 # Rational C++ 2.4.1
14454 # FIXME: insert proper C++ library support
14460 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14461 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'
14462 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14465 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14466 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'
14467 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14468 echo "-hidden">> $lib.exp~
14469 $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~
14471 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14475 hardcode_libdir_separator_CXX
=:
14477 # Commands to make compiler produce verbose output that lists
14478 # what "hidden" libraries, object files and flags are used when
14479 # linking a shared library.
14481 # There doesn't appear to be a way to prevent this compiler from
14482 # explicitly linking system object files so we need to strip them
14483 # from the output so that they don't get included in the library
14485 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"'
14488 if test yes,no
= "$GXX,$with_gnu_ld"; then
14489 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14492 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'
14495 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'
14499 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14500 hardcode_libdir_separator_CXX
=:
14502 # Commands to make compiler produce verbose output that lists
14503 # what "hidden" libraries, object files and flags are used when
14504 # linking a shared library.
14505 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14508 # FIXME: insert proper C++ library support
14516 # FIXME: insert proper C++ library support
14521 case $cc_basename in
14524 # FIXME: insert proper C++ library support
14529 # FIXME: insert proper C++ library support
14533 # FIXME: insert proper C++ library support
14540 case $cc_basename in
14542 # Sun C++ 4.2, 5.x and Centerline C++
14543 archive_cmds_need_lc_CXX
=yes
14544 no_undefined_flag_CXX
=' -zdefs'
14545 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14546 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14547 $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'
14549 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14550 hardcode_shlibpath_var_CXX
=no
14552 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14554 # The compiler driver will combine and reorder linker options,
14555 # but understands '-z linker_flag'.
14556 # Supported since Solaris 2.6 (maybe 2.5.1?)
14557 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14560 link_all_deplibs_CXX
=yes
14562 output_verbose_link_cmd
='func_echo_all'
14564 # Archives containing C++ object files must be created using
14565 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14566 # necessary to make sure instantiated templates are included
14568 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14571 # Green Hills C++ Compiler
14572 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14574 # The C++ compiler must be used to create the archive.
14575 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14578 # GNU C++ compiler with Solaris linker
14579 if test yes,no
= "$GXX,$with_gnu_ld"; then
14580 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
14581 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14582 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14583 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14584 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14586 # Commands to make compiler produce verbose output that lists
14587 # what "hidden" libraries, object files and flags are used when
14588 # linking a shared library.
14589 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14591 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14593 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14594 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14595 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14597 # Commands to make compiler produce verbose output that lists
14598 # what "hidden" libraries, object files and flags are used when
14599 # linking a shared library.
14600 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14603 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
14605 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14607 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14615 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14616 no_undefined_flag_CXX
='$wl-z,text'
14617 archive_cmds_need_lc_CXX
=no
14618 hardcode_shlibpath_var_CXX
=no
14619 runpath_var
='LD_RUN_PATH'
14621 case $cc_basename in
14623 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14624 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14627 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14628 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14633 sysv5
* | sco3.2v5
* | sco5v6
*)
14634 # Note: We CANNOT use -z defs as we might desire, because we do not
14635 # link with -lc, and that would cause any symbols used from libc to
14636 # always be unresolved, which means just about no library would
14637 # ever link correctly. If we're not using GNU ld we use -z text
14638 # though, which does catch some bad symbols but isn't as heavy-handed
14640 no_undefined_flag_CXX
='$wl-z,text'
14641 allow_undefined_flag_CXX
='$wl-z,nodefs'
14642 archive_cmds_need_lc_CXX
=no
14643 hardcode_shlibpath_var_CXX
=no
14644 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
14645 hardcode_libdir_separator_CXX
=':'
14646 link_all_deplibs_CXX
=yes
14647 export_dynamic_flag_spec_CXX
='$wl-Bexport'
14648 runpath_var
='LD_RUN_PATH'
14650 case $cc_basename in
14652 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14653 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14654 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14655 '"$old_archive_cmds_CXX"
14656 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14657 '"$reload_cmds_CXX"
14660 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14661 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14667 case $cc_basename in
14669 # NonStop-UX NCC 3.20
14670 # FIXME: insert proper C++ library support
14674 # FIXME: insert proper C++ library support
14681 # FIXME: insert proper C++ library support
14686 # FIXME: insert proper C++ library support
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14692 $as_echo "$ld_shlibs_CXX" >&6; }
14693 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
14699 ## There is no encapsulation within the following macros, do not change
14700 ## the running order or otherwise move them around unless you know exactly
14701 ## what you are doing...
14702 # Dependencies to place before and after the object being linked:
14703 predep_objects_CXX
=
14704 postdep_objects_CXX
=
14707 compiler_lib_search_path_CXX
=
14709 cat > conftest.
$ac_ext <<_LT_EOF
14713 Foo (void) { a = 0; }
14720 _lt_libdeps_save_CFLAGS
=$CFLAGS
14721 case "$CC $CFLAGS " in #(
14722 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14723 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14724 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14728 (eval $ac_compile) 2>&5
14730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14731 test $ac_status = 0; }; then
14732 # Parse the compiler output and extract the necessary
14733 # objects, libraries and library flags.
14735 # Sentinel used to keep track of whether or not we are before
14736 # the conftest object file.
14737 pre_test_object_deps_done
=no
14739 for p
in `eval "$output_verbose_link_cmd"`; do
14743 # Some compilers place space between "-{L,R}" and the path.
14744 # Remove the space.
14745 if test x
-L = "$p" ||
14746 test x
-R = "$p"; then
14751 # Expand the sysroot to ease extracting the directories later.
14752 if test -z "$prev"; then
14754 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14755 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14756 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14760 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14762 if test no
= "$pre_test_object_deps_done"; then
14765 # Internal compiler library paths should come after those
14766 # provided the user. The postdeps already come after the
14767 # user supplied libs so there is no need to process them.
14768 if test -z "$compiler_lib_search_path_CXX"; then
14769 compiler_lib_search_path_CXX
=$prev$p
14771 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
14774 # The "-l" case would never come before the object being
14775 # linked, so don't bother handling this case.
14778 if test -z "$postdeps_CXX"; then
14779 postdeps_CXX
=$prev$p
14781 postdeps_CXX
="${postdeps_CXX} $prev$p"
14787 *.lto.
$objext) ;; # Ignore GCC LTO objects
14789 # This assumes that the test object file only shows up
14790 # once in the compiler output.
14791 if test "$p" = "conftest.$objext"; then
14792 pre_test_object_deps_done
=yes
14796 if test no
= "$pre_test_object_deps_done"; then
14797 if test -z "$predep_objects_CXX"; then
14798 predep_objects_CXX
=$p
14800 predep_objects_CXX
="$predep_objects_CXX $p"
14803 if test -z "$postdep_objects_CXX"; then
14804 postdep_objects_CXX
=$p
14806 postdep_objects_CXX
="$postdep_objects_CXX $p"
14811 *) ;; # Ignore the rest.
14819 echo "libtool.m4: error: problem compiling CXX test program"
14822 $RM -f confest.
$objext
14823 CFLAGS
=$_lt_libdeps_save_CFLAGS
14825 # PORTME: override above test on systems where it is broken
14828 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14829 # hack all around it, let's just trust "g++" to DTRT.
14830 predep_objects_CXX
=
14831 postdep_objects_CXX
=
14837 case " $postdeps_CXX " in
14838 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14840 compiler_lib_search_dirs_CXX
=
14841 if test -n "${compiler_lib_search_path_CXX}"; then
14842 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14875 lt_prog_compiler_wl_CXX
=
14876 lt_prog_compiler_pic_CXX
=
14877 lt_prog_compiler_static_CXX
=
14880 # C++ specific cases for pic, static, wl, etc.
14881 if test yes = "$GXX"; then
14882 lt_prog_compiler_wl_CXX
='-Wl,'
14883 lt_prog_compiler_static_CXX
='-static'
14887 # All AIX code is PIC.
14888 if test ia64
= "$host_cpu"; then
14889 # AIX 5 now supports IA64 processor
14890 lt_prog_compiler_static_CXX
='-Bstatic'
14892 lt_prog_compiler_pic_CXX
='-fPIC'
14898 # see comment about AmigaOS4 .so support
14899 lt_prog_compiler_pic_CXX
='-fPIC'
14902 # FIXME: we need at least 68020 code to build shared libraries, but
14903 # adding the '-m68020' flag to GCC prevents building anything better,
14905 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14910 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14911 # PIC is the default for these OSes.
14913 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14914 # This hack is so that the source file can tell whether it is being
14915 # built for inclusion in a dll (and should export symbols for example).
14916 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14917 # (--disable-auto-import) libraries
14918 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14921 lt_prog_compiler_static_CXX
='$wl-static'
14925 darwin
* | rhapsody
*)
14926 # PIC is the default on this platform
14927 # Common symbols not allowed in MH_DYLIB files
14928 lt_prog_compiler_pic_CXX
='-fno-common'
14931 # DJGPP does not support shared libraries at all
14932 lt_prog_compiler_pic_CXX
=
14935 # PIC is the default for Haiku.
14936 # The "-static" flag exists, but is broken.
14937 lt_prog_compiler_static_CXX
=
14940 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14941 # Instead, we relocate shared libraries at runtime.
14944 if test -d /usr
/nec
; then
14945 lt_prog_compiler_pic_CXX
=-Kconform_pic
14949 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14950 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14951 # sets the default TLS model and affects inlining.
14956 lt_prog_compiler_pic_CXX
='-fPIC'
14961 # QNX uses GNU C++, but need to define -shared option too, otherwise
14962 # it will coredump.
14963 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14966 lt_prog_compiler_pic_CXX
='-fPIC'
14972 # All AIX code is PIC.
14973 if test ia64
= "$host_cpu"; then
14974 # AIX 5 now supports IA64 processor
14975 lt_prog_compiler_static_CXX
='-Bstatic'
14977 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14981 case $cc_basename in
14983 # Green Hills C++ Compiler
14984 # _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"
14988 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14989 # This hack is so that the source file can tell whether it is being
14990 # built for inclusion in a dll (and should export symbols for example).
14991 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14994 case $cc_basename in
14996 lt_prog_compiler_pic_CXX
='-KPIC'
14999 # Green Hills C++ Compiler
15000 lt_prog_compiler_pic_CXX
='-pic'
15006 freebsd
* | dragonfly
*)
15007 # FreeBSD uses GNU C++
15009 hpux9
* | hpux10
* | hpux11
*)
15010 case $cc_basename in
15012 lt_prog_compiler_wl_CXX
='-Wl,'
15013 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15014 if test ia64
!= "$host_cpu"; then
15015 lt_prog_compiler_pic_CXX
='+Z'
15019 lt_prog_compiler_wl_CXX
='-Wl,'
15020 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15026 lt_prog_compiler_pic_CXX
='+Z'
15035 # This is c89, which is MS Visual C++ (no shared libs)
15036 # Anyone wants to do a port?
15038 irix5
* | irix6
* | nonstopux
*)
15039 case $cc_basename in
15041 lt_prog_compiler_wl_CXX
='-Wl,'
15042 lt_prog_compiler_static_CXX
='-non_shared'
15043 # CC pic flag -KPIC is the default.
15049 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15050 case $cc_basename in
15053 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15054 lt_prog_compiler_pic_CXX
='-fPIC'
15057 # old Intel C++ for x86_64, which still supported -KPIC.
15058 lt_prog_compiler_wl_CXX
='-Wl,'
15059 lt_prog_compiler_pic_CXX
='-KPIC'
15060 lt_prog_compiler_static_CXX
='-static'
15063 # Intel C++, used to be incompatible with GCC.
15064 # ICC 10 doesn't accept -KPIC any more.
15065 lt_prog_compiler_wl_CXX
='-Wl,'
15066 lt_prog_compiler_pic_CXX
='-fPIC'
15067 lt_prog_compiler_static_CXX
='-static'
15070 # Portland Group C++ compiler
15071 lt_prog_compiler_wl_CXX
='-Wl,'
15072 lt_prog_compiler_pic_CXX
='-fpic'
15073 lt_prog_compiler_static_CXX
='-Bstatic'
15077 # Make sure the PIC flag is empty. It appears that all Alpha
15078 # Linux and Compaq Tru64 Unix objects are PIC.
15079 lt_prog_compiler_pic_CXX
=
15080 lt_prog_compiler_static_CXX
='-non_shared'
15082 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15083 # IBM XL 8.0, 9.0 on PPC and BlueGene
15084 lt_prog_compiler_wl_CXX
='-Wl,'
15085 lt_prog_compiler_pic_CXX
='-qpic'
15086 lt_prog_compiler_static_CXX
='-qstaticlink'
15089 case `$CC -V 2>&1 | sed 5q` in
15092 lt_prog_compiler_pic_CXX
='-KPIC'
15093 lt_prog_compiler_static_CXX
='-Bstatic'
15094 lt_prog_compiler_wl_CXX
='-Qoption ld '
15105 case $cc_basename in
15107 lt_prog_compiler_pic_CXX
='-W c,exportall'
15116 # QNX uses GNU C++, but need to define -shared option too, otherwise
15117 # it will coredump.
15118 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15120 osf3
* | osf4
* | osf5
*)
15121 case $cc_basename in
15123 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15126 # Rational C++ 2.4.1
15127 lt_prog_compiler_pic_CXX
='-pic'
15130 # Digital/Compaq C++
15131 lt_prog_compiler_wl_CXX
='-Wl,'
15132 # Make sure the PIC flag is empty. It appears that all Alpha
15133 # Linux and Compaq Tru64 Unix objects are PIC.
15134 lt_prog_compiler_pic_CXX
=
15135 lt_prog_compiler_static_CXX
='-non_shared'
15144 case $cc_basename in
15146 # Sun C++ 4.2, 5.x and Centerline C++
15147 lt_prog_compiler_pic_CXX
='-KPIC'
15148 lt_prog_compiler_static_CXX
='-Bstatic'
15149 lt_prog_compiler_wl_CXX
='-Qoption ld '
15152 # Green Hills C++ Compiler
15153 lt_prog_compiler_pic_CXX
='-PIC'
15160 case $cc_basename in
15163 lt_prog_compiler_pic_CXX
='-pic'
15164 lt_prog_compiler_static_CXX
='-Bstatic'
15168 lt_prog_compiler_pic_CXX
='-pic'
15174 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15175 case $cc_basename in
15177 lt_prog_compiler_wl_CXX
='-Wl,'
15178 lt_prog_compiler_pic_CXX
='-KPIC'
15179 lt_prog_compiler_static_CXX
='-Bstatic'
15184 case $cc_basename in
15186 # NonStop-UX NCC 3.20
15187 lt_prog_compiler_pic_CXX
='-KPIC'
15196 lt_prog_compiler_can_build_shared_CXX
=no
15202 # For platforms that do not support PIC, -DPIC is meaningless:
15204 lt_prog_compiler_pic_CXX
=
15207 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15213 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
15214 $as_echo_n "(cached) " >&6
15216 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15219 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15220 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
15223 # Check to make sure the PIC flag actually works.
15225 if test -n "$lt_prog_compiler_pic_CXX"; then
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15227 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15228 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
15229 $as_echo_n "(cached) " >&6
15231 lt_cv_prog_compiler_pic_works_CXX
=no
15232 ac_outfile
=conftest.
$ac_objext
15233 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15234 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15235 # Insert the option either (1) after the last *FLAGS variable, or
15236 # (2) before a word containing "conftest.", or (3) at the end.
15237 # Note that $ac_compile itself does not contain backslashes and begins
15238 # with a dollar sign (not a hyphen), so the echo should work correctly.
15239 # The option is referenced via a variable to avoid confusing sed.
15240 lt_compile
=`echo "$ac_compile" | $SED \
15241 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15242 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15243 -e 's:$: $lt_compiler_flag:'`
15244 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15245 (eval "$lt_compile" 2>conftest.err
)
15247 cat conftest.err
>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 if (exit $ac_status) && test -s "$ac_outfile"; then
15250 # The compiler can only warn and ignore the option if not recognized
15251 # So say no if there are warnings other than the usual output.
15252 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15253 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15254 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15255 lt_cv_prog_compiler_pic_works_CXX
=yes
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15262 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15264 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15265 case $lt_prog_compiler_pic_CXX in
15267 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15270 lt_prog_compiler_pic_CXX
=
15271 lt_prog_compiler_can_build_shared_CXX
=no
15281 # Check to make sure the static flag actually works.
15283 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15285 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15286 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
15287 $as_echo_n "(cached) " >&6
15289 lt_cv_prog_compiler_static_works_CXX
=no
15290 save_LDFLAGS
=$LDFLAGS
15291 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15292 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15293 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15294 # The linker can only warn and ignore the option if not recognized
15295 # So say no if there are warnings
15296 if test -s conftest.err
; then
15297 # Append any errors to the config.log.
15298 cat conftest.err
1>&5
15299 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15300 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15301 if diff conftest.exp conftest.er2
>/dev
/null
; then
15302 lt_cv_prog_compiler_static_works_CXX
=yes
15305 lt_cv_prog_compiler_static_works_CXX
=yes
15309 LDFLAGS
=$save_LDFLAGS
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15313 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15315 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15318 lt_prog_compiler_static_CXX
=
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15325 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15326 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15327 $as_echo_n "(cached) " >&6
15329 lt_cv_prog_compiler_c_o_CXX
=no
15330 $RM -r conftest
2>/dev
/null
15334 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15336 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15337 # Insert the option either (1) after the last *FLAGS variable, or
15338 # (2) before a word containing "conftest.", or (3) at the end.
15339 # Note that $ac_compile itself does not contain backslashes and begins
15340 # with a dollar sign (not a hyphen), so the echo should work correctly.
15341 lt_compile
=`echo "$ac_compile" | $SED \
15342 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15343 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15344 -e 's:$: $lt_compiler_flag:'`
15345 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15346 (eval "$lt_compile" 2>out
/conftest.err
)
15348 cat out
/conftest.err
>&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15352 # The compiler can only warn and ignore the option if not recognized
15353 # So say no if there are warnings
15354 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15355 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15356 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15357 lt_cv_prog_compiler_c_o_CXX
=yes
15362 # SGI C++ compiler will create directory out/ii_files/ for
15363 # template instantiation
15364 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15365 $RM out
/* && rmdir out
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15372 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15377 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15378 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15379 $as_echo_n "(cached) " >&6
15381 lt_cv_prog_compiler_c_o_CXX
=no
15382 $RM -r conftest
2>/dev
/null
15386 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15388 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15389 # Insert the option either (1) after the last *FLAGS variable, or
15390 # (2) before a word containing "conftest.", or (3) at the end.
15391 # Note that $ac_compile itself does not contain backslashes and begins
15392 # with a dollar sign (not a hyphen), so the echo should work correctly.
15393 lt_compile
=`echo "$ac_compile" | $SED \
15394 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15395 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15396 -e 's:$: $lt_compiler_flag:'`
15397 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15398 (eval "$lt_compile" 2>out
/conftest.err
)
15400 cat out
/conftest.err
>&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15404 # The compiler can only warn and ignore the option if not recognized
15405 # So say no if there are warnings
15406 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15407 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15408 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15409 lt_cv_prog_compiler_c_o_CXX
=yes
15414 # SGI C++ compiler will create directory out/ii_files/ for
15415 # template instantiation
15416 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15417 $RM out
/* && rmdir out
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15424 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15429 hard_links
=nottested
15430 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
15431 # do not overwrite the value of need_locks provided by the user
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15433 $as_echo_n "checking if we can lock with hard links... " >&6; }
15436 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15438 ln conftest.a conftest.b
2>&5 || hard_links
=no
15439 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15441 $as_echo "$hard_links" >&6; }
15442 if test no
= "$hard_links"; then
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15444 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15454 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15456 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15457 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15460 # If we're using GNU nm, then we don't want the "-C" option.
15461 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15462 # Without the "-l" option, or with the "-B" option, AIX nm treats
15463 # weak defined symbols like other global defined symbols, whereas
15464 # GNU nm marks them as "W".
15465 # While the 'weak' keyword is ignored in the Export File, we need
15466 # it in the Import File for the 'aix-soname' feature, so we have
15467 # to replace the "-B" option with "-P" for AIX nm.
15468 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
15469 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15471 export_symbols_cmds_CXX
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15475 export_symbols_cmds_CXX
=$ltdll_cmds
15477 cygwin
* | mingw
* | cegcc
*)
15478 case $cc_basename in
15480 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15483 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'
15484 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15489 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15494 $as_echo "$ld_shlibs_CXX" >&6; }
15495 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15497 with_gnu_ld_CXX
=$with_gnu_ld
15505 # Do we need to explicitly link libc?
15507 case "x$archive_cmds_need_lc_CXX" in
15509 # Assume -lc should be added
15510 archive_cmds_need_lc_CXX
=yes
15512 if test yes,yes = "$GCC,$enable_shared"; then
15513 case $archive_cmds_CXX in
15515 # FIXME: we may have to deal with multi-command sequences.
15518 # Test whether the compiler implicitly links with -lc since on some
15519 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15520 # to ld, don't add -lc before -lgcc.
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15522 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15523 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15524 $as_echo_n "(cached) " >&6
15527 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15530 (eval $ac_compile) 2>&5
15532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15533 test $ac_status = 0; } 2>conftest.err
; then
15536 libobjs
=conftest.
$ac_objext
15538 wl
=$lt_prog_compiler_wl_CXX
15539 pic_flag
=$lt_prog_compiler_pic_CXX
15545 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15546 allow_undefined_flag_CXX
=
15547 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15548 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15551 test $ac_status = 0; }
15553 lt_cv_archive_cmds_need_lc_CXX
=no
15555 lt_cv_archive_cmds_need_lc_CXX
=yes
15557 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15559 cat conftest.err
1>&5
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15565 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15566 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15635 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15637 library_names_spec
=
15638 libname_spec
='lib$name'
15642 postuninstall_cmds
=
15646 shlibpath_overrides_runpath
=unknown
15648 dynamic_linker
="$host_os ld.so"
15649 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15650 need_lib_prefix
=unknown
15651 hardcode_into_libs
=no
15653 # when you set need_version to no, make sure it does not cause -set_version
15654 # flags to be left without arguments
15655 need_version
=unknown
15661 version_type
=linux
# correct to gnu/linux during the next big refactor
15662 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
15663 shlibpath_var
=LIBPATH
15665 # AIX 3 has no versioning support, so we append a major version to the name.
15666 soname_spec
='$libname$release$shared_ext$major'
15670 version_type
=linux
# correct to gnu/linux during the next big refactor
15673 hardcode_into_libs
=yes
15674 if test ia64
= "$host_cpu"; then
15675 # AIX 5 supports IA64
15676 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15677 shlibpath_var
=LD_LIBRARY_PATH
15679 # With GCC up to 2.95.x, collect2 would create an import file
15680 # for dependence libraries. The import file would start with
15681 # the line '#! .'. This would cause the generated library to
15682 # depend on '.', always an invalid library. This was fixed in
15683 # development snapshots of GCC prior to 3.0.
15685 aix4
| aix4.
[01] | aix4.
[01].
*)
15686 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15688 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
15691 can_build_shared
=no
15695 # Using Import Files as archive members, it is possible to support
15696 # filename-based versioning of shared library archives on AIX. While
15697 # this would work for both with and without runtime linking, it will
15698 # prevent static linking of such archives. So we do filename-based
15699 # shared library versioning with .so extension only, which is used
15700 # when both runtime linking and shared linking is enabled.
15701 # Unfortunately, runtime linking may impact performance, so we do
15702 # not want this to be the default eventually. Also, we use the
15703 # versioned .so libs for executables only if there is the -brtl
15704 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15705 # To allow for filename-based versioning support, we need to create
15706 # libNAME.so.V as an archive file, containing:
15707 # *) an Import File, referring to the versioned filename of the
15708 # archive as well as the shared archive member, telling the
15709 # bitwidth (32 or 64) of that shared object, and providing the
15710 # list of exported symbols of that shared object, eventually
15711 # decorated with the 'weak' keyword
15712 # *) the shared object with the F_LOADONLY flag set, to really avoid
15713 # it being seen by the linker.
15714 # At run time we better use the real file rather than another symlink,
15715 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15717 case $with_aix_soname,$aix_use_runtimelinking in
15718 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15719 # soname into executable. Probably we can add versioning support to
15720 # collect2, so additional links can be useful in future.
15721 aix
,yes) # traditional libtool
15722 dynamic_linker
='AIX unversionable lib.so'
15723 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15724 # instead of lib<name>.a to let people know that these are not
15725 # typical AIX shared libraries.
15726 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15728 aix
,no
) # traditional AIX only
15729 dynamic_linker
='AIX lib.a(lib.so.V)'
15730 # We preserve .a as extension for shared libraries through AIX4.2
15731 # and later when we are not doing run time linking.
15732 library_names_spec
='$libname$release.a $libname.a'
15733 soname_spec
='$libname$release$shared_ext$major'
15735 svr4
,*) # full svr4 only
15736 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
15737 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15738 # We do not specify a path in Import Files, so LIBPATH fires.
15739 shlibpath_overrides_runpath
=yes
15741 *,yes) # both, prefer svr4
15742 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15743 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15744 # unpreferred sharedlib libNAME.a needs extra handling
15745 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15746 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15747 # We do not specify a path in Import Files, so LIBPATH fires.
15748 shlibpath_overrides_runpath
=yes
15750 *,no
) # both, prefer aix
15751 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15752 library_names_spec
='$libname$release.a $libname.a'
15753 soname_spec
='$libname$release$shared_ext$major'
15754 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15755 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15756 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15759 shlibpath_var
=LIBPATH
15766 # Since July 2007 AmigaOS4 officially supports .so libraries.
15767 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15768 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15771 library_names_spec
='$libname.ixlibrary $libname.a'
15772 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15773 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
15779 library_names_spec
='$libname$shared_ext'
15780 dynamic_linker
="$host_os ld.so"
15781 shlibpath_var
=LIBRARY_PATH
15785 version_type
=linux
# correct to gnu/linux during the next big refactor
15787 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15788 soname_spec
='$libname$release$shared_ext$major'
15789 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15790 shlibpath_var
=LD_LIBRARY_PATH
15791 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15792 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15793 # the default ld.so.conf also contains /usr/contrib/lib and
15794 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15795 # libtool to hard-code these into programs
15798 cygwin
* | mingw
* | pw32
* | cegcc
*)
15799 version_type
=windows
15804 case $GCC,$cc_basename in
15807 library_names_spec
='$libname.dll.a'
15808 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15809 postinstall_cmds
='base_file=`basename \$file`~
15810 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15811 dldir=$destdir/`dirname \$dlpath`~
15812 test -d \$dldir || mkdir -p \$dldir~
15813 $install_prog $dir/$dlname \$dldir/$dlname~
15814 chmod a+x \$dldir/$dlname~
15815 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15816 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15818 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15819 dlpath=$dir/\$dldll~
15821 shlibpath_overrides_runpath
=yes
15825 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15826 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15830 # MinGW DLLs use traditional 'lib' prefix
15831 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15834 # pw32 DLLs use 'pw' prefix rather than 'lib'
15835 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15838 dynamic_linker
='Win32 ld.exe'
15843 libname_spec
='$name'
15844 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15845 library_names_spec
='$libname.dll.lib'
15849 sys_lib_search_path_spec
=
15852 for lt_path
in $LIB
15855 # Let DOS variable expansion print the short 8.3 style file name.
15856 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15857 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15860 # Convert to MSYS style.
15861 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15864 # Convert to unix form, then to dos form, then back to unix form
15865 # but this time dos style (no spaces!) so that the unix form looks
15866 # like /cygdrive/c/PROGRA~1:/cygdr...
15867 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15868 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15869 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15872 sys_lib_search_path_spec
=$LIB
15873 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15874 # It is most probably a Windows format PATH.
15875 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15877 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15879 # FIXME: find the short name or the path components, as spaces are
15880 # common. (e.g. "Program Files" -> "PROGRA~1")
15884 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15885 postinstall_cmds
='base_file=`basename \$file`~
15886 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15887 dldir=$destdir/`dirname \$dlpath`~
15888 test -d \$dldir || mkdir -p \$dldir~
15889 $install_prog $dir/$dlname \$dldir/$dlname'
15890 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15891 dlpath=$dir/\$dldll~
15893 shlibpath_overrides_runpath
=yes
15894 dynamic_linker
='Win32 link.exe'
15898 # Assume MSVC wrapper
15899 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
15900 dynamic_linker
='Win32 ld.exe'
15903 # FIXME: first we should search . and the directory the executable is in
15907 darwin
* | rhapsody
*)
15908 dynamic_linker
="$host_os dyld"
15909 version_type
=darwin
15912 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
15913 soname_spec
='$libname$release$major$shared_ext'
15914 shlibpath_overrides_runpath
=yes
15915 shlibpath_var
=DYLD_LIBRARY_PATH
15916 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15918 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15922 version_type
=linux
# correct to gnu/linux during the next big refactor
15925 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15926 soname_spec
='$libname$release$shared_ext$major'
15927 shlibpath_var
=LD_LIBRARY_PATH
15930 freebsd
* | dragonfly
*)
15931 # DragonFly does not have aout. When/if they implement a new
15932 # versioning mechanism, adjust this.
15933 if test -x /usr
/bin
/objformat
; then
15934 objformat
=`/usr/bin/objformat`
15937 freebsd
[23].
*) objformat
=aout
;;
15938 *) objformat
=elf
;;
15941 version_type
=freebsd
-$objformat
15942 case $version_type in
15944 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15945 soname_spec
='$libname$release$shared_ext$major'
15950 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15954 shlibpath_var
=LD_LIBRARY_PATH
15957 shlibpath_overrides_runpath
=yes
15959 freebsd3.
[01]* | freebsdelf3.
[01]*)
15960 shlibpath_overrides_runpath
=yes
15961 hardcode_into_libs
=yes
15963 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15964 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15965 shlibpath_overrides_runpath
=no
15966 hardcode_into_libs
=yes
15968 *) # from 4.6 on, and DragonFly
15969 shlibpath_overrides_runpath
=yes
15970 hardcode_into_libs
=yes
15976 version_type
=linux
# correct to gnu/linux during the next big refactor
15979 dynamic_linker
="$host_os runtime_loader"
15980 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15981 soname_spec
='$libname$release$shared_ext$major'
15982 shlibpath_var
=LIBRARY_PATH
15983 shlibpath_overrides_runpath
=no
15984 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15985 hardcode_into_libs
=yes
15988 hpux9
* | hpux10
* | hpux11
*)
15989 # Give a soname corresponding to the major version so that dld.sl refuses to
15990 # link against other versions.
15997 hardcode_into_libs
=yes
15998 dynamic_linker
="$host_os dld.so"
15999 shlibpath_var
=LD_LIBRARY_PATH
16000 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16001 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16002 soname_spec
='$libname$release$shared_ext$major'
16003 if test 32 = "$HPUX_IA64_MODE"; then
16004 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16005 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
16007 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16008 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
16013 hardcode_into_libs
=yes
16014 dynamic_linker
="$host_os dld.sl"
16015 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16016 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16017 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16018 soname_spec
='$libname$release$shared_ext$major'
16019 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16020 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16024 dynamic_linker
="$host_os dld.sl"
16025 shlibpath_var
=SHLIB_PATH
16026 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16027 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16028 soname_spec
='$libname$release$shared_ext$major'
16031 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16032 postinstall_cmds
='chmod 555 $lib'
16033 # or fails outright, so override atomically:
16034 install_override_mode
=555
16038 version_type
=linux
# correct to gnu/linux during the next big refactor
16041 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16042 soname_spec
='$libname$release$shared_ext$major'
16043 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16044 shlibpath_var
=LD_LIBRARY_PATH
16045 shlibpath_overrides_runpath
=no
16046 hardcode_into_libs
=yes
16049 irix5
* | irix6
* | nonstopux
*)
16051 nonstopux
*) version_type
=nonstopux
;;
16053 if test yes = "$lt_cv_prog_gnu_ld"; then
16054 version_type
=linux
# correct to gnu/linux during the next big refactor
16061 soname_spec
='$libname$release$shared_ext$major'
16062 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16064 irix5
* | nonstopux
*)
16065 libsuff
= shlibsuff
=
16068 case $LD in # libtool.m4 will add one of these switches to LD
16069 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16070 libsuff
= shlibsuff
= libmagic
=32-bit;;
16071 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16072 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16073 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16074 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16075 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
16079 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16080 shlibpath_overrides_runpath
=no
16081 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16082 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
16083 hardcode_into_libs
=yes
16086 # No shared lib support for Linux oldld, aout, or coff.
16087 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16092 version_type
=none
# Android doesn't support versioned libraries.
16095 library_names_spec
='$libname$release$shared_ext'
16096 soname_spec
='$libname$release$shared_ext'
16098 shlibpath_var
=LD_LIBRARY_PATH
16099 shlibpath_overrides_runpath
=yes
16101 # This implies no fast_install, which is unacceptable.
16102 # Some rework will be needed to allow for fast_install
16103 # before this can be enabled.
16104 hardcode_into_libs
=yes
16106 dynamic_linker
='Android linker'
16107 # Don't embed -rpath directories since the linker doesn't support them.
16108 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16111 # This must be glibc/ELF.
16112 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16113 version_type
=linux
# correct to gnu/linux during the next big refactor
16116 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16117 soname_spec
='$libname$release$shared_ext$major'
16118 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16119 shlibpath_var
=LD_LIBRARY_PATH
16120 shlibpath_overrides_runpath
=no
16122 # Some binutils ld are patched to set DT_RUNPATH
16123 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
16124 $as_echo_n "(cached) " >&6
16126 lt_cv_shlibpath_overrides_runpath
=no
16127 save_LDFLAGS
=$LDFLAGS
16128 save_libdir
=$libdir
16129 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16130 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16142 if ac_fn_cxx_try_link
"$LINENO"; then :
16143 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
16144 lt_cv_shlibpath_overrides_runpath
=yes
16147 rm -f core conftest.err conftest.
$ac_objext \
16148 conftest
$ac_exeext conftest.
$ac_ext
16149 LDFLAGS
=$save_LDFLAGS
16150 libdir
=$save_libdir
16154 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16156 # This implies no fast_install, which is unacceptable.
16157 # Some rework will be needed to allow for fast_install
16158 # before this can be enabled.
16159 hardcode_into_libs
=yes
16161 # Ideally, we could use ldconfig to report *all* directores which are
16162 # searched for libraries, however this is still not possible. Aside from not
16163 # being certain /sbin/ldconfig is available, command
16164 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16165 # even though it is searched at run-time. Try to do the best guess by
16166 # appending ld.so.conf contents (and includes) to the search path.
16167 if test -f /etc
/ld.so.conf
; then
16168 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' ' '`
16169 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16172 # We used to test for /lib/ld.so.1 and disable shared libraries on
16173 # powerpc, because MkLinux only supported shared libraries with the
16174 # GNU dynamic linker. Since this was broken with cross compilers,
16175 # most powerpc-linux boxes support dynamic linking these days and
16176 # people can always --disable-shared, the test was removed, and we
16177 # assume the GNU/Linux dynamic linker is in use.
16178 dynamic_linker
='GNU/Linux ld.so'
16185 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16186 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16187 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16188 dynamic_linker
='NetBSD (a.out) ld.so'
16190 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16191 soname_spec
='$libname$release$shared_ext$major'
16192 dynamic_linker
='NetBSD ld.elf_so'
16194 shlibpath_var
=LD_LIBRARY_PATH
16195 shlibpath_overrides_runpath
=yes
16196 hardcode_into_libs
=yes
16200 version_type
=linux
# correct to gnu/linux during the next big refactor
16201 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16202 shlibpath_var
=LD_LIBRARY_PATH
16203 shlibpath_overrides_runpath
=yes
16210 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16211 soname_spec
='$libname$release$shared_ext$major'
16212 shlibpath_var
=LD_LIBRARY_PATH
16213 shlibpath_overrides_runpath
=no
16214 hardcode_into_libs
=yes
16215 dynamic_linker
='ldqnx.so'
16218 openbsd
* | bitrig
*)
16220 sys_lib_dlsearch_path_spec
=/usr
/lib
16222 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16227 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16228 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16229 shlibpath_var
=LD_LIBRARY_PATH
16230 shlibpath_overrides_runpath
=yes
16234 libname_spec
='$name'
16235 version_type
=windows
16239 # OS/2 can only load a DLL with a base name of 8 characters or less.
16240 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
16241 v=$($ECHO $release$versuffix | tr -d .-);
16242 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16243 $ECHO $n$v`$shared_ext'
16244 library_names_spec
='${libname}_dll.$libext'
16245 dynamic_linker
='OS/2 ld.exe'
16246 shlibpath_var
=BEGINLIBPATH
16247 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16248 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16249 postinstall_cmds
='base_file=`basename \$file`~
16250 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16251 dldir=$destdir/`dirname \$dlpath`~
16252 test -d \$dldir || mkdir -p \$dldir~
16253 $install_prog $dir/$dlname \$dldir/$dlname~
16254 chmod a+x \$dldir/$dlname~
16255 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16256 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16258 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16259 dlpath=$dir/\$dldll~
16263 osf3
* | osf4
* | osf5
*)
16267 soname_spec
='$libname$release$shared_ext$major'
16268 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16269 shlibpath_var
=LD_LIBRARY_PATH
16270 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16271 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16279 version_type
=linux
# correct to gnu/linux during the next big refactor
16282 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16283 soname_spec
='$libname$release$shared_ext$major'
16284 shlibpath_var
=LD_LIBRARY_PATH
16285 shlibpath_overrides_runpath
=yes
16286 hardcode_into_libs
=yes
16287 # ldd complains unless libraries are executable
16288 postinstall_cmds
='chmod +x $lib'
16293 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16294 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16295 shlibpath_var
=LD_LIBRARY_PATH
16296 shlibpath_overrides_runpath
=yes
16297 if test yes = "$with_gnu_ld"; then
16304 version_type
=linux
# correct to gnu/linux during the next big refactor
16305 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16306 soname_spec
='$libname$release$shared_ext$major'
16307 shlibpath_var
=LD_LIBRARY_PATH
16308 case $host_vendor in
16310 shlibpath_overrides_runpath
=no
16312 runpath_var
=LD_RUN_PATH
16320 shlibpath_overrides_runpath
=no
16321 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16327 if test -d /usr
/nec
; then
16328 version_type
=linux
# correct to gnu/linux during the next big refactor
16329 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16330 soname_spec
='$libname$shared_ext.$major'
16331 shlibpath_var
=LD_LIBRARY_PATH
16335 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16339 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16340 soname_spec
='$libname$release$shared_ext$major'
16341 shlibpath_var
=LD_LIBRARY_PATH
16342 shlibpath_overrides_runpath
=yes
16343 hardcode_into_libs
=yes
16344 if test yes = "$with_gnu_ld"; then
16345 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16347 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16350 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16354 sys_lib_dlsearch_path_spec
='/usr/lib'
16358 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16359 version_type
=linux
# correct to gnu/linux during the next big refactor
16362 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16363 shlibpath_var
=LD_LIBRARY_PATH
16364 shlibpath_overrides_runpath
=no
16365 hardcode_into_libs
=yes
16369 version_type
=linux
# correct to gnu/linux during the next big refactor
16370 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16371 soname_spec
='$libname$release$shared_ext$major'
16372 shlibpath_var
=LD_LIBRARY_PATH
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16380 $as_echo "$dynamic_linker" >&6; }
16381 test no
= "$dynamic_linker" && can_build_shared
=no
16383 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16384 if test yes = "$GCC"; then
16385 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16388 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16389 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
16392 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16393 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
16396 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16397 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
16399 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16400 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
16402 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16403 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16445 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16446 hardcode_action_CXX
=
16447 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16448 test -n "$runpath_var_CXX" ||
16449 test yes = "$hardcode_automatic_CXX"; then
16451 # We can hardcode non-existent directories.
16452 if test no
!= "$hardcode_direct_CXX" &&
16453 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16454 # have to relink, otherwise we might link with an installed library
16455 # when we should be linking with a yet-to-be-installed one
16456 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16457 test no
!= "$hardcode_minus_L_CXX"; then
16458 # Linking always hardcodes the temporary library directory.
16459 hardcode_action_CXX
=relink
16461 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16462 hardcode_action_CXX
=immediate
16465 # We cannot hardcode anything, or else we can only hardcode existing
16467 hardcode_action_CXX
=unsupported
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16470 $as_echo "$hardcode_action_CXX" >&6; }
16472 if test relink
= "$hardcode_action_CXX" ||
16473 test yes = "$inherit_rpath_CXX"; then
16474 # Fast installation is not supported
16475 enable_fast_install
=no
16476 elif test yes = "$shlibpath_overrides_runpath" ||
16477 test no
= "$enable_shared"; then
16478 # Fast installation is not necessary
16479 enable_fast_install
=needless
16488 fi # test -n "$compiler"
16491 CFLAGS
=$lt_save_CFLAGS
16495 with_gnu_ld
=$lt_save_with_gnu_ld
16496 lt_cv_path_LDCXX
=$lt_cv_path_LD
16497 lt_cv_path_LD
=$lt_save_path_LD
16498 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16499 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16500 fi # test yes != "$_lt_caught_CXX_error"
16503 ac_cpp
='$CPP $CPPFLAGS'
16504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16522 ac_config_commands
="$ac_config_commands libtool"
16527 # Only expand once:
16532 ac_cpp
='$CXXCPP $CPPFLAGS'
16533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16538 ax_cxx_compile_cxx11_required
=true
16540 ac_cpp
='$CXXCPP $CPPFLAGS'
16541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
16546 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
16547 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
16548 $as_echo_n "(cached) " >&6
16550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16553 template <typename T>
16556 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16560 virtual void f() {}
16562 struct Child : public Base {
16563 virtual void f() override {}
16566 typedef check<check<bool>> right_angle_brackets;
16571 typedef check<int> check_type;
16573 check_type&& cr = static_cast<check_type&&>(c);
16579 if ac_fn_cxx_try_compile
"$LINENO"; then :
16580 ax_cv_cxx_compile_cxx11
=yes
16582 ax_cv_cxx_compile_cxx11
=no
16584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
16587 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
16588 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
16592 if test x
$ac_success = xno
; then
16593 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
16594 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
16596 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
16597 if eval \
${$cachevar+:} false
; then :
16598 $as_echo_n "(cached) " >&6
16600 ac_save_CXXFLAGS
="$CXXFLAGS"
16601 CXXFLAGS
="$CXXFLAGS $switch"
16602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16603 /* end confdefs.h. */
16605 template <typename T>
16608 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16612 virtual void f() {}
16614 struct Child : public Base {
16615 virtual void f() override {}
16618 typedef check<check<bool>> right_angle_brackets;
16623 typedef check<int> check_type;
16625 check_type&& cr = static_cast<check_type&&>(c);
16631 if ac_fn_cxx_try_compile
"$LINENO"; then :
16636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16637 CXXFLAGS
="$ac_save_CXXFLAGS"
16639 eval ac_res
=\$
$cachevar
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16641 $as_echo "$ac_res" >&6; }
16642 if eval test x\$
$cachevar = xyes
; then
16643 CXXFLAGS
="$CXXFLAGS $switch"
16652 ac_cpp
='$CXXCPP $CPPFLAGS'
16653 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16654 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16655 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16657 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
16658 if test x
$ac_success = xno
; then
16659 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
16662 if test x
$ac_success = xno
; then
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
16665 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
16669 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
16676 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
16685 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16686 if test -n "$ac_tool_prefix"; then
16687 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16688 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16690 $as_echo_n "checking for $ac_word... " >&6; }
16691 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16692 $as_echo_n "(cached) " >&6
16694 case $PKG_CONFIG in
16696 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16700 for as_dir
in $PATH
16703 test -z "$as_dir" && as_dir
=.
16704 for ac_exec_ext
in '' $ac_executable_extensions; do
16705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16706 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16717 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16718 if test -n "$PKG_CONFIG"; then
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16720 $as_echo "$PKG_CONFIG" >&6; }
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16723 $as_echo "no" >&6; }
16728 if test -z "$ac_cv_path_PKG_CONFIG"; then
16729 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16730 # Extract the first word of "pkg-config", so it can be a program name with args.
16731 set dummy pkg
-config; ac_word
=$2
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16733 $as_echo_n "checking for $ac_word... " >&6; }
16734 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16735 $as_echo_n "(cached) " >&6
16737 case $ac_pt_PKG_CONFIG in
16739 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16743 for as_dir
in $PATH
16746 test -z "$as_dir" && as_dir
=.
16747 for ac_exec_ext
in '' $ac_executable_extensions; do
16748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16749 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16760 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16761 if test -n "$ac_pt_PKG_CONFIG"; then
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16763 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16766 $as_echo "no" >&6; }
16769 if test "x$ac_pt_PKG_CONFIG" = x
; then
16772 case $cross_compiling:$ac_tool_warned in
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16776 ac_tool_warned
=yes ;;
16778 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16781 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16785 if test -n "$PKG_CONFIG"; then
16786 _pkg_min_version
=0.22
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16788 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16789 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16791 $as_echo "yes" >&6; }
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16794 $as_echo "no" >&6; }
16799 # Extract the first word of "git", so it can be a program name with args.
16800 set dummy git
; ac_word
=$2
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16802 $as_echo_n "checking for $ac_word... " >&6; }
16803 if ${ac_cv_path_GIT+:} false
; then :
16804 $as_echo_n "(cached) " >&6
16808 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16812 for as_dir
in $PATH
16815 test -z "$as_dir" && as_dir
=.
16816 for ac_exec_ext
in '' $ac_executable_extensions; do
16817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16818 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16829 GIT
=$ac_cv_path_GIT
16830 if test -n "$GIT"; then
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16832 $as_echo "$GIT" >&6; }
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16835 $as_echo "no" >&6; }
16839 # Extract the first word of "time", so it can be a program name with args.
16840 set dummy
time; ac_word
=$2
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16842 $as_echo_n "checking for $ac_word... " >&6; }
16843 if ${ac_cv_path_TIME+:} false
; then :
16844 $as_echo_n "(cached) " >&6
16848 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16852 for as_dir
in $PATH
16855 test -z "$as_dir" && as_dir
=.
16856 for ac_exec_ext
in '' $ac_executable_extensions; do
16857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16858 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16869 TIME
=$ac_cv_path_TIME
16870 if test -n "$TIME"; then
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16872 $as_echo "$TIME" >&6; }
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16875 $as_echo "no" >&6; }
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16885 $as_echo_n "checking for bison >= 2.3... " >&6; }
16886 if test -z "$BISON"; then
16887 ac_path_BISON_found
=false
16888 # Loop through the user's path and test for each of PROGNAME-LIST
16889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16890 for as_dir
in $PATH
16893 test -z "$as_dir" && as_dir
=.
16894 for ac_prog
in bison
; do
16895 for ac_exec_ext
in '' $ac_executable_extensions; do
16896 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16897 as_fn_executable_p
"$ac_path_BISON" || continue
16898 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16899 if ${version:+false} :; then :
16902 as_awk_strverscmp
='
16903 # Use only awk features that work with 7th edition Unix awk (1978).
16904 # My, what an old awk you have, Mr. Solaris!
16906 while (length(v1) && length(v2)) {
16907 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16908 # Normally this is a single character, but if v1 and v2 contain digits,
16909 # compare them as integers and fractions as strverscmp does.
16910 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16911 # Split v1 and v2 into their leading digit string components d1 and d2,
16912 # and advance v1 and v2 past the leading digit strings.
16913 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16914 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16915 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16916 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16919 # Compare two fractions.
16920 while (d1 ~ /^0/ && d2 ~ /^0/) {
16921 d1 = substr(d1, 2); len1--
16922 d2 = substr(d2, 2); len2--
16924 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16925 # The two components differ in length, and the common prefix
16926 # contains only leading zeros. Consider the longer to be less.
16930 # Otherwise, compare as strings.
16935 # A fraction is less than an integer.
16940 # An integer is greater than a fraction.
16943 # Compare two integers.
16949 # The normal case, without worrying about digits.
16950 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16951 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16953 if (d1 < d2) exit 1
16954 if (d1 > d2) exit 2
16956 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16957 # which mishandles some comparisons of empty strings to integers.
16958 if (length(v2)) exit 1
16959 if (length(v1)) exit 2
16964 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16969 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16971 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16977 $ac_path_BISON_found && break 3
16982 if test -z "$ac_cv_path_BISON"; then
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16984 $as_echo "no" >&6; }
16987 ac_cv_path_BISON
=$BISON
16993 BISON
=$ac_cv_path_BISON
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16996 $as_echo "$BISON" >&6; }
17001 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17008 $as_echo "no" >&6; }
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
17017 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
17018 if test -z "$FLEX"; then
17019 ac_path_FLEX_found
=false
17020 # Loop through the user's path and test for each of PROGNAME-LIST
17021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17022 for as_dir
in $PATH
17025 test -z "$as_dir" && as_dir
=.
17026 for ac_prog
in flex
; do
17027 for ac_exec_ext
in '' $ac_executable_extensions; do
17028 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
17029 as_fn_executable_p
"$ac_path_FLEX" || continue
17030 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
17031 if ${version:+false} :; then :
17036 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17041 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17043 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17049 $ac_path_FLEX_found && break 3
17054 if test -z "$ac_cv_path_FLEX"; then
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17056 $as_echo "no" >&6; }
17059 ac_cv_path_FLEX
=$FLEX
17065 FLEX
=$ac_cv_path_FLEX
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17068 $as_echo "$FLEX" >&6; }
17073 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17080 $as_echo "no" >&6; }
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
17089 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
17090 if test -z "$GPERF"; then
17091 ac_path_GPERF_found
=false
17092 # Loop through the user's path and test for each of PROGNAME-LIST
17093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17094 for as_dir
in $PATH
17097 test -z "$as_dir" && as_dir
=.
17098 for ac_prog
in gperf
; do
17099 for ac_exec_ext
in '' $ac_executable_extensions; do
17100 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
17101 as_fn_executable_p
"$ac_path_GPERF" || continue
17102 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
17103 if ${version:+false} :; then :
17108 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17113 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17115 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17121 $ac_path_GPERF_found && break 3
17126 if test -z "$ac_cv_path_GPERF"; then
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17128 $as_echo "no" >&6; }
17131 ac_cv_path_GPERF
=$GPERF
17137 GPERF
=$ac_cv_path_GPERF
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17140 $as_echo "$GPERF" >&6; }
17145 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17152 $as_echo "no" >&6; }
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
17161 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
17162 if test -z "$GNUTAR"; then
17163 ac_path_GNUTAR_found
=false
17164 # Loop through the user's path and test for each of PROGNAME-LIST
17165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17166 for as_dir
in $PATH
17169 test -z "$as_dir" && as_dir
=.
17170 for ac_prog
in tar gtar gnutar
; do
17171 for ac_exec_ext
in '' $ac_executable_extensions; do
17172 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
17173 as_fn_executable_p
"$ac_path_GNUTAR" || continue
17174 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
17175 if ${version:+false} :; then :
17180 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17185 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17187 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17193 $ac_path_GNUTAR_found && break 3
17198 if test -z "$ac_cv_path_GNUTAR"; then
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17200 $as_echo "no" >&6; }
17203 ac_cv_path_GNUTAR
=$GNUTAR
17209 GNUTAR
=$ac_cv_path_GNUTAR
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
17212 $as_echo "$GNUTAR" >&6; }
17217 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17224 $as_echo "no" >&6; }
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
17231 $as_echo_n "checking bison for %code{}... " >&6; }
17232 echo '%code{}%%_:' >conftest.y
17233 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
17235 for element
in Bison24
; do
17237 for x
in $CY_FILTERS; do
17239 acl_save_prefix
="$prefix"
17240 prefix
="$acl_final_prefix"
17241 acl_save_exec_prefix
="$exec_prefix"
17242 exec_prefix
="$acl_final_exec_prefix"
17244 exec_prefix
="$acl_save_exec_prefix"
17245 prefix
="$acl_save_prefix"
17247 if test "X$x" = "X$element"; then
17252 if test -z "$haveit"; then
17253 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17258 $as_echo "yes" >&6; }
17261 for element
in Bison23
; do
17263 for x
in $CY_FILTERS; do
17265 acl_save_prefix
="$prefix"
17266 prefix
="$acl_final_prefix"
17267 acl_save_exec_prefix
="$exec_prefix"
17268 exec_prefix
="$acl_final_exec_prefix"
17270 exec_prefix
="$acl_save_exec_prefix"
17271 prefix
="$acl_save_prefix"
17273 if test "X$x" = "X$element"; then
17278 if test -z "$haveit"; then
17279 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17284 $as_echo "no" >&6; }
17299 ac_cpp
='$CPP $CPPFLAGS'
17300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
17305 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
17306 if ${ac_cv_cflags_warn_all+:} false
; then :
17307 $as_echo_n "(cached) " >&6
17309 ac_cv_cflags_warn_all
="no, unknown"
17310 ac_save_CFLAGS
="$CFLAGS"
17311 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" #
17312 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17324 if ac_fn_c_try_compile
"$LINENO"; then :
17325 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17329 CFLAGS
="$ac_save_CFLAGS"
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
17333 $as_echo "$ac_cv_cflags_warn_all" >&6; }
17336 case ".$ac_cv_cflags_warn_all" in
17339 *) if ${CFLAGS+:} false
; then :
17340 case " $CFLAGS " in
17341 *" $ac_cv_cflags_warn_all "*)
17342 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
17343 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
17345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17346 test $ac_status = 0; }
17349 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
17350 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
17352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17353 test $ac_status = 0; }
17354 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
17358 CFLAGS
="$ac_cv_cflags_warn_all"
17364 ac_cpp
='$CXXCPP $CPPFLAGS'
17365 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17366 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17367 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17371 ac_cpp
='$CXXCPP $CPPFLAGS'
17372 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17373 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17374 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17377 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17378 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17379 $as_echo_n "(cached) " >&6
17381 ac_cv_cxxflags_warn_all
="no, unknown"
17382 ac_save_CXXFLAGS
="$CXXFLAGS"
17383 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" #
17384 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17396 if ac_fn_cxx_try_compile
"$LINENO"; then :
17397 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17401 CXXFLAGS
="$ac_save_CXXFLAGS"
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17405 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17408 case ".$ac_cv_cxxflags_warn_all" in
17411 *) if ${CXXFLAGS+:} false
; then :
17412 case " $CXXFLAGS " in
17413 *" $ac_cv_cxxflags_warn_all "*)
17414 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17415 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17418 test $ac_status = 0; }
17421 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17422 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17425 test $ac_status = 0; }
17426 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17430 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17436 ac_cpp
='$CXXCPP $CPPFLAGS'
17437 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17438 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17439 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17443 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17444 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17445 $as_echo_n "(cached) " >&6
17447 ac_cv_cxxflags_warn_all
="no, unknown"
17448 ac_save_CXXFLAGS
="$CXXFLAGS"
17449 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" #
17450 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17462 if ac_fn_cxx_try_compile
"$LINENO"; then :
17463 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17467 CXXFLAGS
="$ac_save_CXXFLAGS"
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17471 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17474 case ".$ac_cv_cxxflags_warn_all" in
17477 *) if ${CXXFLAGS+:} false
; then :
17478 case " $CXXFLAGS " in
17479 *" $ac_cv_cxxflags_warn_all "*)
17480 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17481 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17484 test $ac_status = 0; }
17487 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17488 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17491 test $ac_status = 0; }
17492 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17496 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17506 ac_cpp
='$CPP $CPPFLAGS'
17507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
17512 $as_echo_n "checking for cc -Werror... " >&6; }
17516 for element
in -Werror; do
17518 for x
in $CFLAGS; do
17520 acl_save_prefix
="$prefix"
17521 prefix
="$acl_final_prefix"
17522 acl_save_exec_prefix
="$exec_prefix"
17523 exec_prefix
="$acl_final_exec_prefix"
17525 exec_prefix
="$acl_save_exec_prefix"
17526 prefix
="$acl_save_prefix"
17528 if test "X$x" = "X$element"; then
17533 if test -z "$haveit"; then
17534 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17543 if ac_fn_c_try_compile
"$LINENO"; then :
17548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17551 if test "x$cy_good" = x1
; then :
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17553 $as_echo "yes" >&6; }
17555 for element
in -Werror; do
17557 for x
in $CFLAGS; do
17559 acl_save_prefix
="$prefix"
17560 prefix
="$acl_final_prefix"
17561 acl_save_exec_prefix
="$exec_prefix"
17562 exec_prefix
="$acl_final_exec_prefix"
17564 exec_prefix
="$acl_save_exec_prefix"
17565 prefix
="$acl_save_prefix"
17567 if test "X$x" = "X$element"; then
17572 if test -z "$haveit"; then
17573 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17580 $as_echo "no" >&6; }
17584 ac_cpp
='$CXXCPP $CPPFLAGS'
17585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17592 ac_cpp
='$CXXCPP $CPPFLAGS'
17593 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17594 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17595 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
17598 $as_echo_n "checking for c++ -Werror... " >&6; }
17602 for element
in -Werror; do
17604 for x
in $CXXFLAGS; do
17606 acl_save_prefix
="$prefix"
17607 prefix
="$acl_final_prefix"
17608 acl_save_exec_prefix
="$exec_prefix"
17609 exec_prefix
="$acl_final_exec_prefix"
17611 exec_prefix
="$acl_save_exec_prefix"
17612 prefix
="$acl_save_prefix"
17614 if test "X$x" = "X$element"; then
17619 if test -z "$haveit"; then
17620 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17629 if ac_fn_cxx_try_compile
"$LINENO"; then :
17634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17637 if test "x$cy_good" = x1
; then :
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17639 $as_echo "yes" >&6; }
17641 for element
in -Werror; do
17643 for x
in $CXXFLAGS; do
17645 acl_save_prefix
="$prefix"
17646 prefix
="$acl_final_prefix"
17647 acl_save_exec_prefix
="$exec_prefix"
17648 exec_prefix
="$acl_final_exec_prefix"
17650 exec_prefix
="$acl_save_exec_prefix"
17651 prefix
="$acl_save_prefix"
17653 if test "X$x" = "X$element"; then
17658 if test -z "$haveit"; then
17659 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17666 $as_echo "no" >&6; }
17670 ac_cpp
='$CXXCPP $CPPFLAGS'
17671 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17672 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17673 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17678 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17679 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17680 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17681 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
17684 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
17686 cy_save
=$OBJCXXFLAGS
17688 for element
in -Werror; do
17690 for x
in $OBJCXXFLAGS; do
17692 acl_save_prefix
="$prefix"
17693 prefix
="$acl_final_prefix"
17694 acl_save_exec_prefix
="$exec_prefix"
17695 exec_prefix
="$acl_final_exec_prefix"
17697 exec_prefix
="$acl_save_exec_prefix"
17698 prefix
="$acl_save_prefix"
17700 if test "X$x" = "X$element"; then
17705 if test -z "$haveit"; then
17706 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17715 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17722 OBJCXXFLAGS
=$cy_save
17723 if test "x$cy_good" = x1
; then :
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17725 $as_echo "yes" >&6; }
17727 for element
in -Werror; do
17729 for x
in $OBJCXXFLAGS; do
17731 acl_save_prefix
="$prefix"
17732 prefix
="$acl_final_prefix"
17733 acl_save_exec_prefix
="$exec_prefix"
17734 exec_prefix
="$acl_final_exec_prefix"
17736 exec_prefix
="$acl_save_exec_prefix"
17737 prefix
="$acl_save_prefix"
17739 if test "X$x" = "X$element"; then
17744 if test -z "$haveit"; then
17745 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17752 $as_echo "no" >&6; }
17756 ac_cpp
='$CXXCPP $CPPFLAGS'
17757 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17767 ac_cpp
='$CPP $CPPFLAGS'
17768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17773 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17777 for element
in -Wno-deprecated-declarations; do
17779 for x
in $CFLAGS; do
17781 acl_save_prefix
="$prefix"
17782 prefix
="$acl_final_prefix"
17783 acl_save_exec_prefix
="$exec_prefix"
17784 exec_prefix
="$acl_final_exec_prefix"
17786 exec_prefix
="$acl_save_exec_prefix"
17787 prefix
="$acl_save_prefix"
17789 if test "X$x" = "X$element"; then
17794 if test -z "$haveit"; then
17795 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17804 if ac_fn_c_try_compile
"$LINENO"; then :
17809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17812 if test "x$cy_good" = x1
; then :
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17814 $as_echo "yes" >&6; }
17816 for element
in -Wno-deprecated-declarations; do
17818 for x
in $CFLAGS; do
17820 acl_save_prefix
="$prefix"
17821 prefix
="$acl_final_prefix"
17822 acl_save_exec_prefix
="$exec_prefix"
17823 exec_prefix
="$acl_final_exec_prefix"
17825 exec_prefix
="$acl_save_exec_prefix"
17826 prefix
="$acl_save_prefix"
17828 if test "X$x" = "X$element"; then
17833 if test -z "$haveit"; then
17834 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17841 $as_echo "no" >&6; }
17845 ac_cpp
='$CXXCPP $CPPFLAGS'
17846 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17847 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17848 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17853 ac_cpp
='$CXXCPP $CPPFLAGS'
17854 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17855 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17856 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17859 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17863 for element
in -Wno-deprecated-declarations; do
17865 for x
in $CXXFLAGS; do
17867 acl_save_prefix
="$prefix"
17868 prefix
="$acl_final_prefix"
17869 acl_save_exec_prefix
="$exec_prefix"
17870 exec_prefix
="$acl_final_exec_prefix"
17872 exec_prefix
="$acl_save_exec_prefix"
17873 prefix
="$acl_save_prefix"
17875 if test "X$x" = "X$element"; then
17880 if test -z "$haveit"; then
17881 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17890 if ac_fn_cxx_try_compile
"$LINENO"; then :
17895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17898 if test "x$cy_good" = x1
; then :
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17900 $as_echo "yes" >&6; }
17902 for element
in -Wno-deprecated-declarations; do
17904 for x
in $CXXFLAGS; do
17906 acl_save_prefix
="$prefix"
17907 prefix
="$acl_final_prefix"
17908 acl_save_exec_prefix
="$exec_prefix"
17909 exec_prefix
="$acl_final_exec_prefix"
17911 exec_prefix
="$acl_save_exec_prefix"
17912 prefix
="$acl_save_prefix"
17914 if test "X$x" = "X$element"; then
17919 if test -z "$haveit"; then
17920 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17927 $as_echo "no" >&6; }
17931 ac_cpp
='$CXXCPP $CPPFLAGS'
17932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17939 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17940 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17941 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17942 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17945 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17947 cy_save
=$OBJCXXFLAGS
17949 for element
in -Wno-deprecated-declarations; do
17951 for x
in $OBJCXXFLAGS; do
17953 acl_save_prefix
="$prefix"
17954 prefix
="$acl_final_prefix"
17955 acl_save_exec_prefix
="$exec_prefix"
17956 exec_prefix
="$acl_final_exec_prefix"
17958 exec_prefix
="$acl_save_exec_prefix"
17959 prefix
="$acl_save_prefix"
17961 if test "X$x" = "X$element"; then
17966 if test -z "$haveit"; then
17967 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17973 /* end confdefs.h. */
17976 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17983 OBJCXXFLAGS
=$cy_save
17984 if test "x$cy_good" = x1
; then :
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17986 $as_echo "yes" >&6; }
17988 for element
in -Wno-deprecated-declarations; do
17990 for x
in $OBJCXXFLAGS; do
17992 acl_save_prefix
="$prefix"
17993 prefix
="$acl_final_prefix"
17994 acl_save_exec_prefix
="$exec_prefix"
17995 exec_prefix
="$acl_final_exec_prefix"
17997 exec_prefix
="$acl_save_exec_prefix"
17998 prefix
="$acl_save_prefix"
18000 if test "X$x" = "X$element"; then
18005 if test -z "$haveit"; then
18006 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18013 $as_echo "no" >&6; }
18017 ac_cpp
='$CXXCPP $CPPFLAGS'
18018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18028 ac_cpp
='$CPP $CPPFLAGS'
18029 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18030 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18031 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
18034 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
18038 for element
in -Wno-dangling-else; do
18040 for x
in $CFLAGS; do
18042 acl_save_prefix
="$prefix"
18043 prefix
="$acl_final_prefix"
18044 acl_save_exec_prefix
="$exec_prefix"
18045 exec_prefix
="$acl_final_exec_prefix"
18047 exec_prefix
="$acl_save_exec_prefix"
18048 prefix
="$acl_save_prefix"
18050 if test "X$x" = "X$element"; then
18055 if test -z "$haveit"; then
18056 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18062 /* end confdefs.h. */
18065 if ac_fn_c_try_compile
"$LINENO"; then :
18070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18073 if test "x$cy_good" = x1
; then :
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18075 $as_echo "yes" >&6; }
18077 for element
in -Wno-dangling-else; do
18079 for x
in $CFLAGS; do
18081 acl_save_prefix
="$prefix"
18082 prefix
="$acl_final_prefix"
18083 acl_save_exec_prefix
="$exec_prefix"
18084 exec_prefix
="$acl_final_exec_prefix"
18086 exec_prefix
="$acl_save_exec_prefix"
18087 prefix
="$acl_save_prefix"
18089 if test "X$x" = "X$element"; then
18094 if test -z "$haveit"; then
18095 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18102 $as_echo "no" >&6; }
18106 ac_cpp
='$CXXCPP $CPPFLAGS'
18107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18114 ac_cpp
='$CXXCPP $CPPFLAGS'
18115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
18120 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
18124 for element
in -Wno-dangling-else; do
18126 for x
in $CXXFLAGS; do
18128 acl_save_prefix
="$prefix"
18129 prefix
="$acl_final_prefix"
18130 acl_save_exec_prefix
="$exec_prefix"
18131 exec_prefix
="$acl_final_exec_prefix"
18133 exec_prefix
="$acl_save_exec_prefix"
18134 prefix
="$acl_save_prefix"
18136 if test "X$x" = "X$element"; then
18141 if test -z "$haveit"; then
18142 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18151 if ac_fn_cxx_try_compile
"$LINENO"; then :
18156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18159 if test "x$cy_good" = x1
; then :
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18161 $as_echo "yes" >&6; }
18163 for element
in -Wno-dangling-else; do
18165 for x
in $CXXFLAGS; do
18167 acl_save_prefix
="$prefix"
18168 prefix
="$acl_final_prefix"
18169 acl_save_exec_prefix
="$exec_prefix"
18170 exec_prefix
="$acl_final_exec_prefix"
18172 exec_prefix
="$acl_save_exec_prefix"
18173 prefix
="$acl_save_prefix"
18175 if test "X$x" = "X$element"; then
18180 if test -z "$haveit"; then
18181 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18188 $as_echo "no" >&6; }
18192 ac_cpp
='$CXXCPP $CPPFLAGS'
18193 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18194 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18195 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18200 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18201 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18202 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18203 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
18206 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
18208 cy_save
=$OBJCXXFLAGS
18210 for element
in -Wno-dangling-else; do
18212 for x
in $OBJCXXFLAGS; do
18214 acl_save_prefix
="$prefix"
18215 prefix
="$acl_final_prefix"
18216 acl_save_exec_prefix
="$exec_prefix"
18217 exec_prefix
="$acl_final_exec_prefix"
18219 exec_prefix
="$acl_save_exec_prefix"
18220 prefix
="$acl_save_prefix"
18222 if test "X$x" = "X$element"; then
18227 if test -z "$haveit"; then
18228 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18234 /* end confdefs.h. */
18237 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18244 OBJCXXFLAGS
=$cy_save
18245 if test "x$cy_good" = x1
; then :
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18247 $as_echo "yes" >&6; }
18249 for element
in -Wno-dangling-else; do
18251 for x
in $OBJCXXFLAGS; do
18253 acl_save_prefix
="$prefix"
18254 prefix
="$acl_final_prefix"
18255 acl_save_exec_prefix
="$exec_prefix"
18256 exec_prefix
="$acl_final_exec_prefix"
18258 exec_prefix
="$acl_save_exec_prefix"
18259 prefix
="$acl_save_prefix"
18261 if test "X$x" = "X$element"; then
18266 if test -z "$haveit"; then
18267 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18274 $as_echo "no" >&6; }
18278 ac_cpp
='$CXXCPP $CPPFLAGS'
18279 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18280 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18281 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18288 ac_cpp
='$CPP $CPPFLAGS'
18289 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18290 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18291 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
18294 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
18298 for element
in -Wno-overloaded-virtual; do
18300 for x
in $CFLAGS; do
18302 acl_save_prefix
="$prefix"
18303 prefix
="$acl_final_prefix"
18304 acl_save_exec_prefix
="$exec_prefix"
18305 exec_prefix
="$acl_final_exec_prefix"
18307 exec_prefix
="$acl_save_exec_prefix"
18308 prefix
="$acl_save_prefix"
18310 if test "X$x" = "X$element"; then
18315 if test -z "$haveit"; then
18316 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18325 if ac_fn_c_try_compile
"$LINENO"; then :
18330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18333 if test "x$cy_good" = x1
; then :
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18335 $as_echo "yes" >&6; }
18337 for element
in -Wno-overloaded-virtual; do
18339 for x
in $CFLAGS; do
18341 acl_save_prefix
="$prefix"
18342 prefix
="$acl_final_prefix"
18343 acl_save_exec_prefix
="$exec_prefix"
18344 exec_prefix
="$acl_final_exec_prefix"
18346 exec_prefix
="$acl_save_exec_prefix"
18347 prefix
="$acl_save_prefix"
18349 if test "X$x" = "X$element"; then
18354 if test -z "$haveit"; then
18355 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18362 $as_echo "no" >&6; }
18366 ac_cpp
='$CXXCPP $CPPFLAGS'
18367 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18374 ac_cpp
='$CXXCPP $CPPFLAGS'
18375 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18376 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18377 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
18380 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
18384 for element
in -Wno-overloaded-virtual; do
18386 for x
in $CXXFLAGS; do
18388 acl_save_prefix
="$prefix"
18389 prefix
="$acl_final_prefix"
18390 acl_save_exec_prefix
="$exec_prefix"
18391 exec_prefix
="$acl_final_exec_prefix"
18393 exec_prefix
="$acl_save_exec_prefix"
18394 prefix
="$acl_save_prefix"
18396 if test "X$x" = "X$element"; then
18401 if test -z "$haveit"; then
18402 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */
18411 if ac_fn_cxx_try_compile
"$LINENO"; then :
18416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18419 if test "x$cy_good" = x1
; then :
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18421 $as_echo "yes" >&6; }
18423 for element
in -Wno-overloaded-virtual; do
18425 for x
in $CXXFLAGS; do
18427 acl_save_prefix
="$prefix"
18428 prefix
="$acl_final_prefix"
18429 acl_save_exec_prefix
="$exec_prefix"
18430 exec_prefix
="$acl_final_exec_prefix"
18432 exec_prefix
="$acl_save_exec_prefix"
18433 prefix
="$acl_save_prefix"
18435 if test "X$x" = "X$element"; then
18440 if test -z "$haveit"; then
18441 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18448 $as_echo "no" >&6; }
18452 ac_cpp
='$CXXCPP $CPPFLAGS'
18453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18460 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18461 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18462 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18463 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
18466 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
18468 cy_save
=$OBJCXXFLAGS
18470 for element
in -Wno-overloaded-virtual; do
18472 for x
in $OBJCXXFLAGS; do
18474 acl_save_prefix
="$prefix"
18475 prefix
="$acl_final_prefix"
18476 acl_save_exec_prefix
="$exec_prefix"
18477 exec_prefix
="$acl_final_exec_prefix"
18479 exec_prefix
="$acl_save_exec_prefix"
18480 prefix
="$acl_save_prefix"
18482 if test "X$x" = "X$element"; then
18487 if test -z "$haveit"; then
18488 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18497 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18504 OBJCXXFLAGS
=$cy_save
18505 if test "x$cy_good" = x1
; then :
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18507 $as_echo "yes" >&6; }
18509 for element
in -Wno-overloaded-virtual; do
18511 for x
in $OBJCXXFLAGS; do
18513 acl_save_prefix
="$prefix"
18514 prefix
="$acl_final_prefix"
18515 acl_save_exec_prefix
="$exec_prefix"
18516 exec_prefix
="$acl_final_exec_prefix"
18518 exec_prefix
="$acl_save_exec_prefix"
18519 prefix
="$acl_save_prefix"
18521 if test "X$x" = "X$element"; then
18526 if test -z "$haveit"; then
18527 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18534 $as_echo "no" >&6; }
18538 ac_cpp
='$CXXCPP $CPPFLAGS'
18539 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18540 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18541 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18548 ac_cpp
='$CPP $CPPFLAGS'
18549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
18554 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
18558 for element
in -Wno-parentheses; do
18560 for x
in $CFLAGS; do
18562 acl_save_prefix
="$prefix"
18563 prefix
="$acl_final_prefix"
18564 acl_save_exec_prefix
="$exec_prefix"
18565 exec_prefix
="$acl_final_exec_prefix"
18567 exec_prefix
="$acl_save_exec_prefix"
18568 prefix
="$acl_save_prefix"
18570 if test "X$x" = "X$element"; then
18575 if test -z "$haveit"; then
18576 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18582 /* end confdefs.h. */
18585 if ac_fn_c_try_compile
"$LINENO"; then :
18590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18593 if test "x$cy_good" = x1
; then :
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18595 $as_echo "yes" >&6; }
18597 for element
in -Wno-parentheses; do
18599 for x
in $CFLAGS; do
18601 acl_save_prefix
="$prefix"
18602 prefix
="$acl_final_prefix"
18603 acl_save_exec_prefix
="$exec_prefix"
18604 exec_prefix
="$acl_final_exec_prefix"
18606 exec_prefix
="$acl_save_exec_prefix"
18607 prefix
="$acl_save_prefix"
18609 if test "X$x" = "X$element"; then
18614 if test -z "$haveit"; then
18615 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18622 $as_echo "no" >&6; }
18626 ac_cpp
='$CXXCPP $CPPFLAGS'
18627 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18628 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18629 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18634 ac_cpp
='$CXXCPP $CPPFLAGS'
18635 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18636 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18637 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
18640 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
18644 for element
in -Wno-parentheses; do
18646 for x
in $CXXFLAGS; do
18648 acl_save_prefix
="$prefix"
18649 prefix
="$acl_final_prefix"
18650 acl_save_exec_prefix
="$exec_prefix"
18651 exec_prefix
="$acl_final_exec_prefix"
18653 exec_prefix
="$acl_save_exec_prefix"
18654 prefix
="$acl_save_prefix"
18656 if test "X$x" = "X$element"; then
18661 if test -z "$haveit"; then
18662 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18668 /* end confdefs.h. */
18671 if ac_fn_cxx_try_compile
"$LINENO"; then :
18676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18679 if test "x$cy_good" = x1
; then :
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18681 $as_echo "yes" >&6; }
18683 for element
in -Wno-parentheses; do
18685 for x
in $CXXFLAGS; do
18687 acl_save_prefix
="$prefix"
18688 prefix
="$acl_final_prefix"
18689 acl_save_exec_prefix
="$exec_prefix"
18690 exec_prefix
="$acl_final_exec_prefix"
18692 exec_prefix
="$acl_save_exec_prefix"
18693 prefix
="$acl_save_prefix"
18695 if test "X$x" = "X$element"; then
18700 if test -z "$haveit"; then
18701 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18708 $as_echo "no" >&6; }
18712 ac_cpp
='$CXXCPP $CPPFLAGS'
18713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18720 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18721 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18722 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18723 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
18726 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
18728 cy_save
=$OBJCXXFLAGS
18730 for element
in -Wno-parentheses; do
18732 for x
in $OBJCXXFLAGS; do
18734 acl_save_prefix
="$prefix"
18735 prefix
="$acl_final_prefix"
18736 acl_save_exec_prefix
="$exec_prefix"
18737 exec_prefix
="$acl_final_exec_prefix"
18739 exec_prefix
="$acl_save_exec_prefix"
18740 prefix
="$acl_save_prefix"
18742 if test "X$x" = "X$element"; then
18747 if test -z "$haveit"; then
18748 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18757 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18764 OBJCXXFLAGS
=$cy_save
18765 if test "x$cy_good" = x1
; then :
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18767 $as_echo "yes" >&6; }
18769 for element
in -Wno-parentheses; do
18771 for x
in $OBJCXXFLAGS; do
18773 acl_save_prefix
="$prefix"
18774 prefix
="$acl_final_prefix"
18775 acl_save_exec_prefix
="$exec_prefix"
18776 exec_prefix
="$acl_final_exec_prefix"
18778 exec_prefix
="$acl_save_exec_prefix"
18779 prefix
="$acl_save_prefix"
18781 if test "X$x" = "X$element"; then
18786 if test -z "$haveit"; then
18787 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18794 $as_echo "no" >&6; }
18798 ac_cpp
='$CXXCPP $CPPFLAGS'
18799 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18800 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18801 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18808 ac_cpp
='$CPP $CPPFLAGS'
18809 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18810 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18811 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
18814 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
18818 for element
in -Wno-unneeded-internal-declaration; do
18820 for x
in $CFLAGS; do
18822 acl_save_prefix
="$prefix"
18823 prefix
="$acl_final_prefix"
18824 acl_save_exec_prefix
="$exec_prefix"
18825 exec_prefix
="$acl_final_exec_prefix"
18827 exec_prefix
="$acl_save_exec_prefix"
18828 prefix
="$acl_save_prefix"
18830 if test "X$x" = "X$element"; then
18835 if test -z "$haveit"; then
18836 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18845 if ac_fn_c_try_compile
"$LINENO"; then :
18850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18853 if test "x$cy_good" = x1
; then :
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18855 $as_echo "yes" >&6; }
18857 for element
in -Wno-unneeded-internal-declaration; do
18859 for x
in $CFLAGS; do
18861 acl_save_prefix
="$prefix"
18862 prefix
="$acl_final_prefix"
18863 acl_save_exec_prefix
="$exec_prefix"
18864 exec_prefix
="$acl_final_exec_prefix"
18866 exec_prefix
="$acl_save_exec_prefix"
18867 prefix
="$acl_save_prefix"
18869 if test "X$x" = "X$element"; then
18874 if test -z "$haveit"; then
18875 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18882 $as_echo "no" >&6; }
18886 ac_cpp
='$CXXCPP $CPPFLAGS'
18887 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18888 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18889 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18894 ac_cpp
='$CXXCPP $CPPFLAGS'
18895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18900 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18904 for element
in -Wno-unneeded-internal-declaration; do
18906 for x
in $CXXFLAGS; do
18908 acl_save_prefix
="$prefix"
18909 prefix
="$acl_final_prefix"
18910 acl_save_exec_prefix
="$exec_prefix"
18911 exec_prefix
="$acl_final_exec_prefix"
18913 exec_prefix
="$acl_save_exec_prefix"
18914 prefix
="$acl_save_prefix"
18916 if test "X$x" = "X$element"; then
18921 if test -z "$haveit"; then
18922 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18931 if ac_fn_cxx_try_compile
"$LINENO"; then :
18936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18939 if test "x$cy_good" = x1
; then :
18940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18941 $as_echo "yes" >&6; }
18943 for element
in -Wno-unneeded-internal-declaration; do
18945 for x
in $CXXFLAGS; do
18947 acl_save_prefix
="$prefix"
18948 prefix
="$acl_final_prefix"
18949 acl_save_exec_prefix
="$exec_prefix"
18950 exec_prefix
="$acl_final_exec_prefix"
18952 exec_prefix
="$acl_save_exec_prefix"
18953 prefix
="$acl_save_prefix"
18955 if test "X$x" = "X$element"; then
18960 if test -z "$haveit"; then
18961 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18968 $as_echo "no" >&6; }
18972 ac_cpp
='$CXXCPP $CPPFLAGS'
18973 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18974 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18975 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18980 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18981 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18982 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18983 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18986 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18988 cy_save
=$OBJCXXFLAGS
18990 for element
in -Wno-unneeded-internal-declaration; do
18992 for x
in $OBJCXXFLAGS; do
18994 acl_save_prefix
="$prefix"
18995 prefix
="$acl_final_prefix"
18996 acl_save_exec_prefix
="$exec_prefix"
18997 exec_prefix
="$acl_final_exec_prefix"
18999 exec_prefix
="$acl_save_exec_prefix"
19000 prefix
="$acl_save_prefix"
19002 if test "X$x" = "X$element"; then
19007 if test -z "$haveit"; then
19008 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19017 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19024 OBJCXXFLAGS
=$cy_save
19025 if test "x$cy_good" = x1
; then :
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19027 $as_echo "yes" >&6; }
19029 for element
in -Wno-unneeded-internal-declaration; do
19031 for x
in $OBJCXXFLAGS; do
19033 acl_save_prefix
="$prefix"
19034 prefix
="$acl_final_prefix"
19035 acl_save_exec_prefix
="$exec_prefix"
19036 exec_prefix
="$acl_final_exec_prefix"
19038 exec_prefix
="$acl_save_exec_prefix"
19039 prefix
="$acl_save_prefix"
19041 if test "X$x" = "X$element"; then
19046 if test -z "$haveit"; then
19047 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19054 $as_echo "no" >&6; }
19058 ac_cpp
='$CXXCPP $CPPFLAGS'
19059 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19060 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19061 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19068 for cy_arch
in ppc ppc64 i386 x86_64 armv6 arm64
; do
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
19070 $as_echo_n "checking for -arch $cy_arch... " >&6; }
19074 for element
in "-arch $cy_arch"; do
19076 for x
in $CXXFLAGS; do
19078 acl_save_prefix
="$prefix"
19079 prefix
="$acl_final_prefix"
19080 acl_save_exec_prefix
="$exec_prefix"
19081 exec_prefix
="$acl_final_exec_prefix"
19083 exec_prefix
="$acl_save_exec_prefix"
19084 prefix
="$acl_save_prefix"
19086 if test "X$x" = "X$element"; then
19091 if test -z "$haveit"; then
19092 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19098 /* end confdefs.h. */
19108 if ac_fn_cxx_try_link
"$LINENO"; then :
19113 rm -f core conftest.err conftest.
$ac_objext \
19114 conftest
$ac_exeext conftest.
$ac_ext
19117 if test "x$cy_good" = x1
; then :
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19119 $as_echo "yes" >&6; }
19121 for element
in "-arch $cy_arch"; do
19123 for x
in $CY_ARCH; do
19125 acl_save_prefix
="$prefix"
19126 prefix
="$acl_final_prefix"
19127 acl_save_exec_prefix
="$exec_prefix"
19128 exec_prefix
="$acl_final_exec_prefix"
19130 exec_prefix
="$acl_save_exec_prefix"
19131 prefix
="$acl_save_prefix"
19133 if test "X$x" = "X$element"; then
19138 if test -z "$haveit"; then
19139 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19146 $as_echo "no" >&6; }
19156 # Check whether --enable-javascript was given.
19157 if test "${enable_javascript+set}" = set; then :
19158 enableval
=$enable_javascript;
19159 case $enableval in #(
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19168 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19169 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19170 $as_echo_n "(cached) " >&6
19172 ac_func_search_save_LIBS
=$LIBS
19173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h. */
19176 /* Override any GCC internal prototype to avoid an error.
19177 Use char because int might match the return type of a GCC
19178 builtin and then its argument prototype would still apply. */
19182 char JSEvaluateScript ();
19186 return JSEvaluateScript ();
19191 for ac_lib
in '' JavaScriptCore
; do
19192 if test -z "$ac_lib"; then
19193 ac_res
="none required"
19196 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19198 if ac_fn_cxx_try_link
"$LINENO"; then :
19199 ac_cv_search_JSEvaluateScript
=$ac_res
19201 rm -f core conftest.err conftest.
$ac_objext \
19203 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19207 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19210 ac_cv_search_JSEvaluateScript
=no
19212 rm conftest.
$ac_ext
19213 LIBS
=$ac_func_search_save_LIBS
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19216 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19217 ac_res
=$ac_cv_search_JSEvaluateScript
19218 if test "$ac_res" != no
; then :
19219 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19227 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19228 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19229 $as_echo_n "(cached) " >&6
19232 ac_check_framework_save_LIBS
=$LIBS
19233 LIBS
="-framework JavaScriptCore $LIBS"
19234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19235 /* end confdefs.h. */
19237 #include <JavaScriptCore/JSBase.h>
19243 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19249 if ac_fn_cxx_try_link
"$LINENO"; then :
19251 ac_cv_framework_JavaScriptCore
=yes
19254 ac_cv_framework_JavaScriptCore
=no
19256 rm -f core conftest.err conftest.
$ac_objext \
19257 conftest
$ac_exeext conftest.
$ac_ext
19258 LIBS
=$ac_check_framework_save_LIBS
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19262 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19263 if test $ac_cv_framework_JavaScriptCore = yes; then :
19266 for element
in "-framework JavaScriptCore"; do
19270 acl_save_prefix
="$prefix"
19271 prefix
="$acl_final_prefix"
19272 acl_save_exec_prefix
="$exec_prefix"
19273 exec_prefix
="$acl_final_exec_prefix"
19275 exec_prefix
="$acl_save_exec_prefix"
19276 prefix
="$acl_save_prefix"
19278 if test "X$x" = "X$element"; then
19283 if test -z "$haveit"; then
19284 LIBS
="${LIBS}${LIBS:+ }$element"
19295 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
19299 $as_echo_n "checking for WEBKIT... " >&6; }
19301 if test -n "$WEBKIT_CFLAGS"; then
19302 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
19303 elif test -n "$PKG_CONFIG"; then
19304 if test -n "$PKG_CONFIG" && \
19305 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19306 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19309 test $ac_status = 0; }; then
19310 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
19311 test "x$?" != "x0" && pkg_failed
=yes
19318 if test -n "$WEBKIT_LIBS"; then
19319 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
19320 elif test -n "$PKG_CONFIG"; then
19321 if test -n "$PKG_CONFIG" && \
19322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19323 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19326 test $ac_status = 0; }; then
19327 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19328 test "x$?" != "x0" && pkg_failed
=yes
19338 if test $pkg_failed = yes; then
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19340 $as_echo "no" >&6; }
19342 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19343 _pkg_short_errors_supported
=yes
19345 _pkg_short_errors_supported
=no
19347 if test $_pkg_short_errors_supported = yes; then
19348 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19350 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19352 # Put the nasty error message in config.log where it belongs
19353 echo "$WEBKIT_PKG_ERRORS" >&5
19356 elif test $pkg_failed = untried
; then
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19358 $as_echo "no" >&6; }
19361 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19362 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19364 $as_echo "yes" >&6; }
19369 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19371 for x
in $CPPFLAGS; do
19373 acl_save_prefix
="$prefix"
19374 prefix
="$acl_final_prefix"
19375 acl_save_exec_prefix
="$exec_prefix"
19376 exec_prefix
="$acl_final_exec_prefix"
19378 exec_prefix
="$acl_save_exec_prefix"
19379 prefix
="$acl_save_prefix"
19381 if test "X$x" = "X$element"; then
19386 if test -z "$haveit"; then
19387 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19392 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19396 acl_save_prefix
="$prefix"
19397 prefix
="$acl_final_prefix"
19398 acl_save_exec_prefix
="$exec_prefix"
19399 exec_prefix
="$acl_final_exec_prefix"
19401 exec_prefix
="$acl_save_exec_prefix"
19402 prefix
="$acl_save_prefix"
19404 if test "X$x" = "X$element"; then
19409 if test -z "$haveit"; then
19410 LIBS
="${LIBS}${LIBS:+ }$element"
19415 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19421 LTJAVASCRIPTCORE
=$LIBS
19436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19437 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19438 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19439 $as_echo_n "(cached) " >&6
19441 ac_func_search_save_LIBS
=$LIBS
19442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19443 /* end confdefs.h. */
19445 /* Override any GCC internal prototype to avoid an error.
19446 Use char because int might match the return type of a GCC
19447 builtin and then its argument prototype would still apply. */
19451 char JSEvaluateScript ();
19455 return JSEvaluateScript ();
19460 for ac_lib
in '' JavaScriptCore
; do
19461 if test -z "$ac_lib"; then
19462 ac_res
="none required"
19465 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19467 if ac_fn_cxx_try_link
"$LINENO"; then :
19468 ac_cv_search_JSEvaluateScript
=$ac_res
19470 rm -f core conftest.err conftest.
$ac_objext \
19472 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19476 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19479 ac_cv_search_JSEvaluateScript
=no
19481 rm conftest.
$ac_ext
19482 LIBS
=$ac_func_search_save_LIBS
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19485 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19486 ac_res
=$ac_cv_search_JSEvaluateScript
19487 if test "$ac_res" != no
; then :
19488 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19496 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19497 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19498 $as_echo_n "(cached) " >&6
19501 ac_check_framework_save_LIBS
=$LIBS
19502 LIBS
="-framework JavaScriptCore $LIBS"
19503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19506 #include <JavaScriptCore/JSBase.h>
19512 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19518 if ac_fn_cxx_try_link
"$LINENO"; then :
19520 ac_cv_framework_JavaScriptCore
=yes
19523 ac_cv_framework_JavaScriptCore
=no
19525 rm -f core conftest.err conftest.
$ac_objext \
19526 conftest
$ac_exeext conftest.
$ac_ext
19527 LIBS
=$ac_check_framework_save_LIBS
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19531 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19532 if test $ac_cv_framework_JavaScriptCore = yes; then :
19535 for element
in "-framework JavaScriptCore"; do
19539 acl_save_prefix
="$prefix"
19540 prefix
="$acl_final_prefix"
19541 acl_save_exec_prefix
="$exec_prefix"
19542 exec_prefix
="$acl_final_exec_prefix"
19544 exec_prefix
="$acl_save_exec_prefix"
19545 prefix
="$acl_save_prefix"
19547 if test "X$x" = "X$element"; then
19552 if test -z "$haveit"; then
19553 LIBS
="${LIBS}${LIBS:+ }$element"
19564 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
19568 $as_echo_n "checking for WEBKIT... " >&6; }
19570 if test -n "$WEBKIT_CFLAGS"; then
19571 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
19572 elif test -n "$PKG_CONFIG"; then
19573 if test -n "$PKG_CONFIG" && \
19574 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19575 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19578 test $ac_status = 0; }; then
19579 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
19580 test "x$?" != "x0" && pkg_failed
=yes
19587 if test -n "$WEBKIT_LIBS"; then
19588 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
19589 elif test -n "$PKG_CONFIG"; then
19590 if test -n "$PKG_CONFIG" && \
19591 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19592 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19595 test $ac_status = 0; }; then
19596 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19597 test "x$?" != "x0" && pkg_failed
=yes
19607 if test $pkg_failed = yes; then
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19609 $as_echo "no" >&6; }
19611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19612 _pkg_short_errors_supported
=yes
19614 _pkg_short_errors_supported
=no
19616 if test $_pkg_short_errors_supported = yes; then
19617 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19619 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19621 # Put the nasty error message in config.log where it belongs
19622 echo "$WEBKIT_PKG_ERRORS" >&5
19625 elif test $pkg_failed = untried
; then
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19627 $as_echo "no" >&6; }
19630 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19631 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19633 $as_echo "yes" >&6; }
19638 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19640 for x
in $CPPFLAGS; do
19642 acl_save_prefix
="$prefix"
19643 prefix
="$acl_final_prefix"
19644 acl_save_exec_prefix
="$exec_prefix"
19645 exec_prefix
="$acl_final_exec_prefix"
19647 exec_prefix
="$acl_save_exec_prefix"
19648 prefix
="$acl_save_prefix"
19650 if test "X$x" = "X$element"; then
19655 if test -z "$haveit"; then
19656 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19661 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19665 acl_save_prefix
="$prefix"
19666 prefix
="$acl_final_prefix"
19667 acl_save_exec_prefix
="$exec_prefix"
19668 exec_prefix
="$acl_final_exec_prefix"
19670 exec_prefix
="$acl_save_exec_prefix"
19671 prefix
="$acl_save_prefix"
19673 if test "X$x" = "X$element"; then
19678 if test -z "$haveit"; then
19679 LIBS
="${LIBS}${LIBS:+ }$element"
19684 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19690 LTJAVASCRIPTCORE
=$LIBS
19696 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19706 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19707 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19708 $as_echo_n "(cached) " >&6
19710 ac_func_search_save_LIBS
=$LIBS
19711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19712 /* end confdefs.h. */
19714 /* Override any GCC internal prototype to avoid an error.
19715 Use char because int might match the return type of a GCC
19716 builtin and then its argument prototype would still apply. */
19720 char JSEvaluateScript ();
19724 return JSEvaluateScript ();
19729 for ac_lib
in '' JavaScriptCore
; do
19730 if test -z "$ac_lib"; then
19731 ac_res
="none required"
19734 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19736 if ac_fn_cxx_try_link
"$LINENO"; then :
19737 ac_cv_search_JSEvaluateScript
=$ac_res
19739 rm -f core conftest.err conftest.
$ac_objext \
19741 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19745 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19748 ac_cv_search_JSEvaluateScript
=no
19750 rm conftest.
$ac_ext
19751 LIBS
=$ac_func_search_save_LIBS
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19754 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19755 ac_res
=$ac_cv_search_JSEvaluateScript
19756 if test "$ac_res" != no
; then :
19757 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19765 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19766 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19767 $as_echo_n "(cached) " >&6
19770 ac_check_framework_save_LIBS
=$LIBS
19771 LIBS
="-framework JavaScriptCore $LIBS"
19772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19773 /* end confdefs.h. */
19775 #include <JavaScriptCore/JSBase.h>
19781 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19787 if ac_fn_cxx_try_link
"$LINENO"; then :
19789 ac_cv_framework_JavaScriptCore
=yes
19792 ac_cv_framework_JavaScriptCore
=no
19794 rm -f core conftest.err conftest.
$ac_objext \
19795 conftest
$ac_exeext conftest.
$ac_ext
19796 LIBS
=$ac_check_framework_save_LIBS
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19800 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19801 if test $ac_cv_framework_JavaScriptCore = yes; then :
19804 for element
in "-framework JavaScriptCore"; do
19808 acl_save_prefix
="$prefix"
19809 prefix
="$acl_final_prefix"
19810 acl_save_exec_prefix
="$exec_prefix"
19811 exec_prefix
="$acl_final_exec_prefix"
19813 exec_prefix
="$acl_save_exec_prefix"
19814 prefix
="$acl_save_prefix"
19816 if test "X$x" = "X$element"; then
19821 if test -z "$haveit"; then
19822 LIBS
="${LIBS}${LIBS:+ }$element"
19833 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
19837 $as_echo_n "checking for WEBKIT... " >&6; }
19839 if test -n "$WEBKIT_CFLAGS"; then
19840 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
19841 elif test -n "$PKG_CONFIG"; then
19842 if test -n "$PKG_CONFIG" && \
19843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19844 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19847 test $ac_status = 0; }; then
19848 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
19849 test "x$?" != "x0" && pkg_failed
=yes
19856 if test -n "$WEBKIT_LIBS"; then
19857 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
19858 elif test -n "$PKG_CONFIG"; then
19859 if test -n "$PKG_CONFIG" && \
19860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19861 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19864 test $ac_status = 0; }; then
19865 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19866 test "x$?" != "x0" && pkg_failed
=yes
19876 if test $pkg_failed = yes; then
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19878 $as_echo "no" >&6; }
19880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19881 _pkg_short_errors_supported
=yes
19883 _pkg_short_errors_supported
=no
19885 if test $_pkg_short_errors_supported = yes; then
19886 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19888 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19890 # Put the nasty error message in config.log where it belongs
19891 echo "$WEBKIT_PKG_ERRORS" >&5
19894 elif test $pkg_failed = untried
; then
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19896 $as_echo "no" >&6; }
19899 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19900 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19902 $as_echo "yes" >&6; }
19907 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19909 for x
in $CPPFLAGS; do
19911 acl_save_prefix
="$prefix"
19912 prefix
="$acl_final_prefix"
19913 acl_save_exec_prefix
="$exec_prefix"
19914 exec_prefix
="$acl_final_exec_prefix"
19916 exec_prefix
="$acl_save_exec_prefix"
19917 prefix
="$acl_save_prefix"
19919 if test "X$x" = "X$element"; then
19924 if test -z "$haveit"; then
19925 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19930 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19934 acl_save_prefix
="$prefix"
19935 prefix
="$acl_final_prefix"
19936 acl_save_exec_prefix
="$exec_prefix"
19937 exec_prefix
="$acl_final_exec_prefix"
19939 exec_prefix
="$acl_save_exec_prefix"
19940 prefix
="$acl_save_prefix"
19942 if test "X$x" = "X$element"; then
19947 if test -z "$haveit"; then
19948 LIBS
="${LIBS}${LIBS:+ }$element"
19953 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19959 LTJAVASCRIPTCORE
=$LIBS
19967 # Check whether --enable-console was given.
19968 if test "${enable_console+set}" = set; then :
19969 enableval
=$enable_console;
19972 if test "x$enable_console" != "xno"; then
19974 CY_CONSOLE_FALSE
='#'
19976 CY_CONSOLE_TRUE
='#'
19983 if test "x$CY_EXECUTE" = x1
; then
19985 CY_EXECUTE_FALSE
='#'
19987 CY_EXECUTE_TRUE
='#'
19993 case $CY_EXECUTE in #(
19996 for ac_header
in ffi.h ffi
/ffi.h
19998 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19999 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20000 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20001 cat >>confdefs.h
<<_ACEOF
20002 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20013 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
20017 C compiler flags
for LIBFFI
, overriding pkg
-config
20018 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
20022 $as_echo_n "checking for LIBFFI... " >&6; }
20024 if test -n "$LIBFFI_CFLAGS"; then
20025 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
20026 elif test -n "$PKG_CONFIG"; then
20027 if test -n "$PKG_CONFIG" && \
20028 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20029 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20032 test $ac_status = 0; }; then
20033 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
20034 test "x$?" != "x0" && pkg_failed
=yes
20041 if test -n "$LIBFFI_LIBS"; then
20042 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
20043 elif test -n "$PKG_CONFIG"; then
20044 if test -n "$PKG_CONFIG" && \
20045 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20046 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20049 test $ac_status = 0; }; then
20050 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
20051 test "x$?" != "x0" && pkg_failed
=yes
20061 if test $pkg_failed = yes; then
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20063 $as_echo "no" >&6; }
20065 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20066 _pkg_short_errors_supported
=yes
20068 _pkg_short_errors_supported
=no
20070 if test $_pkg_short_errors_supported = yes; then
20071 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20073 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20075 # Put the nasty error message in config.log where it belongs
20076 echo "$LIBFFI_PKG_ERRORS" >&5
20078 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20079 elif test $pkg_failed = untried
; then
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20081 $as_echo "no" >&6; }
20082 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20084 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20085 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20087 $as_echo "yes" >&6; }
20090 for element
in `$PKG_CONFIG --cflags libffi`; do
20092 for x
in $CPPFLAGS; do
20094 acl_save_prefix
="$prefix"
20095 prefix
="$acl_final_prefix"
20096 acl_save_exec_prefix
="$exec_prefix"
20097 exec_prefix
="$acl_final_exec_prefix"
20099 exec_prefix
="$acl_save_exec_prefix"
20100 prefix
="$acl_save_prefix"
20102 if test "X$x" = "X$element"; then
20107 if test -z "$haveit"; then
20108 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20113 for element
in `$PKG_CONFIG --libs libffi`; do
20117 acl_save_prefix
="$prefix"
20118 prefix
="$acl_final_prefix"
20119 acl_save_exec_prefix
="$exec_prefix"
20120 exec_prefix
="$acl_final_exec_prefix"
20122 exec_prefix
="$acl_save_exec_prefix"
20123 prefix
="$acl_save_prefix"
20125 if test "X$x" = "X$element"; then
20130 if test -z "$haveit"; then
20131 LIBS
="${LIBS}${LIBS:+ }$element"
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
20141 $as_echo_n "checking for library containing ffi_call... " >&6; }
20142 if ${ac_cv_search_ffi_call+:} false
; then :
20143 $as_echo_n "(cached) " >&6
20145 ac_func_search_save_LIBS
=$LIBS
20146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20147 /* end confdefs.h. */
20149 /* Override any GCC internal prototype to avoid an error.
20150 Use char because int might match the return type of a GCC
20151 builtin and then its argument prototype would still apply. */
20159 return ffi_call ();
20164 for ac_lib
in '' ffi
; do
20165 if test -z "$ac_lib"; then
20166 ac_res
="none required"
20169 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20171 if ac_fn_cxx_try_link
"$LINENO"; then :
20172 ac_cv_search_ffi_call
=$ac_res
20174 rm -f core conftest.err conftest.
$ac_objext \
20176 if ${ac_cv_search_ffi_call+:} false
; then :
20180 if ${ac_cv_search_ffi_call+:} false
; then :
20183 ac_cv_search_ffi_call
=no
20185 rm conftest.
$ac_ext
20186 LIBS
=$ac_func_search_save_LIBS
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
20189 $as_echo "$ac_cv_search_ffi_call" >&6; }
20190 ac_res
=$ac_cv_search_ffi_call
20191 if test "$ac_res" != no
; then :
20192 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20196 case $ac_cv_search_ffi_call in #(
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
20202 $as_echo_n "checking for LIBFFI... " >&6; }
20204 if test -n "$LIBFFI_CFLAGS"; then
20205 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
20206 elif test -n "$PKG_CONFIG"; then
20207 if test -n "$PKG_CONFIG" && \
20208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20209 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20212 test $ac_status = 0; }; then
20213 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
20214 test "x$?" != "x0" && pkg_failed
=yes
20221 if test -n "$LIBFFI_LIBS"; then
20222 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
20223 elif test -n "$PKG_CONFIG"; then
20224 if test -n "$PKG_CONFIG" && \
20225 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20226 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20229 test $ac_status = 0; }; then
20230 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
20231 test "x$?" != "x0" && pkg_failed
=yes
20241 if test $pkg_failed = yes; then
20242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20243 $as_echo "no" >&6; }
20245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20246 _pkg_short_errors_supported
=yes
20248 _pkg_short_errors_supported
=no
20250 if test $_pkg_short_errors_supported = yes; then
20251 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20253 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20255 # Put the nasty error message in config.log where it belongs
20256 echo "$LIBFFI_PKG_ERRORS" >&5
20258 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20259 elif test $pkg_failed = untried
; then
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20261 $as_echo "no" >&6; }
20262 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20264 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20265 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20267 $as_echo "yes" >&6; }
20270 for element
in `$PKG_CONFIG --cflags libffi`; do
20272 for x
in $CPPFLAGS; do
20274 acl_save_prefix
="$prefix"
20275 prefix
="$acl_final_prefix"
20276 acl_save_exec_prefix
="$exec_prefix"
20277 exec_prefix
="$acl_final_exec_prefix"
20279 exec_prefix
="$acl_save_exec_prefix"
20280 prefix
="$acl_save_prefix"
20282 if test "X$x" = "X$element"; then
20287 if test -z "$haveit"; then
20288 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20293 for element
in `$PKG_CONFIG --libs libffi`; do
20297 acl_save_prefix
="$prefix"
20298 prefix
="$acl_final_prefix"
20299 acl_save_exec_prefix
="$exec_prefix"
20300 exec_prefix
="$acl_final_exec_prefix"
20302 exec_prefix
="$acl_save_exec_prefix"
20303 prefix
="$acl_save_prefix"
20305 if test "X$x" = "X$element"; then
20310 if test -z "$haveit"; then
20311 LIBS
="${LIBS}${LIBS:+ }$element"
20327 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
20328 if test "x$ac_cv_header_jni_h" = xyes
; then :
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
20336 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
20337 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20338 $as_echo_n "(cached) " >&6
20340 ac_func_search_save_LIBS
=$LIBS
20341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20342 /* end confdefs.h. */
20344 /* Override any GCC internal prototype to avoid an error.
20345 Use char because int might match the return type of a GCC
20346 builtin and then its argument prototype would still apply. */
20350 char JNI_GetCreatedJavaVMs ();
20354 return JNI_GetCreatedJavaVMs ();
20359 for ac_lib
in '' dvm
; do
20360 if test -z "$ac_lib"; then
20361 ac_res
="none required"
20364 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20366 if ac_fn_cxx_try_link
"$LINENO"; then :
20367 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
20369 rm -f core conftest.err conftest.
$ac_objext \
20371 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20375 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20378 ac_cv_search_JNI_GetCreatedJavaVMs
=no
20380 rm conftest.
$ac_ext
20381 LIBS
=$ac_func_search_save_LIBS
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
20384 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
20385 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
20386 if test "$ac_res" != no
; then :
20387 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20407 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20408 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20409 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20410 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
20414 $as_echo_n "checking if we really have Objective C++... " >&6; }
20415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20416 /* end confdefs.h. */
20419 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20423 $as_echo "yes" >&6; }
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20427 $as_echo "no" >&6; }
20429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20431 if test "x$CY_OBJECTIVEC" = x1
; then :
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
20438 $as_echo_n "checking for framework CoreFoundation... " >&6; }
20439 if ${ac_cv_framework_CoreFoundation+:} false
; then :
20440 $as_echo_n "(cached) " >&6
20443 ac_check_framework_save_LIBS
=$LIBS
20444 LIBS
="-framework CoreFoundation $LIBS"
20445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20446 /* end confdefs.h. */
20448 #include <CoreFoundation/CFBase.h>
20453 CFAllocatorGetDefault();
20458 if ac_fn_objcxx_try_link
"$LINENO"; then :
20460 ac_cv_framework_CoreFoundation
=yes
20463 ac_cv_framework_CoreFoundation
=no
20465 rm -f core conftest.err conftest.
$ac_objext \
20466 conftest
$ac_exeext conftest.
$ac_ext
20467 LIBS
=$ac_check_framework_save_LIBS
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
20471 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
20472 if test $ac_cv_framework_CoreFoundation = yes; then :
20475 for element
in "-framework CoreFoundation"; do
20479 acl_save_prefix
="$prefix"
20480 prefix
="$acl_final_prefix"
20481 acl_save_exec_prefix
="$exec_prefix"
20482 exec_prefix
="$acl_final_exec_prefix"
20484 exec_prefix
="$acl_save_exec_prefix"
20485 prefix
="$acl_save_prefix"
20487 if test "X$x" = "X$element"; then
20492 if test -z "$haveit"; then
20493 LIBS
="${LIBS}${LIBS:+ }$element"
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
20503 $as_echo_n "checking for framework Foundation... " >&6; }
20504 if ${ac_cv_framework_Foundation+:} false
; then :
20505 $as_echo_n "(cached) " >&6
20508 ac_check_framework_save_LIBS
=$LIBS
20509 LIBS
="-framework Foundation $LIBS"
20510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20511 /* end confdefs.h. */
20513 #include <Foundation/NSObject.h>
20518 [[NSObject alloc] init];
20523 if ac_fn_objcxx_try_link
"$LINENO"; then :
20525 ac_cv_framework_Foundation
=yes
20528 ac_cv_framework_Foundation
=no
20530 rm -f core conftest.err conftest.
$ac_objext \
20531 conftest
$ac_exeext conftest.
$ac_ext
20532 LIBS
=$ac_check_framework_save_LIBS
20535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
20536 $as_echo "$ac_cv_framework_Foundation" >&6; }
20537 if test $ac_cv_framework_Foundation = yes; then :
20540 for element
in "-framework Foundation"; do
20544 acl_save_prefix
="$prefix"
20545 prefix
="$acl_final_prefix"
20546 acl_save_exec_prefix
="$exec_prefix"
20547 exec_prefix
="$acl_final_exec_prefix"
20549 exec_prefix
="$acl_save_exec_prefix"
20550 prefix
="$acl_save_prefix"
20552 if test "X$x" = "X$element"; then
20557 if test -z "$haveit"; then
20558 LIBS
="${LIBS}${LIBS:+ }$element"
20562 cat >>confdefs.h
<<_ACEOF
20563 #define HAVE_FRAMEWORK_FOUNDATION 1
20573 for ac_prog
in gnustep
-config
20575 # Extract the first word of "$ac_prog", so it can be a program name with args.
20576 set dummy
$ac_prog; ac_word
=$2
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20578 $as_echo_n "checking for $ac_word... " >&6; }
20579 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
20580 $as_echo_n "(cached) " >&6
20582 if test -n "$GNUSTEP_CONFIG"; then
20583 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
20585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20586 for as_dir
in $PATH
20589 test -z "$as_dir" && as_dir
=.
20590 for ac_exec_ext
in '' $ac_executable_extensions; do
20591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20592 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
20593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20602 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
20603 if test -n "$GNUSTEP_CONFIG"; then
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
20605 $as_echo "$GNUSTEP_CONFIG" >&6; }
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20608 $as_echo "no" >&6; }
20612 test -n "$GNUSTEP_CONFIG" && break
20616 if test "x$GNUSTEP_CONFIG" != x
; then :
20620 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
20622 for x
in $OBJCXXFLAGS; do
20624 acl_save_prefix
="$prefix"
20625 prefix
="$acl_final_prefix"
20626 acl_save_exec_prefix
="$exec_prefix"
20627 exec_prefix
="$acl_final_exec_prefix"
20629 exec_prefix
="$acl_save_exec_prefix"
20630 prefix
="$acl_save_prefix"
20632 if test "X$x" = "X$element"; then
20637 if test -z "$haveit"; then
20638 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20643 for element
in `$GNUSTEP_CONFIG --base-libs`; do
20647 acl_save_prefix
="$prefix"
20648 prefix
="$acl_final_prefix"
20649 acl_save_exec_prefix
="$exec_prefix"
20650 exec_prefix
="$acl_final_exec_prefix"
20652 exec_prefix
="$acl_save_exec_prefix"
20653 prefix
="$acl_save_prefix"
20655 if test "X$x" = "X$element"; then
20660 if test -z "$haveit"; then
20661 LIBS
="${LIBS}${LIBS:+ }$element"
20680 ac_cpp
='$CXXCPP $CPPFLAGS'
20681 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20690 if test "x$CY_JAVA" = x1
; then
20698 if test "x$CY_OBJECTIVEC" = x1
; then
20699 CY_OBJECTIVEC_TRUE
=
20700 CY_OBJECTIVEC_FALSE
='#'
20702 CY_OBJECTIVEC_TRUE
='#'
20703 CY_OBJECTIVEC_FALSE
=
20711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
20712 $as_echo_n "checking for a readline compatible library... " >&6; }
20713 if ${ax_cv_lib_readline+:} false
; then :
20714 $as_echo_n "(cached) " >&6
20718 for readline_lib
in readline edit editline
; do
20719 for termcap_lib
in "" termcap curses ncurses
; do
20720 if test -z "$termcap_lib"; then
20721 TRY_LIB
="-l$readline_lib"
20723 TRY_LIB
="-l$readline_lib -l$termcap_lib"
20725 LIBS
="$ORIG_LIBS $TRY_LIB"
20726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20727 /* end confdefs.h. */
20729 /* Override any GCC internal prototype to avoid an error.
20730 Use char because int might match the return type of a GCC
20731 builtin and then its argument prototype would still apply. */
20739 return readline ();
20744 if ac_fn_cxx_try_link
"$LINENO"; then :
20745 ax_cv_lib_readline
="$TRY_LIB"
20747 rm -f core conftest.err conftest.
$ac_objext \
20748 conftest
$ac_exeext conftest.
$ac_ext
20749 if test -n "$ax_cv_lib_readline"; then
20753 if test -n "$ax_cv_lib_readline"; then
20757 if test -z "$ax_cv_lib_readline"; then
20758 ax_cv_lib_readline
="no"
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
20764 $as_echo "$ax_cv_lib_readline" >&6; }
20766 if test "$ax_cv_lib_readline" != "no"; then
20767 LIBS
="$LIBS $ax_cv_lib_readline"
20769 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
20771 for ac_header
in readline.h readline
/readline.h
20773 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20774 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20775 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20776 cat >>confdefs.h
<<_ACEOF
20777 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
20785 $as_echo_n "checking whether readline supports history... " >&6; }
20786 if ${ax_cv_lib_readline_history+:} false
; then :
20787 $as_echo_n "(cached) " >&6
20790 ax_cv_lib_readline_history
="no"
20791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20792 /* end confdefs.h. */
20794 /* Override any GCC internal prototype to avoid an error.
20795 Use char because int might match the return type of a GCC
20796 builtin and then its argument prototype would still apply. */
20800 char add_history ();
20804 return add_history ();
20809 if ac_fn_cxx_try_link
"$LINENO"; then :
20810 ax_cv_lib_readline_history
="yes"
20812 rm -f core conftest.err conftest.
$ac_objext \
20813 conftest
$ac_exeext conftest.
$ac_ext
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
20817 $as_echo "$ax_cv_lib_readline_history" >&6; }
20818 if test "$ax_cv_lib_readline_history" = "yes"; then
20820 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
20822 for ac_header
in history.h readline
/history.h
20824 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20825 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20826 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20827 cat >>confdefs.h
<<_ACEOF
20828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20838 LTLIBREADLINE
=$LIBS
20842 case $ax_cv_lib_readline in #(
20844 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
20853 $as_echo_n "checking for library containing cur_term... " >&6; }
20854 if ${ac_cv_search_cur_term+:} false
; then :
20855 $as_echo_n "(cached) " >&6
20857 ac_func_search_save_LIBS
=$LIBS
20858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20859 /* end confdefs.h. */
20861 /* Override any GCC internal prototype to avoid an error.
20862 Use char because int might match the return type of a GCC
20863 builtin and then its argument prototype would still apply. */
20871 return cur_term ();
20876 for ac_lib
in '' termcap ncurses
; do
20877 if test -z "$ac_lib"; then
20878 ac_res
="none required"
20881 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20883 if ac_fn_cxx_try_link
"$LINENO"; then :
20884 ac_cv_search_cur_term
=$ac_res
20886 rm -f core conftest.err conftest.
$ac_objext \
20888 if ${ac_cv_search_cur_term+:} false
; then :
20892 if ${ac_cv_search_cur_term+:} false
; then :
20895 ac_cv_search_cur_term
=no
20897 rm conftest.
$ac_ext
20898 LIBS
=$ac_func_search_save_LIBS
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
20901 $as_echo "$ac_cv_search_cur_term" >&6; }
20902 ac_res
=$ac_cv_search_cur_term
20903 if test "$ac_res" != no
; then :
20904 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20919 if test "x$CY_EXECUTE" = x1
; then :
20921 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20922 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20924 if test -n "$ac_tool_prefix"; then
20925 for ac_prog
in lipo
20927 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20928 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20930 $as_echo_n "checking for $ac_word... " >&6; }
20931 if ${ac_cv_prog__LIPO+:} false
; then :
20932 $as_echo_n "(cached) " >&6
20934 if test -n "$_LIPO"; then
20935 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20938 for as_dir
in $PATH
20941 test -z "$as_dir" && as_dir
=.
20942 for ac_exec_ext
in '' $ac_executable_extensions; do
20943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20944 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20954 _LIPO
=$ac_cv_prog__LIPO
20955 if test -n "$_LIPO"; then
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20957 $as_echo "$_LIPO" >&6; }
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20960 $as_echo "no" >&6; }
20964 test -n "$_LIPO" && break
20967 if test -z "$_LIPO"; then
20969 for ac_prog
in lipo
20971 # Extract the first word of "$ac_prog", so it can be a program name with args.
20972 set dummy
$ac_prog; ac_word
=$2
20973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20974 $as_echo_n "checking for $ac_word... " >&6; }
20975 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20976 $as_echo_n "(cached) " >&6
20978 if test -n "$ac_ct__LIPO"; then
20979 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20982 for as_dir
in $PATH
20985 test -z "$as_dir" && as_dir
=.
20986 for ac_exec_ext
in '' $ac_executable_extensions; do
20987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20988 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20998 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20999 if test -n "$ac_ct__LIPO"; then
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
21001 $as_echo "$ac_ct__LIPO" >&6; }
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21004 $as_echo "no" >&6; }
21008 test -n "$ac_ct__LIPO" && break
21011 if test "x$ac_ct__LIPO" = x
; then
21012 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
21014 case $cross_compiling:$ac_tool_warned in
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21018 ac_tool_warned
=yes ;;
21024 if test -n "$ac_tool_prefix"; then
21027 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21028 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21030 $as_echo_n "checking for $ac_word... " >&6; }
21031 if ${ac_cv_prog__NM+:} false
; then :
21032 $as_echo_n "(cached) " >&6
21034 if test -n "$_NM"; then
21035 ac_cv_prog__NM
="$_NM" # Let the user override the test.
21037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21038 for as_dir
in $PATH
21041 test -z "$as_dir" && as_dir
=.
21042 for ac_exec_ext
in '' $ac_executable_extensions; do
21043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21044 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
21045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21054 _NM
=$ac_cv_prog__NM
21055 if test -n "$_NM"; then
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
21057 $as_echo "$_NM" >&6; }
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21060 $as_echo "no" >&6; }
21064 test -n "$_NM" && break
21067 if test -z "$_NM"; then
21071 # Extract the first word of "$ac_prog", so it can be a program name with args.
21072 set dummy
$ac_prog; ac_word
=$2
21073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21074 $as_echo_n "checking for $ac_word... " >&6; }
21075 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
21076 $as_echo_n "(cached) " >&6
21078 if test -n "$ac_ct__NM"; then
21079 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
21081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21082 for as_dir
in $PATH
21085 test -z "$as_dir" && as_dir
=.
21086 for ac_exec_ext
in '' $ac_executable_extensions; do
21087 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21088 ac_cv_prog_ac_ct__NM
="$ac_prog"
21089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21098 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
21099 if test -n "$ac_ct__NM"; then
21100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
21101 $as_echo "$ac_ct__NM" >&6; }
21103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21104 $as_echo "no" >&6; }
21108 test -n "$ac_ct__NM" && break
21111 if test "x$ac_ct__NM" = x
; then
21112 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
21114 case $cross_compiling:$ac_tool_warned in
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21118 ac_tool_warned
=yes ;;
21124 if test -n "$ac_tool_prefix"; then
21125 for ac_prog
in otool
21127 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21128 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21130 $as_echo_n "checking for $ac_word... " >&6; }
21131 if ${ac_cv_prog__OTOOL+:} false
; then :
21132 $as_echo_n "(cached) " >&6
21134 if test -n "$_OTOOL"; then
21135 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
21137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21138 for as_dir
in $PATH
21141 test -z "$as_dir" && as_dir
=.
21142 for ac_exec_ext
in '' $ac_executable_extensions; do
21143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21144 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
21145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21154 _OTOOL
=$ac_cv_prog__OTOOL
21155 if test -n "$_OTOOL"; then
21156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
21157 $as_echo "$_OTOOL" >&6; }
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21160 $as_echo "no" >&6; }
21164 test -n "$_OTOOL" && break
21167 if test -z "$_OTOOL"; then
21168 ac_ct__OTOOL
=$_OTOOL
21169 for ac_prog
in otool
21171 # Extract the first word of "$ac_prog", so it can be a program name with args.
21172 set dummy
$ac_prog; ac_word
=$2
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21174 $as_echo_n "checking for $ac_word... " >&6; }
21175 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
21176 $as_echo_n "(cached) " >&6
21178 if test -n "$ac_ct__OTOOL"; then
21179 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
21181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21182 for as_dir
in $PATH
21185 test -z "$as_dir" && as_dir
=.
21186 for ac_exec_ext
in '' $ac_executable_extensions; do
21187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21188 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
21189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21198 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
21199 if test -n "$ac_ct__OTOOL"; then
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
21201 $as_echo "$ac_ct__OTOOL" >&6; }
21203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21204 $as_echo "no" >&6; }
21208 test -n "$ac_ct__OTOOL" && break
21211 if test "x$ac_ct__OTOOL" = x
; then
21212 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
21214 case $cross_compiling:$ac_tool_warned in
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21218 ac_tool_warned
=yes ;;
21220 _OTOOL
=$ac_ct__OTOOL
21224 CY_ATTACH_GROUP
=procmod
21232 if test "x$CY_MACH" = x1
; then
21241 ac_config_files
="$ac_config_files Makefile"
21243 cat >confcache
<<\_ACEOF
21244 # This file is a shell script that caches the results of configure
21245 # tests run on this system so they can be shared between configure
21246 # scripts and configure runs, see configure's option --config-cache.
21247 # It is not useful on other systems. If it contains results you don't
21248 # want to keep, you may remove or edit it.
21250 # config.status only pays attention to the cache file if you give it
21251 # the --recheck option to rerun configure.
21253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21255 # following values.
21259 # The following way of writing the cache mishandles newlines in values,
21260 # but we know of no workaround that is simple, portable, and efficient.
21261 # So, we kill variables containing newlines.
21262 # Ultrix sh set writes to stderr and can't be redirected directly,
21263 # and sets the high bit in the cache file unless we assign to the vars.
21265 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21266 eval ac_val
=\$
$ac_var
21270 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21271 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21274 _
| IFS
| as_nl
) ;; #(
21275 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21276 *) { eval $ac_var=; unset $ac_var;} ;;
21282 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21283 *${as_nl}ac_space
=\
*)
21284 # `set' does not quote correctly, so add quotes: double-quote
21285 # substitution turns \\\\ into \\, and sed turns \\ into \.
21288 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21291 # `set' quotes correctly as required by POSIX, so do not add quotes.
21292 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21301 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21303 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21305 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21306 if test -w "$cache_file"; then
21307 if test "x$cache_file" != "x/dev/null"; then
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21309 $as_echo "$as_me: updating cache $cache_file" >&6;}
21310 if test ! -f "$cache_file" || test -h "$cache_file"; then
21311 cat confcache
>"$cache_file"
21313 case $cache_file in #(
21315 mv -f confcache
"$cache_file"$$
&&
21316 mv -f "$cache_file"$$
"$cache_file" ;; #(
21318 mv -f confcache
"$cache_file" ;;
21323 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21324 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21329 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21330 # Let make expand exec_prefix.
21331 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21333 DEFS
=-DHAVE_CONFIG_H
21338 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21339 # 1. Remove the extension, and $U if already installed.
21340 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21341 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21342 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21343 # will be set to the directory where LIBOBJS objects are built.
21344 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21345 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21347 LIBOBJS
=$ac_libobjs
21349 LTLIBOBJS
=$ac_ltlibobjs
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21353 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21354 if test -n "$am_sleep_pid"; then
21355 # Hide warnings about reused PIDs.
21356 wait $am_sleep_pid 2>/dev
/null
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21359 $as_echo "done" >&6; }
21360 if test -n "$EXEEXT"; then
21362 am__EXEEXT_FALSE
='#'
21364 am__EXEEXT_TRUE
='#'
21368 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21369 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
21370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21372 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21373 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21376 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21377 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21380 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21381 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
21382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21384 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
21385 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
21386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21388 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
21389 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
21390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21392 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
21393 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
21394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21396 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
21397 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
21398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21400 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
21401 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
21402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21404 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
21405 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
21406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21409 : "${CONFIG_STATUS=./config.status}"
21411 ac_clean_files_save
=$ac_clean_files
21412 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21414 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21416 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21418 # Generated by $as_me.
21419 # Run this file to recreate the current configuration.
21420 # Compiler output produced by configure, useful for debugging
21421 # configure, is in config.log if it exists.
21424 ac_cs_recheck=false
21427 SHELL=\${CONFIG_SHELL-$SHELL}
21430 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
21431 ## -------------------- ##
21432 ## M4sh Initialization. ##
21433 ## -------------------- ##
21435 # Be more Bourne compatible
21436 DUALCASE
=1; export DUALCASE
# for MKS sh
21437 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21440 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21441 # is contrary to our usage. Disable this feature.
21442 alias -g '${1+"$@"}'='"$@"'
21443 setopt NO_GLOB_SUBST
21445 case `(set -o) 2>/dev/null` in #(
21457 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21458 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21459 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21460 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21461 # Prefer a ksh shell builtin over an external printf program on Solaris,
21462 # but without wasting forks for bash or zsh.
21463 if test -z "$BASH_VERSION$ZSH_VERSION" \
21464 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21465 as_echo='print
-r --'
21466 as_echo_n='print
-rn --'
21467 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21468 as_echo='printf %s
\n'
21469 as_echo_n='printf %s
'
21471 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21472 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21473 as_echo_n='/usr
/ucb
/echo -n'
21475 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21476 as_echo_n_body='eval
21480 expr "X$arg" : "X\\(.*\\)$as_nl";
21481 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21483 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21485 export as_echo_n_body
21486 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21488 export as_echo_body
21489 as_echo='sh
-c $as_echo_body as_echo
'
21492 # The user is always right.
21493 if test "${PATH_SEPARATOR+set}" != set; then
21495 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21496 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21503 # We need space, tab and new line, in precisely that order. Quoting is
21504 # there to prevent editors from complaining about space-tab.
21505 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21506 # splitting by setting IFS to empty value.)
21509 # Find who we are. Look in the path if we contain no directory separator.
21512 *[\\/]* ) as_myself=$0 ;;
21513 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21514 for as_dir in $PATH
21517 test -z "$as_dir" && as_dir=.
21518 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21524 # We did not find ourselves, most probably we were run as `sh COMMAND'
21525 # in which case we are not to be found in the path.
21526 if test "x$as_myself" = x
; then
21529 if test ! -f "$as_myself"; then
21530 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21534 # Unset variables that we do not need and which cause bugs (e.g. in
21535 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21536 # suppresses any "Segmentation fault" message there. '((' could
21537 # trigger a bug in pdksh 5.2.14.
21538 for as_var
in BASH_ENV ENV MAIL MAILPATH
21539 do eval test x\
${$as_var+set} = xset \
21540 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
21553 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
21556 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21557 # ----------------------------------------
21558 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21559 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21560 # script with STATUS, using 1 if that was 0.
21563 as_status
=$1; test $as_status -eq 0 && as_status
=1
21565 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21566 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21568 $as_echo "$as_me: error: $2" >&2
21569 as_fn_exit
$as_status
21573 # as_fn_set_status STATUS
21574 # -----------------------
21575 # Set $? to STATUS, without forking.
21576 as_fn_set_status
()
21579 } # as_fn_set_status
21581 # as_fn_exit STATUS
21582 # -----------------
21583 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21587 as_fn_set_status
$1
21593 # Portably unset VAR.
21596 { eval $1=; unset $1;}
21598 as_unset
=as_fn_unset
21599 # as_fn_append VAR VALUE
21600 # ----------------------
21601 # Append the text in VALUE to the end of the definition contained in VAR. Take
21602 # advantage of any shell optimizations that allow amortized linear growth over
21603 # repeated appends, instead of the typical quadratic growth present in naive
21605 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21606 eval 'as_fn_append ()
21617 # as_fn_arith ARG...
21618 # ------------------
21619 # Perform arithmetic evaluation on the ARGs, and store the result in the
21620 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21621 # must be portable across $(()) and expr.
21622 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
21623 eval 'as_fn_arith ()
21630 as_val
=`expr "$@" || test $? -eq 1`
21635 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21636 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21642 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21643 as_basename
=basename
21648 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21654 as_me
=`$as_basename -- "$0" ||
21655 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21656 X"$0" : 'X\(//\)$' \| \
21657 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21659 sed '/^.*\/\([^/][^/]*\)\/*$/{
21673 # Avoid depending upon Character Ranges.
21674 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21675 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21676 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21677 as_cr_digits
='0123456789'
21678 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21680 ECHO_C
= ECHO_N
= ECHO_T
=
21681 case `echo -n x` in #(((((
21683 case `echo 'xy\c'` in
21684 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21686 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21693 rm -f conf$$ conf$$.exe conf$$.
file
21694 if test -d conf$$.dir
; then
21695 rm -f conf$$.dir
/conf$$.
file
21698 mkdir conf$$.dir
2>/dev
/null
21700 if (echo >conf$$.
file) 2>/dev
/null
; then
21701 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21703 # ... but there are two gotchas:
21704 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21705 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21706 # In both cases, we have to default to `cp -pR'.
21707 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
21709 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21717 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21718 rmdir conf$$.dir
2>/dev
/null
21723 # Create "$as_dir" as a directory, including parents if necessary.
21728 -*) as_dir
=.
/$as_dir;;
21730 test -d "$as_dir" || eval $as_mkdir_p || {
21734 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21735 *) as_qdir
=$as_dir;;
21737 as_dirs
="'$as_qdir' $as_dirs"
21738 as_dir
=`$as_dirname -- "$as_dir" ||
21739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21740 X"$as_dir" : 'X\(//\)[^/]' \| \
21741 X"$as_dir" : 'X\(//\)$' \| \
21742 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21743 $as_echo X"$as_dir" |
21744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21748 /^X\(\/\/\)[^/].*/{
21761 test -d "$as_dir" && break
21763 test -z "$as_dirs" || eval "mkdir $as_dirs"
21764 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21768 if mkdir -p .
2>/dev
/null
; then
21769 as_mkdir_p
='mkdir -p "$as_dir"'
21771 test -d .
/-p && rmdir .
/-p
21776 # as_fn_executable_p FILE
21777 # -----------------------
21778 # Test if FILE is an executable regular file.
21779 as_fn_executable_p
()
21781 test -f "$1" && test -x "$1"
21782 } # as_fn_executable_p
21783 as_test_x
='test -x'
21784 as_executable_p
=as_fn_executable_p
21786 # Sed expression to map a string onto a valid CPP name.
21787 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21789 # Sed expression to map a string onto a valid variable name.
21790 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21794 ## ----------------------------------- ##
21795 ## Main body of $CONFIG_STATUS script. ##
21796 ## ----------------------------------- ##
21798 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21800 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21801 # Save the log message, to keep $0 and so on meaningful, and to
21802 # report actual input values of CONFIG_FILES etc. instead of their
21803 # values after options handling.
21805 This file was extended by Cycript $as_me 0.9, which was
21806 generated by GNU Autoconf 2.69. Invocation command line was
21808 CONFIG_FILES = $CONFIG_FILES
21809 CONFIG_HEADERS = $CONFIG_HEADERS
21810 CONFIG_LINKS = $CONFIG_LINKS
21811 CONFIG_COMMANDS = $CONFIG_COMMANDS
21814 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21819 case $ac_config_files in *"
21820 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21823 case $ac_config_headers in *"
21824 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21829 # Files that config.status was made for.
21830 config_files="$ac_config_files"
21831 config_headers="$ac_config_headers"
21832 config_commands="$ac_config_commands"
21836 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21838 \`$as_me' instantiates files and other configuration actions
21839 from templates according to the current configuration. Unless the files
21840 and actions are specified as TAGs, all are instantiated by default.
21842 Usage: $0 [OPTION]... [TAG]...
21844 -h, --help print this help, then exit
21845 -V, --version print version number and configuration settings, then exit
21846 --config print configuration, then exit
21847 -q, --quiet, --silent
21848 do not print progress messages
21849 -d, --debug don't remove temporary files
21850 --recheck update $as_me by reconfiguring in the same conditions
21851 --file=FILE[:TEMPLATE]
21852 instantiate the configuration file FILE
21853 --header=FILE[:TEMPLATE]
21854 instantiate the configuration header FILE
21856 Configuration files:
21859 Configuration headers:
21862 Configuration commands:
21865 Report bugs to <saurik@saurik.com>.
21866 Cycript home page: <http://www.cycript.org/>."
21869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21870 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21872 Cycript config.status 0.9
21873 configured by $0, generated by GNU Autoconf 2.69,
21874 with options \\"\$ac_cs_config\\"
21876 Copyright (C) 2012 Free Software Foundation, Inc.
21877 This config.status script is free software; the Free Software Foundation
21878 gives unlimited permission to copy, distribute and modify it."
21885 test -n "\$AWK" || AWK=awk
21888 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21889 # The default lists apply if the user does not specify any file.
21895 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21896 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21900 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21912 # Handling of the options.
21913 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21915 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21916 $as_echo "$ac_cs_version"; exit ;;
21917 --config | --confi | --conf | --con | --co | --c )
21918 $as_echo "$ac_cs_config"; exit ;;
21919 --debug | --debu | --deb | --de | --d | -d )
21921 --file | --fil | --fi | --f )
21924 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21925 '') as_fn_error $?
"missing file argument" ;;
21927 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21928 ac_need_defaults
=false
;;
21929 --header | --heade | --head | --hea )
21932 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21934 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21935 ac_need_defaults
=false
;;
21937 # Conflict between --help and --header
21938 as_fn_error $?
"ambiguous option: \`$1'
21939 Try \`$0 --help' for more information.";;
21940 --help | --hel | -h )
21941 $as_echo "$ac_cs_usage"; exit ;;
21942 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21943 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21946 # This is an error.
21947 -*) as_fn_error $?
"unrecognized option: \`$1'
21948 Try \`$0 --help' for more information." ;;
21950 *) as_fn_append ac_config_targets
" $1"
21951 ac_need_defaults
=false
;;
21957 ac_configure_extra_args
=
21959 if $ac_cs_silent; then
21961 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21966 if \$ac_cs_recheck; then
21967 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21969 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21970 CONFIG_SHELL='$SHELL'
21971 export CONFIG_SHELL
21976 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21980 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21981 ## Running $as_me. ##
21987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21991 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21994 # The HP-UX ksh and POSIX shell print the target directory to stdout
21995 # if CDPATH is set.
21996 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21998 sed_quote_subst='$sed_quote_subst'
21999 double_quote_subst='$double_quote_subst'
22000 delay_variable_subst='$delay_variable_subst'
22001 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22002 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22003 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22004 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22005 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22006 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22007 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22008 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22009 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22010 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22011 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22012 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22013 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22014 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22015 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22016 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22017 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22018 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22019 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22020 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22021 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22022 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22023 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22024 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22025 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22026 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22027 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22028 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22029 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22030 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22031 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22032 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22033 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22034 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22035 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22036 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22037 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22038 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22039 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22040 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22041 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22042 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22043 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22044 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22045 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22046 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22047 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22048 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22049 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22050 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22051 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22052 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22053 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22054 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22055 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22056 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22057 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22058 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22059 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
22060 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22061 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22062 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22063 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22064 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22065 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22066 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22067 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22068 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22069 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22070 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22071 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22072 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22073 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22074 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22075 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22076 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22077 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22078 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22079 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22080 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22081 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22082 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22083 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22084 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22085 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22086 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22087 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22088 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22089 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22090 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22091 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22092 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22093 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22094 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22095 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22096 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22097 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22098 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22099 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22100 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22101 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22102 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22103 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22104 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22105 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22106 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22107 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22108 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22109 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22110 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22111 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22112 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22113 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22114 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22115 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22116 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22117 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22118 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22119 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22120 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22121 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22122 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22123 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22124 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22125 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22126 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22127 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22128 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22129 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22130 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22131 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22132 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22133 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22134 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22135 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22136 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22137 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22138 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22139 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22140 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22141 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22142 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22143 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22144 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22145 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22146 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22147 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22148 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22149 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22150 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22151 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22152 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22153 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22154 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22155 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22156 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22157 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22158 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22159 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22160 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22161 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22162 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22163 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22164 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22165 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22166 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22167 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22168 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22169 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22170 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22171 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22172 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22173 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22174 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22175 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22176 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22177 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22178 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22179 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22180 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22181 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22182 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22183 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22184 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22185 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22186 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22187 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22188 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22189 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22192 LTCFLAGS='$LTCFLAGS'
22193 compiler='$compiler_DEFAULT'
22195 # A function that is used when there is no print builtin or printf.
22196 func_fallback_echo ()
22198 eval 'cat <<_LTECHO_EOF
22203 # Quote evaled strings.
22218 deplibs_check_method \
22223 sharedlib_from_linklib_cmd \
22226 archiver_list_spec \
22232 lt_cv_sys_global_symbol_pipe \
22233 lt_cv_sys_global_symbol_to_cdecl \
22234 lt_cv_sys_global_symbol_to_import \
22235 lt_cv_sys_global_symbol_to_c_name_address \
22236 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22237 lt_cv_nm_interface \
22238 nm_file_list_spec \
22239 lt_cv_truncate_bin \
22240 lt_prog_compiler_no_builtin_flag \
22241 lt_prog_compiler_pic \
22242 lt_prog_compiler_wl \
22243 lt_prog_compiler_static \
22244 lt_cv_prog_compiler_c_o \
22253 export_dynamic_flag_spec \
22254 whole_archive_flag_spec \
22255 compiler_needs_object \
22257 allow_undefined_flag \
22258 no_undefined_flag \
22259 hardcode_libdir_flag_spec \
22260 hardcode_libdir_separator \
22264 variables_saved_for_relink \
22266 library_names_spec \
22268 install_override_mode \
22272 compiler_lib_search_dirs \
22277 compiler_lib_search_path \
22281 lt_prog_compiler_no_builtin_flag_CXX \
22282 lt_prog_compiler_pic_CXX \
22283 lt_prog_compiler_wl_CXX \
22284 lt_prog_compiler_static_CXX \
22285 lt_cv_prog_compiler_c_o_CXX \
22286 export_dynamic_flag_spec_CXX \
22287 whole_archive_flag_spec_CXX \
22288 compiler_needs_object_CXX \
22290 allow_undefined_flag_CXX \
22291 no_undefined_flag_CXX \
22292 hardcode_libdir_flag_spec_CXX \
22293 hardcode_libdir_separator_CXX \
22294 exclude_expsyms_CXX \
22295 include_expsyms_CXX \
22296 file_list_spec_CXX \
22297 compiler_lib_search_dirs_CXX \
22298 predep_objects_CXX \
22299 postdep_objects_CXX \
22302 compiler_lib_search_path_CXX; do
22303 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22304 *[\\\\\\\`\\"\\\$]*)
22305 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22308 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22313 # Double-quote double-evaled strings.
22314 for var in reload_cmds \
22315 old_postinstall_cmds \
22316 old_postuninstall_cmds \
22318 extract_expsyms_cmds \
22319 old_archive_from_new_cmds \
22320 old_archive_from_expsyms_cmds \
22322 archive_expsym_cmds \
22324 module_expsym_cmds \
22325 export_symbols_cmds \
22329 postuninstall_cmds \
22331 sys_lib_search_path_spec \
22332 configure_time_dlsearch_path \
22333 configure_time_lt_sys_library_path \
22335 old_archive_cmds_CXX \
22336 old_archive_from_new_cmds_CXX \
22337 old_archive_from_expsyms_cmds_CXX \
22339 archive_expsym_cmds_CXX \
22341 module_expsym_cmds_CXX \
22342 export_symbols_cmds_CXX \
22344 postlink_cmds_CXX; do
22345 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22346 *[\\\\\\\`\\"\\\$]*)
22347 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22350 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22355 ac_aux_dir='$ac_aux_dir'
22357 # See if we are running on zsh, and set the options that allow our
22358 # commands through without removal of \ escapes INIT.
22359 if test -n "\${ZSH_VERSION+set}"; then
22360 setopt NO_GLOB_SUBST
22376 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22378 # Handling of arguments.
22379 for ac_config_target
in $ac_config_targets
22381 case $ac_config_target in
22382 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22383 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22384 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22385 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22387 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22392 # If the user did not use the arguments to specify the items to instantiate,
22393 # then the envvar interface is used. Set only those that are not.
22394 # We use the long form for the default assignment because of an extremely
22395 # bizarre bug on SunOS 4.1.3.
22396 if $ac_need_defaults; then
22397 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22398 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22399 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22402 # Have a temporary directory for convenience. Make it in the build tree
22403 # simply because there is no reason against having it here, and in addition,
22404 # creating and moving files from /tmp can sometimes cause problems.
22405 # Hook for its removal unless debugging.
22406 # Note that there is a small window in which the directory will not be cleaned:
22407 # after its creation but before its name has been assigned to `$tmp'.
22411 trap 'exit_status=$?
22412 : "${ac_tmp:=$tmp}"
22413 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22415 trap 'as_fn_exit 1' 1 2 13 15
22417 # Create a (secure) tmp directory for tmp files.
22420 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22424 tmp
=.
/conf$$
-$RANDOM
22425 (umask 077 && mkdir "$tmp")
22426 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22429 # Set up the scripts for CONFIG_FILES section.
22430 # No need to generate them if there are no CONFIG_FILES.
22431 # This happens for instance with `./config.status config.h'.
22432 if test -n "$CONFIG_FILES"; then
22435 ac_cr
=`echo X | tr X '\015'`
22436 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22437 # But we know of no other shell where ac_cr would be empty at this
22438 # point, so we can use a bashism as a fallback.
22439 if test "x$ac_cr" = x
; then
22440 eval ac_cr
=\$
\'\\r
\'
22442 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22443 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22446 ac_cs_awk_cr
=$ac_cr
22449 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22454 echo "cat >conf$$subs.awk <<_ACEOF" &&
22455 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22457 } >conf$$subs.sh ||
22458 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22459 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22461 for ac_last_try in false false false false false :; do
22462 . ./conf$$subs.sh ||
22463 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22465 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22466 if test $ac_delim_n = $ac_delim_num; then
22468 elif $ac_last_try; then
22469 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22471 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22474 rm -f conf$$subs.sh
22476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22477 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22481 s/^/S["/; s
/!.
*/"]=/
22491 s/\(.\{148\}\)..*/\1/
22493 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22498 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22505 s/\(.\{148\}\)..*/\1/
22507 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22511 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22516 ' <conf$$subs.awk | sed '
22521 ' >>$CONFIG_STATUS || ac_write_fail=1
22522 rm -f conf$$subs.awk
22523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22525 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22526 for (key in S) S_is_set[key] = 1
22532 nfields = split(line, field, "@
")
22534 len = length(field[1])
22535 for (i = 2; i < nfields; i++) {
22537 keylen = length(key)
22538 if (S_is_set[key]) {
22540 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22541 len += length(value) + length(field[++i])
22552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22553 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22554 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22557 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22558 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22561 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22562 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22563 # trailing colons and then remove the whole line if VPATH becomes empty
22564 # (actually we leave an empty line to preserve line numbers).
22565 if test "x
$srcdir" = x.; then
22566 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22585 fi # test -n "$CONFIG_FILES"
22587 # Set up the scripts for CONFIG_HEADERS section.
22588 # No need to generate them if there are no CONFIG_HEADERS.
22589 # This happens for instance with `./config.status Makefile'.
22590 if test -n "$CONFIG_HEADERS"; then
22591 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22595 # Transform confdefs.h into an awk script `defines.awk', embedded as
22596 # here-document in config.status, that substitutes the proper values into
22597 # config.h.in to produce config.h.
22599 # Create a delimiter string that does not exist in confdefs.h, to ease
22600 # handling of long lines.
22602 for ac_last_try in false false :; do
22603 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22604 if test -z "$ac_tt"; then
22606 elif $ac_last_try; then
22607 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22609 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22613 # For the awk script, D is an array of macro values keyed by name,
22614 # likewise P contains macro parameters if any. Preserve backslash
22615 # newline sequences.
22617 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22619 s/.\{148\}/&'"$ac_delim"'/g
22622 s/^[ ]*#[ ]*define[ ][ ]*/ /
22629 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22631 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22635 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22636 D["\
1"]=" \
3\\\\\\n
"\\/p
22638 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22643 s/.\{148\}/&'"$ac_delim"'/g
22648 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22651 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22653 ' <confdefs.h | sed '
22654 s/'"$ac_delim"'/"\\\
22655 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22658 for (key in D) D_is_set[key] = 1
22661 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22663 split(line, arg, " ")
22664 if (arg[1] == "#") {
22668 defundef
= substr
(arg
[1], 2)
22671 split(mac1
, mac2
, "(") #)
22673 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22674 if (D_is_set
[macro
]) {
22675 # Preserve the white space surrounding the "#".
22676 print prefix
"define", macro P
[macro
] D
[macro
]
22679 # Replace #undef with comments. This is necessary, for example,
22680 # in the case of _POSIX_SOURCE, which is predefined and required
22681 # on some systems where configure will not decide to define it.
22682 if (defundef
== "undef") {
22683 print
"/*", prefix defundef
, macro
, "*/"
22691 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22692 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22693 fi # test -n "$CONFIG_HEADERS"
22696 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22701 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22703 case $ac_mode$ac_tag in
22705 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22706 :[FH
]-) ac_tag
=-:-;;
22707 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22724 -) ac_f
="$ac_tmp/stdin";;
22725 *) # Look for the file first in the build tree, then in the source tree
22726 # (if the path is not absolute). The absolute path cannot be DOS-style,
22727 # because $ac_f cannot contain `:'.
22731 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22733 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22735 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22736 as_fn_append ac_file_inputs
" '$ac_f'"
22739 # Let's still pretend it is `configure' which instantiates (i.e., don't
22740 # use $as_me), people would be surprised to read:
22741 # /* config.h. Generated by config.status. */
22742 configure_input
='Generated from '`
22743 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22745 if test x
"$ac_file" != x
-; then
22746 configure_input
="$ac_file. $configure_input"
22747 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22748 $as_echo "$as_me: creating $ac_file" >&6;}
22750 # Neutralize special characters interpreted by sed in replacement strings.
22751 case $configure_input in #(
22752 *\
&* | *\
|* | *\\* )
22753 ac_sed_conf_input
=`$as_echo "$configure_input" |
22754 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22755 *) ac_sed_conf_input
=$configure_input;;
22759 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22760 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22765 ac_dir
=`$as_dirname -- "$ac_file" ||
22766 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22767 X"$ac_file" : 'X\(//\)[^/]' \| \
22768 X"$ac_file" : 'X\(//\)$' \| \
22769 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22770 $as_echo X"$ac_file" |
22771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22775 /^X\(\/\/\)[^/].*/{
22788 as_dir
="$ac_dir"; as_fn_mkdir_p
22792 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22794 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22795 # A ".." for each directory in $ac_dir_suffix.
22796 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22797 case $ac_top_builddir_sub in
22798 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22799 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22802 ac_abs_top_builddir
=$ac_pwd
22803 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22804 # for backward compatibility:
22805 ac_top_builddir
=$ac_top_build_prefix
22808 .
) # We are building in place.
22810 ac_top_srcdir
=$ac_top_builddir_sub
22811 ac_abs_top_srcdir
=$ac_pwd ;;
22812 [\\/]* | ?
:[\\/]* ) # Absolute name.
22813 ac_srcdir
=$srcdir$ac_dir_suffix;
22814 ac_top_srcdir
=$srcdir
22815 ac_abs_top_srcdir
=$srcdir ;;
22816 *) # Relative name.
22817 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22818 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22819 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22821 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22831 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22832 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22834 ac_MKDIR_P
=$MKDIR_P
22836 [\\/$
]* | ?
:[\\/]* ) ;;
22837 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22841 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22842 # If the template does not know about datarootdir, expand it.
22843 # FIXME: This hack should be removed a few years after 2.60.
22844 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22855 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22856 *datarootdir
*) ac_datarootdir_seen
=yes;;
22857 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22859 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22862 ac_datarootdir_hack='
22863 s&@datadir@&$datadir&g
22864 s&@docdir@&$docdir&g
22865 s&@infodir@&$infodir&g
22866 s&@localedir@&$localedir&g
22867 s&@mandir@&$mandir&g
22868 s&\\\${datarootdir}&$datarootdir&g' ;;
22872 # Neutralize VPATH when `$srcdir' = `.'.
22873 # Shell code in configure.ac might set extrasub.
22874 # FIXME: do we really want to maintain this feature?
22875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22876 ac_sed_extra="$ac_vpsub
22879 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22881 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22882 s
|@configure_input@
|$ac_sed_conf_input|;t t
22883 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22884 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22885 s
&@srcdir@
&$ac_srcdir&;t t
22886 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22887 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22888 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22889 s
&@builddir@
&$ac_builddir&;t t
22890 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22891 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22892 s
&@INSTALL@
&$ac_INSTALL&;t t
22893 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22894 $ac_datarootdir_hack
22896 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22897 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22899 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22900 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22901 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22902 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22904 which seems to be undefined. Please make sure it is defined" >&5
22905 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22906 which seems to be undefined. Please make sure it is defined" >&2;}
22908 rm -f "$ac_tmp/stdin"
22910 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22911 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22913 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22919 if test x"$ac_file" != x-; then
22921 $as_echo "/* $configure_input */" \
22922 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22923 } >"$ac_tmp/config.h" \
22924 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22925 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22927 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22930 mv "$ac_tmp/config.h" "$ac_file" \
22931 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22934 $as_echo "/* $configure_input */" \
22935 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22936 || as_fn_error $? "could not create -" "$LINENO" 5
22938 # Compute "$ac_file"'s index
in $config_headers.
22941 for _am_header
in $config_headers :; do
22942 case $_am_header in
22943 $_am_arg | $_am_arg:* )
22946 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22949 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22950 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22951 X"$_am_arg" : 'X\(//\)[^/]' \| \
22952 X"$_am_arg" : 'X\(//\)$' \| \
22953 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22954 $as_echo X"$_am_arg" |
22955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22959 /^X\(\/\/\)[^/].*/{
22971 s/.*/./; q'`/stamp
-h$_am_stamp_count
22974 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22975 $as_echo "$as_me: executing $ac_file commands" >&6;}
22980 case $ac_file$ac_mode in
22981 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22982 # Older Autoconf quotes --file arguments for eval, but not when files
22983 # are listed without --file. Let's play safe and only enable the eval
22984 # if we detect the quoting.
22985 case $CONFIG_FILES in
22986 *\'*) eval set x
"$CONFIG_FILES" ;;
22987 *) set x
$CONFIG_FILES ;;
22992 # Strip MF so we end up with the name of the file.
22993 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22994 # Check whether this is an Automake generated Makefile or not.
22995 # We used to match only the files named 'Makefile.in', but
22996 # some people rename them; so instead we look at the file content.
22997 # Grep'ing the first line is not enough: some people post-process
22998 # each Makefile.in and add a new line on top of each file to say so.
22999 # Grep'ing the whole file is not good either: AIX grep has a line
23000 # limit of 2048, but all sed's we know have understand at least 4000.
23001 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23002 dirpart
=`$as_dirname -- "$mf" ||
23003 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23004 X"$mf" : 'X\(//\)[^/]' \| \
23005 X"$mf" : 'X\(//\)$' \| \
23006 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23012 /^X\(\/\/\)[^/].*/{
23028 # Extract the definition of DEPDIR, am__include, and am__quote
23029 # from the Makefile without running 'make'.
23030 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23031 test -z "$DEPDIR" && continue
23032 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23033 test -z "$am__include" && continue
23034 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23035 # Find all dependency output files, they are included files with
23036 # $(DEPDIR) in their names. We invoke sed twice because it is the
23037 # simplest approach to changing $(DEPDIR) to its actual value in the
23039 for file in `sed -n "
23040 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23041 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23042 # Make sure the directory exists.
23043 test -f "$dirpart/$file" && continue
23044 fdir
=`$as_dirname -- "$file" ||
23045 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23046 X"$file" : 'X\(//\)[^/]' \| \
23047 X"$file" : 'X\(//\)$' \| \
23048 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23049 $as_echo X"$file" |
23050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23054 /^X\(\/\/\)[^/].*/{
23067 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23068 # echo "creating $dirpart/$file"
23069 echo '# dummy' > "$dirpart/$file"
23076 # See if we are running on zsh, and set the options that allow our
23077 # commands through without removal of \ escapes.
23078 if test -n "${ZSH_VERSION+set}"; then
23079 setopt NO_GLOB_SUBST
23083 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23086 cat <<_LT_EOF >> "$cfgfile"
23088 # Generated automatically by $as_me ($PACKAGE) $VERSION
23089 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23090 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23092 # Provide generalized library-building support services.
23093 # Written by Gordon Matzigkeit, 1996
23095 # Copyright (C) 2014 Free Software Foundation, Inc.
23096 # This is free software; see the source for copying conditions. There is NO
23097 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23099 # GNU Libtool is free software; you can redistribute it and/or modify
23100 # it under the terms of the GNU General Public License as published by
23101 # the Free Software Foundation; either version 2 of of the License, or
23102 # (at your option) any later version.
23104 # As a special exception to the GNU General Public License, if you
23105 # distribute this file as part of a program or library that is built
23106 # using GNU Libtool, you may include this file under the same
23107 # distribution terms that you use for the rest of that program.
23109 # GNU Libtool is distributed in the hope that it will be useful, but
23110 # WITHOUT ANY WARRANTY; without even the implied warranty of
23111 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23112 # GNU General Public License for more details.
23114 # You should have received a copy of the GNU General Public License
23115 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23118 # The names of the tagged configurations supported by this script.
23119 available_tags='CXX '
23121 # Configured defaults for sys_lib_dlsearch_path munging.
23122 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23124 # ### BEGIN LIBTOOL CONFIG
23126 # Which release of libtool.m4 was used?
23127 macro_version=$macro_version
23128 macro_revision=$macro_revision
23130 # Whether or not to build static libraries.
23131 build_old_libs=$enable_static
23133 # Whether or not to build shared libraries.
23134 build_libtool_libs=$enable_shared
23136 # What type of objects to build.
23139 # Whether or not to optimize for fast installation.
23140 fast_install=$enable_fast_install
23142 # Shared archive member basename,for filename based shared library versioning on AIX.
23143 shared_archive_member_spec=$shared_archive_member_spec
23145 # Shell to use when invoking shell scripts.
23148 # An echo program that protects backslashes.
23151 # The PATH separator for the build system.
23152 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23155 host_alias=$host_alias
23159 # The build system.
23160 build_alias=$build_alias
23164 # A sed program that does not truncate output.
23167 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23168 Xsed="\$SED -e 1s/^X//"
23170 # A grep program that handles long lines.
23176 # A literal string matcher.
23179 # A BSD- or MS-compatible name lister.
23182 # Whether we need soft or hard links.
23185 # What is the maximum length of a command?
23186 max_cmd_len=$max_cmd_len
23188 # Object file suffix (normally "o").
23191 # Executable file suffix (normally "").
23194 # whether the shell understands "unset".
23197 # turn spaces into newlines.
23200 # turn newlines into spaces.
23203 # convert \$build file names to \$host format.
23204 to_host_file_cmd=$lt_cv_to_host_file_cmd
23206 # convert \$build files to toolchain format.
23207 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23209 # An object symbol dumper.
23210 OBJDUMP=$lt_OBJDUMP
23212 # Method to check whether dependent libraries are shared objects.
23213 deplibs_check_method=$lt_deplibs_check_method
23215 # Command to use when deplibs_check_method = "file_magic".
23216 file_magic_cmd=$lt_file_magic_cmd
23218 # How to find potential files when deplibs_check_method = "file_magic".
23219 file_magic_glob=$lt_file_magic_glob
23221 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23222 want_nocaseglob=$lt_want_nocaseglob
23224 # DLL creation program.
23225 DLLTOOL=$lt_DLLTOOL
23227 # Command to associate shared and link libraries.
23228 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23233 # Flags to create an archive.
23234 AR_FLAGS=$lt_AR_FLAGS
23236 # How to feed a file listing to the archiver.
23237 archiver_list_spec=$lt_archiver_list_spec
23239 # A symbol stripping program.
23242 # Commands used to install an old-style archive.
23244 old_postinstall_cmds=$lt_old_postinstall_cmds
23245 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23247 # Whether to use a lock for old archive extraction.
23248 lock_old_archive_extraction=$lock_old_archive_extraction
23253 # LTCC compiler flags.
23254 LTCFLAGS=$lt_CFLAGS
23256 # Take the output of nm and produce a listing of raw symbols and C names.
23257 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23259 # Transform the output of nm in a proper C declaration.
23260 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23262 # Transform the output of nm into a list of symbols to manually relocate.
23263 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23265 # Transform the output of nm in a C name address pair.
23266 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23268 # Transform the output of nm in a C name address pair when lib prefix is needed.
23269 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23271 # The name lister interface.
23272 nm_interface=$lt_lt_cv_nm_interface
23274 # Specify filename containing input files for \$NM.
23275 nm_file_list_spec=$lt_nm_file_list_spec
23277 # The root where to search for dependent libraries,and where our libraries should be installed.
23278 lt_sysroot=$lt_sysroot
23280 # Command to truncate a binary pipe.
23281 lt_truncate_bin=$lt_lt_cv_truncate_bin
23283 # The name of the directory that contains temporary libtool files.
23286 # Used to examine libraries when file_magic_cmd begins with "file".
23287 MAGIC_CMD=$MAGIC_CMD
23289 # Must we lock files when doing compilation?
23290 need_locks=$lt_need_locks
23293 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23295 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23296 DSYMUTIL=$lt_DSYMUTIL
23298 # Tool to change global to local symbols on Mac OS X.
23301 # Tool to manipulate fat objects and archives on Mac OS X.
23304 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23307 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23308 OTOOL64=$lt_OTOOL64
23310 # Old archive suffix (normally "a").
23313 # Shared library suffix (normally ".so").
23314 shrext_cmds=$lt_shrext_cmds
23316 # The commands to extract the exported symbol list from a shared archive.
23317 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23319 # Variables whose values should be saved in libtool wrapper scripts and
23320 # restored at link time.
23321 variables_saved_for_relink=$lt_variables_saved_for_relink
23323 # Do we need the "lib" prefix for modules?
23324 need_lib_prefix=$need_lib_prefix
23326 # Do we need a version for libraries?
23327 need_version=$need_version
23329 # Library versioning type.
23330 version_type=$version_type
23332 # Shared library runtime path variable.
23333 runpath_var=$runpath_var
23335 # Shared library path variable.
23336 shlibpath_var=$shlibpath_var
23338 # Is shlibpath searched before the hard-coded library search path?
23339 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23341 # Format of library name prefix.
23342 libname_spec=$lt_libname_spec
23344 # List of archive names. First name is the real one, the rest are links.
23345 # The last name is the one that the linker finds with -lNAME
23346 library_names_spec=$lt_library_names_spec
23348 # The coded name of the library, if different from the real name.
23349 soname_spec=$lt_soname_spec
23351 # Permission mode override for installation of shared libraries.
23352 install_override_mode=$lt_install_override_mode
23354 # Command to use after installation of a shared archive.
23355 postinstall_cmds=$lt_postinstall_cmds
23357 # Command to use after uninstallation of a shared archive.
23358 postuninstall_cmds=$lt_postuninstall_cmds
23360 # Commands used to finish a libtool library installation in a directory.
23361 finish_cmds=$lt_finish_cmds
23363 # As "finish_cmds", except a single script fragment to be evaled but
23365 finish_eval=$lt_finish_eval
23367 # Whether we should hardcode library paths into libraries.
23368 hardcode_into_libs=$hardcode_into_libs
23370 # Compile-time system search path for libraries.
23371 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23373 # Detected run-time system search path for libraries.
23374 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23376 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23377 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23379 # Whether dlopen is supported.
23380 dlopen_support=$enable_dlopen
23382 # Whether dlopen of programs is supported.
23383 dlopen_self=$enable_dlopen_self
23385 # Whether dlopen of statically linked programs is supported.
23386 dlopen_self_static=$enable_dlopen_self_static
23388 # Commands to strip libraries.
23389 old_striplib=$lt_old_striplib
23390 striplib=$lt_striplib
23393 # The linker used to build libraries.
23396 # How to create reloadable object files.
23397 reload_flag=$lt_reload_flag
23398 reload_cmds=$lt_reload_cmds
23400 # Commands used to build an old-style archive.
23401 old_archive_cmds=$lt_old_archive_cmds
23403 # A language specific compiler.
23406 # Is the compiler the GNU compiler?
23409 # Compiler flag to turn off builtin functions.
23410 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23412 # Additional compiler flags for building library objects.
23413 pic_flag=$lt_lt_prog_compiler_pic
23415 # How to pass a linker flag through the compiler.
23416 wl=$lt_lt_prog_compiler_wl
23418 # Compiler flag to prevent dynamic linking.
23419 link_static_flag=$lt_lt_prog_compiler_static
23421 # Does compiler simultaneously support -c and -o options?
23422 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23424 # Whether or not to add -lc for building shared libraries.
23425 build_libtool_need_lc=$archive_cmds_need_lc
23427 # Whether or not to disallow shared libs when runtime libs are static.
23428 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23430 # Compiler flag to allow reflexive dlopens.
23431 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23433 # Compiler flag to generate shared objects directly from archives.
23434 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23436 # Whether the compiler copes with passing no objects directly.
23437 compiler_needs_object=$lt_compiler_needs_object
23439 # Create an old-style archive from a shared archive.
23440 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23442 # Create a temporary old-style archive to link instead of a shared archive.
23443 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23445 # Commands used to build a shared archive.
23446 archive_cmds=$lt_archive_cmds
23447 archive_expsym_cmds=$lt_archive_expsym_cmds
23449 # Commands used to build a loadable module if different from building
23450 # a shared archive.
23451 module_cmds=$lt_module_cmds
23452 module_expsym_cmds=$lt_module_expsym_cmds
23454 # Whether we are building with GNU ld or not.
23455 with_gnu_ld=$lt_with_gnu_ld
23457 # Flag that allows shared libraries with undefined symbols to be built.
23458 allow_undefined_flag=$lt_allow_undefined_flag
23460 # Flag that enforces no undefined symbols.
23461 no_undefined_flag=$lt_no_undefined_flag
23463 # Flag to hardcode \$libdir into a binary during linking.
23464 # This must work even if \$libdir does not exist
23465 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23467 # Whether we need a single "-rpath" flag with a separated argument.
23468 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23470 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23471 # DIR into the resulting binary.
23472 hardcode_direct=$hardcode_direct
23474 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23475 # DIR into the resulting binary and the resulting library dependency is
23476 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23477 # library is relocated.
23478 hardcode_direct_absolute=$hardcode_direct_absolute
23480 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23481 # into the resulting binary.
23482 hardcode_minus_L=$hardcode_minus_L
23484 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23485 # into the resulting binary.
23486 hardcode_shlibpath_var=$hardcode_shlibpath_var
23488 # Set to "yes" if building a shared library automatically hardcodes DIR
23489 # into the library and all subsequent libraries and executables linked
23491 hardcode_automatic=$hardcode_automatic
23493 # Set to yes if linker adds runtime paths of dependent libraries
23494 # to runtime path list.
23495 inherit_rpath=$inherit_rpath
23497 # Whether libtool must link a program against all its dependency libraries.
23498 link_all_deplibs=$link_all_deplibs
23500 # Set to "yes" if exported symbols are required.
23501 always_export_symbols=$always_export_symbols
23503 # The commands to list exported symbols.
23504 export_symbols_cmds=$lt_export_symbols_cmds
23506 # Symbols that should not be listed in the preloaded symbols.
23507 exclude_expsyms=$lt_exclude_expsyms
23509 # Symbols that must always be exported.
23510 include_expsyms=$lt_include_expsyms
23512 # Commands necessary for linking programs (against libraries) with templates.
23513 prelink_cmds=$lt_prelink_cmds
23515 # Commands necessary for finishing linking programs.
23516 postlink_cmds=$lt_postlink_cmds
23518 # Specify filename containing input files.
23519 file_list_spec=$lt_file_list_spec
23521 # How to hardcode a shared library path into an executable.
23522 hardcode_action=$hardcode_action
23524 # The directories searched by this compiler when creating a shared library.
23525 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23527 # Dependencies to place before and after the objects being linked to
23528 # create a shared library.
23529 predep_objects=$lt_predep_objects
23530 postdep_objects=$lt_postdep_objects
23531 predeps=$lt_predeps
23532 postdeps=$lt_postdeps
23534 # The library search path used internally by the compiler when linking
23535 # a shared library.
23536 compiler_lib_search_path=$lt_compiler_lib_search_path
23538 # ### END LIBTOOL CONFIG
23542 cat <<'_LT_EOF' >> "$cfgfile"
23544 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23546 # func_munge_path_list VARIABLE PATH
23547 # -----------------------------------
23548 # VARIABLE is name of variable containing _space_ separated list of
23549 # directories to be munged by the contents of PATH, which is string
23552 # string "DIR[ DIR]" will be prepended to VARIABLE
23554 # string "DIR[ DIR]" will be appended to VARIABLE
23555 # "DIRP[:DIRP]::[DIRA:]DIRA"
23556 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23557 # "DIRA[ DIRA]" will be appended to VARIABLE
23559 # VARIABLE will be replaced by "DIR[ DIR]"
23560 func_munge_path_list ()
23566 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23569 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23572 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23573 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23576 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23582 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
23583 func_cc_basename ()
23585 for cc_temp in $*""; do
23587 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23588 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23593 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23597 # ### END FUNCTIONS SHARED WITH CONFIGURE
23603 cat <<\_LT_EOF
>> "$cfgfile"
23604 # AIX sometimes has problems with the GCC collect2 program. For some
23605 # reason, if we set the COLLECT_NAMES environment variable, the problems
23606 # vanish in a puff of smoke.
23607 if test set != "${COLLECT_NAMES+set}"; then
23609 export COLLECT_NAMES
23616 ltmain
=$ac_aux_dir/ltmain.sh
23619 # We use sed instead of cat because bash on DJGPP gets confused if
23620 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23621 # text mode, it properly converts lines to CR/LF. This bash problem
23622 # is reportedly fixed, but why not run on old versions too?
23623 sed '$q' "$ltmain" >> "$cfgfile" \
23624 || (rm -f "$cfgfile"; exit 1)
23626 mv -f "$cfgfile" "$ofile" ||
23627 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23631 cat <<_LT_EOF >> "$ofile"
23633 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23635 # The linker used to build libraries.
23638 # How to create reloadable object files.
23639 reload_flag=$lt_reload_flag_CXX
23640 reload_cmds=$lt_reload_cmds_CXX
23642 # Commands used to build an old-style archive.
23643 old_archive_cmds=$lt_old_archive_cmds_CXX
23645 # A language specific compiler.
23646 CC=$lt_compiler_CXX
23648 # Is the compiler the GNU compiler?
23651 # Compiler flag to turn off builtin functions.
23652 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23654 # Additional compiler flags for building library objects.
23655 pic_flag=$lt_lt_prog_compiler_pic_CXX
23657 # How to pass a linker flag through the compiler.
23658 wl=$lt_lt_prog_compiler_wl_CXX
23660 # Compiler flag to prevent dynamic linking.
23661 link_static_flag=$lt_lt_prog_compiler_static_CXX
23663 # Does compiler simultaneously support -c and -o options?
23664 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23666 # Whether or not to add -lc for building shared libraries.
23667 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23669 # Whether or not to disallow shared libs when runtime libs are static.
23670 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23672 # Compiler flag to allow reflexive dlopens.
23673 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23675 # Compiler flag to generate shared objects directly from archives.
23676 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23678 # Whether the compiler copes with passing no objects directly.
23679 compiler_needs_object=$lt_compiler_needs_object_CXX
23681 # Create an old-style archive from a shared archive.
23682 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23684 # Create a temporary old-style archive to link instead of a shared archive.
23685 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23687 # Commands used to build a shared archive.
23688 archive_cmds=$lt_archive_cmds_CXX
23689 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23691 # Commands used to build a loadable module if different from building
23692 # a shared archive.
23693 module_cmds=$lt_module_cmds_CXX
23694 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23696 # Whether we are building with GNU ld or not.
23697 with_gnu_ld=$lt_with_gnu_ld_CXX
23699 # Flag that allows shared libraries with undefined symbols to be built.
23700 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23702 # Flag that enforces no undefined symbols.
23703 no_undefined_flag=$lt_no_undefined_flag_CXX
23705 # Flag to hardcode \$libdir into a binary during linking.
23706 # This must work even if \$libdir does not exist
23707 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23709 # Whether we need a single "-rpath" flag with a separated argument.
23710 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23712 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23713 # DIR into the resulting binary.
23714 hardcode_direct=$hardcode_direct_CXX
23716 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23717 # DIR into the resulting binary and the resulting library dependency is
23718 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23719 # library is relocated.
23720 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23722 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23723 # into the resulting binary.
23724 hardcode_minus_L=$hardcode_minus_L_CXX
23726 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23727 # into the resulting binary.
23728 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23730 # Set to "yes" if building a shared library automatically hardcodes DIR
23731 # into the library and all subsequent libraries and executables linked
23733 hardcode_automatic=$hardcode_automatic_CXX
23735 # Set to yes if linker adds runtime paths of dependent libraries
23736 # to runtime path list.
23737 inherit_rpath=$inherit_rpath_CXX
23739 # Whether libtool must link a program against all its dependency libraries.
23740 link_all_deplibs=$link_all_deplibs_CXX
23742 # Set to "yes" if exported symbols are required.
23743 always_export_symbols=$always_export_symbols_CXX
23745 # The commands to list exported symbols.
23746 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23748 # Symbols that should not be listed in the preloaded symbols.
23749 exclude_expsyms=$lt_exclude_expsyms_CXX
23751 # Symbols that must always be exported.
23752 include_expsyms=$lt_include_expsyms_CXX
23754 # Commands necessary for linking programs (against libraries) with templates.
23755 prelink_cmds=$lt_prelink_cmds_CXX
23757 # Commands necessary for finishing linking programs.
23758 postlink_cmds=$lt_postlink_cmds_CXX
23760 # Specify filename containing input files.
23761 file_list_spec=$lt_file_list_spec_CXX
23763 # How to hardcode a shared library path into an executable.
23764 hardcode_action=$hardcode_action_CXX
23766 # The directories searched by this compiler when creating a shared library.
23767 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23769 # Dependencies to place before and after the objects being linked to
23770 # create a shared library.
23771 predep_objects=$lt_predep_objects_CXX
23772 postdep_objects=$lt_postdep_objects_CXX
23773 predeps=$lt_predeps_CXX
23774 postdeps=$lt_postdeps_CXX
23776 # The library search path used internally by the compiler when linking
23777 # a shared library.
23778 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23780 # ### END LIBTOOL TAG CONFIG: CXX
23791 ac_clean_files
=$ac_clean_files_save
23793 test $ac_write_fail = 0 ||
23794 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23797 # configure is writing to config.log, and then calls config.status.
23798 # config.status does its own redirection, appending to config.log.
23799 # Unfortunately, on DOS this fails, as config.log is still kept open
23800 # by configure, so config.status won't be able to write to it; its
23801 # output is simply discarded. So we exec the FD to /dev/null,
23802 # effectively closing config.log, so it can be properly (re)opened and
23803 # appended to by config.status. When coming back to configure, we
23804 # need to make the FD available again.
23805 if test "$no_create" != yes; then
23807 ac_config_status_args
=
23808 test "$silent" = yes &&
23809 ac_config_status_args
="$ac_config_status_args --quiet"
23811 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23813 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23814 # would make configure fail if this is the last instruction.
23815 $ac_cs_success || as_fn_exit
1
23817 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23819 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}