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
719 am__fastdepOBJCXX_FALSE
720 am__fastdepOBJCXX_TRUE
749 MAINTAINER_MODE_FALSE
763 INSTALL_STRIP_PROGRAM
805 program_transform_name
818 enable_option_checking
820 enable_maintainer_mode
821 enable_dependency_tracking
832 ac_precious_vars
='build_alias
861 # Initialize some variables set by options.
863 ac_init_version
=false
864 ac_unrecognized_opts
=
866 # The variables have the same names as the options, with
867 # dashes changed to underlines.
875 program_transform_name
=s
,x
,x
,
883 # Installation directory options.
884 # These are left unexpanded so users can "make install exec_prefix=/foo"
885 # and all the variables that are supposed to be based on exec_prefix
886 # by default will actually change.
887 # Use braces instead of parens because sh, perl, etc. also accept them.
888 # (The list follows the same order as the GNU Coding Standards.)
889 bindir
='${exec_prefix}/bin'
890 sbindir
='${exec_prefix}/sbin'
891 libexecdir
='${exec_prefix}/libexec'
892 datarootdir
='${prefix}/share'
893 datadir
='${datarootdir}'
894 sysconfdir
='${prefix}/etc'
895 sharedstatedir
='${prefix}/com'
896 localstatedir
='${prefix}/var'
897 includedir
='${prefix}/include'
898 oldincludedir
='/usr/include'
899 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
900 infodir
='${datarootdir}/info'
905 libdir
='${exec_prefix}/lib'
906 localedir
='${datarootdir}/locale'
907 mandir
='${datarootdir}/man'
913 # If the previous option needs an argument, assign it.
914 if test -n "$ac_prev"; then
915 eval $ac_prev=\
$ac_option
921 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
926 # Accept the important Cygnus configure options, so we can diagnose typos.
928 case $ac_dashdash$ac_option in
932 -bindir | --bindir | --bindi | --bind | --bin | --bi)
934 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
937 -build | --build | --buil | --bui | --bu)
938 ac_prev
=build_alias
;;
939 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
940 build_alias
=$ac_optarg ;;
942 -cache-file | --cache-file | --cache-fil | --cache-fi \
943 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
944 ac_prev
=cache_file
;;
945 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
946 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
947 cache_file
=$ac_optarg ;;
950 cache_file
=config.cache
;;
952 -datadir | --datadir | --datadi | --datad)
954 -datadir=* | --datadir=* | --datadi=* | --datad=*)
955 datadir
=$ac_optarg ;;
957 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
958 | --dataroo | --dataro | --datar)
959 ac_prev
=datarootdir
;;
960 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
961 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
962 datarootdir
=$ac_optarg ;;
964 -disable-* | --disable-*)
965 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
966 # Reject names that are not valid shell variable names.
967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
968 as_fn_error $?
"invalid feature name: $ac_useropt"
969 ac_useropt_orig
=$ac_useropt
970 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971 case $ac_user_opts in
975 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
976 ac_unrecognized_sep
=', ';;
978 eval enable_
$ac_useropt=no
;;
980 -docdir | --docdir | --docdi | --doc | --do)
982 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
985 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
987 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
990 -enable-* | --enable-*)
991 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
994 as_fn_error $?
"invalid feature name: $ac_useropt"
995 ac_useropt_orig
=$ac_useropt
996 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
1001 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1002 ac_unrecognized_sep
=', ';;
1004 eval enable_
$ac_useropt=\
$ac_optarg ;;
1006 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1007 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1008 | --exec | --exe | --ex)
1009 ac_prev
=exec_prefix
;;
1010 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1011 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1012 | --exec=* | --exe=* | --ex=*)
1013 exec_prefix
=$ac_optarg ;;
1015 -gas | --gas | --ga | --g)
1016 # Obsolete; use --with-gas.
1019 -help | --help | --hel | --he | -h)
1020 ac_init_help
=long
;;
1021 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1022 ac_init_help
=recursive
;;
1023 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1024 ac_init_help
=short
;;
1026 -host | --host | --hos | --ho)
1027 ac_prev
=host_alias
;;
1028 -host=* | --host=* | --hos=* | --ho=*)
1029 host_alias
=$ac_optarg ;;
1031 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1033 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1035 htmldir
=$ac_optarg ;;
1037 -includedir | --includedir | --includedi | --included | --include \
1038 | --includ | --inclu | --incl | --inc)
1039 ac_prev
=includedir
;;
1040 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1041 | --includ=* | --inclu=* | --incl=* | --inc=*)
1042 includedir
=$ac_optarg ;;
1044 -infodir | --infodir | --infodi | --infod | --info | --inf)
1046 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1047 infodir
=$ac_optarg ;;
1049 -libdir | --libdir | --libdi | --libd)
1051 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1052 libdir
=$ac_optarg ;;
1054 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1055 | --libexe | --libex | --libe)
1056 ac_prev
=libexecdir
;;
1057 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1058 | --libexe=* | --libex=* | --libe=*)
1059 libexecdir
=$ac_optarg ;;
1061 -localedir | --localedir | --localedi | --localed | --locale)
1062 ac_prev
=localedir
;;
1063 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1064 localedir
=$ac_optarg ;;
1066 -localstatedir | --localstatedir | --localstatedi | --localstated \
1067 | --localstate | --localstat | --localsta | --localst | --locals)
1068 ac_prev
=localstatedir
;;
1069 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1070 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1071 localstatedir
=$ac_optarg ;;
1073 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1075 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1076 mandir
=$ac_optarg ;;
1078 -nfp | --nfp | --nf)
1079 # Obsolete; use --without-fp.
1082 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1083 | --no-cr | --no-c | -n)
1086 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1087 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1090 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1091 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1092 | --oldin | --oldi | --old | --ol | --o)
1093 ac_prev
=oldincludedir
;;
1094 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1095 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1096 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1097 oldincludedir
=$ac_optarg ;;
1099 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1101 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1102 prefix
=$ac_optarg ;;
1104 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1105 | --program-pre | --program-pr | --program-p)
1106 ac_prev
=program_prefix
;;
1107 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1108 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1109 program_prefix
=$ac_optarg ;;
1111 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1112 | --program-suf | --program-su | --program-s)
1113 ac_prev
=program_suffix
;;
1114 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1115 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1116 program_suffix
=$ac_optarg ;;
1118 -program-transform-name | --program-transform-name \
1119 | --program-transform-nam | --program-transform-na \
1120 | --program-transform-n | --program-transform- \
1121 | --program-transform | --program-transfor \
1122 | --program-transfo | --program-transf \
1123 | --program-trans | --program-tran \
1124 | --progr-tra | --program-tr | --program-t)
1125 ac_prev
=program_transform_name
;;
1126 -program-transform-name=* | --program-transform-name=* \
1127 | --program-transform-nam=* | --program-transform-na=* \
1128 | --program-transform-n=* | --program-transform-=* \
1129 | --program-transform=* | --program-transfor=* \
1130 | --program-transfo=* | --program-transf=* \
1131 | --program-trans=* | --program-tran=* \
1132 | --progr-tra=* | --program-tr=* | --program-t=*)
1133 program_transform_name
=$ac_optarg ;;
1135 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1137 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1138 pdfdir
=$ac_optarg ;;
1140 -psdir | --psdir | --psdi | --psd | --ps)
1142 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1145 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1146 | -silent | --silent | --silen | --sile | --sil)
1149 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1151 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1153 sbindir
=$ac_optarg ;;
1155 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1156 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1157 | --sharedst | --shareds | --shared | --share | --shar \
1159 ac_prev
=sharedstatedir
;;
1160 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1161 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1162 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1164 sharedstatedir
=$ac_optarg ;;
1166 -site | --site | --sit)
1168 -site=* | --site=* | --sit=*)
1171 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1173 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1174 srcdir
=$ac_optarg ;;
1176 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1177 | --syscon | --sysco | --sysc | --sys | --sy)
1178 ac_prev
=sysconfdir
;;
1179 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1180 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1181 sysconfdir
=$ac_optarg ;;
1183 -target | --target | --targe | --targ | --tar | --ta | --t)
1184 ac_prev
=target_alias
;;
1185 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1186 target_alias
=$ac_optarg ;;
1188 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1191 -version | --version | --versio | --versi | --vers | -V)
1192 ac_init_version
=: ;;
1195 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1196 # Reject names that are not valid shell variable names.
1197 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1198 as_fn_error $?
"invalid package name: $ac_useropt"
1199 ac_useropt_orig
=$ac_useropt
1200 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201 case $ac_user_opts in
1205 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1206 ac_unrecognized_sep
=', ';;
1208 eval with_
$ac_useropt=\
$ac_optarg ;;
1210 -without-* | --without-*)
1211 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1212 # Reject names that are not valid shell variable names.
1213 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1214 as_fn_error $?
"invalid package name: $ac_useropt"
1215 ac_useropt_orig
=$ac_useropt
1216 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1217 case $ac_user_opts in
1221 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1222 ac_unrecognized_sep
=', ';;
1224 eval with_
$ac_useropt=no
;;
1227 # Obsolete; use --with-x.
1230 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1231 | --x-incl | --x-inc | --x-in | --x-i)
1232 ac_prev
=x_includes
;;
1233 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1234 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1235 x_includes
=$ac_optarg ;;
1237 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1238 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1239 ac_prev
=x_libraries
;;
1240 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1241 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1242 x_libraries
=$ac_optarg ;;
1244 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1245 Try \`$0 --help' for more information"
1249 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1250 # Reject names that are not valid shell variable names.
1251 case $ac_envvar in #(
1252 '' | [0-9]* | *[!_$as_cr_alnum]* )
1253 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1255 eval $ac_envvar=\
$ac_optarg
1256 export $ac_envvar ;;
1259 # FIXME: should be removed in autoconf 3.0.
1260 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1261 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1262 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1263 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1269 if test -n "$ac_prev"; then
1270 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1271 as_fn_error $?
"missing argument to $ac_option"
1274 if test -n "$ac_unrecognized_opts"; then
1275 case $enable_option_checking in
1277 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1278 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1282 # Check all directory arguments for consistency.
1283 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1284 datadir sysconfdir sharedstatedir localstatedir includedir \
1285 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1286 libdir localedir mandir
1288 eval ac_val
=\$
$ac_var
1289 # Remove trailing slashes.
1292 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1293 eval $ac_var=\
$ac_val;;
1295 # Be sure to have absolute directory names.
1297 [\\/$
]* | ?
:[\\/]* ) continue;;
1298 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1300 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1303 # There might be people who depend on the old broken behavior: `$host'
1304 # used to hold the argument of --host etc.
1305 # FIXME: To remove some day.
1308 target
=$target_alias
1310 # FIXME: To remove some day.
1311 if test "x$host_alias" != x
; then
1312 if test "x$build_alias" = x
; then
1313 cross_compiling
=maybe
1314 elif test "x$build_alias" != "x$host_alias"; then
1320 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1322 test "$silent" = yes && exec 6>/dev
/null
1325 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1326 ac_ls_di
=`ls -di .` &&
1327 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1328 as_fn_error $?
"working directory cannot be determined"
1329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1330 as_fn_error $?
"pwd does not report name of working directory"
1333 # Find the source files, if location was not specified.
1334 if test -z "$srcdir"; then
1335 ac_srcdir_defaulted
=yes
1336 # Try the directory containing this script, then the parent directory.
1337 ac_confdir
=`$as_dirname -- "$as_myself" ||
1338 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1339 X"$as_myself" : 'X\(//\)[^/]' \| \
1340 X"$as_myself" : 'X\(//\)$' \| \
1341 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1342 $as_echo X"$as_myself" |
1343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1365 ac_srcdir_defaulted
=no
1367 if test ! -r "$srcdir/$ac_unique_file"; then
1368 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1369 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1371 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1373 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1375 # When building in place, set srcdir=.
1376 if test "$ac_abs_confdir" = "$ac_pwd"; then
1379 # Remove unnecessary trailing slashes from srcdir.
1380 # Double slashes in file names in object file debugging info
1381 # mess up M-x gdb in Emacs.
1383 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1385 for ac_var
in $ac_precious_vars; do
1386 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1387 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1388 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1389 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1393 # Report the --help message.
1395 if test "$ac_init_help" = "long"; then
1396 # Omit some internal or obsolete options to make the list less imposing.
1397 # This message is too long to be a string in the A/UX 3.1 sh.
1399 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1401 Usage: $0 [OPTION]... [VAR=VALUE]...
1403 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1404 VAR=VALUE. See below for descriptions of some of the useful variables.
1406 Defaults for the options are specified in brackets.
1409 -h, --help display this help and exit
1410 --help=short display options specific to this package
1411 --help=recursive display the short help of all the included packages
1412 -V, --version display version information and exit
1413 -q, --quiet, --silent do not print \`checking ...' messages
1414 --cache-file=FILE cache test results in FILE [disabled]
1415 -C, --config-cache alias for \`--cache-file=config.cache'
1416 -n, --no-create do not create output files
1417 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1419 Installation directories:
1420 --prefix=PREFIX install architecture-independent files in PREFIX
1421 [$ac_default_prefix]
1422 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1425 By default, \`make install' will install all the files in
1426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1427 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1428 for instance \`--prefix=\$HOME'.
1430 For better control, use the options below.
1432 Fine tuning of the installation directories:
1433 --bindir=DIR user executables [EPREFIX/bin]
1434 --sbindir=DIR system admin executables [EPREFIX/sbin]
1435 --libexecdir=DIR program executables [EPREFIX/libexec]
1436 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1437 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1438 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1439 --libdir=DIR object code libraries [EPREFIX/lib]
1440 --includedir=DIR C header files [PREFIX/include]
1441 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1442 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1443 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1444 --infodir=DIR info documentation [DATAROOTDIR/info]
1445 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1446 --mandir=DIR man documentation [DATAROOTDIR/man]
1447 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1448 --htmldir=DIR html documentation [DOCDIR]
1449 --dvidir=DIR dvi documentation [DOCDIR]
1450 --pdfdir=DIR pdf documentation [DOCDIR]
1451 --psdir=DIR ps documentation [DOCDIR]
1457 --program-prefix=PREFIX prepend PREFIX to installed program names
1458 --program-suffix=SUFFIX append SUFFIX to installed program names
1459 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1462 --build=BUILD configure
for building on BUILD
[guessed
]
1463 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1467 if test -n "$ac_init_help"; then
1468 case $ac_init_help in
1469 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1474 --disable-option-checking ignore unrecognized
--enable/--with options
1475 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1476 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1477 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1478 --disable-silent-rules verbose build output
(undo
: "make V=0")
1479 --enable-maintainer-mode
1480 enable make rules and dependencies not useful
(and
1481 sometimes confusing
) to the casual installer
1482 --enable-dependency-tracking
1483 do not reject slow dependency extractors
1484 --disable-dependency-tracking
1485 speeds up one
-time build
1486 --enable-static[=PKGS
] build static libraries
[default
=no
]
1487 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1488 --enable-fast-install[=PKGS
]
1489 optimize
for fast installation
[default
=yes]
1490 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1491 --enable-javascript[=ENGINE
]
1492 use a JavaScript runtime
(currently the only
1493 available option
for ENGINE is JavaScriptCore
)
1495 --disable-console disable console
1498 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1499 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1500 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1502 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1503 --with-sysroot=DIR Search
for dependent libraries within DIR
1504 (or the compiler
's sysroot if not specified).
1506 Some influential environment variables:
1507 CC C compiler command
1508 CFLAGS C compiler flags
1509 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1510 nonstandard directory <lib dir>
1511 LIBS libraries to pass to the linker, e.g. -l<library>
1512 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1513 you have headers in a nonstandard directory <include dir>
1514 CXX C++ compiler command
1515 CXXFLAGS C++ compiler flags
1516 OBJCXX Objective C++ compiler command
1517 OBJCXXFLAGS Objective C++ compiler flags
1519 CXXCPP C++ preprocessor
1520 PKG_CONFIG path to pkg-config utility
1522 directories to add to pkg-config's search path
1524 path overriding pkg
-config's built-in search path
1525 BISON GNU Project parser generator (yacc replacement)
1526 FLEX the fast lexical analyser generator
1527 GPERF perfect hash function generator
1528 GNUTAR a very sticky lump of files
1530 C compiler flags for WEBKIT, overriding pkg-config
1531 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1533 prints information about the current gnustep installation
1535 Use these variables to override the choices made by `configure' or to
help
1536 it to
find libraries and programs with nonstandard names
/locations.
1538 Report bugs to
<saurik@saurik.com
>.
1539 Cycript home page
: <http
://www.cycript.org
/>.
1544 if test "$ac_init_help" = "recursive"; then
1545 # If there are subdirs, report their specific --help.
1546 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1547 test -d "$ac_dir" ||
1548 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1553 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1555 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1556 # A ".." for each directory in $ac_dir_suffix.
1557 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1558 case $ac_top_builddir_sub in
1559 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1560 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1563 ac_abs_top_builddir
=$ac_pwd
1564 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1565 # for backward compatibility:
1566 ac_top_builddir
=$ac_top_build_prefix
1569 .
) # We are building in place.
1571 ac_top_srcdir
=$ac_top_builddir_sub
1572 ac_abs_top_srcdir
=$ac_pwd ;;
1573 [\\/]* | ?
:[\\/]* ) # Absolute name.
1574 ac_srcdir
=$srcdir$ac_dir_suffix;
1575 ac_top_srcdir
=$srcdir
1576 ac_abs_top_srcdir
=$srcdir ;;
1578 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1579 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1580 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1582 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1584 cd "$ac_dir" || { ac_status
=$?
; continue; }
1585 # Check for guested configure.
1586 if test -f "$ac_srcdir/configure.gnu"; then
1588 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1589 elif test -f "$ac_srcdir/configure"; then
1591 $SHELL "$ac_srcdir/configure" --help=recursive
1593 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1595 cd "$ac_pwd" || { ac_status
=$?
; break; }
1599 test -n "$ac_init_help" && exit $ac_status
1600 if $ac_init_version; then
1602 Cycript configure
0.9
1603 generated by GNU Autoconf
2.69
1605 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1606 This configure
script is free software
; the Free Software Foundation
1607 gives unlimited permission to copy
, distribute and modify it.
1609 Copyright
(C
) 2009-2014 Jay Freeman
(saurik
)
1614 ## ------------------------ ##
1615 ## Autoconf initialization. ##
1616 ## ------------------------ ##
1618 # ac_fn_c_try_compile LINENO
1619 # --------------------------
1620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1621 ac_fn_c_try_compile
()
1623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1624 rm -f conftest.
$ac_objext
1625 if { { ac_try
="$ac_compile"
1627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_compile") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && {
1641 test -z "$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1643 } && test -s conftest.$ac_objext; then :
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1654 } # ac_fn_c_try_compile
1656 # ac_fn_cxx_try_compile LINENO
1657 # ----------------------------
1658 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1659 ac_fn_cxx_try_compile ()
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 rm -f conftest.$ac_objext
1663 if { { ac_try="$ac_compile"
1665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1666 *) ac_try_echo
=$ac_try;;
1668 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_compile") 2>conftest.err
1672 if test -s conftest.err
; then
1673 grep -v '^ *+' conftest.err
>conftest.er1
1674 cat conftest.er1
>&5
1675 mv -f conftest.er1 conftest.err
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; } && {
1679 test -z "$ac_cxx_werror_flag" ||
1680 test ! -s conftest.err
1681 } && test -s conftest.
$ac_objext; then :
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.
$ac_ext >&5
1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690 as_fn_set_status
$ac_retval
1692 } # ac_fn_cxx_try_compile
1694 # ac_fn_objcxx_try_compile LINENO
1695 # -------------------------------
1696 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1697 ac_fn_objcxx_try_compile
()
1699 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1700 rm -f conftest.
$ac_objext
1701 if { { ac_try
="$ac_compile"
1703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_compile") 2>conftest.err
1710 if test -s conftest.err; then
1711 grep -v '^ *+' conftest.err >conftest.er1
1712 cat conftest.er1 >&5
1713 mv -f conftest.er1 conftest.err
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } && {
1717 test -z "$ac_objcxx_werror_flag" ||
1718 test ! -s conftest.err
1719 } && test -s conftest.$ac_objext; then :
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1730 } # ac_fn_objcxx_try_compile
1732 # ac_fn_c_try_link LINENO
1733 # -----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded.
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 rm -f conftest.$ac_objext conftest$ac_exeext
1739 if { { ac_try="$ac_link"
1741 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1742 *) ac_try_echo
=$ac_try;;
1744 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_link") 2>conftest.err
1748 if test -s conftest.err
; then
1749 grep -v '^ *+' conftest.err
>conftest.er1
1750 cat conftest.er1
>&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } && {
1755 test -z "$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1757 } && test -s conftest
$ac_exeext && {
1758 test "$cross_compiling" = yes ||
1759 test -x conftest
$ac_exeext
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.
$ac_ext >&5
1768 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1769 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1770 # interfere with the next link command; also delete a directory that is
1771 # left behind by Apple's compiler. We do this before executing the actions.
1772 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774 as_fn_set_status
$ac_retval
1776 } # ac_fn_c_try_link
1778 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1779 # -------------------------------------------------------
1780 # Tests whether HEADER exists and can be compiled using the include files in
1781 # INCLUDES, setting the cache variable VAR accordingly.
1782 ac_fn_c_check_header_compile
()
1784 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 $as_echo_n "checking for $2... " >&6; }
1787 if eval \
${$3+:} false
; then :
1788 $as_echo_n "(cached) " >&6
1790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1795 if ac_fn_c_try_compile
"$LINENO"; then :
1800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807 } # ac_fn_c_check_header_compile
1809 # ac_fn_c_try_cpp LINENO
1810 # ----------------------
1811 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1814 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1815 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1818 *) ac_try_echo=$ac_try;;
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1824 if test -s conftest.err; then
1825 grep -v '^ *+' conftest.err >conftest.er1
1826 cat conftest.er1 >&5
1827 mv -f conftest.er1 conftest.err
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; } > conftest.i && {
1831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1832 test ! -s conftest.err
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.$ac_ext >&5
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 as_fn_set_status $ac_retval
1846 # ac_fn_c_try_run LINENO
1847 # ----------------------
1848 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1849 # that executables *can* be run.
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 if { { ac_try="$ac_link"
1855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1856 *) ac_try_echo
=$ac_try;;
1858 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_link") 2>&5
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1864 { { case "(($ac_try" in
1865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1866 *) ac_try_echo=$ac_try;;
1868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869 $as_echo "$ac_try_echo"; } >&5
1870 (eval "$ac_try") 2>&5
1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873 test $ac_status = 0; }; }; then :
1876 $as_echo "$as_me: program exited with status $ac_status" >&5
1877 $as_echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.$ac_ext >&5
1880 ac_retval=$ac_status
1882 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 as_fn_set_status $ac_retval
1888 # ac_fn_c_check_func LINENO FUNC VAR
1889 # ----------------------------------
1890 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1891 ac_fn_c_check_func ()
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895 $as_echo_n "checking for $2... " >&6; }
1896 if eval \${$3+:} false; then :
1897 $as_echo_n "(cached) " >&6
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1901 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1903 #define $2 innocuous_$2
1905 /* System header to define __stub macros and hopefully few prototypes,
1906 which can conflict with char $2 (); below.
1907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1908 <limits.h> exists even on freestanding compilers. */
1911 # include <limits.h>
1913 # include <assert.h>
1918 /* Override any GCC internal prototype to avoid an error.
1919 Use char because int might match the return type of a GCC
1920 builtin and then its argument prototype would still apply. */
1925 /* The GNU C library defines this for functions which it implements
1926 to always fail with ENOSYS. Some functions are actually named
1927 something starting with __ and the normal name is an alias. */
1928 #if defined __stub_$2 || defined __stub___$2
1940 if ac_fn_c_try_link "$LINENO"; then :
1945 rm -f core conftest.err conftest.$ac_objext \
1946 conftest$ac_exeext conftest.$ac_ext
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950 $as_echo "$ac_res" >&6; }
1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 } # ac_fn_c_check_func
1955 # ac_fn_cxx_try_cpp LINENO
1956 # ------------------------
1957 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1958 ac_fn_cxx_try_cpp ()
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 if { { ac_try="$ac_cpp conftest.$ac_ext"
1963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1964 *) ac_try_echo
=$ac_try;;
1966 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1967 $as_echo "$ac_try_echo"; } >&5
1968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1970 if test -s conftest.err
; then
1971 grep -v '^ *+' conftest.err
>conftest.er1
1972 cat conftest.er1
>&5
1973 mv -f conftest.er1 conftest.err
1975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1976 test $ac_status = 0; } > conftest.i
&& {
1977 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1978 test ! -s conftest.err
1982 $as_echo "$as_me: failed program was:" >&5
1983 sed 's/^/| /' conftest.
$ac_ext >&5
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988 as_fn_set_status
$ac_retval
1990 } # ac_fn_cxx_try_cpp
1992 # ac_fn_cxx_try_link LINENO
1993 # -------------------------
1994 # Try to link conftest.$ac_ext, and return whether this succeeded.
1995 ac_fn_cxx_try_link
()
1997 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1998 rm -f conftest.
$ac_objext conftest
$ac_exeext
1999 if { { ac_try
="$ac_link"
2001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_link") 2>conftest.err
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } && {
2015 test -z "$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 } && test -s conftest$ac_exeext && {
2018 test "$cross_compiling" = yes ||
2019 test -x conftest$ac_exeext
2023 $as_echo "$as_me: failed program was:" >&5
2024 sed 's/^/| /' conftest.$ac_ext >&5
2028 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2029 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2030 # interfere with the next link command; also delete a directory that is
2031 # left behind by Apple's compiler. We do this before executing the actions.
2032 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2034 as_fn_set_status $ac_retval
2036 } # ac_fn_cxx_try_link
2038 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2039 # ---------------------------------------------------------
2040 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2041 # the include files in INCLUDES and setting the cache variable VAR
2043 ac_fn_cxx_check_header_mongrel ()
2045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2046 if eval \${$3+:} false; then :
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if eval \${$3+:} false; then :
2050 $as_echo_n "(cached) " >&6
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2054 $as_echo "$ac_res" >&6; }
2056 # Is the header compilable?
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2058 $as_echo_n "checking $2 usability... " >&6; }
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2064 if ac_fn_cxx_try_compile "$LINENO"; then :
2065 ac_header_compiler=yes
2067 ac_header_compiler=no
2069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2071 $as_echo "$ac_header_compiler" >&6; }
2073 # Is the header present?
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2075 $as_echo_n "checking $2 presence... " >&6; }
2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077 /* end confdefs.h. */
2080 if ac_fn_cxx_try_cpp "$LINENO"; then :
2081 ac_header_preproc=yes
2083 ac_header_preproc=no
2085 rm -f conftest.err conftest.i conftest.$ac_ext
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2087 $as_echo "$ac_header_preproc" >&6; }
2089 # So? What about this header?
2090 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2093 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2095 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2099 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2101 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2103 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2105 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2107 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2108 ( $as_echo "## -------------------------------- ##
2109 ## Report this to saurik@saurik.com ##
2110 ## -------------------------------- ##"
2111 ) | sed "s/^/$as_me: WARNING: /" >&2
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2115 $as_echo_n "checking for $2... " >&6; }
2116 if eval \${$3+:} false; then :
2117 $as_echo_n "(cached) " >&6
2119 eval "$3=\$ac_header_compiler"
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2123 $as_echo "$ac_res" >&6; }
2125 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2127 } # ac_fn_cxx_check_header_mongrel
2129 # ac_fn_objcxx_try_link LINENO
2130 # ----------------------------
2131 # Try to link conftest.$ac_ext, and return whether this succeeded.
2132 ac_fn_objcxx_try_link ()
2134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2135 rm -f conftest.$ac_objext conftest$ac_exeext
2136 if { { ac_try="$ac_link"
2138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2139 *) ac_try_echo
=$ac_try;;
2141 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2142 $as_echo "$ac_try_echo"; } >&5
2143 (eval "$ac_link") 2>conftest.err
2145 if test -s conftest.err
; then
2146 grep -v '^ *+' conftest.err
>conftest.er1
2147 cat conftest.er1
>&5
2148 mv -f conftest.er1 conftest.err
2150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2151 test $ac_status = 0; } && {
2152 test -z "$ac_objcxx_werror_flag" ||
2153 test ! -s conftest.err
2154 } && test -s conftest
$ac_exeext && {
2155 test "$cross_compiling" = yes ||
2156 test -x conftest
$ac_exeext
2160 $as_echo "$as_me: failed program was:" >&5
2161 sed 's/^/| /' conftest.
$ac_ext >&5
2165 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2166 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2167 # interfere with the next link command; also delete a directory that is
2168 # left behind by Apple's compiler. We do this before executing the actions.
2169 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2170 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2171 as_fn_set_status
$ac_retval
2173 } # ac_fn_objcxx_try_link
2174 cat >config.log
<<_ACEOF
2175 This file contains any messages produced by compilers while
2176 running configure, to aid debugging if configure makes a mistake.
2178 It was created by Cycript $as_me 0.9, which was
2179 generated by GNU Autoconf 2.69. Invocation command line was
2191 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2192 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2193 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2194 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2195 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2197 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2198 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2200 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2201 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2202 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2203 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2204 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2205 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2206 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir
=.
2215 $as_echo "PATH: $as_dir"
2231 # Keep a trace of the command line.
2232 # Strip out --no-create and --no-recursion so they do not pile up.
2233 # Strip out --silent because we don't want to record it for future runs.
2234 # Also quote any args containing shell meta-characters.
2235 # Make two passes to allow for proper duplicate-argument suppression.
2239 ac_must_keep_next
=false
2245 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2247 | -silent | --silent | --silen | --sile | --sil)
2250 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2253 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2255 as_fn_append ac_configure_args1
" '$ac_arg'"
2256 if test $ac_must_keep_next = true
; then
2257 ac_must_keep_next
=false
# Got value, back to normal.
2260 *=* | --config-cache | -C | -disable-* | --disable-* \
2261 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2262 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2263 | -with-* | --with-* | -without-* | --without-* | --x)
2264 case "$ac_configure_args0 " in
2265 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2268 -* ) ac_must_keep_next
=true
;;
2271 as_fn_append ac_configure_args
" '$ac_arg'"
2276 { ac_configure_args0
=; unset ac_configure_args0
;}
2277 { ac_configure_args1
=; unset ac_configure_args1
;}
2279 # When interrupted or exit'd, cleanup temporary files, and complete
2280 # config.log. We remove comments because anyway the quotes in there
2281 # would cause problems or look ugly.
2282 # WARNING: Use '\'' to represent an apostrophe within the trap.
2283 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2284 trap 'exit_status=$?
2285 # Save into config.log some information that might help in debugging.
2289 $as_echo "## ---------------- ##
2290 ## Cache variables. ##
2291 ## ---------------- ##"
2293 # The following way of writing the cache mishandles newlines in values,
2295 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2296 eval ac_val=\$$ac_var
2300 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2301 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2304 _ | IFS | as_nl) ;; #(
2305 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2306 *) { eval $ac_var=; unset $ac_var;} ;;
2311 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2312 *${as_nl}ac_space=\ *)
2314 "s/'\''/'\''\\\\'\'''\''/g;
2315 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2318 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2325 $as_echo "## ----------------- ##
2326 ## Output variables. ##
2327 ## ----------------- ##"
2329 for ac_var in $ac_subst_vars
2331 eval ac_val=\$$ac_var
2333 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2335 $as_echo "$ac_var='\''$ac_val'\''"
2339 if test -n "$ac_subst_files"; then
2340 $as_echo "## ------------------- ##
2341 ## File substitutions. ##
2342 ## ------------------- ##"
2344 for ac_var
in $ac_subst_files
2346 eval ac_val
=\$
$ac_var
2348 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2350 $as_echo "$ac_var='\''$ac_val'\''"
2355 if test -s confdefs.h; then
2356 $as_echo "## ----------- ##
2363 test "$ac_signal" != 0 &&
2364 $as_echo "$as_me: caught signal $ac_signal"
2365 $as_echo "$as_me: exit $exit_status"
2367 rm -f core *.core core.conftest.* &&
2368 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2371 for ac_signal
in 1 2 13 15; do
2372 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2376 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2377 rm -f -r conftest
* confdefs.h
2379 $as_echo "/* confdefs.h */" > confdefs.h
2381 # Predefined preprocessor variables.
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PACKAGE_NAME "$PACKAGE_NAME"
2387 cat >>confdefs.h
<<_ACEOF
2388 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2391 cat >>confdefs.h
<<_ACEOF
2392 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define PACKAGE_STRING "$PACKAGE_STRING"
2399 cat >>confdefs.h
<<_ACEOF
2400 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2403 cat >>confdefs.h
<<_ACEOF
2404 #define PACKAGE_URL "$PACKAGE_URL"
2408 # Let the site file select an alternate cache file if it wants to.
2409 # Prefer an explicitly selected file to automatically selected ones.
2412 if test -n "$CONFIG_SITE"; then
2413 # We do not want a PATH search for config.site.
2414 case $CONFIG_SITE in #((
2415 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2416 */*) ac_site_file1
=$CONFIG_SITE;;
2417 *) ac_site_file1
=.
/$CONFIG_SITE;;
2419 elif test "x$prefix" != xNONE
; then
2420 ac_site_file1
=$prefix/share
/config.site
2421 ac_site_file2
=$prefix/etc
/config.site
2423 ac_site_file1
=$ac_default_prefix/share
/config.site
2424 ac_site_file2
=$ac_default_prefix/etc
/config.site
2426 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2428 test "x$ac_site_file" = xNONE
&& continue
2429 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2431 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2432 sed 's/^/| /' "$ac_site_file" >&5
2434 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2436 as_fn_error $?
"failed to load site script $ac_site_file
2437 See \`config.log' for more details" "$LINENO" 5; }
2441 if test -r "$cache_file"; then
2442 # Some versions of bash will fail to source /dev/null (special files
2443 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2444 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2446 $as_echo "$as_me: loading cache $cache_file" >&6;}
2448 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2449 *) .
"./$cache_file";;
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2454 $as_echo "$as_me: creating cache $cache_file" >&6;}
2458 # Check that the precious variables saved in the cache have kept the same
2460 ac_cache_corrupted
=false
2461 for ac_var
in $ac_precious_vars; do
2462 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2463 eval ac_new_set
=\
$ac_env_${ac_var}_set
2464 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2465 eval ac_new_val
=\
$ac_env_${ac_var}_value
2466 case $ac_old_set,$ac_new_set in
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2469 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2470 ac_cache_corrupted
=: ;;
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2473 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2474 ac_cache_corrupted
=: ;;
2477 if test "x$ac_old_val" != "x$ac_new_val"; then
2478 # differences in whitespace do not lead to failure.
2479 ac_old_val_w
=`echo x $ac_old_val`
2480 ac_new_val_w
=`echo x $ac_new_val`
2481 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2483 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2484 ac_cache_corrupted
=:
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2487 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2488 eval $ac_var=\
$ac_old_val
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2491 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2493 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2496 # Pass precious variables to config.status.
2497 if test "$ac_new_set" = set; then
2499 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2500 *) ac_arg
=$ac_var=$ac_new_val ;;
2502 case " $ac_configure_args " in
2503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2504 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2508 if $ac_cache_corrupted; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2512 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2513 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2515 ## -------------------- ##
2516 ## Main body of script. ##
2517 ## -------------------- ##
2520 ac_cpp
='$CPP $CPPFLAGS'
2521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2530 for ac_dir
in .
"$srcdir"/.
; do
2531 if test -f "$ac_dir/install-sh"; then
2533 ac_install_sh
="$ac_aux_dir/install-sh -c"
2535 elif test -f "$ac_dir/install.sh"; then
2537 ac_install_sh
="$ac_aux_dir/install.sh -c"
2539 elif test -f "$ac_dir/shtool"; then
2541 ac_install_sh
="$ac_aux_dir/shtool install -c"
2545 if test -z "$ac_aux_dir"; then
2546 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2549 # These three variables are undocumented and unsupported,
2550 # and are intended to be withdrawn in a future Autoconf release.
2551 # They can cause serious problems if a builder's source tree is in a directory
2552 # whose full name contains unusual characters.
2553 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2554 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2555 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2559 ac_config_headers
="$ac_config_headers config.h"
2562 am__api_version
='1.14'
2564 # Find a good install program. We prefer a C program (faster),
2565 # so one script is as good as another. But avoid the broken or
2566 # incompatible versions:
2567 # SysV /etc/install, /usr/sbin/install
2568 # SunOS /usr/etc/install
2569 # IRIX /sbin/install
2571 # AmigaOS /C/install, which installs bootblocks on floppy discs
2572 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2573 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2574 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2575 # OS/2's system install, which has a completely different semantic
2576 # ./install, which can be erroneously created by make from ./install.sh.
2577 # Reject install programs that cannot install multiple files.
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2579 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2580 if test -z "$INSTALL"; then
2581 if ${ac_cv_path_install+:} false
; then :
2582 $as_echo_n "(cached) " >&6
2584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir
=.
2589 # Account for people who put trailing slashes in PATH elements.
2590 case $as_dir/ in #((
2591 .
/ | .
// | /[cC
]/* | \
2592 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2593 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2596 # OSF1 and SCO ODT 3.0 have their own names for install.
2597 # Don't use installbsd from OSF since it installs stuff as root
2599 for ac_prog
in ginstall scoinst
install; do
2600 for ac_exec_ext
in '' $ac_executable_extensions; do
2601 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2602 if test $ac_prog = install &&
2603 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2604 # AIX install. It has an incompatible calling convention.
2606 elif test $ac_prog = install &&
2607 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2608 # program-specific install script used by HP pwplus--don't use.
2611 rm -rf conftest.one conftest.two conftest.dir
2612 echo one
> conftest.one
2613 echo two
> conftest.two
2615 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2616 test -s conftest.one
&& test -s conftest.two
&&
2617 test -s conftest.dir
/conftest.one
&&
2618 test -s conftest.dir
/conftest.two
2620 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2633 rm -rf conftest.one conftest.two conftest.dir
2636 if test "${ac_cv_path_install+set}" = set; then
2637 INSTALL
=$ac_cv_path_install
2639 # As a last resort, use the slow shell script. Don't cache a
2640 # value for INSTALL within a source directory, because that will
2641 # break other packages using the cache if that directory is
2642 # removed, or if the value is a relative name.
2643 INSTALL
=$ac_install_sh
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2647 $as_echo "$INSTALL" >&6; }
2649 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2650 # It thinks the first close brace ends the variable substitution.
2651 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2653 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2655 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2658 $as_echo_n "checking whether build environment is sane... " >&6; }
2659 # Reject unsafe characters in $srcdir or the absolute working directory
2660 # name. Accept space and tab only in the latter.
2664 *[\\\"\#\$\&\'\`$am_lf]*)
2665 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2668 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2669 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2672 # Do 'set' in a subshell so we don't clobber the current shell's
2673 # arguments. Must try -L first in case configure is actually a
2674 # symlink; some systems play weird games with the mod time of symlinks
2675 # (eg FreeBSD returns the mod time of the symlink's containing
2679 for am_try
in 1 2; do
2680 echo "timestamp, slept: $am_has_slept" > conftest.
file
2681 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2682 if test "$*" = "X"; then
2684 set X
`ls -t "$srcdir/configure" conftest.file`
2686 if test "$*" != "X $srcdir/configure conftest.file" \
2687 && test "$*" != "X conftest.file $srcdir/configure"; then
2689 # If neither matched, then we have a broken ls. This can happen
2690 # if, for instance, CONFIG_SHELL is bash and it inherits a
2691 # broken ls alias from the environment. This has actually
2692 # happened. Such a system could not be considered "sane".
2693 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2694 alias in your environment" "$LINENO" 5
2696 if test "$2" = conftest.
file || test $am_try -eq 2; then
2703 test "$2" = conftest.
file
2709 as_fn_error $?
"newly created file is older than distributed files!
2710 Check your system clock" "$LINENO" 5
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2713 $as_echo "yes" >&6; }
2714 # If we didn't sleep, we still need to ensure time stamps of config.status and
2715 # generated files are strictly newer.
2717 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2724 test "$program_prefix" != NONE
&&
2725 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2726 # Use a double $ so make ignores it.
2727 test "$program_suffix" != NONE
&&
2728 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2729 # Double any \ or $.
2730 # By default was `s,x,x', remove it if useless.
2731 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2732 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2734 # expand $ac_aux_dir to an absolute path
2735 am_aux_dir
=`cd $ac_aux_dir && pwd`
2737 if test x
"${MISSING+set}" != xset
; then
2740 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2742 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2745 # Use eval to expand $SHELL
2746 if eval "$MISSING --is-lightweight"; then
2747 am_missing_run
="$MISSING "
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2751 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2754 if test x
"${install_sh}" != xset
; then
2757 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2759 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2763 # Installed binaries are usually stripped using 'strip' when the user
2764 # run "make install-strip". However 'strip' might not be the right
2765 # tool to use in cross-compilation environments, therefore Automake
2766 # will honor the 'STRIP' environment variable to overrule this program.
2767 if test "$cross_compiling" != no
; then
2768 if test -n "$ac_tool_prefix"; then
2769 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2770 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2772 $as_echo_n "checking for $ac_word... " >&6; }
2773 if ${ac_cv_prog_STRIP+:} false
; then :
2774 $as_echo_n "(cached) " >&6
2776 if test -n "$STRIP"; then
2777 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2783 test -z "$as_dir" && as_dir
=.
2784 for ac_exec_ext
in '' $ac_executable_extensions; do
2785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2786 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 STRIP
=$ac_cv_prog_STRIP
2797 if test -n "$STRIP"; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2799 $as_echo "$STRIP" >&6; }
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802 $as_echo "no" >&6; }
2807 if test -z "$ac_cv_prog_STRIP"; then
2809 # Extract the first word of "strip", so it can be a program name with args.
2810 set dummy strip
; ac_word
=$2
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812 $as_echo_n "checking for $ac_word... " >&6; }
2813 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2814 $as_echo_n "(cached) " >&6
2816 if test -n "$ac_ct_STRIP"; then
2817 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2823 test -z "$as_dir" && as_dir
=.
2824 for ac_exec_ext
in '' $ac_executable_extensions; do
2825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_ac_ct_STRIP
="strip"
2827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2836 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2837 if test -n "$ac_ct_STRIP"; then
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2839 $as_echo "$ac_ct_STRIP" >&6; }
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2842 $as_echo "no" >&6; }
2845 if test "x$ac_ct_STRIP" = x
; then
2848 case $cross_compiling:$ac_tool_warned in
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2852 ac_tool_warned
=yes ;;
2857 STRIP
="$ac_cv_prog_STRIP"
2861 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2864 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2865 if test -z "$MKDIR_P"; then
2866 if ${ac_cv_path_mkdir+:} false
; then :
2867 $as_echo_n "(cached) " >&6
2869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2870 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2873 test -z "$as_dir" && as_dir
=.
2874 for ac_prog
in mkdir gmkdir
; do
2875 for ac_exec_ext
in '' $ac_executable_extensions; do
2876 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2877 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2878 'mkdir (GNU coreutils) '* | \
2879 'mkdir (coreutils) '* | \
2880 'mkdir (fileutils) '4.1*)
2881 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2891 test -d .
/--version && rmdir .
/--version
2892 if test "${ac_cv_path_mkdir+set}" = set; then
2893 MKDIR_P
="$ac_cv_path_mkdir -p"
2895 # As a last resort, use the slow shell script. Don't cache a
2896 # value for MKDIR_P within a source directory, because that will
2897 # break other packages using the cache if that directory is
2898 # removed, or if the value is a relative name.
2899 MKDIR_P
="$ac_install_sh -d"
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2903 $as_echo "$MKDIR_P" >&6; }
2905 for ac_prog
in gawk mawk nawk
awk
2907 # Extract the first word of "$ac_prog", so it can be a program name with args.
2908 set dummy
$ac_prog; ac_word
=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if ${ac_cv_prog_AWK+:} false
; then :
2912 $as_echo_n "(cached) " >&6
2914 if test -n "$AWK"; then
2915 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir
=.
2922 for ac_exec_ext
in '' $ac_executable_extensions; do
2923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2924 ac_cv_prog_AWK
="$ac_prog"
2925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 if test -n "$AWK"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2937 $as_echo "$AWK" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2944 test -n "$AWK" && break
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2948 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2950 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2951 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2952 $as_echo_n "(cached) " >&6
2954 cat >conftest.
make <<\_ACEOF
2957 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2959 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2960 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2962 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2964 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2968 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2970 $as_echo "yes" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2975 SET_MAKE
="MAKE=${MAKE-make}"
2978 rm -rf .tst
2>/dev
/null
2979 mkdir .tst
2>/dev
/null
2980 if test -d .tst
; then
2985 rmdir .tst
2>/dev
/null
2987 # Check whether --enable-silent-rules was given.
2988 if test "${enable_silent_rules+set}" = set; then :
2989 enableval
=$enable_silent_rules;
2992 case $enable_silent_rules in # (((
2993 yes) AM_DEFAULT_VERBOSITY
=0;;
2994 no
) AM_DEFAULT_VERBOSITY
=1;;
2995 *) AM_DEFAULT_VERBOSITY
=1;;
2997 am_make
=${MAKE-make}
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2999 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3000 if ${am_cv_make_support_nested_variables+:} false
; then :
3001 $as_echo_n "(cached) " >&6
3003 if $as_echo 'TRUE=$(BAR$(V))
3009 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3010 am_cv_make_support_nested_variables
=yes
3012 am_cv_make_support_nested_variables
=no
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3016 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3017 if test $am_cv_make_support_nested_variables = yes; then
3019 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3021 AM_V
=$AM_DEFAULT_VERBOSITY
3022 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3026 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3027 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3028 # is not polluted with repeated "-I."
3029 am__isrc
=' -I$(srcdir)'
3030 # test to see if srcdir already configured
3031 if test -f $srcdir/config.status
; then
3032 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3036 # test whether we have cygpath
3037 if test -z "$CYGPATH_W"; then
3038 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3039 CYGPATH_W
='cygpath -w'
3046 # Define the identity of the package.
3051 cat >>confdefs.h
<<_ACEOF
3052 #define PACKAGE "$PACKAGE"
3056 cat >>confdefs.h
<<_ACEOF
3057 #define VERSION "$VERSION"
3060 # Some tools Automake needs.
3062 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3065 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3068 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3071 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3074 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3076 # For better backward compatibility. To be removed once Automake 1.9.x
3077 # dies out for good. For more background, see:
3078 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3079 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3080 mkdir_p
='$(MKDIR_P)'
3082 # We need awk for the "check" target. The system "awk" is bad on
3084 # Always define AMTAR for backward compatibility. Yes, it's still used
3085 # in the wild :-( We should find a proper way to deprecate it ...
3089 # We'll loop over all known methods to create a tar archive until one works.
3090 _am_tools
='gnutar pax cpio none'
3092 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3099 # POSIX will say in a future version that running "rm -f" with no argument
3100 # is OK; and we want to be able to make that assumption in our Makefile
3101 # recipes. So use an aggressive probe to check that the usage we want is
3102 # actually supported "in the wild" to an acceptable degree.
3103 # See automake bug#10828.
3104 # To make any issue more visible, cause the running configure to be aborted
3105 # by default if the 'rm' program in use doesn't match our expectations; the
3106 # user can still override this though.
3107 if rm -f && rm -fr && rm -rf; then : OK
; else
3111 Your 'rm' program seems unable to run without file operands specified
3112 on the command line, even when the '-f' option is present. This is contrary
3113 to the behaviour of most rm programs out there, and not conforming with
3114 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3116 Please tell bug-automake@gnu.org about your system, including the value
3117 of your $PATH and any error possibly output before this message. This
3118 can help us improve future automake versions.
3121 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3122 echo 'Configuration will proceed anyway, since you have set the' >&2
3123 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3127 Aborting the configuration process, to ensure you take notice of the issue.
3129 You can download and install GNU coreutils to get an 'rm' implementation
3130 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3132 If you want to complete the configuration process using your problematic
3133 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3134 to "yes", and re-run configure.
3137 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3142 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3143 # Check whether --enable-maintainer-mode was given.
3144 if test "${enable_maintainer_mode+set}" = set; then :
3145 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3147 USE_MAINTAINER_MODE
=no
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3151 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3152 if test $USE_MAINTAINER_MODE = yes; then
3153 MAINTAINER_MODE_TRUE
=
3154 MAINTAINER_MODE_FALSE
='#'
3156 MAINTAINER_MODE_TRUE
='#'
3157 MAINTAINER_MODE_FALSE
=
3160 MAINT
=$MAINTAINER_MODE_TRUE
3165 ac_cpp
='$CPP $CPPFLAGS'
3166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3169 if test -n "$ac_tool_prefix"; then
3170 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3171 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3173 $as_echo_n "checking for $ac_word... " >&6; }
3174 if ${ac_cv_prog_CC+:} false
; then :
3175 $as_echo_n "(cached) " >&6
3177 if test -n "$CC"; then
3178 ac_cv_prog_CC
="$CC" # Let the user override the test.
3180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3184 test -z "$as_dir" && as_dir
=.
3185 for ac_exec_ext
in '' $ac_executable_extensions; do
3186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3187 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 if test -n "$CC"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3200 $as_echo "$CC" >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3208 if test -z "$ac_cv_prog_CC"; then
3210 # Extract the first word of "gcc", so it can be a program name with args.
3211 set dummy gcc
; ac_word
=$2
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213 $as_echo_n "checking for $ac_word... " >&6; }
3214 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3215 $as_echo_n "(cached) " >&6
3217 if test -n "$ac_ct_CC"; then
3218 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3224 test -z "$as_dir" && as_dir
=.
3225 for ac_exec_ext
in '' $ac_executable_extensions; do
3226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3227 ac_cv_prog_ac_ct_CC
="gcc"
3228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3237 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3238 if test -n "$ac_ct_CC"; then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3240 $as_echo "$ac_ct_CC" >&6; }
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3243 $as_echo "no" >&6; }
3246 if test "x$ac_ct_CC" = x
; then
3249 case $cross_compiling:$ac_tool_warned in
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3253 ac_tool_warned
=yes ;;
3261 if test -z "$CC"; then
3262 if test -n "$ac_tool_prefix"; then
3263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3264 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if ${ac_cv_prog_CC+:} false
; then :
3268 $as_echo_n "(cached) " >&6
3270 if test -n "$CC"; then
3271 ac_cv_prog_CC
="$CC" # Let the user override the test.
3273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3277 test -z "$as_dir" && as_dir
=.
3278 for ac_exec_ext
in '' $ac_executable_extensions; do
3279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3280 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 if test -n "$CC"; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3293 $as_echo "$CC" >&6; }
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3302 if test -z "$CC"; then
3303 # Extract the first word of "cc", so it can be a program name with args.
3304 set dummy cc
; ac_word
=$2
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306 $as_echo_n "checking for $ac_word... " >&6; }
3307 if ${ac_cv_prog_CC+:} false
; then :
3308 $as_echo_n "(cached) " >&6
3310 if test -n "$CC"; then
3311 ac_cv_prog_CC
="$CC" # Let the user override the test.
3314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir
=.
3319 for ac_exec_ext
in '' $ac_executable_extensions; do
3320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3321 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3322 ac_prog_rejected
=yes
3326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3333 if test $ac_prog_rejected = yes; then
3334 # We found a bogon in the path, so make sure we never use it.
3335 set dummy
$ac_cv_prog_CC
3337 if test $# != 0; then
3338 # We chose a different compiler from the bogus one.
3339 # However, it has the same basename, so the bogon will be chosen
3340 # first if we set CC to just the basename; use the full file name.
3342 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3348 if test -n "$CC"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3350 $as_echo "$CC" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3358 if test -z "$CC"; then
3359 if test -n "$ac_tool_prefix"; then
3360 for ac_prog
in cl.exe
3362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3363 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3365 $as_echo_n "checking for $ac_word... " >&6; }
3366 if ${ac_cv_prog_CC+:} false
; then :
3367 $as_echo_n "(cached) " >&6
3369 if test -n "$CC"; then
3370 ac_cv_prog_CC
="$CC" # Let the user override the test.
3372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3376 test -z "$as_dir" && as_dir
=.
3377 for ac_exec_ext
in '' $ac_executable_extensions; do
3378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3379 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 if test -n "$CC"; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3392 $as_echo "$CC" >&6; }
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395 $as_echo "no" >&6; }
3399 test -n "$CC" && break
3402 if test -z "$CC"; then
3404 for ac_prog
in cl.exe
3406 # Extract the first word of "$ac_prog", so it can be a program name with args.
3407 set dummy
$ac_prog; ac_word
=$2
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3409 $as_echo_n "checking for $ac_word... " >&6; }
3410 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3411 $as_echo_n "(cached) " >&6
3413 if test -n "$ac_ct_CC"; then
3414 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3420 test -z "$as_dir" && as_dir
=.
3421 for ac_exec_ext
in '' $ac_executable_extensions; do
3422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3423 ac_cv_prog_ac_ct_CC
="$ac_prog"
3424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3434 if test -n "$ac_ct_CC"; then
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3436 $as_echo "$ac_ct_CC" >&6; }
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3439 $as_echo "no" >&6; }
3443 test -n "$ac_ct_CC" && break
3446 if test "x$ac_ct_CC" = x
; then
3449 case $cross_compiling:$ac_tool_warned in
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3453 ac_tool_warned
=yes ;;
3462 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 as_fn_error $?
"no acceptable C compiler found in \$PATH
3465 See \`config.log' for more details" "$LINENO" 5; }
3467 # Provide some information about the compiler.
3468 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3471 for ac_option
in --version -v -V -qversion; do
3472 { { ac_try
="$ac_compiler $ac_option >&5"
3474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3481 if test -s conftest.err; then
3483 ... rest of stderr output deleted ...
3484 10q' conftest.err >conftest.er1
3485 cat conftest.er1 >&5
3487 rm -f conftest.er1 conftest.err
3488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3489 test $ac_status = 0; }
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3503 ac_clean_files_save=$ac_clean_files
3504 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3505 # Try to create an executable without -o first, disregard a.out.
3506 # It will help us diagnose broken compilers, and finding out an intuition
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3509 $as_echo_n "checking whether the C compiler works... " >&6; }
3510 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3512 # The possible output files:
3513 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3516 for ac_file in $ac_files
3519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3520 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3525 if { { ac_try="$ac_link_default"
3527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3528 *) ac_try_echo
=$ac_try;;
3530 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3531 $as_echo "$ac_try_echo"; } >&5
3532 (eval "$ac_link_default") 2>&5
3534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3535 test $ac_status = 0; }; then :
3536 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3537 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3538 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3539 # so that the user can short-circuit this test for compilers unknown to
3541 for ac_file
in $ac_files ''
3543 test -f "$ac_file" || continue
3545 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3548 # We found the default executable, but exeext='' is most
3552 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3554 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3556 # We set ac_cv_exeext here because the later test for it is not
3557 # safe: cross compilers may not add the suffix if given an `-o'
3558 # argument, so we may need to know it at that point already.
3559 # Even if this section looks crufty: it has the advantage of
3566 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3571 if test -z "$ac_file"; then :
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3574 $as_echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.
$ac_ext >&5
3577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3579 as_fn_error
77 "C compiler cannot create executables
3580 See \`config.log' for more details" "$LINENO" 5; }
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3583 $as_echo "yes" >&6; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3586 $as_echo_n "checking for C compiler default output file name... " >&6; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3588 $as_echo "$ac_file" >&6; }
3589 ac_exeext
=$ac_cv_exeext
3591 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3592 ac_clean_files
=$ac_clean_files_save
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3594 $as_echo_n "checking for suffix of executables... " >&6; }
3595 if { { ac_try
="$ac_link"
3597 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 $as_echo "$ac_try_echo"; } >&5
3602 (eval "$ac_link") 2>&5
3604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605 test $ac_status = 0; }; then :
3606 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3607 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3608 # work properly (i.e., refer to `conftest.exe'), while it won't with
3610 for ac_file
in conftest.exe conftest conftest.
*; do
3611 test -f "$ac_file" || continue
3613 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3614 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3622 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3623 See \`config.log' for more details" "$LINENO" 5; }
3625 rm -f conftest conftest
$ac_cv_exeext
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3627 $as_echo "$ac_cv_exeext" >&6; }
3629 rm -f conftest.
$ac_ext
3630 EXEEXT
=$ac_cv_exeext
3632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3633 /* end confdefs.h. */
3638 FILE *f = fopen ("conftest.out", "w");
3639 return ferror (f) || fclose (f) != 0;
3645 ac_clean_files
="$ac_clean_files conftest.out"
3646 # Check that the compiler produces executables we can run. If not, either
3647 # the compiler is broken, or we cross compile.
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3649 $as_echo_n "checking whether we are cross compiling... " >&6; }
3650 if test "$cross_compiling" != yes; then
3651 { { ac_try
="$ac_link"
3653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3657 $as_echo "$ac_try_echo"; } >&5
3658 (eval "$ac_link") 2>&5
3660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3661 test $ac_status = 0; }
3662 if { ac_try='./conftest$ac_cv_exeext'
3663 { { case "(($ac_try" in
3664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3665 *) ac_try_echo
=$ac_try;;
3667 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3668 $as_echo "$ac_try_echo"; } >&5
3669 (eval "$ac_try") 2>&5
3671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3672 test $ac_status = 0; }; }; then
3675 if test "$cross_compiling" = maybe
; then
3678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3680 as_fn_error $?
"cannot run C compiled programs.
3681 If you meant to cross compile, use \`--host'.
3682 See \`config.log' for more details" "$LINENO" 5; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3687 $as_echo "$cross_compiling" >&6; }
3689 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3690 ac_clean_files
=$ac_clean_files_save
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3692 $as_echo_n "checking for suffix of object files... " >&6; }
3693 if ${ac_cv_objext+:} false
; then :
3694 $as_echo_n "(cached) " >&6
3696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3697 /* end confdefs.h. */
3707 rm -f conftest.o conftest.obj
3708 if { { ac_try
="$ac_compile"
3710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3711 *) ac_try_echo=$ac_try;;
3713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3714 $as_echo "$ac_try_echo"; } >&5
3715 (eval "$ac_compile") 2>&5
3717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718 test $ac_status = 0; }; then :
3719 for ac_file in conftest.o conftest.obj conftest.*; do
3720 test -f "$ac_file" || continue;
3722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3723 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3728 $as_echo "$as_me: failed program was:" >&5
3729 sed 's/^/| /' conftest.$ac_ext >&5
3731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3733 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3734 See \
`config.log' for more details" "$LINENO" 5; }
3736 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3739 $as_echo "$ac_cv_objext" >&6; }
3740 OBJEXT=$ac_cv_objext
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3743 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3744 if ${ac_cv_c_compiler_gnu+:} false; then :
3745 $as_echo_n "(cached) " >&6
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3761 if ac_fn_c_try_compile "$LINENO"; then :
3766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3767 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3771 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3772 if test $ac_compiler_gnu = yes; then
3777 ac_test_CFLAGS=${CFLAGS+set}
3778 ac_save_CFLAGS=$CFLAGS
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3780 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3781 if ${ac_cv_prog_cc_g+:} false; then :
3782 $as_echo_n "(cached) " >&6
3784 ac_save_c_werror_flag=$ac_c_werror_flag
3785 ac_c_werror_flag=yes
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3799 if ac_fn_c_try_compile "$LINENO"; then :
3803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3804 /* end confdefs.h. */
3814 if ac_fn_c_try_compile "$LINENO"; then :
3817 ac_c_werror_flag=$ac_save_c_werror_flag
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3830 if ac_fn_c_try_compile "$LINENO"; then :
3833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3838 ac_c_werror_flag=$ac_save_c_werror_flag
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3841 $as_echo "$ac_cv_prog_cc_g" >&6; }
3842 if test "$ac_test_CFLAGS" = set; then
3843 CFLAGS=$ac_save_CFLAGS
3844 elif test $ac_cv_prog_cc_g = yes; then
3845 if test "$GCC" = yes; then
3851 if test "$GCC" = yes; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3858 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3859 if ${ac_cv_prog_cc_c89+:} false; then :
3860 $as_echo_n "(cached) " >&6
3862 ac_cv_prog_cc_c89=no
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3869 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3870 struct buf { int x; };
3871 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3872 static char *e (p, i)
3878 static char *f (char * (*g) (char **, int), char **p, ...)
3883 s = g (p, va_arg (v,int));
3888 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3889 function prototypes and stuff, but not '\xHH' hex character constants.
3890 These don't provoke an error unfortunately, instead are silently treated
3891 as 'x'. The following induces an error, until -std is added to get
3892 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3893 array size at least. It's necessary to write '\x00'==0 to get something
3894 that's true only with -std. */
3895 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3897 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3898 inside strings and character constants. */
3900 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3902 int test (int i, double x);
3903 struct s1 {int (*f) (int a);};
3904 struct s2 {int (*f) (double a);};
3905 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3911 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3916 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3917 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3919 CC="$ac_save_CC $ac_arg"
3920 if ac_fn_c_try_compile "$LINENO"; then :
3921 ac_cv_prog_cc_c89=$ac_arg
3923 rm -f core conftest.err conftest.$ac_objext
3924 test "x$ac_cv_prog_cc_c89" != "xno" && break
3926 rm -f conftest.$ac_ext
3931 case "x$ac_cv_prog_cc_c89" in
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3934 $as_echo "none needed" >&6; } ;;
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3937 $as_echo "unsupported" >&6; } ;;
3939 CC="$CC $ac_cv_prog_cc_c89"
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3941 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3943 if test "x$ac_cv_prog_cc_c89" != xno; then :
3948 ac_cpp='$CPP $CPPFLAGS'
3949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3954 ac_cpp='$CPP $CPPFLAGS'
3955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3959 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3960 if ${am_cv_prog_cc_c_o+:} false; then :
3961 $as_echo_n "(cached) " >&6
3963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3964 /* end confdefs.h. */
3974 # Make sure it works both with $CC and with simple cc.
3975 # Following AC_PROG_CC_C_O, we do the test twice because some
3976 # compilers refuse to overwrite an existing .o file with -o,
3977 # though they will create one.
3978 am_cv_prog_cc_c_o=yes
3980 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3981 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); } \
3985 && test -f conftest2.$ac_objext; then
3988 am_cv_prog_cc_c_o=no
3992 rm -f core conftest*
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3996 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3997 if test "$am_cv_prog_cc_c_o" != yes; then
3998 # Losing compiler, so override with the script.
3999 # FIXME: It is wrong to rewrite CC.
4000 # But if we don't then we get into trouble of one sort or another.
4001 # A longer-term fix would be to have automake use am__CC in this case,
4002 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4003 CC="$am_aux_dir/compile $CC"
4006 ac_cpp='$CPP $CPPFLAGS'
4007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4011 DEPDIR="${am__leading_dot}deps"
4013 ac_config_commands="$ac_config_commands depfiles"
4016 am_make=${MAKE-make}
4017 cat > confinc << 'END'
4019 @echo this is the am__doit target
4022 # If we don't find an include directive, just comment out the code.
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4024 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4028 # First try GNU make style include.
4029 echo "include confinc" > confmf
4030 # Ignore all kinds of additional output from 'make'.
4031 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4032 *the\ am__doit\ target*)
4038 # Now try BSD make style include.
4039 if test "$am__include" = "#"; then
4040 echo '.include "confinc"' > confmf
4041 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4042 *the\ am__doit\ target*)
4043 am__include=.include
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4052 $as_echo "$_am_result" >&6; }
4053 rm -f confinc confmf
4055 # Check whether --enable-dependency-tracking was given.
4056 if test "${enable_dependency_tracking+set}" = set; then :
4057 enableval=$enable_dependency_tracking;
4060 if test "x$enable_dependency_tracking" != xno; then
4061 am_depcomp="$ac_aux_dir/depcomp"
4065 if test "x$enable_dependency_tracking" != xno; then
4075 depcc="$CC" am_compiler_list=
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4078 $as_echo_n "checking dependency style of $depcc... " >&6; }
4079 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4080 $as_echo_n "(cached) " >&6
4082 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4083 # We make a subdir and do the tests there. Otherwise we can end up
4084 # making bogus files that we don't know about and never remove. For
4085 # instance it was reported that on HP-UX the gcc test will end up
4086 # making a dummy file named 'D' -- because '-MD' means "put the output
4090 # Copy depcomp to subdir because otherwise we won't find it if we're
4091 # using a relative directory.
4092 cp "$am_depcomp" conftest.dir
4094 # We will build objects and dependencies in a subdirectory because
4095 # it helps to detect inapplicable dependency modes. For instance
4096 # both Tru64's cc and ICC support -MD to output dependencies as a
4097 # side effect of compilation, but ICC will put the dependencies in
4098 # the current directory while Tru64 will put them in the object
4102 am_cv_CC_dependencies_compiler_type=none
4103 if test "$am_compiler_list" = ""; then
4104 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4107 case " $depcc " in #(
4108 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4111 for depmode in $am_compiler_list; do
4112 # Setup a source with many dependencies, because some compilers
4113 # like to wrap large dependency lists on column 80 (with \), and
4114 # we should not choose a depcomp mode which is confused by this.
4116 # We need to recreate these files for each test, as the compiler may
4117 # overwrite some of them when testing with obscure command lines.
4118 # This happens at least with the AIX C compiler.
4120 for i in 1 2 3 4 5 6; do
4121 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4122 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4123 # Solaris 10 /bin/sh.
4124 echo '/* dummy */' > sub/conftst$i.h
4126 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4128 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4129 # mode. It turns out that the SunPro C++ compiler does not properly
4130 # handle '-M -o', and we need to detect this. Also, some Intel
4131 # versions had trouble with output in subdirs.
4132 am__obj=sub/conftest.${OBJEXT-o}
4133 am__minus_obj="-o $am__obj"
4136 # This depmode causes a compiler race in universal mode.
4137 test "$am__universal" = false || continue
4140 # After this tag, mechanisms are not by side-effect, so they'll
4141 # only be used when explicitly requested.
4142 if test "x$enable_dependency_tracking" = xyes; then
4148 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4149 # This compiler won't grok '-c -o', but also, the minuso test has
4150 # not run yet. These depmodes are late enough in the game, and
4151 # so weak that their functioning should not be impacted.
4152 am__obj=conftest.${OBJEXT-o}
4157 if depmode=$depmode \
4158 source=sub/conftest.c object=$am__obj \
4159 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4160 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4161 >/dev/null 2>conftest.err &&
4162 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4163 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4164 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4165 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4166 # icc doesn't choke on unknown options, it will just issue warnings
4167 # or remarks (even with -Werror). So we grep stderr for any message
4168 # that says an option was ignored or not supported.
4169 # When given -MP, icc 7.0 and 7.1 complain thusly:
4170 # icc: Command line warning: ignoring option '-M'; no argument required
4171 # The diagnosis changed in icc 8.0:
4172 # icc: Command line remark: option '-MP' not supported
4173 if (grep 'ignoring option' conftest.err ||
4174 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4175 am_cv_CC_dependencies_compiler_type=$depmode
4184 am_cv_CC_dependencies_compiler_type=none
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4189 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4190 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4193 test "x$enable_dependency_tracking" != xno \
4194 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4196 am__fastdepCC_FALSE='#'
4198 am__fastdepCC_TRUE='#'
4199 am__fastdepCC_FALSE=
4204 ac_cpp='$CXXCPP $CPPFLAGS'
4205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4208 if test -z "$CXX"; then
4209 if test -n "$CCC"; then
4212 if test -n "$ac_tool_prefix"; then
4213 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4218 $as_echo_n "checking for $ac_word... " >&6; }
4219 if ${ac_cv_prog_CXX+:} false; then :
4220 $as_echo_n "(cached) " >&6
4222 if test -n "$CXX"; then
4223 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229 test -z "$as_dir" && as_dir=.
4230 for ac_exec_ext in '' $ac_executable_extensions; do
4231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4232 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4243 if test -n "$CXX"; then
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4245 $as_echo "$CXX" >&6; }
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4248 $as_echo "no" >&6; }
4252 test -n "$CXX" && break
4255 if test -z "$CXX"; then
4257 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4259 # Extract the first word of "$ac_prog", so it can be a program name with args.
4260 set dummy $ac_prog; ac_word=$2
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4262 $as_echo_n "checking for $ac_word... " >&6; }
4263 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4264 $as_echo_n "(cached) " >&6
4266 if test -n "$ac_ct_CXX"; then
4267 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273 test -z "$as_dir" && as_dir=.
4274 for ac_exec_ext in '' $ac_executable_extensions; do
4275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4276 ac_cv_prog_ac_ct_CXX="$ac_prog"
4277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4287 if test -n "$ac_ct_CXX"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4289 $as_echo "$ac_ct_CXX" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4296 test -n "$ac_ct_CXX" && break
4299 if test "x$ac_ct_CXX" = x; then
4302 case $cross_compiling:$ac_tool_warned in
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4306 ac_tool_warned=yes ;;
4314 # Provide some information about the compiler.
4315 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4318 for ac_option in --version -v -V -qversion; do
4319 { { ac_try="$ac_compiler $ac_option >&5"
4321 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4322 *) ac_try_echo
=$ac_try;;
4324 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4325 $as_echo "$ac_try_echo"; } >&5
4326 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4328 if test -s conftest.err
; then
4330 ... rest of stderr output deleted ...
4331 10q' conftest.err
>conftest.er1
4332 cat conftest.er1
>&5
4334 rm -f conftest.er1 conftest.err
4335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4336 test $ac_status = 0; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4340 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4341 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4342 $as_echo_n "(cached) " >&6
4344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4358 if ac_fn_cxx_try_compile
"$LINENO"; then :
4363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4364 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4368 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4369 if test $ac_compiler_gnu = yes; then
4374 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4375 ac_save_CXXFLAGS
=$CXXFLAGS
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4377 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4378 if ${ac_cv_prog_cxx_g+:} false
; then :
4379 $as_echo_n "(cached) " >&6
4381 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4382 ac_cxx_werror_flag
=yes
4385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h. */
4396 if ac_fn_cxx_try_compile
"$LINENO"; then :
4397 ac_cv_prog_cxx_g
=yes
4400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4411 if ac_fn_cxx_try_compile
"$LINENO"; then :
4414 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4417 /* end confdefs.h. */
4427 if ac_fn_cxx_try_compile
"$LINENO"; then :
4428 ac_cv_prog_cxx_g
=yes
4430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4435 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4438 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4439 if test "$ac_test_CXXFLAGS" = set; then
4440 CXXFLAGS
=$ac_save_CXXFLAGS
4441 elif test $ac_cv_prog_cxx_g = yes; then
4442 if test "$GXX" = yes; then
4448 if test "$GXX" = yes; then
4455 ac_cpp
='$CPP $CPPFLAGS'
4456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4460 depcc
="$CXX" am_compiler_list
=
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4463 $as_echo_n "checking dependency style of $depcc... " >&6; }
4464 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4465 $as_echo_n "(cached) " >&6
4467 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4468 # We make a subdir and do the tests there. Otherwise we can end up
4469 # making bogus files that we don't know about and never remove. For
4470 # instance it was reported that on HP-UX the gcc test will end up
4471 # making a dummy file named 'D' -- because '-MD' means "put the output
4475 # Copy depcomp to subdir because otherwise we won't find it if we're
4476 # using a relative directory.
4477 cp "$am_depcomp" conftest.dir
4479 # We will build objects and dependencies in a subdirectory because
4480 # it helps to detect inapplicable dependency modes. For instance
4481 # both Tru64's cc and ICC support -MD to output dependencies as a
4482 # side effect of compilation, but ICC will put the dependencies in
4483 # the current directory while Tru64 will put them in the object
4487 am_cv_CXX_dependencies_compiler_type
=none
4488 if test "$am_compiler_list" = ""; then
4489 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4492 case " $depcc " in #(
4493 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4496 for depmode
in $am_compiler_list; do
4497 # Setup a source with many dependencies, because some compilers
4498 # like to wrap large dependency lists on column 80 (with \), and
4499 # we should not choose a depcomp mode which is confused by this.
4501 # We need to recreate these files for each test, as the compiler may
4502 # overwrite some of them when testing with obscure command lines.
4503 # This happens at least with the AIX C compiler.
4505 for i
in 1 2 3 4 5 6; do
4506 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4507 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4508 # Solaris 10 /bin/sh.
4509 echo '/* dummy */' > sub
/conftst
$i.h
4511 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4513 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4514 # mode. It turns out that the SunPro C++ compiler does not properly
4515 # handle '-M -o', and we need to detect this. Also, some Intel
4516 # versions had trouble with output in subdirs.
4517 am__obj
=sub
/conftest.
${OBJEXT-o}
4518 am__minus_obj
="-o $am__obj"
4521 # This depmode causes a compiler race in universal mode.
4522 test "$am__universal" = false
|| continue
4525 # After this tag, mechanisms are not by side-effect, so they'll
4526 # only be used when explicitly requested.
4527 if test "x$enable_dependency_tracking" = xyes
; then
4533 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4534 # This compiler won't grok '-c -o', but also, the minuso test has
4535 # not run yet. These depmodes are late enough in the game, and
4536 # so weak that their functioning should not be impacted.
4537 am__obj
=conftest.
${OBJEXT-o}
4542 if depmode
=$depmode \
4543 source=sub
/conftest.c object
=$am__obj \
4544 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4545 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4546 >/dev
/null
2>conftest.err
&&
4547 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4548 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4549 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4550 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4551 # icc doesn't choke on unknown options, it will just issue warnings
4552 # or remarks (even with -Werror). So we grep stderr for any message
4553 # that says an option was ignored or not supported.
4554 # When given -MP, icc 7.0 and 7.1 complain thusly:
4555 # icc: Command line warning: ignoring option '-M'; no argument required
4556 # The diagnosis changed in icc 8.0:
4557 # icc: Command line remark: option '-MP' not supported
4558 if (grep 'ignoring option' conftest.err
||
4559 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4560 am_cv_CXX_dependencies_compiler_type
=$depmode
4569 am_cv_CXX_dependencies_compiler_type
=none
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4574 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4575 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4578 test "x$enable_dependency_tracking" != xno \
4579 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4580 am__fastdepCXX_TRUE
=
4581 am__fastdepCXX_FALSE
='#'
4583 am__fastdepCXX_TRUE
='#'
4584 am__fastdepCXX_FALSE
=
4589 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4590 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4591 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4593 if test -n "$ac_tool_prefix"; then
4594 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4597 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4599 $as_echo_n "checking for $ac_word... " >&6; }
4600 if ${ac_cv_prog_OBJCXX+:} false
; then :
4601 $as_echo_n "(cached) " >&6
4603 if test -n "$OBJCXX"; then
4604 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4610 test -z "$as_dir" && as_dir
=.
4611 for ac_exec_ext
in '' $ac_executable_extensions; do
4612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4613 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4623 OBJCXX
=$ac_cv_prog_OBJCXX
4624 if test -n "$OBJCXX"; then
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4626 $as_echo "$OBJCXX" >&6; }
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629 $as_echo "no" >&6; }
4633 test -n "$OBJCXX" && break
4636 if test -z "$OBJCXX"; then
4637 ac_ct_OBJCXX
=$OBJCXX
4638 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4640 # Extract the first word of "$ac_prog", so it can be a program name with args.
4641 set dummy
$ac_prog; ac_word
=$2
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643 $as_echo_n "checking for $ac_word... " >&6; }
4644 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4645 $as_echo_n "(cached) " >&6
4647 if test -n "$ac_ct_OBJCXX"; then
4648 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir
=.
4655 for ac_exec_ext
in '' $ac_executable_extensions; do
4656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4657 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4668 if test -n "$ac_ct_OBJCXX"; then
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4670 $as_echo "$ac_ct_OBJCXX" >&6; }
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 $as_echo "no" >&6; }
4677 test -n "$ac_ct_OBJCXX" && break
4680 if test "x$ac_ct_OBJCXX" = x
; then
4683 case $cross_compiling:$ac_tool_warned in
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4687 ac_tool_warned
=yes ;;
4689 OBJCXX
=$ac_ct_OBJCXX
4693 # Provide some information about the compiler.
4694 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4697 for ac_option
in --version -v -V -qversion; do
4698 { { ac_try
="$ac_compiler $ac_option >&5"
4700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4701 *) ac_try_echo=$ac_try;;
4703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4704 $as_echo "$ac_try_echo"; } >&5
4705 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4707 if test -s conftest.err; then
4709 ... rest of stderr output deleted ...
4710 10q' conftest.err >conftest.er1
4711 cat conftest.er1 >&5
4713 rm -f conftest.er1 conftest.err
4714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4715 test $ac_status = 0; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4719 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4720 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4721 $as_echo_n "(cached) " >&6
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4737 if ac_fn_objcxx_try_compile "$LINENO"; then :
4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4743 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4747 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4748 if test $ac_compiler_gnu = yes; then
4753 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4754 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4756 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4757 if ${ac_cv_prog_objcxx_g+:} false; then :
4758 $as_echo_n "(cached) " >&6
4760 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4761 ac_objcxx_werror_flag=yes
4762 ac_cv_prog_objcxx_g=no
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4775 if ac_fn_objcxx_try_compile "$LINENO"; then :
4776 ac_cv_prog_objcxx_g=yes
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4790 if ac_fn_objcxx_try_compile "$LINENO"; then :
4793 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4806 if ac_fn_objcxx_try_compile "$LINENO"; then :
4807 ac_cv_prog_objcxx_g=yes
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4814 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4817 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4818 if test "$ac_test_OBJCXXFLAGS" = set; then
4819 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4820 elif test $ac_cv_prog_objcxx_g = yes; then
4821 if test "$GOBJCXX" = yes; then
4822 OBJCXXFLAGS="-g -O2"
4827 if test "$GOBJCXX" = yes; then
4834 ac_cpp='$CPP $CPPFLAGS'
4835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4839 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4842 $as_echo_n "checking dependency style of $depcc... " >&6; }
4843 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4844 $as_echo_n "(cached) " >&6
4846 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4847 # We make a subdir and do the tests there. Otherwise we can end up
4848 # making bogus files that we don't know about and never remove. For
4849 # instance it was reported that on HP-UX the gcc test will end up
4850 # making a dummy file named 'D' -- because '-MD' means "put the output
4854 # Copy depcomp to subdir because otherwise we won't find it if we're
4855 # using a relative directory.
4856 cp "$am_depcomp" conftest.dir
4858 # We will build objects and dependencies in a subdirectory because
4859 # it helps to detect inapplicable dependency modes. For instance
4860 # both Tru64's cc and ICC support -MD to output dependencies as a
4861 # side effect of compilation, but ICC will put the dependencies in
4862 # the current directory while Tru64 will put them in the object
4866 am_cv_OBJCXX_dependencies_compiler_type=none
4867 if test "$am_compiler_list" = ""; then
4868 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4873 for depmode in $am_compiler_list; do
4874 # Setup a source with many dependencies, because some compilers
4875 # like to wrap large dependency lists on column 80 (with \), and
4876 # we should not choose a depcomp mode which is confused by this.
4878 # We need to recreate these files for each test, as the compiler may
4879 # overwrite some of them when testing with obscure command lines.
4880 # This happens at least with the AIX C compiler.
4882 for i in 1 2 3 4 5 6; do
4883 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4884 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4885 # Solaris 10 /bin/sh.
4886 echo '/* dummy */' > sub/conftst$i.h
4888 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4890 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4891 # mode. It turns out that the SunPro C++ compiler does not properly
4892 # handle '-M -o', and we need to detect this. Also, some Intel
4893 # versions had trouble with output in subdirs.
4894 am__obj=sub/conftest.${OBJEXT-o}
4895 am__minus_obj="-o $am__obj"
4898 # This depmode causes a compiler race in universal mode.
4899 test "$am__universal" = false || continue
4902 # After this tag, mechanisms are not by side-effect, so they'll
4903 # only be used when explicitly requested.
4904 if test "x$enable_dependency_tracking" = xyes; then
4910 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4911 # This compiler won't grok '-c -o', but also, the minuso test has
4912 # not run yet. These depmodes are late enough in the game, and
4913 # so weak that their functioning should not be impacted.
4914 am__obj=conftest.${OBJEXT-o}
4919 if depmode=$depmode \
4920 source=sub/conftest.c object=$am__obj \
4921 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4922 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4923 >/dev/null 2>conftest.err &&
4924 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4925 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4926 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4927 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4928 # icc doesn't choke on unknown options, it will just issue warnings
4929 # or remarks (even with -Werror). So we grep stderr for any message
4930 # that says an option was ignored or not supported.
4931 # When given -MP, icc 7.0 and 7.1 complain thusly:
4932 # icc: Command line warning: ignoring option '-M'; no argument required
4933 # The diagnosis changed in icc 8.0:
4934 # icc: Command line remark: option '-MP' not supported
4935 if (grep 'ignoring option' conftest.err ||
4936 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4937 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4946 am_cv_OBJCXX_dependencies_compiler_type=none
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4951 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4952 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4955 test "x$enable_dependency_tracking" != xno \
4956 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4957 am__fastdepOBJCXX_TRUE=
4958 am__fastdepOBJCXX_FALSE='#'
4960 am__fastdepOBJCXX_TRUE='#'
4961 am__fastdepOBJCXX_FALSE=
4967 if test -n "$ac_tool_prefix"; then
4968 for ac_prog in ar lib "link -lib"
4970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 $as_echo_n "checking for $ac_word... " >&6; }
4974 if ${ac_cv_prog_AR+:} false; then :
4975 $as_echo_n "(cached) " >&6
4977 if test -n "$AR"; then
4978 ac_cv_prog_AR="$AR" # Let the user override the test.
4980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 test -z "$as_dir" && as_dir=.
4985 for ac_exec_ext in '' $ac_executable_extensions; do
4986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 if test -n "$AR"; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5000 $as_echo "$AR" >&6; }
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5007 test -n "$AR" && break
5010 if test -z "$AR"; then
5012 for ac_prog in ar lib "link -lib"
5014 # Extract the first word of "$ac_prog", so it can be a program name with args.
5015 set dummy $ac_prog; ac_word=$2
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5018 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5019 $as_echo_n "(cached) " >&6
5021 if test -n "$ac_ct_AR"; then
5022 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 test -z "$as_dir" && as_dir=.
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5031 ac_cv_prog_ac_ct_AR="$ac_prog"
5032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5042 if test -n "$ac_ct_AR"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5044 $as_echo "$ac_ct_AR" >&6; }
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5051 test -n "$ac_ct_AR" && break
5054 if test "x$ac_ct_AR" = x; then
5057 case $cross_compiling:$ac_tool_warned in
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5061 ac_tool_warned=yes ;;
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5070 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5071 if ${am_cv_ar_interface+:} false; then :
5072 $as_echo_n "(cached) " >&6
5075 ac_cpp='$CPP $CPPFLAGS'
5076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5080 am_cv_ar_interface=ar
5081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5082 /* end confdefs.h. */
5083 int some_variable = 0;
5085 if ac_fn_c_try_compile "$LINENO"; then :
5086 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5087 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5088 (eval $am_ar_try) 2>&5
5090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5091 test $ac_status = 0; }
5092 if test "$ac_status" -eq 0; then
5093 am_cv_ar_interface=ar
5095 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5096 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5097 (eval $am_ar_try) 2>&5
5099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5100 test $ac_status = 0; }
5101 if test "$ac_status" -eq 0; then
5102 am_cv_ar_interface=lib
5104 am_cv_ar_interface=unknown
5107 rm -f conftest.lib libconftest.a
5110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5112 ac_cpp='$CPP $CPPFLAGS'
5113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5119 $as_echo "$am_cv_ar_interface" >&6; }
5121 case $am_cv_ar_interface in
5125 # Microsoft lib, so override with the ar-lib wrapper script.
5126 # FIXME: It is wrong to rewrite AR.
5127 # But if we don't then we get into trouble of one sort or another.
5128 # A longer-term fix would be to have automake use am__AR in this case,
5129 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5131 AR="$am_aux_dir/ar-lib $AR"
5134 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5143 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5148 macro_version='2.4.2'
5149 macro_revision='1.3337'
5163 ltmain="$ac_aux_dir/ltmain.sh"
5165 # Make sure we can run config.sub.
5166 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5167 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5170 $as_echo_n "checking build system type... " >&6; }
5171 if ${ac_cv_build+:} false; then :
5172 $as_echo_n "(cached) " >&6
5174 ac_build_alias=$build_alias
5175 test "x$ac_build_alias" = x &&
5176 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5177 test "x$ac_build_alias" = x &&
5178 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5179 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5180 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5184 $as_echo "$ac_cv_build" >&6; }
5185 case $ac_cv_build in
5187 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5190 ac_save_IFS=$IFS; IFS='-'
5196 # Remember, the first character of IFS is used to create $*,
5197 # except with old shells:
5200 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5204 $as_echo_n "checking host system type... " >&6; }
5205 if ${ac_cv_host+:} false; then :
5206 $as_echo_n "(cached) " >&6
5208 if test "x$host_alias" = x; then
5209 ac_cv_host=$ac_cv_build
5211 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5212 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5217 $as_echo "$ac_cv_host" >&6; }
5220 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5223 ac_save_IFS=$IFS; IFS='-'
5229 # Remember, the first character of IFS is used to create $*,
5230 # except with old shells:
5233 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5236 # Backslashify metacharacters that are still active within
5237 # double-quoted strings.
5238 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5240 # Same as above, but do not quote variable references.
5241 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5243 # Sed substitution to delay expansion of an escaped shell variable in a
5244 # double_quote_subst'ed string.
5245 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5247 # Sed substitution to delay expansion of an escaped single quote.
5248 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5250 # Sed substitution to avoid accidental globbing in evaled expressions
5251 no_glob_subst='s/\*/\\\*/g'
5253 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5254 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5255 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5258 $as_echo_n "checking how to print
strings...
" >&6; }
5259 # Test print first, because it will be a builtin if present.
5260 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5261 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5263 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5266 # Use this function as a fallback that always works.
5267 func_fallback_echo ()
5269 eval 'cat <<_LTECHO_EOF
5273 ECHO='func_fallback_echo'
5276 # func_echo_all arg...
5277 # Invoke $ECHO with all args, space-separated.
5284 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5285 $as_echo "printf" >&6; } ;;
5286 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5287 $as_echo "print
-r" >&6; } ;;
5288 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5289 $as_echo "cat" >&6; } ;;
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5306 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5307 if ${ac_cv_path_SED+:} false; then :
5308 $as_echo_n "(cached
) " >&6
5310 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5311 for ac_i in 1 2 3 4 5 6 7; do
5312 ac_script="$ac_script$as_nl$ac_script"
5314 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5315 { ac_script=; unset ac_script;}
5316 if test -z "$SED"; then
5317 ac_path_SED_found=false
5318 # Loop through the user's path and test for each of PROGNAME-LIST
5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 test -z "$as_dir" && as_dir=.
5324 for ac_prog in sed gsed; do
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5327 as_fn_executable_p "$ac_path_SED" || continue
5328 # Check for GNU ac_path_SED and select it if it is found.
5329 # Check for GNU $ac_path_SED
5330 case `"$ac_path_SED" --version 2>&1` in
5332 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5335 $as_echo_n 0123456789 >"conftest.
in"
5338 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5339 mv "conftest.tmp
" "conftest.
in"
5340 cp "conftest.
in" "conftest.
nl"
5341 $as_echo '' >> "conftest.
nl"
5342 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5343 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5344 as_fn_arith $ac_count + 1 && ac_count=$as_val
5345 if test $ac_count -gt ${ac_path_SED_max-0}; then
5346 # Best one so far, save it but keep looking for a better one
5347 ac_cv_path_SED="$ac_path_SED"
5348 ac_path_SED_max=$ac_count
5350 # 10*(2^10) chars as input seems more than enough
5351 test $ac_count -gt 10 && break
5353 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5356 $ac_path_SED_found && break 3
5361 if test -z "$ac_cv_path_SED"; then
5362 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5370 $as_echo "$ac_cv_path_SED" >&6; }
5371 SED="$ac_cv_path_SED"
5374 test -z "$SED" && SED=sed
5375 Xsed="$SED -e 1s
/^X
//"
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5388 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5389 if ${ac_cv_path_GREP+:} false; then :
5390 $as_echo_n "(cached
) " >&6
5392 if test -z "$GREP"; then
5393 ac_path_GREP_found=false
5394 # Loop through the user's path and test for each of PROGNAME-LIST
5395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5399 test -z "$as_dir" && as_dir=.
5400 for ac_prog in grep ggrep; do
5401 for ac_exec_ext in '' $ac_executable_extensions; do
5402 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5403 as_fn_executable_p "$ac_path_GREP" || continue
5404 # Check for GNU ac_path_GREP and select it if it is found.
5405 # Check for GNU $ac_path_GREP
5406 case `"$ac_path_GREP" --version 2>&1` in
5408 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5411 $as_echo_n 0123456789 >"conftest.
in"
5414 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5415 mv "conftest.tmp
" "conftest.
in"
5416 cp "conftest.
in" "conftest.
nl"
5417 $as_echo 'GREP' >> "conftest.
nl"
5418 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5419 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5420 as_fn_arith $ac_count + 1 && ac_count=$as_val
5421 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5422 # Best one so far, save it but keep looking for a better one
5423 ac_cv_path_GREP="$ac_path_GREP"
5424 ac_path_GREP_max=$ac_count
5426 # 10*(2^10) chars as input seems more than enough
5427 test $ac_count -gt 10 && break
5429 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5432 $ac_path_GREP_found && break 3
5437 if test -z "$ac_cv_path_GREP"; then
5438 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5441 ac_cv_path_GREP=$GREP
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5446 $as_echo "$ac_cv_path_GREP" >&6; }
5447 GREP="$ac_cv_path_GREP"
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5451 $as_echo_n "checking
for egrep...
" >&6; }
5452 if ${ac_cv_path_EGREP+:} false; then :
5453 $as_echo_n "(cached
) " >&6
5455 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5456 then ac_cv_path_EGREP="$GREP -E"
5458 if test -z "$EGREP"; then
5459 ac_path_EGREP_found=false
5460 # Loop through the user's path and test for each of PROGNAME-LIST
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5465 test -z "$as_dir" && as_dir=.
5466 for ac_prog in egrep; do
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5469 as_fn_executable_p "$ac_path_EGREP" || continue
5470 # Check for GNU ac_path_EGREP and select it if it is found.
5471 # Check for GNU $ac_path_EGREP
5472 case `"$ac_path_EGREP" --version 2>&1` in
5474 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5477 $as_echo_n 0123456789 >"conftest.
in"
5480 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5481 mv "conftest.tmp
" "conftest.
in"
5482 cp "conftest.
in" "conftest.
nl"
5483 $as_echo 'EGREP' >> "conftest.
nl"
5484 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5485 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5486 as_fn_arith $ac_count + 1 && ac_count=$as_val
5487 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5488 # Best one so far, save it but keep looking for a better one
5489 ac_cv_path_EGREP="$ac_path_EGREP"
5490 ac_path_EGREP_max=$ac_count
5492 # 10*(2^10) chars as input seems more than enough
5493 test $ac_count -gt 10 && break
5495 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5498 $ac_path_EGREP_found && break 3
5503 if test -z "$ac_cv_path_EGREP"; then
5504 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5507 ac_cv_path_EGREP=$EGREP
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5513 $as_echo "$ac_cv_path_EGREP" >&6; }
5514 EGREP="$ac_cv_path_EGREP"
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5518 $as_echo_n "checking
for fgrep...
" >&6; }
5519 if ${ac_cv_path_FGREP+:} false; then :
5520 $as_echo_n "(cached
) " >&6
5522 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5523 then ac_cv_path_FGREP="$GREP -F"
5525 if test -z "$FGREP"; then
5526 ac_path_FGREP_found=false
5527 # Loop through the user's path and test for each of PROGNAME-LIST
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5529 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5532 test -z "$as_dir" && as_dir=.
5533 for ac_prog in fgrep; do
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5536 as_fn_executable_p "$ac_path_FGREP" || continue
5537 # Check for GNU ac_path_FGREP and select it if it is found.
5538 # Check for GNU $ac_path_FGREP
5539 case `"$ac_path_FGREP" --version 2>&1` in
5541 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5544 $as_echo_n 0123456789 >"conftest.
in"
5547 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5548 mv "conftest.tmp
" "conftest.
in"
5549 cp "conftest.
in" "conftest.
nl"
5550 $as_echo 'FGREP' >> "conftest.
nl"
5551 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5552 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5553 as_fn_arith $ac_count + 1 && ac_count=$as_val
5554 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5555 # Best one so far, save it but keep looking for a better one
5556 ac_cv_path_FGREP="$ac_path_FGREP"
5557 ac_path_FGREP_max=$ac_count
5559 # 10*(2^10) chars as input seems more than enough
5560 test $ac_count -gt 10 && break
5562 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5565 $ac_path_FGREP_found && break 3
5570 if test -z "$ac_cv_path_FGREP"; then
5571 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5574 ac_cv_path_FGREP=$FGREP
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5580 $as_echo "$ac_cv_path_FGREP" >&6; }
5581 FGREP="$ac_cv_path_FGREP"
5584 test -z "$GREP" && GREP=grep
5604 # Check whether --with-gnu-ld was given.
5605 if test "${with_gnu_ld+set}" = set; then :
5606 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5612 if test "$GCC" = yes; then
5613 # Check if gcc -print-prog-name=ld gives a path.
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5615 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5618 # gcc leaves a trailing carriage return which upsets mingw
5619 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5621 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5624 # Accept absolute paths.
5626 re_direlt='/[^/][^/]*/\.\./'
5627 # Canonicalize the pathname of ld
5628 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5629 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5630 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5632 test -z "$LD" && LD="$ac_prog"
5635 # If it fails, then pretend we aren't using GCC.
5639 # If it is relative, then search for the first ld in PATH.
5643 elif test "$with_gnu_ld" = yes; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5645 $as_echo_n "checking
for GNU ld...
" >&6; }
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5648 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5650 if ${lt_cv_path_LD+:} false; then :
5651 $as_echo_n "(cached
) " >&6
5653 if test -z "$LD"; then
5654 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5655 for ac_dir in $PATH; do
5657 test -z "$ac_dir" && ac_dir=.
5658 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5659 lt_cv_path_LD="$ac_dir/$ac_prog"
5660 # Check to see if the program is GNU ld. I'd rather use --version,
5661 # but apparently some variants of GNU ld only accept -v.
5662 # Break only if it was the GNU/non-GNU ld that we prefer.
5663 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5664 *GNU* | *'with BFD'*)
5665 test "$with_gnu_ld" != no && break
5668 test "$with_gnu_ld" != yes && break
5675 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5680 if test -n "$LD"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5682 $as_echo "$LD" >&6; }
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5685 $as_echo "no
" >&6; }
5687 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5689 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5690 if ${lt_cv_prog_gnu_ld+:} false; then :
5691 $as_echo_n "(cached
) " >&6
5693 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5694 case `$LD -v 2>&1 </dev/null` in
5695 *GNU* | *'with BFD'*)
5696 lt_cv_prog_gnu_ld=yes
5699 lt_cv_prog_gnu_ld=no
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5704 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5705 with_gnu_ld=$lt_cv_prog_gnu_ld
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5716 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5717 if ${lt_cv_path_NM+:} false; then :
5718 $as_echo_n "(cached
) " >&6
5720 if test -n "$NM"; then
5721 # Let the user override the test.
5724 lt_nm_to_check="${ac_tool_prefix}nm
"
5725 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5726 lt_nm_to_check="$lt_nm_to_check nm
"
5728 for lt_tmp_nm in $lt_nm_to_check; do
5729 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5730 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5732 test -z "$ac_dir" && ac_dir=.
5733 tmp_nm="$ac_dir/$lt_tmp_nm"
5734 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5735 # Check to see if the nm accepts a BSD-compat flag.
5736 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5737 # nm: unknown option "B
" ignored
5738 # Tru64's nm complains that /dev/null is an invalid object file
5739 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5740 */dev/null* | *'Invalid file or object type'*)
5741 lt_cv_path_NM="$tmp_nm -B"
5745 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5747 lt_cv_path_NM="$tmp_nm -p"
5751 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5752 continue # so that we can try to find one that supports BSD flags
5761 : ${lt_cv_path_NM=no}
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5765 $as_echo "$lt_cv_path_NM" >&6; }
5766 if test "$lt_cv_path_NM" != "no
"; then
5769 # Didn't find any BSD compatible name lister, look for dumpbin.
5770 if test -n "$DUMPBIN"; then :
5771 # Let the user override the test.
5773 if test -n "$ac_tool_prefix"; then
5774 for ac_prog in dumpbin "link
-dump"
5776 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5777 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5779 $as_echo_n "checking
for $ac_word...
" >&6; }
5780 if ${ac_cv_prog_DUMPBIN+:} false; then :
5781 $as_echo_n "(cached
) " >&6
5783 if test -n "$DUMPBIN"; then
5784 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5803 DUMPBIN=$ac_cv_prog_DUMPBIN
5804 if test -n "$DUMPBIN"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5806 $as_echo "$DUMPBIN" >&6; }
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5809 $as_echo "no
" >&6; }
5813 test -n "$DUMPBIN" && break
5816 if test -z "$DUMPBIN"; then
5817 ac_ct_DUMPBIN=$DUMPBIN
5818 for ac_prog in dumpbin "link
-dump"
5820 # Extract the first word of "$ac_prog", so it can be a program name with args.
5821 set dummy $ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5823 $as_echo_n "checking
for $ac_word...
" >&6; }
5824 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5825 $as_echo_n "(cached
) " >&6
5827 if test -n "$ac_ct_DUMPBIN"; then
5828 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5847 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5848 if test -n "$ac_ct_DUMPBIN"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5850 $as_echo "$ac_ct_DUMPBIN" >&6; }
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5853 $as_echo "no
" >&6; }
5857 test -n "$ac_ct_DUMPBIN" && break
5860 if test "x
$ac_ct_DUMPBIN" = x; then
5863 case $cross_compiling:$ac_tool_warned in
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5866 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5867 ac_tool_warned=yes ;;
5869 DUMPBIN=$ac_ct_DUMPBIN
5873 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5875 DUMPBIN="$DUMPBIN -symbols"
5883 if test "$DUMPBIN" != ":"; then
5887 test -z "$NM" && NM=nm
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5895 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5896 if ${lt_cv_nm_interface+:} false; then :
5897 $as_echo_n "(cached
) " >&6
5899 lt_cv_nm_interface="BSD nm
"
5900 echo "int some_variable
= 0;" > conftest.$ac_ext
5901 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5902 (eval "$ac_compile" 2>conftest.err)
5903 cat conftest.err >&5
5904 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5905 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5906 cat conftest.err >&5
5907 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5908 cat conftest.out >&5
5909 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5910 lt_cv_nm_interface="MS dumpbin
"
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5915 $as_echo "$lt_cv_nm_interface" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5918 $as_echo_n "checking whether
ln -s works...
" >&6; }
5920 if test "$LN_S" = "ln -s"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5922 $as_echo "yes" >&6; }
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5925 $as_echo "no
, using
$LN_S" >&6; }
5928 # find the maximum length of command line arguments
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5930 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5931 if ${lt_cv_sys_max_cmd_len+:} false; then :
5932 $as_echo_n "(cached
) " >&6
5939 # On DJGPP, this test can blow up pretty badly due to problems in libc
5940 # (any single argument exceeding 2000 bytes causes a buffer overrun
5941 # during glob expansion). Even if it were fixed, the result of this
5942 # check would be larger than it should be.
5943 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5947 # Under GNU Hurd, this test is not required because there is
5948 # no limit to the length of command line arguments.
5949 # Libtool will interpret -1 as no limit whatsoever
5950 lt_cv_sys_max_cmd_len=-1;
5953 cygwin* | mingw* | cegcc*)
5954 # On Win9x/ME, this test blows up -- it succeeds, but takes
5955 # about 5 minutes as the teststring grows exponentially.
5956 # Worse, since 9x/ME are not pre-emptively multitasking,
5957 # you end up with a "frozen
" computer, even though with patience
5958 # the test eventually succeeds (with a max line length of 256k).
5959 # Instead, let's just punt: use the minimum linelength reported by
5960 # all of the supported platforms: 8192 (on NT/2K/XP).
5961 lt_cv_sys_max_cmd_len=8192;
5965 # On MiNT this can take a long time and run out of memory.
5966 lt_cv_sys_max_cmd_len=8192;
5970 # On AmigaOS with pdksh, this test takes hours, literally.
5971 # So we just punt and use a minimum line length of 8192.
5972 lt_cv_sys_max_cmd_len=8192;
5975 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5976 # This has been around since 386BSD, at least. Likely further.
5977 if test -x /sbin/sysctl; then
5978 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5979 elif test -x /usr/sbin/sysctl; then
5980 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5982 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5984 # And add a safety zone
5985 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5986 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5990 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5991 lt_cv_sys_max_cmd_len=196608
5995 # The test takes a long time on OS/2.
5996 lt_cv_sys_max_cmd_len=8192
6000 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6001 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6002 # nice to cause kernel panics so lets avoid the loop below.
6003 # First set a reasonable default.
6004 lt_cv_sys_max_cmd_len=16384
6006 if test -x /sbin/sysconfig; then
6007 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6008 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6013 lt_cv_sys_max_cmd_len=102400
6015 sysv5* | sco5v6* | sysv4.2uw2*)
6016 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6017 if test -n "$kargmax"; then
6018 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6020 lt_cv_sys_max_cmd_len=32768
6024 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6025 if test -n "$lt_cv_sys_max_cmd_len"; then
6026 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6027 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6029 # Make teststring a little bigger before we do anything with it.
6030 # a 1K string should be a reasonable start.
6031 for i in 1 2 3 4 5 6 7 8 ; do
6032 teststring=$teststring$teststring
6034 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6035 # If test is not a shell built-in, we'll probably end up computing a
6036 # maximum length that is only half of the actual maximum length, but
6038 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
6039 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6040 test $i != 17 # 1/2 MB should be enough
6043 teststring=$teststring$teststring
6045 # Only check the string length outside the loop.
6046 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6048 # Add a significant safety factor because C++ compilers can tack on
6049 # massive amounts of additional arguments before passing them to the
6050 # linker. It appears as though 1/2 is a usable value.
6051 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6058 if test -n $lt_cv_sys_max_cmd_len ; then
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6060 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6063 $as_echo "none
" >&6; }
6065 max_cmd_len=$lt_cv_sys_max_cmd_len
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6077 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6078 # Try some XSI features
6081 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6083 && eval 'test $(( 1 + 1 )) -eq 2 \
6084 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6087 $as_echo "$xsi_shell" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6091 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6093 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6095 && lt_shell_append=yes
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6097 $as_echo "$lt_shell_append" >&6; }
6100 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6110 # test EBCDIC or ASCII
6111 case `echo X|tr X '\101'` in
6112 A) # ASCII based system
6113 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6114 lt_SP2NL='tr \040 \012'
6115 lt_NL2SP='tr \015\012 \040\040'
6117 *) # EBCDIC based system
6118 lt_SP2NL='tr \100 \n'
6119 lt_NL2SP='tr \r\n \100\100'
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6132 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6133 if ${lt_cv_to_host_file_cmd+:} false; then :
6134 $as_echo_n "(cached
) " >&6
6139 *-*-mingw* ) # actually msys
6140 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6143 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6145 * ) # otherwise, assume *nix
6146 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6152 *-*-mingw* ) # actually msys
6153 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6156 lt_cv_to_host_file_cmd=func_convert_file_noop
6158 * ) # otherwise, assume *nix
6159 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6163 * ) # unhandled hosts (and "normal
" native builds)
6164 lt_cv_to_host_file_cmd=func_convert_file_noop
6170 to_host_file_cmd=$lt_cv_to_host_file_cmd
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6172 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6179 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6180 if ${lt_cv_to_tool_file_cmd+:} false; then :
6181 $as_echo_n "(cached
) " >&6
6183 #assume ordinary cross tools, or native build.
6184 lt_cv_to_tool_file_cmd=func_convert_file_noop
6188 *-*-mingw* ) # actually msys
6189 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6197 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6199 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6206 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6207 if ${lt_cv_ld_reload_flag+:} false; then :
6208 $as_echo_n "(cached
) " >&6
6210 lt_cv_ld_reload_flag='-r'
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6213 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6214 reload_flag=$lt_cv_ld_reload_flag
6215 case $reload_flag in
6217 *) reload_flag=" $reload_flag" ;;
6219 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6221 cygwin* | mingw* | pw32* | cegcc*)
6222 if test "$GCC" != yes; then
6227 if test "$GCC" = yes; then
6228 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6230 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6243 if test -n "$ac_tool_prefix"; then
6244 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6245 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6247 $as_echo_n "checking
for $ac_word...
" >&6; }
6248 if ${ac_cv_prog_OBJDUMP+:} false; then :
6249 $as_echo_n "(cached
) " >&6
6251 if test -n "$OBJDUMP"; then
6252 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258 test -z "$as_dir" && as_dir=.
6259 for ac_exec_ext in '' $ac_executable_extensions; do
6260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6261 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6271 OBJDUMP=$ac_cv_prog_OBJDUMP
6272 if test -n "$OBJDUMP"; then
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6274 $as_echo "$OBJDUMP" >&6; }
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6277 $as_echo "no
" >&6; }
6282 if test -z "$ac_cv_prog_OBJDUMP"; then
6283 ac_ct_OBJDUMP=$OBJDUMP
6284 # Extract the first word of "objdump
", so it can be a program name with args.
6285 set dummy objdump; ac_word=$2
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6287 $as_echo_n "checking
for $ac_word...
" >&6; }
6288 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6289 $as_echo_n "(cached
) " >&6
6291 if test -n "$ac_ct_OBJDUMP"; then
6292 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 test -z "$as_dir" && as_dir=.
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6301 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6311 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6312 if test -n "$ac_ct_OBJDUMP"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6314 $as_echo "$ac_ct_OBJDUMP" >&6; }
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6317 $as_echo "no
" >&6; }
6320 if test "x
$ac_ct_OBJDUMP" = x; then
6323 case $cross_compiling:$ac_tool_warned in
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6326 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6327 ac_tool_warned=yes ;;
6329 OBJDUMP=$ac_ct_OBJDUMP
6332 OBJDUMP="$ac_cv_prog_OBJDUMP"
6335 test -z "$OBJDUMP" && OBJDUMP=objdump
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6346 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6347 if ${lt_cv_deplibs_check_method+:} false; then :
6348 $as_echo_n "(cached
) " >&6
6350 lt_cv_file_magic_cmd='$MAGIC_CMD'
6351 lt_cv_file_magic_test_file=
6352 lt_cv_deplibs_check_method='unknown'
6353 # Need to set the preceding variable on all platforms that support
6354 # interlibrary dependencies.
6355 # 'none' -- dependencies not supported.
6356 # `unknown' -- same as none, but documents that we really don't know.
6357 # 'pass_all' -- all dependencies passed with no checks.
6358 # 'test_compile' -- check by making test program.
6359 # 'file_magic [[regex]]' -- check by looking for files in library path
6360 # which responds to the $file_magic_cmd with a given extended regex.
6361 # If you have `file' or equivalent on your system and you're not sure
6362 # whether `pass_all' will *always* work, you probably want this one.
6366 lt_cv_deplibs_check_method=pass_all
6370 lt_cv_deplibs_check_method=pass_all
6374 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6375 lt_cv_file_magic_cmd='/usr/bin/file -L'
6376 lt_cv_file_magic_test_file=/shlib/libc.so
6380 # func_win32_libid is a shell function defined in ltmain.sh
6381 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6382 lt_cv_file_magic_cmd='func_win32_libid'
6386 # Base MSYS/MinGW do not provide the 'file' command needed by
6387 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6388 # unless we find 'file', for example because we are cross-compiling.
6389 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6390 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6391 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6392 lt_cv_file_magic_cmd='func_win32_libid'
6394 # Keep this pattern in sync with the one in func_win32_libid.
6395 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6396 lt_cv_file_magic_cmd='$OBJDUMP -f'
6401 # use the weaker test based on 'objdump'. See mingw*.
6402 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6403 lt_cv_file_magic_cmd='$OBJDUMP -f'
6406 darwin* | rhapsody*)
6407 lt_cv_deplibs_check_method=pass_all
6410 freebsd* | dragonfly*)
6411 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6414 # Not sure whether the presence of OpenBSD here was a mistake.
6415 # Let's accept both of them until this is cleared up.
6416 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6417 lt_cv_file_magic_cmd=/usr/bin/file
6418 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6422 lt_cv_deplibs_check_method=pass_all
6427 lt_cv_deplibs_check_method=pass_all
6431 lt_cv_deplibs_check_method=pass_all
6434 hpux10.20* | hpux11*)
6435 lt_cv_file_magic_cmd=/usr/bin/file
6438 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6439 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6442 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]'
6443 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6446 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6447 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6453 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6454 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6457 irix5* | irix6* | nonstopux*)
6459 *-32|*"-32 ") libmagic=32-bit;;
6460 *-n32|*"-n32 ") libmagic=N32;;
6461 *-64|*"-64 ") libmagic=64-bit;;
6462 *) libmagic=never-match;;
6464 lt_cv_deplibs_check_method=pass_all
6467 # This must be glibc/ELF.
6468 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6469 lt_cv_deplibs_check_method=pass_all
6473 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6474 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6476 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6481 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6482 lt_cv_file_magic_cmd=/usr/bin/file
6483 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6487 lt_cv_deplibs_check_method=pass_all
6491 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6492 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6494 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6498 osf3* | osf4* | osf5*)
6499 lt_cv_deplibs_check_method=pass_all
6503 lt_cv_deplibs_check_method=pass_all
6507 lt_cv_deplibs_check_method=pass_all
6510 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6511 lt_cv_deplibs_check_method=pass_all
6515 case $host_vendor in
6517 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]'
6518 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6521 lt_cv_deplibs_check_method=pass_all
6524 lt_cv_file_magic_cmd='/bin/file'
6525 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6528 lt_cv_file_magic_cmd='/bin/file'
6529 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6530 lt_cv_file_magic_test_file=/lib/libc.so
6533 lt_cv_deplibs_check_method=pass_all
6536 lt_cv_deplibs_check_method=pass_all
6542 lt_cv_deplibs_check_method=pass_all
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6548 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6552 if test "$build" = "$host"; then
6555 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6558 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6564 file_magic_cmd=$lt_cv_file_magic_cmd
6565 deplibs_check_method=$lt_cv_deplibs_check_method
6566 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6589 if test -n "$ac_tool_prefix"; then
6590 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6591 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6593 $as_echo_n "checking
for $ac_word...
" >&6; }
6594 if ${ac_cv_prog_DLLTOOL+:} false; then :
6595 $as_echo_n "(cached
) " >&6
6597 if test -n "$DLLTOOL"; then
6598 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6607 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6617 DLLTOOL=$ac_cv_prog_DLLTOOL
6618 if test -n "$DLLTOOL"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6620 $as_echo "$DLLTOOL" >&6; }
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6623 $as_echo "no
" >&6; }
6628 if test -z "$ac_cv_prog_DLLTOOL"; then
6629 ac_ct_DLLTOOL=$DLLTOOL
6630 # Extract the first word of "dlltool
", so it can be a program name with args.
6631 set dummy dlltool; ac_word=$2
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6633 $as_echo_n "checking
for $ac_word...
" >&6; }
6634 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6635 $as_echo_n "(cached
) " >&6
6637 if test -n "$ac_ct_DLLTOOL"; then
6638 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6644 test -z "$as_dir" && as_dir=.
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6657 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6658 if test -n "$ac_ct_DLLTOOL"; then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6660 $as_echo "$ac_ct_DLLTOOL" >&6; }
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6663 $as_echo "no
" >&6; }
6666 if test "x
$ac_ct_DLLTOOL" = x; then
6669 case $cross_compiling:$ac_tool_warned in
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6672 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6673 ac_tool_warned=yes ;;
6675 DLLTOOL=$ac_ct_DLLTOOL
6678 DLLTOOL="$ac_cv_prog_DLLTOOL"
6681 test -z "$DLLTOOL" && DLLTOOL=dlltool
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6693 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6694 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6695 $as_echo_n "(cached
) " >&6
6697 lt_cv_sharedlib_from_linklib_cmd='unknown'
6700 cygwin* | mingw* | pw32* | cegcc*)
6701 # two different shell functions defined in ltmain.sh
6702 # decide which to use based on capabilities of $DLLTOOL
6703 case `$DLLTOOL --help 2>&1` in
6704 *--identify-strict*)
6705 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6708 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6713 # fallback: assume linklib IS sharedlib
6714 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6720 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6721 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6722 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6730 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6736 $as_echo_n "checking
for $ac_word...
" >&6; }
6737 if ${ac_cv_prog_AR+:} false; then :
6738 $as_echo_n "(cached
) " >&6
6740 if test -n "$AR"; then
6741 ac_cv_prog_AR="$AR" # Let the user override the test.
6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 test -z "$as_dir" && as_dir=.
6748 for ac_exec_ext in '' $ac_executable_extensions; do
6749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6750 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6761 if test -n "$AR"; then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6763 $as_echo "$AR" >&6; }
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6766 $as_echo "no
" >&6; }
6770 test -n "$AR" && break
6773 if test -z "$AR"; then
6777 # Extract the first word of "$ac_prog", so it can be a program name with args.
6778 set dummy $ac_prog; ac_word=$2
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6780 $as_echo_n "checking
for $ac_word...
" >&6; }
6781 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6782 $as_echo_n "(cached
) " >&6
6784 if test -n "$ac_ct_AR"; then
6785 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791 test -z "$as_dir" && as_dir=.
6792 for ac_exec_ext in '' $ac_executable_extensions; do
6793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6794 ac_cv_prog_ac_ct_AR="$ac_prog"
6795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6804 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6805 if test -n "$ac_ct_AR"; then
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6807 $as_echo "$ac_ct_AR" >&6; }
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6810 $as_echo "no
" >&6; }
6814 test -n "$ac_ct_AR" && break
6817 if test "x
$ac_ct_AR" = x; then
6820 case $cross_compiling:$ac_tool_warned in
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6823 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6824 ac_tool_warned=yes ;;
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6844 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6845 if ${lt_cv_ar_at_file+:} false; then :
6846 $as_echo_n "(cached
) " >&6
6849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6850 /* end confdefs.h. */
6860 if ac_fn_c_try_compile "$LINENO"; then :
6861 echo conftest.$ac_objext > conftest.lst
6862 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6863 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6864 (eval $lt_ar_try) 2>&5
6866 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6867 test $ac_status = 0; }
6868 if test "$ac_status" -eq 0; then
6869 # Ensure the archiver fails upon bogus file names.
6870 rm -f conftest.$ac_objext libconftest.a
6871 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6872 (eval $lt_ar_try) 2>&5
6874 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6875 test $ac_status = 0; }
6876 if test "$ac_status" -ne 0; then
6880 rm -f conftest.* libconftest.a
6883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6887 $as_echo "$lt_cv_ar_at_file" >&6; }
6889 if test "x
$lt_cv_ar_at_file" = xno; then
6892 archiver_list_spec=$lt_cv_ar_at_file
6901 if test -n "$ac_tool_prefix"; then
6902 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6903 set dummy ${ac_tool_prefix}strip; ac_word=$2
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6905 $as_echo_n "checking
for $ac_word...
" >&6; }
6906 if ${ac_cv_prog_STRIP+:} false; then :
6907 $as_echo_n "(cached
) " >&6
6909 if test -n "$STRIP"; then
6910 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6916 test -z "$as_dir" && as_dir=.
6917 for ac_exec_ext in '' $ac_executable_extensions; do
6918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6919 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6920 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6929 STRIP=$ac_cv_prog_STRIP
6930 if test -n "$STRIP"; then
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6932 $as_echo "$STRIP" >&6; }
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6935 $as_echo "no
" >&6; }
6940 if test -z "$ac_cv_prog_STRIP"; then
6942 # Extract the first word of "strip
", so it can be a program name with args.
6943 set dummy strip; ac_word=$2
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6945 $as_echo_n "checking
for $ac_word...
" >&6; }
6946 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6947 $as_echo_n "(cached
) " >&6
6949 if test -n "$ac_ct_STRIP"; then
6950 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 test -z "$as_dir" && as_dir=.
6957 for ac_exec_ext in '' $ac_executable_extensions; do
6958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6959 ac_cv_prog_ac_ct_STRIP="strip
"
6960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6969 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6970 if test -n "$ac_ct_STRIP"; then
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6972 $as_echo "$ac_ct_STRIP" >&6; }
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6975 $as_echo "no
" >&6; }
6978 if test "x
$ac_ct_STRIP" = x; then
6981 case $cross_compiling:$ac_tool_warned in
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6984 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6985 ac_tool_warned=yes ;;
6990 STRIP="$ac_cv_prog_STRIP"
6993 test -z "$STRIP" && STRIP=:
7000 if test -n "$ac_tool_prefix"; then
7001 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7002 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7004 $as_echo_n "checking
for $ac_word...
" >&6; }
7005 if ${ac_cv_prog_RANLIB+:} false; then :
7006 $as_echo_n "(cached
) " >&6
7008 if test -n "$RANLIB"; then
7009 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7028 RANLIB=$ac_cv_prog_RANLIB
7029 if test -n "$RANLIB"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7031 $as_echo "$RANLIB" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7034 $as_echo "no
" >&6; }
7039 if test -z "$ac_cv_prog_RANLIB"; then
7040 ac_ct_RANLIB=$RANLIB
7041 # Extract the first word of "ranlib
", so it can be a program name with args.
7042 set dummy ranlib; ac_word=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7044 $as_echo_n "checking
for $ac_word...
" >&6; }
7045 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7046 $as_echo_n "(cached
) " >&6
7048 if test -n "$ac_ct_RANLIB"; then
7049 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir=.
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7058 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7068 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7069 if test -n "$ac_ct_RANLIB"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7071 $as_echo "$ac_ct_RANLIB" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7074 $as_echo "no
" >&6; }
7077 if test "x
$ac_ct_RANLIB" = x; then
7080 case $cross_compiling:$ac_tool_warned in
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7083 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7084 ac_tool_warned=yes ;;
7086 RANLIB=$ac_ct_RANLIB
7089 RANLIB="$ac_cv_prog_RANLIB"
7092 test -z "$RANLIB" && RANLIB=:
7099 # Determine commands to create old-style static archives.
7100 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7101 old_postinstall_cmds='chmod 644 $oldlib'
7102 old_postuninstall_cmds=
7104 if test -n "$RANLIB"; then
7107 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7110 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7113 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7118 lock_old_archive_extraction=yes ;;
7120 lock_old_archive_extraction=no ;;
7161 # If no C compiler was specified, use CC.
7164 # If no C compiler flags were specified, use CFLAGS.
7165 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7167 # Allow CC to be a program name with arguments.
7171 # Check for command to grab the raw symbol name followed by C symbol from nm.
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7173 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7174 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7175 $as_echo_n "(cached
) " >&6
7178 # These are sane defaults that work on at least a few old systems.
7179 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7181 # Character class describing NM global symbol codes.
7182 symcode='[BCDEGRST]'
7184 # Regexp to match symbols that can be accessed directly from C.
7185 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7187 # Define system-specific variables.
7192 cygwin* | mingw* | pw32* | cegcc*)
7193 symcode='[ABCDGISTW]'
7196 if test "$host_cpu" = ia64; then
7197 symcode='[ABCDEGRST]'
7201 symcode='[BCDEGRST]'
7204 symcode='[BCDEGQRST]'
7215 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7223 # If we're using GNU nm, then use its standard symbol codes.
7224 case `$NM -V 2>&1` in
7225 *GNU* | *'with BFD'*)
7226 symcode='[ABCDGIRSTW]' ;;
7229 # Transform an extracted symbol line into a proper C declaration.
7230 # Some systems (esp. on ia64) link data and code symbols differently,
7231 # so use this general approach.
7232 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7234 # Transform an extracted symbol line into symbol name and symbol address
7235 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7236 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7238 # Handle CRLF in mingw tool chain
7242 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7246 # Try without a prefix underscore, then with it.
7247 for ac_symprfx in "" "_
"; do
7249 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7250 symxfrm="\\1 $ac_symprfx\\2 \\2"
7252 # Write the raw and C identifiers.
7253 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7254 # Fake it for dumpbin and say T for any non-static function
7255 # and D for any global variable.
7256 # Also find C++ and __fastcall symbols from MSVC++,
7257 # which start with @ or ?.
7258 lt_cv_sys_global_symbol_pipe="$AWK '"\
7259 " {last_section=section; section=\$ 3};"\
7260 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7261 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7262 " \$ 0!~/External *\|/{next};"\
7263 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7264 " {if(hide[section]) next};"\
7265 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7266 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7267 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7268 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7269 " ' prfx
=^
$ac_symprfx"
7271 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7273 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7275 # Check to see that the pipe works correctly.
7279 cat > conftest.$ac_ext <<_LT_EOF
7284 void nm_test_func(void);
7285 void nm_test_func(void){}
7289 int main(){nm_test_var='a';nm_test_func();return(0);}
7292 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7293 (eval $ac_compile) 2>&5
7295 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7296 test $ac_status = 0; }; then
7297 # Now try to grab the symbols.
7299 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7300 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7302 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7303 test $ac_status = 0; } && test -s "$nlist"; then
7304 # Try sorting and uniquifying the output.
7305 if sort "$nlist" | uniq > "$nlist"T; then
7306 mv -f "$nlist"T "$nlist"
7311 # Make sure that we snagged all the symbols we need.
7312 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7313 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7314 cat <<_LT_EOF > conftest.$ac_ext
7315 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7316 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7317 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7318 relocations are performed -- see ld's documentation on pseudo-relocs. */
7319 # define LT_DLSYM_CONST
7320 #elif defined(__osf__)
7321 /* This system does not cope well with relocations in const data. */
7322 # define LT_DLSYM_CONST
7324 # define LT_DLSYM_CONST const
7332 # Now generate the symbol file.
7333 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7335 cat <<_LT_EOF >> conftest.$ac_ext
7337 /* The mapping between symbol names and symbols. */
7338 LT_DLSYM_CONST struct {
7342 lt__PROGRAM__LTX_preloaded_symbols[] =
7344 { "@PROGRAM@
", (void *) 0 },
7346 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7347 cat <<\_LT_EOF >> conftest.$ac_ext
7351 /* This works around a problem in FreeBSD linker */
7352 #ifdef FREEBSD_WORKAROUND
7353 static const void *lt_preloaded_setup() {
7354 return lt__PROGRAM__LTX_preloaded_symbols;
7362 # Now try linking the two files.
7363 mv conftest.$ac_objext conftstm.$ac_objext
7364 lt_globsym_save_LIBS=$LIBS
7365 lt_globsym_save_CFLAGS=$CFLAGS
7366 LIBS="conftstm.
$ac_objext"
7367 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7368 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7369 (eval $ac_link) 2>&5
7371 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7372 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7375 LIBS=$lt_globsym_save_LIBS
7376 CFLAGS=$lt_globsym_save_CFLAGS
7378 echo "cannot
find nm_test_func
in $nlist" >&5
7381 echo "cannot
find nm_test_var
in $nlist" >&5
7384 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7387 echo "$progname: failed program was
:" >&5
7388 cat conftest.$ac_ext >&5
7390 rm -rf conftest* conftst*
7392 # Do not use the global_symbol_pipe unless it works.
7393 if test "$pipe_works" = yes; then
7396 lt_cv_sys_global_symbol_pipe=
7402 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7403 lt_cv_sys_global_symbol_to_cdecl=
7405 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7407 $as_echo "failed
" >&6; }
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7410 $as_echo "ok
" >&6; }
7413 # Response file support.
7414 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7415 nm_file_list_spec='@'
7416 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7417 nm_file_list_spec='@'
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7447 $as_echo_n "checking
for sysroot...
" >&6; }
7449 # Check whether --with-sysroot was given.
7450 if test "${with_sysroot+set}" = set; then :
7451 withval=$with_sysroot;
7458 case ${with_sysroot} in #(
7460 if test "$GCC" = yes; then
7461 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7465 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7471 $as_echo "${with_sysroot}" >&6; }
7472 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7477 $as_echo "${lt_sysroot:-no}" >&6; }
7483 # Check whether --enable-libtool-lock was given.
7484 if test "${enable_libtool_lock+set}" = set; then :
7485 enableval=$enable_libtool_lock;
7488 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7490 # Some flags need to be propagated to the compiler or linker for good
7494 # Find out which ABI we are using.
7495 echo 'int i;' > conftest.$ac_ext
7496 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7497 (eval $ac_compile) 2>&5
7499 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7500 test $ac_status = 0; }; then
7501 case `/usr/bin/file conftest.$ac_objext` in
7513 # Find out which ABI we are using.
7514 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7515 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7516 (eval $ac_compile) 2>&5
7518 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7519 test $ac_status = 0; }; then
7520 if test "$lt_cv_prog_gnu_ld" = yes; then
7521 case `/usr/bin/file conftest.$ac_objext` in
7523 LD="${LD-ld} -melf32bsmip"
7526 LD="${LD-ld} -melf32bmipn32"
7529 LD="${LD-ld} -melf64bmip"
7533 case `/usr/bin/file conftest.$ac_objext` in
7549 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7550 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7551 # Find out which ABI we are using.
7552 echo 'int i;' > conftest.$ac_ext
7553 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7554 (eval $ac_compile) 2>&5
7556 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7557 test $ac_status = 0; }; then
7558 case `/usr/bin/file conftest.o` in
7561 x86_64-*kfreebsd*-gnu)
7562 LD="${LD-ld} -m elf_i386_fbsd
"
7565 LD="${LD-ld} -m elf_i386
"
7567 ppc64-*linux*|powerpc64-*linux*)
7568 LD="${LD-ld} -m elf32ppclinux
"
7571 LD="${LD-ld} -m elf_s390
"
7574 LD="${LD-ld} -m elf32_sparc
"
7580 x86_64-*kfreebsd*-gnu)
7581 LD="${LD-ld} -m elf_x86_64_fbsd
"
7584 LD="${LD-ld} -m elf_x86_64
"
7586 ppc*-*linux*|powerpc*-*linux*)
7587 LD="${LD-ld} -m elf64ppc
"
7589 s390*-*linux*|s390*-*tpf*)
7590 LD="${LD-ld} -m elf64_s390
"
7593 LD="${LD-ld} -m elf64_sparc
"
7603 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7604 SAVE_CFLAGS="$CFLAGS"
7605 CFLAGS="$CFLAGS -belf"
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7607 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7608 if ${lt_cv_cc_needs_belf+:} false; then :
7609 $as_echo_n "(cached
) " >&6
7612 ac_cpp='$CPP $CPPFLAGS'
7613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7628 if ac_fn_c_try_link "$LINENO"; then :
7629 lt_cv_cc_needs_belf=yes
7631 lt_cv_cc_needs_belf=no
7633 rm -f core conftest.err conftest.$ac_objext \
7634 conftest$ac_exeext conftest.$ac_ext
7636 ac_cpp='$CPP $CPPFLAGS'
7637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7643 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7644 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7645 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7646 CFLAGS="$SAVE_CFLAGS"
7650 # Find out which ABI we are using.
7651 echo 'int i;' > conftest.$ac_ext
7652 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7653 (eval $ac_compile) 2>&5
7655 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7656 test $ac_status = 0; }; then
7657 case `/usr/bin/file conftest.o` in
7659 case $lt_cv_prog_gnu_ld in
7663 LD="${LD-ld} -m elf_x86_64
"
7666 LD="${LD-ld} -m elf64_sparc
"
7669 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7670 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7675 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7687 need_locks="$enable_libtool_lock"
7689 if test -n "$ac_tool_prefix"; then
7690 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7691 set dummy ${ac_tool_prefix}mt; ac_word=$2
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7693 $as_echo_n "checking
for $ac_word...
" >&6; }
7694 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7695 $as_echo_n "(cached
) " >&6
7697 if test -n "$MANIFEST_TOOL"; then
7698 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7704 test -z "$as_dir" && as_dir=.
7705 for ac_exec_ext in '' $ac_executable_extensions; do
7706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7707 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7717 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7718 if test -n "$MANIFEST_TOOL"; then
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7720 $as_echo "$MANIFEST_TOOL" >&6; }
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7723 $as_echo "no
" >&6; }
7728 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7729 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7730 # Extract the first word of "mt
", so it can be a program name with args.
7731 set dummy mt; ac_word=$2
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7733 $as_echo_n "checking
for $ac_word...
" >&6; }
7734 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7735 $as_echo_n "(cached
) " >&6
7737 if test -n "$ac_ct_MANIFEST_TOOL"; then
7738 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir=.
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7747 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7757 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7758 if test -n "$ac_ct_MANIFEST_TOOL"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7760 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7763 $as_echo "no
" >&6; }
7766 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7769 case $cross_compiling:$ac_tool_warned in
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7772 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7773 ac_tool_warned=yes ;;
7775 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7778 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7781 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7783 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7784 if ${lt_cv_path_mainfest_tool+:} false; then :
7785 $as_echo_n "(cached
) " >&6
7787 lt_cv_path_mainfest_tool=no
7788 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7789 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7790 cat conftest.err >&5
7791 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7792 lt_cv_path_mainfest_tool=yes
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7797 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7798 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7808 rhapsody* | darwin*)
7809 if test -n "$ac_tool_prefix"; then
7810 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7811 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7813 $as_echo_n "checking
for $ac_word...
" >&6; }
7814 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7815 $as_echo_n "(cached
) " >&6
7817 if test -n "$DSYMUTIL"; then
7818 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7827 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7837 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7838 if test -n "$DSYMUTIL"; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7840 $as_echo "$DSYMUTIL" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7843 $as_echo "no
" >&6; }
7848 if test -z "$ac_cv_prog_DSYMUTIL"; then
7849 ac_ct_DSYMUTIL=$DSYMUTIL
7850 # Extract the first word of "dsymutil
", so it can be a program name with args.
7851 set dummy dsymutil; ac_word=$2
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7853 $as_echo_n "checking
for $ac_word...
" >&6; }
7854 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7855 $as_echo_n "(cached
) " >&6
7857 if test -n "$ac_ct_DSYMUTIL"; then
7858 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864 test -z "$as_dir" && as_dir=.
7865 for ac_exec_ext in '' $ac_executable_extensions; do
7866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7867 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7877 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7878 if test -n "$ac_ct_DSYMUTIL"; then
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7880 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7883 $as_echo "no
" >&6; }
7886 if test "x
$ac_ct_DSYMUTIL" = x; then
7889 case $cross_compiling:$ac_tool_warned in
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7892 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7893 ac_tool_warned=yes ;;
7895 DSYMUTIL=$ac_ct_DSYMUTIL
7898 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7901 if test -n "$ac_tool_prefix"; then
7902 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7903 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7905 $as_echo_n "checking
for $ac_word...
" >&6; }
7906 if ${ac_cv_prog_NMEDIT+:} false; then :
7907 $as_echo_n "(cached
) " >&6
7909 if test -n "$NMEDIT"; then
7910 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7916 test -z "$as_dir" && as_dir=.
7917 for ac_exec_ext in '' $ac_executable_extensions; do
7918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7919 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7920 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7929 NMEDIT=$ac_cv_prog_NMEDIT
7930 if test -n "$NMEDIT"; then
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7932 $as_echo "$NMEDIT" >&6; }
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7935 $as_echo "no
" >&6; }
7940 if test -z "$ac_cv_prog_NMEDIT"; then
7941 ac_ct_NMEDIT=$NMEDIT
7942 # Extract the first word of "nmedit
", so it can be a program name with args.
7943 set dummy nmedit; ac_word=$2
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7945 $as_echo_n "checking
for $ac_word...
" >&6; }
7946 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7947 $as_echo_n "(cached
) " >&6
7949 if test -n "$ac_ct_NMEDIT"; then
7950 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7956 test -z "$as_dir" && as_dir=.
7957 for ac_exec_ext in '' $ac_executable_extensions; do
7958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7959 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7969 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7970 if test -n "$ac_ct_NMEDIT"; then
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7972 $as_echo "$ac_ct_NMEDIT" >&6; }
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7975 $as_echo "no
" >&6; }
7978 if test "x
$ac_ct_NMEDIT" = x; then
7981 case $cross_compiling:$ac_tool_warned in
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7984 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7985 ac_tool_warned=yes ;;
7987 NMEDIT=$ac_ct_NMEDIT
7990 NMEDIT="$ac_cv_prog_NMEDIT"
7993 if test -n "$ac_tool_prefix"; then
7994 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7995 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7997 $as_echo_n "checking
for $ac_word...
" >&6; }
7998 if ${ac_cv_prog_LIPO+:} false; then :
7999 $as_echo_n "(cached
) " >&6
8001 if test -n "$LIPO"; then
8002 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8008 test -z "$as_dir" && as_dir=.
8009 for ac_exec_ext in '' $ac_executable_extensions; do
8010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8011 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8021 LIPO=$ac_cv_prog_LIPO
8022 if test -n "$LIPO"; then
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8024 $as_echo "$LIPO" >&6; }
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8027 $as_echo "no
" >&6; }
8032 if test -z "$ac_cv_prog_LIPO"; then
8034 # Extract the first word of "lipo
", so it can be a program name with args.
8035 set dummy lipo; ac_word=$2
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8037 $as_echo_n "checking
for $ac_word...
" >&6; }
8038 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8039 $as_echo_n "(cached
) " >&6
8041 if test -n "$ac_ct_LIPO"; then
8042 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8048 test -z "$as_dir" && as_dir=.
8049 for ac_exec_ext in '' $ac_executable_extensions; do
8050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8051 ac_cv_prog_ac_ct_LIPO="lipo
"
8052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8061 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8062 if test -n "$ac_ct_LIPO"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8064 $as_echo "$ac_ct_LIPO" >&6; }
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8067 $as_echo "no
" >&6; }
8070 if test "x
$ac_ct_LIPO" = x; then
8073 case $cross_compiling:$ac_tool_warned in
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8076 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8077 ac_tool_warned=yes ;;
8082 LIPO="$ac_cv_prog_LIPO"
8085 if test -n "$ac_tool_prefix"; then
8086 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8087 set dummy ${ac_tool_prefix}otool; ac_word=$2
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8089 $as_echo_n "checking
for $ac_word...
" >&6; }
8090 if ${ac_cv_prog_OTOOL+:} false; then :
8091 $as_echo_n "(cached
) " >&6
8093 if test -n "$OTOOL"; then
8094 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8100 test -z "$as_dir" && as_dir=.
8101 for ac_exec_ext in '' $ac_executable_extensions; do
8102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8103 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8113 OTOOL=$ac_cv_prog_OTOOL
8114 if test -n "$OTOOL"; then
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8116 $as_echo "$OTOOL" >&6; }
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8119 $as_echo "no
" >&6; }
8124 if test -z "$ac_cv_prog_OTOOL"; then
8126 # Extract the first word of "otool
", so it can be a program name with args.
8127 set dummy otool; ac_word=$2
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8129 $as_echo_n "checking
for $ac_word...
" >&6; }
8130 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8131 $as_echo_n "(cached
) " >&6
8133 if test -n "$ac_ct_OTOOL"; then
8134 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8140 test -z "$as_dir" && as_dir=.
8141 for ac_exec_ext in '' $ac_executable_extensions; do
8142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8143 ac_cv_prog_ac_ct_OTOOL="otool
"
8144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8153 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8154 if test -n "$ac_ct_OTOOL"; then
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8156 $as_echo "$ac_ct_OTOOL" >&6; }
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8159 $as_echo "no
" >&6; }
8162 if test "x
$ac_ct_OTOOL" = x; then
8165 case $cross_compiling:$ac_tool_warned in
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8168 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8169 ac_tool_warned=yes ;;
8174 OTOOL="$ac_cv_prog_OTOOL"
8177 if test -n "$ac_tool_prefix"; then
8178 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8179 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8181 $as_echo_n "checking
for $ac_word...
" >&6; }
8182 if ${ac_cv_prog_OTOOL64+:} false; then :
8183 $as_echo_n "(cached
) " >&6
8185 if test -n "$OTOOL64"; then
8186 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8192 test -z "$as_dir" && as_dir=.
8193 for ac_exec_ext in '' $ac_executable_extensions; do
8194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8195 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8205 OTOOL64=$ac_cv_prog_OTOOL64
8206 if test -n "$OTOOL64"; then
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8208 $as_echo "$OTOOL64" >&6; }
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8211 $as_echo "no
" >&6; }
8216 if test -z "$ac_cv_prog_OTOOL64"; then
8217 ac_ct_OTOOL64=$OTOOL64
8218 # Extract the first word of "otool64
", so it can be a program name with args.
8219 set dummy otool64; ac_word=$2
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8221 $as_echo_n "checking
for $ac_word...
" >&6; }
8222 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8223 $as_echo_n "(cached
) " >&6
8225 if test -n "$ac_ct_OTOOL64"; then
8226 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8232 test -z "$as_dir" && as_dir=.
8233 for ac_exec_ext in '' $ac_executable_extensions; do
8234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8235 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8245 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8246 if test -n "$ac_ct_OTOOL64"; then
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8248 $as_echo "$ac_ct_OTOOL64" >&6; }
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8251 $as_echo "no
" >&6; }
8254 if test "x
$ac_ct_OTOOL64" = x; then
8257 case $cross_compiling:$ac_tool_warned in
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8260 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8261 ac_tool_warned=yes ;;
8263 OTOOL64=$ac_ct_OTOOL64
8266 OTOOL64="$ac_cv_prog_OTOOL64"
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8296 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8297 if ${lt_cv_apple_cc_single_mod+:} false; then :
8298 $as_echo_n "(cached
) " >&6
8300 lt_cv_apple_cc_single_mod=no
8301 if test -z "${LT_MULTI_MODULE}"; then
8302 # By default we will add the -single_module flag. You can override
8303 # by either setting the environment variable LT_MULTI_MODULE
8304 # non-empty at configure time, or by adding -multi_module to the
8306 rm -rf libconftest.dylib*
8307 echo "int foo
(void
){return 1;}" > conftest.c
8308 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8309 -dynamiclib -Wl,-single_module conftest.c
" >&5
8310 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8311 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8313 # If there is a non-empty error log, and "single_module
"
8314 # appears in it, assume the flag caused a linker warning
8315 if test -s conftest.err && $GREP single_module conftest.err; then
8316 cat conftest.err >&5
8317 # Otherwise, if the output was created with a 0 exit code from
8318 # the compiler, it worked.
8319 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8320 lt_cv_apple_cc_single_mod=yes
8322 cat conftest.err >&5
8324 rm -rf libconftest.dylib*
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8329 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8332 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8333 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8334 $as_echo_n "(cached
) " >&6
8336 lt_cv_ld_exported_symbols_list=no
8337 save_LDFLAGS=$LDFLAGS
8338 echo "_main
" > conftest.sym
8339 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h. */
8351 if ac_fn_c_try_link "$LINENO"; then :
8352 lt_cv_ld_exported_symbols_list=yes
8354 lt_cv_ld_exported_symbols_list=no
8356 rm -f core conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 LDFLAGS="$save_LDFLAGS"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8362 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8365 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8366 if ${lt_cv_ld_force_load+:} false; then :
8367 $as_echo_n "(cached
) " >&6
8369 lt_cv_ld_force_load=no
8370 cat > conftest.c << _LT_EOF
8371 int forced_loaded() { return 2;}
8373 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8374 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8375 echo "$AR cru libconftest.a conftest.o
" >&5
8376 $AR cru libconftest.a conftest.o 2>&5
8377 echo "$RANLIB libconftest.a
" >&5
8378 $RANLIB libconftest.a 2>&5
8379 cat > conftest.c << _LT_EOF
8380 int main() { return 0;}
8382 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8383 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8385 if test -s conftest.err && $GREP force_load conftest.err; then
8386 cat conftest.err >&5
8387 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8388 lt_cv_ld_force_load=yes
8390 cat conftest.err >&5
8392 rm -f conftest.err libconftest.a conftest conftest.c
8393 rm -rf conftest.dSYM
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8397 $as_echo "$lt_cv_ld_force_load" >&6; }
8399 rhapsody* | darwin1.[012])
8400 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8402 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8403 darwin*) # darwin 5.x on
8404 # if running on 10.5 or later, the deployment target defaults
8405 # to the OS version, if on x86, and 10.4, the deployment
8406 # target defaults to 10.4. Don't you love it?
8407 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8408 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8409 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8411 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8413 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8417 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8418 _lt_dar_single_mod='$single_module'
8420 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8421 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8423 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8425 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8426 _lt_dsymutil='~$DSYMUTIL $lib || :'
8434 ac_cpp='$CPP $CPPFLAGS'
8435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8439 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8440 # On Suns, sometimes $CPP names a directory.
8441 if test -n "$CPP" && test -d "$CPP"; then
8444 if test -z "$CPP"; then
8445 if ${ac_cv_prog_CPP+:} false; then :
8446 $as_echo_n "(cached
) " >&6
8448 # Double quotes because CPP needs to be expanded
8449 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8452 for ac_c_preproc_warn_flag in '' yes
8454 # Use a header file that comes with gcc, so configuring glibc
8455 # with a fresh cross-compiler works.
8456 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8457 # <limits.h> exists even on freestanding compilers.
8458 # On the NeXT, cc -E runs the code through the compiler's parser,
8459 # not just through cpp. "Syntax error
" is here to catch this case.
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8463 # include <limits.h>
8465 # include <assert.h>
8469 if ac_fn_c_try_cpp "$LINENO"; then :
8472 # Broken: fails on valid input.
8475 rm -f conftest.err conftest.i conftest.$ac_ext
8477 # OK, works on sane cases. Now check whether nonexistent headers
8478 # can be detected and how.
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 #include <ac_nonexistent.h>
8483 if ac_fn_c_try_cpp "$LINENO"; then :
8484 # Broken: success on invalid input.
8487 # Passes both tests.
8491 rm -f conftest.err conftest.i conftest.$ac_ext
8494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8495 rm -f conftest.i conftest.err conftest.$ac_ext
8496 if $ac_preproc_ok; then :
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8509 $as_echo "$CPP" >&6; }
8511 for ac_c_preproc_warn_flag in '' yes
8513 # Use a header file that comes with gcc, so configuring glibc
8514 # with a fresh cross-compiler works.
8515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8516 # <limits.h> exists even on freestanding compilers.
8517 # On the NeXT, cc -E runs the code through the compiler's parser,
8518 # not just through cpp. "Syntax error
" is here to catch this case.
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8522 # include <limits.h>
8524 # include <assert.h>
8528 if ac_fn_c_try_cpp "$LINENO"; then :
8531 # Broken: fails on valid input.
8534 rm -f conftest.err conftest.i conftest.$ac_ext
8536 # OK, works on sane cases. Now check whether nonexistent headers
8537 # can be detected and how.
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8540 #include <ac_nonexistent.h>
8542 if ac_fn_c_try_cpp "$LINENO"; then :
8543 # Broken: success on invalid input.
8546 # Passes both tests.
8550 rm -f conftest.err conftest.i conftest.$ac_ext
8553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8554 rm -f conftest.i conftest.err conftest.$ac_ext
8555 if $ac_preproc_ok; then :
8558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8560 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8561 See \`config.log' for more details
" "$LINENO" 5; }
8565 ac_cpp='$CPP $CPPFLAGS'
8566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8572 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8573 if ${ac_cv_header_stdc+:} false; then :
8574 $as_echo_n "(cached
) " >&6
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8591 if ac_fn_c_try_compile "$LINENO"; then :
8592 ac_cv_header_stdc=yes
8594 ac_cv_header_stdc=no
8596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8598 if test $ac_cv_header_stdc = yes; then
8599 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8601 /* end confdefs.h. */
8605 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8606 $EGREP "memchr
" >/dev/null 2>&1; then :
8609 ac_cv_header_stdc=no
8615 if test $ac_cv_header_stdc = yes; then
8616 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8622 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8623 $EGREP "free
" >/dev/null 2>&1; then :
8626 ac_cv_header_stdc=no
8632 if test $ac_cv_header_stdc = yes; then
8633 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8634 if test "$cross_compiling" = yes; then :
8637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8638 /* end confdefs.h. */
8641 #if ((' ' & 0x0FF) == 0x020)
8642 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8643 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8645 # define ISLOWER(c) \
8646 (('a' <= (c) && (c) <= 'i') \
8647 || ('j' <= (c) && (c) <= 'r') \
8648 || ('s' <= (c) && (c) <= 'z'))
8649 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8652 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8657 for (i = 0; i < 256; i++)
8658 if (XOR (islower (i), ISLOWER (i))
8659 || toupper (i) != TOUPPER (i))
8664 if ac_fn_c_try_run "$LINENO"; then :
8667 ac_cv_header_stdc=no
8669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8670 conftest.$ac_objext conftest.beam conftest.$ac_ext
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8676 $as_echo "$ac_cv_header_stdc" >&6; }
8677 if test $ac_cv_header_stdc = yes; then
8679 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8683 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8684 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8685 inttypes.h stdint.h unistd.h
8687 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8688 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8690 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8691 cat >>confdefs.h
<<_ACEOF
8692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8700 for ac_header
in dlfcn.h
8702 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8704 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8705 cat >>confdefs.h
<<_ACEOF
8706 #define HAVE_DLFCN_H 1
8716 func_stripname_cnf
()
8719 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8720 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8722 } # func_stripname_cnf
8729 # Check whether --enable-static was given.
8730 if test "${enable_static+set}" = set; then :
8731 enableval
=$enable_static; p
=${PACKAGE-default}
8733 yes) enable_static
=yes ;;
8734 no
) enable_static
=no
;;
8737 # Look at the argument we got. We use all the common list separators.
8738 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8739 for pkg
in $enableval; do
8741 if test "X$pkg" = "X$p"; then
8767 # Check whether --enable-shared was given.
8768 if test "${enable_shared+set}" = set; then :
8769 enableval
=$enable_shared; p
=${PACKAGE-default}
8771 yes) enable_shared
=yes ;;
8772 no
) enable_shared
=no
;;
8775 # Look at the argument we got. We use all the common list separators.
8776 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8777 for pkg
in $enableval; do
8779 if test "X$pkg" = "X$p"; then
8800 # Check whether --with-pic was given.
8801 if test "${with_pic+set}" = set; then :
8802 withval
=$with_pic; lt_p
=${PACKAGE-default}
8804 yes|no
) pic_mode
=$withval ;;
8807 # Look at the argument we got. We use all the common list separators.
8808 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8809 for lt_pkg
in $withval; do
8811 if test "X$lt_pkg" = "X$lt_p"; then
8823 test -z "$pic_mode" && pic_mode
=default
8831 # Check whether --enable-fast-install was given.
8832 if test "${enable_fast_install+set}" = set; then :
8833 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8835 yes) enable_fast_install
=yes ;;
8836 no
) enable_fast_install
=no
;;
8838 enable_fast_install
=no
8839 # Look at the argument we got. We use all the common list separators.
8840 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8841 for pkg
in $enableval; do
8843 if test "X$pkg" = "X$p"; then
8844 enable_fast_install
=yes
8851 enable_fast_install
=yes
8864 # This can be used to rebuild libtool when needed
8865 LIBTOOL_DEPS
="$ltmain"
8867 # Always use our own libtool.
8868 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8899 test -z "$LN_S" && LN_S
="ln -s"
8914 if test -n "${ZSH_VERSION+set}" ; then
8915 setopt NO_GLOB_SUBST
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8919 $as_echo_n "checking for objdir... " >&6; }
8920 if ${lt_cv_objdir+:} false
; then :
8921 $as_echo_n "(cached) " >&6
8923 rm -f .libs
2>/dev
/null
8924 mkdir .libs
2>/dev
/null
8925 if test -d .libs
; then
8928 # MS-DOS does not allow filenames that begin with a dot.
8931 rmdir .libs
2>/dev
/null
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8934 $as_echo "$lt_cv_objdir" >&6; }
8935 objdir
=$lt_cv_objdir
8941 cat >>confdefs.h
<<_ACEOF
8942 #define LT_OBJDIR "$lt_cv_objdir/"
8950 # AIX sometimes has problems with the GCC collect2 program. For some
8951 # reason, if we set the COLLECT_NAMES environment variable, the problems
8952 # vanish in a puff of smoke.
8953 if test "X${COLLECT_NAMES+set}" != Xset
; then
8955 export COLLECT_NAMES
8962 can_build_shared
=yes
8964 # All known linkers require a `.a' archive for static linking (except MSVC,
8965 # which needs '.lib').
8968 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8971 old_CFLAGS
="$CFLAGS"
8973 # Set sane defaults for various variables
8974 test -z "$CC" && CC
=cc
8975 test -z "$LTCC" && LTCC
=$CC
8976 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8977 test -z "$LD" && LD
=ld
8978 test -z "$ac_objext" && ac_objext
=o
8980 for cc_temp
in $compiler""; do
8982 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8983 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8988 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8991 # Only perform the check for file, if the check method requires it
8992 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8993 case $deplibs_check_method in
8995 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8997 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8998 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8999 $as_echo_n "(cached) " >&6
9003 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9006 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9007 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9008 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9009 for ac_dir
in $ac_dummy; do
9011 test -z "$ac_dir" && ac_dir
=.
9012 if test -f $ac_dir/${ac_tool_prefix}file; then
9013 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9014 if test -n "$file_magic_test_file"; then
9015 case $deplibs_check_method in
9017 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9018 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9019 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9020 $EGREP "$file_magic_regex" > /dev
/null
; then
9025 *** Warning: the command libtool uses to detect shared libraries,
9026 *** $file_magic_cmd, produces output that libtool cannot recognize.
9027 *** The result is that libtool may fail to recognize shared libraries
9028 *** as such. This will affect the creation of libtool libraries that
9029 *** depend on shared libraries, but programs linked with such libtool
9030 *** libraries will work regardless of this problem. Nevertheless, you
9031 *** may want to report the problem to your system manager and/or to
9032 *** bug-libtool@gnu.org
9042 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9047 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9048 if test -n "$MAGIC_CMD"; then
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9050 $as_echo "$MAGIC_CMD" >&6; }
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9053 $as_echo "no" >&6; }
9060 if test -z "$lt_cv_path_MAGIC_CMD"; then
9061 if test -n "$ac_tool_prefix"; then
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9063 $as_echo_n "checking for file... " >&6; }
9064 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9065 $as_echo_n "(cached) " >&6
9069 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9072 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9073 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9074 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9075 for ac_dir
in $ac_dummy; do
9077 test -z "$ac_dir" && ac_dir
=.
9078 if test -f $ac_dir/file; then
9079 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9080 if test -n "$file_magic_test_file"; then
9081 case $deplibs_check_method in
9083 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9084 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9085 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9086 $EGREP "$file_magic_regex" > /dev
/null
; then
9091 *** Warning: the command libtool uses to detect shared libraries,
9092 *** $file_magic_cmd, produces output that libtool cannot recognize.
9093 *** The result is that libtool may fail to recognize shared libraries
9094 *** as such. This will affect the creation of libtool libraries that
9095 *** depend on shared libraries, but programs linked with such libtool
9096 *** libraries will work regardless of this problem. Nevertheless, you
9097 *** may want to report the problem to your system manager and/or to
9098 *** bug-libtool@gnu.org
9108 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9113 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9114 if test -n "$MAGIC_CMD"; then
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9116 $as_echo "$MAGIC_CMD" >&6; }
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9119 $as_echo "no" >&6; }
9132 # Use C for the default configuration in the libtool script
9136 ac_cpp
='$CPP $CPPFLAGS'
9137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9142 # Source file extension for C test sources.
9145 # Object file extension for compiled C test sources.
9149 # Code to be used in simple compile tests
9150 lt_simple_compile_test_code
="int some_variable = 0;"
9152 # Code to be used in simple link tests
9153 lt_simple_link_test_code
='int main(){return(0);}'
9161 # If no C compiler was specified, use CC.
9164 # If no C compiler flags were specified, use CFLAGS.
9165 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9167 # Allow CC to be a program name with arguments.
9170 # Save the default compiler, since it gets overwritten when the other
9171 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9172 compiler_DEFAULT
=$CC
9174 # save warnings/boilerplate of simple test code
9175 ac_outfile
=conftest.
$ac_objext
9176 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9177 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9178 _lt_compiler_boilerplate
=`cat conftest.err`
9181 ac_outfile
=conftest.
$ac_objext
9182 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9183 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9184 _lt_linker_boilerplate
=`cat conftest.err`
9189 ## There is no encapsulation within the following macros, do not change
9190 ## the running order or otherwise move them around unless you know exactly
9191 ## what you are doing...
9192 if test -n "$compiler"; then
9194 lt_prog_compiler_no_builtin_flag
=
9196 if test "$GCC" = yes; then
9197 case $cc_basename in
9199 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9201 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9205 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9206 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9207 $as_echo_n "(cached) " >&6
9209 lt_cv_prog_compiler_rtti_exceptions
=no
9210 ac_outfile
=conftest.
$ac_objext
9211 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9212 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9213 # Insert the option either (1) after the last *FLAGS variable, or
9214 # (2) before a word containing "conftest.", or (3) at the end.
9215 # Note that $ac_compile itself does not contain backslashes and begins
9216 # with a dollar sign (not a hyphen), so the echo should work correctly.
9217 # The option is referenced via a variable to avoid confusing sed.
9218 lt_compile
=`echo "$ac_compile" | $SED \
9219 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9220 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9221 -e 's:$: $lt_compiler_flag:'`
9222 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9223 (eval "$lt_compile" 2>conftest.err
)
9225 cat conftest.err
>&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 if (exit $ac_status) && test -s "$ac_outfile"; then
9228 # The compiler can only warn and ignore the option if not recognized
9229 # So say no if there are warnings other than the usual output.
9230 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9231 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9232 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9233 lt_cv_prog_compiler_rtti_exceptions
=yes
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9240 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9242 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9243 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9255 lt_prog_compiler_wl
=
9256 lt_prog_compiler_pic
=
9257 lt_prog_compiler_static
=
9260 if test "$GCC" = yes; then
9261 lt_prog_compiler_wl
='-Wl,'
9262 lt_prog_compiler_static
='-static'
9266 # All AIX code is PIC.
9267 if test "$host_cpu" = ia64
; then
9268 # AIX 5 now supports IA64 processor
9269 lt_prog_compiler_static
='-Bstatic'
9276 # see comment about AmigaOS4 .so support
9277 lt_prog_compiler_pic
='-fPIC'
9280 # FIXME: we need at least 68020 code to build shared libraries, but
9281 # adding the `-m68020' flag to GCC prevents building anything better,
9283 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9288 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9289 # PIC is the default for these OSes.
9292 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9293 # This hack is so that the source file can tell whether it is being
9294 # built for inclusion in a dll (and should export symbols for example).
9295 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9296 # (--disable-auto-import) libraries
9297 lt_prog_compiler_pic
='-DDLL_EXPORT'
9300 darwin
* | rhapsody
*)
9301 # PIC is the default on this platform
9302 # Common symbols not allowed in MH_DYLIB files
9303 lt_prog_compiler_pic
='-fno-common'
9307 # PIC is the default for Haiku.
9308 # The "-static" flag exists, but is broken.
9309 lt_prog_compiler_static
=
9313 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9314 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9315 # sets the default TLS model and affects inlining.
9321 lt_prog_compiler_pic
='-fPIC'
9327 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9328 # Instead, we relocate shared libraries at runtime.
9332 # Just because we use GCC doesn't mean we suddenly get shared libraries
9333 # on systems that don't support them.
9334 lt_prog_compiler_can_build_shared
=no
9339 # QNX uses GNU C++, but need to define -shared option too, otherwise
9341 lt_prog_compiler_pic
='-fPIC -shared'
9345 if test -d /usr
/nec
; then
9346 lt_prog_compiler_pic
=-Kconform_pic
9351 lt_prog_compiler_pic
='-fPIC'
9355 case $cc_basename in
9356 nvcc
*) # Cuda Compiler Driver 2.2
9357 lt_prog_compiler_wl
='-Xlinker '
9358 if test -n "$lt_prog_compiler_pic"; then
9359 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9364 # PORTME Check for flag to pass linker flags through the system compiler.
9367 lt_prog_compiler_wl
='-Wl,'
9368 if test "$host_cpu" = ia64
; then
9369 # AIX 5 now supports IA64 processor
9370 lt_prog_compiler_static
='-Bstatic'
9372 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9376 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9377 # This hack is so that the source file can tell whether it is being
9378 # built for inclusion in a dll (and should export symbols for example).
9379 lt_prog_compiler_pic
='-DDLL_EXPORT'
9382 hpux9
* | hpux10
* | hpux11
*)
9383 lt_prog_compiler_wl
='-Wl,'
9384 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9391 lt_prog_compiler_pic
='+Z'
9394 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9395 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9398 irix5
* | irix6
* | nonstopux
*)
9399 lt_prog_compiler_wl
='-Wl,'
9400 # PIC (with -KPIC) is the default.
9401 lt_prog_compiler_static
='-non_shared'
9404 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9405 case $cc_basename in
9406 # old Intel for x86_64 which still supported -KPIC.
9408 lt_prog_compiler_wl
='-Wl,'
9409 lt_prog_compiler_pic
='-KPIC'
9410 lt_prog_compiler_static
='-static'
9412 # icc used to be incompatible with GCC.
9413 # ICC 10 doesn't accept -KPIC any more.
9415 lt_prog_compiler_wl
='-Wl,'
9416 lt_prog_compiler_pic
='-fPIC'
9417 lt_prog_compiler_static
='-static'
9419 # Lahey Fortran 8.1.
9421 lt_prog_compiler_wl
='-Wl,'
9422 lt_prog_compiler_pic
='--shared'
9423 lt_prog_compiler_static
='--static'
9426 # NAG Fortran compiler
9427 lt_prog_compiler_wl
='-Wl,-Wl,,'
9428 lt_prog_compiler_pic
='-PIC'
9429 lt_prog_compiler_static
='-Bstatic'
9431 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9432 # Portland Group compilers (*not* the Pentium gcc compiler,
9433 # which looks to be a dead project)
9434 lt_prog_compiler_wl
='-Wl,'
9435 lt_prog_compiler_pic
='-fpic'
9436 lt_prog_compiler_static
='-Bstatic'
9439 lt_prog_compiler_wl
='-Wl,'
9440 # All Alpha code is PIC.
9441 lt_prog_compiler_static
='-non_shared'
9443 xl
* | bgxl
* | bgf
* | mpixl
*)
9444 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9445 lt_prog_compiler_wl
='-Wl,'
9446 lt_prog_compiler_pic
='-qpic'
9447 lt_prog_compiler_static
='-qstaticlink'
9450 case `$CC -V 2>&1 | sed 5q` in
9451 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9452 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9453 lt_prog_compiler_pic
='-KPIC'
9454 lt_prog_compiler_static
='-Bstatic'
9455 lt_prog_compiler_wl
=''
9457 *Sun\ F
* | *Sun
*Fortran
*)
9458 lt_prog_compiler_pic
='-KPIC'
9459 lt_prog_compiler_static
='-Bstatic'
9460 lt_prog_compiler_wl
='-Qoption ld '
9464 lt_prog_compiler_pic
='-KPIC'
9465 lt_prog_compiler_static
='-Bstatic'
9466 lt_prog_compiler_wl
='-Wl,'
9468 *Intel
*\
[CF
]*Compiler
*)
9469 lt_prog_compiler_wl
='-Wl,'
9470 lt_prog_compiler_pic
='-fPIC'
9471 lt_prog_compiler_static
='-static'
9474 lt_prog_compiler_wl
='-Wl,'
9475 lt_prog_compiler_pic
='-fpic'
9476 lt_prog_compiler_static
='-Bstatic'
9484 lt_prog_compiler_pic
='-KPIC'
9485 lt_prog_compiler_static
='-Bstatic'
9489 # QNX uses GNU C++, but need to define -shared option too, otherwise
9491 lt_prog_compiler_pic
='-fPIC -shared'
9494 osf3
* | osf4
* | osf5
*)
9495 lt_prog_compiler_wl
='-Wl,'
9496 # All OSF/1 code is PIC.
9497 lt_prog_compiler_static
='-non_shared'
9501 lt_prog_compiler_static
='-non_shared'
9505 lt_prog_compiler_pic
='-KPIC'
9506 lt_prog_compiler_static
='-Bstatic'
9507 case $cc_basename in
9508 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9509 lt_prog_compiler_wl
='-Qoption ld ';;
9511 lt_prog_compiler_wl
='-Wl,';;
9516 lt_prog_compiler_wl
='-Qoption ld '
9517 lt_prog_compiler_pic
='-PIC'
9518 lt_prog_compiler_static
='-Bstatic'
9521 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9522 lt_prog_compiler_wl
='-Wl,'
9523 lt_prog_compiler_pic
='-KPIC'
9524 lt_prog_compiler_static
='-Bstatic'
9528 if test -d /usr
/nec
;then
9529 lt_prog_compiler_pic
='-Kconform_pic'
9530 lt_prog_compiler_static
='-Bstatic'
9534 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9535 lt_prog_compiler_wl
='-Wl,'
9536 lt_prog_compiler_pic
='-KPIC'
9537 lt_prog_compiler_static
='-Bstatic'
9541 lt_prog_compiler_wl
='-Wl,'
9542 lt_prog_compiler_can_build_shared
=no
9546 lt_prog_compiler_pic
='-pic'
9547 lt_prog_compiler_static
='-Bstatic'
9551 lt_prog_compiler_can_build_shared
=no
9557 # For platforms which do not support PIC, -DPIC is meaningless:
9559 lt_prog_compiler_pic
=
9562 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9567 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9568 if ${lt_cv_prog_compiler_pic+:} false
; then :
9569 $as_echo_n "(cached) " >&6
9571 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9574 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9575 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9578 # Check to make sure the PIC flag actually works.
9580 if test -n "$lt_prog_compiler_pic"; then
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9582 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9583 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9584 $as_echo_n "(cached) " >&6
9586 lt_cv_prog_compiler_pic_works
=no
9587 ac_outfile
=conftest.
$ac_objext
9588 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9589 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9590 # Insert the option either (1) after the last *FLAGS variable, or
9591 # (2) before a word containing "conftest.", or (3) at the end.
9592 # Note that $ac_compile itself does not contain backslashes and begins
9593 # with a dollar sign (not a hyphen), so the echo should work correctly.
9594 # The option is referenced via a variable to avoid confusing sed.
9595 lt_compile
=`echo "$ac_compile" | $SED \
9596 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9597 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9598 -e 's:$: $lt_compiler_flag:'`
9599 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9600 (eval "$lt_compile" 2>conftest.err
)
9602 cat conftest.err
>&5
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 if (exit $ac_status) && test -s "$ac_outfile"; then
9605 # The compiler can only warn and ignore the option if not recognized
9606 # So say no if there are warnings other than the usual output.
9607 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9608 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9609 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9610 lt_cv_prog_compiler_pic_works
=yes
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9617 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9619 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9620 case $lt_prog_compiler_pic in
9622 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9625 lt_prog_compiler_pic
=
9626 lt_prog_compiler_can_build_shared
=no
9642 # Check to make sure the static flag actually works.
9644 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9646 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9647 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9648 $as_echo_n "(cached) " >&6
9650 lt_cv_prog_compiler_static_works
=no
9651 save_LDFLAGS
="$LDFLAGS"
9652 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9653 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9654 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9655 # The linker can only warn and ignore the option if not recognized
9656 # So say no if there are warnings
9657 if test -s conftest.err
; then
9658 # Append any errors to the config.log.
9659 cat conftest.err
1>&5
9660 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9661 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9662 if diff conftest.exp conftest.er2
>/dev
/null
; then
9663 lt_cv_prog_compiler_static_works
=yes
9666 lt_cv_prog_compiler_static_works
=yes
9670 LDFLAGS
="$save_LDFLAGS"
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9674 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9676 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9679 lt_prog_compiler_static
=
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9689 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9690 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9691 $as_echo_n "(cached) " >&6
9693 lt_cv_prog_compiler_c_o
=no
9694 $RM -r conftest
2>/dev
/null
9698 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9700 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9701 # Insert the option either (1) after the last *FLAGS variable, or
9702 # (2) before a word containing "conftest.", or (3) at the end.
9703 # Note that $ac_compile itself does not contain backslashes and begins
9704 # with a dollar sign (not a hyphen), so the echo should work correctly.
9705 lt_compile
=`echo "$ac_compile" | $SED \
9706 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9707 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9708 -e 's:$: $lt_compiler_flag:'`
9709 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9710 (eval "$lt_compile" 2>out
/conftest.err
)
9712 cat out
/conftest.err
>&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9716 # The compiler can only warn and ignore the option if not recognized
9717 # So say no if there are warnings
9718 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9719 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9720 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9721 lt_cv_prog_compiler_c_o
=yes
9726 # SGI C++ compiler will create directory out/ii_files/ for
9727 # template instantiation
9728 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9729 $RM out
/* && rmdir out
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9736 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9744 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9745 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9746 $as_echo_n "(cached) " >&6
9748 lt_cv_prog_compiler_c_o
=no
9749 $RM -r conftest
2>/dev
/null
9753 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9755 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9756 # Insert the option either (1) after the last *FLAGS variable, or
9757 # (2) before a word containing "conftest.", or (3) at the end.
9758 # Note that $ac_compile itself does not contain backslashes and begins
9759 # with a dollar sign (not a hyphen), so the echo should work correctly.
9760 lt_compile
=`echo "$ac_compile" | $SED \
9761 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9762 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9763 -e 's:$: $lt_compiler_flag:'`
9764 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9765 (eval "$lt_compile" 2>out
/conftest.err
)
9767 cat out
/conftest.err
>&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9771 # The compiler can only warn and ignore the option if not recognized
9772 # So say no if there are warnings
9773 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9774 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9775 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9776 lt_cv_prog_compiler_c_o
=yes
9781 # SGI C++ compiler will create directory out/ii_files/ for
9782 # template instantiation
9783 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9784 $RM out
/* && rmdir out
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9791 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9796 hard_links
="nottested"
9797 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9798 # do not overwrite the value of need_locks provided by the user
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9800 $as_echo_n "checking if we can lock with hard links... " >&6; }
9803 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9805 ln conftest.a conftest.b
2>&5 || hard_links
=no
9806 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9808 $as_echo "$hard_links" >&6; }
9809 if test "$hard_links" = no
; then
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9811 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9824 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9827 allow_undefined_flag
=
9828 always_export_symbols
=no
9830 archive_expsym_cmds
=
9831 compiler_needs_object
=no
9832 enable_shared_with_static_runtimes
=no
9833 export_dynamic_flag_spec
=
9834 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9835 hardcode_automatic
=no
9837 hardcode_direct_absolute
=no
9838 hardcode_libdir_flag_spec
=
9839 hardcode_libdir_separator
=
9841 hardcode_shlibpath_var
=unsupported
9843 link_all_deplibs
=unknown
9846 old_archive_from_new_cmds
=
9847 old_archive_from_expsyms_cmds
=
9848 thread_safe_flag_spec
=
9849 whole_archive_flag_spec
=
9850 # include_expsyms should be a list of space-separated symbols to be *always*
9851 # included in the symbol list
9853 # exclude_expsyms can be an extended regexp of symbols to exclude
9854 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9855 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9856 # as well as any symbol that contains `d'.
9857 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9858 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9859 # platforms (ab)use it in PIC code, but their linkers get confused if
9860 # the symbol is explicitly referenced. Since portable code cannot
9861 # rely on this symbol name, it's probably fine to never include it in
9862 # preloaded symbol tables.
9863 # Exclude shared library initialization/finalization symbols.
9864 extract_expsyms_cmds
=
9867 cygwin
* | mingw
* | pw32
* | cegcc
*)
9868 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9869 # When not using gcc, we currently assume that we are using
9870 # Microsoft Visual C++.
9871 if test "$GCC" != yes; then
9876 # we just hope/assume this is gcc and not c89 (= MSVC++)
9886 # On some targets, GNU ld is compatible enough with the native linker
9887 # that we're better off using the native interface for both.
9888 lt_use_gnu_ld_interface
=no
9889 if test "$with_gnu_ld" = yes; then
9892 # The AIX port of GNU ld has always aspired to compatibility
9893 # with the native linker. However, as the warning in the GNU ld
9894 # block says, versions before 2.19.5* couldn't really create working
9895 # shared libraries, regardless of the interface used.
9896 case `$LD -v 2>&1` in
9897 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9898 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9899 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9901 lt_use_gnu_ld_interface
=yes
9906 lt_use_gnu_ld_interface
=yes
9911 if test "$lt_use_gnu_ld_interface" = yes; then
9912 # If archive_cmds runs LD, not CC, wlarc should be empty
9915 # Set some defaults for GNU ld with shared library support. These
9916 # are reset later if shared libraries are not supported. Putting them
9917 # here allows them to be overridden if necessary.
9918 runpath_var
=LD_RUN_PATH
9919 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9920 export_dynamic_flag_spec
='${wl}--export-dynamic'
9921 # ancient GNU ld didn't support --whole-archive et. al.
9922 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9923 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9925 whole_archive_flag_spec
=
9927 supports_anon_versioning
=no
9928 case `$LD -v 2>&1` in
9929 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9930 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9931 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9932 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9933 *\
2.11.
*) ;; # other 2.11 versions
9934 *) supports_anon_versioning
=yes ;;
9937 # See if GNU ld supports shared libraries.
9940 # On AIX/PPC, the GNU linker is very broken
9941 if test "$host_cpu" != ia64
; then
9945 *** Warning: the GNU linker, at least up to release 2.19, is reported
9946 *** to be unable to reliably create shared libraries on AIX.
9947 *** Therefore, libtool is disabling shared libraries support. If you
9948 *** really care for shared libraries, you may want to install binutils
9949 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9950 *** You will then need to restart the configuration process.
9959 # see comment about AmigaOS4 .so support
9960 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9961 archive_expsym_cmds
=''
9964 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)'
9965 hardcode_libdir_flag_spec
='-L$libdir'
9966 hardcode_minus_L
=yes
9972 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9973 allow_undefined_flag
=unsupported
9974 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9975 # support --undefined. This deserves some investigation. FIXME
9976 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9982 cygwin
* | mingw
* | pw32
* | cegcc
*)
9983 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9984 # as there is no search path for DLLs.
9985 hardcode_libdir_flag_spec
='-L$libdir'
9986 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9987 allow_undefined_flag
=unsupported
9988 always_export_symbols
=no
9989 enable_shared_with_static_runtimes
=yes
9990 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'
9991 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9993 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9994 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9995 # If the export-symbols file already is a .def file (1st line
9996 # is EXPORTS), use it as is; otherwise, prepend...
9997 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9998 cp $export_symbols $output_objdir/$soname.def;
10000 echo EXPORTS > $output_objdir/$soname.def;
10001 cat $export_symbols >> $output_objdir/$soname.def;
10003 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10010 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10011 link_all_deplibs
=yes
10016 hardcode_shlibpath_var
=no
10017 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10018 export_dynamic_flag_spec
='${wl}-E'
10019 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10020 # Instead, shared libraries are loaded at an image base (0x10000000 by
10021 # default) and relocated if they conflict, which is a slow very memory
10022 # consuming and fragmenting process. To avoid this, we pick a random,
10023 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10024 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10025 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10026 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'
10029 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10031 if test "$host_os" = linux
-dietlibc; then
10032 case $cc_basename in
10033 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10036 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10037 && test "$tmp_diet" = no
10039 tmp_addflag
=' $pic_flag'
10040 tmp_sharedflag
='-shared'
10041 case $cc_basename,$host_cpu in
10042 pgcc
*) # Portland Group C compiler
10043 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'
10044 tmp_addflag
=' $pic_flag'
10046 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10047 # Portland Group f77 and f90 compilers
10048 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'
10049 tmp_addflag
=' $pic_flag -Mnomain' ;;
10050 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10051 tmp_addflag
=' -i_dynamic' ;;
10052 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10053 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10054 ifc
* | ifort
*) # Intel Fortran compiler
10055 tmp_addflag
=' -nofor_main' ;;
10056 lf95
*) # Lahey Fortran 8.1
10057 whole_archive_flag_spec
=
10058 tmp_sharedflag
='--shared' ;;
10059 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10060 tmp_sharedflag
='-qmkshrobj'
10062 nvcc
*) # Cuda Compiler Driver 2.2
10063 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'
10064 compiler_needs_object
=yes
10067 case `$CC -V 2>&1 | sed 5q` in
10068 *Sun\ C
*) # Sun C 5.9
10069 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'
10070 compiler_needs_object
=yes
10071 tmp_sharedflag
='-G' ;;
10072 *Sun\ F
*) # Sun Fortran 8.3
10073 tmp_sharedflag
='-G' ;;
10075 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10077 if test "x$supports_anon_versioning" = xyes
; then
10078 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10079 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10080 echo "local: *; };" >> $output_objdir/$libname.ver~
10081 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10084 case $cc_basename in
10085 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10086 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10087 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10088 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10089 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10090 if test "x$supports_anon_versioning" = xyes
; then
10091 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10092 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10093 echo "local: *; };" >> $output_objdir/$libname.ver~
10094 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10104 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10105 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10108 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10109 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10114 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10118 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10119 *** create shared libraries on Solaris systems. Therefore, libtool
10120 *** is disabling shared libraries support. We urge you to upgrade GNU
10121 *** binutils to release 2.9.1 or newer. Another option is to modify
10122 *** your PATH or compiler configuration so that the native linker is
10123 *** used, and then restart.
10126 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10127 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10128 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10134 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10135 case `$LD -v 2>&1` in
10136 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10140 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10141 *** reliably create shared libraries on SCO systems. Therefore, libtool
10142 *** is disabling shared libraries support. We urge you to upgrade GNU
10143 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10144 *** your PATH or compiler configuration so that the native linker is
10145 *** used, and then restart.
10150 # For security reasons, it is highly recommended that you always
10151 # use absolute paths for naming shared libraries, and exclude the
10152 # DT_RUNPATH tag from executables and libraries. But doing so
10153 # requires that you compile everything twice, which is a pain.
10154 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10155 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10156 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10157 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10166 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10168 hardcode_direct
=yes
10169 hardcode_shlibpath_var
=no
10173 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10174 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10175 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10182 if test "$ld_shlibs" = no
; then
10184 hardcode_libdir_flag_spec
=
10185 export_dynamic_flag_spec
=
10186 whole_archive_flag_spec
=
10189 # PORTME fill in a description of your system's linker (not GNU ld)
10192 allow_undefined_flag
=unsupported
10193 always_export_symbols
=yes
10194 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'
10195 # Note: this linker hardcodes the directories in LIBPATH if there
10196 # are no directories specified by -L.
10197 hardcode_minus_L
=yes
10198 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10199 # Neither direct hardcoding nor static linking is supported with a
10201 hardcode_direct
=unsupported
10206 if test "$host_cpu" = ia64
; then
10207 # On IA64, the linker does run time linking by default, so we don't
10208 # have to do anything special.
10209 aix_use_runtimelinking
=no
10210 exp_sym_flag
='-Bexport'
10213 # If we're using GNU nm, then we don't want the "-C" option.
10214 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10215 # Also, AIX nm treats weak defined symbols like other global
10216 # defined symbols, whereas GNU nm marks them as "W".
10217 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10218 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10220 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10222 aix_use_runtimelinking
=no
10224 # Test if we are trying to use run time linking or normal
10225 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10226 # need to do runtime linking.
10227 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10228 for ld_flag
in $LDFLAGS; do
10229 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10230 aix_use_runtimelinking
=yes
10237 exp_sym_flag
='-bexport'
10238 no_entry_flag
='-bnoentry'
10241 # When large executables or shared objects are built, AIX ld can
10242 # have problems creating the table of contents. If linking a library
10243 # or program results in "error TOC overflow" add -mminimal-toc to
10244 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10245 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10248 hardcode_direct
=yes
10249 hardcode_direct_absolute
=yes
10250 hardcode_libdir_separator
=':'
10251 link_all_deplibs
=yes
10252 file_list_spec
='${wl}-f,'
10254 if test "$GCC" = yes; then
10255 case $host_os in aix4.
[012]|aix4.
[012].
*)
10256 # We only want to do this on AIX 4.2 and lower, the check
10257 # below for broken collect2 doesn't work under 4.3+
10258 collect2name
=`${CC} -print-prog-name=collect2`
10259 if test -f "$collect2name" &&
10260 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10262 # We have reworked collect2
10265 # We have old collect2
10266 hardcode_direct
=unsupported
10267 # It fails to find uninstalled libraries when the uninstalled
10268 # path is not listed in the libpath. Setting hardcode_minus_L
10269 # to unsupported forces relinking
10270 hardcode_minus_L
=yes
10271 hardcode_libdir_flag_spec
='-L$libdir'
10272 hardcode_libdir_separator
=
10276 shared_flag
='-shared'
10277 if test "$aix_use_runtimelinking" = yes; then
10278 shared_flag
="$shared_flag "'${wl}-G'
10282 if test "$host_cpu" = ia64
; then
10283 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10284 # chokes on -Wl,-G. The following line is correct:
10287 if test "$aix_use_runtimelinking" = yes; then
10288 shared_flag
='${wl}-G'
10290 shared_flag
='${wl}-bM:SRE'
10295 export_dynamic_flag_spec
='${wl}-bexpall'
10296 # It seems that -bexpall does not export symbols beginning with
10297 # underscore (_), so it is better to generate a list of symbols to export.
10298 always_export_symbols
=yes
10299 if test "$aix_use_runtimelinking" = yes; then
10300 # Warning - without using the other runtime loading flags (-brtl),
10301 # -berok will link without error, but may produce a broken library.
10302 allow_undefined_flag
='-berok'
10303 # Determine the default libpath from the value encoded in an
10304 # empty executable.
10305 if test "${lt_cv_aix_libpath+set}" = set; then
10306 aix_libpath
=$lt_cv_aix_libpath
10308 if ${lt_cv_aix_libpath_+:} false
; then :
10309 $as_echo_n "(cached) " >&6
10311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10322 if ac_fn_c_try_link
"$LINENO"; then :
10324 lt_aix_libpath_sed
='
10325 /Import File Strings/,/^$/ {
10327 s/^0 *\([^ ]*\) *$/\1/
10331 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10332 # Check for a 64-bit object if we didn't find anything.
10333 if test -z "$lt_cv_aix_libpath_"; then
10334 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10337 rm -f core conftest.err conftest.
$ac_objext \
10338 conftest
$ac_exeext conftest.
$ac_ext
10339 if test -z "$lt_cv_aix_libpath_"; then
10340 lt_cv_aix_libpath_
="/usr/lib:/lib"
10345 aix_libpath
=$lt_cv_aix_libpath_
10348 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10349 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10351 if test "$host_cpu" = ia64
; then
10352 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10353 allow_undefined_flag
="-z nodefs"
10354 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"
10356 # Determine the default libpath from the value encoded in an
10357 # empty executable.
10358 if test "${lt_cv_aix_libpath+set}" = set; then
10359 aix_libpath
=$lt_cv_aix_libpath
10361 if ${lt_cv_aix_libpath_+:} false
; then :
10362 $as_echo_n "(cached) " >&6
10364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10375 if ac_fn_c_try_link
"$LINENO"; then :
10377 lt_aix_libpath_sed
='
10378 /Import File Strings/,/^$/ {
10380 s/^0 *\([^ ]*\) *$/\1/
10384 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10385 # Check for a 64-bit object if we didn't find anything.
10386 if test -z "$lt_cv_aix_libpath_"; then
10387 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10390 rm -f core conftest.err conftest.
$ac_objext \
10391 conftest
$ac_exeext conftest.
$ac_ext
10392 if test -z "$lt_cv_aix_libpath_"; then
10393 lt_cv_aix_libpath_
="/usr/lib:/lib"
10398 aix_libpath
=$lt_cv_aix_libpath_
10401 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10402 # Warning - without using the other run time loading flags,
10403 # -berok will link without error, but may produce a broken library.
10404 no_undefined_flag
=' ${wl}-bernotok'
10405 allow_undefined_flag
=' ${wl}-berok'
10406 if test "$with_gnu_ld" = yes; then
10407 # We only use this code for GNU lds that support --whole-archive.
10408 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10410 # Exported symbols can be pulled into shared objects from archives
10411 whole_archive_flag_spec
='$convenience'
10413 archive_cmds_need_lc
=yes
10414 # This is similar to how AIX traditionally builds its shared libraries.
10415 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10423 # see comment about AmigaOS4 .so support
10424 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10425 archive_expsym_cmds
=''
10428 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)'
10429 hardcode_libdir_flag_spec
='-L$libdir'
10430 hardcode_minus_L
=yes
10436 export_dynamic_flag_spec
=-rdynamic
10439 cygwin
* | mingw
* | pw32
* | cegcc
*)
10440 # When not using gcc, we currently assume that we are using
10441 # Microsoft Visual C++.
10442 # hardcode_libdir_flag_spec is actually meaningless, as there is
10443 # no search path for DLLs.
10444 case $cc_basename in
10447 hardcode_libdir_flag_spec
=' '
10448 allow_undefined_flag
=unsupported
10449 always_export_symbols
=yes
10451 # Tell ltmain to make .lib files, not .a files.
10453 # Tell ltmain to make .dll files, not .so files.
10455 # FIXME: Setting linknames here is a bad hack.
10456 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10457 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10458 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10460 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10462 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10464 # The linker will not automatically build a static lib if we build a DLL.
10465 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10466 enable_shared_with_static_runtimes
=yes
10467 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10468 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10470 old_postinstall_cmds
='chmod 644 $oldlib'
10471 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10472 lt_tool_outputfile="@TOOL_OUTPUT@"~
10473 case $lt_outputfile in
10476 lt_outputfile="$lt_outputfile.exe"
10477 lt_tool_outputfile="$lt_tool_outputfile.exe"
10480 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10481 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10482 $RM "$lt_outputfile.manifest";
10486 # Assume MSVC wrapper
10487 hardcode_libdir_flag_spec
=' '
10488 allow_undefined_flag
=unsupported
10489 # Tell ltmain to make .lib files, not .a files.
10491 # Tell ltmain to make .dll files, not .so files.
10493 # FIXME: Setting linknames here is a bad hack.
10494 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10495 # The linker will automatically build a .lib file if we build a DLL.
10496 old_archive_from_new_cmds
='true'
10497 # FIXME: Should let the user specify the lib program.
10498 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10499 enable_shared_with_static_runtimes
=yes
10504 darwin
* | rhapsody
*)
10507 archive_cmds_need_lc
=no
10509 hardcode_automatic
=yes
10510 hardcode_shlibpath_var
=unsupported
10511 if test "$lt_cv_ld_force_load" = "yes"; then
10512 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\"`'
10515 whole_archive_flag_spec
=''
10517 link_all_deplibs
=yes
10518 allow_undefined_flag
="$_lt_dar_allow_undefined"
10519 case $cc_basename in
10520 ifort
*) _lt_dar_can_shared
=yes ;;
10521 *) _lt_dar_can_shared
=$GCC ;;
10523 if test "$_lt_dar_can_shared" = "yes"; then
10524 output_verbose_link_cmd
=func_echo_all
10525 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10526 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10527 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}"
10528 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}"
10537 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10538 hardcode_libdir_flag_spec
='-L$libdir'
10539 hardcode_shlibpath_var
=no
10542 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10543 # support. Future versions do this automatically, but an explicit c++rt0.o
10544 # does not break anything, and helps significantly (at the cost of a little
10547 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10548 hardcode_libdir_flag_spec
='-R$libdir'
10549 hardcode_direct
=yes
10550 hardcode_shlibpath_var
=no
10553 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10555 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10556 hardcode_direct
=yes
10557 hardcode_minus_L
=yes
10558 hardcode_shlibpath_var
=no
10561 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10562 freebsd
* | dragonfly
*)
10563 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10564 hardcode_libdir_flag_spec
='-R$libdir'
10565 hardcode_direct
=yes
10566 hardcode_shlibpath_var
=no
10570 if test "$GCC" = yes; then
10571 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10573 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10575 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10576 hardcode_libdir_separator
=:
10577 hardcode_direct
=yes
10579 # hardcode_minus_L: Not really in the search PATH,
10580 # but as the default location of the library.
10581 hardcode_minus_L
=yes
10582 export_dynamic_flag_spec
='${wl}-E'
10586 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10587 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10589 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10591 if test "$with_gnu_ld" = no
; then
10592 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10593 hardcode_libdir_separator
=:
10594 hardcode_direct
=yes
10595 hardcode_direct_absolute
=yes
10596 export_dynamic_flag_spec
='${wl}-E'
10597 # hardcode_minus_L: Not really in the search PATH,
10598 # but as the default location of the library.
10599 hardcode_minus_L
=yes
10604 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10607 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10610 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10613 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10619 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10622 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10626 # Older versions of the 11.00 compiler do not understand -b yet
10627 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10629 $as_echo_n "checking if $CC understands -b... " >&6; }
10630 if ${lt_cv_prog_compiler__b+:} false
; then :
10631 $as_echo_n "(cached) " >&6
10633 lt_cv_prog_compiler__b
=no
10634 save_LDFLAGS
="$LDFLAGS"
10635 LDFLAGS
="$LDFLAGS -b"
10636 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10637 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10638 # The linker can only warn and ignore the option if not recognized
10639 # So say no if there are warnings
10640 if test -s conftest.err
; then
10641 # Append any errors to the config.log.
10642 cat conftest.err
1>&5
10643 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10644 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10645 if diff conftest.exp conftest.er2
>/dev
/null
; then
10646 lt_cv_prog_compiler__b
=yes
10649 lt_cv_prog_compiler__b
=yes
10653 LDFLAGS
="$save_LDFLAGS"
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10657 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10659 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10660 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10662 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10668 if test "$with_gnu_ld" = no
; then
10669 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10670 hardcode_libdir_separator
=:
10675 hardcode_shlibpath_var
=no
10678 hardcode_direct
=yes
10679 hardcode_direct_absolute
=yes
10680 export_dynamic_flag_spec
='${wl}-E'
10682 # hardcode_minus_L: Not really in the search PATH,
10683 # but as the default location of the library.
10684 hardcode_minus_L
=yes
10690 irix5
* | irix6
* | nonstopux
*)
10691 if test "$GCC" = yes; then
10692 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'
10693 # Try to use the -exported_symbol ld option, if it does not
10694 # work, assume that -exports_file does not work either and
10695 # implicitly export all symbols.
10696 # This should be the same for all languages, so no per-tag cache variable.
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10698 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10699 if ${lt_cv_irix_exported_symbol+:} false
; then :
10700 $as_echo_n "(cached) " >&6
10702 save_LDFLAGS
="$LDFLAGS"
10703 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10705 /* end confdefs.h. */
10706 int foo (void) { return 0; }
10708 if ac_fn_c_try_link
"$LINENO"; then :
10709 lt_cv_irix_exported_symbol
=yes
10711 lt_cv_irix_exported_symbol
=no
10713 rm -f core conftest.err conftest.
$ac_objext \
10714 conftest
$ac_exeext conftest.
$ac_ext
10715 LDFLAGS
="$save_LDFLAGS"
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10718 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10719 if test "$lt_cv_irix_exported_symbol" = yes; then
10720 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'
10723 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'
10724 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'
10726 archive_cmds_need_lc
='no'
10727 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10728 hardcode_libdir_separator
=:
10730 link_all_deplibs
=yes
10734 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10735 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10737 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10739 hardcode_libdir_flag_spec
='-R$libdir'
10740 hardcode_direct
=yes
10741 hardcode_shlibpath_var
=no
10745 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10746 hardcode_direct
=yes
10747 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10748 hardcode_libdir_separator
=:
10749 hardcode_shlibpath_var
=no
10756 if test -f /usr
/libexec
/ld.so
; then
10757 hardcode_direct
=yes
10758 hardcode_shlibpath_var
=no
10759 hardcode_direct_absolute
=yes
10760 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10761 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10762 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10763 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10764 export_dynamic_flag_spec
='${wl}-E'
10767 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10768 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10769 hardcode_libdir_flag_spec
='-R$libdir'
10772 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10773 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10783 hardcode_libdir_flag_spec
='-L$libdir'
10784 hardcode_minus_L
=yes
10785 allow_undefined_flag
=unsupported
10786 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10787 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10791 if test "$GCC" = yes; then
10792 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10793 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'
10795 allow_undefined_flag
=' -expect_unresolved \*'
10796 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'
10798 archive_cmds_need_lc
='no'
10799 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10800 hardcode_libdir_separator
=:
10803 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10804 if test "$GCC" = yes; then
10805 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10806 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'
10807 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10809 allow_undefined_flag
=' -expect_unresolved \*'
10810 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'
10811 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~
10812 $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'
10814 # Both c and cxx compiler support -rpath directly
10815 hardcode_libdir_flag_spec
='-rpath $libdir'
10817 archive_cmds_need_lc
='no'
10818 hardcode_libdir_separator
=:
10822 no_undefined_flag
=' -z defs'
10823 if test "$GCC" = yes; then
10825 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10826 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10827 $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'
10829 case `$CC -V 2>&1` in
10832 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10833 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10834 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10838 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10839 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10840 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10844 hardcode_libdir_flag_spec
='-R$libdir'
10845 hardcode_shlibpath_var
=no
10847 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10849 # The compiler driver will combine and reorder linker options,
10850 # but understands `-z linker_flag'. GCC discards it without `$wl',
10851 # but is careful enough not to reorder.
10852 # Supported since Solaris 2.6 (maybe 2.5.1?)
10853 if test "$GCC" = yes; then
10854 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10856 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10860 link_all_deplibs
=yes
10864 if test "x$host_vendor" = xsequent
; then
10865 # Use $CC to link under sequent, because it throws in some extra .o
10866 # files that make .init and .fini sections work.
10867 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10869 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10871 hardcode_libdir_flag_spec
='-L$libdir'
10872 hardcode_direct
=yes
10873 hardcode_minus_L
=yes
10874 hardcode_shlibpath_var
=no
10878 case $host_vendor in
10880 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10881 hardcode_direct
=yes # is this really true???
10884 ## LD is ld it makes a PLAMLIB
10885 ## CC just makes a GrossModule.
10886 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10887 reload_cmds
='$CC -r -o $output$reload_objs'
10891 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10892 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10895 runpath_var
='LD_RUN_PATH'
10896 hardcode_shlibpath_var
=no
10900 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10901 hardcode_shlibpath_var
=no
10902 export_dynamic_flag_spec
='-Bexport'
10906 if test -d /usr
/nec
; then
10907 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10908 hardcode_shlibpath_var
=no
10909 runpath_var
=LD_RUN_PATH
10910 hardcode_runpath_var
=yes
10915 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10916 no_undefined_flag
='${wl}-z,text'
10917 archive_cmds_need_lc
=no
10918 hardcode_shlibpath_var
=no
10919 runpath_var
='LD_RUN_PATH'
10921 if test "$GCC" = yes; then
10922 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10923 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10925 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10926 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10930 sysv5
* | sco3.2v5
* | sco5v6
*)
10931 # Note: We can NOT use -z defs as we might desire, because we do not
10932 # link with -lc, and that would cause any symbols used from libc to
10933 # always be unresolved, which means just about no library would
10934 # ever link correctly. If we're not using GNU ld we use -z text
10935 # though, which does catch some bad symbols but isn't as heavy-handed
10937 no_undefined_flag
='${wl}-z,text'
10938 allow_undefined_flag
='${wl}-z,nodefs'
10939 archive_cmds_need_lc
=no
10940 hardcode_shlibpath_var
=no
10941 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10942 hardcode_libdir_separator
=':'
10943 link_all_deplibs
=yes
10944 export_dynamic_flag_spec
='${wl}-Bexport'
10945 runpath_var
='LD_RUN_PATH'
10947 if test "$GCC" = yes; then
10948 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10949 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10951 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10952 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10957 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10958 hardcode_libdir_flag_spec
='-L$libdir'
10959 hardcode_shlibpath_var
=no
10967 if test x
$host_vendor = xsni
; then
10969 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10970 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10977 $as_echo "$ld_shlibs" >&6; }
10978 test "$ld_shlibs" = no
&& can_build_shared
=no
10980 with_gnu_ld
=$with_gnu_ld
10997 # Do we need to explicitly link libc?
10999 case "x$archive_cmds_need_lc" in
11001 # Assume -lc should be added
11002 archive_cmds_need_lc
=yes
11004 if test "$enable_shared" = yes && test "$GCC" = yes; then
11005 case $archive_cmds in
11007 # FIXME: we may have to deal with multi-command sequences.
11010 # Test whether the compiler implicitly links with -lc since on some
11011 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11012 # to ld, don't add -lc before -lgcc.
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11014 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11015 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11016 $as_echo_n "(cached) " >&6
11019 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11022 (eval $ac_compile) 2>&5
11024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11025 test $ac_status = 0; } 2>conftest.err
; then
11028 libobjs
=conftest.
$ac_objext
11030 wl
=$lt_prog_compiler_wl
11031 pic_flag
=$lt_prog_compiler_pic
11037 lt_save_allow_undefined_flag
=$allow_undefined_flag
11038 allow_undefined_flag
=
11039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11040 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11043 test $ac_status = 0; }
11045 lt_cv_archive_cmds_need_lc
=no
11047 lt_cv_archive_cmds_need_lc
=yes
11049 allow_undefined_flag
=$lt_save_allow_undefined_flag
11051 cat conftest.err
1>&5
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11057 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11058 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11217 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11219 if test "$GCC" = yes; then
11221 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11222 *) lt_awk_arg
="/^libraries:/" ;;
11225 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11226 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11228 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11229 case $lt_search_path_spec in
11231 # if the path contains ";" then we assume it to be the separator
11232 # otherwise default to the standard path separator (i.e. ":") - it is
11233 # assumed that no part of a normal pathname contains ";" but that should
11234 # okay in the real world where ";" in dirpaths is itself problematic.
11235 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11238 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11241 # Ok, now we have the path, separated by spaces, we can step through it
11242 # and add multilib dir if necessary.
11243 lt_tmp_lt_search_path_spec
=
11244 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11245 for lt_sys_path
in $lt_search_path_spec; do
11246 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11247 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11249 test -d "$lt_sys_path" && \
11250 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11253 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11254 BEGIN {RS=" "; FS="/|\n";} {
11257 for (lt_i = NF; lt_i > 0; lt_i--) {
11258 if ($lt_i != "" && $lt_i != ".") {
11259 if ($lt_i == "..") {
11262 if (lt_count == 0) {
11263 lt_foo="/" $lt_i lt_foo;
11270 if (lt_foo != "") { lt_freq[lt_foo]++; }
11271 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11273 # AWK program above erroneously prepends '/' to C:/dos/paths
11276 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11277 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11279 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11281 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11283 library_names_spec
=
11284 libname_spec
='lib$name'
11288 postuninstall_cmds
=
11292 shlibpath_overrides_runpath
=unknown
11294 dynamic_linker
="$host_os ld.so"
11295 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11296 need_lib_prefix
=unknown
11297 hardcode_into_libs
=no
11299 # when you set need_version to no, make sure it does not cause -set_version
11300 # flags to be left without arguments
11301 need_version
=unknown
11305 version_type
=linux
# correct to gnu/linux during the next big refactor
11306 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11307 shlibpath_var
=LIBPATH
11309 # AIX 3 has no versioning support, so we append a major version to the name.
11310 soname_spec
='${libname}${release}${shared_ext}$major'
11314 version_type
=linux
# correct to gnu/linux during the next big refactor
11317 hardcode_into_libs
=yes
11318 if test "$host_cpu" = ia64
; then
11319 # AIX 5 supports IA64
11320 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11321 shlibpath_var
=LD_LIBRARY_PATH
11323 # With GCC up to 2.95.x, collect2 would create an import file
11324 # for dependence libraries. The import file would start with
11325 # the line `#! .'. This would cause the generated library to
11326 # depend on `.', always an invalid library. This was fixed in
11327 # development snapshots of GCC prior to 3.0.
11329 aix4
| aix4.
[01] | aix4.
[01].
*)
11330 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11332 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11335 can_build_shared
=no
11339 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11340 # soname into executable. Probably we can add versioning support to
11341 # collect2, so additional links can be useful in future.
11342 if test "$aix_use_runtimelinking" = yes; then
11343 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11344 # instead of lib<name>.a to let people know that these are not
11345 # typical AIX shared libraries.
11346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11348 # We preserve .a as extension for shared libraries through AIX4.2
11349 # and later when we are not doing run time linking.
11350 library_names_spec
='${libname}${release}.a $libname.a'
11351 soname_spec
='${libname}${release}${shared_ext}$major'
11353 shlibpath_var
=LIBPATH
11360 # Since July 2007 AmigaOS4 officially supports .so libraries.
11361 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11365 library_names_spec
='$libname.ixlibrary $libname.a'
11366 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11367 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11373 library_names_spec
='${libname}${shared_ext}'
11374 dynamic_linker
="$host_os ld.so"
11375 shlibpath_var
=LIBRARY_PATH
11379 version_type
=linux
# correct to gnu/linux during the next big refactor
11381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11382 soname_spec
='${libname}${release}${shared_ext}$major'
11383 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11384 shlibpath_var
=LD_LIBRARY_PATH
11385 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11386 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11387 # the default ld.so.conf also contains /usr/contrib/lib and
11388 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11389 # libtool to hard-code these into programs
11392 cygwin
* | mingw
* | pw32
* | cegcc
*)
11393 version_type
=windows
11398 case $GCC,$cc_basename in
11401 library_names_spec
='$libname.dll.a'
11402 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11403 postinstall_cmds
='base_file=`basename \${file}`~
11404 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11405 dldir=$destdir/`dirname \$dlpath`~
11406 test -d \$dldir || mkdir -p \$dldir~
11407 $install_prog $dir/$dlname \$dldir/$dlname~
11408 chmod a+x \$dldir/$dlname~
11409 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11410 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11412 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11413 dlpath=$dir/\$dldll~
11415 shlibpath_overrides_runpath
=yes
11419 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11420 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11422 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11425 # MinGW DLLs use traditional 'lib' prefix
11426 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11429 # pw32 DLLs use 'pw' prefix rather than 'lib'
11430 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11433 dynamic_linker
='Win32 ld.exe'
11438 libname_spec
='$name'
11439 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11440 library_names_spec
='${libname}.dll.lib'
11444 sys_lib_search_path_spec
=
11447 for lt_path
in $LIB
11450 # Let DOS variable expansion print the short 8.3 style file name.
11451 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11452 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11455 # Convert to MSYS style.
11456 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11459 # Convert to unix form, then to dos form, then back to unix form
11460 # but this time dos style (no spaces!) so that the unix form looks
11461 # like /cygdrive/c/PROGRA~1:/cygdr...
11462 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11463 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11464 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11467 sys_lib_search_path_spec
="$LIB"
11468 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11469 # It is most probably a Windows format PATH.
11470 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11472 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11474 # FIXME: find the short name or the path components, as spaces are
11475 # common. (e.g. "Program Files" -> "PROGRA~1")
11479 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11480 postinstall_cmds
='base_file=`basename \${file}`~
11481 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11482 dldir=$destdir/`dirname \$dlpath`~
11483 test -d \$dldir || mkdir -p \$dldir~
11484 $install_prog $dir/$dlname \$dldir/$dlname'
11485 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11486 dlpath=$dir/\$dldll~
11488 shlibpath_overrides_runpath
=yes
11489 dynamic_linker
='Win32 link.exe'
11493 # Assume MSVC wrapper
11494 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11495 dynamic_linker
='Win32 ld.exe'
11498 # FIXME: first we should search . and the directory the executable is in
11502 darwin
* | rhapsody
*)
11503 dynamic_linker
="$host_os dyld"
11504 version_type
=darwin
11507 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11508 soname_spec
='${libname}${release}${major}$shared_ext'
11509 shlibpath_overrides_runpath
=yes
11510 shlibpath_var
=DYLD_LIBRARY_PATH
11511 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11513 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11514 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11518 version_type
=linux
# correct to gnu/linux during the next big refactor
11521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11522 soname_spec
='${libname}${release}${shared_ext}$major'
11523 shlibpath_var
=LD_LIBRARY_PATH
11526 freebsd
* | dragonfly
*)
11527 # DragonFly does not have aout. When/if they implement a new
11528 # versioning mechanism, adjust this.
11529 if test -x /usr
/bin
/objformat
; then
11530 objformat
=`/usr/bin/objformat`
11533 freebsd
[23].
*) objformat
=aout
;;
11534 *) objformat
=elf
;;
11537 version_type
=freebsd
-$objformat
11538 case $version_type in
11540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11545 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11549 shlibpath_var
=LD_LIBRARY_PATH
11552 shlibpath_overrides_runpath
=yes
11554 freebsd3.
[01]* | freebsdelf3.
[01]*)
11555 shlibpath_overrides_runpath
=yes
11556 hardcode_into_libs
=yes
11558 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11559 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11560 shlibpath_overrides_runpath
=no
11561 hardcode_into_libs
=yes
11563 *) # from 4.6 on, and DragonFly
11564 shlibpath_overrides_runpath
=yes
11565 hardcode_into_libs
=yes
11571 version_type
=linux
# correct to gnu/linux during the next big refactor
11574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11575 soname_spec
='${libname}${release}${shared_ext}$major'
11576 shlibpath_var
=LD_LIBRARY_PATH
11577 shlibpath_overrides_runpath
=no
11578 hardcode_into_libs
=yes
11582 version_type
=linux
# correct to gnu/linux during the next big refactor
11585 dynamic_linker
="$host_os runtime_loader"
11586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11587 soname_spec
='${libname}${release}${shared_ext}$major'
11588 shlibpath_var
=LIBRARY_PATH
11589 shlibpath_overrides_runpath
=yes
11590 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11591 hardcode_into_libs
=yes
11594 hpux9
* | hpux10
* | hpux11
*)
11595 # Give a soname corresponding to the major version so that dld.sl refuses to
11596 # link against other versions.
11603 hardcode_into_libs
=yes
11604 dynamic_linker
="$host_os dld.so"
11605 shlibpath_var
=LD_LIBRARY_PATH
11606 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11608 soname_spec
='${libname}${release}${shared_ext}$major'
11609 if test "X$HPUX_IA64_MODE" = X32
; then
11610 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11612 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11614 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11618 hardcode_into_libs
=yes
11619 dynamic_linker
="$host_os dld.sl"
11620 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11621 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11623 soname_spec
='${libname}${release}${shared_ext}$major'
11624 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11625 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11629 dynamic_linker
="$host_os dld.sl"
11630 shlibpath_var
=SHLIB_PATH
11631 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11633 soname_spec
='${libname}${release}${shared_ext}$major'
11636 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11637 postinstall_cmds
='chmod 555 $lib'
11638 # or fails outright, so override atomically:
11639 install_override_mode
=555
11643 version_type
=linux
# correct to gnu/linux during the next big refactor
11646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11647 soname_spec
='${libname}${release}${shared_ext}$major'
11648 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11649 shlibpath_var
=LD_LIBRARY_PATH
11650 shlibpath_overrides_runpath
=no
11651 hardcode_into_libs
=yes
11654 irix5
* | irix6
* | nonstopux
*)
11656 nonstopux
*) version_type
=nonstopux
;;
11658 if test "$lt_cv_prog_gnu_ld" = yes; then
11659 version_type
=linux
# correct to gnu/linux during the next big refactor
11666 soname_spec
='${libname}${release}${shared_ext}$major'
11667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11669 irix5
* | nonstopux
*)
11670 libsuff
= shlibsuff
=
11673 case $LD in # libtool.m4 will add one of these switches to LD
11674 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11675 libsuff
= shlibsuff
= libmagic
=32-bit;;
11676 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11677 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11678 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11679 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11680 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11684 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11685 shlibpath_overrides_runpath
=no
11686 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11687 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11688 hardcode_into_libs
=yes
11691 # No shared lib support for Linux oldld, aout, or coff.
11692 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11696 # This must be glibc/ELF.
11697 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11698 version_type
=linux
# correct to gnu/linux during the next big refactor
11701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11702 soname_spec
='${libname}${release}${shared_ext}$major'
11703 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11704 shlibpath_var
=LD_LIBRARY_PATH
11705 shlibpath_overrides_runpath
=no
11707 # Some binutils ld are patched to set DT_RUNPATH
11708 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11709 $as_echo_n "(cached) " >&6
11711 lt_cv_shlibpath_overrides_runpath
=no
11712 save_LDFLAGS
=$LDFLAGS
11713 save_libdir
=$libdir
11714 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11715 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11727 if ac_fn_c_try_link
"$LINENO"; then :
11728 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11729 lt_cv_shlibpath_overrides_runpath
=yes
11732 rm -f core conftest.err conftest.
$ac_objext \
11733 conftest
$ac_exeext conftest.
$ac_ext
11734 LDFLAGS
=$save_LDFLAGS
11735 libdir
=$save_libdir
11739 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11741 # This implies no fast_install, which is unacceptable.
11742 # Some rework will be needed to allow for fast_install
11743 # before this can be enabled.
11744 hardcode_into_libs
=yes
11746 # Append ld.so.conf contents to the search path
11747 if test -f /etc
/ld.so.conf
; then
11748 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' ' '`
11749 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11752 # We used to test for /lib/ld.so.1 and disable shared libraries on
11753 # powerpc, because MkLinux only supported shared libraries with the
11754 # GNU dynamic linker. Since this was broken with cross compilers,
11755 # most powerpc-linux boxes support dynamic linking these days and
11756 # people can always --disable-shared, the test was removed, and we
11757 # assume the GNU/Linux dynamic linker is in use.
11758 dynamic_linker
='GNU/Linux ld.so'
11765 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11767 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11768 dynamic_linker
='NetBSD (a.out) ld.so'
11770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11771 soname_spec
='${libname}${release}${shared_ext}$major'
11772 dynamic_linker
='NetBSD ld.elf_so'
11774 shlibpath_var
=LD_LIBRARY_PATH
11775 shlibpath_overrides_runpath
=yes
11776 hardcode_into_libs
=yes
11780 version_type
=linux
# correct to gnu/linux during the next big refactor
11781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11782 shlibpath_var
=LD_LIBRARY_PATH
11783 shlibpath_overrides_runpath
=yes
11790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11791 soname_spec
='${libname}${release}${shared_ext}$major'
11792 shlibpath_var
=LD_LIBRARY_PATH
11793 shlibpath_overrides_runpath
=no
11794 hardcode_into_libs
=yes
11795 dynamic_linker
='ldqnx.so'
11800 sys_lib_dlsearch_path_spec
="/usr/lib"
11802 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11804 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11805 *) need_version
=no
;;
11807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11808 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11809 shlibpath_var
=LD_LIBRARY_PATH
11810 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11812 openbsd2.
[89] | openbsd2.
[89].
*)
11813 shlibpath_overrides_runpath
=no
11816 shlibpath_overrides_runpath
=yes
11820 shlibpath_overrides_runpath
=yes
11825 libname_spec
='$name'
11828 library_names_spec
='$libname${shared_ext} $libname.a'
11829 dynamic_linker
='OS/2 ld.exe'
11830 shlibpath_var
=LIBPATH
11833 osf3
* | osf4
* | osf5
*)
11837 soname_spec
='${libname}${release}${shared_ext}$major'
11838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11839 shlibpath_var
=LD_LIBRARY_PATH
11840 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11841 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11849 version_type
=linux
# correct to gnu/linux during the next big refactor
11852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11853 soname_spec
='${libname}${release}${shared_ext}$major'
11854 shlibpath_var
=LD_LIBRARY_PATH
11855 shlibpath_overrides_runpath
=yes
11856 hardcode_into_libs
=yes
11857 # ldd complains unless libraries are executable
11858 postinstall_cmds
='chmod +x $lib'
11863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11864 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11865 shlibpath_var
=LD_LIBRARY_PATH
11866 shlibpath_overrides_runpath
=yes
11867 if test "$with_gnu_ld" = yes; then
11874 version_type
=linux
# correct to gnu/linux during the next big refactor
11875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11876 soname_spec
='${libname}${release}${shared_ext}$major'
11877 shlibpath_var
=LD_LIBRARY_PATH
11878 case $host_vendor in
11880 shlibpath_overrides_runpath
=no
11882 runpath_var
=LD_RUN_PATH
11890 shlibpath_overrides_runpath
=no
11891 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11897 if test -d /usr
/nec
;then
11898 version_type
=linux
# correct to gnu/linux during the next big refactor
11899 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11900 soname_spec
='$libname${shared_ext}.$major'
11901 shlibpath_var
=LD_LIBRARY_PATH
11905 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11906 version_type
=freebsd
-elf
11909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11910 soname_spec
='${libname}${release}${shared_ext}$major'
11911 shlibpath_var
=LD_LIBRARY_PATH
11912 shlibpath_overrides_runpath
=yes
11913 hardcode_into_libs
=yes
11914 if test "$with_gnu_ld" = yes; then
11915 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11917 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11920 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11924 sys_lib_dlsearch_path_spec
='/usr/lib'
11928 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11929 version_type
=linux
# correct to gnu/linux during the next big refactor
11932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11933 shlibpath_var
=LD_LIBRARY_PATH
11934 shlibpath_overrides_runpath
=no
11935 hardcode_into_libs
=yes
11939 version_type
=linux
# correct to gnu/linux during the next big refactor
11940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11941 soname_spec
='${libname}${release}${shared_ext}$major'
11942 shlibpath_var
=LD_LIBRARY_PATH
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11950 $as_echo "$dynamic_linker" >&6; }
11951 test "$dynamic_linker" = no
&& can_build_shared
=no
11953 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11954 if test "$GCC" = yes; then
11955 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11958 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11959 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11961 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11962 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12057 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12059 if test -n "$hardcode_libdir_flag_spec" ||
12060 test -n "$runpath_var" ||
12061 test "X$hardcode_automatic" = "Xyes" ; then
12063 # We can hardcode non-existent directories.
12064 if test "$hardcode_direct" != no
&&
12065 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12066 # have to relink, otherwise we might link with an installed library
12067 # when we should be linking with a yet-to-be-installed one
12068 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12069 test "$hardcode_minus_L" != no
; then
12070 # Linking always hardcodes the temporary library directory.
12071 hardcode_action
=relink
12073 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12074 hardcode_action
=immediate
12077 # We cannot hardcode anything, or else we can only hardcode existing
12079 hardcode_action
=unsupported
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12082 $as_echo "$hardcode_action" >&6; }
12084 if test "$hardcode_action" = relink
||
12085 test "$inherit_rpath" = yes; then
12086 # Fast installation is not supported
12087 enable_fast_install
=no
12088 elif test "$shlibpath_overrides_runpath" = yes ||
12089 test "$enable_shared" = no
; then
12090 # Fast installation is not necessary
12091 enable_fast_install
=needless
12099 if test "x$enable_dlopen" != xyes
; then
12100 enable_dlopen
=unknown
12101 enable_dlopen_self
=unknown
12102 enable_dlopen_self_static
=unknown
12109 lt_cv_dlopen
="load_add_on"
12111 lt_cv_dlopen_self
=yes
12114 mingw
* | pw32
* | cegcc
*)
12115 lt_cv_dlopen
="LoadLibrary"
12120 lt_cv_dlopen
="dlopen"
12125 # if libdl is installed we need to link against it
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12127 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12128 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12129 $as_echo_n "(cached) " >&6
12131 ac_check_lib_save_LIBS
=$LIBS
12133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12151 if ac_fn_c_try_link
"$LINENO"; then :
12152 ac_cv_lib_dl_dlopen
=yes
12154 ac_cv_lib_dl_dlopen
=no
12156 rm -f core conftest.err conftest.
$ac_objext \
12157 conftest
$ac_exeext conftest.
$ac_ext
12158 LIBS
=$ac_check_lib_save_LIBS
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12161 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12162 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12163 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12166 lt_cv_dlopen
="dyld"
12168 lt_cv_dlopen_self
=yes
12175 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12176 if test "x$ac_cv_func_shl_load" = xyes
; then :
12177 lt_cv_dlopen
="shl_load"
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12180 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12181 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12182 $as_echo_n "(cached) " >&6
12184 ac_check_lib_save_LIBS
=$LIBS
12186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12199 return shl_load ();
12204 if ac_fn_c_try_link
"$LINENO"; then :
12205 ac_cv_lib_dld_shl_load
=yes
12207 ac_cv_lib_dld_shl_load
=no
12209 rm -f core conftest.err conftest.
$ac_objext \
12210 conftest
$ac_exeext conftest.
$ac_ext
12211 LIBS
=$ac_check_lib_save_LIBS
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12214 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12215 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12216 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12218 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12219 if test "x$ac_cv_func_dlopen" = xyes
; then :
12220 lt_cv_dlopen
="dlopen"
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12223 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12224 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12225 $as_echo_n "(cached) " >&6
12227 ac_check_lib_save_LIBS
=$LIBS
12229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12230 /* end confdefs.h. */
12232 /* Override any GCC internal prototype to avoid an error.
12233 Use char because int might match the return type of a GCC
12234 builtin and then its argument prototype would still apply. */
12247 if ac_fn_c_try_link
"$LINENO"; then :
12248 ac_cv_lib_dl_dlopen
=yes
12250 ac_cv_lib_dl_dlopen
=no
12252 rm -f core conftest.err conftest.
$ac_objext \
12253 conftest
$ac_exeext conftest.
$ac_ext
12254 LIBS
=$ac_check_lib_save_LIBS
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12257 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12258 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12259 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12262 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12263 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12264 $as_echo_n "(cached) " >&6
12266 ac_check_lib_save_LIBS
=$LIBS
12267 LIBS
="-lsvld $LIBS"
12268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12286 if ac_fn_c_try_link
"$LINENO"; then :
12287 ac_cv_lib_svld_dlopen
=yes
12289 ac_cv_lib_svld_dlopen
=no
12291 rm -f core conftest.err conftest.
$ac_objext \
12292 conftest
$ac_exeext conftest.
$ac_ext
12293 LIBS
=$ac_check_lib_save_LIBS
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12296 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12297 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12298 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12301 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12302 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12303 $as_echo_n "(cached) " >&6
12305 ac_check_lib_save_LIBS
=$LIBS
12307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12308 /* end confdefs.h. */
12310 /* Override any GCC internal prototype to avoid an error.
12311 Use char because int might match the return type of a GCC
12312 builtin and then its argument prototype would still apply. */
12320 return dld_link ();
12325 if ac_fn_c_try_link
"$LINENO"; then :
12326 ac_cv_lib_dld_dld_link
=yes
12328 ac_cv_lib_dld_dld_link
=no
12330 rm -f core conftest.err conftest.
$ac_objext \
12331 conftest
$ac_exeext conftest.
$ac_ext
12332 LIBS
=$ac_check_lib_save_LIBS
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12335 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12336 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12337 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12358 if test "x$lt_cv_dlopen" != xno
; then
12364 case $lt_cv_dlopen in
12366 save_CPPFLAGS
="$CPPFLAGS"
12367 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12369 save_LDFLAGS
="$LDFLAGS"
12370 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12373 LIBS
="$lt_cv_dlopen_libs $LIBS"
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12376 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12377 if ${lt_cv_dlopen_self+:} false
; then :
12378 $as_echo_n "(cached) " >&6
12380 if test "$cross_compiling" = yes; then :
12381 lt_cv_dlopen_self
=cross
12383 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12384 lt_status
=$lt_dlunknown
12385 cat > conftest.
$ac_ext <<_LT_EOF
12386 #line $LINENO "configure"
12387 #include "confdefs.h"
12396 # define LT_DLGLOBAL RTLD_GLOBAL
12399 # define LT_DLGLOBAL DL_GLOBAL
12401 # define LT_DLGLOBAL 0
12405 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12406 find out it does not work in some platform. */
12407 #ifndef LT_DLLAZY_OR_NOW
12409 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12412 # define LT_DLLAZY_OR_NOW DL_LAZY
12415 # define LT_DLLAZY_OR_NOW RTLD_NOW
12418 # define LT_DLLAZY_OR_NOW DL_NOW
12420 # define LT_DLLAZY_OR_NOW 0
12427 /* When -fvisbility=hidden is used, assume the code has been annotated
12428 correspondingly for the symbols needed. */
12429 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12430 int fnord () __attribute__((visibility("default")));
12433 int fnord () { return 42; }
12436 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12437 int status = $lt_dlunknown;
12441 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12444 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12445 else puts (dlerror ());
12447 /* dlclose (self); */
12455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12456 (eval $ac_link) 2>&5
12458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12459 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12460 (.
/conftest
; exit; ) >&5 2>/dev
/null
12462 case x
$lt_status in
12463 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12464 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12465 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12468 # compilation failed
12469 lt_cv_dlopen_self
=no
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12477 $as_echo "$lt_cv_dlopen_self" >&6; }
12479 if test "x$lt_cv_dlopen_self" = xyes
; then
12480 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12482 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12483 if ${lt_cv_dlopen_self_static+:} false
; then :
12484 $as_echo_n "(cached) " >&6
12486 if test "$cross_compiling" = yes; then :
12487 lt_cv_dlopen_self_static
=cross
12489 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12490 lt_status
=$lt_dlunknown
12491 cat > conftest.
$ac_ext <<_LT_EOF
12492 #line $LINENO "configure"
12493 #include "confdefs.h"
12502 # define LT_DLGLOBAL RTLD_GLOBAL
12505 # define LT_DLGLOBAL DL_GLOBAL
12507 # define LT_DLGLOBAL 0
12511 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12512 find out it does not work in some platform. */
12513 #ifndef LT_DLLAZY_OR_NOW
12515 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12518 # define LT_DLLAZY_OR_NOW DL_LAZY
12521 # define LT_DLLAZY_OR_NOW RTLD_NOW
12524 # define LT_DLLAZY_OR_NOW DL_NOW
12526 # define LT_DLLAZY_OR_NOW 0
12533 /* When -fvisbility=hidden is used, assume the code has been annotated
12534 correspondingly for the symbols needed. */
12535 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12536 int fnord () __attribute__((visibility("default")));
12539 int fnord () { return 42; }
12542 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12543 int status = $lt_dlunknown;
12547 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12550 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12551 else puts (dlerror ());
12553 /* dlclose (self); */
12561 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12562 (eval $ac_link) 2>&5
12564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12565 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12566 (.
/conftest
; exit; ) >&5 2>/dev
/null
12568 case x
$lt_status in
12569 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12570 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12571 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12574 # compilation failed
12575 lt_cv_dlopen_self_static
=no
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12583 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12586 CPPFLAGS
="$save_CPPFLAGS"
12587 LDFLAGS
="$save_LDFLAGS"
12592 case $lt_cv_dlopen_self in
12593 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12594 *) enable_dlopen_self
=unknown
;;
12597 case $lt_cv_dlopen_self_static in
12598 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12599 *) enable_dlopen_self_static
=unknown
;;
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12622 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12623 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12624 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12625 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12627 $as_echo "yes" >&6; }
12629 # FIXME - insert some real tests, host_os isn't really good enough
12632 if test -n "$STRIP" ; then
12633 striplib
="$STRIP -x"
12634 old_striplib
="$STRIP -S"
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12636 $as_echo "yes" >&6; }
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12639 $as_echo "no" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12644 $as_echo "no" >&6; }
12660 # Report which library types will actually be built
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12662 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12664 $as_echo "$can_build_shared" >&6; }
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12667 $as_echo_n "checking whether to build shared libraries... " >&6; }
12668 test "$can_build_shared" = "no" && enable_shared
=no
12670 # On AIX, shared libraries and static libraries use the same namespace, and
12671 # are all built from PIC.
12674 test "$enable_shared" = yes && enable_static
=no
12675 if test -n "$RANLIB"; then
12676 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12677 postinstall_cmds
='$RANLIB $lib'
12682 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12683 test "$enable_shared" = yes && enable_static
=no
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12688 $as_echo "$enable_shared" >&6; }
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12691 $as_echo_n "checking whether to build static libraries... " >&6; }
12692 # Make sure either enable_shared or enable_static is yes.
12693 test "$enable_shared" = yes || enable_static
=yes
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12695 $as_echo "$enable_static" >&6; }
12702 ac_cpp
='$CPP $CPPFLAGS'
12703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12709 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12710 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12711 (test "X$CXX" != "Xg++"))) ; then
12713 ac_cpp
='$CXXCPP $CPPFLAGS'
12714 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12715 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12716 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12718 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12719 if test -z "$CXXCPP"; then
12720 if ${ac_cv_prog_CXXCPP+:} false
; then :
12721 $as_echo_n "(cached) " >&6
12723 # Double quotes because CXXCPP needs to be expanded
12724 for CXXCPP
in "$CXX -E" "/lib/cpp"
12726 ac_preproc_ok
=false
12727 for ac_cxx_preproc_warn_flag
in '' yes
12729 # Use a header file that comes with gcc, so configuring glibc
12730 # with a fresh cross-compiler works.
12731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12732 # <limits.h> exists even on freestanding compilers.
12733 # On the NeXT, cc -E runs the code through the compiler's parser,
12734 # not just through cpp. "Syntax error" is here to catch this case.
12735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12738 # include <limits.h>
12740 # include <assert.h>
12744 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12747 # Broken: fails on valid input.
12750 rm -f conftest.err conftest.i conftest.
$ac_ext
12752 # OK, works on sane cases. Now check whether nonexistent headers
12753 # can be detected and how.
12754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12756 #include <ac_nonexistent.h>
12758 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12759 # Broken: success on invalid input.
12762 # Passes both tests.
12766 rm -f conftest.err conftest.i conftest.
$ac_ext
12769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12770 rm -f conftest.i conftest.err conftest.
$ac_ext
12771 if $ac_preproc_ok; then :
12776 ac_cv_prog_CXXCPP
=$CXXCPP
12779 CXXCPP
=$ac_cv_prog_CXXCPP
12781 ac_cv_prog_CXXCPP
=$CXXCPP
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12784 $as_echo "$CXXCPP" >&6; }
12785 ac_preproc_ok
=false
12786 for ac_cxx_preproc_warn_flag
in '' yes
12788 # Use a header file that comes with gcc, so configuring glibc
12789 # with a fresh cross-compiler works.
12790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12791 # <limits.h> exists even on freestanding compilers.
12792 # On the NeXT, cc -E runs the code through the compiler's parser,
12793 # not just through cpp. "Syntax error" is here to catch this case.
12794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 # include <limits.h>
12799 # include <assert.h>
12803 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12806 # Broken: fails on valid input.
12809 rm -f conftest.err conftest.i conftest.
$ac_ext
12811 # OK, works on sane cases. Now check whether nonexistent headers
12812 # can be detected and how.
12813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12815 #include <ac_nonexistent.h>
12817 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12818 # Broken: success on invalid input.
12821 # Passes both tests.
12825 rm -f conftest.err conftest.i conftest.
$ac_ext
12828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12829 rm -f conftest.i conftest.err conftest.
$ac_ext
12830 if $ac_preproc_ok; then :
12833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12835 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12836 See \`config.log' for more details" "$LINENO" 5; }
12840 ac_cpp
='$CPP $CPPFLAGS'
12841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12846 _lt_caught_CXX_error
=yes
12850 ac_cpp
='$CXXCPP $CPPFLAGS'
12851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12855 archive_cmds_need_lc_CXX
=no
12856 allow_undefined_flag_CXX
=
12857 always_export_symbols_CXX
=no
12858 archive_expsym_cmds_CXX
=
12859 compiler_needs_object_CXX
=no
12860 export_dynamic_flag_spec_CXX
=
12861 hardcode_direct_CXX
=no
12862 hardcode_direct_absolute_CXX
=no
12863 hardcode_libdir_flag_spec_CXX
=
12864 hardcode_libdir_separator_CXX
=
12865 hardcode_minus_L_CXX
=no
12866 hardcode_shlibpath_var_CXX
=unsupported
12867 hardcode_automatic_CXX
=no
12868 inherit_rpath_CXX
=no
12870 module_expsym_cmds_CXX
=
12871 link_all_deplibs_CXX
=unknown
12872 old_archive_cmds_CXX
=$old_archive_cmds
12873 reload_flag_CXX
=$reload_flag
12874 reload_cmds_CXX
=$reload_cmds
12875 no_undefined_flag_CXX
=
12876 whole_archive_flag_spec_CXX
=
12877 enable_shared_with_static_runtimes_CXX
=no
12879 # Source file extension for C++ test sources.
12882 # Object file extension for compiled C++ test sources.
12886 # No sense in running all these tests if we already determined that
12887 # the CXX compiler isn't working. Some variables (like enable_shared)
12888 # are currently assumed to apply to all compilers on this platform,
12889 # and will be corrupted by setting them based on a non-working compiler.
12890 if test "$_lt_caught_CXX_error" != yes; then
12891 # Code to be used in simple compile tests
12892 lt_simple_compile_test_code
="int some_variable = 0;"
12894 # Code to be used in simple link tests
12895 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12897 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12904 # If no C compiler was specified, use CC.
12907 # If no C compiler flags were specified, use CFLAGS.
12908 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12910 # Allow CC to be a program name with arguments.
12914 # save warnings/boilerplate of simple test code
12915 ac_outfile
=conftest.
$ac_objext
12916 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12917 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12918 _lt_compiler_boilerplate
=`cat conftest.err`
12921 ac_outfile
=conftest.
$ac_objext
12922 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12923 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12924 _lt_linker_boilerplate
=`cat conftest.err`
12928 # Allow CC to be a program name with arguments.
12930 lt_save_CFLAGS
=$CFLAGS
12934 lt_save_with_gnu_ld
=$with_gnu_ld
12935 lt_save_path_LD
=$lt_cv_path_LD
12936 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12937 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12939 $as_unset lt_cv_prog_gnu_ld
12941 if test -n "${lt_cv_path_LDCXX+set}"; then
12942 lt_cv_path_LD
=$lt_cv_path_LDCXX
12944 $as_unset lt_cv_path_LD
12946 test -z "${LDCXX+set}" || LD
=$LDCXX
12951 for cc_temp
in $compiler""; do
12953 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12954 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12959 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12962 if test -n "$compiler"; then
12963 # We don't want -fno-exception when compiling C++ code, so set the
12964 # no_builtin_flag separately
12965 if test "$GXX" = yes; then
12966 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12968 lt_prog_compiler_no_builtin_flag_CXX
=
12971 if test "$GXX" = yes; then
12972 # Set up default GNU C++ configuration
12976 # Check whether --with-gnu-ld was given.
12977 if test "${with_gnu_ld+set}" = set; then :
12978 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12984 if test "$GCC" = yes; then
12985 # Check if gcc -print-prog-name=ld gives a path.
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12987 $as_echo_n "checking for ld used by $CC... " >&6; }
12990 # gcc leaves a trailing carriage return which upsets mingw
12991 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12993 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12996 # Accept absolute paths.
12998 re_direlt
='/[^/][^/]*/\.\./'
12999 # Canonicalize the pathname of ld
13000 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13001 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13002 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13004 test -z "$LD" && LD
="$ac_prog"
13007 # If it fails, then pretend we aren't using GCC.
13011 # If it is relative, then search for the first ld in PATH.
13012 with_gnu_ld
=unknown
13015 elif test "$with_gnu_ld" = yes; then
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13017 $as_echo_n "checking for GNU ld... " >&6; }
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13020 $as_echo_n "checking for non-GNU ld... " >&6; }
13022 if ${lt_cv_path_LD+:} false
; then :
13023 $as_echo_n "(cached) " >&6
13025 if test -z "$LD"; then
13026 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13027 for ac_dir
in $PATH; do
13029 test -z "$ac_dir" && ac_dir
=.
13030 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13031 lt_cv_path_LD
="$ac_dir/$ac_prog"
13032 # Check to see if the program is GNU ld. I'd rather use --version,
13033 # but apparently some variants of GNU ld only accept -v.
13034 # Break only if it was the GNU/non-GNU ld that we prefer.
13035 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13036 *GNU
* | *'with BFD'*)
13037 test "$with_gnu_ld" != no
&& break
13040 test "$with_gnu_ld" != yes && break
13047 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13051 LD
="$lt_cv_path_LD"
13052 if test -n "$LD"; then
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13054 $as_echo "$LD" >&6; }
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13057 $as_echo "no" >&6; }
13059 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13061 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13062 if ${lt_cv_prog_gnu_ld+:} false
; then :
13063 $as_echo_n "(cached) " >&6
13065 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13066 case `$LD -v 2>&1 </dev/null` in
13067 *GNU
* | *'with BFD'*)
13068 lt_cv_prog_gnu_ld
=yes
13071 lt_cv_prog_gnu_ld
=no
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13076 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13077 with_gnu_ld
=$lt_cv_prog_gnu_ld
13085 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13086 # archiving commands below assume that GNU ld is being used.
13087 if test "$with_gnu_ld" = yes; then
13088 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13089 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'
13091 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13092 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13094 # If archive_cmds runs LD, not CC, wlarc should be empty
13095 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13096 # investigate it a little bit more. (MM)
13099 # ancient GNU ld didn't support --whole-archive et. al.
13100 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13101 $GREP 'no-whole-archive' > /dev
/null
; then
13102 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13104 whole_archive_flag_spec_CXX
=
13110 # A generic and very simple default shared library creation
13111 # command for GNU C++ for the case where it uses the native
13112 # linker, instead of GNU ld. If possible, this setting should
13113 # overridden to take advantage of the native linker features on
13114 # the platform it is being used on.
13115 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13118 # Commands to make compiler produce verbose output that lists
13119 # what "hidden" libraries, object files and flags are used when
13120 # linking a shared library.
13121 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13129 # PORTME: fill in a description of your system's C++ link characteristics
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13131 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13135 # FIXME: insert proper C++ library support
13139 if test "$host_cpu" = ia64
; then
13140 # On IA64, the linker does run time linking by default, so we don't
13141 # have to do anything special.
13142 aix_use_runtimelinking
=no
13143 exp_sym_flag
='-Bexport'
13146 aix_use_runtimelinking
=no
13148 # Test if we are trying to use run time linking or normal
13149 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13150 # need to do runtime linking.
13151 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13152 for ld_flag
in $LDFLAGS; do
13155 aix_use_runtimelinking
=yes
13163 exp_sym_flag
='-bexport'
13164 no_entry_flag
='-bnoentry'
13167 # When large executables or shared objects are built, AIX ld can
13168 # have problems creating the table of contents. If linking a library
13169 # or program results in "error TOC overflow" add -mminimal-toc to
13170 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13171 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13173 archive_cmds_CXX
=''
13174 hardcode_direct_CXX
=yes
13175 hardcode_direct_absolute_CXX
=yes
13176 hardcode_libdir_separator_CXX
=':'
13177 link_all_deplibs_CXX
=yes
13178 file_list_spec_CXX
='${wl}-f,'
13180 if test "$GXX" = yes; then
13181 case $host_os in aix4.
[012]|aix4.
[012].
*)
13182 # We only want to do this on AIX 4.2 and lower, the check
13183 # below for broken collect2 doesn't work under 4.3+
13184 collect2name
=`${CC} -print-prog-name=collect2`
13185 if test -f "$collect2name" &&
13186 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13188 # We have reworked collect2
13191 # We have old collect2
13192 hardcode_direct_CXX
=unsupported
13193 # It fails to find uninstalled libraries when the uninstalled
13194 # path is not listed in the libpath. Setting hardcode_minus_L
13195 # to unsupported forces relinking
13196 hardcode_minus_L_CXX
=yes
13197 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13198 hardcode_libdir_separator_CXX
=
13201 shared_flag
='-shared'
13202 if test "$aix_use_runtimelinking" = yes; then
13203 shared_flag
="$shared_flag "'${wl}-G'
13207 if test "$host_cpu" = ia64
; then
13208 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13209 # chokes on -Wl,-G. The following line is correct:
13212 if test "$aix_use_runtimelinking" = yes; then
13213 shared_flag
='${wl}-G'
13215 shared_flag
='${wl}-bM:SRE'
13220 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13221 # It seems that -bexpall does not export symbols beginning with
13222 # underscore (_), so it is better to generate a list of symbols to
13224 always_export_symbols_CXX
=yes
13225 if test "$aix_use_runtimelinking" = yes; then
13226 # Warning - without using the other runtime loading flags (-brtl),
13227 # -berok will link without error, but may produce a broken library.
13228 allow_undefined_flag_CXX
='-berok'
13229 # Determine the default libpath from the value encoded in an empty
13231 if test "${lt_cv_aix_libpath+set}" = set; then
13232 aix_libpath
=$lt_cv_aix_libpath
13234 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13235 $as_echo_n "(cached) " >&6
13237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13238 /* end confdefs.h. */
13248 if ac_fn_cxx_try_link
"$LINENO"; then :
13250 lt_aix_libpath_sed
='
13251 /Import File Strings/,/^$/ {
13253 s/^0 *\([^ ]*\) *$/\1/
13257 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13258 # Check for a 64-bit object if we didn't find anything.
13259 if test -z "$lt_cv_aix_libpath__CXX"; then
13260 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13263 rm -f core conftest.err conftest.
$ac_objext \
13264 conftest
$ac_exeext conftest.
$ac_ext
13265 if test -z "$lt_cv_aix_libpath__CXX"; then
13266 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13271 aix_libpath
=$lt_cv_aix_libpath__CXX
13274 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13276 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13278 if test "$host_cpu" = ia64
; then
13279 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13280 allow_undefined_flag_CXX
="-z nodefs"
13281 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"
13283 # Determine the default libpath from the value encoded in an
13284 # empty executable.
13285 if test "${lt_cv_aix_libpath+set}" = set; then
13286 aix_libpath
=$lt_cv_aix_libpath
13288 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13289 $as_echo_n "(cached) " >&6
13291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13292 /* end confdefs.h. */
13302 if ac_fn_cxx_try_link
"$LINENO"; then :
13304 lt_aix_libpath_sed
='
13305 /Import File Strings/,/^$/ {
13307 s/^0 *\([^ ]*\) *$/\1/
13311 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13312 # Check for a 64-bit object if we didn't find anything.
13313 if test -z "$lt_cv_aix_libpath__CXX"; then
13314 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13317 rm -f core conftest.err conftest.
$ac_objext \
13318 conftest
$ac_exeext conftest.
$ac_ext
13319 if test -z "$lt_cv_aix_libpath__CXX"; then
13320 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13325 aix_libpath
=$lt_cv_aix_libpath__CXX
13328 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13329 # Warning - without using the other run time loading flags,
13330 # -berok will link without error, but may produce a broken library.
13331 no_undefined_flag_CXX
=' ${wl}-bernotok'
13332 allow_undefined_flag_CXX
=' ${wl}-berok'
13333 if test "$with_gnu_ld" = yes; then
13334 # We only use this code for GNU lds that support --whole-archive.
13335 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13337 # Exported symbols can be pulled into shared objects from archives
13338 whole_archive_flag_spec_CXX
='$convenience'
13340 archive_cmds_need_lc_CXX
=yes
13341 # This is similar to how AIX traditionally builds its shared
13343 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13349 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13350 allow_undefined_flag_CXX
=unsupported
13351 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13352 # support --undefined. This deserves some investigation. FIXME
13353 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13360 case $cc_basename in
13362 # FIXME: insert proper C++ library support
13368 cygwin
* | mingw
* | pw32
* | cegcc
*)
13369 case $GXX,$cc_basename in
13372 # hardcode_libdir_flag_spec is actually meaningless, as there is
13373 # no search path for DLLs.
13374 hardcode_libdir_flag_spec_CXX
=' '
13375 allow_undefined_flag_CXX
=unsupported
13376 always_export_symbols_CXX
=yes
13377 file_list_spec_CXX
='@'
13378 # Tell ltmain to make .lib files, not .a files.
13380 # Tell ltmain to make .dll files, not .so files.
13382 # FIXME: Setting linknames here is a bad hack.
13383 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13384 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13385 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13387 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13389 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13391 # The linker will not automatically build a static lib if we build a DLL.
13392 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13393 enable_shared_with_static_runtimes_CXX
=yes
13395 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13396 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13397 lt_tool_outputfile="@TOOL_OUTPUT@"~
13398 case $lt_outputfile in
13401 lt_outputfile="$lt_outputfile.exe"
13402 lt_tool_outputfile="$lt_tool_outputfile.exe"
13405 func_to_tool_file "$lt_outputfile"~
13406 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13407 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13408 $RM "$lt_outputfile.manifest";
13413 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13414 # as there is no search path for DLLs.
13415 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13416 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13417 allow_undefined_flag_CXX
=unsupported
13418 always_export_symbols_CXX
=no
13419 enable_shared_with_static_runtimes_CXX
=yes
13421 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13422 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'
13423 # If the export-symbols file already is a .def file (1st line
13424 # is EXPORTS), use it as is; otherwise, prepend...
13425 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13426 cp $export_symbols $output_objdir/$soname.def;
13428 echo EXPORTS > $output_objdir/$soname.def;
13429 cat $export_symbols >> $output_objdir/$soname.def;
13431 $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'
13438 darwin
* | rhapsody
*)
13441 archive_cmds_need_lc_CXX
=no
13442 hardcode_direct_CXX
=no
13443 hardcode_automatic_CXX
=yes
13444 hardcode_shlibpath_var_CXX
=unsupported
13445 if test "$lt_cv_ld_force_load" = "yes"; then
13446 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\"`'
13449 whole_archive_flag_spec_CXX
=''
13451 link_all_deplibs_CXX
=yes
13452 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13453 case $cc_basename in
13454 ifort
*) _lt_dar_can_shared
=yes ;;
13455 *) _lt_dar_can_shared
=$GCC ;;
13457 if test "$_lt_dar_can_shared" = "yes"; then
13458 output_verbose_link_cmd
=func_echo_all
13459 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}"
13460 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13461 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}"
13462 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}"
13463 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13464 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}"
13465 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}"
13475 case $cc_basename in
13477 # FIXME: insert proper C++ library support
13481 # Green Hills C++ Compiler
13482 # FIXME: insert proper C++ library support
13486 # FIXME: insert proper C++ library support
13493 # C++ shared libraries reported to be fairly broken before
13499 archive_cmds_need_lc_CXX
=no
13502 freebsd
* | dragonfly
*)
13503 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13512 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13513 link_all_deplibs_CXX
=yes
13517 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13518 hardcode_libdir_separator_CXX
=:
13519 export_dynamic_flag_spec_CXX
='${wl}-E'
13520 hardcode_direct_CXX
=yes
13521 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13522 # but as the default
13523 # location of the library.
13525 case $cc_basename in
13527 # FIXME: insert proper C++ library support
13531 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13532 # Commands to make compiler produce verbose output that lists
13533 # what "hidden" libraries, object files and flags are used when
13534 # linking a shared library.
13536 # There doesn't appear to be a way to prevent this compiler from
13537 # explicitly linking system object files so we need to strip them
13538 # from the output so that they don't get included in the library
13540 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"'
13543 if test "$GXX" = yes; then
13544 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13546 # FIXME: insert proper C++ library support
13554 if test $with_gnu_ld = no
; then
13555 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13556 hardcode_libdir_separator_CXX
=:
13562 export_dynamic_flag_spec_CXX
='${wl}-E'
13568 hardcode_direct_CXX
=no
13569 hardcode_shlibpath_var_CXX
=no
13572 hardcode_direct_CXX
=yes
13573 hardcode_direct_absolute_CXX
=yes
13574 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13575 # but as the default
13576 # location of the library.
13580 case $cc_basename in
13582 # FIXME: insert proper C++ library support
13588 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13591 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13594 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13597 # Commands to make compiler produce verbose output that lists
13598 # what "hidden" libraries, object files and flags are used when
13599 # linking a shared library.
13601 # There doesn't appear to be a way to prevent this compiler from
13602 # explicitly linking system object files so we need to strip them
13603 # from the output so that they don't get included in the library
13605 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"'
13608 if test "$GXX" = yes; then
13609 if test $with_gnu_ld = no
; then
13612 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13615 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13618 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'
13623 # FIXME: insert proper C++ library support
13631 hardcode_direct_CXX
=no
13632 hardcode_shlibpath_var_CXX
=no
13633 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13634 export_dynamic_flag_spec_CXX
='${wl}-E'
13635 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13636 # Instead, shared libraries are loaded at an image base (0x10000000 by
13637 # default) and relocated if they conflict, which is a slow very memory
13638 # consuming and fragmenting process. To avoid this, we pick a random,
13639 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13640 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13641 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'
13642 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'
13645 case $cc_basename in
13648 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'
13650 # Archives containing C++ object files must be created using
13651 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13652 # necessary to make sure instantiated templates are included
13654 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13657 if test "$GXX" = yes; then
13658 if test "$with_gnu_ld" = no
; then
13659 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'
13661 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'
13664 link_all_deplibs_CXX
=yes
13667 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13668 hardcode_libdir_separator_CXX
=:
13669 inherit_rpath_CXX
=yes
13672 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13673 case $cc_basename in
13675 # Kuck and Associates, Inc. (KAI) C++ Compiler
13677 # KCC will only create a shared library if the output file
13678 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13679 # to its proper name (with version) after linking.
13680 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'
13681 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'
13682 # Commands to make compiler produce verbose output that lists
13683 # what "hidden" libraries, object files and flags are used when
13684 # linking a shared library.
13686 # There doesn't appear to be a way to prevent this compiler from
13687 # explicitly linking system object files so we need to strip them
13688 # from the output so that they don't get included in the library
13690 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"'
13692 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13693 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13695 # Archives containing C++ object files must be created using
13696 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13697 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13702 # version 8.0 and above of icpc choke on multiply defined symbols
13703 # if we add $predep_objects and $postdep_objects, however 7.1 and
13704 # earlier do not add the objects themselves.
13705 case `$CC -V 2>&1` in
13707 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13708 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'
13710 *) # Version 8.0 or newer
13713 ia64
*) tmp_idyn
=' -i_dynamic';;
13715 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13716 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'
13719 archive_cmds_need_lc_CXX
=no
13720 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13721 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13722 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13725 # Portland Group C++ compiler
13727 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13728 prelink_cmds_CXX
='tpldir=Template.dir~
13730 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13731 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13732 old_archive_cmds_CXX
='tpldir=Template.dir~
13734 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13735 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13737 archive_cmds_CXX
='tpldir=Template.dir~
13739 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13740 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13741 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13743 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13744 $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'
13746 *) # Version 6 and above use weak symbols
13747 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13748 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'
13752 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13753 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13754 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'
13758 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13759 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'
13761 runpath_var
=LD_RUN_PATH
13762 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13763 hardcode_libdir_separator_CXX
=:
13765 # Commands to make compiler produce verbose output that lists
13766 # what "hidden" libraries, object files and flags are used when
13767 # linking a shared library.
13769 # There doesn't appear to be a way to prevent this compiler from
13770 # explicitly linking system object files so we need to strip them
13771 # from the output so that they don't get included in the library
13773 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'
13775 xl
* | mpixl
* | bgxl
*)
13776 # IBM XL 8.0 on PPC, with GNU ld
13777 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13778 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13779 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13780 if test "x$supports_anon_versioning" = xyes
; then
13781 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13782 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13783 echo "local: *; };" >> $output_objdir/$libname.ver~
13784 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13788 case `$CC -V 2>&1 | sed 5q` in
13791 no_undefined_flag_CXX
=' -zdefs'
13792 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13793 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'
13794 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13795 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'
13796 compiler_needs_object_CXX
=yes
13798 # Not sure whether something based on
13799 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13801 output_verbose_link_cmd
='func_echo_all'
13803 # Archives containing C++ object files must be created using
13804 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13805 # necessary to make sure instantiated templates are included
13807 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13815 # FIXME: insert proper C++ library support
13820 # FIXME: insert proper C++ library support
13825 case $cc_basename in
13827 # FIXME: insert proper C++ library support
13831 # FIXME: insert proper C++ library support
13838 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13839 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13841 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13842 hardcode_direct_CXX
=yes
13843 hardcode_shlibpath_var_CXX
=no
13845 # Workaround some broken pre-1.5 toolchains
13846 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13854 # C++ shared libraries are fairly broken
13859 if test -f /usr
/libexec
/ld.so
; then
13860 hardcode_direct_CXX
=yes
13861 hardcode_shlibpath_var_CXX
=no
13862 hardcode_direct_absolute_CXX
=yes
13863 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13864 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13865 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13866 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13867 export_dynamic_flag_spec_CXX
='${wl}-E'
13868 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13870 output_verbose_link_cmd
=func_echo_all
13876 osf3
* | osf4
* | osf5
*)
13877 case $cc_basename in
13879 # Kuck and Associates, Inc. (KAI) C++ Compiler
13881 # KCC will only create a shared library if the output file
13882 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13883 # to its proper name (with version) after linking.
13884 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'
13886 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13887 hardcode_libdir_separator_CXX
=:
13889 # Archives containing C++ object files must be created using
13890 # the KAI C++ compiler.
13892 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13893 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13897 # Rational C++ 2.4.1
13898 # FIXME: insert proper C++ library support
13904 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13905 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'
13906 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13909 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13910 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'
13911 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13912 echo "-hidden">> $lib.exp~
13913 $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~
13915 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13919 hardcode_libdir_separator_CXX
=:
13921 # Commands to make compiler produce verbose output that lists
13922 # what "hidden" libraries, object files and flags are used when
13923 # linking a shared library.
13925 # There doesn't appear to be a way to prevent this compiler from
13926 # explicitly linking system object files so we need to strip them
13927 # from the output so that they don't get included in the library
13929 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"'
13932 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13933 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13936 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'
13939 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'
13943 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13944 hardcode_libdir_separator_CXX
=:
13946 # Commands to make compiler produce verbose output that lists
13947 # what "hidden" libraries, object files and flags are used when
13948 # linking a shared library.
13949 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13952 # FIXME: insert proper C++ library support
13960 # FIXME: insert proper C++ library support
13965 case $cc_basename in
13968 # FIXME: insert proper C++ library support
13973 # FIXME: insert proper C++ library support
13977 # FIXME: insert proper C++ library support
13984 case $cc_basename in
13986 # Sun C++ 4.2, 5.x and Centerline C++
13987 archive_cmds_need_lc_CXX
=yes
13988 no_undefined_flag_CXX
=' -zdefs'
13989 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13990 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13991 $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'
13993 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13994 hardcode_shlibpath_var_CXX
=no
13996 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13998 # The compiler driver will combine and reorder linker options,
13999 # but understands `-z linker_flag'.
14000 # Supported since Solaris 2.6 (maybe 2.5.1?)
14001 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14004 link_all_deplibs_CXX
=yes
14006 output_verbose_link_cmd
='func_echo_all'
14008 # Archives containing C++ object files must be created using
14009 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14010 # necessary to make sure instantiated templates are included
14012 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14015 # Green Hills C++ Compiler
14016 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14018 # The C++ compiler must be used to create the archive.
14019 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14022 # GNU C++ compiler with Solaris linker
14023 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14024 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14025 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14026 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14027 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14028 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14030 # Commands to make compiler produce verbose output that lists
14031 # what "hidden" libraries, object files and flags are used when
14032 # linking a shared library.
14033 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14035 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14037 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14038 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14039 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14041 # Commands to make compiler produce verbose output that lists
14042 # what "hidden" libraries, object files and flags are used when
14043 # linking a shared library.
14044 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14047 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14049 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14051 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14059 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14060 no_undefined_flag_CXX
='${wl}-z,text'
14061 archive_cmds_need_lc_CXX
=no
14062 hardcode_shlibpath_var_CXX
=no
14063 runpath_var
='LD_RUN_PATH'
14065 case $cc_basename in
14067 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14068 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14071 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14072 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14077 sysv5
* | sco3.2v5
* | sco5v6
*)
14078 # Note: We can NOT use -z defs as we might desire, because we do not
14079 # link with -lc, and that would cause any symbols used from libc to
14080 # always be unresolved, which means just about no library would
14081 # ever link correctly. If we're not using GNU ld we use -z text
14082 # though, which does catch some bad symbols but isn't as heavy-handed
14084 no_undefined_flag_CXX
='${wl}-z,text'
14085 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14086 archive_cmds_need_lc_CXX
=no
14087 hardcode_shlibpath_var_CXX
=no
14088 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14089 hardcode_libdir_separator_CXX
=':'
14090 link_all_deplibs_CXX
=yes
14091 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14092 runpath_var
='LD_RUN_PATH'
14094 case $cc_basename in
14096 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14097 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14098 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14099 '"$old_archive_cmds_CXX"
14100 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14101 '"$reload_cmds_CXX"
14104 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14105 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14111 case $cc_basename in
14113 # NonStop-UX NCC 3.20
14114 # FIXME: insert proper C++ library support
14118 # FIXME: insert proper C++ library support
14125 # FIXME: insert proper C++ library support
14130 # FIXME: insert proper C++ library support
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14136 $as_echo "$ld_shlibs_CXX" >&6; }
14137 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14143 ## There is no encapsulation within the following macros, do not change
14144 ## the running order or otherwise move them around unless you know exactly
14145 ## what you are doing...
14146 # Dependencies to place before and after the object being linked:
14147 predep_objects_CXX
=
14148 postdep_objects_CXX
=
14151 compiler_lib_search_path_CXX
=
14153 cat > conftest.
$ac_ext <<_LT_EOF
14157 Foo (void) { a = 0; }
14164 _lt_libdeps_save_CFLAGS
=$CFLAGS
14165 case "$CC $CFLAGS " in #(
14166 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14167 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14168 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14172 (eval $ac_compile) 2>&5
14174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14175 test $ac_status = 0; }; then
14176 # Parse the compiler output and extract the necessary
14177 # objects, libraries and library flags.
14179 # Sentinel used to keep track of whether or not we are before
14180 # the conftest object file.
14181 pre_test_object_deps_done
=no
14183 for p
in `eval "$output_verbose_link_cmd"`; do
14184 case ${prev}${p} in
14187 # Some compilers place space between "-{L,R}" and the path.
14188 # Remove the space.
14189 if test $p = "-L" ||
14190 test $p = "-R"; then
14195 # Expand the sysroot to ease extracting the directories later.
14196 if test -z "$prev"; then
14198 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14199 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14200 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14204 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14206 if test "$pre_test_object_deps_done" = no
; then
14209 # Internal compiler library paths should come after those
14210 # provided the user. The postdeps already come after the
14211 # user supplied libs so there is no need to process them.
14212 if test -z "$compiler_lib_search_path_CXX"; then
14213 compiler_lib_search_path_CXX
="${prev}${p}"
14215 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14218 # The "-l" case would never come before the object being
14219 # linked, so don't bother handling this case.
14222 if test -z "$postdeps_CXX"; then
14223 postdeps_CXX
="${prev}${p}"
14225 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14231 *.lto.
$objext) ;; # Ignore GCC LTO objects
14233 # This assumes that the test object file only shows up
14234 # once in the compiler output.
14235 if test "$p" = "conftest.$objext"; then
14236 pre_test_object_deps_done
=yes
14240 if test "$pre_test_object_deps_done" = no
; then
14241 if test -z "$predep_objects_CXX"; then
14242 predep_objects_CXX
="$p"
14244 predep_objects_CXX
="$predep_objects_CXX $p"
14247 if test -z "$postdep_objects_CXX"; then
14248 postdep_objects_CXX
="$p"
14250 postdep_objects_CXX
="$postdep_objects_CXX $p"
14255 *) ;; # Ignore the rest.
14263 echo "libtool.m4: error: problem compiling CXX test program"
14266 $RM -f confest.
$objext
14267 CFLAGS
=$_lt_libdeps_save_CFLAGS
14269 # PORTME: override above test on systems where it is broken
14272 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14273 # hack all around it, let's just trust "g++" to DTRT.
14274 predep_objects_CXX
=
14275 postdep_objects_CXX
=
14280 case `$CC -V 2>&1 | sed 5q` in
14284 # The more standards-conforming stlport4 library is
14285 # incompatible with the Cstd library. Avoid specifying
14286 # it if it's in CXXFLAGS. Ignore libCrun as
14287 # -library=stlport4 depends on it.
14288 case " $CXX $CXXFLAGS " in
14289 *" -library=stlport4 "*)
14290 solaris_use_stlport4
=yes
14294 if test "$solaris_use_stlport4" != yes; then
14295 postdeps_CXX
='-library=Cstd -library=Crun'
14302 case $cc_basename in
14304 # The more standards-conforming stlport4 library is
14305 # incompatible with the Cstd library. Avoid specifying
14306 # it if it's in CXXFLAGS. Ignore libCrun as
14307 # -library=stlport4 depends on it.
14308 case " $CXX $CXXFLAGS " in
14309 *" -library=stlport4 "*)
14310 solaris_use_stlport4
=yes
14314 # Adding this requires a known-good setup of shared libraries for
14315 # Sun compiler versions before 5.6, else PIC objects from an old
14316 # archive will be linked into the output, leading to subtle bugs.
14317 if test "$solaris_use_stlport4" != yes; then
14318 postdeps_CXX
='-library=Cstd -library=Crun'
14326 case " $postdeps_CXX " in
14327 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14329 compiler_lib_search_dirs_CXX
=
14330 if test -n "${compiler_lib_search_path_CXX}"; then
14331 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14364 lt_prog_compiler_wl_CXX
=
14365 lt_prog_compiler_pic_CXX
=
14366 lt_prog_compiler_static_CXX
=
14369 # C++ specific cases for pic, static, wl, etc.
14370 if test "$GXX" = yes; then
14371 lt_prog_compiler_wl_CXX
='-Wl,'
14372 lt_prog_compiler_static_CXX
='-static'
14376 # All AIX code is PIC.
14377 if test "$host_cpu" = ia64
; then
14378 # AIX 5 now supports IA64 processor
14379 lt_prog_compiler_static_CXX
='-Bstatic'
14386 # see comment about AmigaOS4 .so support
14387 lt_prog_compiler_pic_CXX
='-fPIC'
14390 # FIXME: we need at least 68020 code to build shared libraries, but
14391 # adding the `-m68020' flag to GCC prevents building anything better,
14393 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14398 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14399 # PIC is the default for these OSes.
14401 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14402 # This hack is so that the source file can tell whether it is being
14403 # built for inclusion in a dll (and should export symbols for example).
14404 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14405 # (--disable-auto-import) libraries
14406 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14408 darwin
* | rhapsody
*)
14409 # PIC is the default on this platform
14410 # Common symbols not allowed in MH_DYLIB files
14411 lt_prog_compiler_pic_CXX
='-fno-common'
14414 # DJGPP does not support shared libraries at all
14415 lt_prog_compiler_pic_CXX
=
14418 # PIC is the default for Haiku.
14419 # The "-static" flag exists, but is broken.
14420 lt_prog_compiler_static_CXX
=
14423 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14424 # Instead, we relocate shared libraries at runtime.
14427 if test -d /usr
/nec
; then
14428 lt_prog_compiler_pic_CXX
=-Kconform_pic
14432 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14433 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14434 # sets the default TLS model and affects inlining.
14439 lt_prog_compiler_pic_CXX
='-fPIC'
14444 # QNX uses GNU C++, but need to define -shared option too, otherwise
14445 # it will coredump.
14446 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14449 lt_prog_compiler_pic_CXX
='-fPIC'
14455 # All AIX code is PIC.
14456 if test "$host_cpu" = ia64
; then
14457 # AIX 5 now supports IA64 processor
14458 lt_prog_compiler_static_CXX
='-Bstatic'
14460 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14464 case $cc_basename in
14466 # Green Hills C++ Compiler
14467 # _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"
14471 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14472 # This hack is so that the source file can tell whether it is being
14473 # built for inclusion in a dll (and should export symbols for example).
14474 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14477 case $cc_basename in
14479 lt_prog_compiler_pic_CXX
='-KPIC'
14482 # Green Hills C++ Compiler
14483 lt_prog_compiler_pic_CXX
='-pic'
14489 freebsd
* | dragonfly
*)
14490 # FreeBSD uses GNU C++
14492 hpux9
* | hpux10
* | hpux11
*)
14493 case $cc_basename in
14495 lt_prog_compiler_wl_CXX
='-Wl,'
14496 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14497 if test "$host_cpu" != ia64
; then
14498 lt_prog_compiler_pic_CXX
='+Z'
14502 lt_prog_compiler_wl_CXX
='-Wl,'
14503 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14509 lt_prog_compiler_pic_CXX
='+Z'
14518 # This is c89, which is MS Visual C++ (no shared libs)
14519 # Anyone wants to do a port?
14521 irix5
* | irix6
* | nonstopux
*)
14522 case $cc_basename in
14524 lt_prog_compiler_wl_CXX
='-Wl,'
14525 lt_prog_compiler_static_CXX
='-non_shared'
14526 # CC pic flag -KPIC is the default.
14532 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14533 case $cc_basename in
14536 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14537 lt_prog_compiler_pic_CXX
='-fPIC'
14540 # old Intel C++ for x86_64 which still supported -KPIC.
14541 lt_prog_compiler_wl_CXX
='-Wl,'
14542 lt_prog_compiler_pic_CXX
='-KPIC'
14543 lt_prog_compiler_static_CXX
='-static'
14546 # Intel C++, used to be incompatible with GCC.
14547 # ICC 10 doesn't accept -KPIC any more.
14548 lt_prog_compiler_wl_CXX
='-Wl,'
14549 lt_prog_compiler_pic_CXX
='-fPIC'
14550 lt_prog_compiler_static_CXX
='-static'
14553 # Portland Group C++ compiler
14554 lt_prog_compiler_wl_CXX
='-Wl,'
14555 lt_prog_compiler_pic_CXX
='-fpic'
14556 lt_prog_compiler_static_CXX
='-Bstatic'
14560 # Make sure the PIC flag is empty. It appears that all Alpha
14561 # Linux and Compaq Tru64 Unix objects are PIC.
14562 lt_prog_compiler_pic_CXX
=
14563 lt_prog_compiler_static_CXX
='-non_shared'
14565 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14566 # IBM XL 8.0, 9.0 on PPC and BlueGene
14567 lt_prog_compiler_wl_CXX
='-Wl,'
14568 lt_prog_compiler_pic_CXX
='-qpic'
14569 lt_prog_compiler_static_CXX
='-qstaticlink'
14572 case `$CC -V 2>&1 | sed 5q` in
14575 lt_prog_compiler_pic_CXX
='-KPIC'
14576 lt_prog_compiler_static_CXX
='-Bstatic'
14577 lt_prog_compiler_wl_CXX
='-Qoption ld '
14588 case $cc_basename in
14590 lt_prog_compiler_pic_CXX
='-W c,exportall'
14599 # QNX uses GNU C++, but need to define -shared option too, otherwise
14600 # it will coredump.
14601 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14603 osf3
* | osf4
* | osf5
*)
14604 case $cc_basename in
14606 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14609 # Rational C++ 2.4.1
14610 lt_prog_compiler_pic_CXX
='-pic'
14613 # Digital/Compaq C++
14614 lt_prog_compiler_wl_CXX
='-Wl,'
14615 # Make sure the PIC flag is empty. It appears that all Alpha
14616 # Linux and Compaq Tru64 Unix objects are PIC.
14617 lt_prog_compiler_pic_CXX
=
14618 lt_prog_compiler_static_CXX
='-non_shared'
14627 case $cc_basename in
14629 # Sun C++ 4.2, 5.x and Centerline C++
14630 lt_prog_compiler_pic_CXX
='-KPIC'
14631 lt_prog_compiler_static_CXX
='-Bstatic'
14632 lt_prog_compiler_wl_CXX
='-Qoption ld '
14635 # Green Hills C++ Compiler
14636 lt_prog_compiler_pic_CXX
='-PIC'
14643 case $cc_basename in
14646 lt_prog_compiler_pic_CXX
='-pic'
14647 lt_prog_compiler_static_CXX
='-Bstatic'
14651 lt_prog_compiler_pic_CXX
='-pic'
14657 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14658 case $cc_basename in
14660 lt_prog_compiler_wl_CXX
='-Wl,'
14661 lt_prog_compiler_pic_CXX
='-KPIC'
14662 lt_prog_compiler_static_CXX
='-Bstatic'
14667 case $cc_basename in
14669 # NonStop-UX NCC 3.20
14670 lt_prog_compiler_pic_CXX
='-KPIC'
14679 lt_prog_compiler_can_build_shared_CXX
=no
14685 # For platforms which do not support PIC, -DPIC is meaningless:
14687 lt_prog_compiler_pic_CXX
=
14690 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14695 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14696 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14697 $as_echo_n "(cached) " >&6
14699 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14702 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14703 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14706 # Check to make sure the PIC flag actually works.
14708 if test -n "$lt_prog_compiler_pic_CXX"; then
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14710 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14711 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14712 $as_echo_n "(cached) " >&6
14714 lt_cv_prog_compiler_pic_works_CXX
=no
14715 ac_outfile
=conftest.
$ac_objext
14716 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14717 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14718 # Insert the option either (1) after the last *FLAGS variable, or
14719 # (2) before a word containing "conftest.", or (3) at the end.
14720 # Note that $ac_compile itself does not contain backslashes and begins
14721 # with a dollar sign (not a hyphen), so the echo should work correctly.
14722 # The option is referenced via a variable to avoid confusing sed.
14723 lt_compile
=`echo "$ac_compile" | $SED \
14724 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14725 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14726 -e 's:$: $lt_compiler_flag:'`
14727 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14728 (eval "$lt_compile" 2>conftest.err
)
14730 cat conftest.err
>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 if (exit $ac_status) && test -s "$ac_outfile"; then
14733 # The compiler can only warn and ignore the option if not recognized
14734 # So say no if there are warnings other than the usual output.
14735 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14736 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14737 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14738 lt_cv_prog_compiler_pic_works_CXX
=yes
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14745 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14747 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14748 case $lt_prog_compiler_pic_CXX in
14750 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14753 lt_prog_compiler_pic_CXX
=
14754 lt_prog_compiler_can_build_shared_CXX
=no
14764 # Check to make sure the static flag actually works.
14766 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14768 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14769 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14770 $as_echo_n "(cached) " >&6
14772 lt_cv_prog_compiler_static_works_CXX
=no
14773 save_LDFLAGS
="$LDFLAGS"
14774 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14775 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14776 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14777 # The linker can only warn and ignore the option if not recognized
14778 # So say no if there are warnings
14779 if test -s conftest.err
; then
14780 # Append any errors to the config.log.
14781 cat conftest.err
1>&5
14782 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14783 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14784 if diff conftest.exp conftest.er2
>/dev
/null
; then
14785 lt_cv_prog_compiler_static_works_CXX
=yes
14788 lt_cv_prog_compiler_static_works_CXX
=yes
14792 LDFLAGS
="$save_LDFLAGS"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14796 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14798 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14801 lt_prog_compiler_static_CXX
=
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14808 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14809 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14810 $as_echo_n "(cached) " >&6
14812 lt_cv_prog_compiler_c_o_CXX
=no
14813 $RM -r conftest
2>/dev
/null
14817 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14819 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14820 # Insert the option either (1) after the last *FLAGS variable, or
14821 # (2) before a word containing "conftest.", or (3) at the end.
14822 # Note that $ac_compile itself does not contain backslashes and begins
14823 # with a dollar sign (not a hyphen), so the echo should work correctly.
14824 lt_compile
=`echo "$ac_compile" | $SED \
14825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14827 -e 's:$: $lt_compiler_flag:'`
14828 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14829 (eval "$lt_compile" 2>out
/conftest.err
)
14831 cat out
/conftest.err
>&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14835 # The compiler can only warn and ignore the option if not recognized
14836 # So say no if there are warnings
14837 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14838 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14839 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14840 lt_cv_prog_compiler_c_o_CXX
=yes
14845 # SGI C++ compiler will create directory out/ii_files/ for
14846 # template instantiation
14847 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14848 $RM out
/* && rmdir out
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14855 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14860 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14861 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14862 $as_echo_n "(cached) " >&6
14864 lt_cv_prog_compiler_c_o_CXX
=no
14865 $RM -r conftest
2>/dev
/null
14869 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14871 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14872 # Insert the option either (1) after the last *FLAGS variable, or
14873 # (2) before a word containing "conftest.", or (3) at the end.
14874 # Note that $ac_compile itself does not contain backslashes and begins
14875 # with a dollar sign (not a hyphen), so the echo should work correctly.
14876 lt_compile
=`echo "$ac_compile" | $SED \
14877 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14878 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14879 -e 's:$: $lt_compiler_flag:'`
14880 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14881 (eval "$lt_compile" 2>out
/conftest.err
)
14883 cat out
/conftest.err
>&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14887 # The compiler can only warn and ignore the option if not recognized
14888 # So say no if there are warnings
14889 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14890 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14891 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14892 lt_cv_prog_compiler_c_o_CXX
=yes
14897 # SGI C++ compiler will create directory out/ii_files/ for
14898 # template instantiation
14899 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14900 $RM out
/* && rmdir out
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14907 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14912 hard_links
="nottested"
14913 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14914 # do not overwrite the value of need_locks provided by the user
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14916 $as_echo_n "checking if we can lock with hard links... " >&6; }
14919 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14921 ln conftest.a conftest.b
2>&5 || hard_links
=no
14922 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14924 $as_echo "$hard_links" >&6; }
14925 if test "$hard_links" = no
; then
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14927 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14937 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14939 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14940 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14943 # If we're using GNU nm, then we don't want the "-C" option.
14944 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14945 # Also, AIX nm treats weak defined symbols like other global defined
14946 # symbols, whereas GNU nm marks them as "W".
14947 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14948 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14950 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14954 export_symbols_cmds_CXX
="$ltdll_cmds"
14956 cygwin
* | mingw
* | cegcc
*)
14957 case $cc_basename in
14959 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14962 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'
14963 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14968 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14973 $as_echo "$ld_shlibs_CXX" >&6; }
14974 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14976 with_gnu_ld_CXX
=$with_gnu_ld
14984 # Do we need to explicitly link libc?
14986 case "x$archive_cmds_need_lc_CXX" in
14988 # Assume -lc should be added
14989 archive_cmds_need_lc_CXX
=yes
14991 if test "$enable_shared" = yes && test "$GCC" = yes; then
14992 case $archive_cmds_CXX in
14994 # FIXME: we may have to deal with multi-command sequences.
14997 # Test whether the compiler implicitly links with -lc since on some
14998 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14999 # to ld, don't add -lc before -lgcc.
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15001 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15002 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15003 $as_echo_n "(cached) " >&6
15006 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15009 (eval $ac_compile) 2>&5
15011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15012 test $ac_status = 0; } 2>conftest.err
; then
15015 libobjs
=conftest.
$ac_objext
15017 wl
=$lt_prog_compiler_wl_CXX
15018 pic_flag
=$lt_prog_compiler_pic_CXX
15024 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15025 allow_undefined_flag_CXX
=
15026 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15027 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15030 test $ac_status = 0; }
15032 lt_cv_archive_cmds_need_lc_CXX
=no
15034 lt_cv_archive_cmds_need_lc_CXX
=yes
15036 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15038 cat conftest.err
1>&5
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15044 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15045 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15114 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15116 library_names_spec
=
15117 libname_spec
='lib$name'
15121 postuninstall_cmds
=
15125 shlibpath_overrides_runpath
=unknown
15127 dynamic_linker
="$host_os ld.so"
15128 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15129 need_lib_prefix
=unknown
15130 hardcode_into_libs
=no
15132 # when you set need_version to no, make sure it does not cause -set_version
15133 # flags to be left without arguments
15134 need_version
=unknown
15138 version_type
=linux
# correct to gnu/linux during the next big refactor
15139 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15140 shlibpath_var
=LIBPATH
15142 # AIX 3 has no versioning support, so we append a major version to the name.
15143 soname_spec
='${libname}${release}${shared_ext}$major'
15147 version_type
=linux
# correct to gnu/linux during the next big refactor
15150 hardcode_into_libs
=yes
15151 if test "$host_cpu" = ia64
; then
15152 # AIX 5 supports IA64
15153 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15154 shlibpath_var
=LD_LIBRARY_PATH
15156 # With GCC up to 2.95.x, collect2 would create an import file
15157 # for dependence libraries. The import file would start with
15158 # the line `#! .'. This would cause the generated library to
15159 # depend on `.', always an invalid library. This was fixed in
15160 # development snapshots of GCC prior to 3.0.
15162 aix4
| aix4.
[01] | aix4.
[01].
*)
15163 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15165 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15168 can_build_shared
=no
15172 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15173 # soname into executable. Probably we can add versioning support to
15174 # collect2, so additional links can be useful in future.
15175 if test "$aix_use_runtimelinking" = yes; then
15176 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15177 # instead of lib<name>.a to let people know that these are not
15178 # typical AIX shared libraries.
15179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15181 # We preserve .a as extension for shared libraries through AIX4.2
15182 # and later when we are not doing run time linking.
15183 library_names_spec
='${libname}${release}.a $libname.a'
15184 soname_spec
='${libname}${release}${shared_ext}$major'
15186 shlibpath_var
=LIBPATH
15193 # Since July 2007 AmigaOS4 officially supports .so libraries.
15194 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15198 library_names_spec
='$libname.ixlibrary $libname.a'
15199 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15200 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15206 library_names_spec
='${libname}${shared_ext}'
15207 dynamic_linker
="$host_os ld.so"
15208 shlibpath_var
=LIBRARY_PATH
15212 version_type
=linux
# correct to gnu/linux during the next big refactor
15214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15215 soname_spec
='${libname}${release}${shared_ext}$major'
15216 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15217 shlibpath_var
=LD_LIBRARY_PATH
15218 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15219 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15220 # the default ld.so.conf also contains /usr/contrib/lib and
15221 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15222 # libtool to hard-code these into programs
15225 cygwin
* | mingw
* | pw32
* | cegcc
*)
15226 version_type
=windows
15231 case $GCC,$cc_basename in
15234 library_names_spec
='$libname.dll.a'
15235 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15236 postinstall_cmds
='base_file=`basename \${file}`~
15237 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15238 dldir=$destdir/`dirname \$dlpath`~
15239 test -d \$dldir || mkdir -p \$dldir~
15240 $install_prog $dir/$dlname \$dldir/$dlname~
15241 chmod a+x \$dldir/$dlname~
15242 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15243 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15245 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15246 dlpath=$dir/\$dldll~
15248 shlibpath_overrides_runpath
=yes
15252 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15253 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15257 # MinGW DLLs use traditional 'lib' prefix
15258 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15261 # pw32 DLLs use 'pw' prefix rather than 'lib'
15262 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15265 dynamic_linker
='Win32 ld.exe'
15270 libname_spec
='$name'
15271 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15272 library_names_spec
='${libname}.dll.lib'
15276 sys_lib_search_path_spec
=
15279 for lt_path
in $LIB
15282 # Let DOS variable expansion print the short 8.3 style file name.
15283 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15284 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15287 # Convert to MSYS style.
15288 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15291 # Convert to unix form, then to dos form, then back to unix form
15292 # but this time dos style (no spaces!) so that the unix form looks
15293 # like /cygdrive/c/PROGRA~1:/cygdr...
15294 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15295 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15296 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15299 sys_lib_search_path_spec
="$LIB"
15300 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15301 # It is most probably a Windows format PATH.
15302 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15304 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15306 # FIXME: find the short name or the path components, as spaces are
15307 # common. (e.g. "Program Files" -> "PROGRA~1")
15311 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15312 postinstall_cmds
='base_file=`basename \${file}`~
15313 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15314 dldir=$destdir/`dirname \$dlpath`~
15315 test -d \$dldir || mkdir -p \$dldir~
15316 $install_prog $dir/$dlname \$dldir/$dlname'
15317 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15318 dlpath=$dir/\$dldll~
15320 shlibpath_overrides_runpath
=yes
15321 dynamic_linker
='Win32 link.exe'
15325 # Assume MSVC wrapper
15326 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15327 dynamic_linker
='Win32 ld.exe'
15330 # FIXME: first we should search . and the directory the executable is in
15334 darwin
* | rhapsody
*)
15335 dynamic_linker
="$host_os dyld"
15336 version_type
=darwin
15339 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15340 soname_spec
='${libname}${release}${major}$shared_ext'
15341 shlibpath_overrides_runpath
=yes
15342 shlibpath_var
=DYLD_LIBRARY_PATH
15343 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15345 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15349 version_type
=linux
# correct to gnu/linux during the next big refactor
15352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15353 soname_spec
='${libname}${release}${shared_ext}$major'
15354 shlibpath_var
=LD_LIBRARY_PATH
15357 freebsd
* | dragonfly
*)
15358 # DragonFly does not have aout. When/if they implement a new
15359 # versioning mechanism, adjust this.
15360 if test -x /usr
/bin
/objformat
; then
15361 objformat
=`/usr/bin/objformat`
15364 freebsd
[23].
*) objformat
=aout
;;
15365 *) objformat
=elf
;;
15368 version_type
=freebsd
-$objformat
15369 case $version_type in
15371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15376 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15380 shlibpath_var
=LD_LIBRARY_PATH
15383 shlibpath_overrides_runpath
=yes
15385 freebsd3.
[01]* | freebsdelf3.
[01]*)
15386 shlibpath_overrides_runpath
=yes
15387 hardcode_into_libs
=yes
15389 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15390 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15391 shlibpath_overrides_runpath
=no
15392 hardcode_into_libs
=yes
15394 *) # from 4.6 on, and DragonFly
15395 shlibpath_overrides_runpath
=yes
15396 hardcode_into_libs
=yes
15402 version_type
=linux
# correct to gnu/linux during the next big refactor
15405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15406 soname_spec
='${libname}${release}${shared_ext}$major'
15407 shlibpath_var
=LD_LIBRARY_PATH
15408 shlibpath_overrides_runpath
=no
15409 hardcode_into_libs
=yes
15413 version_type
=linux
# correct to gnu/linux during the next big refactor
15416 dynamic_linker
="$host_os runtime_loader"
15417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15418 soname_spec
='${libname}${release}${shared_ext}$major'
15419 shlibpath_var
=LIBRARY_PATH
15420 shlibpath_overrides_runpath
=yes
15421 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15422 hardcode_into_libs
=yes
15425 hpux9
* | hpux10
* | hpux11
*)
15426 # Give a soname corresponding to the major version so that dld.sl refuses to
15427 # link against other versions.
15434 hardcode_into_libs
=yes
15435 dynamic_linker
="$host_os dld.so"
15436 shlibpath_var
=LD_LIBRARY_PATH
15437 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15439 soname_spec
='${libname}${release}${shared_ext}$major'
15440 if test "X$HPUX_IA64_MODE" = X32
; then
15441 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15443 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15445 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15449 hardcode_into_libs
=yes
15450 dynamic_linker
="$host_os dld.sl"
15451 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15452 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15454 soname_spec
='${libname}${release}${shared_ext}$major'
15455 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15456 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15460 dynamic_linker
="$host_os dld.sl"
15461 shlibpath_var
=SHLIB_PATH
15462 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15464 soname_spec
='${libname}${release}${shared_ext}$major'
15467 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15468 postinstall_cmds
='chmod 555 $lib'
15469 # or fails outright, so override atomically:
15470 install_override_mode
=555
15474 version_type
=linux
# correct to gnu/linux during the next big refactor
15477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15478 soname_spec
='${libname}${release}${shared_ext}$major'
15479 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15480 shlibpath_var
=LD_LIBRARY_PATH
15481 shlibpath_overrides_runpath
=no
15482 hardcode_into_libs
=yes
15485 irix5
* | irix6
* | nonstopux
*)
15487 nonstopux
*) version_type
=nonstopux
;;
15489 if test "$lt_cv_prog_gnu_ld" = yes; then
15490 version_type
=linux
# correct to gnu/linux during the next big refactor
15497 soname_spec
='${libname}${release}${shared_ext}$major'
15498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15500 irix5
* | nonstopux
*)
15501 libsuff
= shlibsuff
=
15504 case $LD in # libtool.m4 will add one of these switches to LD
15505 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15506 libsuff
= shlibsuff
= libmagic
=32-bit;;
15507 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15508 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15509 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15510 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15511 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15515 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15516 shlibpath_overrides_runpath
=no
15517 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15518 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15519 hardcode_into_libs
=yes
15522 # No shared lib support for Linux oldld, aout, or coff.
15523 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15527 # This must be glibc/ELF.
15528 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15529 version_type
=linux
# correct to gnu/linux during the next big refactor
15532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15533 soname_spec
='${libname}${release}${shared_ext}$major'
15534 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15535 shlibpath_var
=LD_LIBRARY_PATH
15536 shlibpath_overrides_runpath
=no
15538 # Some binutils ld are patched to set DT_RUNPATH
15539 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15540 $as_echo_n "(cached) " >&6
15542 lt_cv_shlibpath_overrides_runpath
=no
15543 save_LDFLAGS
=$LDFLAGS
15544 save_libdir
=$libdir
15545 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15546 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15548 /* end confdefs.h. */
15558 if ac_fn_cxx_try_link
"$LINENO"; then :
15559 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15560 lt_cv_shlibpath_overrides_runpath
=yes
15563 rm -f core conftest.err conftest.
$ac_objext \
15564 conftest
$ac_exeext conftest.
$ac_ext
15565 LDFLAGS
=$save_LDFLAGS
15566 libdir
=$save_libdir
15570 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15572 # This implies no fast_install, which is unacceptable.
15573 # Some rework will be needed to allow for fast_install
15574 # before this can be enabled.
15575 hardcode_into_libs
=yes
15577 # Append ld.so.conf contents to the search path
15578 if test -f /etc
/ld.so.conf
; then
15579 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' ' '`
15580 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15583 # We used to test for /lib/ld.so.1 and disable shared libraries on
15584 # powerpc, because MkLinux only supported shared libraries with the
15585 # GNU dynamic linker. Since this was broken with cross compilers,
15586 # most powerpc-linux boxes support dynamic linking these days and
15587 # people can always --disable-shared, the test was removed, and we
15588 # assume the GNU/Linux dynamic linker is in use.
15589 dynamic_linker
='GNU/Linux ld.so'
15596 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15598 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15599 dynamic_linker
='NetBSD (a.out) ld.so'
15601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15602 soname_spec
='${libname}${release}${shared_ext}$major'
15603 dynamic_linker
='NetBSD ld.elf_so'
15605 shlibpath_var
=LD_LIBRARY_PATH
15606 shlibpath_overrides_runpath
=yes
15607 hardcode_into_libs
=yes
15611 version_type
=linux
# correct to gnu/linux during the next big refactor
15612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15613 shlibpath_var
=LD_LIBRARY_PATH
15614 shlibpath_overrides_runpath
=yes
15621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15622 soname_spec
='${libname}${release}${shared_ext}$major'
15623 shlibpath_var
=LD_LIBRARY_PATH
15624 shlibpath_overrides_runpath
=no
15625 hardcode_into_libs
=yes
15626 dynamic_linker
='ldqnx.so'
15631 sys_lib_dlsearch_path_spec
="/usr/lib"
15633 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15635 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15636 *) need_version
=no
;;
15638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15639 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15640 shlibpath_var
=LD_LIBRARY_PATH
15641 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15643 openbsd2.
[89] | openbsd2.
[89].
*)
15644 shlibpath_overrides_runpath
=no
15647 shlibpath_overrides_runpath
=yes
15651 shlibpath_overrides_runpath
=yes
15656 libname_spec
='$name'
15659 library_names_spec
='$libname${shared_ext} $libname.a'
15660 dynamic_linker
='OS/2 ld.exe'
15661 shlibpath_var
=LIBPATH
15664 osf3
* | osf4
* | osf5
*)
15668 soname_spec
='${libname}${release}${shared_ext}$major'
15669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15670 shlibpath_var
=LD_LIBRARY_PATH
15671 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15672 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15680 version_type
=linux
# correct to gnu/linux during the next big refactor
15683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15684 soname_spec
='${libname}${release}${shared_ext}$major'
15685 shlibpath_var
=LD_LIBRARY_PATH
15686 shlibpath_overrides_runpath
=yes
15687 hardcode_into_libs
=yes
15688 # ldd complains unless libraries are executable
15689 postinstall_cmds
='chmod +x $lib'
15694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15695 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15696 shlibpath_var
=LD_LIBRARY_PATH
15697 shlibpath_overrides_runpath
=yes
15698 if test "$with_gnu_ld" = yes; then
15705 version_type
=linux
# correct to gnu/linux during the next big refactor
15706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15707 soname_spec
='${libname}${release}${shared_ext}$major'
15708 shlibpath_var
=LD_LIBRARY_PATH
15709 case $host_vendor in
15711 shlibpath_overrides_runpath
=no
15713 runpath_var
=LD_RUN_PATH
15721 shlibpath_overrides_runpath
=no
15722 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15728 if test -d /usr
/nec
;then
15729 version_type
=linux
# correct to gnu/linux during the next big refactor
15730 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15731 soname_spec
='$libname${shared_ext}.$major'
15732 shlibpath_var
=LD_LIBRARY_PATH
15736 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15737 version_type
=freebsd
-elf
15740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15741 soname_spec
='${libname}${release}${shared_ext}$major'
15742 shlibpath_var
=LD_LIBRARY_PATH
15743 shlibpath_overrides_runpath
=yes
15744 hardcode_into_libs
=yes
15745 if test "$with_gnu_ld" = yes; then
15746 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15748 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15751 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15755 sys_lib_dlsearch_path_spec
='/usr/lib'
15759 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15760 version_type
=linux
# correct to gnu/linux during the next big refactor
15763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15764 shlibpath_var
=LD_LIBRARY_PATH
15765 shlibpath_overrides_runpath
=no
15766 hardcode_into_libs
=yes
15770 version_type
=linux
# correct to gnu/linux during the next big refactor
15771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15772 soname_spec
='${libname}${release}${shared_ext}$major'
15773 shlibpath_var
=LD_LIBRARY_PATH
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15781 $as_echo "$dynamic_linker" >&6; }
15782 test "$dynamic_linker" = no
&& can_build_shared
=no
15784 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15785 if test "$GCC" = yes; then
15786 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15789 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15790 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15792 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15793 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15834 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15835 hardcode_action_CXX
=
15836 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15837 test -n "$runpath_var_CXX" ||
15838 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15840 # We can hardcode non-existent directories.
15841 if test "$hardcode_direct_CXX" != no
&&
15842 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15843 # have to relink, otherwise we might link with an installed library
15844 # when we should be linking with a yet-to-be-installed one
15845 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15846 test "$hardcode_minus_L_CXX" != no
; then
15847 # Linking always hardcodes the temporary library directory.
15848 hardcode_action_CXX
=relink
15850 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15851 hardcode_action_CXX
=immediate
15854 # We cannot hardcode anything, or else we can only hardcode existing
15856 hardcode_action_CXX
=unsupported
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15859 $as_echo "$hardcode_action_CXX" >&6; }
15861 if test "$hardcode_action_CXX" = relink
||
15862 test "$inherit_rpath_CXX" = yes; then
15863 # Fast installation is not supported
15864 enable_fast_install
=no
15865 elif test "$shlibpath_overrides_runpath" = yes ||
15866 test "$enable_shared" = no
; then
15867 # Fast installation is not necessary
15868 enable_fast_install
=needless
15877 fi # test -n "$compiler"
15880 CFLAGS
=$lt_save_CFLAGS
15884 with_gnu_ld
=$lt_save_with_gnu_ld
15885 lt_cv_path_LDCXX
=$lt_cv_path_LD
15886 lt_cv_path_LD
=$lt_save_path_LD
15887 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15888 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15889 fi # test "$_lt_caught_CXX_error" != yes
15892 ac_cpp
='$CPP $CPPFLAGS'
15893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15911 ac_config_commands
="$ac_config_commands libtool"
15916 # Only expand once:
15921 ac_cpp
='$CXXCPP $CPPFLAGS'
15922 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15923 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15924 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15927 ax_cxx_compile_cxx11_required
=true
15929 ac_cpp
='$CXXCPP $CPPFLAGS'
15930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
15935 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
15936 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
15937 $as_echo_n "(cached) " >&6
15939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15942 template <typename T>
15945 static_assert(sizeof(int) <= sizeof(T), "not big enough");
15949 virtual void f() {}
15951 struct Child : public Base {
15952 virtual void f() override {}
15955 typedef check<check<bool>> right_angle_brackets;
15960 typedef check<int> check_type;
15962 check_type&& cr = static_cast<check_type&&>(c);
15968 if ac_fn_cxx_try_compile
"$LINENO"; then :
15969 ax_cv_cxx_compile_cxx11
=yes
15971 ax_cv_cxx_compile_cxx11
=no
15973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
15976 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
15977 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
15981 if test x
$ac_success = xno
; then
15982 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
15983 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
15985 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
15986 if eval \
${$cachevar+:} false
; then :
15987 $as_echo_n "(cached) " >&6
15989 ac_save_CXXFLAGS
="$CXXFLAGS"
15990 CXXFLAGS
="$CXXFLAGS $switch"
15991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15992 /* end confdefs.h. */
15994 template <typename T>
15997 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16001 virtual void f() {}
16003 struct Child : public Base {
16004 virtual void f() override {}
16007 typedef check<check<bool>> right_angle_brackets;
16012 typedef check<int> check_type;
16014 check_type&& cr = static_cast<check_type&&>(c);
16020 if ac_fn_cxx_try_compile
"$LINENO"; then :
16025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16026 CXXFLAGS
="$ac_save_CXXFLAGS"
16028 eval ac_res
=\$
$cachevar
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16030 $as_echo "$ac_res" >&6; }
16031 if eval test x\$
$cachevar = xyes
; then
16032 CXXFLAGS
="$CXXFLAGS $switch"
16041 ac_cpp
='$CXXCPP $CPPFLAGS'
16042 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16043 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16044 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16046 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
16047 if test x
$ac_success = xno
; then
16048 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
16051 if test x
$ac_success = xno
; then
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
16054 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
16058 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
16065 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
16073 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16074 if test -n "$ac_tool_prefix"; then
16075 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16076 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16078 $as_echo_n "checking for $ac_word... " >&6; }
16079 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16080 $as_echo_n "(cached) " >&6
16082 case $PKG_CONFIG in
16084 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16088 for as_dir
in $PATH
16091 test -z "$as_dir" && as_dir
=.
16092 for ac_exec_ext
in '' $ac_executable_extensions; do
16093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16094 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16105 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16106 if test -n "$PKG_CONFIG"; then
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16108 $as_echo "$PKG_CONFIG" >&6; }
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16111 $as_echo "no" >&6; }
16116 if test -z "$ac_cv_path_PKG_CONFIG"; then
16117 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16118 # Extract the first word of "pkg-config", so it can be a program name with args.
16119 set dummy pkg
-config; ac_word
=$2
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16121 $as_echo_n "checking for $ac_word... " >&6; }
16122 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16123 $as_echo_n "(cached) " >&6
16125 case $ac_pt_PKG_CONFIG in
16127 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16131 for as_dir
in $PATH
16134 test -z "$as_dir" && as_dir
=.
16135 for ac_exec_ext
in '' $ac_executable_extensions; do
16136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16137 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16148 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16149 if test -n "$ac_pt_PKG_CONFIG"; then
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16151 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16154 $as_echo "no" >&6; }
16157 if test "x$ac_pt_PKG_CONFIG" = x
; then
16160 case $cross_compiling:$ac_tool_warned in
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16164 ac_tool_warned
=yes ;;
16166 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16169 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16173 if test -n "$PKG_CONFIG"; then
16174 _pkg_min_version
=0.22
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16176 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16177 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16179 $as_echo "yes" >&6; }
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16182 $as_echo "no" >&6; }
16187 # Extract the first word of "git", so it can be a program name with args.
16188 set dummy git
; ac_word
=$2
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16190 $as_echo_n "checking for $ac_word... " >&6; }
16191 if ${ac_cv_path_GIT+:} false
; then :
16192 $as_echo_n "(cached) " >&6
16196 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16200 for as_dir
in $PATH
16203 test -z "$as_dir" && as_dir
=.
16204 for ac_exec_ext
in '' $ac_executable_extensions; do
16205 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16206 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16217 GIT
=$ac_cv_path_GIT
16218 if test -n "$GIT"; then
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16220 $as_echo "$GIT" >&6; }
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16223 $as_echo "no" >&6; }
16227 # Extract the first word of "time", so it can be a program name with args.
16228 set dummy
time; ac_word
=$2
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16230 $as_echo_n "checking for $ac_word... " >&6; }
16231 if ${ac_cv_path_TIME+:} false
; then :
16232 $as_echo_n "(cached) " >&6
16236 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16240 for as_dir
in $PATH
16243 test -z "$as_dir" && as_dir
=.
16244 for ac_exec_ext
in '' $ac_executable_extensions; do
16245 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16246 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16257 TIME
=$ac_cv_path_TIME
16258 if test -n "$TIME"; then
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16260 $as_echo "$TIME" >&6; }
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16263 $as_echo "no" >&6; }
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16273 $as_echo_n "checking for bison >= 2.3... " >&6; }
16274 if test -z "$BISON"; then
16275 ac_path_BISON_found
=false
16276 # Loop through the user's path and test for each of PROGNAME-LIST
16277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16278 for as_dir
in $PATH
16281 test -z "$as_dir" && as_dir
=.
16282 for ac_prog
in bison
; do
16283 for ac_exec_ext
in '' $ac_executable_extensions; do
16284 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16285 as_fn_executable_p
"$ac_path_BISON" || continue
16286 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16287 if ${version:+false} :; then :
16290 as_awk_strverscmp
='
16291 # Use only awk features that work with 7th edition Unix awk (1978).
16292 # My, what an old awk you have, Mr. Solaris!
16294 while (length(v1) && length(v2)) {
16295 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16296 # Normally this is a single character, but if v1 and v2 contain digits,
16297 # compare them as integers and fractions as strverscmp does.
16298 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16299 # Split v1 and v2 into their leading digit string components d1 and d2,
16300 # and advance v1 and v2 past the leading digit strings.
16301 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16302 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16303 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16304 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16307 # Compare two fractions.
16308 while (d1 ~ /^0/ && d2 ~ /^0/) {
16309 d1 = substr(d1, 2); len1--
16310 d2 = substr(d2, 2); len2--
16312 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16313 # The two components differ in length, and the common prefix
16314 # contains only leading zeros. Consider the longer to be less.
16318 # Otherwise, compare as strings.
16323 # A fraction is less than an integer.
16328 # An integer is greater than a fraction.
16331 # Compare two integers.
16337 # The normal case, without worrying about digits.
16338 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16339 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16341 if (d1 < d2) exit 1
16342 if (d1 > d2) exit 2
16344 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16345 # which mishandles some comparisons of empty strings to integers.
16346 if (length(v2)) exit 1
16347 if (length(v1)) exit 2
16352 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16357 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16359 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16365 $ac_path_BISON_found && break 3
16370 if test -z "$ac_cv_path_BISON"; then
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16372 $as_echo "no" >&6; }
16375 ac_cv_path_BISON
=$BISON
16381 BISON
=$ac_cv_path_BISON
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16384 $as_echo "$BISON" >&6; }
16389 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16396 $as_echo "no" >&6; }
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16405 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16406 if test -z "$FLEX"; then
16407 ac_path_FLEX_found
=false
16408 # Loop through the user's path and test for each of PROGNAME-LIST
16409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16410 for as_dir
in $PATH
16413 test -z "$as_dir" && as_dir
=.
16414 for ac_prog
in flex
; do
16415 for ac_exec_ext
in '' $ac_executable_extensions; do
16416 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16417 as_fn_executable_p
"$ac_path_FLEX" || continue
16418 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16419 if ${version:+false} :; then :
16424 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16429 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16431 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16437 $ac_path_FLEX_found && break 3
16442 if test -z "$ac_cv_path_FLEX"; then
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16444 $as_echo "no" >&6; }
16447 ac_cv_path_FLEX
=$FLEX
16453 FLEX
=$ac_cv_path_FLEX
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16456 $as_echo "$FLEX" >&6; }
16461 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16468 $as_echo "no" >&6; }
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16477 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16478 if test -z "$GPERF"; then
16479 ac_path_GPERF_found
=false
16480 # Loop through the user's path and test for each of PROGNAME-LIST
16481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16482 for as_dir
in $PATH
16485 test -z "$as_dir" && as_dir
=.
16486 for ac_prog
in gperf
; do
16487 for ac_exec_ext
in '' $ac_executable_extensions; do
16488 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16489 as_fn_executable_p
"$ac_path_GPERF" || continue
16490 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16491 if ${version:+false} :; then :
16496 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16501 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16503 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16509 $ac_path_GPERF_found && break 3
16514 if test -z "$ac_cv_path_GPERF"; then
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16516 $as_echo "no" >&6; }
16519 ac_cv_path_GPERF
=$GPERF
16525 GPERF
=$ac_cv_path_GPERF
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16528 $as_echo "$GPERF" >&6; }
16533 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16540 $as_echo "no" >&6; }
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16549 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16550 if test -z "$GNUTAR"; then
16551 ac_path_GNUTAR_found
=false
16552 # Loop through the user's path and test for each of PROGNAME-LIST
16553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16554 for as_dir
in $PATH
16557 test -z "$as_dir" && as_dir
=.
16558 for ac_prog
in tar gtar gnutar
; do
16559 for ac_exec_ext
in '' $ac_executable_extensions; do
16560 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16561 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16562 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16563 if ${version:+false} :; then :
16568 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16573 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16575 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16581 $ac_path_GNUTAR_found && break 3
16586 if test -z "$ac_cv_path_GNUTAR"; then
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16588 $as_echo "no" >&6; }
16591 ac_cv_path_GNUTAR
=$GNUTAR
16597 GNUTAR
=$ac_cv_path_GNUTAR
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16600 $as_echo "$GNUTAR" >&6; }
16605 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16612 $as_echo "no" >&6; }
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16619 $as_echo_n "checking bison for %code{}... " >&6; }
16620 echo '%code{}%%_:' >conftest.y
16621 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16623 for element
in Bison24
; do
16625 for x
in $CY_FILTERS; do
16627 acl_save_prefix
="$prefix"
16628 prefix
="$acl_final_prefix"
16629 acl_save_exec_prefix
="$exec_prefix"
16630 exec_prefix
="$acl_final_exec_prefix"
16632 exec_prefix
="$acl_save_exec_prefix"
16633 prefix
="$acl_save_prefix"
16635 if test "X$x" = "X$element"; then
16640 if test -z "$haveit"; then
16641 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16646 $as_echo "yes" >&6; }
16649 for element
in Bison23
; do
16651 for x
in $CY_FILTERS; do
16653 acl_save_prefix
="$prefix"
16654 prefix
="$acl_final_prefix"
16655 acl_save_exec_prefix
="$exec_prefix"
16656 exec_prefix
="$acl_final_exec_prefix"
16658 exec_prefix
="$acl_save_exec_prefix"
16659 prefix
="$acl_save_prefix"
16661 if test "X$x" = "X$element"; then
16666 if test -z "$haveit"; then
16667 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16672 $as_echo "no" >&6; }
16686 if ${CFLAGS+:} false
; then :
16687 case " $CFLAGS " in
16689 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16690 (: CFLAGS already contains
) 2>&5
16692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16693 test $ac_status = 0; }
16696 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16697 (: CFLAGS
="$CFLAGS ") 2>&5
16699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16700 test $ac_status = 0; }
16709 ac_cpp
='$CPP $CPPFLAGS'
16710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16715 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16716 if ${ac_cv_cflags_warn_all+:} false
; then :
16717 $as_echo_n "(cached) " >&6
16719 ac_cv_cflags_warn_all
="no, unknown"
16720 ac_save_CFLAGS
="$CFLAGS"
16721 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" #
16722 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16734 if ac_fn_c_try_compile
"$LINENO"; then :
16735 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16739 CFLAGS
="$ac_save_CFLAGS"
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16743 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16745 case ".$ac_cv_cflags_warn_all" in
16748 *) if ${CFLAGS+:} false
; then :
16749 case " $CFLAGS " in
16750 *" $ac_cv_cflags_warn_all "*)
16751 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16752 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16755 test $ac_status = 0; }
16758 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16759 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16762 test $ac_status = 0; }
16763 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16767 CFLAGS
="$ac_cv_cflags_warn_all"
16773 ac_cpp
='$CXXCPP $CPPFLAGS'
16774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16780 ac_cpp
='$CXXCPP $CPPFLAGS'
16781 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16782 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16783 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16786 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16787 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16788 $as_echo_n "(cached) " >&6
16790 ac_cv_cxxflags_warn_all
="no, unknown"
16791 ac_save_CXXFLAGS
="$CXXFLAGS"
16792 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" #
16793 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16795 /* end confdefs.h. */
16805 if ac_fn_cxx_try_compile
"$LINENO"; then :
16806 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16810 CXXFLAGS
="$ac_save_CXXFLAGS"
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16814 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16816 case ".$ac_cv_cxxflags_warn_all" in
16819 *) if ${CXXFLAGS+:} false
; then :
16820 case " $CXXFLAGS " in
16821 *" $ac_cv_cxxflags_warn_all "*)
16822 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16823 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16826 test $ac_status = 0; }
16829 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16830 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16833 test $ac_status = 0; }
16834 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16838 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16844 ac_cpp
='$CXXCPP $CPPFLAGS'
16845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16851 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16852 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16853 $as_echo_n "(cached) " >&6
16855 ac_cv_cxxflags_warn_all
="no, unknown"
16856 ac_save_CXXFLAGS
="$CXXFLAGS"
16857 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" #
16858 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16870 if ac_fn_cxx_try_compile
"$LINENO"; then :
16871 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16875 CXXFLAGS
="$ac_save_CXXFLAGS"
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16879 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16881 case ".$ac_cv_cxxflags_warn_all" in
16884 *) if ${CXXFLAGS+:} false
; then :
16885 case " $CXXFLAGS " in
16886 *" $ac_cv_cxxflags_warn_all "*)
16887 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16888 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16891 test $ac_status = 0; }
16894 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16895 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16898 test $ac_status = 0; }
16899 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16903 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16913 ac_cpp
='$CPP $CPPFLAGS'
16914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
16919 $as_echo_n "checking for cc -Werror... " >&6; }
16923 for element
in -Werror; do
16925 for x
in $CFLAGS; do
16927 acl_save_prefix
="$prefix"
16928 prefix
="$acl_final_prefix"
16929 acl_save_exec_prefix
="$exec_prefix"
16930 exec_prefix
="$acl_final_exec_prefix"
16932 exec_prefix
="$acl_save_exec_prefix"
16933 prefix
="$acl_save_prefix"
16935 if test "X$x" = "X$element"; then
16940 if test -z "$haveit"; then
16941 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16950 if ac_fn_c_try_compile
"$LINENO"; then :
16955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16958 if test "x$cy_good" = x1
; then :
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16960 $as_echo "yes" >&6; }
16962 for element
in -Werror; do
16964 for x
in $CFLAGS; do
16966 acl_save_prefix
="$prefix"
16967 prefix
="$acl_final_prefix"
16968 acl_save_exec_prefix
="$exec_prefix"
16969 exec_prefix
="$acl_final_exec_prefix"
16971 exec_prefix
="$acl_save_exec_prefix"
16972 prefix
="$acl_save_prefix"
16974 if test "X$x" = "X$element"; then
16979 if test -z "$haveit"; then
16980 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16987 $as_echo "no" >&6; }
16991 ac_cpp
='$CXXCPP $CPPFLAGS'
16992 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16993 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16994 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16999 ac_cpp
='$CXXCPP $CPPFLAGS'
17000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
17005 $as_echo_n "checking for c++ -Werror... " >&6; }
17009 for element
in -Werror; do
17011 for x
in $CXXFLAGS; do
17013 acl_save_prefix
="$prefix"
17014 prefix
="$acl_final_prefix"
17015 acl_save_exec_prefix
="$exec_prefix"
17016 exec_prefix
="$acl_final_exec_prefix"
17018 exec_prefix
="$acl_save_exec_prefix"
17019 prefix
="$acl_save_prefix"
17021 if test "X$x" = "X$element"; then
17026 if test -z "$haveit"; then
17027 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17036 if ac_fn_cxx_try_compile
"$LINENO"; then :
17041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17044 if test "x$cy_good" = x1
; then :
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17046 $as_echo "yes" >&6; }
17048 for element
in -Werror; do
17050 for x
in $CXXFLAGS; do
17052 acl_save_prefix
="$prefix"
17053 prefix
="$acl_final_prefix"
17054 acl_save_exec_prefix
="$exec_prefix"
17055 exec_prefix
="$acl_final_exec_prefix"
17057 exec_prefix
="$acl_save_exec_prefix"
17058 prefix
="$acl_save_prefix"
17060 if test "X$x" = "X$element"; then
17065 if test -z "$haveit"; then
17066 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17073 $as_echo "no" >&6; }
17077 ac_cpp
='$CXXCPP $CPPFLAGS'
17078 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17079 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17080 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17085 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17086 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17087 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17088 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
17091 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
17093 cy_save
=$OBJCXXFLAGS
17095 for element
in -Werror; do
17097 for x
in $OBJCXXFLAGS; do
17099 acl_save_prefix
="$prefix"
17100 prefix
="$acl_final_prefix"
17101 acl_save_exec_prefix
="$exec_prefix"
17102 exec_prefix
="$acl_final_exec_prefix"
17104 exec_prefix
="$acl_save_exec_prefix"
17105 prefix
="$acl_save_prefix"
17107 if test "X$x" = "X$element"; then
17112 if test -z "$haveit"; then
17113 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17122 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17129 OBJCXXFLAGS
=$cy_save
17130 if test "x$cy_good" = x1
; then :
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17132 $as_echo "yes" >&6; }
17134 for element
in -Werror; do
17136 for x
in $OBJCXXFLAGS; do
17138 acl_save_prefix
="$prefix"
17139 prefix
="$acl_final_prefix"
17140 acl_save_exec_prefix
="$exec_prefix"
17141 exec_prefix
="$acl_final_exec_prefix"
17143 exec_prefix
="$acl_save_exec_prefix"
17144 prefix
="$acl_save_prefix"
17146 if test "X$x" = "X$element"; then
17151 if test -z "$haveit"; then
17152 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17159 $as_echo "no" >&6; }
17163 ac_cpp
='$CXXCPP $CPPFLAGS'
17164 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17165 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17166 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17174 ac_cpp
='$CPP $CPPFLAGS'
17175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17180 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17184 for element
in -Wno-deprecated-declarations; do
17186 for x
in $CFLAGS; do
17188 acl_save_prefix
="$prefix"
17189 prefix
="$acl_final_prefix"
17190 acl_save_exec_prefix
="$exec_prefix"
17191 exec_prefix
="$acl_final_exec_prefix"
17193 exec_prefix
="$acl_save_exec_prefix"
17194 prefix
="$acl_save_prefix"
17196 if test "X$x" = "X$element"; then
17201 if test -z "$haveit"; then
17202 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17211 if ac_fn_c_try_compile
"$LINENO"; then :
17216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17219 if test "x$cy_good" = x1
; then :
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17221 $as_echo "yes" >&6; }
17223 for element
in -Wno-deprecated-declarations; do
17225 for x
in $CFLAGS; do
17227 acl_save_prefix
="$prefix"
17228 prefix
="$acl_final_prefix"
17229 acl_save_exec_prefix
="$exec_prefix"
17230 exec_prefix
="$acl_final_exec_prefix"
17232 exec_prefix
="$acl_save_exec_prefix"
17233 prefix
="$acl_save_prefix"
17235 if test "X$x" = "X$element"; then
17240 if test -z "$haveit"; then
17241 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17248 $as_echo "no" >&6; }
17252 ac_cpp
='$CXXCPP $CPPFLAGS'
17253 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17254 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17255 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17260 ac_cpp
='$CXXCPP $CPPFLAGS'
17261 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17262 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17263 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17266 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17270 for element
in -Wno-deprecated-declarations; do
17272 for x
in $CXXFLAGS; do
17274 acl_save_prefix
="$prefix"
17275 prefix
="$acl_final_prefix"
17276 acl_save_exec_prefix
="$exec_prefix"
17277 exec_prefix
="$acl_final_exec_prefix"
17279 exec_prefix
="$acl_save_exec_prefix"
17280 prefix
="$acl_save_prefix"
17282 if test "X$x" = "X$element"; then
17287 if test -z "$haveit"; then
17288 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17294 /* end confdefs.h. */
17297 if ac_fn_cxx_try_compile
"$LINENO"; then :
17302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17305 if test "x$cy_good" = x1
; then :
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17307 $as_echo "yes" >&6; }
17309 for element
in -Wno-deprecated-declarations; do
17311 for x
in $CXXFLAGS; do
17313 acl_save_prefix
="$prefix"
17314 prefix
="$acl_final_prefix"
17315 acl_save_exec_prefix
="$exec_prefix"
17316 exec_prefix
="$acl_final_exec_prefix"
17318 exec_prefix
="$acl_save_exec_prefix"
17319 prefix
="$acl_save_prefix"
17321 if test "X$x" = "X$element"; then
17326 if test -z "$haveit"; then
17327 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17334 $as_echo "no" >&6; }
17338 ac_cpp
='$CXXCPP $CPPFLAGS'
17339 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17340 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17341 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17346 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17347 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17348 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17349 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17352 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17354 cy_save
=$OBJCXXFLAGS
17356 for element
in -Wno-deprecated-declarations; do
17358 for x
in $OBJCXXFLAGS; do
17360 acl_save_prefix
="$prefix"
17361 prefix
="$acl_final_prefix"
17362 acl_save_exec_prefix
="$exec_prefix"
17363 exec_prefix
="$acl_final_exec_prefix"
17365 exec_prefix
="$acl_save_exec_prefix"
17366 prefix
="$acl_save_prefix"
17368 if test "X$x" = "X$element"; then
17373 if test -z "$haveit"; then
17374 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17383 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17390 OBJCXXFLAGS
=$cy_save
17391 if test "x$cy_good" = x1
; then :
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17393 $as_echo "yes" >&6; }
17395 for element
in -Wno-deprecated-declarations; do
17397 for x
in $OBJCXXFLAGS; do
17399 acl_save_prefix
="$prefix"
17400 prefix
="$acl_final_prefix"
17401 acl_save_exec_prefix
="$exec_prefix"
17402 exec_prefix
="$acl_final_exec_prefix"
17404 exec_prefix
="$acl_save_exec_prefix"
17405 prefix
="$acl_save_prefix"
17407 if test "X$x" = "X$element"; then
17412 if test -z "$haveit"; then
17413 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17420 $as_echo "no" >&6; }
17424 ac_cpp
='$CXXCPP $CPPFLAGS'
17425 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17426 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17427 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17435 ac_cpp
='$CPP $CPPFLAGS'
17436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17441 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17445 for element
in -Wno-dangling-else; do
17447 for x
in $CFLAGS; do
17449 acl_save_prefix
="$prefix"
17450 prefix
="$acl_final_prefix"
17451 acl_save_exec_prefix
="$exec_prefix"
17452 exec_prefix
="$acl_final_exec_prefix"
17454 exec_prefix
="$acl_save_exec_prefix"
17455 prefix
="$acl_save_prefix"
17457 if test "X$x" = "X$element"; then
17462 if test -z "$haveit"; then
17463 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17472 if ac_fn_c_try_compile
"$LINENO"; then :
17477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17480 if test "x$cy_good" = x1
; then :
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17482 $as_echo "yes" >&6; }
17484 for element
in -Wno-dangling-else; do
17486 for x
in $CFLAGS; do
17488 acl_save_prefix
="$prefix"
17489 prefix
="$acl_final_prefix"
17490 acl_save_exec_prefix
="$exec_prefix"
17491 exec_prefix
="$acl_final_exec_prefix"
17493 exec_prefix
="$acl_save_exec_prefix"
17494 prefix
="$acl_save_prefix"
17496 if test "X$x" = "X$element"; then
17501 if test -z "$haveit"; then
17502 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17509 $as_echo "no" >&6; }
17513 ac_cpp
='$CXXCPP $CPPFLAGS'
17514 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17515 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17516 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17521 ac_cpp
='$CXXCPP $CPPFLAGS'
17522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
17527 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
17531 for element
in -Wno-dangling-else; do
17533 for x
in $CXXFLAGS; do
17535 acl_save_prefix
="$prefix"
17536 prefix
="$acl_final_prefix"
17537 acl_save_exec_prefix
="$exec_prefix"
17538 exec_prefix
="$acl_final_exec_prefix"
17540 exec_prefix
="$acl_save_exec_prefix"
17541 prefix
="$acl_save_prefix"
17543 if test "X$x" = "X$element"; then
17548 if test -z "$haveit"; then
17549 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17558 if ac_fn_cxx_try_compile
"$LINENO"; then :
17563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17566 if test "x$cy_good" = x1
; then :
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17568 $as_echo "yes" >&6; }
17570 for element
in -Wno-dangling-else; do
17572 for x
in $CXXFLAGS; do
17574 acl_save_prefix
="$prefix"
17575 prefix
="$acl_final_prefix"
17576 acl_save_exec_prefix
="$exec_prefix"
17577 exec_prefix
="$acl_final_exec_prefix"
17579 exec_prefix
="$acl_save_exec_prefix"
17580 prefix
="$acl_save_prefix"
17582 if test "X$x" = "X$element"; then
17587 if test -z "$haveit"; then
17588 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17595 $as_echo "no" >&6; }
17599 ac_cpp
='$CXXCPP $CPPFLAGS'
17600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17607 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17608 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17609 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17610 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
17613 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
17615 cy_save
=$OBJCXXFLAGS
17617 for element
in -Wno-dangling-else; do
17619 for x
in $OBJCXXFLAGS; do
17621 acl_save_prefix
="$prefix"
17622 prefix
="$acl_final_prefix"
17623 acl_save_exec_prefix
="$exec_prefix"
17624 exec_prefix
="$acl_final_exec_prefix"
17626 exec_prefix
="$acl_save_exec_prefix"
17627 prefix
="$acl_save_prefix"
17629 if test "X$x" = "X$element"; then
17634 if test -z "$haveit"; then
17635 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17644 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17651 OBJCXXFLAGS
=$cy_save
17652 if test "x$cy_good" = x1
; then :
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17654 $as_echo "yes" >&6; }
17656 for element
in -Wno-dangling-else; do
17658 for x
in $OBJCXXFLAGS; do
17660 acl_save_prefix
="$prefix"
17661 prefix
="$acl_final_prefix"
17662 acl_save_exec_prefix
="$exec_prefix"
17663 exec_prefix
="$acl_final_exec_prefix"
17665 exec_prefix
="$acl_save_exec_prefix"
17666 prefix
="$acl_save_prefix"
17668 if test "X$x" = "X$element"; then
17673 if test -z "$haveit"; then
17674 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17681 $as_echo "no" >&6; }
17685 ac_cpp
='$CXXCPP $CPPFLAGS'
17686 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17687 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17688 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17695 ac_cpp
='$CPP $CPPFLAGS'
17696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
17701 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
17705 for element
in -Wno-overloaded-virtual; do
17707 for x
in $CFLAGS; do
17709 acl_save_prefix
="$prefix"
17710 prefix
="$acl_final_prefix"
17711 acl_save_exec_prefix
="$exec_prefix"
17712 exec_prefix
="$acl_final_exec_prefix"
17714 exec_prefix
="$acl_save_exec_prefix"
17715 prefix
="$acl_save_prefix"
17717 if test "X$x" = "X$element"; then
17722 if test -z "$haveit"; then
17723 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h. */
17732 if ac_fn_c_try_compile
"$LINENO"; then :
17737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17740 if test "x$cy_good" = x1
; then :
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17742 $as_echo "yes" >&6; }
17744 for element
in -Wno-overloaded-virtual; do
17746 for x
in $CFLAGS; do
17748 acl_save_prefix
="$prefix"
17749 prefix
="$acl_final_prefix"
17750 acl_save_exec_prefix
="$exec_prefix"
17751 exec_prefix
="$acl_final_exec_prefix"
17753 exec_prefix
="$acl_save_exec_prefix"
17754 prefix
="$acl_save_prefix"
17756 if test "X$x" = "X$element"; then
17761 if test -z "$haveit"; then
17762 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17769 $as_echo "no" >&6; }
17773 ac_cpp
='$CXXCPP $CPPFLAGS'
17774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17781 ac_cpp
='$CXXCPP $CPPFLAGS'
17782 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17783 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17784 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
17787 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
17791 for element
in -Wno-overloaded-virtual; do
17793 for x
in $CXXFLAGS; do
17795 acl_save_prefix
="$prefix"
17796 prefix
="$acl_final_prefix"
17797 acl_save_exec_prefix
="$exec_prefix"
17798 exec_prefix
="$acl_final_exec_prefix"
17800 exec_prefix
="$acl_save_exec_prefix"
17801 prefix
="$acl_save_prefix"
17803 if test "X$x" = "X$element"; then
17808 if test -z "$haveit"; then
17809 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17818 if ac_fn_cxx_try_compile
"$LINENO"; then :
17823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17826 if test "x$cy_good" = x1
; then :
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17828 $as_echo "yes" >&6; }
17830 for element
in -Wno-overloaded-virtual; do
17832 for x
in $CXXFLAGS; do
17834 acl_save_prefix
="$prefix"
17835 prefix
="$acl_final_prefix"
17836 acl_save_exec_prefix
="$exec_prefix"
17837 exec_prefix
="$acl_final_exec_prefix"
17839 exec_prefix
="$acl_save_exec_prefix"
17840 prefix
="$acl_save_prefix"
17842 if test "X$x" = "X$element"; then
17847 if test -z "$haveit"; then
17848 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17855 $as_echo "no" >&6; }
17859 ac_cpp
='$CXXCPP $CPPFLAGS'
17860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17867 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17868 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17869 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17870 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
17873 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
17875 cy_save
=$OBJCXXFLAGS
17877 for element
in -Wno-overloaded-virtual; do
17879 for x
in $OBJCXXFLAGS; do
17881 acl_save_prefix
="$prefix"
17882 prefix
="$acl_final_prefix"
17883 acl_save_exec_prefix
="$exec_prefix"
17884 exec_prefix
="$acl_final_exec_prefix"
17886 exec_prefix
="$acl_save_exec_prefix"
17887 prefix
="$acl_save_prefix"
17889 if test "X$x" = "X$element"; then
17894 if test -z "$haveit"; then
17895 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17901 /* end confdefs.h. */
17904 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17911 OBJCXXFLAGS
=$cy_save
17912 if test "x$cy_good" = x1
; then :
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17914 $as_echo "yes" >&6; }
17916 for element
in -Wno-overloaded-virtual; do
17918 for x
in $OBJCXXFLAGS; do
17920 acl_save_prefix
="$prefix"
17921 prefix
="$acl_final_prefix"
17922 acl_save_exec_prefix
="$exec_prefix"
17923 exec_prefix
="$acl_final_exec_prefix"
17925 exec_prefix
="$acl_save_exec_prefix"
17926 prefix
="$acl_save_prefix"
17928 if test "X$x" = "X$element"; then
17933 if test -z "$haveit"; then
17934 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17941 $as_echo "no" >&6; }
17945 ac_cpp
='$CXXCPP $CPPFLAGS'
17946 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17947 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17948 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17955 ac_cpp
='$CPP $CPPFLAGS'
17956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
17961 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
17965 for element
in -Wno-parentheses; do
17967 for x
in $CFLAGS; do
17969 acl_save_prefix
="$prefix"
17970 prefix
="$acl_final_prefix"
17971 acl_save_exec_prefix
="$exec_prefix"
17972 exec_prefix
="$acl_final_exec_prefix"
17974 exec_prefix
="$acl_save_exec_prefix"
17975 prefix
="$acl_save_prefix"
17977 if test "X$x" = "X$element"; then
17982 if test -z "$haveit"; then
17983 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17992 if ac_fn_c_try_compile
"$LINENO"; then :
17997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18000 if test "x$cy_good" = x1
; then :
18001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18002 $as_echo "yes" >&6; }
18004 for element
in -Wno-parentheses; do
18006 for x
in $CFLAGS; do
18008 acl_save_prefix
="$prefix"
18009 prefix
="$acl_final_prefix"
18010 acl_save_exec_prefix
="$exec_prefix"
18011 exec_prefix
="$acl_final_exec_prefix"
18013 exec_prefix
="$acl_save_exec_prefix"
18014 prefix
="$acl_save_prefix"
18016 if test "X$x" = "X$element"; then
18021 if test -z "$haveit"; then
18022 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18029 $as_echo "no" >&6; }
18033 ac_cpp
='$CXXCPP $CPPFLAGS'
18034 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18035 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18036 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18041 ac_cpp
='$CXXCPP $CPPFLAGS'
18042 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18043 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18044 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
18047 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
18051 for element
in -Wno-parentheses; do
18053 for x
in $CXXFLAGS; do
18055 acl_save_prefix
="$prefix"
18056 prefix
="$acl_final_prefix"
18057 acl_save_exec_prefix
="$exec_prefix"
18058 exec_prefix
="$acl_final_exec_prefix"
18060 exec_prefix
="$acl_save_exec_prefix"
18061 prefix
="$acl_save_prefix"
18063 if test "X$x" = "X$element"; then
18068 if test -z "$haveit"; then
18069 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18078 if ac_fn_cxx_try_compile
"$LINENO"; then :
18083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18086 if test "x$cy_good" = x1
; then :
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18088 $as_echo "yes" >&6; }
18090 for element
in -Wno-parentheses; do
18092 for x
in $CXXFLAGS; do
18094 acl_save_prefix
="$prefix"
18095 prefix
="$acl_final_prefix"
18096 acl_save_exec_prefix
="$exec_prefix"
18097 exec_prefix
="$acl_final_exec_prefix"
18099 exec_prefix
="$acl_save_exec_prefix"
18100 prefix
="$acl_save_prefix"
18102 if test "X$x" = "X$element"; then
18107 if test -z "$haveit"; then
18108 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18115 $as_echo "no" >&6; }
18119 ac_cpp
='$CXXCPP $CPPFLAGS'
18120 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18121 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18122 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18127 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18128 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18129 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18130 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
18133 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
18135 cy_save
=$OBJCXXFLAGS
18137 for element
in -Wno-parentheses; do
18139 for x
in $OBJCXXFLAGS; do
18141 acl_save_prefix
="$prefix"
18142 prefix
="$acl_final_prefix"
18143 acl_save_exec_prefix
="$exec_prefix"
18144 exec_prefix
="$acl_final_exec_prefix"
18146 exec_prefix
="$acl_save_exec_prefix"
18147 prefix
="$acl_save_prefix"
18149 if test "X$x" = "X$element"; then
18154 if test -z "$haveit"; then
18155 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18161 /* end confdefs.h. */
18164 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18171 OBJCXXFLAGS
=$cy_save
18172 if test "x$cy_good" = x1
; then :
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18174 $as_echo "yes" >&6; }
18176 for element
in -Wno-parentheses; do
18178 for x
in $OBJCXXFLAGS; do
18180 acl_save_prefix
="$prefix"
18181 prefix
="$acl_final_prefix"
18182 acl_save_exec_prefix
="$exec_prefix"
18183 exec_prefix
="$acl_final_exec_prefix"
18185 exec_prefix
="$acl_save_exec_prefix"
18186 prefix
="$acl_save_prefix"
18188 if test "X$x" = "X$element"; then
18193 if test -z "$haveit"; then
18194 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18201 $as_echo "no" >&6; }
18205 ac_cpp
='$CXXCPP $CPPFLAGS'
18206 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18207 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18208 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18215 ac_cpp
='$CPP $CPPFLAGS'
18216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
18221 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
18225 for element
in -Wno-unneeded-internal-declaration; do
18227 for x
in $CFLAGS; do
18229 acl_save_prefix
="$prefix"
18230 prefix
="$acl_final_prefix"
18231 acl_save_exec_prefix
="$exec_prefix"
18232 exec_prefix
="$acl_final_exec_prefix"
18234 exec_prefix
="$acl_save_exec_prefix"
18235 prefix
="$acl_save_prefix"
18237 if test "X$x" = "X$element"; then
18242 if test -z "$haveit"; then
18243 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18252 if ac_fn_c_try_compile
"$LINENO"; then :
18257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18260 if test "x$cy_good" = x1
; then :
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18262 $as_echo "yes" >&6; }
18264 for element
in -Wno-unneeded-internal-declaration; do
18266 for x
in $CFLAGS; do
18268 acl_save_prefix
="$prefix"
18269 prefix
="$acl_final_prefix"
18270 acl_save_exec_prefix
="$exec_prefix"
18271 exec_prefix
="$acl_final_exec_prefix"
18273 exec_prefix
="$acl_save_exec_prefix"
18274 prefix
="$acl_save_prefix"
18276 if test "X$x" = "X$element"; then
18281 if test -z "$haveit"; then
18282 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18289 $as_echo "no" >&6; }
18293 ac_cpp
='$CXXCPP $CPPFLAGS'
18294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18301 ac_cpp
='$CXXCPP $CPPFLAGS'
18302 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18303 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18304 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18307 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18311 for element
in -Wno-unneeded-internal-declaration; do
18313 for x
in $CXXFLAGS; do
18315 acl_save_prefix
="$prefix"
18316 prefix
="$acl_final_prefix"
18317 acl_save_exec_prefix
="$exec_prefix"
18318 exec_prefix
="$acl_final_exec_prefix"
18320 exec_prefix
="$acl_save_exec_prefix"
18321 prefix
="$acl_save_prefix"
18323 if test "X$x" = "X$element"; then
18328 if test -z "$haveit"; then
18329 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18335 /* end confdefs.h. */
18338 if ac_fn_cxx_try_compile
"$LINENO"; then :
18343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18346 if test "x$cy_good" = x1
; then :
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18348 $as_echo "yes" >&6; }
18350 for element
in -Wno-unneeded-internal-declaration; do
18352 for x
in $CXXFLAGS; do
18354 acl_save_prefix
="$prefix"
18355 prefix
="$acl_final_prefix"
18356 acl_save_exec_prefix
="$exec_prefix"
18357 exec_prefix
="$acl_final_exec_prefix"
18359 exec_prefix
="$acl_save_exec_prefix"
18360 prefix
="$acl_save_prefix"
18362 if test "X$x" = "X$element"; then
18367 if test -z "$haveit"; then
18368 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18375 $as_echo "no" >&6; }
18379 ac_cpp
='$CXXCPP $CPPFLAGS'
18380 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18381 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18382 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18387 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18388 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18389 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18390 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18393 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18395 cy_save
=$OBJCXXFLAGS
18397 for element
in -Wno-unneeded-internal-declaration; do
18399 for x
in $OBJCXXFLAGS; do
18401 acl_save_prefix
="$prefix"
18402 prefix
="$acl_final_prefix"
18403 acl_save_exec_prefix
="$exec_prefix"
18404 exec_prefix
="$acl_final_exec_prefix"
18406 exec_prefix
="$acl_save_exec_prefix"
18407 prefix
="$acl_save_prefix"
18409 if test "X$x" = "X$element"; then
18414 if test -z "$haveit"; then
18415 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18421 /* end confdefs.h. */
18424 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18431 OBJCXXFLAGS
=$cy_save
18432 if test "x$cy_good" = x1
; then :
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18434 $as_echo "yes" >&6; }
18436 for element
in -Wno-unneeded-internal-declaration; do
18438 for x
in $OBJCXXFLAGS; do
18440 acl_save_prefix
="$prefix"
18441 prefix
="$acl_final_prefix"
18442 acl_save_exec_prefix
="$exec_prefix"
18443 exec_prefix
="$acl_final_exec_prefix"
18445 exec_prefix
="$acl_save_exec_prefix"
18446 prefix
="$acl_save_prefix"
18448 if test "X$x" = "X$element"; then
18453 if test -z "$haveit"; then
18454 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18461 $as_echo "no" >&6; }
18465 ac_cpp
='$CXXCPP $CPPFLAGS'
18466 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18467 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18468 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18475 for cy_arch
in ppc ppc64 i386 x86_64 armv6 arm64
; do
18476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
18477 $as_echo_n "checking for -arch $cy_arch... " >&6; }
18481 for element
in "-arch $cy_arch"; do
18483 for x
in $CXXFLAGS; do
18485 acl_save_prefix
="$prefix"
18486 prefix
="$acl_final_prefix"
18487 acl_save_exec_prefix
="$exec_prefix"
18488 exec_prefix
="$acl_final_exec_prefix"
18490 exec_prefix
="$acl_save_exec_prefix"
18491 prefix
="$acl_save_prefix"
18493 if test "X$x" = "X$element"; then
18498 if test -z "$haveit"; then
18499 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18505 /* end confdefs.h. */
18515 if ac_fn_cxx_try_link
"$LINENO"; then :
18520 rm -f core conftest.err conftest.
$ac_objext \
18521 conftest
$ac_exeext conftest.
$ac_ext
18524 if test "x$cy_good" = x1
; then :
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18526 $as_echo "yes" >&6; }
18528 for element
in "-arch $cy_arch"; do
18530 for x
in $CY_ARCH; do
18532 acl_save_prefix
="$prefix"
18533 prefix
="$acl_final_prefix"
18534 acl_save_exec_prefix
="$exec_prefix"
18535 exec_prefix
="$acl_final_exec_prefix"
18537 exec_prefix
="$acl_save_exec_prefix"
18538 prefix
="$acl_save_prefix"
18540 if test "X$x" = "X$element"; then
18545 if test -z "$haveit"; then
18546 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18553 $as_echo "no" >&6; }
18563 # Check whether --enable-javascript was given.
18564 if test "${enable_javascript+set}" = set; then :
18565 enableval
=$enable_javascript;
18566 case $enableval in #(
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
18575 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
18576 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18577 $as_echo_n "(cached) " >&6
18579 ac_func_search_save_LIBS
=$LIBS
18580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18583 /* Override any GCC internal prototype to avoid an error.
18584 Use char because int might match the return type of a GCC
18585 builtin and then its argument prototype would still apply. */
18589 char JSEvaluateScript ();
18593 return JSEvaluateScript ();
18598 for ac_lib
in '' JavaScriptCore
; do
18599 if test -z "$ac_lib"; then
18600 ac_res
="none required"
18603 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18605 if ac_fn_cxx_try_link
"$LINENO"; then :
18606 ac_cv_search_JSEvaluateScript
=$ac_res
18608 rm -f core conftest.err conftest.
$ac_objext \
18610 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18614 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18617 ac_cv_search_JSEvaluateScript
=no
18619 rm conftest.
$ac_ext
18620 LIBS
=$ac_func_search_save_LIBS
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
18623 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
18624 ac_res
=$ac_cv_search_JSEvaluateScript
18625 if test "$ac_res" != no
; then :
18626 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18634 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18635 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18636 $as_echo_n "(cached) " >&6
18639 ac_check_framework_save_LIBS
=$LIBS
18640 LIBS
="-framework JavaScriptCore $LIBS"
18641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18644 #include <JavaScriptCore/JSBase.h>
18650 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18656 if ac_fn_cxx_try_link
"$LINENO"; then :
18658 ac_cv_framework_JavaScriptCore
=yes
18661 ac_cv_framework_JavaScriptCore
=no
18663 rm -f core conftest.err conftest.
$ac_objext \
18664 conftest
$ac_exeext conftest.
$ac_ext
18665 LIBS
=$ac_check_framework_save_LIBS
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18669 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18670 if test $ac_cv_framework_JavaScriptCore = yes; then :
18673 for element
in "-framework JavaScriptCore"; do
18677 acl_save_prefix
="$prefix"
18678 prefix
="$acl_final_prefix"
18679 acl_save_exec_prefix
="$exec_prefix"
18680 exec_prefix
="$acl_final_exec_prefix"
18682 exec_prefix
="$acl_save_exec_prefix"
18683 prefix
="$acl_save_prefix"
18685 if test "X$x" = "X$element"; then
18690 if test -z "$haveit"; then
18691 LIBS
="${LIBS}${LIBS:+ }$element"
18702 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18706 $as_echo_n "checking for WEBKIT... " >&6; }
18708 if test -n "$WEBKIT_CFLAGS"; then
18709 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18710 elif test -n "$PKG_CONFIG"; then
18711 if test -n "$PKG_CONFIG" && \
18712 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18713 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18716 test $ac_status = 0; }; then
18717 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18724 if test -n "$WEBKIT_LIBS"; then
18725 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18726 elif test -n "$PKG_CONFIG"; then
18727 if test -n "$PKG_CONFIG" && \
18728 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18729 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18732 test $ac_status = 0; }; then
18733 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18743 if test $pkg_failed = yes; then
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18745 $as_echo "no" >&6; }
18747 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18748 _pkg_short_errors_supported
=yes
18750 _pkg_short_errors_supported
=no
18752 if test $_pkg_short_errors_supported = yes; then
18753 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18755 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18757 # Put the nasty error message in config.log where it belongs
18758 echo "$WEBKIT_PKG_ERRORS" >&5
18761 elif test $pkg_failed = untried
; then
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18763 $as_echo "no" >&6; }
18766 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18767 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18769 $as_echo "yes" >&6; }
18774 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18776 for x
in $CPPFLAGS; do
18778 acl_save_prefix
="$prefix"
18779 prefix
="$acl_final_prefix"
18780 acl_save_exec_prefix
="$exec_prefix"
18781 exec_prefix
="$acl_final_exec_prefix"
18783 exec_prefix
="$acl_save_exec_prefix"
18784 prefix
="$acl_save_prefix"
18786 if test "X$x" = "X$element"; then
18791 if test -z "$haveit"; then
18792 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18797 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18801 acl_save_prefix
="$prefix"
18802 prefix
="$acl_final_prefix"
18803 acl_save_exec_prefix
="$exec_prefix"
18804 exec_prefix
="$acl_final_exec_prefix"
18806 exec_prefix
="$acl_save_exec_prefix"
18807 prefix
="$acl_save_prefix"
18809 if test "X$x" = "X$element"; then
18814 if test -z "$haveit"; then
18815 LIBS
="${LIBS}${LIBS:+ }$element"
18820 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18826 LTJAVASCRIPTCORE
=$LIBS
18841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
18842 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
18843 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18844 $as_echo_n "(cached) " >&6
18846 ac_func_search_save_LIBS
=$LIBS
18847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18848 /* end confdefs.h. */
18850 /* Override any GCC internal prototype to avoid an error.
18851 Use char because int might match the return type of a GCC
18852 builtin and then its argument prototype would still apply. */
18856 char JSEvaluateScript ();
18860 return JSEvaluateScript ();
18865 for ac_lib
in '' JavaScriptCore
; do
18866 if test -z "$ac_lib"; then
18867 ac_res
="none required"
18870 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18872 if ac_fn_cxx_try_link
"$LINENO"; then :
18873 ac_cv_search_JSEvaluateScript
=$ac_res
18875 rm -f core conftest.err conftest.
$ac_objext \
18877 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18881 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
18884 ac_cv_search_JSEvaluateScript
=no
18886 rm conftest.
$ac_ext
18887 LIBS
=$ac_func_search_save_LIBS
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
18890 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
18891 ac_res
=$ac_cv_search_JSEvaluateScript
18892 if test "$ac_res" != no
; then :
18893 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18901 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18902 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18903 $as_echo_n "(cached) " >&6
18906 ac_check_framework_save_LIBS
=$LIBS
18907 LIBS
="-framework JavaScriptCore $LIBS"
18908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18909 /* end confdefs.h. */
18911 #include <JavaScriptCore/JSBase.h>
18917 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18923 if ac_fn_cxx_try_link
"$LINENO"; then :
18925 ac_cv_framework_JavaScriptCore
=yes
18928 ac_cv_framework_JavaScriptCore
=no
18930 rm -f core conftest.err conftest.
$ac_objext \
18931 conftest
$ac_exeext conftest.
$ac_ext
18932 LIBS
=$ac_check_framework_save_LIBS
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18936 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18937 if test $ac_cv_framework_JavaScriptCore = yes; then :
18940 for element
in "-framework JavaScriptCore"; do
18944 acl_save_prefix
="$prefix"
18945 prefix
="$acl_final_prefix"
18946 acl_save_exec_prefix
="$exec_prefix"
18947 exec_prefix
="$acl_final_exec_prefix"
18949 exec_prefix
="$acl_save_exec_prefix"
18950 prefix
="$acl_save_prefix"
18952 if test "X$x" = "X$element"; then
18957 if test -z "$haveit"; then
18958 LIBS
="${LIBS}${LIBS:+ }$element"
18969 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18973 $as_echo_n "checking for WEBKIT... " >&6; }
18975 if test -n "$WEBKIT_CFLAGS"; then
18976 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18977 elif test -n "$PKG_CONFIG"; then
18978 if test -n "$PKG_CONFIG" && \
18979 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18980 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18983 test $ac_status = 0; }; then
18984 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18991 if test -n "$WEBKIT_LIBS"; then
18992 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18993 elif test -n "$PKG_CONFIG"; then
18994 if test -n "$PKG_CONFIG" && \
18995 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18996 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18999 test $ac_status = 0; }; then
19000 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19010 if test $pkg_failed = yes; then
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19012 $as_echo "no" >&6; }
19014 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19015 _pkg_short_errors_supported
=yes
19017 _pkg_short_errors_supported
=no
19019 if test $_pkg_short_errors_supported = yes; then
19020 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
19022 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
19024 # Put the nasty error message in config.log where it belongs
19025 echo "$WEBKIT_PKG_ERRORS" >&5
19028 elif test $pkg_failed = untried
; then
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19030 $as_echo "no" >&6; }
19033 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19034 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19036 $as_echo "yes" >&6; }
19041 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19043 for x
in $CPPFLAGS; do
19045 acl_save_prefix
="$prefix"
19046 prefix
="$acl_final_prefix"
19047 acl_save_exec_prefix
="$exec_prefix"
19048 exec_prefix
="$acl_final_exec_prefix"
19050 exec_prefix
="$acl_save_exec_prefix"
19051 prefix
="$acl_save_prefix"
19053 if test "X$x" = "X$element"; then
19058 if test -z "$haveit"; then
19059 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19064 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19068 acl_save_prefix
="$prefix"
19069 prefix
="$acl_final_prefix"
19070 acl_save_exec_prefix
="$exec_prefix"
19071 exec_prefix
="$acl_final_exec_prefix"
19073 exec_prefix
="$acl_save_exec_prefix"
19074 prefix
="$acl_save_prefix"
19076 if test "X$x" = "X$element"; then
19081 if test -z "$haveit"; then
19082 LIBS
="${LIBS}${LIBS:+ }$element"
19087 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19093 LTJAVASCRIPTCORE
=$LIBS
19099 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19109 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19110 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19111 $as_echo_n "(cached) " >&6
19113 ac_func_search_save_LIBS
=$LIBS
19114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19115 /* end confdefs.h. */
19117 /* Override any GCC internal prototype to avoid an error.
19118 Use char because int might match the return type of a GCC
19119 builtin and then its argument prototype would still apply. */
19123 char JSEvaluateScript ();
19127 return JSEvaluateScript ();
19132 for ac_lib
in '' JavaScriptCore
; do
19133 if test -z "$ac_lib"; then
19134 ac_res
="none required"
19137 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19139 if ac_fn_cxx_try_link
"$LINENO"; then :
19140 ac_cv_search_JSEvaluateScript
=$ac_res
19142 rm -f core conftest.err conftest.
$ac_objext \
19144 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19148 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19151 ac_cv_search_JSEvaluateScript
=no
19153 rm conftest.
$ac_ext
19154 LIBS
=$ac_func_search_save_LIBS
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19157 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19158 ac_res
=$ac_cv_search_JSEvaluateScript
19159 if test "$ac_res" != no
; then :
19160 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19168 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19169 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19170 $as_echo_n "(cached) " >&6
19173 ac_check_framework_save_LIBS
=$LIBS
19174 LIBS
="-framework JavaScriptCore $LIBS"
19175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19178 #include <JavaScriptCore/JSBase.h>
19184 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19190 if ac_fn_cxx_try_link
"$LINENO"; then :
19192 ac_cv_framework_JavaScriptCore
=yes
19195 ac_cv_framework_JavaScriptCore
=no
19197 rm -f core conftest.err conftest.
$ac_objext \
19198 conftest
$ac_exeext conftest.
$ac_ext
19199 LIBS
=$ac_check_framework_save_LIBS
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19203 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19204 if test $ac_cv_framework_JavaScriptCore = yes; then :
19207 for element
in "-framework JavaScriptCore"; do
19211 acl_save_prefix
="$prefix"
19212 prefix
="$acl_final_prefix"
19213 acl_save_exec_prefix
="$exec_prefix"
19214 exec_prefix
="$acl_final_exec_prefix"
19216 exec_prefix
="$acl_save_exec_prefix"
19217 prefix
="$acl_save_prefix"
19219 if test "X$x" = "X$element"; then
19224 if test -z "$haveit"; then
19225 LIBS
="${LIBS}${LIBS:+ }$element"
19236 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
19239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
19240 $as_echo_n "checking for WEBKIT... " >&6; }
19242 if test -n "$WEBKIT_CFLAGS"; then
19243 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
19244 elif test -n "$PKG_CONFIG"; then
19245 if test -n "$PKG_CONFIG" && \
19246 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19247 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19250 test $ac_status = 0; }; then
19251 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
19258 if test -n "$WEBKIT_LIBS"; then
19259 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
19260 elif test -n "$PKG_CONFIG"; then
19261 if test -n "$PKG_CONFIG" && \
19262 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19263 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19266 test $ac_status = 0; }; then
19267 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19277 if test $pkg_failed = yes; then
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19279 $as_echo "no" >&6; }
19281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19282 _pkg_short_errors_supported
=yes
19284 _pkg_short_errors_supported
=no
19286 if test $_pkg_short_errors_supported = yes; then
19287 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
19289 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
19291 # Put the nasty error message in config.log where it belongs
19292 echo "$WEBKIT_PKG_ERRORS" >&5
19295 elif test $pkg_failed = untried
; then
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19297 $as_echo "no" >&6; }
19300 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19301 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19303 $as_echo "yes" >&6; }
19308 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19310 for x
in $CPPFLAGS; do
19312 acl_save_prefix
="$prefix"
19313 prefix
="$acl_final_prefix"
19314 acl_save_exec_prefix
="$exec_prefix"
19315 exec_prefix
="$acl_final_exec_prefix"
19317 exec_prefix
="$acl_save_exec_prefix"
19318 prefix
="$acl_save_prefix"
19320 if test "X$x" = "X$element"; then
19325 if test -z "$haveit"; then
19326 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19331 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19335 acl_save_prefix
="$prefix"
19336 prefix
="$acl_final_prefix"
19337 acl_save_exec_prefix
="$exec_prefix"
19338 exec_prefix
="$acl_final_exec_prefix"
19340 exec_prefix
="$acl_save_exec_prefix"
19341 prefix
="$acl_save_prefix"
19343 if test "X$x" = "X$element"; then
19348 if test -z "$haveit"; then
19349 LIBS
="${LIBS}${LIBS:+ }$element"
19354 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19360 LTJAVASCRIPTCORE
=$LIBS
19368 # Check whether --enable-console was given.
19369 if test "${enable_console+set}" = set; then :
19370 enableval
=$enable_console;
19373 if test "x$enable_console" != "xno"; then
19375 CY_CONSOLE_FALSE
='#'
19377 CY_CONSOLE_TRUE
='#'
19384 if test "x$CY_EXECUTE" = x1
; then
19386 CY_EXECUTE_FALSE
='#'
19388 CY_EXECUTE_TRUE
='#'
19394 case $CY_EXECUTE in #(
19397 for ac_header
in ffi.h ffi
/ffi.h
19399 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19400 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19401 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19402 cat >>confdefs.h
<<_ACEOF
19403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19414 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19418 C compiler flags
for LIBFFI
, overriding pkg
-config
19419 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
19422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19423 $as_echo_n "checking for LIBFFI... " >&6; }
19425 if test -n "$LIBFFI_CFLAGS"; then
19426 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19427 elif test -n "$PKG_CONFIG"; then
19428 if test -n "$PKG_CONFIG" && \
19429 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19430 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19433 test $ac_status = 0; }; then
19434 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19441 if test -n "$LIBFFI_LIBS"; then
19442 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19443 elif test -n "$PKG_CONFIG"; then
19444 if test -n "$PKG_CONFIG" && \
19445 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19446 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19449 test $ac_status = 0; }; then
19450 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19460 if test $pkg_failed = yes; then
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19462 $as_echo "no" >&6; }
19464 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19465 _pkg_short_errors_supported
=yes
19467 _pkg_short_errors_supported
=no
19469 if test $_pkg_short_errors_supported = yes; then
19470 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19472 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19474 # Put the nasty error message in config.log where it belongs
19475 echo "$LIBFFI_PKG_ERRORS" >&5
19477 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19478 elif test $pkg_failed = untried
; then
19479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19480 $as_echo "no" >&6; }
19481 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19483 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19484 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19486 $as_echo "yes" >&6; }
19489 for element
in `$PKG_CONFIG --cflags libffi`; do
19491 for x
in $CPPFLAGS; do
19493 acl_save_prefix
="$prefix"
19494 prefix
="$acl_final_prefix"
19495 acl_save_exec_prefix
="$exec_prefix"
19496 exec_prefix
="$acl_final_exec_prefix"
19498 exec_prefix
="$acl_save_exec_prefix"
19499 prefix
="$acl_save_prefix"
19501 if test "X$x" = "X$element"; then
19506 if test -z "$haveit"; then
19507 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19512 for element
in `$PKG_CONFIG --libs libffi`; do
19516 acl_save_prefix
="$prefix"
19517 prefix
="$acl_final_prefix"
19518 acl_save_exec_prefix
="$exec_prefix"
19519 exec_prefix
="$acl_final_exec_prefix"
19521 exec_prefix
="$acl_save_exec_prefix"
19522 prefix
="$acl_save_prefix"
19524 if test "X$x" = "X$element"; then
19529 if test -z "$haveit"; then
19530 LIBS
="${LIBS}${LIBS:+ }$element"
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19540 $as_echo_n "checking for library containing ffi_call... " >&6; }
19541 if ${ac_cv_search_ffi_call+:} false
; then :
19542 $as_echo_n "(cached) " >&6
19544 ac_func_search_save_LIBS
=$LIBS
19545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19546 /* end confdefs.h. */
19548 /* Override any GCC internal prototype to avoid an error.
19549 Use char because int might match the return type of a GCC
19550 builtin and then its argument prototype would still apply. */
19558 return ffi_call ();
19563 for ac_lib
in '' ffi
; do
19564 if test -z "$ac_lib"; then
19565 ac_res
="none required"
19568 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19570 if ac_fn_cxx_try_link
"$LINENO"; then :
19571 ac_cv_search_ffi_call
=$ac_res
19573 rm -f core conftest.err conftest.
$ac_objext \
19575 if ${ac_cv_search_ffi_call+:} false
; then :
19579 if ${ac_cv_search_ffi_call+:} false
; then :
19582 ac_cv_search_ffi_call
=no
19584 rm conftest.
$ac_ext
19585 LIBS
=$ac_func_search_save_LIBS
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19588 $as_echo "$ac_cv_search_ffi_call" >&6; }
19589 ac_res
=$ac_cv_search_ffi_call
19590 if test "$ac_res" != no
; then :
19591 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19595 case $ac_cv_search_ffi_call in #(
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19601 $as_echo_n "checking for LIBFFI... " >&6; }
19603 if test -n "$LIBFFI_CFLAGS"; then
19604 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19605 elif test -n "$PKG_CONFIG"; then
19606 if test -n "$PKG_CONFIG" && \
19607 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19608 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19611 test $ac_status = 0; }; then
19612 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19619 if test -n "$LIBFFI_LIBS"; then
19620 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19621 elif test -n "$PKG_CONFIG"; then
19622 if test -n "$PKG_CONFIG" && \
19623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19624 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19627 test $ac_status = 0; }; then
19628 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19638 if test $pkg_failed = yes; then
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19640 $as_echo "no" >&6; }
19642 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19643 _pkg_short_errors_supported
=yes
19645 _pkg_short_errors_supported
=no
19647 if test $_pkg_short_errors_supported = yes; then
19648 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19650 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19652 # Put the nasty error message in config.log where it belongs
19653 echo "$LIBFFI_PKG_ERRORS" >&5
19655 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19656 elif test $pkg_failed = untried
; then
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19658 $as_echo "no" >&6; }
19659 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19661 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19662 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19664 $as_echo "yes" >&6; }
19667 for element
in `$PKG_CONFIG --cflags libffi`; do
19669 for x
in $CPPFLAGS; do
19671 acl_save_prefix
="$prefix"
19672 prefix
="$acl_final_prefix"
19673 acl_save_exec_prefix
="$exec_prefix"
19674 exec_prefix
="$acl_final_exec_prefix"
19676 exec_prefix
="$acl_save_exec_prefix"
19677 prefix
="$acl_save_prefix"
19679 if test "X$x" = "X$element"; then
19684 if test -z "$haveit"; then
19685 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19690 for element
in `$PKG_CONFIG --libs libffi`; do
19694 acl_save_prefix
="$prefix"
19695 prefix
="$acl_final_prefix"
19696 acl_save_exec_prefix
="$exec_prefix"
19697 exec_prefix
="$acl_final_exec_prefix"
19699 exec_prefix
="$acl_save_exec_prefix"
19700 prefix
="$acl_save_prefix"
19702 if test "X$x" = "X$element"; then
19707 if test -z "$haveit"; then
19708 LIBS
="${LIBS}${LIBS:+ }$element"
19724 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
19725 if test "x$ac_cv_header_jni_h" = xyes
; then :
19732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
19733 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
19734 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
19735 $as_echo_n "(cached) " >&6
19737 ac_func_search_save_LIBS
=$LIBS
19738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19739 /* end confdefs.h. */
19741 /* Override any GCC internal prototype to avoid an error.
19742 Use char because int might match the return type of a GCC
19743 builtin and then its argument prototype would still apply. */
19747 char JNI_GetCreatedJavaVMs ();
19751 return JNI_GetCreatedJavaVMs ();
19756 for ac_lib
in '' dvm
; do
19757 if test -z "$ac_lib"; then
19758 ac_res
="none required"
19761 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19763 if ac_fn_cxx_try_link
"$LINENO"; then :
19764 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
19766 rm -f core conftest.err conftest.
$ac_objext \
19768 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
19772 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
19775 ac_cv_search_JNI_GetCreatedJavaVMs
=no
19777 rm conftest.
$ac_ext
19778 LIBS
=$ac_func_search_save_LIBS
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
19781 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
19782 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
19783 if test "$ac_res" != no
; then :
19784 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19804 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19805 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19806 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19807 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19811 $as_echo_n "checking if we really have Objective C++... " >&6; }
19812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19813 /* end confdefs.h. */
19816 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19820 $as_echo "yes" >&6; }
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19824 $as_echo "no" >&6; }
19826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19828 if test "x$CY_OBJECTIVEC" = x1
; then :
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19835 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19836 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19837 $as_echo_n "(cached) " >&6
19840 ac_check_framework_save_LIBS
=$LIBS
19841 LIBS
="-framework CoreFoundation $LIBS"
19842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19845 #include <CoreFoundation/CFBase.h>
19850 CFAllocatorGetDefault();
19855 if ac_fn_objcxx_try_link
"$LINENO"; then :
19857 ac_cv_framework_CoreFoundation
=yes
19860 ac_cv_framework_CoreFoundation
=no
19862 rm -f core conftest.err conftest.
$ac_objext \
19863 conftest
$ac_exeext conftest.
$ac_ext
19864 LIBS
=$ac_check_framework_save_LIBS
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19868 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19869 if test $ac_cv_framework_CoreFoundation = yes; then :
19872 for element
in "-framework CoreFoundation"; do
19876 acl_save_prefix
="$prefix"
19877 prefix
="$acl_final_prefix"
19878 acl_save_exec_prefix
="$exec_prefix"
19879 exec_prefix
="$acl_final_exec_prefix"
19881 exec_prefix
="$acl_save_exec_prefix"
19882 prefix
="$acl_save_prefix"
19884 if test "X$x" = "X$element"; then
19889 if test -z "$haveit"; then
19890 LIBS
="${LIBS}${LIBS:+ }$element"
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19900 $as_echo_n "checking for framework Foundation... " >&6; }
19901 if ${ac_cv_framework_Foundation+:} false
; then :
19902 $as_echo_n "(cached) " >&6
19905 ac_check_framework_save_LIBS
=$LIBS
19906 LIBS
="-framework Foundation $LIBS"
19907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h. */
19910 #include <Foundation/NSObject.h>
19915 [[NSObject alloc] init];
19920 if ac_fn_objcxx_try_link
"$LINENO"; then :
19922 ac_cv_framework_Foundation
=yes
19925 ac_cv_framework_Foundation
=no
19927 rm -f core conftest.err conftest.
$ac_objext \
19928 conftest
$ac_exeext conftest.
$ac_ext
19929 LIBS
=$ac_check_framework_save_LIBS
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19933 $as_echo "$ac_cv_framework_Foundation" >&6; }
19934 if test $ac_cv_framework_Foundation = yes; then :
19937 for element
in "-framework Foundation"; do
19941 acl_save_prefix
="$prefix"
19942 prefix
="$acl_final_prefix"
19943 acl_save_exec_prefix
="$exec_prefix"
19944 exec_prefix
="$acl_final_exec_prefix"
19946 exec_prefix
="$acl_save_exec_prefix"
19947 prefix
="$acl_save_prefix"
19949 if test "X$x" = "X$element"; then
19954 if test -z "$haveit"; then
19955 LIBS
="${LIBS}${LIBS:+ }$element"
19959 cat >>confdefs.h
<<_ACEOF
19960 #define HAVE_FRAMEWORK_FOUNDATION 1
19970 for ac_prog
in gnustep
-config
19972 # Extract the first word of "$ac_prog", so it can be a program name with args.
19973 set dummy
$ac_prog; ac_word
=$2
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19975 $as_echo_n "checking for $ac_word... " >&6; }
19976 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19977 $as_echo_n "(cached) " >&6
19979 if test -n "$GNUSTEP_CONFIG"; then
19980 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19983 for as_dir
in $PATH
19986 test -z "$as_dir" && as_dir
=.
19987 for ac_exec_ext
in '' $ac_executable_extensions; do
19988 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19989 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19999 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
20000 if test -n "$GNUSTEP_CONFIG"; then
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
20002 $as_echo "$GNUSTEP_CONFIG" >&6; }
20004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20005 $as_echo "no" >&6; }
20009 test -n "$GNUSTEP_CONFIG" && break
20013 if test "x$GNUSTEP_CONFIG" != x
; then :
20017 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
20019 for x
in $OBJCXXFLAGS; do
20021 acl_save_prefix
="$prefix"
20022 prefix
="$acl_final_prefix"
20023 acl_save_exec_prefix
="$exec_prefix"
20024 exec_prefix
="$acl_final_exec_prefix"
20026 exec_prefix
="$acl_save_exec_prefix"
20027 prefix
="$acl_save_prefix"
20029 if test "X$x" = "X$element"; then
20034 if test -z "$haveit"; then
20035 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20040 for element
in `$GNUSTEP_CONFIG --base-libs`; do
20044 acl_save_prefix
="$prefix"
20045 prefix
="$acl_final_prefix"
20046 acl_save_exec_prefix
="$exec_prefix"
20047 exec_prefix
="$acl_final_exec_prefix"
20049 exec_prefix
="$acl_save_exec_prefix"
20050 prefix
="$acl_save_prefix"
20052 if test "X$x" = "X$element"; then
20057 if test -z "$haveit"; then
20058 LIBS
="${LIBS}${LIBS:+ }$element"
20077 ac_cpp
='$CXXCPP $CPPFLAGS'
20078 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20079 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20080 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20087 if test "x$CY_JAVA" = x1
; then
20095 if test "x$CY_OBJECTIVEC" = x1
; then
20096 CY_OBJECTIVEC_TRUE
=
20097 CY_OBJECTIVEC_FALSE
='#'
20099 CY_OBJECTIVEC_TRUE
='#'
20100 CY_OBJECTIVEC_FALSE
=
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
20109 $as_echo_n "checking for a readline compatible library... " >&6; }
20110 if ${ax_cv_lib_readline+:} false
; then :
20111 $as_echo_n "(cached) " >&6
20115 for readline_lib
in readline edit editline
; do
20116 for termcap_lib
in "" termcap curses ncurses
; do
20117 if test -z "$termcap_lib"; then
20118 TRY_LIB
="-l$readline_lib"
20120 TRY_LIB
="-l$readline_lib -l$termcap_lib"
20122 LIBS
="$ORIG_LIBS $TRY_LIB"
20123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20124 /* end confdefs.h. */
20126 /* Override any GCC internal prototype to avoid an error.
20127 Use char because int might match the return type of a GCC
20128 builtin and then its argument prototype would still apply. */
20136 return readline ();
20141 if ac_fn_cxx_try_link
"$LINENO"; then :
20142 ax_cv_lib_readline
="$TRY_LIB"
20144 rm -f core conftest.err conftest.
$ac_objext \
20145 conftest
$ac_exeext conftest.
$ac_ext
20146 if test -n "$ax_cv_lib_readline"; then
20150 if test -n "$ax_cv_lib_readline"; then
20154 if test -z "$ax_cv_lib_readline"; then
20155 ax_cv_lib_readline
="no"
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
20161 $as_echo "$ax_cv_lib_readline" >&6; }
20163 if test "$ax_cv_lib_readline" != "no"; then
20164 LIBS
="$LIBS $ax_cv_lib_readline"
20166 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
20168 for ac_header
in readline.h readline
/readline.h
20170 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20171 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20172 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20173 cat >>confdefs.h
<<_ACEOF
20174 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
20182 $as_echo_n "checking whether readline supports history... " >&6; }
20183 if ${ax_cv_lib_readline_history+:} false
; then :
20184 $as_echo_n "(cached) " >&6
20187 ax_cv_lib_readline_history
="no"
20188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20189 /* end confdefs.h. */
20191 /* Override any GCC internal prototype to avoid an error.
20192 Use char because int might match the return type of a GCC
20193 builtin and then its argument prototype would still apply. */
20197 char add_history ();
20201 return add_history ();
20206 if ac_fn_cxx_try_link
"$LINENO"; then :
20207 ax_cv_lib_readline_history
="yes"
20209 rm -f core conftest.err conftest.
$ac_objext \
20210 conftest
$ac_exeext conftest.
$ac_ext
20213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
20214 $as_echo "$ax_cv_lib_readline_history" >&6; }
20215 if test "$ax_cv_lib_readline_history" = "yes"; then
20217 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
20219 for ac_header
in history.h readline
/history.h
20221 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20222 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20223 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20224 cat >>confdefs.h
<<_ACEOF
20225 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20235 LTLIBREADLINE
=$LIBS
20239 case $ax_cv_lib_readline in #(
20241 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
20250 $as_echo_n "checking for library containing cur_term... " >&6; }
20251 if ${ac_cv_search_cur_term+:} false
; then :
20252 $as_echo_n "(cached) " >&6
20254 ac_func_search_save_LIBS
=$LIBS
20255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20256 /* end confdefs.h. */
20258 /* Override any GCC internal prototype to avoid an error.
20259 Use char because int might match the return type of a GCC
20260 builtin and then its argument prototype would still apply. */
20268 return cur_term ();
20273 for ac_lib
in '' termcap ncurses
; do
20274 if test -z "$ac_lib"; then
20275 ac_res
="none required"
20278 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20280 if ac_fn_cxx_try_link
"$LINENO"; then :
20281 ac_cv_search_cur_term
=$ac_res
20283 rm -f core conftest.err conftest.
$ac_objext \
20285 if ${ac_cv_search_cur_term+:} false
; then :
20289 if ${ac_cv_search_cur_term+:} false
; then :
20292 ac_cv_search_cur_term
=no
20294 rm conftest.
$ac_ext
20295 LIBS
=$ac_func_search_save_LIBS
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
20298 $as_echo "$ac_cv_search_cur_term" >&6; }
20299 ac_res
=$ac_cv_search_cur_term
20300 if test "$ac_res" != no
; then :
20301 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20316 if test "x$CY_EXECUTE" = x1
; then :
20318 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20319 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20321 if test -n "$ac_tool_prefix"; then
20322 for ac_prog
in lipo
20324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20325 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20327 $as_echo_n "checking for $ac_word... " >&6; }
20328 if ${ac_cv_prog__LIPO+:} false
; then :
20329 $as_echo_n "(cached) " >&6
20331 if test -n "$_LIPO"; then
20332 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20335 for as_dir
in $PATH
20338 test -z "$as_dir" && as_dir
=.
20339 for ac_exec_ext
in '' $ac_executable_extensions; do
20340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20341 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20351 _LIPO
=$ac_cv_prog__LIPO
20352 if test -n "$_LIPO"; then
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20354 $as_echo "$_LIPO" >&6; }
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20357 $as_echo "no" >&6; }
20361 test -n "$_LIPO" && break
20364 if test -z "$_LIPO"; then
20366 for ac_prog
in lipo
20368 # Extract the first word of "$ac_prog", so it can be a program name with args.
20369 set dummy
$ac_prog; ac_word
=$2
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20371 $as_echo_n "checking for $ac_word... " >&6; }
20372 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20373 $as_echo_n "(cached) " >&6
20375 if test -n "$ac_ct__LIPO"; then
20376 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20379 for as_dir
in $PATH
20382 test -z "$as_dir" && as_dir
=.
20383 for ac_exec_ext
in '' $ac_executable_extensions; do
20384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20385 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20395 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20396 if test -n "$ac_ct__LIPO"; then
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20398 $as_echo "$ac_ct__LIPO" >&6; }
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20401 $as_echo "no" >&6; }
20405 test -n "$ac_ct__LIPO" && break
20408 if test "x$ac_ct__LIPO" = x
; then
20409 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
20411 case $cross_compiling:$ac_tool_warned in
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20415 ac_tool_warned
=yes ;;
20421 if test -n "$ac_tool_prefix"; then
20424 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20425 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20427 $as_echo_n "checking for $ac_word... " >&6; }
20428 if ${ac_cv_prog__NM+:} false
; then :
20429 $as_echo_n "(cached) " >&6
20431 if test -n "$_NM"; then
20432 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20435 for as_dir
in $PATH
20438 test -z "$as_dir" && as_dir
=.
20439 for ac_exec_ext
in '' $ac_executable_extensions; do
20440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20441 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20451 _NM
=$ac_cv_prog__NM
20452 if test -n "$_NM"; then
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20454 $as_echo "$_NM" >&6; }
20456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20457 $as_echo "no" >&6; }
20461 test -n "$_NM" && break
20464 if test -z "$_NM"; then
20468 # Extract the first word of "$ac_prog", so it can be a program name with args.
20469 set dummy
$ac_prog; ac_word
=$2
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20471 $as_echo_n "checking for $ac_word... " >&6; }
20472 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
20473 $as_echo_n "(cached) " >&6
20475 if test -n "$ac_ct__NM"; then
20476 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
20478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20479 for as_dir
in $PATH
20482 test -z "$as_dir" && as_dir
=.
20483 for ac_exec_ext
in '' $ac_executable_extensions; do
20484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20485 ac_cv_prog_ac_ct__NM
="$ac_prog"
20486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20495 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
20496 if test -n "$ac_ct__NM"; then
20497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20498 $as_echo "$ac_ct__NM" >&6; }
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20501 $as_echo "no" >&6; }
20505 test -n "$ac_ct__NM" && break
20508 if test "x$ac_ct__NM" = x
; then
20509 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
20511 case $cross_compiling:$ac_tool_warned in
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20515 ac_tool_warned
=yes ;;
20521 if test -n "$ac_tool_prefix"; then
20522 for ac_prog
in otool
20524 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20525 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20527 $as_echo_n "checking for $ac_word... " >&6; }
20528 if ${ac_cv_prog__OTOOL+:} false
; then :
20529 $as_echo_n "(cached) " >&6
20531 if test -n "$_OTOOL"; then
20532 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
20534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20535 for as_dir
in $PATH
20538 test -z "$as_dir" && as_dir
=.
20539 for ac_exec_ext
in '' $ac_executable_extensions; do
20540 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20541 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
20542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20551 _OTOOL
=$ac_cv_prog__OTOOL
20552 if test -n "$_OTOOL"; then
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20554 $as_echo "$_OTOOL" >&6; }
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20557 $as_echo "no" >&6; }
20561 test -n "$_OTOOL" && break
20564 if test -z "$_OTOOL"; then
20565 ac_ct__OTOOL
=$_OTOOL
20566 for ac_prog
in otool
20568 # Extract the first word of "$ac_prog", so it can be a program name with args.
20569 set dummy
$ac_prog; ac_word
=$2
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20571 $as_echo_n "checking for $ac_word... " >&6; }
20572 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
20573 $as_echo_n "(cached) " >&6
20575 if test -n "$ac_ct__OTOOL"; then
20576 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
20578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20579 for as_dir
in $PATH
20582 test -z "$as_dir" && as_dir
=.
20583 for ac_exec_ext
in '' $ac_executable_extensions; do
20584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20585 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
20586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20595 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
20596 if test -n "$ac_ct__OTOOL"; then
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20598 $as_echo "$ac_ct__OTOOL" >&6; }
20600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20601 $as_echo "no" >&6; }
20605 test -n "$ac_ct__OTOOL" && break
20608 if test "x$ac_ct__OTOOL" = x
; then
20609 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
20611 case $cross_compiling:$ac_tool_warned in
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20615 ac_tool_warned
=yes ;;
20617 _OTOOL
=$ac_ct__OTOOL
20621 CY_ATTACH_GROUP
=procmod
20629 if test "x$CY_MACH" = x1
; then
20638 ac_config_files
="$ac_config_files Makefile"
20640 cat >confcache
<<\_ACEOF
20641 # This file is a shell script that caches the results of configure
20642 # tests run on this system so they can be shared between configure
20643 # scripts and configure runs, see configure's option --config-cache.
20644 # It is not useful on other systems. If it contains results you don't
20645 # want to keep, you may remove or edit it.
20647 # config.status only pays attention to the cache file if you give it
20648 # the --recheck option to rerun configure.
20650 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20651 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20652 # following values.
20656 # The following way of writing the cache mishandles newlines in values,
20657 # but we know of no workaround that is simple, portable, and efficient.
20658 # So, we kill variables containing newlines.
20659 # Ultrix sh set writes to stderr and can't be redirected directly,
20660 # and sets the high bit in the cache file unless we assign to the vars.
20662 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20663 eval ac_val
=\$
$ac_var
20667 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20668 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20671 _
| IFS
| as_nl
) ;; #(
20672 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20673 *) { eval $ac_var=; unset $ac_var;} ;;
20679 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20680 *${as_nl}ac_space
=\
*)
20681 # `set' does not quote correctly, so add quotes: double-quote
20682 # substitution turns \\\\ into \\, and sed turns \\ into \.
20685 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20688 # `set' quotes correctly as required by POSIX, so do not add quotes.
20689 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20698 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20700 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20702 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20703 if test -w "$cache_file"; then
20704 if test "x$cache_file" != "x/dev/null"; then
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20706 $as_echo "$as_me: updating cache $cache_file" >&6;}
20707 if test ! -f "$cache_file" || test -h "$cache_file"; then
20708 cat confcache
>"$cache_file"
20710 case $cache_file in #(
20712 mv -f confcache
"$cache_file"$$
&&
20713 mv -f "$cache_file"$$
"$cache_file" ;; #(
20715 mv -f confcache
"$cache_file" ;;
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20721 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20726 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20727 # Let make expand exec_prefix.
20728 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20730 DEFS
=-DHAVE_CONFIG_H
20735 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20736 # 1. Remove the extension, and $U if already installed.
20737 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20738 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20739 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20740 # will be set to the directory where LIBOBJS objects are built.
20741 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20742 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20744 LIBOBJS
=$ac_libobjs
20746 LTLIBOBJS
=$ac_ltlibobjs
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20750 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20751 if test -n "$am_sleep_pid"; then
20752 # Hide warnings about reused PIDs.
20753 wait $am_sleep_pid 2>/dev
/null
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20756 $as_echo "done" >&6; }
20757 if test -n "$EXEEXT"; then
20759 am__EXEEXT_FALSE
='#'
20761 am__EXEEXT_TRUE
='#'
20765 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20766 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20769 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20770 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20773 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20774 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20777 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20778 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20781 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
20782 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
20783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20785 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
20786 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
20787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20789 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
20790 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
20791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20793 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
20794 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
20795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20797 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
20798 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
20799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20801 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
20802 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
20803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20806 : "${CONFIG_STATUS=./config.status}"
20808 ac_clean_files_save
=$ac_clean_files
20809 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20811 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20813 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20815 # Generated by $as_me.
20816 # Run this file to recreate the current configuration.
20817 # Compiler output produced by configure, useful for debugging
20818 # configure, is in config.log if it exists.
20821 ac_cs_recheck=false
20824 SHELL=\${CONFIG_SHELL-$SHELL}
20827 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20828 ## -------------------- ##
20829 ## M4sh Initialization. ##
20830 ## -------------------- ##
20832 # Be more Bourne compatible
20833 DUALCASE
=1; export DUALCASE
# for MKS sh
20834 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20837 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20838 # is contrary to our usage. Disable this feature.
20839 alias -g '${1+"$@"}'='"$@"'
20840 setopt NO_GLOB_SUBST
20842 case `(set -o) 2>/dev/null` in #(
20854 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20855 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20856 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20857 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20858 # Prefer a ksh shell builtin over an external printf program on Solaris,
20859 # but without wasting forks for bash or zsh.
20860 if test -z "$BASH_VERSION$ZSH_VERSION" \
20861 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20862 as_echo='print
-r --'
20863 as_echo_n='print
-rn --'
20864 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20865 as_echo='printf %s
\n'
20866 as_echo_n='printf %s
'
20868 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20869 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20870 as_echo_n='/usr
/ucb
/echo -n'
20872 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20873 as_echo_n_body='eval
20877 expr "X$arg" : "X\\(.*\\)$as_nl";
20878 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20880 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20882 export as_echo_n_body
20883 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20885 export as_echo_body
20886 as_echo='sh
-c $as_echo_body as_echo
'
20889 # The user is always right.
20890 if test "${PATH_SEPARATOR+set}" != set; then
20892 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20893 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20900 # We need space, tab and new line, in precisely that order. Quoting is
20901 # there to prevent editors from complaining about space-tab.
20902 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20903 # splitting by setting IFS to empty value.)
20906 # Find who we are. Look in the path if we contain no directory separator.
20909 *[\\/]* ) as_myself=$0 ;;
20910 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20911 for as_dir in $PATH
20914 test -z "$as_dir" && as_dir=.
20915 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20921 # We did not find ourselves, most probably we were run as `sh COMMAND'
20922 # in which case we are not to be found in the path.
20923 if test "x$as_myself" = x
; then
20926 if test ! -f "$as_myself"; then
20927 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20931 # Unset variables that we do not need and which cause bugs (e.g. in
20932 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20933 # suppresses any "Segmentation fault" message there. '((' could
20934 # trigger a bug in pdksh 5.2.14.
20935 for as_var
in BASH_ENV ENV MAIL MAILPATH
20936 do eval test x\
${$as_var+set} = xset \
20937 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20950 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20953 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20954 # ----------------------------------------
20955 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20956 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20957 # script with STATUS, using 1 if that was 0.
20960 as_status
=$1; test $as_status -eq 0 && as_status
=1
20962 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20963 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20965 $as_echo "$as_me: error: $2" >&2
20966 as_fn_exit
$as_status
20970 # as_fn_set_status STATUS
20971 # -----------------------
20972 # Set $? to STATUS, without forking.
20973 as_fn_set_status
()
20976 } # as_fn_set_status
20978 # as_fn_exit STATUS
20979 # -----------------
20980 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20984 as_fn_set_status
$1
20990 # Portably unset VAR.
20993 { eval $1=; unset $1;}
20995 as_unset
=as_fn_unset
20996 # as_fn_append VAR VALUE
20997 # ----------------------
20998 # Append the text in VALUE to the end of the definition contained in VAR. Take
20999 # advantage of any shell optimizations that allow amortized linear growth over
21000 # repeated appends, instead of the typical quadratic growth present in naive
21002 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21003 eval 'as_fn_append ()
21014 # as_fn_arith ARG...
21015 # ------------------
21016 # Perform arithmetic evaluation on the ARGs, and store the result in the
21017 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21018 # must be portable across $(()) and expr.
21019 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
21020 eval 'as_fn_arith ()
21027 as_val
=`expr "$@" || test $? -eq 1`
21032 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21033 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21039 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21040 as_basename
=basename
21045 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21051 as_me
=`$as_basename -- "$0" ||
21052 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21053 X"$0" : 'X\(//\)$' \| \
21054 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21056 sed '/^.*\/\([^/][^/]*\)\/*$/{
21070 # Avoid depending upon Character Ranges.
21071 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21072 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21073 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21074 as_cr_digits
='0123456789'
21075 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21077 ECHO_C
= ECHO_N
= ECHO_T
=
21078 case `echo -n x` in #(((((
21080 case `echo 'xy\c'` in
21081 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21083 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21090 rm -f conf$$ conf$$.exe conf$$.
file
21091 if test -d conf$$.dir
; then
21092 rm -f conf$$.dir
/conf$$.
file
21095 mkdir conf$$.dir
2>/dev
/null
21097 if (echo >conf$$.
file) 2>/dev
/null
; then
21098 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21100 # ... but there are two gotchas:
21101 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21102 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21103 # In both cases, we have to default to `cp -pR'.
21104 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
21106 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21114 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21115 rmdir conf$$.dir
2>/dev
/null
21120 # Create "$as_dir" as a directory, including parents if necessary.
21125 -*) as_dir
=.
/$as_dir;;
21127 test -d "$as_dir" || eval $as_mkdir_p || {
21131 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21132 *) as_qdir
=$as_dir;;
21134 as_dirs
="'$as_qdir' $as_dirs"
21135 as_dir
=`$as_dirname -- "$as_dir" ||
21136 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21137 X"$as_dir" : 'X\(//\)[^/]' \| \
21138 X"$as_dir" : 'X\(//\)$' \| \
21139 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21140 $as_echo X"$as_dir" |
21141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21145 /^X\(\/\/\)[^/].*/{
21158 test -d "$as_dir" && break
21160 test -z "$as_dirs" || eval "mkdir $as_dirs"
21161 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21165 if mkdir -p .
2>/dev
/null
; then
21166 as_mkdir_p
='mkdir -p "$as_dir"'
21168 test -d .
/-p && rmdir .
/-p
21173 # as_fn_executable_p FILE
21174 # -----------------------
21175 # Test if FILE is an executable regular file.
21176 as_fn_executable_p
()
21178 test -f "$1" && test -x "$1"
21179 } # as_fn_executable_p
21180 as_test_x
='test -x'
21181 as_executable_p
=as_fn_executable_p
21183 # Sed expression to map a string onto a valid CPP name.
21184 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21186 # Sed expression to map a string onto a valid variable name.
21187 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21191 ## ----------------------------------- ##
21192 ## Main body of $CONFIG_STATUS script. ##
21193 ## ----------------------------------- ##
21195 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21197 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21198 # Save the log message, to keep $0 and so on meaningful, and to
21199 # report actual input values of CONFIG_FILES etc. instead of their
21200 # values after options handling.
21202 This file was extended by Cycript $as_me 0.9, which was
21203 generated by GNU Autoconf 2.69. Invocation command line was
21205 CONFIG_FILES = $CONFIG_FILES
21206 CONFIG_HEADERS = $CONFIG_HEADERS
21207 CONFIG_LINKS = $CONFIG_LINKS
21208 CONFIG_COMMANDS = $CONFIG_COMMANDS
21211 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21216 case $ac_config_files in *"
21217 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21220 case $ac_config_headers in *"
21221 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21226 # Files that config.status was made for.
21227 config_files="$ac_config_files"
21228 config_headers="$ac_config_headers"
21229 config_commands="$ac_config_commands"
21233 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21235 \`$as_me' instantiates files and other configuration actions
21236 from templates according to the current configuration. Unless the files
21237 and actions are specified as TAGs, all are instantiated by default.
21239 Usage: $0 [OPTION]... [TAG]...
21241 -h, --help print this help, then exit
21242 -V, --version print version number and configuration settings, then exit
21243 --config print configuration, then exit
21244 -q, --quiet, --silent
21245 do not print progress messages
21246 -d, --debug don't remove temporary files
21247 --recheck update $as_me by reconfiguring in the same conditions
21248 --file=FILE[:TEMPLATE]
21249 instantiate the configuration file FILE
21250 --header=FILE[:TEMPLATE]
21251 instantiate the configuration header FILE
21253 Configuration files:
21256 Configuration headers:
21259 Configuration commands:
21262 Report bugs to <saurik@saurik.com>.
21263 Cycript home page: <http://www.cycript.org/>."
21266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21267 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21269 Cycript config.status 0.9
21270 configured by $0, generated by GNU Autoconf 2.69,
21271 with options \\"\$ac_cs_config\\"
21273 Copyright (C) 2012 Free Software Foundation, Inc.
21274 This config.status script is free software; the Free Software Foundation
21275 gives unlimited permission to copy, distribute and modify it."
21282 test -n "\$AWK" || AWK=awk
21285 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21286 # The default lists apply if the user does not specify any file.
21292 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21293 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21297 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21309 # Handling of the options.
21310 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21312 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21313 $as_echo "$ac_cs_version"; exit ;;
21314 --config | --confi | --conf | --con | --co | --c )
21315 $as_echo "$ac_cs_config"; exit ;;
21316 --debug | --debu | --deb | --de | --d | -d )
21318 --file | --fil | --fi | --f )
21321 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21322 '') as_fn_error $?
"missing file argument" ;;
21324 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21325 ac_need_defaults
=false
;;
21326 --header | --heade | --head | --hea )
21329 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21331 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21332 ac_need_defaults
=false
;;
21334 # Conflict between --help and --header
21335 as_fn_error $?
"ambiguous option: \`$1'
21336 Try \`$0 --help' for more information.";;
21337 --help | --hel | -h )
21338 $as_echo "$ac_cs_usage"; exit ;;
21339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21340 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21343 # This is an error.
21344 -*) as_fn_error $?
"unrecognized option: \`$1'
21345 Try \`$0 --help' for more information." ;;
21347 *) as_fn_append ac_config_targets
" $1"
21348 ac_need_defaults
=false
;;
21354 ac_configure_extra_args
=
21356 if $ac_cs_silent; then
21358 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21363 if \$ac_cs_recheck; then
21364 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21366 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21367 CONFIG_SHELL='$SHELL'
21368 export CONFIG_SHELL
21373 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21377 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21378 ## Running $as_me. ##
21384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21388 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21391 # The HP-UX ksh and POSIX shell print the target directory to stdout
21392 # if CDPATH is set.
21393 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21395 sed_quote_subst='$sed_quote_subst'
21396 double_quote_subst='$double_quote_subst'
21397 delay_variable_subst='$delay_variable_subst'
21398 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21399 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21400 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21401 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21402 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21403 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21404 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21405 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21406 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21407 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21408 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21409 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21410 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21411 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21412 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21413 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21414 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21415 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21416 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21417 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21418 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21419 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21420 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21421 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21422 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21423 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21424 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21425 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21426 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21427 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21428 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21429 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21430 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21431 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21432 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21433 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21434 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21435 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21436 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21437 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21438 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21439 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21440 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21441 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21442 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21443 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21444 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21445 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21446 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21447 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21448 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21449 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21450 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21451 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21452 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21453 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21454 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"`'
21455 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21456 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21457 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21458 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21459 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21460 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21461 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21462 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21463 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21464 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21465 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21466 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21467 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21468 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21469 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21470 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21471 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21472 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21473 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21474 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21475 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21476 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21477 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21478 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21479 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21480 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21481 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21482 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21483 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21484 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21485 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21486 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21487 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21488 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21489 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21490 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21491 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21492 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21493 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21494 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21495 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21496 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21497 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21498 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21499 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21500 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21501 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21502 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21503 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21504 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21505 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21506 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21507 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21508 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21509 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21510 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21511 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21512 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21513 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21514 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21515 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21516 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21517 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21518 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21519 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21520 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21521 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21522 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21523 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21524 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21525 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21526 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21527 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21528 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21529 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21530 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21531 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21532 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21533 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21534 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21535 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21536 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21537 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21538 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21539 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21540 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21541 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21542 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21543 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21544 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21545 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21546 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21547 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21548 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21549 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21550 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21551 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21552 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21553 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21554 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21555 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21556 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21557 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21558 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21559 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21560 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21561 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21562 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21563 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21564 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21565 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21566 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21567 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21568 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21569 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21570 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21571 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21572 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21573 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21574 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21575 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21576 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21577 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21578 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21579 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21580 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21581 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21584 LTCFLAGS='$LTCFLAGS'
21585 compiler='$compiler_DEFAULT'
21587 # A function that is used when there is no print builtin or printf.
21588 func_fallback_echo ()
21590 eval 'cat <<_LTECHO_EOF
21595 # Quote evaled strings.
21610 deplibs_check_method \
21615 sharedlib_from_linklib_cmd \
21618 archiver_list_spec \
21624 lt_cv_sys_global_symbol_pipe \
21625 lt_cv_sys_global_symbol_to_cdecl \
21626 lt_cv_sys_global_symbol_to_c_name_address \
21627 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21628 nm_file_list_spec \
21629 lt_prog_compiler_no_builtin_flag \
21630 lt_prog_compiler_pic \
21631 lt_prog_compiler_wl \
21632 lt_prog_compiler_static \
21633 lt_cv_prog_compiler_c_o \
21642 export_dynamic_flag_spec \
21643 whole_archive_flag_spec \
21644 compiler_needs_object \
21646 allow_undefined_flag \
21647 no_undefined_flag \
21648 hardcode_libdir_flag_spec \
21649 hardcode_libdir_separator \
21653 variables_saved_for_relink \
21655 library_names_spec \
21657 install_override_mode \
21661 compiler_lib_search_dirs \
21666 compiler_lib_search_path \
21670 lt_prog_compiler_no_builtin_flag_CXX \
21671 lt_prog_compiler_pic_CXX \
21672 lt_prog_compiler_wl_CXX \
21673 lt_prog_compiler_static_CXX \
21674 lt_cv_prog_compiler_c_o_CXX \
21675 export_dynamic_flag_spec_CXX \
21676 whole_archive_flag_spec_CXX \
21677 compiler_needs_object_CXX \
21679 allow_undefined_flag_CXX \
21680 no_undefined_flag_CXX \
21681 hardcode_libdir_flag_spec_CXX \
21682 hardcode_libdir_separator_CXX \
21683 exclude_expsyms_CXX \
21684 include_expsyms_CXX \
21685 file_list_spec_CXX \
21686 compiler_lib_search_dirs_CXX \
21687 predep_objects_CXX \
21688 postdep_objects_CXX \
21691 compiler_lib_search_path_CXX; do
21692 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21693 *[\\\\\\\`\\"\\\$]*)
21694 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21697 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21702 # Double-quote double-evaled strings.
21703 for var in reload_cmds \
21704 old_postinstall_cmds \
21705 old_postuninstall_cmds \
21707 extract_expsyms_cmds \
21708 old_archive_from_new_cmds \
21709 old_archive_from_expsyms_cmds \
21711 archive_expsym_cmds \
21713 module_expsym_cmds \
21714 export_symbols_cmds \
21718 postuninstall_cmds \
21720 sys_lib_search_path_spec \
21721 sys_lib_dlsearch_path_spec \
21723 old_archive_cmds_CXX \
21724 old_archive_from_new_cmds_CXX \
21725 old_archive_from_expsyms_cmds_CXX \
21727 archive_expsym_cmds_CXX \
21729 module_expsym_cmds_CXX \
21730 export_symbols_cmds_CXX \
21732 postlink_cmds_CXX; do
21733 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21734 *[\\\\\\\`\\"\\\$]*)
21735 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21738 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21743 ac_aux_dir='$ac_aux_dir'
21744 xsi_shell='$xsi_shell'
21745 lt_shell_append='$lt_shell_append'
21747 # See if we are running on zsh, and set the options which allow our
21748 # commands through without removal of \ escapes INIT.
21749 if test -n "\${ZSH_VERSION+set}" ; then
21750 setopt NO_GLOB_SUBST
21756 TIMESTAMP='$TIMESTAMP'
21767 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21769 # Handling of arguments.
21770 for ac_config_target
in $ac_config_targets
21772 case $ac_config_target in
21773 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21774 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21775 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21776 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21778 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21783 # If the user did not use the arguments to specify the items to instantiate,
21784 # then the envvar interface is used. Set only those that are not.
21785 # We use the long form for the default assignment because of an extremely
21786 # bizarre bug on SunOS 4.1.3.
21787 if $ac_need_defaults; then
21788 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21789 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21790 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21793 # Have a temporary directory for convenience. Make it in the build tree
21794 # simply because there is no reason against having it here, and in addition,
21795 # creating and moving files from /tmp can sometimes cause problems.
21796 # Hook for its removal unless debugging.
21797 # Note that there is a small window in which the directory will not be cleaned:
21798 # after its creation but before its name has been assigned to `$tmp'.
21802 trap 'exit_status=$?
21803 : "${ac_tmp:=$tmp}"
21804 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21806 trap 'as_fn_exit 1' 1 2 13 15
21808 # Create a (secure) tmp directory for tmp files.
21811 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21815 tmp
=.
/conf$$
-$RANDOM
21816 (umask 077 && mkdir "$tmp")
21817 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21820 # Set up the scripts for CONFIG_FILES section.
21821 # No need to generate them if there are no CONFIG_FILES.
21822 # This happens for instance with `./config.status config.h'.
21823 if test -n "$CONFIG_FILES"; then
21826 ac_cr
=`echo X | tr X '\015'`
21827 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21828 # But we know of no other shell where ac_cr would be empty at this
21829 # point, so we can use a bashism as a fallback.
21830 if test "x$ac_cr" = x
; then
21831 eval ac_cr
=\$
\'\\r
\'
21833 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21834 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21837 ac_cs_awk_cr
=$ac_cr
21840 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21845 echo "cat >conf$$subs.awk <<_ACEOF" &&
21846 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21848 } >conf$$subs.sh ||
21849 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21850 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21852 for ac_last_try in false false false false false :; do
21853 . ./conf$$subs.sh ||
21854 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21856 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21857 if test $ac_delim_n = $ac_delim_num; then
21859 elif $ac_last_try; then
21860 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21862 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21865 rm -f conf$$subs.sh
21867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21868 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21872 s/^/S["/; s
/!.
*/"]=/
21882 s/\(.\{148\}\)..*/\1/
21884 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21889 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21896 s/\(.\{148\}\)..*/\1/
21898 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21902 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21907 ' <conf$$subs.awk | sed '
21912 ' >>$CONFIG_STATUS || ac_write_fail=1
21913 rm -f conf$$subs.awk
21914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21916 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21917 for (key in S) S_is_set[key] = 1
21923 nfields = split(line, field, "@
")
21925 len = length(field[1])
21926 for (i = 2; i < nfields; i++) {
21928 keylen = length(key)
21929 if (S_is_set[key]) {
21931 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21932 len += length(value) + length(field[++i])
21943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21944 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21945 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21948 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21949 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21952 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21953 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21954 # trailing colons and then remove the whole line if VPATH becomes empty
21955 # (actually we leave an empty line to preserve line numbers).
21956 if test "x
$srcdir" = x.; then
21957 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21976 fi # test -n "$CONFIG_FILES"
21978 # Set up the scripts for CONFIG_HEADERS section.
21979 # No need to generate them if there are no CONFIG_HEADERS.
21980 # This happens for instance with `./config.status Makefile'.
21981 if test -n "$CONFIG_HEADERS"; then
21982 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21986 # Transform confdefs.h into an awk script `defines.awk', embedded as
21987 # here-document in config.status, that substitutes the proper values into
21988 # config.h.in to produce config.h.
21990 # Create a delimiter string that does not exist in confdefs.h, to ease
21991 # handling of long lines.
21993 for ac_last_try in false false :; do
21994 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21995 if test -z "$ac_tt"; then
21997 elif $ac_last_try; then
21998 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22000 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22004 # For the awk script, D is an array of macro values keyed by name,
22005 # likewise P contains macro parameters if any. Preserve backslash
22006 # newline sequences.
22008 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22010 s/.\{148\}/&'"$ac_delim"'/g
22013 s/^[ ]*#[ ]*define[ ][ ]*/ /
22020 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22022 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22026 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22027 D["\
1"]=" \
3\\\\\\n
"\\/p
22029 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22034 s/.\{148\}/&'"$ac_delim"'/g
22039 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22042 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22044 ' <confdefs.h | sed '
22045 s/'"$ac_delim"'/"\\\
22046 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22049 for (key in D) D_is_set[key] = 1
22052 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22054 split(line, arg, " ")
22055 if (arg[1] == "#") {
22059 defundef
= substr
(arg
[1], 2)
22062 split(mac1
, mac2
, "(") #)
22064 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22065 if (D_is_set
[macro
]) {
22066 # Preserve the white space surrounding the "#".
22067 print prefix
"define", macro P
[macro
] D
[macro
]
22070 # Replace #undef with comments. This is necessary, for example,
22071 # in the case of _POSIX_SOURCE, which is predefined and required
22072 # on some systems where configure will not decide to define it.
22073 if (defundef
== "undef") {
22074 print
"/*", prefix defundef
, macro
, "*/"
22082 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22083 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22084 fi # test -n "$CONFIG_HEADERS"
22087 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22092 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22094 case $ac_mode$ac_tag in
22096 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22097 :[FH
]-) ac_tag
=-:-;;
22098 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22115 -) ac_f
="$ac_tmp/stdin";;
22116 *) # Look for the file first in the build tree, then in the source tree
22117 # (if the path is not absolute). The absolute path cannot be DOS-style,
22118 # because $ac_f cannot contain `:'.
22122 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22124 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22126 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22127 as_fn_append ac_file_inputs
" '$ac_f'"
22130 # Let's still pretend it is `configure' which instantiates (i.e., don't
22131 # use $as_me), people would be surprised to read:
22132 # /* config.h. Generated by config.status. */
22133 configure_input
='Generated from '`
22134 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22136 if test x
"$ac_file" != x
-; then
22137 configure_input
="$ac_file. $configure_input"
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22139 $as_echo "$as_me: creating $ac_file" >&6;}
22141 # Neutralize special characters interpreted by sed in replacement strings.
22142 case $configure_input in #(
22143 *\
&* | *\
|* | *\\* )
22144 ac_sed_conf_input
=`$as_echo "$configure_input" |
22145 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22146 *) ac_sed_conf_input
=$configure_input;;
22150 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22151 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22156 ac_dir
=`$as_dirname -- "$ac_file" ||
22157 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22158 X"$ac_file" : 'X\(//\)[^/]' \| \
22159 X"$ac_file" : 'X\(//\)$' \| \
22160 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22161 $as_echo X"$ac_file" |
22162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22166 /^X\(\/\/\)[^/].*/{
22179 as_dir
="$ac_dir"; as_fn_mkdir_p
22183 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22185 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22186 # A ".." for each directory in $ac_dir_suffix.
22187 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22188 case $ac_top_builddir_sub in
22189 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22190 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22193 ac_abs_top_builddir
=$ac_pwd
22194 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22195 # for backward compatibility:
22196 ac_top_builddir
=$ac_top_build_prefix
22199 .
) # We are building in place.
22201 ac_top_srcdir
=$ac_top_builddir_sub
22202 ac_abs_top_srcdir
=$ac_pwd ;;
22203 [\\/]* | ?
:[\\/]* ) # Absolute name.
22204 ac_srcdir
=$srcdir$ac_dir_suffix;
22205 ac_top_srcdir
=$srcdir
22206 ac_abs_top_srcdir
=$srcdir ;;
22207 *) # Relative name.
22208 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22209 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22210 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22212 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22222 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22223 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22225 ac_MKDIR_P
=$MKDIR_P
22227 [\\/$
]* | ?
:[\\/]* ) ;;
22228 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22232 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22233 # If the template does not know about datarootdir, expand it.
22234 # FIXME: This hack should be removed a few years after 2.60.
22235 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22246 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22247 *datarootdir
*) ac_datarootdir_seen
=yes;;
22248 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22250 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22253 ac_datarootdir_hack='
22254 s&@datadir@&$datadir&g
22255 s&@docdir@&$docdir&g
22256 s&@infodir@&$infodir&g
22257 s&@localedir@&$localedir&g
22258 s&@mandir@&$mandir&g
22259 s&\\\${datarootdir}&$datarootdir&g' ;;
22263 # Neutralize VPATH when `$srcdir' = `.'.
22264 # Shell code in configure.ac might set extrasub.
22265 # FIXME: do we really want to maintain this feature?
22266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22267 ac_sed_extra="$ac_vpsub
22270 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22272 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22273 s
|@configure_input@
|$ac_sed_conf_input|;t t
22274 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22275 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22276 s
&@srcdir@
&$ac_srcdir&;t t
22277 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22278 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22279 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22280 s
&@builddir@
&$ac_builddir&;t t
22281 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22282 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22283 s
&@INSTALL@
&$ac_INSTALL&;t t
22284 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22285 $ac_datarootdir_hack
22287 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22288 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22290 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22291 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22292 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22293 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22295 which seems to be undefined. Please make sure it is defined" >&5
22296 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22297 which seems to be undefined. Please make sure it is defined" >&2;}
22299 rm -f "$ac_tmp/stdin"
22301 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22302 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22304 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22310 if test x"$ac_file" != x-; then
22312 $as_echo "/* $configure_input */" \
22313 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22314 } >"$ac_tmp/config.h" \
22315 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22316 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22318 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22321 mv "$ac_tmp/config.h" "$ac_file" \
22322 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22325 $as_echo "/* $configure_input */" \
22326 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22327 || as_fn_error $? "could not create -" "$LINENO" 5
22329 # Compute "$ac_file"'s index
in $config_headers.
22332 for _am_header
in $config_headers :; do
22333 case $_am_header in
22334 $_am_arg | $_am_arg:* )
22337 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22340 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22341 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22342 X"$_am_arg" : 'X\(//\)[^/]' \| \
22343 X"$_am_arg" : 'X\(//\)$' \| \
22344 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22345 $as_echo X"$_am_arg" |
22346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22350 /^X\(\/\/\)[^/].*/{
22362 s/.*/./; q'`/stamp
-h$_am_stamp_count
22365 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22366 $as_echo "$as_me: executing $ac_file commands" >&6;}
22371 case $ac_file$ac_mode in
22372 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22373 # Older Autoconf quotes --file arguments for eval, but not when files
22374 # are listed without --file. Let's play safe and only enable the eval
22375 # if we detect the quoting.
22376 case $CONFIG_FILES in
22377 *\'*) eval set x
"$CONFIG_FILES" ;;
22378 *) set x
$CONFIG_FILES ;;
22383 # Strip MF so we end up with the name of the file.
22384 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22385 # Check whether this is an Automake generated Makefile or not.
22386 # We used to match only the files named 'Makefile.in', but
22387 # some people rename them; so instead we look at the file content.
22388 # Grep'ing the first line is not enough: some people post-process
22389 # each Makefile.in and add a new line on top of each file to say so.
22390 # Grep'ing the whole file is not good either: AIX grep has a line
22391 # limit of 2048, but all sed's we know have understand at least 4000.
22392 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22393 dirpart
=`$as_dirname -- "$mf" ||
22394 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22395 X"$mf" : 'X\(//\)[^/]' \| \
22396 X"$mf" : 'X\(//\)$' \| \
22397 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22403 /^X\(\/\/\)[^/].*/{
22419 # Extract the definition of DEPDIR, am__include, and am__quote
22420 # from the Makefile without running 'make'.
22421 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22422 test -z "$DEPDIR" && continue
22423 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22424 test -z "$am__include" && continue
22425 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22426 # Find all dependency output files, they are included files with
22427 # $(DEPDIR) in their names. We invoke sed twice because it is the
22428 # simplest approach to changing $(DEPDIR) to its actual value in the
22430 for file in `sed -n "
22431 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22432 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22433 # Make sure the directory exists.
22434 test -f "$dirpart/$file" && continue
22435 fdir
=`$as_dirname -- "$file" ||
22436 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22437 X"$file" : 'X\(//\)[^/]' \| \
22438 X"$file" : 'X\(//\)$' \| \
22439 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22440 $as_echo X"$file" |
22441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22445 /^X\(\/\/\)[^/].*/{
22458 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22459 # echo "creating $dirpart/$file"
22460 echo '# dummy' > "$dirpart/$file"
22467 # See if we are running on zsh, and set the options which allow our
22468 # commands through without removal of \ escapes.
22469 if test -n "${ZSH_VERSION+set}" ; then
22470 setopt NO_GLOB_SUBST
22473 cfgfile
="${ofile}T"
22474 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22477 cat <<_LT_EOF >> "$cfgfile"
22480 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22481 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22482 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22483 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22485 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22486 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22488 # Written by Gordon Matzigkeit, 1996
22490 # This file is part of GNU Libtool.
22492 # GNU Libtool is free software; you can redistribute it and/or
22493 # modify it under the terms of the GNU General Public License as
22494 # published by the Free Software Foundation; either version 2 of
22495 # the License, or (at your option) any later version.
22497 # As a special exception to the GNU General Public License,
22498 # if you distribute this file as part of a program or library that
22499 # is built using GNU Libtool, you may include this file under the
22500 # same distribution terms that you use for the rest of that program.
22502 # GNU Libtool is distributed in the hope that it will be useful,
22503 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22504 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22505 # GNU General Public License for more details.
22507 # You should have received a copy of the GNU General Public License
22508 # along with GNU Libtool; see the file COPYING. If not, a copy
22509 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22510 # obtained by writing to the Free Software Foundation, Inc.,
22511 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22514 # The names of the tagged configurations supported by this script.
22515 available_tags="CXX "
22517 # ### BEGIN LIBTOOL CONFIG
22519 # Which release of libtool.m4 was used?
22520 macro_version=$macro_version
22521 macro_revision=$macro_revision
22523 # Whether or not to build static libraries.
22524 build_old_libs=$enable_static
22526 # Whether or not to build shared libraries.
22527 build_libtool_libs=$enable_shared
22529 # What type of objects to build.
22532 # Whether or not to optimize for fast installation.
22533 fast_install=$enable_fast_install
22535 # Shell to use when invoking shell scripts.
22538 # An echo program that protects backslashes.
22541 # The PATH separator for the build system.
22542 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22545 host_alias=$host_alias
22549 # The build system.
22550 build_alias=$build_alias
22554 # A sed program that does not truncate output.
22557 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22558 Xsed="\$SED -e 1s/^X//"
22560 # A grep program that handles long lines.
22566 # A literal string matcher.
22569 # A BSD- or MS-compatible name lister.
22572 # Whether we need soft or hard links.
22575 # What is the maximum length of a command?
22576 max_cmd_len=$max_cmd_len
22578 # Object file suffix (normally "o").
22581 # Executable file suffix (normally "").
22584 # whether the shell understands "unset".
22587 # turn spaces into newlines.
22590 # turn newlines into spaces.
22593 # convert \$build file names to \$host format.
22594 to_host_file_cmd=$lt_cv_to_host_file_cmd
22596 # convert \$build files to toolchain format.
22597 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22599 # An object symbol dumper.
22600 OBJDUMP=$lt_OBJDUMP
22602 # Method to check whether dependent libraries are shared objects.
22603 deplibs_check_method=$lt_deplibs_check_method
22605 # Command to use when deplibs_check_method = "file_magic".
22606 file_magic_cmd=$lt_file_magic_cmd
22608 # How to find potential files when deplibs_check_method = "file_magic".
22609 file_magic_glob=$lt_file_magic_glob
22611 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22612 want_nocaseglob=$lt_want_nocaseglob
22614 # DLL creation program.
22615 DLLTOOL=$lt_DLLTOOL
22617 # Command to associate shared and link libraries.
22618 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22623 # Flags to create an archive.
22624 AR_FLAGS=$lt_AR_FLAGS
22626 # How to feed a file listing to the archiver.
22627 archiver_list_spec=$lt_archiver_list_spec
22629 # A symbol stripping program.
22632 # Commands used to install an old-style archive.
22634 old_postinstall_cmds=$lt_old_postinstall_cmds
22635 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22637 # Whether to use a lock for old archive extraction.
22638 lock_old_archive_extraction=$lock_old_archive_extraction
22643 # LTCC compiler flags.
22644 LTCFLAGS=$lt_CFLAGS
22646 # Take the output of nm and produce a listing of raw symbols and C names.
22647 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22649 # Transform the output of nm in a proper C declaration.
22650 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22652 # Transform the output of nm in a C name address pair.
22653 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22655 # Transform the output of nm in a C name address pair when lib prefix is needed.
22656 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22658 # Specify filename containing input files for \$NM.
22659 nm_file_list_spec=$lt_nm_file_list_spec
22661 # The root where to search for dependent libraries,and in which our libraries should be installed.
22662 lt_sysroot=$lt_sysroot
22664 # The name of the directory that contains temporary libtool files.
22667 # Used to examine libraries when file_magic_cmd begins with "file".
22668 MAGIC_CMD=$MAGIC_CMD
22670 # Must we lock files when doing compilation?
22671 need_locks=$lt_need_locks
22674 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22676 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22677 DSYMUTIL=$lt_DSYMUTIL
22679 # Tool to change global to local symbols on Mac OS X.
22682 # Tool to manipulate fat objects and archives on Mac OS X.
22685 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22688 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22689 OTOOL64=$lt_OTOOL64
22691 # Old archive suffix (normally "a").
22694 # Shared library suffix (normally ".so").
22695 shrext_cmds=$lt_shrext_cmds
22697 # The commands to extract the exported symbol list from a shared archive.
22698 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22700 # Variables whose values should be saved in libtool wrapper scripts and
22701 # restored at link time.
22702 variables_saved_for_relink=$lt_variables_saved_for_relink
22704 # Do we need the "lib" prefix for modules?
22705 need_lib_prefix=$need_lib_prefix
22707 # Do we need a version for libraries?
22708 need_version=$need_version
22710 # Library versioning type.
22711 version_type=$version_type
22713 # Shared library runtime path variable.
22714 runpath_var=$runpath_var
22716 # Shared library path variable.
22717 shlibpath_var=$shlibpath_var
22719 # Is shlibpath searched before the hard-coded library search path?
22720 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22722 # Format of library name prefix.
22723 libname_spec=$lt_libname_spec
22725 # List of archive names. First name is the real one, the rest are links.
22726 # The last name is the one that the linker finds with -lNAME
22727 library_names_spec=$lt_library_names_spec
22729 # The coded name of the library, if different from the real name.
22730 soname_spec=$lt_soname_spec
22732 # Permission mode override for installation of shared libraries.
22733 install_override_mode=$lt_install_override_mode
22735 # Command to use after installation of a shared archive.
22736 postinstall_cmds=$lt_postinstall_cmds
22738 # Command to use after uninstallation of a shared archive.
22739 postuninstall_cmds=$lt_postuninstall_cmds
22741 # Commands used to finish a libtool library installation in a directory.
22742 finish_cmds=$lt_finish_cmds
22744 # As "finish_cmds", except a single script fragment to be evaled but
22746 finish_eval=$lt_finish_eval
22748 # Whether we should hardcode library paths into libraries.
22749 hardcode_into_libs=$hardcode_into_libs
22751 # Compile-time system search path for libraries.
22752 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22754 # Run-time system search path for libraries.
22755 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22757 # Whether dlopen is supported.
22758 dlopen_support=$enable_dlopen
22760 # Whether dlopen of programs is supported.
22761 dlopen_self=$enable_dlopen_self
22763 # Whether dlopen of statically linked programs is supported.
22764 dlopen_self_static=$enable_dlopen_self_static
22766 # Commands to strip libraries.
22767 old_striplib=$lt_old_striplib
22768 striplib=$lt_striplib
22771 # The linker used to build libraries.
22774 # How to create reloadable object files.
22775 reload_flag=$lt_reload_flag
22776 reload_cmds=$lt_reload_cmds
22778 # Commands used to build an old-style archive.
22779 old_archive_cmds=$lt_old_archive_cmds
22781 # A language specific compiler.
22784 # Is the compiler the GNU compiler?
22787 # Compiler flag to turn off builtin functions.
22788 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22790 # Additional compiler flags for building library objects.
22791 pic_flag=$lt_lt_prog_compiler_pic
22793 # How to pass a linker flag through the compiler.
22794 wl=$lt_lt_prog_compiler_wl
22796 # Compiler flag to prevent dynamic linking.
22797 link_static_flag=$lt_lt_prog_compiler_static
22799 # Does compiler simultaneously support -c and -o options?
22800 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22802 # Whether or not to add -lc for building shared libraries.
22803 build_libtool_need_lc=$archive_cmds_need_lc
22805 # Whether or not to disallow shared libs when runtime libs are static.
22806 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22808 # Compiler flag to allow reflexive dlopens.
22809 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22811 # Compiler flag to generate shared objects directly from archives.
22812 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22814 # Whether the compiler copes with passing no objects directly.
22815 compiler_needs_object=$lt_compiler_needs_object
22817 # Create an old-style archive from a shared archive.
22818 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22820 # Create a temporary old-style archive to link instead of a shared archive.
22821 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22823 # Commands used to build a shared archive.
22824 archive_cmds=$lt_archive_cmds
22825 archive_expsym_cmds=$lt_archive_expsym_cmds
22827 # Commands used to build a loadable module if different from building
22828 # a shared archive.
22829 module_cmds=$lt_module_cmds
22830 module_expsym_cmds=$lt_module_expsym_cmds
22832 # Whether we are building with GNU ld or not.
22833 with_gnu_ld=$lt_with_gnu_ld
22835 # Flag that allows shared libraries with undefined symbols to be built.
22836 allow_undefined_flag=$lt_allow_undefined_flag
22838 # Flag that enforces no undefined symbols.
22839 no_undefined_flag=$lt_no_undefined_flag
22841 # Flag to hardcode \$libdir into a binary during linking.
22842 # This must work even if \$libdir does not exist
22843 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22845 # Whether we need a single "-rpath" flag with a separated argument.
22846 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22848 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22849 # DIR into the resulting binary.
22850 hardcode_direct=$hardcode_direct
22852 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22853 # DIR into the resulting binary and the resulting library dependency is
22854 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22855 # library is relocated.
22856 hardcode_direct_absolute=$hardcode_direct_absolute
22858 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22859 # into the resulting binary.
22860 hardcode_minus_L=$hardcode_minus_L
22862 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22863 # into the resulting binary.
22864 hardcode_shlibpath_var=$hardcode_shlibpath_var
22866 # Set to "yes" if building a shared library automatically hardcodes DIR
22867 # into the library and all subsequent libraries and executables linked
22869 hardcode_automatic=$hardcode_automatic
22871 # Set to yes if linker adds runtime paths of dependent libraries
22872 # to runtime path list.
22873 inherit_rpath=$inherit_rpath
22875 # Whether libtool must link a program against all its dependency libraries.
22876 link_all_deplibs=$link_all_deplibs
22878 # Set to "yes" if exported symbols are required.
22879 always_export_symbols=$always_export_symbols
22881 # The commands to list exported symbols.
22882 export_symbols_cmds=$lt_export_symbols_cmds
22884 # Symbols that should not be listed in the preloaded symbols.
22885 exclude_expsyms=$lt_exclude_expsyms
22887 # Symbols that must always be exported.
22888 include_expsyms=$lt_include_expsyms
22890 # Commands necessary for linking programs (against libraries) with templates.
22891 prelink_cmds=$lt_prelink_cmds
22893 # Commands necessary for finishing linking programs.
22894 postlink_cmds=$lt_postlink_cmds
22896 # Specify filename containing input files.
22897 file_list_spec=$lt_file_list_spec
22899 # How to hardcode a shared library path into an executable.
22900 hardcode_action=$hardcode_action
22902 # The directories searched by this compiler when creating a shared library.
22903 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22905 # Dependencies to place before and after the objects being linked to
22906 # create a shared library.
22907 predep_objects=$lt_predep_objects
22908 postdep_objects=$lt_postdep_objects
22909 predeps=$lt_predeps
22910 postdeps=$lt_postdeps
22912 # The library search path used internally by the compiler when linking
22913 # a shared library.
22914 compiler_lib_search_path=$lt_compiler_lib_search_path
22916 # ### END LIBTOOL CONFIG
22922 cat <<\_LT_EOF
>> "$cfgfile"
22923 # AIX sometimes has problems with the GCC collect2 program. For some
22924 # reason, if we set the COLLECT_NAMES environment variable, the problems
22925 # vanish in a puff of smoke.
22926 if test "X${COLLECT_NAMES+set}" != Xset
; then
22928 export COLLECT_NAMES
22935 ltmain
="$ac_aux_dir/ltmain.sh"
22938 # We use sed instead of cat because bash on DJGPP gets confused if
22939 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22940 # text mode, it properly converts lines to CR/LF. This bash problem
22941 # is reportedly fixed, but why not run on old versions too?
22942 sed '$q' "$ltmain" >> "$cfgfile" \
22943 || (rm -f "$cfgfile"; exit 1)
22945 if test x
"$xsi_shell" = xyes
; then
22946 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22950 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22951 \ * ) func_dirname_result="${3}" ;;\
22953 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22954 && mv -f "$cfgfile.tmp" "$cfgfile" \
22955 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22956 test 0 -eq $?
|| _lt_function_replace_fail
=:
22959 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22962 \ func_basename_result="${1##*/}"\
22963 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22964 && mv -f "$cfgfile.tmp" "$cfgfile" \
22965 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22966 test 0 -eq $?
|| _lt_function_replace_fail
=:
22969 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22970 func_dirname_and_basename ()\
22973 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22974 \ * ) func_dirname_result="${3}" ;;\
22976 \ func_basename_result="${1##*/}"\
22977 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22978 && mv -f "$cfgfile.tmp" "$cfgfile" \
22979 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22980 test 0 -eq $?
|| _lt_function_replace_fail
=:
22983 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22986 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22987 \ # positional parameters, so assign one to ordinary parameter first.\
22988 \ func_stripname_result=${3}\
22989 \ func_stripname_result=${func_stripname_result#"${1}"}\
22990 \ func_stripname_result=${func_stripname_result%"${2}"}\
22991 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22992 && mv -f "$cfgfile.tmp" "$cfgfile" \
22993 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22994 test 0 -eq $?
|| _lt_function_replace_fail
=:
22997 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22998 func_split_long_opt ()\
23000 \ func_split_long_opt_name=${1%%=*}\
23001 \ func_split_long_opt_arg=${1#*=}\
23002 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23003 && mv -f "$cfgfile.tmp" "$cfgfile" \
23004 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23005 test 0 -eq $?
|| _lt_function_replace_fail
=:
23008 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23009 func_split_short_opt ()\
23011 \ func_split_short_opt_arg=${1#??}\
23012 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23013 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23014 && mv -f "$cfgfile.tmp" "$cfgfile" \
23015 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23016 test 0 -eq $?
|| _lt_function_replace_fail
=:
23019 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23023 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23024 \ *) func_lo2o_result=${1} ;;\
23026 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23027 && mv -f "$cfgfile.tmp" "$cfgfile" \
23028 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23029 test 0 -eq $?
|| _lt_function_replace_fail
=:
23032 sed -e '/^func_xform ()$/,/^} # func_xform /c\
23035 func_xform_result=${1%.*}.lo\
23036 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23037 && mv -f "$cfgfile.tmp" "$cfgfile" \
23038 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23039 test 0 -eq $?
|| _lt_function_replace_fail
=:
23042 sed -e '/^func_arith ()$/,/^} # func_arith /c\
23045 func_arith_result=$(( $* ))\
23046 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23047 && mv -f "$cfgfile.tmp" "$cfgfile" \
23048 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23049 test 0 -eq $?
|| _lt_function_replace_fail
=:
23052 sed -e '/^func_len ()$/,/^} # func_len /c\
23055 func_len_result=${#1}\
23056 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
23057 && mv -f "$cfgfile.tmp" "$cfgfile" \
23058 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23059 test 0 -eq $?
|| _lt_function_replace_fail
=:
23063 if test x
"$lt_shell_append" = xyes
; then
23064 sed -e '/^func_append ()$/,/^} # func_append /c\
23067 eval "${1}+=\\${2}"\
23068 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23069 && mv -f "$cfgfile.tmp" "$cfgfile" \
23070 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23071 test 0 -eq $?
|| _lt_function_replace_fail
=:
23074 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23075 func_append_quoted ()\
23077 \ func_quote_for_eval "${2}"\
23078 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23079 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23080 && mv -f "$cfgfile.tmp" "$cfgfile" \
23081 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23082 test 0 -eq $?
|| _lt_function_replace_fail
=:
23085 # Save a `func_append' function call where possible by direct use of '+='
23086 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23087 && mv -f "$cfgfile.tmp" "$cfgfile" \
23088 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23089 test 0 -eq $?
|| _lt_function_replace_fail
=:
23091 # Save a `func_append' function call even when '+=' is not available
23092 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23093 && mv -f "$cfgfile.tmp" "$cfgfile" \
23094 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23095 test 0 -eq $?
|| _lt_function_replace_fail
=:
23098 if test x
"$_lt_function_replace_fail" = x
":"; then
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23100 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23104 mv -f "$cfgfile" "$ofile" ||
23105 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23109 cat <<_LT_EOF >> "$ofile"
23111 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23113 # The linker used to build libraries.
23116 # How to create reloadable object files.
23117 reload_flag=$lt_reload_flag_CXX
23118 reload_cmds=$lt_reload_cmds_CXX
23120 # Commands used to build an old-style archive.
23121 old_archive_cmds=$lt_old_archive_cmds_CXX
23123 # A language specific compiler.
23124 CC=$lt_compiler_CXX
23126 # Is the compiler the GNU compiler?
23129 # Compiler flag to turn off builtin functions.
23130 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23132 # Additional compiler flags for building library objects.
23133 pic_flag=$lt_lt_prog_compiler_pic_CXX
23135 # How to pass a linker flag through the compiler.
23136 wl=$lt_lt_prog_compiler_wl_CXX
23138 # Compiler flag to prevent dynamic linking.
23139 link_static_flag=$lt_lt_prog_compiler_static_CXX
23141 # Does compiler simultaneously support -c and -o options?
23142 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23144 # Whether or not to add -lc for building shared libraries.
23145 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23147 # Whether or not to disallow shared libs when runtime libs are static.
23148 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23150 # Compiler flag to allow reflexive dlopens.
23151 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23153 # Compiler flag to generate shared objects directly from archives.
23154 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23156 # Whether the compiler copes with passing no objects directly.
23157 compiler_needs_object=$lt_compiler_needs_object_CXX
23159 # Create an old-style archive from a shared archive.
23160 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23162 # Create a temporary old-style archive to link instead of a shared archive.
23163 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23165 # Commands used to build a shared archive.
23166 archive_cmds=$lt_archive_cmds_CXX
23167 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23169 # Commands used to build a loadable module if different from building
23170 # a shared archive.
23171 module_cmds=$lt_module_cmds_CXX
23172 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23174 # Whether we are building with GNU ld or not.
23175 with_gnu_ld=$lt_with_gnu_ld_CXX
23177 # Flag that allows shared libraries with undefined symbols to be built.
23178 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23180 # Flag that enforces no undefined symbols.
23181 no_undefined_flag=$lt_no_undefined_flag_CXX
23183 # Flag to hardcode \$libdir into a binary during linking.
23184 # This must work even if \$libdir does not exist
23185 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23187 # Whether we need a single "-rpath" flag with a separated argument.
23188 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23190 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23191 # DIR into the resulting binary.
23192 hardcode_direct=$hardcode_direct_CXX
23194 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23195 # DIR into the resulting binary and the resulting library dependency is
23196 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23197 # library is relocated.
23198 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23200 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23201 # into the resulting binary.
23202 hardcode_minus_L=$hardcode_minus_L_CXX
23204 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23205 # into the resulting binary.
23206 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23208 # Set to "yes" if building a shared library automatically hardcodes DIR
23209 # into the library and all subsequent libraries and executables linked
23211 hardcode_automatic=$hardcode_automatic_CXX
23213 # Set to yes if linker adds runtime paths of dependent libraries
23214 # to runtime path list.
23215 inherit_rpath=$inherit_rpath_CXX
23217 # Whether libtool must link a program against all its dependency libraries.
23218 link_all_deplibs=$link_all_deplibs_CXX
23220 # Set to "yes" if exported symbols are required.
23221 always_export_symbols=$always_export_symbols_CXX
23223 # The commands to list exported symbols.
23224 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23226 # Symbols that should not be listed in the preloaded symbols.
23227 exclude_expsyms=$lt_exclude_expsyms_CXX
23229 # Symbols that must always be exported.
23230 include_expsyms=$lt_include_expsyms_CXX
23232 # Commands necessary for linking programs (against libraries) with templates.
23233 prelink_cmds=$lt_prelink_cmds_CXX
23235 # Commands necessary for finishing linking programs.
23236 postlink_cmds=$lt_postlink_cmds_CXX
23238 # Specify filename containing input files.
23239 file_list_spec=$lt_file_list_spec_CXX
23241 # How to hardcode a shared library path into an executable.
23242 hardcode_action=$hardcode_action_CXX
23244 # The directories searched by this compiler when creating a shared library.
23245 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23247 # Dependencies to place before and after the objects being linked to
23248 # create a shared library.
23249 predep_objects=$lt_predep_objects_CXX
23250 postdep_objects=$lt_postdep_objects_CXX
23251 predeps=$lt_predeps_CXX
23252 postdeps=$lt_postdeps_CXX
23254 # The library search path used internally by the compiler when linking
23255 # a shared library.
23256 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23258 # ### END LIBTOOL TAG CONFIG: CXX
23269 ac_clean_files
=$ac_clean_files_save
23271 test $ac_write_fail = 0 ||
23272 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23275 # configure is writing to config.log, and then calls config.status.
23276 # config.status does its own redirection, appending to config.log.
23277 # Unfortunately, on DOS this fails, as config.log is still kept open
23278 # by configure, so config.status won't be able to write to it; its
23279 # output is simply discarded. So we exec the FD to /dev/null,
23280 # effectively closing config.log, so it can be properly (re)opened and
23281 # appended to by config.status. When coming back to configure, we
23282 # need to make the FD available again.
23283 if test "$no_create" != yes; then
23285 ac_config_status_args
=
23286 test "$silent" = yes &&
23287 ac_config_status_args
="$ac_config_status_args --quiet"
23289 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23291 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23292 # would make configure fail if this is the last instruction.
23293 $ac_cs_success || as_fn_exit
1
23295 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23297 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}