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-2015 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
715 am__fastdepOBJCXX_FALSE
716 am__fastdepOBJCXX_TRUE
745 MAINTAINER_MODE_FALSE
759 INSTALL_STRIP_PROGRAM
801 program_transform_name
814 enable_option_checking
816 enable_maintainer_mode
817 enable_dependency_tracking
830 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
1496 --disable-attach disable attach
1499 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1500 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1501 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1503 --with-aix-soname=aix
|svr4
|both
1504 shared library versioning
(aka
"SONAME") variant to
1505 provide on AIX
, [default
=aix
].
1506 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1507 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1508 compiler
's sysroot if not specified).
1510 Some influential environment variables:
1511 CC C compiler command
1512 CFLAGS C compiler flags
1513 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1514 nonstandard directory <lib dir>
1515 LIBS libraries to pass to the linker, e.g. -l<library>
1516 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1517 you have headers in a nonstandard directory <include dir>
1518 CXX C++ compiler command
1519 CXXFLAGS C++ compiler flags
1520 OBJCXX Objective C++ compiler command
1521 OBJCXXFLAGS Objective C++ compiler flags
1523 User-defined run-time library search path.
1525 CXXCPP C++ preprocessor
1526 PKG_CONFIG path to pkg-config utility
1528 directories to add to pkg-config's search path
1530 path overriding pkg
-config's built-in search path
1531 BISON GNU Project parser generator (yacc replacement)
1532 FLEX the fast lexical analyser generator
1533 GPERF perfect hash function generator
1534 GNUTAR a very sticky lump of files
1537 C compiler flags for WEBKIT, overriding pkg-config
1538 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1540 prints information about the current gnustep installation
1542 Use these variables to override the choices made by `configure' or to
help
1543 it to
find libraries and programs with nonstandard names
/locations.
1545 Report bugs to
<saurik@saurik.com
>.
1546 Cycript home page
: <http
://www.cycript.org
/>.
1551 if test "$ac_init_help" = "recursive"; then
1552 # If there are subdirs, report their specific --help.
1553 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1554 test -d "$ac_dir" ||
1555 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1560 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1562 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1563 # A ".." for each directory in $ac_dir_suffix.
1564 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1565 case $ac_top_builddir_sub in
1566 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1567 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1570 ac_abs_top_builddir
=$ac_pwd
1571 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1572 # for backward compatibility:
1573 ac_top_builddir
=$ac_top_build_prefix
1576 .
) # We are building in place.
1578 ac_top_srcdir
=$ac_top_builddir_sub
1579 ac_abs_top_srcdir
=$ac_pwd ;;
1580 [\\/]* | ?
:[\\/]* ) # Absolute name.
1581 ac_srcdir
=$srcdir$ac_dir_suffix;
1582 ac_top_srcdir
=$srcdir
1583 ac_abs_top_srcdir
=$srcdir ;;
1585 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1586 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1587 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1589 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1591 cd "$ac_dir" || { ac_status
=$?
; continue; }
1592 # Check for guested configure.
1593 if test -f "$ac_srcdir/configure.gnu"; then
1595 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1596 elif test -f "$ac_srcdir/configure"; then
1598 $SHELL "$ac_srcdir/configure" --help=recursive
1600 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1602 cd "$ac_pwd" || { ac_status
=$?
; break; }
1606 test -n "$ac_init_help" && exit $ac_status
1607 if $ac_init_version; then
1609 Cycript configure
0.9
1610 generated by GNU Autoconf
2.69
1612 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1613 This configure
script is free software
; the Free Software Foundation
1614 gives unlimited permission to copy
, distribute and modify it.
1616 Copyright
(C
) 2009-2015 Jay Freeman
(saurik
)
1621 ## ------------------------ ##
1622 ## Autoconf initialization. ##
1623 ## ------------------------ ##
1625 # ac_fn_c_try_compile LINENO
1626 # --------------------------
1627 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1628 ac_fn_c_try_compile
()
1630 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1631 rm -f conftest.
$ac_objext
1632 if { { ac_try
="$ac_compile"
1634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_compile") 2>conftest.err
1641 if test -s conftest.err; then
1642 grep -v '^ *+' conftest.err >conftest.er1
1643 cat conftest.er1 >&5
1644 mv -f conftest.er1 conftest.err
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } && {
1648 test -z "$ac_c_werror_flag" ||
1649 test ! -s conftest.err
1650 } && test -s conftest.$ac_objext; then :
1653 $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659 as_fn_set_status $ac_retval
1661 } # ac_fn_c_try_compile
1663 # ac_fn_cxx_try_compile LINENO
1664 # ----------------------------
1665 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1666 ac_fn_cxx_try_compile ()
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 rm -f conftest.$ac_objext
1670 if { { ac_try="$ac_compile"
1672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1673 *) ac_try_echo
=$ac_try;;
1675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_compile") 2>conftest.err
1679 if test -s conftest.err
; then
1680 grep -v '^ *+' conftest.err
>conftest.er1
1681 cat conftest.er1
>&5
1682 mv -f conftest.er1 conftest.err
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } && {
1686 test -z "$ac_cxx_werror_flag" ||
1687 test ! -s conftest.err
1688 } && test -s conftest.
$ac_objext; then :
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.
$ac_ext >&5
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697 as_fn_set_status
$ac_retval
1699 } # ac_fn_cxx_try_compile
1701 # ac_fn_objcxx_try_compile LINENO
1702 # -------------------------------
1703 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1704 ac_fn_objcxx_try_compile
()
1706 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1707 rm -f conftest.
$ac_objext
1708 if { { ac_try
="$ac_compile"
1710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_compile") 2>conftest.err
1717 if test -s conftest.err; then
1718 grep -v '^ *+' conftest.err >conftest.er1
1719 cat conftest.er1 >&5
1720 mv -f conftest.er1 conftest.err
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } && {
1724 test -z "$ac_objcxx_werror_flag" ||
1725 test ! -s conftest.err
1726 } && test -s conftest.$ac_objext; then :
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 as_fn_set_status $ac_retval
1737 } # ac_fn_objcxx_try_compile
1739 # ac_fn_c_try_link LINENO
1740 # -----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded.
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 rm -f conftest.$ac_objext conftest$ac_exeext
1746 if { { ac_try="$ac_link"
1748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1749 *) ac_try_echo
=$ac_try;;
1751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_link") 2>conftest.err
1755 if test -s conftest.err
; then
1756 grep -v '^ *+' conftest.err
>conftest.er1
1757 cat conftest.er1
>&5
1758 mv -f conftest.er1 conftest.err
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; } && {
1762 test -z "$ac_c_werror_flag" ||
1763 test ! -s conftest.err
1764 } && test -s conftest
$ac_exeext && {
1765 test "$cross_compiling" = yes ||
1766 test -x conftest
$ac_exeext
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.
$ac_ext >&5
1775 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1776 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1777 # interfere with the next link command; also delete a directory that is
1778 # left behind by Apple's compiler. We do this before executing the actions.
1779 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 as_fn_set_status
$ac_retval
1783 } # ac_fn_c_try_link
1785 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1786 # -------------------------------------------------------
1787 # Tests whether HEADER exists and can be compiled using the include files in
1788 # INCLUDES, setting the cache variable VAR accordingly.
1789 ac_fn_c_check_header_compile
()
1791 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if eval \
${$3+:} false
; then :
1795 $as_echo_n "(cached) " >&6
1797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1802 if ac_fn_c_try_compile
"$LINENO"; then :
1807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 } # ac_fn_c_check_header_compile
1816 # ac_fn_c_try_cpp LINENO
1817 # ----------------------
1818 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1821 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1822 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1831 if test -s conftest.err; then
1832 grep -v '^ *+' conftest.err >conftest.er1
1833 cat conftest.er1 >&5
1834 mv -f conftest.er1 conftest.err
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } > conftest.i && {
1838 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1839 test ! -s conftest.err
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 as_fn_set_status $ac_retval
1853 # ac_fn_c_try_run LINENO
1854 # ----------------------
1855 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1856 # that executables *can* be run.
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 if { { ac_try="$ac_link"
1862 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1863 *) ac_try_echo
=$ac_try;;
1865 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_link") 2>&5
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1871 { { case "(($ac_try" in
1872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_try") 2>&5
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; }; }; then :
1883 $as_echo "$as_me: program exited with status $ac_status" >&5
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1887 ac_retval=$ac_status
1889 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891 as_fn_set_status $ac_retval
1895 # ac_fn_c_check_func LINENO FUNC VAR
1896 # ----------------------------------
1897 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1898 ac_fn_c_check_func ()
1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902 $as_echo_n "checking for $2... " >&6; }
1903 if eval \${$3+:} false; then :
1904 $as_echo_n "(cached) " >&6
1906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */
1908 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1910 #define $2 innocuous_$2
1912 /* System header to define __stub macros and hopefully few prototypes,
1913 which can conflict with char $2 (); below.
1914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1915 <limits.h> exists even on freestanding compilers. */
1918 # include <limits.h>
1920 # include <assert.h>
1925 /* Override any GCC internal prototype to avoid an error.
1926 Use char because int might match the return type of a GCC
1927 builtin and then its argument prototype would still apply. */
1932 /* The GNU C library defines this for functions which it implements
1933 to always fail with ENOSYS. Some functions are actually named
1934 something starting with __ and the normal name is an alias. */
1935 #if defined __stub_$2 || defined __stub___$2
1947 if ac_fn_c_try_link "$LINENO"; then :
1952 rm -f core conftest.err conftest.$ac_objext \
1953 conftest$ac_exeext conftest.$ac_ext
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957 $as_echo "$ac_res" >&6; }
1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960 } # ac_fn_c_check_func
1962 # ac_fn_cxx_try_cpp LINENO
1963 # ------------------------
1964 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1965 ac_fn_cxx_try_cpp ()
1967 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1968 if { { ac_try="$ac_cpp conftest.$ac_ext"
1970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1971 *) ac_try_echo
=$ac_try;;
1973 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1974 $as_echo "$ac_try_echo"; } >&5
1975 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1977 if test -s conftest.err
; then
1978 grep -v '^ *+' conftest.err
>conftest.er1
1979 cat conftest.er1
>&5
1980 mv -f conftest.er1 conftest.err
1982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983 test $ac_status = 0; } > conftest.i
&& {
1984 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1985 test ! -s conftest.err
1989 $as_echo "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.
$ac_ext >&5
1994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995 as_fn_set_status
$ac_retval
1997 } # ac_fn_cxx_try_cpp
1999 # ac_fn_cxx_try_link LINENO
2000 # -------------------------
2001 # Try to link conftest.$ac_ext, and return whether this succeeded.
2002 ac_fn_cxx_try_link
()
2004 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2005 rm -f conftest.
$ac_objext conftest
$ac_exeext
2006 if { { ac_try
="$ac_link"
2008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2009 *) ac_try_echo=$ac_try;;
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_link") 2>conftest.err
2015 if test -s conftest.err; then
2016 grep -v '^ *+' conftest.err >conftest.er1
2017 cat conftest.er1 >&5
2018 mv -f conftest.er1 conftest.err
2020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021 test $ac_status = 0; } && {
2022 test -z "$ac_cxx_werror_flag" ||
2023 test ! -s conftest.err
2024 } && test -s conftest$ac_exeext && {
2025 test "$cross_compiling" = yes ||
2026 test -x conftest$ac_exeext
2030 $as_echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.$ac_ext >&5
2035 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2036 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2037 # interfere with the next link command; also delete a directory that is
2038 # left behind by Apple's compiler. We do this before executing the actions.
2039 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 as_fn_set_status $ac_retval
2043 } # ac_fn_cxx_try_link
2045 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2046 # ---------------------------------------------------------
2047 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2048 # the include files in INCLUDES and setting the cache variable VAR
2050 ac_fn_cxx_check_header_mongrel ()
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 if eval \${$3+:} false; then :
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055 $as_echo_n "checking for $2... " >&6; }
2056 if eval \${$3+:} false; then :
2057 $as_echo_n "(cached) " >&6
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2063 # Is the header compilable?
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2065 $as_echo_n "checking $2 usability... " >&6; }
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2071 if ac_fn_cxx_try_compile "$LINENO"; then :
2072 ac_header_compiler=yes
2074 ac_header_compiler=no
2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2078 $as_echo "$ac_header_compiler" >&6; }
2080 # Is the header present?
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2082 $as_echo_n "checking $2 presence... " >&6; }
2083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2084 /* end confdefs.h. */
2087 if ac_fn_cxx_try_cpp "$LINENO"; then :
2088 ac_header_preproc=yes
2090 ac_header_preproc=no
2092 rm -f conftest.err conftest.i conftest.$ac_ext
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2094 $as_echo "$ac_header_preproc" >&6; }
2096 # So? What about this header?
2097 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2100 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2102 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2106 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2108 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2110 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2112 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2114 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2115 ( $as_echo "## -------------------------------- ##
2116 ## Report this to saurik@saurik.com ##
2117 ## -------------------------------- ##"
2118 ) | sed "s/^/$as_me: WARNING: /" >&2
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval \${$3+:} false; then :
2124 $as_echo_n "(cached) " >&6
2126 eval "$3=\$ac_header_compiler"
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2134 } # ac_fn_cxx_check_header_mongrel
2136 # ac_fn_objcxx_try_link LINENO
2137 # ----------------------------
2138 # Try to link conftest.$ac_ext, and return whether this succeeded.
2139 ac_fn_objcxx_try_link ()
2141 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2142 rm -f conftest.$ac_objext conftest$ac_exeext
2143 if { { ac_try="$ac_link"
2145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2146 *) ac_try_echo
=$ac_try;;
2148 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2149 $as_echo "$ac_try_echo"; } >&5
2150 (eval "$ac_link") 2>conftest.err
2152 if test -s conftest.err
; then
2153 grep -v '^ *+' conftest.err
>conftest.er1
2154 cat conftest.er1
>&5
2155 mv -f conftest.er1 conftest.err
2157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2158 test $ac_status = 0; } && {
2159 test -z "$ac_objcxx_werror_flag" ||
2160 test ! -s conftest.err
2161 } && test -s conftest
$ac_exeext && {
2162 test "$cross_compiling" = yes ||
2163 test -x conftest
$ac_exeext
2167 $as_echo "$as_me: failed program was:" >&5
2168 sed 's/^/| /' conftest.
$ac_ext >&5
2172 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2173 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2174 # interfere with the next link command; also delete a directory that is
2175 # left behind by Apple's compiler. We do this before executing the actions.
2176 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2178 as_fn_set_status
$ac_retval
2180 } # ac_fn_objcxx_try_link
2181 cat >config.log
<<_ACEOF
2182 This file contains any messages produced by compilers while
2183 running configure, to aid debugging if configure makes a mistake.
2185 It was created by Cycript $as_me 0.9, which was
2186 generated by GNU Autoconf 2.69. Invocation command line was
2198 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2199 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2200 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2201 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2202 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2204 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2205 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2207 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2208 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2209 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2210 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2211 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2212 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2213 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2221 test -z "$as_dir" && as_dir
=.
2222 $as_echo "PATH: $as_dir"
2238 # Keep a trace of the command line.
2239 # Strip out --no-create and --no-recursion so they do not pile up.
2240 # Strip out --silent because we don't want to record it for future runs.
2241 # Also quote any args containing shell meta-characters.
2242 # Make two passes to allow for proper duplicate-argument suppression.
2246 ac_must_keep_next
=false
2252 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2253 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2254 | -silent | --silent | --silen | --sile | --sil)
2257 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2260 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2262 as_fn_append ac_configure_args1
" '$ac_arg'"
2263 if test $ac_must_keep_next = true
; then
2264 ac_must_keep_next
=false
# Got value, back to normal.
2267 *=* | --config-cache | -C | -disable-* | --disable-* \
2268 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2269 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2270 | -with-* | --with-* | -without-* | --without-* | --x)
2271 case "$ac_configure_args0 " in
2272 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2275 -* ) ac_must_keep_next
=true
;;
2278 as_fn_append ac_configure_args
" '$ac_arg'"
2283 { ac_configure_args0
=; unset ac_configure_args0
;}
2284 { ac_configure_args1
=; unset ac_configure_args1
;}
2286 # When interrupted or exit'd, cleanup temporary files, and complete
2287 # config.log. We remove comments because anyway the quotes in there
2288 # would cause problems or look ugly.
2289 # WARNING: Use '\'' to represent an apostrophe within the trap.
2290 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2291 trap 'exit_status=$?
2292 # Save into config.log some information that might help in debugging.
2296 $as_echo "## ---------------- ##
2297 ## Cache variables. ##
2298 ## ---------------- ##"
2300 # The following way of writing the cache mishandles newlines in values,
2302 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2303 eval ac_val=\$$ac_var
2307 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2308 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2311 _ | IFS | as_nl) ;; #(
2312 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2313 *) { eval $ac_var=; unset $ac_var;} ;;
2318 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2319 *${as_nl}ac_space=\ *)
2321 "s/'\''/'\''\\\\'\'''\''/g;
2322 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2325 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2332 $as_echo "## ----------------- ##
2333 ## Output variables. ##
2334 ## ----------------- ##"
2336 for ac_var in $ac_subst_vars
2338 eval ac_val=\$$ac_var
2340 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2342 $as_echo "$ac_var='\''$ac_val'\''"
2346 if test -n "$ac_subst_files"; then
2347 $as_echo "## ------------------- ##
2348 ## File substitutions. ##
2349 ## ------------------- ##"
2351 for ac_var
in $ac_subst_files
2353 eval ac_val
=\$
$ac_var
2355 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2357 $as_echo "$ac_var='\''$ac_val'\''"
2362 if test -s confdefs.h; then
2363 $as_echo "## ----------- ##
2370 test "$ac_signal" != 0 &&
2371 $as_echo "$as_me: caught signal $ac_signal"
2372 $as_echo "$as_me: exit $exit_status"
2374 rm -f core *.core core.conftest.* &&
2375 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2378 for ac_signal
in 1 2 13 15; do
2379 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2383 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2384 rm -f -r conftest
* confdefs.h
2386 $as_echo "/* confdefs.h */" > confdefs.h
2388 # Predefined preprocessor variables.
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE_NAME "$PACKAGE_NAME"
2394 cat >>confdefs.h
<<_ACEOF
2395 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2398 cat >>confdefs.h
<<_ACEOF
2399 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2402 cat >>confdefs.h
<<_ACEOF
2403 #define PACKAGE_STRING "$PACKAGE_STRING"
2406 cat >>confdefs.h
<<_ACEOF
2407 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2410 cat >>confdefs.h
<<_ACEOF
2411 #define PACKAGE_URL "$PACKAGE_URL"
2415 # Let the site file select an alternate cache file if it wants to.
2416 # Prefer an explicitly selected file to automatically selected ones.
2419 if test -n "$CONFIG_SITE"; then
2420 # We do not want a PATH search for config.site.
2421 case $CONFIG_SITE in #((
2422 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2423 */*) ac_site_file1
=$CONFIG_SITE;;
2424 *) ac_site_file1
=.
/$CONFIG_SITE;;
2426 elif test "x$prefix" != xNONE
; then
2427 ac_site_file1
=$prefix/share
/config.site
2428 ac_site_file2
=$prefix/etc
/config.site
2430 ac_site_file1
=$ac_default_prefix/share
/config.site
2431 ac_site_file2
=$ac_default_prefix/etc
/config.site
2433 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2435 test "x$ac_site_file" = xNONE
&& continue
2436 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2438 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2439 sed 's/^/| /' "$ac_site_file" >&5
2441 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2443 as_fn_error $?
"failed to load site script $ac_site_file
2444 See \`config.log' for more details" "$LINENO" 5; }
2448 if test -r "$cache_file"; then
2449 # Some versions of bash will fail to source /dev/null (special files
2450 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2451 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2453 $as_echo "$as_me: loading cache $cache_file" >&6;}
2455 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2456 *) .
"./$cache_file";;
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2461 $as_echo "$as_me: creating cache $cache_file" >&6;}
2465 # Check that the precious variables saved in the cache have kept the same
2467 ac_cache_corrupted
=false
2468 for ac_var
in $ac_precious_vars; do
2469 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2470 eval ac_new_set
=\
$ac_env_${ac_var}_set
2471 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2472 eval ac_new_val
=\
$ac_env_${ac_var}_value
2473 case $ac_old_set,$ac_new_set in
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2476 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2477 ac_cache_corrupted
=: ;;
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2480 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2481 ac_cache_corrupted
=: ;;
2484 if test "x$ac_old_val" != "x$ac_new_val"; then
2485 # differences in whitespace do not lead to failure.
2486 ac_old_val_w
=`echo x $ac_old_val`
2487 ac_new_val_w
=`echo x $ac_new_val`
2488 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2490 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2491 ac_cache_corrupted
=:
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2494 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2495 eval $ac_var=\
$ac_old_val
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2498 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2500 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2503 # Pass precious variables to config.status.
2504 if test "$ac_new_set" = set; then
2506 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2507 *) ac_arg
=$ac_var=$ac_new_val ;;
2509 case " $ac_configure_args " in
2510 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2511 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2515 if $ac_cache_corrupted; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2519 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2520 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2522 ## -------------------- ##
2523 ## Main body of script. ##
2524 ## -------------------- ##
2527 ac_cpp
='$CPP $CPPFLAGS'
2528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2537 for ac_dir
in .
"$srcdir"/.
; do
2538 if test -f "$ac_dir/install-sh"; then
2540 ac_install_sh
="$ac_aux_dir/install-sh -c"
2542 elif test -f "$ac_dir/install.sh"; then
2544 ac_install_sh
="$ac_aux_dir/install.sh -c"
2546 elif test -f "$ac_dir/shtool"; then
2548 ac_install_sh
="$ac_aux_dir/shtool install -c"
2552 if test -z "$ac_aux_dir"; then
2553 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2556 # These three variables are undocumented and unsupported,
2557 # and are intended to be withdrawn in a future Autoconf release.
2558 # They can cause serious problems if a builder's source tree is in a directory
2559 # whose full name contains unusual characters.
2560 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2561 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2562 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2566 ac_config_headers
="$ac_config_headers config.h"
2569 am__api_version
='1.15'
2571 # Find a good install program. We prefer a C program (faster),
2572 # so one script is as good as another. But avoid the broken or
2573 # incompatible versions:
2574 # SysV /etc/install, /usr/sbin/install
2575 # SunOS /usr/etc/install
2576 # IRIX /sbin/install
2578 # AmigaOS /C/install, which installs bootblocks on floppy discs
2579 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2580 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2581 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2582 # OS/2's system install, which has a completely different semantic
2583 # ./install, which can be erroneously created by make from ./install.sh.
2584 # Reject install programs that cannot install multiple files.
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2586 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2587 if test -z "$INSTALL"; then
2588 if ${ac_cv_path_install+:} false
; then :
2589 $as_echo_n "(cached) " >&6
2591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2595 test -z "$as_dir" && as_dir
=.
2596 # Account for people who put trailing slashes in PATH elements.
2597 case $as_dir/ in #((
2598 .
/ | .
// | /[cC
]/* | \
2599 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2600 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2603 # OSF1 and SCO ODT 3.0 have their own names for install.
2604 # Don't use installbsd from OSF since it installs stuff as root
2606 for ac_prog
in ginstall scoinst
install; do
2607 for ac_exec_ext
in '' $ac_executable_extensions; do
2608 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2609 if test $ac_prog = install &&
2610 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2611 # AIX install. It has an incompatible calling convention.
2613 elif test $ac_prog = install &&
2614 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2615 # program-specific install script used by HP pwplus--don't use.
2618 rm -rf conftest.one conftest.two conftest.dir
2619 echo one
> conftest.one
2620 echo two
> conftest.two
2622 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2623 test -s conftest.one
&& test -s conftest.two
&&
2624 test -s conftest.dir
/conftest.one
&&
2625 test -s conftest.dir
/conftest.two
2627 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2640 rm -rf conftest.one conftest.two conftest.dir
2643 if test "${ac_cv_path_install+set}" = set; then
2644 INSTALL
=$ac_cv_path_install
2646 # As a last resort, use the slow shell script. Don't cache a
2647 # value for INSTALL within a source directory, because that will
2648 # break other packages using the cache if that directory is
2649 # removed, or if the value is a relative name.
2650 INSTALL
=$ac_install_sh
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2654 $as_echo "$INSTALL" >&6; }
2656 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2657 # It thinks the first close brace ends the variable substitution.
2658 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2660 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2662 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2665 $as_echo_n "checking whether build environment is sane... " >&6; }
2666 # Reject unsafe characters in $srcdir or the absolute working directory
2667 # name. Accept space and tab only in the latter.
2671 *[\\\"\#\$\&\'\`$am_lf]*)
2672 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2675 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2676 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2679 # Do 'set' in a subshell so we don't clobber the current shell's
2680 # arguments. Must try -L first in case configure is actually a
2681 # symlink; some systems play weird games with the mod time of symlinks
2682 # (eg FreeBSD returns the mod time of the symlink's containing
2686 for am_try
in 1 2; do
2687 echo "timestamp, slept: $am_has_slept" > conftest.
file
2688 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2689 if test "$*" = "X"; then
2691 set X
`ls -t "$srcdir/configure" conftest.file`
2693 if test "$*" != "X $srcdir/configure conftest.file" \
2694 && test "$*" != "X conftest.file $srcdir/configure"; then
2696 # If neither matched, then we have a broken ls. This can happen
2697 # if, for instance, CONFIG_SHELL is bash and it inherits a
2698 # broken ls alias from the environment. This has actually
2699 # happened. Such a system could not be considered "sane".
2700 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2701 alias in your environment" "$LINENO" 5
2703 if test "$2" = conftest.
file || test $am_try -eq 2; then
2710 test "$2" = conftest.
file
2716 as_fn_error $?
"newly created file is older than distributed files!
2717 Check your system clock" "$LINENO" 5
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2720 $as_echo "yes" >&6; }
2721 # If we didn't sleep, we still need to ensure time stamps of config.status and
2722 # generated files are strictly newer.
2724 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2731 test "$program_prefix" != NONE
&&
2732 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2733 # Use a double $ so make ignores it.
2734 test "$program_suffix" != NONE
&&
2735 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2736 # Double any \ or $.
2737 # By default was `s,x,x', remove it if useless.
2738 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2739 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2741 # Expand $ac_aux_dir to an absolute path.
2742 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2744 if test x
"${MISSING+set}" != xset
; then
2747 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2749 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2752 # Use eval to expand $SHELL
2753 if eval "$MISSING --is-lightweight"; then
2754 am_missing_run
="$MISSING "
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2758 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2761 if test x
"${install_sh+set}" != xset
; then
2764 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2766 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2770 # Installed binaries are usually stripped using 'strip' when the user
2771 # run "make install-strip". However 'strip' might not be the right
2772 # tool to use in cross-compilation environments, therefore Automake
2773 # will honor the 'STRIP' environment variable to overrule this program.
2774 if test "$cross_compiling" != no
; then
2775 if test -n "$ac_tool_prefix"; then
2776 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2777 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if ${ac_cv_prog_STRIP+:} false
; then :
2781 $as_echo_n "(cached) " >&6
2783 if test -n "$STRIP"; then
2784 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir
=.
2791 for ac_exec_ext
in '' $ac_executable_extensions; do
2792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2793 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 STRIP
=$ac_cv_prog_STRIP
2804 if test -n "$STRIP"; then
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2806 $as_echo "$STRIP" >&6; }
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2814 if test -z "$ac_cv_prog_STRIP"; then
2816 # Extract the first word of "strip", so it can be a program name with args.
2817 set dummy strip
; ac_word
=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2821 $as_echo_n "(cached) " >&6
2823 if test -n "$ac_ct_STRIP"; then
2824 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir
=.
2831 for ac_exec_ext
in '' $ac_executable_extensions; do
2832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2833 ac_cv_prog_ac_ct_STRIP
="strip"
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2844 if test -n "$ac_ct_STRIP"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2846 $as_echo "$ac_ct_STRIP" >&6; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2852 if test "x$ac_ct_STRIP" = x
; then
2855 case $cross_compiling:$ac_tool_warned in
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2859 ac_tool_warned
=yes ;;
2864 STRIP
="$ac_cv_prog_STRIP"
2868 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2871 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2872 if test -z "$MKDIR_P"; then
2873 if ${ac_cv_path_mkdir+:} false
; then :
2874 $as_echo_n "(cached) " >&6
2876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2877 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2880 test -z "$as_dir" && as_dir
=.
2881 for ac_prog
in mkdir gmkdir
; do
2882 for ac_exec_ext
in '' $ac_executable_extensions; do
2883 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2884 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2885 'mkdir (GNU coreutils) '* | \
2886 'mkdir (coreutils) '* | \
2887 'mkdir (fileutils) '4.1*)
2888 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2898 test -d .
/--version && rmdir .
/--version
2899 if test "${ac_cv_path_mkdir+set}" = set; then
2900 MKDIR_P
="$ac_cv_path_mkdir -p"
2902 # As a last resort, use the slow shell script. Don't cache a
2903 # value for MKDIR_P within a source directory, because that will
2904 # break other packages using the cache if that directory is
2905 # removed, or if the value is a relative name.
2906 MKDIR_P
="$ac_install_sh -d"
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2910 $as_echo "$MKDIR_P" >&6; }
2912 for ac_prog
in gawk mawk nawk
awk
2914 # Extract the first word of "$ac_prog", so it can be a program name with args.
2915 set dummy
$ac_prog; ac_word
=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if ${ac_cv_prog_AWK+:} false
; then :
2919 $as_echo_n "(cached) " >&6
2921 if test -n "$AWK"; then
2922 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir
=.
2929 for ac_exec_ext
in '' $ac_executable_extensions; do
2930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2931 ac_cv_prog_AWK
="$ac_prog"
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 if test -n "$AWK"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2944 $as_echo "$AWK" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2951 test -n "$AWK" && break
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2955 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2957 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2958 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2959 $as_echo_n "(cached) " >&6
2961 cat >conftest.
make <<\_ACEOF
2964 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2966 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2967 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2969 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2971 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2975 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2977 $as_echo "yes" >&6; }
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981 $as_echo "no" >&6; }
2982 SET_MAKE
="MAKE=${MAKE-make}"
2985 rm -rf .tst
2>/dev
/null
2986 mkdir .tst
2>/dev
/null
2987 if test -d .tst
; then
2992 rmdir .tst
2>/dev
/null
2994 # Check whether --enable-silent-rules was given.
2995 if test "${enable_silent_rules+set}" = set; then :
2996 enableval
=$enable_silent_rules;
2999 case $enable_silent_rules in # (((
3000 yes) AM_DEFAULT_VERBOSITY
=0;;
3001 no
) AM_DEFAULT_VERBOSITY
=1;;
3002 *) AM_DEFAULT_VERBOSITY
=1;;
3004 am_make
=${MAKE-make}
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3006 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3007 if ${am_cv_make_support_nested_variables+:} false
; then :
3008 $as_echo_n "(cached) " >&6
3010 if $as_echo 'TRUE=$(BAR$(V))
3016 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3017 am_cv_make_support_nested_variables
=yes
3019 am_cv_make_support_nested_variables
=no
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3023 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3024 if test $am_cv_make_support_nested_variables = yes; then
3026 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3028 AM_V
=$AM_DEFAULT_VERBOSITY
3029 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3033 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3034 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3035 # is not polluted with repeated "-I."
3036 am__isrc
=' -I$(srcdir)'
3037 # test to see if srcdir already configured
3038 if test -f $srcdir/config.status
; then
3039 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3043 # test whether we have cygpath
3044 if test -z "$CYGPATH_W"; then
3045 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3046 CYGPATH_W
='cygpath -w'
3053 # Define the identity of the package.
3058 cat >>confdefs.h
<<_ACEOF
3059 #define PACKAGE "$PACKAGE"
3063 cat >>confdefs.h
<<_ACEOF
3064 #define VERSION "$VERSION"
3067 # Some tools Automake needs.
3069 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3072 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3075 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3078 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3081 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3083 # For better backward compatibility. To be removed once Automake 1.9.x
3084 # dies out for good. For more background, see:
3085 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3086 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3087 mkdir_p
='$(MKDIR_P)'
3089 # We need awk for the "check" target (and possibly the TAP driver). The
3090 # system "awk" is bad on some platforms.
3091 # Always define AMTAR for backward compatibility. Yes, it's still used
3092 # in the wild :-( We should find a proper way to deprecate it ...
3096 # We'll loop over all known methods to create a tar archive until one works.
3097 _am_tools
='gnutar pax cpio none'
3099 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3106 # POSIX will say in a future version that running "rm -f" with no argument
3107 # is OK; and we want to be able to make that assumption in our Makefile
3108 # recipes. So use an aggressive probe to check that the usage we want is
3109 # actually supported "in the wild" to an acceptable degree.
3110 # See automake bug#10828.
3111 # To make any issue more visible, cause the running configure to be aborted
3112 # by default if the 'rm' program in use doesn't match our expectations; the
3113 # user can still override this though.
3114 if rm -f && rm -fr && rm -rf; then : OK
; else
3118 Your 'rm' program seems unable to run without file operands specified
3119 on the command line, even when the '-f' option is present. This is contrary
3120 to the behaviour of most rm programs out there, and not conforming with
3121 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3123 Please tell bug-automake@gnu.org about your system, including the value
3124 of your $PATH and any error possibly output before this message. This
3125 can help us improve future automake versions.
3128 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3129 echo 'Configuration will proceed anyway, since you have set the' >&2
3130 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3134 Aborting the configuration process, to ensure you take notice of the issue.
3136 You can download and install GNU coreutils to get an 'rm' implementation
3137 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3139 If you want to complete the configuration process using your problematic
3140 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3141 to "yes", and re-run configure.
3144 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3150 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3151 # Check whether --enable-maintainer-mode was given.
3152 if test "${enable_maintainer_mode+set}" = set; then :
3153 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3155 USE_MAINTAINER_MODE
=no
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3159 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3160 if test $USE_MAINTAINER_MODE = yes; then
3161 MAINTAINER_MODE_TRUE
=
3162 MAINTAINER_MODE_FALSE
='#'
3164 MAINTAINER_MODE_TRUE
='#'
3165 MAINTAINER_MODE_FALSE
=
3168 MAINT
=$MAINTAINER_MODE_TRUE
3173 ac_cpp
='$CPP $CPPFLAGS'
3174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3177 if test -n "$ac_tool_prefix"; then
3178 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3179 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3181 $as_echo_n "checking for $ac_word... " >&6; }
3182 if ${ac_cv_prog_CC+:} false
; then :
3183 $as_echo_n "(cached) " >&6
3185 if test -n "$CC"; then
3186 ac_cv_prog_CC
="$CC" # Let the user override the test.
3188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3192 test -z "$as_dir" && as_dir
=.
3193 for ac_exec_ext
in '' $ac_executable_extensions; do
3194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3195 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 if test -n "$CC"; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208 $as_echo "$CC" >&6; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3216 if test -z "$ac_cv_prog_CC"; then
3218 # Extract the first word of "gcc", so it can be a program name with args.
3219 set dummy gcc
; ac_word
=$2
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3221 $as_echo_n "checking for $ac_word... " >&6; }
3222 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3223 $as_echo_n "(cached) " >&6
3225 if test -n "$ac_ct_CC"; then
3226 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3232 test -z "$as_dir" && as_dir
=.
3233 for ac_exec_ext
in '' $ac_executable_extensions; do
3234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3235 ac_cv_prog_ac_ct_CC
="gcc"
3236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3245 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3246 if test -n "$ac_ct_CC"; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3248 $as_echo "$ac_ct_CC" >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3254 if test "x$ac_ct_CC" = x
; then
3257 case $cross_compiling:$ac_tool_warned in
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3261 ac_tool_warned
=yes ;;
3269 if test -z "$CC"; then
3270 if test -n "$ac_tool_prefix"; then
3271 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3272 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274 $as_echo_n "checking for $ac_word... " >&6; }
3275 if ${ac_cv_prog_CC+:} false
; then :
3276 $as_echo_n "(cached) " >&6
3278 if test -n "$CC"; then
3279 ac_cv_prog_CC
="$CC" # Let the user override the test.
3281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3285 test -z "$as_dir" && as_dir
=.
3286 for ac_exec_ext
in '' $ac_executable_extensions; do
3287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3288 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 if test -n "$CC"; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3301 $as_echo "$CC" >&6; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3310 if test -z "$CC"; then
3311 # Extract the first word of "cc", so it can be a program name with args.
3312 set dummy cc
; ac_word
=$2
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3314 $as_echo_n "checking for $ac_word... " >&6; }
3315 if ${ac_cv_prog_CC+:} false
; then :
3316 $as_echo_n "(cached) " >&6
3318 if test -n "$CC"; then
3319 ac_cv_prog_CC
="$CC" # Let the user override the test.
3322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3326 test -z "$as_dir" && as_dir
=.
3327 for ac_exec_ext
in '' $ac_executable_extensions; do
3328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3329 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3330 ac_prog_rejected
=yes
3334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 if test $ac_prog_rejected = yes; then
3342 # We found a bogon in the path, so make sure we never use it.
3343 set dummy
$ac_cv_prog_CC
3345 if test $# != 0; then
3346 # We chose a different compiler from the bogus one.
3347 # However, it has the same basename, so the bogon will be chosen
3348 # first if we set CC to just the basename; use the full file name.
3350 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3356 if test -n "$CC"; then
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3358 $as_echo "$CC" >&6; }
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3361 $as_echo "no" >&6; }
3366 if test -z "$CC"; then
3367 if test -n "$ac_tool_prefix"; then
3368 for ac_prog
in cl.exe
3370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3371 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if ${ac_cv_prog_CC+:} false
; then :
3375 $as_echo_n "(cached) " >&6
3377 if test -n "$CC"; then
3378 ac_cv_prog_CC
="$CC" # Let the user override the test.
3380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3384 test -z "$as_dir" && as_dir
=.
3385 for ac_exec_ext
in '' $ac_executable_extensions; do
3386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3387 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 if test -n "$CC"; then
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3400 $as_echo "$CC" >&6; }
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3407 test -n "$CC" && break
3410 if test -z "$CC"; then
3412 for ac_prog
in cl.exe
3414 # Extract the first word of "$ac_prog", so it can be a program name with args.
3415 set dummy
$ac_prog; ac_word
=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3419 $as_echo_n "(cached) " >&6
3421 if test -n "$ac_ct_CC"; then
3422 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir
=.
3429 for ac_exec_ext
in '' $ac_executable_extensions; do
3430 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3431 ac_cv_prog_ac_ct_CC
="$ac_prog"
3432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3442 if test -n "$ac_ct_CC"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3444 $as_echo "$ac_ct_CC" >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3451 test -n "$ac_ct_CC" && break
3454 if test "x$ac_ct_CC" = x
; then
3457 case $cross_compiling:$ac_tool_warned in
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3461 ac_tool_warned
=yes ;;
3470 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3472 as_fn_error $?
"no acceptable C compiler found in \$PATH
3473 See \`config.log' for more details" "$LINENO" 5; }
3475 # Provide some information about the compiler.
3476 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3479 for ac_option
in --version -v -V -qversion; do
3480 { { ac_try
="$ac_compiler $ac_option >&5"
3482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3483 *) ac_try_echo=$ac_try;;
3485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486 $as_echo "$ac_try_echo"; } >&5
3487 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3489 if test -s conftest.err; then
3491 ... rest of stderr output deleted ...
3492 10q' conftest.err >conftest.er1
3493 cat conftest.er1 >&5
3495 rm -f conftest.er1 conftest.err
3496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3497 test $ac_status = 0; }
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3511 ac_clean_files_save=$ac_clean_files
3512 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3513 # Try to create an executable without -o first, disregard a.out.
3514 # It will help us diagnose broken compilers, and finding out an intuition
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3517 $as_echo_n "checking whether the C compiler works... " >&6; }
3518 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3520 # The possible output files:
3521 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3524 for ac_file in $ac_files
3527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3528 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3533 if { { ac_try="$ac_link_default"
3535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3536 *) ac_try_echo
=$ac_try;;
3538 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3539 $as_echo "$ac_try_echo"; } >&5
3540 (eval "$ac_link_default") 2>&5
3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3543 test $ac_status = 0; }; then :
3544 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3545 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3546 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3547 # so that the user can short-circuit this test for compilers unknown to
3549 for ac_file
in $ac_files ''
3551 test -f "$ac_file" || continue
3553 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3556 # We found the default executable, but exeext='' is most
3560 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3562 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3564 # We set ac_cv_exeext here because the later test for it is not
3565 # safe: cross compilers may not add the suffix if given an `-o'
3566 # argument, so we may need to know it at that point already.
3567 # Even if this section looks crufty: it has the advantage of
3574 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3579 if test -z "$ac_file"; then :
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3582 $as_echo "$as_me: failed program was:" >&5
3583 sed 's/^/| /' conftest.
$ac_ext >&5
3585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 as_fn_error
77 "C compiler cannot create executables
3588 See \`config.log' for more details" "$LINENO" 5; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3591 $as_echo "yes" >&6; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3594 $as_echo_n "checking for C compiler default output file name... " >&6; }
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3596 $as_echo "$ac_file" >&6; }
3597 ac_exeext
=$ac_cv_exeext
3599 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3600 ac_clean_files
=$ac_clean_files_save
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3602 $as_echo_n "checking for suffix of executables... " >&6; }
3603 if { { ac_try
="$ac_link"
3605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3606 *) ac_try_echo=$ac_try;;
3608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3609 $as_echo "$ac_try_echo"; } >&5
3610 (eval "$ac_link") 2>&5
3612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3613 test $ac_status = 0; }; then :
3614 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3615 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3616 # work properly (i.e., refer to `conftest.exe'), while it won't with
3618 for ac_file
in conftest.exe conftest conftest.
*; do
3619 test -f "$ac_file" || continue
3621 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3622 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3630 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3631 See \`config.log' for more details" "$LINENO" 5; }
3633 rm -f conftest conftest
$ac_cv_exeext
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3635 $as_echo "$ac_cv_exeext" >&6; }
3637 rm -f conftest.
$ac_ext
3638 EXEEXT
=$ac_cv_exeext
3640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3646 FILE *f = fopen ("conftest.out", "w");
3647 return ferror (f) || fclose (f) != 0;
3653 ac_clean_files
="$ac_clean_files conftest.out"
3654 # Check that the compiler produces executables we can run. If not, either
3655 # the compiler is broken, or we cross compile.
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3657 $as_echo_n "checking whether we are cross compiling... " >&6; }
3658 if test "$cross_compiling" != yes; then
3659 { { ac_try
="$ac_link"
3661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3662 *) ac_try_echo=$ac_try;;
3664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3665 $as_echo "$ac_try_echo"; } >&5
3666 (eval "$ac_link") 2>&5
3668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3669 test $ac_status = 0; }
3670 if { ac_try='./conftest$ac_cv_exeext'
3671 { { case "(($ac_try" in
3672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3673 *) ac_try_echo
=$ac_try;;
3675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3676 $as_echo "$ac_try_echo"; } >&5
3677 (eval "$ac_try") 2>&5
3679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3680 test $ac_status = 0; }; }; then
3683 if test "$cross_compiling" = maybe
; then
3686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3688 as_fn_error $?
"cannot run C compiled programs.
3689 If you meant to cross compile, use \`--host'.
3690 See \`config.log' for more details" "$LINENO" 5; }
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3695 $as_echo "$cross_compiling" >&6; }
3697 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3698 ac_clean_files
=$ac_clean_files_save
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3700 $as_echo_n "checking for suffix of object files... " >&6; }
3701 if ${ac_cv_objext+:} false
; then :
3702 $as_echo_n "(cached) " >&6
3704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3715 rm -f conftest.o conftest.obj
3716 if { { ac_try
="$ac_compile"
3718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3719 *) ac_try_echo=$ac_try;;
3721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3722 $as_echo "$ac_try_echo"; } >&5
3723 (eval "$ac_compile") 2>&5
3725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3726 test $ac_status = 0; }; then :
3727 for ac_file in conftest.o conftest.obj conftest.*; do
3728 test -f "$ac_file" || continue;
3730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3731 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3736 $as_echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.$ac_ext >&5
3739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3741 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3742 See \
`config.log' for more details" "$LINENO" 5; }
3744 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3747 $as_echo "$ac_cv_objext" >&6; }
3748 OBJEXT=$ac_cv_objext
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3751 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3752 if ${ac_cv_c_compiler_gnu+:} false; then :
3753 $as_echo_n "(cached) " >&6
3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3769 if ac_fn_c_try_compile "$LINENO"; then :
3774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3779 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3780 if test $ac_compiler_gnu = yes; then
3785 ac_test_CFLAGS=${CFLAGS+set}
3786 ac_save_CFLAGS=$CFLAGS
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3788 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3789 if ${ac_cv_prog_cc_g+:} false; then :
3790 $as_echo_n "(cached) " >&6
3792 ac_save_c_werror_flag=$ac_c_werror_flag
3793 ac_c_werror_flag=yes
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3807 if ac_fn_c_try_compile "$LINENO"; then :
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3822 if ac_fn_c_try_compile "$LINENO"; then :
3825 ac_c_werror_flag=$ac_save_c_werror_flag
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3838 if ac_fn_c_try_compile "$LINENO"; then :
3841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 ac_c_werror_flag=$ac_save_c_werror_flag
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3849 $as_echo "$ac_cv_prog_cc_g" >&6; }
3850 if test "$ac_test_CFLAGS" = set; then
3851 CFLAGS=$ac_save_CFLAGS
3852 elif test $ac_cv_prog_cc_g = yes; then
3853 if test "$GCC" = yes; then
3859 if test "$GCC" = yes; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3866 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3867 if ${ac_cv_prog_cc_c89+:} false; then :
3868 $as_echo_n "(cached) " >&6
3870 ac_cv_prog_cc_c89=no
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3877 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3878 struct buf { int x; };
3879 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3880 static char *e (p, i)
3886 static char *f (char * (*g) (char **, int), char **p, ...)
3891 s = g (p, va_arg (v,int));
3896 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3897 function prototypes and stuff, but not '\xHH' hex character constants.
3898 These don't provoke an error unfortunately, instead are silently treated
3899 as 'x'. The following induces an error, until -std is added to get
3900 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3901 array size at least. It's necessary to write '\x00'==0 to get something
3902 that's true only with -std. */
3903 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3905 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3906 inside strings and character constants. */
3908 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3910 int test (int i, double x);
3911 struct s1 {int (*f) (int a);};
3912 struct s2 {int (*f) (double a);};
3913 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3919 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3924 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3925 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3927 CC="$ac_save_CC $ac_arg"
3928 if ac_fn_c_try_compile "$LINENO"; then :
3929 ac_cv_prog_cc_c89=$ac_arg
3931 rm -f core conftest.err conftest.$ac_objext
3932 test "x$ac_cv_prog_cc_c89" != "xno" && break
3934 rm -f conftest.$ac_ext
3939 case "x$ac_cv_prog_cc_c89" in
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3942 $as_echo "none needed" >&6; } ;;
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3945 $as_echo "unsupported" >&6; } ;;
3947 CC="$CC $ac_cv_prog_cc_c89"
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3949 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3951 if test "x$ac_cv_prog_cc_c89" != xno; then :
3956 ac_cpp='$CPP $CPPFLAGS'
3957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3962 ac_cpp='$CPP $CPPFLAGS'
3963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3967 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3968 if ${am_cv_prog_cc_c_o+:} false; then :
3969 $as_echo_n "(cached) " >&6
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3982 # Make sure it works both with $CC and with simple cc.
3983 # Following AC_PROG_CC_C_O, we do the test twice because some
3984 # compilers refuse to overwrite an existing .o file with -o,
3985 # though they will create one.
3986 am_cv_prog_cc_c_o=yes
3988 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3989 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } \
3993 && test -f conftest2.$ac_objext; then
3996 am_cv_prog_cc_c_o=no
4000 rm -f core conftest*
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4004 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4005 if test "$am_cv_prog_cc_c_o" != yes; then
4006 # Losing compiler, so override with the script.
4007 # FIXME: It is wrong to rewrite CC.
4008 # But if we don't then we get into trouble of one sort or another.
4009 # A longer-term fix would be to have automake use am__CC in this case,
4010 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4011 CC="$am_aux_dir/compile $CC"
4014 ac_cpp='$CPP $CPPFLAGS'
4015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4019 DEPDIR="${am__leading_dot}deps"
4021 ac_config_commands="$ac_config_commands depfiles"
4024 am_make=${MAKE-make}
4025 cat > confinc << 'END'
4027 @echo this is the am__doit target
4030 # If we don't find an include directive, just comment out the code.
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4032 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4036 # First try GNU make style include.
4037 echo "include confinc" > confmf
4038 # Ignore all kinds of additional output from 'make'.
4039 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4040 *the\ am__doit\ target*)
4046 # Now try BSD make style include.
4047 if test "$am__include" = "#"; then
4048 echo '.include "confinc"' > confmf
4049 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4050 *the\ am__doit\ target*)
4051 am__include=.include
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4060 $as_echo "$_am_result" >&6; }
4061 rm -f confinc confmf
4063 # Check whether --enable-dependency-tracking was given.
4064 if test "${enable_dependency_tracking+set}" = set; then :
4065 enableval=$enable_dependency_tracking;
4068 if test "x$enable_dependency_tracking" != xno; then
4069 am_depcomp="$ac_aux_dir/depcomp"
4073 if test "x$enable_dependency_tracking" != xno; then
4083 depcc="$CC" am_compiler_list=
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4086 $as_echo_n "checking dependency style of $depcc... " >&6; }
4087 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4088 $as_echo_n "(cached) " >&6
4090 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4091 # We make a subdir and do the tests there. Otherwise we can end up
4092 # making bogus files that we don't know about and never remove. For
4093 # instance it was reported that on HP-UX the gcc test will end up
4094 # making a dummy file named 'D' -- because '-MD' means "put the output
4098 # Copy depcomp to subdir because otherwise we won't find it if we're
4099 # using a relative directory.
4100 cp "$am_depcomp" conftest.dir
4102 # We will build objects and dependencies in a subdirectory because
4103 # it helps to detect inapplicable dependency modes. For instance
4104 # both Tru64's cc and ICC support -MD to output dependencies as a
4105 # side effect of compilation, but ICC will put the dependencies in
4106 # the current directory while Tru64 will put them in the object
4110 am_cv_CC_dependencies_compiler_type=none
4111 if test "$am_compiler_list" = ""; then
4112 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4115 case " $depcc " in #(
4116 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4119 for depmode in $am_compiler_list; do
4120 # Setup a source with many dependencies, because some compilers
4121 # like to wrap large dependency lists on column 80 (with \), and
4122 # we should not choose a depcomp mode which is confused by this.
4124 # We need to recreate these files for each test, as the compiler may
4125 # overwrite some of them when testing with obscure command lines.
4126 # This happens at least with the AIX C compiler.
4128 for i in 1 2 3 4 5 6; do
4129 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4130 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4131 # Solaris 10 /bin/sh.
4132 echo '/* dummy */' > sub/conftst$i.h
4134 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4136 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4137 # mode. It turns out that the SunPro C++ compiler does not properly
4138 # handle '-M -o', and we need to detect this. Also, some Intel
4139 # versions had trouble with output in subdirs.
4140 am__obj=sub/conftest.${OBJEXT-o}
4141 am__minus_obj="-o $am__obj"
4144 # This depmode causes a compiler race in universal mode.
4145 test "$am__universal" = false || continue
4148 # After this tag, mechanisms are not by side-effect, so they'll
4149 # only be used when explicitly requested.
4150 if test "x$enable_dependency_tracking" = xyes; then
4156 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4157 # This compiler won't grok '-c -o', but also, the minuso test has
4158 # not run yet. These depmodes are late enough in the game, and
4159 # so weak that their functioning should not be impacted.
4160 am__obj=conftest.${OBJEXT-o}
4165 if depmode=$depmode \
4166 source=sub/conftest.c object=$am__obj \
4167 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4168 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4169 >/dev/null 2>conftest.err &&
4170 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4171 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4172 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4173 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4174 # icc doesn't choke on unknown options, it will just issue warnings
4175 # or remarks (even with -Werror). So we grep stderr for any message
4176 # that says an option was ignored or not supported.
4177 # When given -MP, icc 7.0 and 7.1 complain thusly:
4178 # icc: Command line warning: ignoring option '-M'; no argument required
4179 # The diagnosis changed in icc 8.0:
4180 # icc: Command line remark: option '-MP' not supported
4181 if (grep 'ignoring option' conftest.err ||
4182 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4183 am_cv_CC_dependencies_compiler_type=$depmode
4192 am_cv_CC_dependencies_compiler_type=none
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4197 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4198 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4201 test "x$enable_dependency_tracking" != xno \
4202 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4204 am__fastdepCC_FALSE='#'
4206 am__fastdepCC_TRUE='#'
4207 am__fastdepCC_FALSE=
4212 ac_cpp='$CXXCPP $CPPFLAGS'
4213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4216 if test -z "$CXX"; then
4217 if test -n "$CCC"; then
4220 if test -n "$ac_tool_prefix"; then
4221 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_CXX+:} false; then :
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$CXX"; then
4231 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir=.
4238 for ac_exec_ext in '' $ac_executable_extensions; do
4239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4240 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 if test -n "$CXX"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4253 $as_echo "$CXX" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4260 test -n "$CXX" && break
4263 if test -z "$CXX"; then
4265 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4267 # Extract the first word of "$ac_prog", so it can be a program name with args.
4268 set dummy $ac_prog; ac_word=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4272 $as_echo_n "(cached) " >&6
4274 if test -n "$ac_ct_CXX"; then
4275 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4281 test -z "$as_dir" && as_dir=.
4282 for ac_exec_ext in '' $ac_executable_extensions; do
4283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4284 ac_cv_prog_ac_ct_CXX="$ac_prog"
4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4295 if test -n "$ac_ct_CXX"; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4297 $as_echo "$ac_ct_CXX" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4304 test -n "$ac_ct_CXX" && break
4307 if test "x$ac_ct_CXX" = x; then
4310 case $cross_compiling:$ac_tool_warned in
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4314 ac_tool_warned=yes ;;
4322 # Provide some information about the compiler.
4323 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4326 for ac_option in --version -v -V -qversion; do
4327 { { ac_try="$ac_compiler $ac_option >&5"
4329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4330 *) ac_try_echo
=$ac_try;;
4332 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4333 $as_echo "$ac_try_echo"; } >&5
4334 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4336 if test -s conftest.err
; then
4338 ... rest of stderr output deleted ...
4339 10q' conftest.err
>conftest.er1
4340 cat conftest.er1
>&5
4342 rm -f conftest.er1 conftest.err
4343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4344 test $ac_status = 0; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4348 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4349 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4350 $as_echo_n "(cached) " >&6
4352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4366 if ac_fn_cxx_try_compile
"$LINENO"; then :
4371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4372 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4376 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4377 if test $ac_compiler_gnu = yes; then
4382 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4383 ac_save_CXXFLAGS
=$CXXFLAGS
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4385 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4386 if ${ac_cv_prog_cxx_g+:} false
; then :
4387 $as_echo_n "(cached) " >&6
4389 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4390 ac_cxx_werror_flag
=yes
4393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4404 if ac_fn_cxx_try_compile
"$LINENO"; then :
4405 ac_cv_prog_cxx_g
=yes
4408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4409 /* end confdefs.h. */
4419 if ac_fn_cxx_try_compile
"$LINENO"; then :
4422 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4435 if ac_fn_cxx_try_compile
"$LINENO"; then :
4436 ac_cv_prog_cxx_g
=yes
4438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4443 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4446 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4447 if test "$ac_test_CXXFLAGS" = set; then
4448 CXXFLAGS
=$ac_save_CXXFLAGS
4449 elif test $ac_cv_prog_cxx_g = yes; then
4450 if test "$GXX" = yes; then
4456 if test "$GXX" = yes; then
4463 ac_cpp
='$CPP $CPPFLAGS'
4464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4468 depcc
="$CXX" am_compiler_list
=
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4471 $as_echo_n "checking dependency style of $depcc... " >&6; }
4472 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4473 $as_echo_n "(cached) " >&6
4475 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4476 # We make a subdir and do the tests there. Otherwise we can end up
4477 # making bogus files that we don't know about and never remove. For
4478 # instance it was reported that on HP-UX the gcc test will end up
4479 # making a dummy file named 'D' -- because '-MD' means "put the output
4483 # Copy depcomp to subdir because otherwise we won't find it if we're
4484 # using a relative directory.
4485 cp "$am_depcomp" conftest.dir
4487 # We will build objects and dependencies in a subdirectory because
4488 # it helps to detect inapplicable dependency modes. For instance
4489 # both Tru64's cc and ICC support -MD to output dependencies as a
4490 # side effect of compilation, but ICC will put the dependencies in
4491 # the current directory while Tru64 will put them in the object
4495 am_cv_CXX_dependencies_compiler_type
=none
4496 if test "$am_compiler_list" = ""; then
4497 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4500 case " $depcc " in #(
4501 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4504 for depmode
in $am_compiler_list; do
4505 # Setup a source with many dependencies, because some compilers
4506 # like to wrap large dependency lists on column 80 (with \), and
4507 # we should not choose a depcomp mode which is confused by this.
4509 # We need to recreate these files for each test, as the compiler may
4510 # overwrite some of them when testing with obscure command lines.
4511 # This happens at least with the AIX C compiler.
4513 for i
in 1 2 3 4 5 6; do
4514 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4515 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4516 # Solaris 10 /bin/sh.
4517 echo '/* dummy */' > sub
/conftst
$i.h
4519 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4521 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4522 # mode. It turns out that the SunPro C++ compiler does not properly
4523 # handle '-M -o', and we need to detect this. Also, some Intel
4524 # versions had trouble with output in subdirs.
4525 am__obj
=sub
/conftest.
${OBJEXT-o}
4526 am__minus_obj
="-o $am__obj"
4529 # This depmode causes a compiler race in universal mode.
4530 test "$am__universal" = false
|| continue
4533 # After this tag, mechanisms are not by side-effect, so they'll
4534 # only be used when explicitly requested.
4535 if test "x$enable_dependency_tracking" = xyes
; then
4541 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4542 # This compiler won't grok '-c -o', but also, the minuso test has
4543 # not run yet. These depmodes are late enough in the game, and
4544 # so weak that their functioning should not be impacted.
4545 am__obj
=conftest.
${OBJEXT-o}
4550 if depmode
=$depmode \
4551 source=sub
/conftest.c object
=$am__obj \
4552 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4553 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4554 >/dev
/null
2>conftest.err
&&
4555 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4556 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4557 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4558 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4559 # icc doesn't choke on unknown options, it will just issue warnings
4560 # or remarks (even with -Werror). So we grep stderr for any message
4561 # that says an option was ignored or not supported.
4562 # When given -MP, icc 7.0 and 7.1 complain thusly:
4563 # icc: Command line warning: ignoring option '-M'; no argument required
4564 # The diagnosis changed in icc 8.0:
4565 # icc: Command line remark: option '-MP' not supported
4566 if (grep 'ignoring option' conftest.err
||
4567 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4568 am_cv_CXX_dependencies_compiler_type
=$depmode
4577 am_cv_CXX_dependencies_compiler_type
=none
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4582 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4583 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4586 test "x$enable_dependency_tracking" != xno \
4587 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4588 am__fastdepCXX_TRUE
=
4589 am__fastdepCXX_FALSE
='#'
4591 am__fastdepCXX_TRUE
='#'
4592 am__fastdepCXX_FALSE
=
4597 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4598 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4601 if test -n "$ac_tool_prefix"; then
4602 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4605 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if ${ac_cv_prog_OBJCXX+:} false
; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -n "$OBJCXX"; then
4612 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir
=.
4619 for ac_exec_ext
in '' $ac_executable_extensions; do
4620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 OBJCXX
=$ac_cv_prog_OBJCXX
4632 if test -n "$OBJCXX"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4634 $as_echo "$OBJCXX" >&6; }
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4641 test -n "$OBJCXX" && break
4644 if test -z "$OBJCXX"; then
4645 ac_ct_OBJCXX
=$OBJCXX
4646 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4648 # Extract the first word of "$ac_prog", so it can be a program name with args.
4649 set dummy
$ac_prog; ac_word
=$2
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -n "$ac_ct_OBJCXX"; then
4656 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir
=.
4663 for ac_exec_ext
in '' $ac_executable_extensions; do
4664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4676 if test -n "$ac_ct_OBJCXX"; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4678 $as_echo "$ac_ct_OBJCXX" >&6; }
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4685 test -n "$ac_ct_OBJCXX" && break
4688 if test "x$ac_ct_OBJCXX" = x
; then
4691 case $cross_compiling:$ac_tool_warned in
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4695 ac_tool_warned
=yes ;;
4697 OBJCXX
=$ac_ct_OBJCXX
4701 # Provide some information about the compiler.
4702 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4705 for ac_option
in --version -v -V -qversion; do
4706 { { ac_try
="$ac_compiler $ac_option >&5"
4708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4709 *) ac_try_echo=$ac_try;;
4711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4712 $as_echo "$ac_try_echo"; } >&5
4713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4715 if test -s conftest.err; then
4717 ... rest of stderr output deleted ...
4718 10q' conftest.err >conftest.er1
4719 cat conftest.er1 >&5
4721 rm -f conftest.er1 conftest.err
4722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4723 test $ac_status = 0; }
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4727 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4728 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4729 $as_echo_n "(cached) " >&6
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4745 if ac_fn_objcxx_try_compile "$LINENO"; then :
4750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4751 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4755 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4756 if test $ac_compiler_gnu = yes; then
4761 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4762 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4764 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4765 if ${ac_cv_prog_objcxx_g+:} false; then :
4766 $as_echo_n "(cached) " >&6
4768 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4769 ac_objcxx_werror_flag=yes
4770 ac_cv_prog_objcxx_g=no
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4783 if ac_fn_objcxx_try_compile "$LINENO"; then :
4784 ac_cv_prog_objcxx_g=yes
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4798 if ac_fn_objcxx_try_compile "$LINENO"; then :
4801 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4814 if ac_fn_objcxx_try_compile "$LINENO"; then :
4815 ac_cv_prog_objcxx_g=yes
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4825 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4826 if test "$ac_test_OBJCXXFLAGS" = set; then
4827 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4828 elif test $ac_cv_prog_objcxx_g = yes; then
4829 if test "$GOBJCXX" = yes; then
4830 OBJCXXFLAGS="-g -O2"
4835 if test "$GOBJCXX" = yes; then
4842 ac_cpp='$CPP $CPPFLAGS'
4843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4847 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4850 $as_echo_n "checking dependency style of $depcc... " >&6; }
4851 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4852 $as_echo_n "(cached) " >&6
4854 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4855 # We make a subdir and do the tests there. Otherwise we can end up
4856 # making bogus files that we don't know about and never remove. For
4857 # instance it was reported that on HP-UX the gcc test will end up
4858 # making a dummy file named 'D' -- because '-MD' means "put the output
4862 # Copy depcomp to subdir because otherwise we won't find it if we're
4863 # using a relative directory.
4864 cp "$am_depcomp" conftest.dir
4866 # We will build objects and dependencies in a subdirectory because
4867 # it helps to detect inapplicable dependency modes. For instance
4868 # both Tru64's cc and ICC support -MD to output dependencies as a
4869 # side effect of compilation, but ICC will put the dependencies in
4870 # the current directory while Tru64 will put them in the object
4874 am_cv_OBJCXX_dependencies_compiler_type=none
4875 if test "$am_compiler_list" = ""; then
4876 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4881 for depmode in $am_compiler_list; do
4882 # Setup a source with many dependencies, because some compilers
4883 # like to wrap large dependency lists on column 80 (with \), and
4884 # we should not choose a depcomp mode which is confused by this.
4886 # We need to recreate these files for each test, as the compiler may
4887 # overwrite some of them when testing with obscure command lines.
4888 # This happens at least with the AIX C compiler.
4890 for i in 1 2 3 4 5 6; do
4891 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4892 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4893 # Solaris 10 /bin/sh.
4894 echo '/* dummy */' > sub/conftst$i.h
4896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4898 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4899 # mode. It turns out that the SunPro C++ compiler does not properly
4900 # handle '-M -o', and we need to detect this. Also, some Intel
4901 # versions had trouble with output in subdirs.
4902 am__obj=sub/conftest.${OBJEXT-o}
4903 am__minus_obj="-o $am__obj"
4906 # This depmode causes a compiler race in universal mode.
4907 test "$am__universal" = false || continue
4910 # After this tag, mechanisms are not by side-effect, so they'll
4911 # only be used when explicitly requested.
4912 if test "x$enable_dependency_tracking" = xyes; then
4918 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4919 # This compiler won't grok '-c -o', but also, the minuso test has
4920 # not run yet. These depmodes are late enough in the game, and
4921 # so weak that their functioning should not be impacted.
4922 am__obj=conftest.${OBJEXT-o}
4927 if depmode=$depmode \
4928 source=sub/conftest.c object=$am__obj \
4929 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4930 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4931 >/dev/null 2>conftest.err &&
4932 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4933 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4934 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4935 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4936 # icc doesn't choke on unknown options, it will just issue warnings
4937 # or remarks (even with -Werror). So we grep stderr for any message
4938 # that says an option was ignored or not supported.
4939 # When given -MP, icc 7.0 and 7.1 complain thusly:
4940 # icc: Command line warning: ignoring option '-M'; no argument required
4941 # The diagnosis changed in icc 8.0:
4942 # icc: Command line remark: option '-MP' not supported
4943 if (grep 'ignoring option' conftest.err ||
4944 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4945 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4954 am_cv_OBJCXX_dependencies_compiler_type=none
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4959 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4960 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4963 test "x$enable_dependency_tracking" != xno \
4964 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4965 am__fastdepOBJCXX_TRUE=
4966 am__fastdepOBJCXX_FALSE='#'
4968 am__fastdepOBJCXX_TRUE='#'
4969 am__fastdepOBJCXX_FALSE=
4975 if test -n "$ac_tool_prefix"; then
4976 for ac_prog in ar lib "link -lib"
4978 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4979 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if ${ac_cv_prog_AR+:} false; then :
4983 $as_echo_n "(cached) " >&6
4985 if test -n "$AR"; then
4986 ac_cv_prog_AR="$AR" # Let the user override the test.
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 if test -n "$AR"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5008 $as_echo "$AR" >&6; }
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5015 test -n "$AR" && break
5018 if test -z "$AR"; then
5020 for ac_prog in ar lib "link -lib"
5022 # Extract the first word of "$ac_prog", so it can be a program name with args.
5023 set dummy $ac_prog; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$ac_ct_AR"; then
5030 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir=.
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_ac_ct_AR="$ac_prog"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5050 if test -n "$ac_ct_AR"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5052 $as_echo "$ac_ct_AR" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5059 test -n "$ac_ct_AR" && break
5062 if test "x$ac_ct_AR" = x; then
5065 case $cross_compiling:$ac_tool_warned in
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5069 ac_tool_warned=yes ;;
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5078 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5079 if ${am_cv_ar_interface+:} false; then :
5080 $as_echo_n "(cached) " >&6
5083 ac_cpp='$CPP $CPPFLAGS'
5084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5088 am_cv_ar_interface=ar
5089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5090 /* end confdefs.h. */
5091 int some_variable = 0;
5093 if ac_fn_c_try_compile "$LINENO"; then :
5094 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5095 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5096 (eval $am_ar_try) 2>&5
5098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5099 test $ac_status = 0; }
5100 if test "$ac_status" -eq 0; then
5101 am_cv_ar_interface=ar
5103 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5104 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5105 (eval $am_ar_try) 2>&5
5107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5108 test $ac_status = 0; }
5109 if test "$ac_status" -eq 0; then
5110 am_cv_ar_interface=lib
5112 am_cv_ar_interface=unknown
5115 rm -f conftest.lib libconftest.a
5118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5120 ac_cpp='$CPP $CPPFLAGS'
5121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5127 $as_echo "$am_cv_ar_interface" >&6; }
5129 case $am_cv_ar_interface in
5133 # Microsoft lib, so override with the ar-lib wrapper script.
5134 # FIXME: It is wrong to rewrite AR.
5135 # But if we don't then we get into trouble of one sort or another.
5136 # A longer-term fix would be to have automake use am__AR in this case,
5137 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5139 AR="$am_aux_dir/ar-lib $AR"
5142 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5151 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5156 macro_version='2.4.6'
5157 macro_revision='2.4.6'
5171 ltmain=$ac_aux_dir/ltmain.sh
5173 # Make sure we can run config.sub.
5174 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5175 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5178 $as_echo_n "checking build system type... " >&6; }
5179 if ${ac_cv_build+:} false; then :
5180 $as_echo_n "(cached) " >&6
5182 ac_build_alias=$build_alias
5183 test "x$ac_build_alias" = x &&
5184 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5185 test "x$ac_build_alias" = x &&
5186 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5187 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5188 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5192 $as_echo "$ac_cv_build" >&6; }
5193 case $ac_cv_build in
5195 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5198 ac_save_IFS=$IFS; IFS='-'
5204 # Remember, the first character of IFS is used to create $*,
5205 # except with old shells:
5208 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5212 $as_echo_n "checking host system type... " >&6; }
5213 if ${ac_cv_host+:} false; then :
5214 $as_echo_n "(cached) " >&6
5216 if test "x$host_alias" = x; then
5217 ac_cv_host=$ac_cv_build
5219 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5220 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5225 $as_echo "$ac_cv_host" >&6; }
5228 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5231 ac_save_IFS=$IFS; IFS='-'
5237 # Remember, the first character of IFS is used to create $*,
5238 # except with old shells:
5241 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5244 # Backslashify metacharacters that are still active within
5245 # double-quoted strings.
5246 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5248 # Same as above, but do not quote variable references.
5249 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5251 # Sed substitution to delay expansion of an escaped shell variable in a
5252 # double_quote_subst'ed string.
5253 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5255 # Sed substitution to delay expansion of an escaped single quote.
5256 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5258 # Sed substitution to avoid accidental globbing in evaled expressions
5259 no_glob_subst='s/\*/\\\*/g'
5261 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5262 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5263 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5266 $as_echo_n "checking how to print
strings...
" >&6; }
5267 # Test print first, because it will be a builtin if present.
5268 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5269 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5271 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5274 # Use this function as a fallback that always works.
5275 func_fallback_echo ()
5277 eval 'cat <<_LTECHO_EOF
5281 ECHO='func_fallback_echo'
5284 # func_echo_all arg...
5285 # Invoke $ECHO with all args, space-separated.
5292 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5293 $as_echo "printf" >&6; } ;;
5294 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5295 $as_echo "print
-r" >&6; } ;;
5296 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5297 $as_echo "cat" >&6; } ;;
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5314 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5315 if ${ac_cv_path_SED+:} false; then :
5316 $as_echo_n "(cached
) " >&6
5318 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5319 for ac_i in 1 2 3 4 5 6 7; do
5320 ac_script="$ac_script$as_nl$ac_script"
5322 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5323 { ac_script=; unset ac_script;}
5324 if test -z "$SED"; then
5325 ac_path_SED_found=false
5326 # Loop through the user's path and test for each of PROGNAME-LIST
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir=.
5332 for ac_prog in sed gsed; do
5333 for ac_exec_ext in '' $ac_executable_extensions; do
5334 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5335 as_fn_executable_p "$ac_path_SED" || continue
5336 # Check for GNU ac_path_SED and select it if it is found.
5337 # Check for GNU $ac_path_SED
5338 case `"$ac_path_SED" --version 2>&1` in
5340 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5343 $as_echo_n 0123456789 >"conftest.
in"
5346 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5347 mv "conftest.tmp
" "conftest.
in"
5348 cp "conftest.
in" "conftest.
nl"
5349 $as_echo '' >> "conftest.
nl"
5350 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5351 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5352 as_fn_arith $ac_count + 1 && ac_count=$as_val
5353 if test $ac_count -gt ${ac_path_SED_max-0}; then
5354 # Best one so far, save it but keep looking for a better one
5355 ac_cv_path_SED="$ac_path_SED"
5356 ac_path_SED_max=$ac_count
5358 # 10*(2^10) chars as input seems more than enough
5359 test $ac_count -gt 10 && break
5361 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5364 $ac_path_SED_found && break 3
5369 if test -z "$ac_cv_path_SED"; then
5370 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5378 $as_echo "$ac_cv_path_SED" >&6; }
5379 SED="$ac_cv_path_SED"
5382 test -z "$SED" && SED=sed
5383 Xsed="$SED -e 1s
/^X
//"
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5396 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5397 if ${ac_cv_path_GREP+:} false; then :
5398 $as_echo_n "(cached
) " >&6
5400 if test -z "$GREP"; then
5401 ac_path_GREP_found=false
5402 # Loop through the user's path and test for each of PROGNAME-LIST
5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5407 test -z "$as_dir" && as_dir=.
5408 for ac_prog in grep ggrep; do
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5411 as_fn_executable_p "$ac_path_GREP" || continue
5412 # Check for GNU ac_path_GREP and select it if it is found.
5413 # Check for GNU $ac_path_GREP
5414 case `"$ac_path_GREP" --version 2>&1` in
5416 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5419 $as_echo_n 0123456789 >"conftest.
in"
5422 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5423 mv "conftest.tmp
" "conftest.
in"
5424 cp "conftest.
in" "conftest.
nl"
5425 $as_echo 'GREP' >> "conftest.
nl"
5426 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5427 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5428 as_fn_arith $ac_count + 1 && ac_count=$as_val
5429 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5430 # Best one so far, save it but keep looking for a better one
5431 ac_cv_path_GREP="$ac_path_GREP"
5432 ac_path_GREP_max=$ac_count
5434 # 10*(2^10) chars as input seems more than enough
5435 test $ac_count -gt 10 && break
5437 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 $ac_path_GREP_found && break 3
5445 if test -z "$ac_cv_path_GREP"; then
5446 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5449 ac_cv_path_GREP=$GREP
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5454 $as_echo "$ac_cv_path_GREP" >&6; }
5455 GREP="$ac_cv_path_GREP"
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5459 $as_echo_n "checking
for egrep...
" >&6; }
5460 if ${ac_cv_path_EGREP+:} false; then :
5461 $as_echo_n "(cached
) " >&6
5463 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5464 then ac_cv_path_EGREP="$GREP -E"
5466 if test -z "$EGREP"; then
5467 ac_path_EGREP_found=false
5468 # Loop through the user's path and test for each of PROGNAME-LIST
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5473 test -z "$as_dir" && as_dir=.
5474 for ac_prog in egrep; do
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5477 as_fn_executable_p "$ac_path_EGREP" || continue
5478 # Check for GNU ac_path_EGREP and select it if it is found.
5479 # Check for GNU $ac_path_EGREP
5480 case `"$ac_path_EGREP" --version 2>&1` in
5482 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5485 $as_echo_n 0123456789 >"conftest.
in"
5488 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5489 mv "conftest.tmp
" "conftest.
in"
5490 cp "conftest.
in" "conftest.
nl"
5491 $as_echo 'EGREP' >> "conftest.
nl"
5492 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5493 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5494 as_fn_arith $ac_count + 1 && ac_count=$as_val
5495 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5496 # Best one so far, save it but keep looking for a better one
5497 ac_cv_path_EGREP="$ac_path_EGREP"
5498 ac_path_EGREP_max=$ac_count
5500 # 10*(2^10) chars as input seems more than enough
5501 test $ac_count -gt 10 && break
5503 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5506 $ac_path_EGREP_found && break 3
5511 if test -z "$ac_cv_path_EGREP"; then
5512 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5515 ac_cv_path_EGREP=$EGREP
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5521 $as_echo "$ac_cv_path_EGREP" >&6; }
5522 EGREP="$ac_cv_path_EGREP"
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5526 $as_echo_n "checking
for fgrep...
" >&6; }
5527 if ${ac_cv_path_FGREP+:} false; then :
5528 $as_echo_n "(cached
) " >&6
5530 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5531 then ac_cv_path_FGREP="$GREP -F"
5533 if test -z "$FGREP"; then
5534 ac_path_FGREP_found=false
5535 # Loop through the user's path and test for each of PROGNAME-LIST
5536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5540 test -z "$as_dir" && as_dir=.
5541 for ac_prog in fgrep; do
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5544 as_fn_executable_p "$ac_path_FGREP" || continue
5545 # Check for GNU ac_path_FGREP and select it if it is found.
5546 # Check for GNU $ac_path_FGREP
5547 case `"$ac_path_FGREP" --version 2>&1` in
5549 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5552 $as_echo_n 0123456789 >"conftest.
in"
5555 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5556 mv "conftest.tmp
" "conftest.
in"
5557 cp "conftest.
in" "conftest.
nl"
5558 $as_echo 'FGREP' >> "conftest.
nl"
5559 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5560 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5561 as_fn_arith $ac_count + 1 && ac_count=$as_val
5562 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5563 # Best one so far, save it but keep looking for a better one
5564 ac_cv_path_FGREP="$ac_path_FGREP"
5565 ac_path_FGREP_max=$ac_count
5567 # 10*(2^10) chars as input seems more than enough
5568 test $ac_count -gt 10 && break
5570 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5573 $ac_path_FGREP_found && break 3
5578 if test -z "$ac_cv_path_FGREP"; then
5579 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5582 ac_cv_path_FGREP=$FGREP
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5588 $as_echo "$ac_cv_path_FGREP" >&6; }
5589 FGREP="$ac_cv_path_FGREP"
5592 test -z "$GREP" && GREP=grep
5612 # Check whether --with-gnu-ld was given.
5613 if test "${with_gnu_ld+set}" = set; then :
5614 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5620 if test yes = "$GCC"; then
5621 # Check if gcc -print-prog-name=ld gives a path.
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5623 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5626 # gcc leaves a trailing carriage return, which upsets mingw
5627 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5629 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5632 # Accept absolute paths.
5634 re_direlt='/[^/][^/]*/\.\./'
5635 # Canonicalize the pathname of ld
5636 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5637 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5638 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5640 test -z "$LD" && LD=$ac_prog
5643 # If it fails, then pretend we aren't using GCC.
5647 # If it is relative, then search for the first ld in PATH.
5651 elif test yes = "$with_gnu_ld"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5653 $as_echo_n "checking
for GNU ld...
" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5656 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5658 if ${lt_cv_path_LD+:} false; then :
5659 $as_echo_n "(cached
) " >&6
5661 if test -z "$LD"; then
5662 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5663 for ac_dir in $PATH; do
5665 test -z "$ac_dir" && ac_dir=.
5666 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5667 lt_cv_path_LD=$ac_dir/$ac_prog
5668 # Check to see if the program is GNU ld. I'd rather use --version,
5669 # but apparently some variants of GNU ld only accept -v.
5670 # Break only if it was the GNU/non-GNU ld that we prefer.
5671 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5672 *GNU* | *'with BFD'*)
5673 test no != "$with_gnu_ld" && break
5676 test yes != "$with_gnu_ld" && break
5683 lt_cv_path_LD=$LD # Let the user override the test with a path.
5688 if test -n "$LD"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5690 $as_echo "$LD" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5693 $as_echo "no
" >&6; }
5695 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5697 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5698 if ${lt_cv_prog_gnu_ld+:} false; then :
5699 $as_echo_n "(cached
) " >&6
5701 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5702 case `$LD -v 2>&1 </dev/null` in
5703 *GNU* | *'with BFD'*)
5704 lt_cv_prog_gnu_ld=yes
5707 lt_cv_prog_gnu_ld=no
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5712 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5713 with_gnu_ld=$lt_cv_prog_gnu_ld
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5724 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5725 if ${lt_cv_path_NM+:} false; then :
5726 $as_echo_n "(cached
) " >&6
5728 if test -n "$NM"; then
5729 # Let the user override the test.
5732 lt_nm_to_check=${ac_tool_prefix}nm
5733 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5734 lt_nm_to_check="$lt_nm_to_check nm
"
5736 for lt_tmp_nm in $lt_nm_to_check; do
5737 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5738 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5740 test -z "$ac_dir" && ac_dir=.
5741 tmp_nm=$ac_dir/$lt_tmp_nm
5742 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5743 # Check to see if the nm accepts a BSD-compat flag.
5744 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5745 # nm: unknown option "B
" ignored
5746 # Tru64's nm complains that /dev/null is an invalid object file
5747 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5749 mingw*) lt_bad_file=conftest.nm/nofile ;;
5750 *) lt_bad_file=/dev/null ;;
5752 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5753 *$lt_bad_file* | *'Invalid file or object type'*)
5754 lt_cv_path_NM="$tmp_nm -B"
5758 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5760 lt_cv_path_NM="$tmp_nm -p"
5764 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5765 continue # so that we can try to find one that supports BSD flags
5774 : ${lt_cv_path_NM=no}
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5778 $as_echo "$lt_cv_path_NM" >&6; }
5779 if test no != "$lt_cv_path_NM"; then
5782 # Didn't find any BSD compatible name lister, look for dumpbin.
5783 if test -n "$DUMPBIN"; then :
5784 # Let the user override the test.
5786 if test -n "$ac_tool_prefix"; then
5787 for ac_prog in dumpbin "link
-dump"
5789 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5790 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5792 $as_echo_n "checking
for $ac_word...
" >&6; }
5793 if ${ac_cv_prog_DUMPBIN+:} false; then :
5794 $as_echo_n "(cached
) " >&6
5796 if test -n "$DUMPBIN"; then
5797 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5806 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5816 DUMPBIN=$ac_cv_prog_DUMPBIN
5817 if test -n "$DUMPBIN"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5819 $as_echo "$DUMPBIN" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5822 $as_echo "no
" >&6; }
5826 test -n "$DUMPBIN" && break
5829 if test -z "$DUMPBIN"; then
5830 ac_ct_DUMPBIN=$DUMPBIN
5831 for ac_prog in dumpbin "link
-dump"
5833 # Extract the first word of "$ac_prog", so it can be a program name with args.
5834 set dummy $ac_prog; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5836 $as_echo_n "checking
for $ac_word...
" >&6; }
5837 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5838 $as_echo_n "(cached
) " >&6
5840 if test -n "$ac_ct_DUMPBIN"; then
5841 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5860 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5861 if test -n "$ac_ct_DUMPBIN"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5863 $as_echo "$ac_ct_DUMPBIN" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5866 $as_echo "no
" >&6; }
5870 test -n "$ac_ct_DUMPBIN" && break
5873 if test "x
$ac_ct_DUMPBIN" = x; then
5876 case $cross_compiling:$ac_tool_warned in
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5879 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5880 ac_tool_warned=yes ;;
5882 DUMPBIN=$ac_ct_DUMPBIN
5886 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5888 DUMPBIN="$DUMPBIN -symbols -headers"
5896 if test : != "$DUMPBIN"; then
5900 test -z "$NM" && NM=nm
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5908 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5909 if ${lt_cv_nm_interface+:} false; then :
5910 $as_echo_n "(cached
) " >&6
5912 lt_cv_nm_interface="BSD nm
"
5913 echo "int some_variable
= 0;" > conftest.$ac_ext
5914 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5915 (eval "$ac_compile" 2>conftest.err)
5916 cat conftest.err >&5
5917 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5918 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5919 cat conftest.err >&5
5920 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5921 cat conftest.out >&5
5922 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5923 lt_cv_nm_interface="MS dumpbin
"
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5928 $as_echo "$lt_cv_nm_interface" >&6; }
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5931 $as_echo_n "checking whether
ln -s works...
" >&6; }
5933 if test "$LN_S" = "ln -s"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5935 $as_echo "yes" >&6; }
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5938 $as_echo "no
, using
$LN_S" >&6; }
5941 # find the maximum length of command line arguments
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5943 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5944 if ${lt_cv_sys_max_cmd_len+:} false; then :
5945 $as_echo_n "(cached
) " >&6
5952 # On DJGPP, this test can blow up pretty badly due to problems in libc
5953 # (any single argument exceeding 2000 bytes causes a buffer overrun
5954 # during glob expansion). Even if it were fixed, the result of this
5955 # check would be larger than it should be.
5956 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5960 # Under GNU Hurd, this test is not required because there is
5961 # no limit to the length of command line arguments.
5962 # Libtool will interpret -1 as no limit whatsoever
5963 lt_cv_sys_max_cmd_len=-1;
5966 cygwin* | mingw* | cegcc*)
5967 # On Win9x/ME, this test blows up -- it succeeds, but takes
5968 # about 5 minutes as the teststring grows exponentially.
5969 # Worse, since 9x/ME are not pre-emptively multitasking,
5970 # you end up with a "frozen
" computer, even though with patience
5971 # the test eventually succeeds (with a max line length of 256k).
5972 # Instead, let's just punt: use the minimum linelength reported by
5973 # all of the supported platforms: 8192 (on NT/2K/XP).
5974 lt_cv_sys_max_cmd_len=8192;
5978 # On MiNT this can take a long time and run out of memory.
5979 lt_cv_sys_max_cmd_len=8192;
5983 # On AmigaOS with pdksh, this test takes hours, literally.
5984 # So we just punt and use a minimum line length of 8192.
5985 lt_cv_sys_max_cmd_len=8192;
5988 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5989 # This has been around since 386BSD, at least. Likely further.
5990 if test -x /sbin/sysctl; then
5991 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5992 elif test -x /usr/sbin/sysctl; then
5993 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5995 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5997 # And add a safety zone
5998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5999 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6003 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6004 lt_cv_sys_max_cmd_len=196608
6008 # The test takes a long time on OS/2.
6009 lt_cv_sys_max_cmd_len=8192
6013 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6014 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6015 # nice to cause kernel panics so lets avoid the loop below.
6016 # First set a reasonable default.
6017 lt_cv_sys_max_cmd_len=16384
6019 if test -x /sbin/sysconfig; then
6020 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6021 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6026 lt_cv_sys_max_cmd_len=102400
6028 sysv5* | sco5v6* | sysv4.2uw2*)
6029 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6030 if test -n "$kargmax"; then
6031 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6033 lt_cv_sys_max_cmd_len=32768
6037 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6038 if test -n "$lt_cv_sys_max_cmd_len" && \
6039 test undefined != "$lt_cv_sys_max_cmd_len"; then
6040 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6043 # Make teststring a little bigger before we do anything with it.
6044 # a 1K string should be a reasonable start.
6045 for i in 1 2 3 4 5 6 7 8; do
6046 teststring=$teststring$teststring
6048 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6049 # If test is not a shell built-in, we'll probably end up computing a
6050 # maximum length that is only half of the actual maximum length, but
6052 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6053 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6054 test 17 != "$i" # 1/2 MB should be enough
6057 teststring=$teststring$teststring
6059 # Only check the string length outside the loop.
6060 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6062 # Add a significant safety factor because C++ compilers can tack on
6063 # massive amounts of additional arguments before passing them to the
6064 # linker. It appears as though 1/2 is a usable value.
6065 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6072 if test -n "$lt_cv_sys_max_cmd_len"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6074 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6077 $as_echo "none
" >&6; }
6079 max_cmd_len=$lt_cv_sys_max_cmd_len
6090 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6100 # test EBCDIC or ASCII
6101 case `echo X|tr X '\101'` in
6102 A) # ASCII based system
6103 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6104 lt_SP2NL='tr \040 \012'
6105 lt_NL2SP='tr \015\012 \040\040'
6107 *) # EBCDIC based system
6108 lt_SP2NL='tr \100 \n'
6109 lt_NL2SP='tr \r\n \100\100'
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6122 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6123 if ${lt_cv_to_host_file_cmd+:} false; then :
6124 $as_echo_n "(cached
) " >&6
6129 *-*-mingw* ) # actually msys
6130 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6133 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6135 * ) # otherwise, assume *nix
6136 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6142 *-*-mingw* ) # actually msys
6143 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6146 lt_cv_to_host_file_cmd=func_convert_file_noop
6148 * ) # otherwise, assume *nix
6149 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6153 * ) # unhandled hosts (and "normal
" native builds)
6154 lt_cv_to_host_file_cmd=func_convert_file_noop
6160 to_host_file_cmd=$lt_cv_to_host_file_cmd
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6162 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6169 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6170 if ${lt_cv_to_tool_file_cmd+:} false; then :
6171 $as_echo_n "(cached
) " >&6
6173 #assume ordinary cross tools, or native build.
6174 lt_cv_to_tool_file_cmd=func_convert_file_noop
6178 *-*-mingw* ) # actually msys
6179 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6187 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6189 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6196 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6197 if ${lt_cv_ld_reload_flag+:} false; then :
6198 $as_echo_n "(cached
) " >&6
6200 lt_cv_ld_reload_flag='-r'
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6203 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6204 reload_flag=$lt_cv_ld_reload_flag
6205 case $reload_flag in
6207 *) reload_flag=" $reload_flag" ;;
6209 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6211 cygwin* | mingw* | pw32* | cegcc*)
6212 if test yes != "$GCC"; then
6217 if test yes = "$GCC"; then
6218 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6220 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6233 if test -n "$ac_tool_prefix"; then
6234 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6235 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6237 $as_echo_n "checking
for $ac_word...
" >&6; }
6238 if ${ac_cv_prog_OBJDUMP+:} false; then :
6239 $as_echo_n "(cached
) " >&6
6241 if test -n "$OBJDUMP"; then
6242 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 test -z "$as_dir" && as_dir=.
6249 for ac_exec_ext in '' $ac_executable_extensions; do
6250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6251 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6261 OBJDUMP=$ac_cv_prog_OBJDUMP
6262 if test -n "$OBJDUMP"; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6264 $as_echo "$OBJDUMP" >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6267 $as_echo "no
" >&6; }
6272 if test -z "$ac_cv_prog_OBJDUMP"; then
6273 ac_ct_OBJDUMP=$OBJDUMP
6274 # Extract the first word of "objdump
", so it can be a program name with args.
6275 set dummy objdump; ac_word=$2
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6277 $as_echo_n "checking
for $ac_word...
" >&6; }
6278 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6279 $as_echo_n "(cached
) " >&6
6281 if test -n "$ac_ct_OBJDUMP"; then
6282 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6301 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6302 if test -n "$ac_ct_OBJDUMP"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6304 $as_echo "$ac_ct_OBJDUMP" >&6; }
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6307 $as_echo "no
" >&6; }
6310 if test "x
$ac_ct_OBJDUMP" = x; then
6313 case $cross_compiling:$ac_tool_warned in
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6316 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6317 ac_tool_warned=yes ;;
6319 OBJDUMP=$ac_ct_OBJDUMP
6322 OBJDUMP="$ac_cv_prog_OBJDUMP"
6325 test -z "$OBJDUMP" && OBJDUMP=objdump
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6336 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6337 if ${lt_cv_deplibs_check_method+:} false; then :
6338 $as_echo_n "(cached
) " >&6
6340 lt_cv_file_magic_cmd='$MAGIC_CMD'
6341 lt_cv_file_magic_test_file=
6342 lt_cv_deplibs_check_method='unknown'
6343 # Need to set the preceding variable on all platforms that support
6344 # interlibrary dependencies.
6345 # 'none' -- dependencies not supported.
6346 # 'unknown' -- same as none, but documents that we really don't know.
6347 # 'pass_all' -- all dependencies passed with no checks.
6348 # 'test_compile' -- check by making test program.
6349 # 'file_magic [[regex]]' -- check by looking for files in library path
6350 # that responds to the $file_magic_cmd with a given extended regex.
6351 # If you have 'file' or equivalent on your system and you're not sure
6352 # whether 'pass_all' will *always* work, you probably want this one.
6356 lt_cv_deplibs_check_method=pass_all
6360 lt_cv_deplibs_check_method=pass_all
6364 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6365 lt_cv_file_magic_cmd='/usr/bin/file -L'
6366 lt_cv_file_magic_test_file=/shlib/libc.so
6370 # func_win32_libid is a shell function defined in ltmain.sh
6371 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6372 lt_cv_file_magic_cmd='func_win32_libid'
6376 # Base MSYS/MinGW do not provide the 'file' command needed by
6377 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6378 # unless we find 'file', for example because we are cross-compiling.
6379 if ( file / ) >/dev/null 2>&1; then
6380 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6381 lt_cv_file_magic_cmd='func_win32_libid'
6383 # Keep this pattern in sync with the one in func_win32_libid.
6384 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6385 lt_cv_file_magic_cmd='$OBJDUMP -f'
6390 # use the weaker test based on 'objdump'. See mingw*.
6391 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6392 lt_cv_file_magic_cmd='$OBJDUMP -f'
6395 darwin* | rhapsody*)
6396 lt_cv_deplibs_check_method=pass_all
6399 freebsd* | dragonfly*)
6400 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6403 # Not sure whether the presence of OpenBSD here was a mistake.
6404 # Let's accept both of them until this is cleared up.
6405 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6406 lt_cv_file_magic_cmd=/usr/bin/file
6407 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6411 lt_cv_deplibs_check_method=pass_all
6416 lt_cv_deplibs_check_method=pass_all
6419 hpux10.20* | hpux11*)
6420 lt_cv_file_magic_cmd=/usr/bin/file
6423 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6424 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6427 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6428 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6431 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6432 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6438 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6439 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6442 irix5* | irix6* | nonstopux*)
6444 *-32|*"-32 ") libmagic=32-bit;;
6445 *-n32|*"-n32 ") libmagic=N32;;
6446 *-64|*"-64 ") libmagic=64-bit;;
6447 *) libmagic=never-match;;
6449 lt_cv_deplibs_check_method=pass_all
6452 # This must be glibc/ELF.
6453 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6454 lt_cv_deplibs_check_method=pass_all
6458 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6459 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6461 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6466 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6467 lt_cv_file_magic_cmd=/usr/bin/file
6468 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6472 lt_cv_deplibs_check_method=pass_all
6476 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6477 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6479 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6483 osf3* | osf4* | osf5*)
6484 lt_cv_deplibs_check_method=pass_all
6488 lt_cv_deplibs_check_method=pass_all
6492 lt_cv_deplibs_check_method=pass_all
6495 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6496 lt_cv_deplibs_check_method=pass_all
6500 case $host_vendor in
6502 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6503 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6506 lt_cv_deplibs_check_method=pass_all
6509 lt_cv_file_magic_cmd='/bin/file'
6510 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6513 lt_cv_file_magic_cmd='/bin/file'
6514 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6515 lt_cv_file_magic_test_file=/lib/libc.so
6518 lt_cv_deplibs_check_method=pass_all
6521 lt_cv_deplibs_check_method=pass_all
6527 lt_cv_deplibs_check_method=pass_all
6530 lt_cv_deplibs_check_method=pass_all
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6536 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6540 if test "$build" = "$host"; then
6543 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6546 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6552 file_magic_cmd=$lt_cv_file_magic_cmd
6553 deplibs_check_method=$lt_cv_deplibs_check_method
6554 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6577 if test -n "$ac_tool_prefix"; then
6578 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6579 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6581 $as_echo_n "checking
for $ac_word...
" >&6; }
6582 if ${ac_cv_prog_DLLTOOL+:} false; then :
6583 $as_echo_n "(cached
) " >&6
6585 if test -n "$DLLTOOL"; then
6586 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6605 DLLTOOL=$ac_cv_prog_DLLTOOL
6606 if test -n "$DLLTOOL"; then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6608 $as_echo "$DLLTOOL" >&6; }
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6611 $as_echo "no
" >&6; }
6616 if test -z "$ac_cv_prog_DLLTOOL"; then
6617 ac_ct_DLLTOOL=$DLLTOOL
6618 # Extract the first word of "dlltool
", so it can be a program name with args.
6619 set dummy dlltool; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6621 $as_echo_n "checking
for $ac_word...
" >&6; }
6622 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6623 $as_echo_n "(cached
) " >&6
6625 if test -n "$ac_ct_DLLTOOL"; then
6626 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6645 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6646 if test -n "$ac_ct_DLLTOOL"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6648 $as_echo "$ac_ct_DLLTOOL" >&6; }
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6651 $as_echo "no
" >&6; }
6654 if test "x
$ac_ct_DLLTOOL" = x; then
6657 case $cross_compiling:$ac_tool_warned in
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6660 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6661 ac_tool_warned=yes ;;
6663 DLLTOOL=$ac_ct_DLLTOOL
6666 DLLTOOL="$ac_cv_prog_DLLTOOL"
6669 test -z "$DLLTOOL" && DLLTOOL=dlltool
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6681 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6682 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6683 $as_echo_n "(cached
) " >&6
6685 lt_cv_sharedlib_from_linklib_cmd='unknown'
6688 cygwin* | mingw* | pw32* | cegcc*)
6689 # two different shell functions defined in ltmain.sh;
6690 # decide which one to use based on capabilities of $DLLTOOL
6691 case `$DLLTOOL --help 2>&1` in
6692 *--identify-strict*)
6693 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6696 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6701 # fallback: assume linklib IS sharedlib
6702 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6708 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6709 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6710 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6718 if test -n "$ac_tool_prefix"; then
6721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6722 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6724 $as_echo_n "checking
for $ac_word...
" >&6; }
6725 if ${ac_cv_prog_AR+:} false; then :
6726 $as_echo_n "(cached
) " >&6
6728 if test -n "$AR"; then
6729 ac_cv_prog_AR="$AR" # Let the user override the test.
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 test -z "$as_dir" && as_dir=.
6736 for ac_exec_ext in '' $ac_executable_extensions; do
6737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6738 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6749 if test -n "$AR"; then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6751 $as_echo "$AR" >&6; }
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6754 $as_echo "no
" >&6; }
6758 test -n "$AR" && break
6761 if test -z "$AR"; then
6765 # Extract the first word of "$ac_prog", so it can be a program name with args.
6766 set dummy $ac_prog; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6768 $as_echo_n "checking
for $ac_word...
" >&6; }
6769 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6770 $as_echo_n "(cached
) " >&6
6772 if test -n "$ac_ct_AR"; then
6773 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6779 test -z "$as_dir" && as_dir=.
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6782 ac_cv_prog_ac_ct_AR="$ac_prog"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6792 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6793 if test -n "$ac_ct_AR"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6795 $as_echo "$ac_ct_AR" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6798 $as_echo "no
" >&6; }
6802 test -n "$ac_ct_AR" && break
6805 if test "x
$ac_ct_AR" = x; then
6808 case $cross_compiling:$ac_tool_warned in
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6811 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6812 ac_tool_warned=yes ;;
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6832 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6833 if ${lt_cv_ar_at_file+:} false; then :
6834 $as_echo_n "(cached
) " >&6
6837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6838 /* end confdefs.h. */
6848 if ac_fn_c_try_compile "$LINENO"; then :
6849 echo conftest.$ac_objext > conftest.lst
6850 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6851 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6852 (eval $lt_ar_try) 2>&5
6854 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6855 test $ac_status = 0; }
6856 if test 0 -eq "$ac_status"; then
6857 # Ensure the archiver fails upon bogus file names.
6858 rm -f conftest.$ac_objext libconftest.a
6859 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6860 (eval $lt_ar_try) 2>&5
6862 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6863 test $ac_status = 0; }
6864 if test 0 -ne "$ac_status"; then
6868 rm -f conftest.* libconftest.a
6871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6875 $as_echo "$lt_cv_ar_at_file" >&6; }
6877 if test no = "$lt_cv_ar_at_file"; then
6880 archiver_list_spec=$lt_cv_ar_at_file
6889 if test -n "$ac_tool_prefix"; then
6890 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6891 set dummy ${ac_tool_prefix}strip; ac_word=$2
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6893 $as_echo_n "checking
for $ac_word...
" >&6; }
6894 if ${ac_cv_prog_STRIP+:} false; then :
6895 $as_echo_n "(cached
) " >&6
6897 if test -n "$STRIP"; then
6898 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6904 test -z "$as_dir" && as_dir=.
6905 for ac_exec_ext in '' $ac_executable_extensions; do
6906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6907 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6917 STRIP=$ac_cv_prog_STRIP
6918 if test -n "$STRIP"; then
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6920 $as_echo "$STRIP" >&6; }
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6923 $as_echo "no
" >&6; }
6928 if test -z "$ac_cv_prog_STRIP"; then
6930 # Extract the first word of "strip
", so it can be a program name with args.
6931 set dummy strip; ac_word=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6933 $as_echo_n "checking
for $ac_word...
" >&6; }
6934 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6935 $as_echo_n "(cached
) " >&6
6937 if test -n "$ac_ct_STRIP"; then
6938 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir=.
6945 for ac_exec_ext in '' $ac_executable_extensions; do
6946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6947 ac_cv_prog_ac_ct_STRIP="strip
"
6948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6957 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6958 if test -n "$ac_ct_STRIP"; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6960 $as_echo "$ac_ct_STRIP" >&6; }
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6963 $as_echo "no
" >&6; }
6966 if test "x
$ac_ct_STRIP" = x; then
6969 case $cross_compiling:$ac_tool_warned in
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6972 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6973 ac_tool_warned=yes ;;
6978 STRIP="$ac_cv_prog_STRIP"
6981 test -z "$STRIP" && STRIP=:
6988 if test -n "$ac_tool_prefix"; then
6989 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6990 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6992 $as_echo_n "checking
for $ac_word...
" >&6; }
6993 if ${ac_cv_prog_RANLIB+:} false; then :
6994 $as_echo_n "(cached
) " >&6
6996 if test -n "$RANLIB"; then
6997 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003 test -z "$as_dir" && as_dir=.
7004 for ac_exec_ext in '' $ac_executable_extensions; do
7005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7006 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7016 RANLIB=$ac_cv_prog_RANLIB
7017 if test -n "$RANLIB"; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7019 $as_echo "$RANLIB" >&6; }
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7022 $as_echo "no
" >&6; }
7027 if test -z "$ac_cv_prog_RANLIB"; then
7028 ac_ct_RANLIB=$RANLIB
7029 # Extract the first word of "ranlib
", so it can be a program name with args.
7030 set dummy ranlib; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7032 $as_echo_n "checking
for $ac_word...
" >&6; }
7033 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7034 $as_echo_n "(cached
) " >&6
7036 if test -n "$ac_ct_RANLIB"; then
7037 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7043 test -z "$as_dir" && as_dir=.
7044 for ac_exec_ext in '' $ac_executable_extensions; do
7045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7046 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7056 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7057 if test -n "$ac_ct_RANLIB"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7059 $as_echo "$ac_ct_RANLIB" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7062 $as_echo "no
" >&6; }
7065 if test "x
$ac_ct_RANLIB" = x; then
7068 case $cross_compiling:$ac_tool_warned in
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7071 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7072 ac_tool_warned=yes ;;
7074 RANLIB=$ac_ct_RANLIB
7077 RANLIB="$ac_cv_prog_RANLIB"
7080 test -z "$RANLIB" && RANLIB=:
7087 # Determine commands to create old-style static archives.
7088 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7089 old_postinstall_cmds='chmod 644 $oldlib'
7090 old_postuninstall_cmds=
7092 if test -n "$RANLIB"; then
7095 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7098 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7101 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7106 lock_old_archive_extraction=yes ;;
7108 lock_old_archive_extraction=no ;;
7149 # If no C compiler was specified, use CC.
7152 # If no C compiler flags were specified, use CFLAGS.
7153 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7155 # Allow CC to be a program name with arguments.
7159 # Check for command to grab the raw symbol name followed by C symbol from nm.
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7161 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7162 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7163 $as_echo_n "(cached
) " >&6
7166 # These are sane defaults that work on at least a few old systems.
7167 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7169 # Character class describing NM global symbol codes.
7170 symcode='[BCDEGRST]'
7172 # Regexp to match symbols that can be accessed directly from C.
7173 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7175 # Define system-specific variables.
7180 cygwin* | mingw* | pw32* | cegcc*)
7181 symcode='[ABCDGISTW]'
7184 if test ia64 = "$host_cpu"; then
7185 symcode='[ABCDEGRST]'
7189 symcode='[BCDEGRST]'
7192 symcode='[BCDEGQRST]'
7203 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7211 # If we're using GNU nm, then use its standard symbol codes.
7212 case `$NM -V 2>&1` in
7213 *GNU* | *'with BFD'*)
7214 symcode='[ABCDGIRSTW]' ;;
7217 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7218 # Gets list of data symbols to import.
7219 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7220 # Adjust the below global symbol transforms to fixup imported variables.
7221 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7222 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7223 lt_c_name_lib_hook="\
7224 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7225 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7227 # Disable hooks by default.
7228 lt_cv_sys_global_symbol_to_import=
7234 # Transform an extracted symbol line into a proper C declaration.
7235 # Some systems (esp. on ia64) link data and code symbols differently,
7236 # so use this general approach.
7237 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7239 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7240 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7242 # Transform an extracted symbol line into symbol name and symbol address
7243 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7245 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7246 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7248 # Transform an extracted symbol line into symbol name with lib prefix and
7250 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7251 $lt_c_name_lib_hook\
7252 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7253 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7254 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7256 # Handle CRLF in mingw tool chain
7260 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7264 # Try without a prefix underscore, then with it.
7265 for ac_symprfx in "" "_
"; do
7267 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7268 symxfrm="\\1 $ac_symprfx\\2 \\2"
7270 # Write the raw and C identifiers.
7271 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7272 # Fake it for dumpbin and say T for any non-static function,
7273 # D for any global variable and I for any imported variable.
7274 # Also find C++ and __fastcall symbols from MSVC++,
7275 # which start with @ or ?.
7276 lt_cv_sys_global_symbol_pipe="$AWK '"\
7277 " {last_section=section; section=\$ 3};"\
7278 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7279 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7280 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7281 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7282 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7283 " \$ 0!~/External *\|/{next};"\
7284 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7285 " {if(hide[section]) next};"\
7286 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7287 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7288 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7289 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7290 " ' prfx
=^
$ac_symprfx"
7292 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7294 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7296 # Check to see that the pipe works correctly.
7300 cat > conftest.$ac_ext <<_LT_EOF
7305 void nm_test_func(void);
7306 void nm_test_func(void){}
7310 int main(){nm_test_var='a';nm_test_func();return(0);}
7313 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7314 (eval $ac_compile) 2>&5
7316 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7317 test $ac_status = 0; }; then
7318 # Now try to grab the symbols.
7320 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7321 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7323 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7324 test $ac_status = 0; } && test -s "$nlist"; then
7325 # Try sorting and uniquifying the output.
7326 if sort "$nlist" | uniq > "$nlist"T; then
7327 mv -f "$nlist"T "$nlist"
7332 # Make sure that we snagged all the symbols we need.
7333 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7334 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7335 cat <<_LT_EOF > conftest.$ac_ext
7336 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7337 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7338 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7339 relocations are performed -- see ld's documentation on pseudo-relocs. */
7340 # define LT_DLSYM_CONST
7341 #elif defined __osf__
7342 /* This system does not cope well with relocations in const data. */
7343 # define LT_DLSYM_CONST
7345 # define LT_DLSYM_CONST const
7353 # Now generate the symbol file.
7354 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7356 cat <<_LT_EOF >> conftest.$ac_ext
7358 /* The mapping between symbol names and symbols. */
7359 LT_DLSYM_CONST struct {
7363 lt__PROGRAM__LTX_preloaded_symbols[] =
7365 { "@PROGRAM@
", (void *) 0 },
7367 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7368 cat <<\_LT_EOF >> conftest.$ac_ext
7372 /* This works around a problem in FreeBSD linker */
7373 #ifdef FREEBSD_WORKAROUND
7374 static const void *lt_preloaded_setup() {
7375 return lt__PROGRAM__LTX_preloaded_symbols;
7383 # Now try linking the two files.
7384 mv conftest.$ac_objext conftstm.$ac_objext
7385 lt_globsym_save_LIBS=$LIBS
7386 lt_globsym_save_CFLAGS=$CFLAGS
7387 LIBS=conftstm.$ac_objext
7388 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7389 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7390 (eval $ac_link) 2>&5
7392 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7393 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7396 LIBS=$lt_globsym_save_LIBS
7397 CFLAGS=$lt_globsym_save_CFLAGS
7399 echo "cannot
find nm_test_func
in $nlist" >&5
7402 echo "cannot
find nm_test_var
in $nlist" >&5
7405 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7408 echo "$progname: failed program was
:" >&5
7409 cat conftest.$ac_ext >&5
7411 rm -rf conftest* conftst*
7413 # Do not use the global_symbol_pipe unless it works.
7414 if test yes = "$pipe_works"; then
7417 lt_cv_sys_global_symbol_pipe=
7423 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7424 lt_cv_sys_global_symbol_to_cdecl=
7426 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7428 $as_echo "failed
" >&6; }
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7431 $as_echo "ok
" >&6; }
7434 # Response file support.
7435 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7436 nm_file_list_spec='@'
7437 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7438 nm_file_list_spec='@'
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7478 $as_echo_n "checking
for sysroot...
" >&6; }
7480 # Check whether --with-sysroot was given.
7481 if test "${with_sysroot+set}" = set; then :
7482 withval=$with_sysroot;
7489 case $with_sysroot in #(
7491 if test yes = "$GCC"; then
7492 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7496 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7502 $as_echo "$with_sysroot" >&6; }
7503 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7508 $as_echo "${lt_sysroot:-no}" >&6; }
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7515 $as_echo_n "checking
for a working
dd...
" >&6; }
7516 if ${ac_cv_path_lt_DD+:} false; then :
7517 $as_echo_n "(cached
) " >&6
7519 printf 0123456789abcdef0123456789abcdef >conftest.i
7520 cat conftest.i conftest.i >conftest2.i
7522 if test -z "$lt_DD"; then
7523 ac_path_lt_DD_found=false
7524 # Loop through the user's path and test for each of PROGNAME-LIST
7525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 test -z "$as_dir" && as_dir=.
7530 for ac_prog in dd; do
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7533 as_fn_executable_p "$ac_path_lt_DD" || continue
7534 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7535 cmp -s conftest.i conftest.out \
7536 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7538 $ac_path_lt_DD_found && break 3
7543 if test -z "$ac_cv_path_lt_DD"; then
7547 ac_cv_path_lt_DD=$lt_DD
7550 rm -f conftest.i conftest2.i conftest.out
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7553 $as_echo "$ac_cv_path_lt_DD" >&6; }
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7557 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7558 if ${lt_cv_truncate_bin+:} false; then :
7559 $as_echo_n "(cached
) " >&6
7561 printf 0123456789abcdef0123456789abcdef >conftest.i
7562 cat conftest.i conftest.i >conftest2.i
7564 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7565 cmp -s conftest.i conftest.out \
7566 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7568 rm -f conftest.i conftest2.i conftest.out
7569 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7572 $as_echo "$lt_cv_truncate_bin" >&6; }
7580 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7583 for cc_temp in $*""; do
7585 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7586 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7591 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7594 # Check whether --enable-libtool-lock was given.
7595 if test "${enable_libtool_lock+set}" = set; then :
7596 enableval=$enable_libtool_lock;
7599 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7601 # Some flags need to be propagated to the compiler or linker for good
7605 # Find out what ABI is being produced by ac_compile, and set mode
7606 # options accordingly.
7607 echo 'int i;' > conftest.$ac_ext
7608 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7609 (eval $ac_compile) 2>&5
7611 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7612 test $ac_status = 0; }; then
7613 case `/usr/bin/file conftest.$ac_objext` in
7625 # Find out what ABI is being produced by ac_compile, and set linker
7626 # options accordingly.
7627 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7628 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7629 (eval $ac_compile) 2>&5
7631 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7632 test $ac_status = 0; }; then
7633 if test yes = "$lt_cv_prog_gnu_ld"; then
7634 case `/usr/bin/file conftest.$ac_objext` in
7636 LD="${LD-ld} -melf32bsmip"
7639 LD="${LD-ld} -melf32bmipn32"
7642 LD="${LD-ld} -melf64bmip"
7646 case `/usr/bin/file conftest.$ac_objext` in
7663 # Find out what ABI is being produced by ac_compile, and set linker
7664 # options accordingly.
7665 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7666 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7667 (eval $ac_compile) 2>&5
7669 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7670 test $ac_status = 0; }; then
7672 case `/usr/bin/file conftest.$ac_objext` in
7680 case `/usr/bin/file conftest.$ac_objext` in
7682 emul="${emul}btsmip
"
7685 emul="${emul}ltsmip
"
7688 case `/usr/bin/file conftest.$ac_objext` in
7693 LD="${LD-ld} -m $emul"
7698 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7699 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7700 # Find out what ABI is being produced by ac_compile, and set linker
7701 # options accordingly. Note that the listed cases only cover the
7702 # situations where additional linker options are needed (such as when
7703 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7704 # vice versa); the common cases where no linker options are needed do
7705 # not appear in the list.
7706 echo 'int i;' > conftest.$ac_ext
7707 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7708 (eval $ac_compile) 2>&5
7710 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7711 test $ac_status = 0; }; then
7712 case `/usr/bin/file conftest.o` in
7715 x86_64-*kfreebsd*-gnu)
7716 LD="${LD-ld} -m elf_i386_fbsd
"
7719 case `/usr/bin/file conftest.o` in
7721 LD="${LD-ld} -m elf32_x86_64
"
7724 LD="${LD-ld} -m elf_i386
"
7728 powerpc64le-*linux*)
7729 LD="${LD-ld} -m elf32lppclinux
"
7732 LD="${LD-ld} -m elf32ppclinux
"
7735 LD="${LD-ld} -m elf_s390
"
7738 LD="${LD-ld} -m elf32_sparc
"
7744 x86_64-*kfreebsd*-gnu)
7745 LD="${LD-ld} -m elf_x86_64_fbsd
"
7748 LD="${LD-ld} -m elf_x86_64
"
7751 LD="${LD-ld} -m elf64lppc
"
7754 LD="${LD-ld} -m elf64ppc
"
7756 s390*-*linux*|s390*-*tpf*)
7757 LD="${LD-ld} -m elf64_s390
"
7760 LD="${LD-ld} -m elf64_sparc
"
7770 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7772 CFLAGS="$CFLAGS -belf"
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7774 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7775 if ${lt_cv_cc_needs_belf+:} false; then :
7776 $as_echo_n "(cached
) " >&6
7779 ac_cpp='$CPP $CPPFLAGS'
7780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7785 /* end confdefs.h. */
7795 if ac_fn_c_try_link "$LINENO"; then :
7796 lt_cv_cc_needs_belf=yes
7798 lt_cv_cc_needs_belf=no
7800 rm -f core conftest.err conftest.$ac_objext \
7801 conftest$ac_exeext conftest.$ac_ext
7803 ac_cpp='$CPP $CPPFLAGS'
7804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7810 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7811 if test yes != "$lt_cv_cc_needs_belf"; then
7812 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7817 # Find out what ABI is being produced by ac_compile, and set linker
7818 # options accordingly.
7819 echo 'int i;' > conftest.$ac_ext
7820 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7821 (eval $ac_compile) 2>&5
7823 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7824 test $ac_status = 0; }; then
7825 case `/usr/bin/file conftest.o` in
7827 case $lt_cv_prog_gnu_ld in
7830 i?86-*-solaris*|x86_64-*-solaris*)
7831 LD="${LD-ld} -m elf_x86_64
"
7834 LD="${LD-ld} -m elf64_sparc
"
7837 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7838 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7843 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7855 need_locks=$enable_libtool_lock
7857 if test -n "$ac_tool_prefix"; then
7858 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7859 set dummy ${ac_tool_prefix}mt; ac_word=$2
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7861 $as_echo_n "checking
for $ac_word...
" >&6; }
7862 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7863 $as_echo_n "(cached
) " >&6
7865 if test -n "$MANIFEST_TOOL"; then
7866 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 test -z "$as_dir" && as_dir=.
7873 for ac_exec_ext in '' $ac_executable_extensions; do
7874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7875 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7885 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7886 if test -n "$MANIFEST_TOOL"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7888 $as_echo "$MANIFEST_TOOL" >&6; }
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7891 $as_echo "no
" >&6; }
7896 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7897 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7898 # Extract the first word of "mt
", so it can be a program name with args.
7899 set dummy mt; ac_word=$2
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7901 $as_echo_n "checking
for $ac_word...
" >&6; }
7902 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7903 $as_echo_n "(cached
) " >&6
7905 if test -n "$ac_ct_MANIFEST_TOOL"; then
7906 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 test -z "$as_dir" && as_dir=.
7913 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7915 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7925 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7926 if test -n "$ac_ct_MANIFEST_TOOL"; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7928 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7931 $as_echo "no
" >&6; }
7934 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7937 case $cross_compiling:$ac_tool_warned in
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7940 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7941 ac_tool_warned=yes ;;
7943 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7946 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7949 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7951 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7952 if ${lt_cv_path_mainfest_tool+:} false; then :
7953 $as_echo_n "(cached
) " >&6
7955 lt_cv_path_mainfest_tool=no
7956 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7957 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7958 cat conftest.err >&5
7959 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7960 lt_cv_path_mainfest_tool=yes
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7965 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7966 if test yes != "$lt_cv_path_mainfest_tool"; then
7976 rhapsody* | darwin*)
7977 if test -n "$ac_tool_prefix"; then
7978 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7979 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7981 $as_echo_n "checking
for $ac_word...
" >&6; }
7982 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7983 $as_echo_n "(cached
) " >&6
7985 if test -n "$DSYMUTIL"; then
7986 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992 test -z "$as_dir" && as_dir=.
7993 for ac_exec_ext in '' $ac_executable_extensions; do
7994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7995 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7996 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8005 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8006 if test -n "$DSYMUTIL"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8008 $as_echo "$DSYMUTIL" >&6; }
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8011 $as_echo "no
" >&6; }
8016 if test -z "$ac_cv_prog_DSYMUTIL"; then
8017 ac_ct_DSYMUTIL=$DSYMUTIL
8018 # Extract the first word of "dsymutil
", so it can be a program name with args.
8019 set dummy dsymutil; ac_word=$2
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8021 $as_echo_n "checking
for $ac_word...
" >&6; }
8022 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8023 $as_echo_n "(cached
) " >&6
8025 if test -n "$ac_ct_DSYMUTIL"; then
8026 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 test -z "$as_dir" && as_dir=.
8033 for ac_exec_ext in '' $ac_executable_extensions; do
8034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8035 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8045 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8046 if test -n "$ac_ct_DSYMUTIL"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8048 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8051 $as_echo "no
" >&6; }
8054 if test "x
$ac_ct_DSYMUTIL" = x; then
8057 case $cross_compiling:$ac_tool_warned in
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8060 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8061 ac_tool_warned=yes ;;
8063 DSYMUTIL=$ac_ct_DSYMUTIL
8066 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8069 if test -n "$ac_tool_prefix"; then
8070 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8071 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8073 $as_echo_n "checking
for $ac_word...
" >&6; }
8074 if ${ac_cv_prog_NMEDIT+:} false; then :
8075 $as_echo_n "(cached
) " >&6
8077 if test -n "$NMEDIT"; then
8078 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8087 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8097 NMEDIT=$ac_cv_prog_NMEDIT
8098 if test -n "$NMEDIT"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8100 $as_echo "$NMEDIT" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8103 $as_echo "no
" >&6; }
8108 if test -z "$ac_cv_prog_NMEDIT"; then
8109 ac_ct_NMEDIT=$NMEDIT
8110 # Extract the first word of "nmedit
", so it can be a program name with args.
8111 set dummy nmedit; ac_word=$2
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8113 $as_echo_n "checking
for $ac_word...
" >&6; }
8114 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8115 $as_echo_n "(cached
) " >&6
8117 if test -n "$ac_ct_NMEDIT"; then
8118 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8124 test -z "$as_dir" && as_dir=.
8125 for ac_exec_ext in '' $ac_executable_extensions; do
8126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8127 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8137 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8138 if test -n "$ac_ct_NMEDIT"; then
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8140 $as_echo "$ac_ct_NMEDIT" >&6; }
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8143 $as_echo "no
" >&6; }
8146 if test "x
$ac_ct_NMEDIT" = x; then
8149 case $cross_compiling:$ac_tool_warned in
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8152 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8153 ac_tool_warned=yes ;;
8155 NMEDIT=$ac_ct_NMEDIT
8158 NMEDIT="$ac_cv_prog_NMEDIT"
8161 if test -n "$ac_tool_prefix"; then
8162 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8163 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8165 $as_echo_n "checking
for $ac_word...
" >&6; }
8166 if ${ac_cv_prog_LIPO+:} false; then :
8167 $as_echo_n "(cached
) " >&6
8169 if test -n "$LIPO"; then
8170 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8179 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8189 LIPO=$ac_cv_prog_LIPO
8190 if test -n "$LIPO"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8192 $as_echo "$LIPO" >&6; }
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8195 $as_echo "no
" >&6; }
8200 if test -z "$ac_cv_prog_LIPO"; then
8202 # Extract the first word of "lipo
", so it can be a program name with args.
8203 set dummy lipo; ac_word=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8205 $as_echo_n "checking
for $ac_word...
" >&6; }
8206 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8207 $as_echo_n "(cached
) " >&6
8209 if test -n "$ac_ct_LIPO"; then
8210 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8216 test -z "$as_dir" && as_dir=.
8217 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219 ac_cv_prog_ac_ct_LIPO="lipo
"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8229 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8230 if test -n "$ac_ct_LIPO"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8232 $as_echo "$ac_ct_LIPO" >&6; }
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8235 $as_echo "no
" >&6; }
8238 if test "x
$ac_ct_LIPO" = x; then
8241 case $cross_compiling:$ac_tool_warned in
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8244 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8245 ac_tool_warned=yes ;;
8250 LIPO="$ac_cv_prog_LIPO"
8253 if test -n "$ac_tool_prefix"; then
8254 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8255 set dummy ${ac_tool_prefix}otool; ac_word=$2
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8257 $as_echo_n "checking
for $ac_word...
" >&6; }
8258 if ${ac_cv_prog_OTOOL+:} false; then :
8259 $as_echo_n "(cached
) " >&6
8261 if test -n "$OTOOL"; then
8262 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8268 test -z "$as_dir" && as_dir=.
8269 for ac_exec_ext in '' $ac_executable_extensions; do
8270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8271 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8281 OTOOL=$ac_cv_prog_OTOOL
8282 if test -n "$OTOOL"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8284 $as_echo "$OTOOL" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8287 $as_echo "no
" >&6; }
8292 if test -z "$ac_cv_prog_OTOOL"; then
8294 # Extract the first word of "otool
", so it can be a program name with args.
8295 set dummy otool; ac_word=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8297 $as_echo_n "checking
for $ac_word...
" >&6; }
8298 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8299 $as_echo_n "(cached
) " >&6
8301 if test -n "$ac_ct_OTOOL"; then
8302 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8308 test -z "$as_dir" && as_dir=.
8309 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8311 ac_cv_prog_ac_ct_OTOOL="otool
"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8321 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8322 if test -n "$ac_ct_OTOOL"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8324 $as_echo "$ac_ct_OTOOL" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8327 $as_echo "no
" >&6; }
8330 if test "x
$ac_ct_OTOOL" = x; then
8333 case $cross_compiling:$ac_tool_warned in
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8336 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8337 ac_tool_warned=yes ;;
8342 OTOOL="$ac_cv_prog_OTOOL"
8345 if test -n "$ac_tool_prefix"; then
8346 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8347 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8349 $as_echo_n "checking
for $ac_word...
" >&6; }
8350 if ${ac_cv_prog_OTOOL64+:} false; then :
8351 $as_echo_n "(cached
) " >&6
8353 if test -n "$OTOOL64"; then
8354 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8360 test -z "$as_dir" && as_dir=.
8361 for ac_exec_ext in '' $ac_executable_extensions; do
8362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8363 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8373 OTOOL64=$ac_cv_prog_OTOOL64
8374 if test -n "$OTOOL64"; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8376 $as_echo "$OTOOL64" >&6; }
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8379 $as_echo "no
" >&6; }
8384 if test -z "$ac_cv_prog_OTOOL64"; then
8385 ac_ct_OTOOL64=$OTOOL64
8386 # Extract the first word of "otool64
", so it can be a program name with args.
8387 set dummy otool64; ac_word=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8389 $as_echo_n "checking
for $ac_word...
" >&6; }
8390 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8391 $as_echo_n "(cached
) " >&6
8393 if test -n "$ac_ct_OTOOL64"; then
8394 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir=.
8401 for ac_exec_ext in '' $ac_executable_extensions; do
8402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8403 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8413 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8414 if test -n "$ac_ct_OTOOL64"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8416 $as_echo "$ac_ct_OTOOL64" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8419 $as_echo "no
" >&6; }
8422 if test "x
$ac_ct_OTOOL64" = x; then
8425 case $cross_compiling:$ac_tool_warned in
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8428 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8429 ac_tool_warned=yes ;;
8431 OTOOL64=$ac_ct_OTOOL64
8434 OTOOL64="$ac_cv_prog_OTOOL64"
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8464 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8465 if ${lt_cv_apple_cc_single_mod+:} false; then :
8466 $as_echo_n "(cached
) " >&6
8468 lt_cv_apple_cc_single_mod=no
8469 if test -z "$LT_MULTI_MODULE"; then
8470 # By default we will add the -single_module flag. You can override
8471 # by either setting the environment variable LT_MULTI_MODULE
8472 # non-empty at configure time, or by adding -multi_module to the
8474 rm -rf libconftest.dylib*
8475 echo "int foo
(void
){return 1;}" > conftest.c
8476 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8477 -dynamiclib -Wl,-single_module conftest.c
" >&5
8478 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8479 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8481 # If there is a non-empty error log, and "single_module
"
8482 # appears in it, assume the flag caused a linker warning
8483 if test -s conftest.err && $GREP single_module conftest.err; then
8484 cat conftest.err >&5
8485 # Otherwise, if the output was created with a 0 exit code from
8486 # the compiler, it worked.
8487 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8488 lt_cv_apple_cc_single_mod=yes
8490 cat conftest.err >&5
8492 rm -rf libconftest.dylib*
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8497 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8500 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8501 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8502 $as_echo_n "(cached
) " >&6
8504 lt_cv_ld_exported_symbols_list=no
8505 save_LDFLAGS=$LDFLAGS
8506 echo "_main
" > conftest.sym
8507 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8519 if ac_fn_c_try_link "$LINENO"; then :
8520 lt_cv_ld_exported_symbols_list=yes
8522 lt_cv_ld_exported_symbols_list=no
8524 rm -f core conftest.err conftest.$ac_objext \
8525 conftest$ac_exeext conftest.$ac_ext
8526 LDFLAGS=$save_LDFLAGS
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8530 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8533 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8534 if ${lt_cv_ld_force_load+:} false; then :
8535 $as_echo_n "(cached
) " >&6
8537 lt_cv_ld_force_load=no
8538 cat > conftest.c << _LT_EOF
8539 int forced_loaded() { return 2;}
8541 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8542 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8543 echo "$AR cru libconftest.a conftest.o
" >&5
8544 $AR cru libconftest.a conftest.o 2>&5
8545 echo "$RANLIB libconftest.a
" >&5
8546 $RANLIB libconftest.a 2>&5
8547 cat > conftest.c << _LT_EOF
8548 int main() { return 0;}
8550 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8551 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8553 if test -s conftest.err && $GREP force_load conftest.err; then
8554 cat conftest.err >&5
8555 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8556 lt_cv_ld_force_load=yes
8558 cat conftest.err >&5
8560 rm -f conftest.err libconftest.a conftest conftest.c
8561 rm -rf conftest.dSYM
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8565 $as_echo "$lt_cv_ld_force_load" >&6; }
8567 rhapsody* | darwin1.[012])
8568 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8570 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8571 darwin*) # darwin 5.x on
8572 # if running on 10.5 or later, the deployment target defaults
8573 # to the OS version, if on x86, and 10.4, the deployment
8574 # target defaults to 10.4. Don't you love it?
8575 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8576 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8577 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8579 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8581 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8585 if test yes = "$lt_cv_apple_cc_single_mod"; then
8586 _lt_dar_single_mod='$single_module'
8588 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8589 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8591 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8593 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8594 _lt_dsymutil='~$DSYMUTIL $lib || :'
8601 # func_munge_path_list VARIABLE PATH
8602 # -----------------------------------
8603 # VARIABLE is name of variable containing _space_ separated list of
8604 # directories to be munged by the contents of PATH, which is string
8607 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8609 # string "DIR
[ DIR
]" will be appended to VARIABLE
8610 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8611 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8612 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8614 # VARIABLE will be replaced by "DIR
[ DIR
]"
8615 func_munge_path_list ()
8621 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8624 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8627 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8628 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8631 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8637 ac_cpp='$CPP $CPPFLAGS'
8638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8642 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8643 # On Suns, sometimes $CPP names a directory.
8644 if test -n "$CPP" && test -d "$CPP"; then
8647 if test -z "$CPP"; then
8648 if ${ac_cv_prog_CPP+:} false; then :
8649 $as_echo_n "(cached
) " >&6
8651 # Double quotes because CPP needs to be expanded
8652 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8655 for ac_c_preproc_warn_flag in '' yes
8657 # Use a header file that comes with gcc, so configuring glibc
8658 # with a fresh cross-compiler works.
8659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8660 # <limits.h> exists even on freestanding compilers.
8661 # On the NeXT, cc -E runs the code through the compiler's parser,
8662 # not just through cpp. "Syntax error
" is here to catch this case.
8663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8664 /* end confdefs.h. */
8666 # include <limits.h>
8668 # include <assert.h>
8672 if ac_fn_c_try_cpp "$LINENO"; then :
8675 # Broken: fails on valid input.
8678 rm -f conftest.err conftest.i conftest.$ac_ext
8680 # OK, works on sane cases. Now check whether nonexistent headers
8681 # can be detected and how.
8682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8683 /* end confdefs.h. */
8684 #include <ac_nonexistent.h>
8686 if ac_fn_c_try_cpp "$LINENO"; then :
8687 # Broken: success on invalid input.
8690 # Passes both tests.
8694 rm -f conftest.err conftest.i conftest.$ac_ext
8697 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8698 rm -f conftest.i conftest.err conftest.$ac_ext
8699 if $ac_preproc_ok; then :
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8712 $as_echo "$CPP" >&6; }
8714 for ac_c_preproc_warn_flag in '' yes
8716 # Use a header file that comes with gcc, so configuring glibc
8717 # with a fresh cross-compiler works.
8718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8719 # <limits.h> exists even on freestanding compilers.
8720 # On the NeXT, cc -E runs the code through the compiler's parser,
8721 # not just through cpp. "Syntax error
" is here to catch this case.
8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8723 /* end confdefs.h. */
8725 # include <limits.h>
8727 # include <assert.h>
8731 if ac_fn_c_try_cpp "$LINENO"; then :
8734 # Broken: fails on valid input.
8737 rm -f conftest.err conftest.i conftest.$ac_ext
8739 # OK, works on sane cases. Now check whether nonexistent headers
8740 # can be detected and how.
8741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8743 #include <ac_nonexistent.h>
8745 if ac_fn_c_try_cpp "$LINENO"; then :
8746 # Broken: success on invalid input.
8749 # Passes both tests.
8753 rm -f conftest.err conftest.i conftest.$ac_ext
8756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8757 rm -f conftest.i conftest.err conftest.$ac_ext
8758 if $ac_preproc_ok; then :
8761 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8763 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8764 See \`config.log' for more details
" "$LINENO" 5; }
8768 ac_cpp='$CPP $CPPFLAGS'
8769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8775 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8776 if ${ac_cv_header_stdc+:} false; then :
8777 $as_echo_n "(cached
) " >&6
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8794 if ac_fn_c_try_compile "$LINENO"; then :
8795 ac_cv_header_stdc=yes
8797 ac_cv_header_stdc=no
8799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8801 if test $ac_cv_header_stdc = yes; then
8802 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8808 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8809 $EGREP "memchr
" >/dev/null 2>&1; then :
8812 ac_cv_header_stdc=no
8818 if test $ac_cv_header_stdc = yes; then
8819 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8825 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8826 $EGREP "free
" >/dev/null 2>&1; then :
8829 ac_cv_header_stdc=no
8835 if test $ac_cv_header_stdc = yes; then
8836 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8837 if test "$cross_compiling" = yes; then :
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8844 #if ((' ' & 0x0FF) == 0x020)
8845 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8846 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8848 # define ISLOWER(c) \
8849 (('a' <= (c) && (c) <= 'i') \
8850 || ('j' <= (c) && (c) <= 'r') \
8851 || ('s' <= (c) && (c) <= 'z'))
8852 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8855 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8860 for (i = 0; i < 256; i++)
8861 if (XOR (islower (i), ISLOWER (i))
8862 || toupper (i) != TOUPPER (i))
8867 if ac_fn_c_try_run "$LINENO"; then :
8870 ac_cv_header_stdc=no
8872 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8873 conftest.$ac_objext conftest.beam conftest.$ac_ext
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8879 $as_echo "$ac_cv_header_stdc" >&6; }
8880 if test $ac_cv_header_stdc = yes; then
8882 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8886 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8887 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8888 inttypes.h stdint.h unistd.h
8890 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8891 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8893 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8894 cat >>confdefs.h
<<_ACEOF
8895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8903 for ac_header
in dlfcn.h
8905 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8907 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8908 cat >>confdefs.h
<<_ACEOF
8909 #define HAVE_DLFCN_H 1
8919 func_stripname_cnf
()
8922 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8923 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8925 } # func_stripname_cnf
8932 # Check whether --enable-static was given.
8933 if test "${enable_static+set}" = set; then :
8934 enableval
=$enable_static; p
=${PACKAGE-default}
8936 yes) enable_static
=yes ;;
8937 no
) enable_static
=no
;;
8940 # Look at the argument we got. We use all the common list separators.
8941 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8942 for pkg
in $enableval; do
8944 if test "X$pkg" = "X$p"; then
8970 # Check whether --enable-shared was given.
8971 if test "${enable_shared+set}" = set; then :
8972 enableval
=$enable_shared; p
=${PACKAGE-default}
8974 yes) enable_shared
=yes ;;
8975 no
) enable_shared
=no
;;
8978 # Look at the argument we got. We use all the common list separators.
8979 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8980 for pkg
in $enableval; do
8982 if test "X$pkg" = "X$p"; then
9003 # Check whether --with-pic was given.
9004 if test "${with_pic+set}" = set; then :
9005 withval
=$with_pic; lt_p
=${PACKAGE-default}
9007 yes|no
) pic_mode
=$withval ;;
9010 # Look at the argument we got. We use all the common list separators.
9011 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9012 for lt_pkg
in $withval; do
9014 if test "X$lt_pkg" = "X$lt_p"; then
9032 # Check whether --enable-fast-install was given.
9033 if test "${enable_fast_install+set}" = set; then :
9034 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9036 yes) enable_fast_install
=yes ;;
9037 no
) enable_fast_install
=no
;;
9039 enable_fast_install
=no
9040 # Look at the argument we got. We use all the common list separators.
9041 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9042 for pkg
in $enableval; do
9044 if test "X$pkg" = "X$p"; then
9045 enable_fast_install
=yes
9052 enable_fast_install
=yes
9062 shared_archive_member_spec
=
9063 case $host,$enable_shared in
9064 power
*-*-aix[5-9]*,yes)
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9066 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9068 # Check whether --with-aix-soname was given.
9069 if test "${with_aix_soname+set}" = set; then :
9070 withval
=$with_aix_soname; case $withval in
9074 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9077 lt_cv_with_aix_soname
=$with_aix_soname
9079 if ${lt_cv_with_aix_soname+:} false
; then :
9080 $as_echo_n "(cached) " >&6
9082 lt_cv_with_aix_soname
=aix
9085 with_aix_soname
=$lt_cv_with_aix_soname
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9089 $as_echo "$with_aix_soname" >&6; }
9090 if test aix
!= "$with_aix_soname"; then
9091 # For the AIX way of multilib, we name the shared archive member
9092 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9093 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9094 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9095 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9096 if test 64 = "${OBJECT_MODE-32}"; then
9097 shared_archive_member_spec
=shr_64
9099 shared_archive_member_spec
=shr
9117 # This can be used to rebuild libtool when needed
9118 LIBTOOL_DEPS
=$ltmain
9120 # Always use our own libtool.
9121 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9152 test -z "$LN_S" && LN_S
="ln -s"
9167 if test -n "${ZSH_VERSION+set}"; then
9168 setopt NO_GLOB_SUBST
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9172 $as_echo_n "checking for objdir... " >&6; }
9173 if ${lt_cv_objdir+:} false
; then :
9174 $as_echo_n "(cached) " >&6
9176 rm -f .libs
2>/dev
/null
9177 mkdir .libs
2>/dev
/null
9178 if test -d .libs
; then
9181 # MS-DOS does not allow filenames that begin with a dot.
9184 rmdir .libs
2>/dev
/null
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9187 $as_echo "$lt_cv_objdir" >&6; }
9188 objdir
=$lt_cv_objdir
9194 cat >>confdefs.h
<<_ACEOF
9195 #define LT_OBJDIR "$lt_cv_objdir/"
9203 # AIX sometimes has problems with the GCC collect2 program. For some
9204 # reason, if we set the COLLECT_NAMES environment variable, the problems
9205 # vanish in a puff of smoke.
9206 if test set != "${COLLECT_NAMES+set}"; then
9208 export COLLECT_NAMES
9215 can_build_shared
=yes
9217 # All known linkers require a '.a' archive for static linking (except MSVC,
9218 # which needs '.lib').
9221 with_gnu_ld
=$lt_cv_prog_gnu_ld
9226 # Set sane defaults for various variables
9227 test -z "$CC" && CC
=cc
9228 test -z "$LTCC" && LTCC
=$CC
9229 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9230 test -z "$LD" && LD
=ld
9231 test -z "$ac_objext" && ac_objext
=o
9233 func_cc_basename
$compiler
9234 cc_basename
=$func_cc_basename_result
9237 # Only perform the check for file, if the check method requires it
9238 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9239 case $deplibs_check_method in
9241 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9243 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9244 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9245 $as_echo_n "(cached) " >&6
9249 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9252 lt_save_MAGIC_CMD
=$MAGIC_CMD
9253 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9254 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9255 for ac_dir
in $ac_dummy; do
9257 test -z "$ac_dir" && ac_dir
=.
9258 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9259 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9260 if test -n "$file_magic_test_file"; then
9261 case $deplibs_check_method in
9263 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9264 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9265 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9266 $EGREP "$file_magic_regex" > /dev
/null
; then
9271 *** Warning: the command libtool uses to detect shared libraries,
9272 *** $file_magic_cmd, produces output that libtool cannot recognize.
9273 *** The result is that libtool may fail to recognize shared libraries
9274 *** as such. This will affect the creation of libtool libraries that
9275 *** depend on shared libraries, but programs linked with such libtool
9276 *** libraries will work regardless of this problem. Nevertheless, you
9277 *** may want to report the problem to your system manager and/or to
9278 *** bug-libtool@gnu.org
9288 MAGIC_CMD
=$lt_save_MAGIC_CMD
9293 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9294 if test -n "$MAGIC_CMD"; then
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9296 $as_echo "$MAGIC_CMD" >&6; }
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9299 $as_echo "no" >&6; }
9306 if test -z "$lt_cv_path_MAGIC_CMD"; then
9307 if test -n "$ac_tool_prefix"; then
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9309 $as_echo_n "checking for file... " >&6; }
9310 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9311 $as_echo_n "(cached) " >&6
9315 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9318 lt_save_MAGIC_CMD
=$MAGIC_CMD
9319 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9320 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9321 for ac_dir
in $ac_dummy; do
9323 test -z "$ac_dir" && ac_dir
=.
9324 if test -f "$ac_dir/file"; then
9325 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9326 if test -n "$file_magic_test_file"; then
9327 case $deplibs_check_method in
9329 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9330 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9331 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9332 $EGREP "$file_magic_regex" > /dev
/null
; then
9337 *** Warning: the command libtool uses to detect shared libraries,
9338 *** $file_magic_cmd, produces output that libtool cannot recognize.
9339 *** The result is that libtool may fail to recognize shared libraries
9340 *** as such. This will affect the creation of libtool libraries that
9341 *** depend on shared libraries, but programs linked with such libtool
9342 *** libraries will work regardless of this problem. Nevertheless, you
9343 *** may want to report the problem to your system manager and/or to
9344 *** bug-libtool@gnu.org
9354 MAGIC_CMD
=$lt_save_MAGIC_CMD
9359 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9360 if test -n "$MAGIC_CMD"; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9362 $as_echo "$MAGIC_CMD" >&6; }
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9365 $as_echo "no" >&6; }
9378 # Use C for the default configuration in the libtool script
9382 ac_cpp
='$CPP $CPPFLAGS'
9383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9388 # Source file extension for C test sources.
9391 # Object file extension for compiled C test sources.
9395 # Code to be used in simple compile tests
9396 lt_simple_compile_test_code
="int some_variable = 0;"
9398 # Code to be used in simple link tests
9399 lt_simple_link_test_code
='int main(){return(0);}'
9407 # If no C compiler was specified, use CC.
9410 # If no C compiler flags were specified, use CFLAGS.
9411 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9413 # Allow CC to be a program name with arguments.
9416 # Save the default compiler, since it gets overwritten when the other
9417 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9418 compiler_DEFAULT
=$CC
9420 # save warnings/boilerplate of simple test code
9421 ac_outfile
=conftest.
$ac_objext
9422 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9423 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9424 _lt_compiler_boilerplate
=`cat conftest.err`
9427 ac_outfile
=conftest.
$ac_objext
9428 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9429 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9430 _lt_linker_boilerplate
=`cat conftest.err`
9435 ## There is no encapsulation within the following macros, do not change
9436 ## the running order or otherwise move them around unless you know exactly
9437 ## what you are doing...
9438 if test -n "$compiler"; then
9440 lt_prog_compiler_no_builtin_flag
=
9442 if test yes = "$GCC"; then
9443 case $cc_basename in
9445 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9447 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9451 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9452 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9453 $as_echo_n "(cached) " >&6
9455 lt_cv_prog_compiler_rtti_exceptions
=no
9456 ac_outfile
=conftest.
$ac_objext
9457 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9458 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9459 # Insert the option either (1) after the last *FLAGS variable, or
9460 # (2) before a word containing "conftest.", or (3) at the end.
9461 # Note that $ac_compile itself does not contain backslashes and begins
9462 # with a dollar sign (not a hyphen), so the echo should work correctly.
9463 # The option is referenced via a variable to avoid confusing sed.
9464 lt_compile
=`echo "$ac_compile" | $SED \
9465 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9466 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9467 -e 's:$: $lt_compiler_flag:'`
9468 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9469 (eval "$lt_compile" 2>conftest.err
)
9471 cat conftest.err
>&5
9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473 if (exit $ac_status) && test -s "$ac_outfile"; then
9474 # The compiler can only warn and ignore the option if not recognized
9475 # So say no if there are warnings other than the usual output.
9476 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9477 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9478 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9479 lt_cv_prog_compiler_rtti_exceptions
=yes
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9486 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9488 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9489 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9501 lt_prog_compiler_wl
=
9502 lt_prog_compiler_pic
=
9503 lt_prog_compiler_static
=
9506 if test yes = "$GCC"; then
9507 lt_prog_compiler_wl
='-Wl,'
9508 lt_prog_compiler_static
='-static'
9512 # All AIX code is PIC.
9513 if test ia64
= "$host_cpu"; then
9514 # AIX 5 now supports IA64 processor
9515 lt_prog_compiler_static
='-Bstatic'
9517 lt_prog_compiler_pic
='-fPIC'
9523 # see comment about AmigaOS4 .so support
9524 lt_prog_compiler_pic
='-fPIC'
9527 # FIXME: we need at least 68020 code to build shared libraries, but
9528 # adding the '-m68020' flag to GCC prevents building anything better,
9530 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9535 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9536 # PIC is the default for these OSes.
9539 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9540 # This hack is so that the source file can tell whether it is being
9541 # built for inclusion in a dll (and should export symbols for example).
9542 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9543 # (--disable-auto-import) libraries
9544 lt_prog_compiler_pic
='-DDLL_EXPORT'
9547 lt_prog_compiler_static
='$wl-static'
9552 darwin
* | rhapsody
*)
9553 # PIC is the default on this platform
9554 # Common symbols not allowed in MH_DYLIB files
9555 lt_prog_compiler_pic
='-fno-common'
9559 # PIC is the default for Haiku.
9560 # The "-static" flag exists, but is broken.
9561 lt_prog_compiler_static
=
9565 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9566 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9567 # sets the default TLS model and affects inlining.
9573 lt_prog_compiler_pic
='-fPIC'
9579 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9580 # Instead, we relocate shared libraries at runtime.
9584 # Just because we use GCC doesn't mean we suddenly get shared libraries
9585 # on systems that don't support them.
9586 lt_prog_compiler_can_build_shared
=no
9591 # QNX uses GNU C++, but need to define -shared option too, otherwise
9593 lt_prog_compiler_pic
='-fPIC -shared'
9597 if test -d /usr
/nec
; then
9598 lt_prog_compiler_pic
=-Kconform_pic
9603 lt_prog_compiler_pic
='-fPIC'
9607 case $cc_basename in
9608 nvcc
*) # Cuda Compiler Driver 2.2
9609 lt_prog_compiler_wl
='-Xlinker '
9610 if test -n "$lt_prog_compiler_pic"; then
9611 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9616 # PORTME Check for flag to pass linker flags through the system compiler.
9619 lt_prog_compiler_wl
='-Wl,'
9620 if test ia64
= "$host_cpu"; then
9621 # AIX 5 now supports IA64 processor
9622 lt_prog_compiler_static
='-Bstatic'
9624 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9628 darwin
* | rhapsody
*)
9629 # PIC is the default on this platform
9630 # Common symbols not allowed in MH_DYLIB files
9631 lt_prog_compiler_pic
='-fno-common'
9632 case $cc_basename in
9634 # NAG Fortran compiler
9635 lt_prog_compiler_wl
='-Wl,-Wl,,'
9636 lt_prog_compiler_pic
='-PIC'
9637 lt_prog_compiler_static
='-Bstatic'
9642 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9643 # This hack is so that the source file can tell whether it is being
9644 # built for inclusion in a dll (and should export symbols for example).
9645 lt_prog_compiler_pic
='-DDLL_EXPORT'
9648 lt_prog_compiler_static
='$wl-static'
9653 hpux9
* | hpux10
* | hpux11
*)
9654 lt_prog_compiler_wl
='-Wl,'
9655 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9662 lt_prog_compiler_pic
='+Z'
9665 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9666 lt_prog_compiler_static
='$wl-a ${wl}archive'
9669 irix5
* | irix6
* | nonstopux
*)
9670 lt_prog_compiler_wl
='-Wl,'
9671 # PIC (with -KPIC) is the default.
9672 lt_prog_compiler_static
='-non_shared'
9675 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9676 case $cc_basename in
9677 # old Intel for x86_64, which still supported -KPIC.
9679 lt_prog_compiler_wl
='-Wl,'
9680 lt_prog_compiler_pic
='-KPIC'
9681 lt_prog_compiler_static
='-static'
9683 # icc used to be incompatible with GCC.
9684 # ICC 10 doesn't accept -KPIC any more.
9686 lt_prog_compiler_wl
='-Wl,'
9687 lt_prog_compiler_pic
='-fPIC'
9688 lt_prog_compiler_static
='-static'
9690 # Lahey Fortran 8.1.
9692 lt_prog_compiler_wl
='-Wl,'
9693 lt_prog_compiler_pic
='--shared'
9694 lt_prog_compiler_static
='--static'
9697 # NAG Fortran compiler
9698 lt_prog_compiler_wl
='-Wl,-Wl,,'
9699 lt_prog_compiler_pic
='-PIC'
9700 lt_prog_compiler_static
='-Bstatic'
9703 # Fabrice Bellard et al's Tiny C Compiler
9704 lt_prog_compiler_wl
='-Wl,'
9705 lt_prog_compiler_pic
='-fPIC'
9706 lt_prog_compiler_static
='-static'
9708 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9709 # Portland Group compilers (*not* the Pentium gcc compiler,
9710 # which looks to be a dead project)
9711 lt_prog_compiler_wl
='-Wl,'
9712 lt_prog_compiler_pic
='-fpic'
9713 lt_prog_compiler_static
='-Bstatic'
9716 lt_prog_compiler_wl
='-Wl,'
9717 # All Alpha code is PIC.
9718 lt_prog_compiler_static
='-non_shared'
9720 xl
* | bgxl
* | bgf
* | mpixl
*)
9721 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9722 lt_prog_compiler_wl
='-Wl,'
9723 lt_prog_compiler_pic
='-qpic'
9724 lt_prog_compiler_static
='-qstaticlink'
9727 case `$CC -V 2>&1 | sed 5q` in
9728 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9729 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9730 lt_prog_compiler_pic
='-KPIC'
9731 lt_prog_compiler_static
='-Bstatic'
9732 lt_prog_compiler_wl
=''
9734 *Sun\ F
* | *Sun
*Fortran
*)
9735 lt_prog_compiler_pic
='-KPIC'
9736 lt_prog_compiler_static
='-Bstatic'
9737 lt_prog_compiler_wl
='-Qoption ld '
9741 lt_prog_compiler_pic
='-KPIC'
9742 lt_prog_compiler_static
='-Bstatic'
9743 lt_prog_compiler_wl
='-Wl,'
9745 *Intel
*\
[CF
]*Compiler
*)
9746 lt_prog_compiler_wl
='-Wl,'
9747 lt_prog_compiler_pic
='-fPIC'
9748 lt_prog_compiler_static
='-static'
9751 lt_prog_compiler_wl
='-Wl,'
9752 lt_prog_compiler_pic
='-fpic'
9753 lt_prog_compiler_static
='-Bstatic'
9761 lt_prog_compiler_pic
='-KPIC'
9762 lt_prog_compiler_static
='-Bstatic'
9766 # QNX uses GNU C++, but need to define -shared option too, otherwise
9768 lt_prog_compiler_pic
='-fPIC -shared'
9771 osf3
* | osf4
* | osf5
*)
9772 lt_prog_compiler_wl
='-Wl,'
9773 # All OSF/1 code is PIC.
9774 lt_prog_compiler_static
='-non_shared'
9778 lt_prog_compiler_static
='-non_shared'
9782 lt_prog_compiler_pic
='-KPIC'
9783 lt_prog_compiler_static
='-Bstatic'
9784 case $cc_basename in
9785 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9786 lt_prog_compiler_wl
='-Qoption ld ';;
9788 lt_prog_compiler_wl
='-Wl,';;
9793 lt_prog_compiler_wl
='-Qoption ld '
9794 lt_prog_compiler_pic
='-PIC'
9795 lt_prog_compiler_static
='-Bstatic'
9798 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9799 lt_prog_compiler_wl
='-Wl,'
9800 lt_prog_compiler_pic
='-KPIC'
9801 lt_prog_compiler_static
='-Bstatic'
9805 if test -d /usr
/nec
; then
9806 lt_prog_compiler_pic
='-Kconform_pic'
9807 lt_prog_compiler_static
='-Bstatic'
9811 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9812 lt_prog_compiler_wl
='-Wl,'
9813 lt_prog_compiler_pic
='-KPIC'
9814 lt_prog_compiler_static
='-Bstatic'
9818 lt_prog_compiler_wl
='-Wl,'
9819 lt_prog_compiler_can_build_shared
=no
9823 lt_prog_compiler_pic
='-pic'
9824 lt_prog_compiler_static
='-Bstatic'
9828 lt_prog_compiler_can_build_shared
=no
9834 # For platforms that do not support PIC, -DPIC is meaningless:
9836 lt_prog_compiler_pic
=
9839 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9844 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9845 if ${lt_cv_prog_compiler_pic+:} false
; then :
9846 $as_echo_n "(cached) " >&6
9848 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9851 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9852 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9855 # Check to make sure the PIC flag actually works.
9857 if test -n "$lt_prog_compiler_pic"; then
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9859 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9860 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9861 $as_echo_n "(cached) " >&6
9863 lt_cv_prog_compiler_pic_works
=no
9864 ac_outfile
=conftest.
$ac_objext
9865 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9866 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9867 # Insert the option either (1) after the last *FLAGS variable, or
9868 # (2) before a word containing "conftest.", or (3) at the end.
9869 # Note that $ac_compile itself does not contain backslashes and begins
9870 # with a dollar sign (not a hyphen), so the echo should work correctly.
9871 # The option is referenced via a variable to avoid confusing sed.
9872 lt_compile
=`echo "$ac_compile" | $SED \
9873 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9874 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9875 -e 's:$: $lt_compiler_flag:'`
9876 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9877 (eval "$lt_compile" 2>conftest.err
)
9879 cat conftest.err
>&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 if (exit $ac_status) && test -s "$ac_outfile"; then
9882 # The compiler can only warn and ignore the option if not recognized
9883 # So say no if there are warnings other than the usual output.
9884 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9885 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9886 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9887 lt_cv_prog_compiler_pic_works
=yes
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9894 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9896 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9897 case $lt_prog_compiler_pic in
9899 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9902 lt_prog_compiler_pic
=
9903 lt_prog_compiler_can_build_shared
=no
9919 # Check to make sure the static flag actually works.
9921 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9923 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9924 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9925 $as_echo_n "(cached) " >&6
9927 lt_cv_prog_compiler_static_works
=no
9928 save_LDFLAGS
=$LDFLAGS
9929 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9930 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9931 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9932 # The linker can only warn and ignore the option if not recognized
9933 # So say no if there are warnings
9934 if test -s conftest.err
; then
9935 # Append any errors to the config.log.
9936 cat conftest.err
1>&5
9937 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9938 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9939 if diff conftest.exp conftest.er2
>/dev
/null
; then
9940 lt_cv_prog_compiler_static_works
=yes
9943 lt_cv_prog_compiler_static_works
=yes
9947 LDFLAGS
=$save_LDFLAGS
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9951 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9953 if test yes = "$lt_cv_prog_compiler_static_works"; then
9956 lt_prog_compiler_static
=
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9966 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9967 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9968 $as_echo_n "(cached) " >&6
9970 lt_cv_prog_compiler_c_o
=no
9971 $RM -r conftest
2>/dev
/null
9975 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9977 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9978 # Insert the option either (1) after the last *FLAGS variable, or
9979 # (2) before a word containing "conftest.", or (3) at the end.
9980 # Note that $ac_compile itself does not contain backslashes and begins
9981 # with a dollar sign (not a hyphen), so the echo should work correctly.
9982 lt_compile
=`echo "$ac_compile" | $SED \
9983 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9984 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9985 -e 's:$: $lt_compiler_flag:'`
9986 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9987 (eval "$lt_compile" 2>out
/conftest.err
)
9989 cat out
/conftest.err
>&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9993 # The compiler can only warn and ignore the option if not recognized
9994 # So say no if there are warnings
9995 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9996 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9997 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9998 lt_cv_prog_compiler_c_o
=yes
10003 # SGI C++ compiler will create directory out/ii_files/ for
10004 # template instantiation
10005 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10006 $RM out
/* && rmdir out
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10013 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10022 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10023 $as_echo_n "(cached) " >&6
10025 lt_cv_prog_compiler_c_o
=no
10026 $RM -r conftest
2>/dev
/null
10030 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10032 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10033 # Insert the option either (1) after the last *FLAGS variable, or
10034 # (2) before a word containing "conftest.", or (3) at the end.
10035 # Note that $ac_compile itself does not contain backslashes and begins
10036 # with a dollar sign (not a hyphen), so the echo should work correctly.
10037 lt_compile
=`echo "$ac_compile" | $SED \
10038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10040 -e 's:$: $lt_compiler_flag:'`
10041 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10042 (eval "$lt_compile" 2>out
/conftest.err
)
10044 cat out
/conftest.err
>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10048 # The compiler can only warn and ignore the option if not recognized
10049 # So say no if there are warnings
10050 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10051 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10052 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10053 lt_cv_prog_compiler_c_o
=yes
10058 # SGI C++ compiler will create directory out/ii_files/ for
10059 # template instantiation
10060 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10061 $RM out
/* && rmdir out
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10068 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10073 hard_links
=nottested
10074 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10075 # do not overwrite the value of need_locks provided by the user
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10077 $as_echo_n "checking if we can lock with hard links... " >&6; }
10080 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10082 ln conftest.a conftest.b
2>&5 || hard_links
=no
10083 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10085 $as_echo "$hard_links" >&6; }
10086 if test no
= "$hard_links"; then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10088 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10101 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10104 allow_undefined_flag
=
10105 always_export_symbols
=no
10107 archive_expsym_cmds
=
10108 compiler_needs_object
=no
10109 enable_shared_with_static_runtimes
=no
10110 export_dynamic_flag_spec
=
10111 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10112 hardcode_automatic
=no
10114 hardcode_direct_absolute
=no
10115 hardcode_libdir_flag_spec
=
10116 hardcode_libdir_separator
=
10117 hardcode_minus_L
=no
10118 hardcode_shlibpath_var
=unsupported
10120 link_all_deplibs
=unknown
10122 module_expsym_cmds
=
10123 old_archive_from_new_cmds
=
10124 old_archive_from_expsyms_cmds
=
10125 thread_safe_flag_spec
=
10126 whole_archive_flag_spec
=
10127 # include_expsyms should be a list of space-separated symbols to be *always*
10128 # included in the symbol list
10130 # exclude_expsyms can be an extended regexp of symbols to exclude
10131 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10132 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10133 # as well as any symbol that contains 'd'.
10134 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10135 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10136 # platforms (ab)use it in PIC code, but their linkers get confused if
10137 # the symbol is explicitly referenced. Since portable code cannot
10138 # rely on this symbol name, it's probably fine to never include it in
10139 # preloaded symbol tables.
10140 # Exclude shared library initialization/finalization symbols.
10141 extract_expsyms_cmds
=
10144 cygwin
* | mingw
* | pw32
* | cegcc
*)
10145 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10146 # When not using gcc, we currently assume that we are using
10147 # Microsoft Visual C++.
10148 if test yes != "$GCC"; then
10153 # we just hope/assume this is gcc and not c89 (= MSVC++)
10156 openbsd
* | bitrig
*)
10163 # On some targets, GNU ld is compatible enough with the native linker
10164 # that we're better off using the native interface for both.
10165 lt_use_gnu_ld_interface
=no
10166 if test yes = "$with_gnu_ld"; then
10169 # The AIX port of GNU ld has always aspired to compatibility
10170 # with the native linker. However, as the warning in the GNU ld
10171 # block says, versions before 2.19.5* couldn't really create working
10172 # shared libraries, regardless of the interface used.
10173 case `$LD -v 2>&1` in
10174 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10175 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10176 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10178 lt_use_gnu_ld_interface
=yes
10183 lt_use_gnu_ld_interface
=yes
10188 if test yes = "$lt_use_gnu_ld_interface"; then
10189 # If archive_cmds runs LD, not CC, wlarc should be empty
10192 # Set some defaults for GNU ld with shared library support. These
10193 # are reset later if shared libraries are not supported. Putting them
10194 # here allows them to be overridden if necessary.
10195 runpath_var
=LD_RUN_PATH
10196 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10197 export_dynamic_flag_spec
='$wl--export-dynamic'
10198 # ancient GNU ld didn't support --whole-archive et. al.
10199 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
10200 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10202 whole_archive_flag_spec
=
10204 supports_anon_versioning
=no
10205 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10206 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10207 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
10208 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10209 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10210 *\
2.11.
*) ;; # other 2.11 versions
10211 *) supports_anon_versioning
=yes ;;
10214 # See if GNU ld supports shared libraries.
10217 # On AIX/PPC, the GNU linker is very broken
10218 if test ia64
!= "$host_cpu"; then
10222 *** Warning: the GNU linker, at least up to release 2.19, is reported
10223 *** to be unable to reliably create shared libraries on AIX.
10224 *** Therefore, libtool is disabling shared libraries support. If you
10225 *** really care for shared libraries, you may want to install binutils
10226 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10227 *** You will then need to restart the configuration process.
10236 # see comment about AmigaOS4 .so support
10237 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10238 archive_expsym_cmds
=''
10241 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10242 hardcode_libdir_flag_spec
='-L$libdir'
10243 hardcode_minus_L
=yes
10249 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10250 allow_undefined_flag
=unsupported
10251 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10252 # support --undefined. This deserves some investigation. FIXME
10253 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10259 cygwin
* | mingw
* | pw32
* | cegcc
*)
10260 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10261 # as there is no search path for DLLs.
10262 hardcode_libdir_flag_spec
='-L$libdir'
10263 export_dynamic_flag_spec
='$wl--export-all-symbols'
10264 allow_undefined_flag
=unsupported
10265 always_export_symbols
=no
10266 enable_shared_with_static_runtimes
=yes
10267 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10268 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10270 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
10271 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10272 # If the export-symbols file already is a .def file, use it as
10273 # is; otherwise, prepend EXPORTS...
10274 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10275 cp $export_symbols $output_objdir/$soname.def;
10277 echo EXPORTS > $output_objdir/$soname.def;
10278 cat $export_symbols >> $output_objdir/$soname.def;
10280 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10287 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10288 link_all_deplibs
=yes
10292 hardcode_libdir_flag_spec
='-L$libdir'
10293 hardcode_minus_L
=yes
10294 allow_undefined_flag
=unsupported
10296 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10297 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10298 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10299 $ECHO EXPORTS >> $output_objdir/$libname.def~
10300 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10301 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10302 emximp -o $lib $output_objdir/$libname.def'
10303 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10304 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10305 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10306 $ECHO EXPORTS >> $output_objdir/$libname.def~
10307 prefix_cmds="$SED"~
10308 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10309 prefix_cmds="$prefix_cmds -e 1d";
10311 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10312 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10313 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10314 emximp -o $lib $output_objdir/$libname.def'
10315 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10316 enable_shared_with_static_runtimes
=yes
10321 hardcode_shlibpath_var
=no
10322 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10323 export_dynamic_flag_spec
='$wl-E'
10324 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10325 # Instead, shared libraries are loaded at an image base (0x10000000 by
10326 # default) and relocated if they conflict, which is a slow very memory
10327 # consuming and fragmenting process. To avoid this, we pick a random,
10328 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10329 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10330 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10331 archive_expsym_cmds
='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10334 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10336 if test linux
-dietlibc = "$host_os"; then
10337 case $cc_basename in
10338 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10341 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10342 && test no
= "$tmp_diet"
10344 tmp_addflag
=' $pic_flag'
10345 tmp_sharedflag
='-shared'
10346 case $cc_basename,$host_cpu in
10347 pgcc
*) # Portland Group C compiler
10348 whole_archive_flag_spec
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10349 tmp_addflag
=' $pic_flag'
10351 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10352 # Portland Group f77 and f90 compilers
10353 whole_archive_flag_spec
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10354 tmp_addflag
=' $pic_flag -Mnomain' ;;
10355 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10356 tmp_addflag
=' -i_dynamic' ;;
10357 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10358 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10359 ifc
* | ifort
*) # Intel Fortran compiler
10360 tmp_addflag
=' -nofor_main' ;;
10361 lf95
*) # Lahey Fortran 8.1
10362 whole_archive_flag_spec
=
10363 tmp_sharedflag
='--shared' ;;
10364 nagfor
*) # NAGFOR 5.3
10365 tmp_sharedflag
='-Wl,-shared' ;;
10366 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10367 tmp_sharedflag
='-qmkshrobj'
10369 nvcc
*) # Cuda Compiler Driver 2.2
10370 whole_archive_flag_spec
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10371 compiler_needs_object
=yes
10374 case `$CC -V 2>&1 | sed 5q` in
10375 *Sun\ C
*) # Sun C 5.9
10376 whole_archive_flag_spec
='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10377 compiler_needs_object
=yes
10378 tmp_sharedflag
='-G' ;;
10379 *Sun\ F
*) # Sun Fortran 8.3
10380 tmp_sharedflag
='-G' ;;
10382 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10384 if test yes = "$supports_anon_versioning"; then
10385 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10386 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10387 echo "local: *; };" >> $output_objdir/$libname.ver~
10388 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10391 case $cc_basename in
10393 export_dynamic_flag_spec
='-rdynamic'
10395 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10396 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10397 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10398 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10399 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10400 if test yes = "$supports_anon_versioning"; then
10401 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10402 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10403 echo "local: *; };" >> $output_objdir/$libname.ver~
10404 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10414 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10415 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10418 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10419 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10424 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10428 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10429 *** create shared libraries on Solaris systems. Therefore, libtool
10430 *** is disabling shared libraries support. We urge you to upgrade GNU
10431 *** binutils to release 2.9.1 or newer. Another option is to modify
10432 *** your PATH or compiler configuration so that the native linker is
10433 *** used, and then restart.
10436 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10437 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10438 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10444 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10445 case `$LD -v 2>&1` in
10446 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10450 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10451 *** reliably create shared libraries on SCO systems. Therefore, libtool
10452 *** is disabling shared libraries support. We urge you to upgrade GNU
10453 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10454 *** your PATH or compiler configuration so that the native linker is
10455 *** used, and then restart.
10460 # For security reasons, it is highly recommended that you always
10461 # use absolute paths for naming shared libraries, and exclude the
10462 # DT_RUNPATH tag from executables and libraries. But doing so
10463 # requires that you compile everything twice, which is a pain.
10464 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10465 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10466 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10467 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10476 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10478 hardcode_direct
=yes
10479 hardcode_shlibpath_var
=no
10483 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10484 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10485 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10492 if test no
= "$ld_shlibs"; then
10494 hardcode_libdir_flag_spec
=
10495 export_dynamic_flag_spec
=
10496 whole_archive_flag_spec
=
10499 # PORTME fill in a description of your system's linker (not GNU ld)
10502 allow_undefined_flag
=unsupported
10503 always_export_symbols
=yes
10504 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10505 # Note: this linker hardcodes the directories in LIBPATH if there
10506 # are no directories specified by -L.
10507 hardcode_minus_L
=yes
10508 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10509 # Neither direct hardcoding nor static linking is supported with a
10511 hardcode_direct
=unsupported
10516 if test ia64
= "$host_cpu"; then
10517 # On IA64, the linker does run time linking by default, so we don't
10518 # have to do anything special.
10519 aix_use_runtimelinking
=no
10520 exp_sym_flag
='-Bexport'
10523 # If we're using GNU nm, then we don't want the "-C" option.
10524 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10525 # Without the "-l" option, or with the "-B" option, AIX nm treats
10526 # weak defined symbols like other global defined symbols, whereas
10527 # GNU nm marks them as "W".
10528 # While the 'weak' keyword is ignored in the Export File, we need
10529 # it in the Import File for the 'aix-soname' feature, so we have
10530 # to replace the "-B" option with "-P" for AIX nm.
10531 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10532 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10534 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10536 aix_use_runtimelinking
=no
10538 # Test if we are trying to use run time linking or normal
10539 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10540 # have runtime linking enabled, and use it for executables.
10541 # For shared libraries, we enable/disable runtime linking
10542 # depending on the kind of the shared library created -
10543 # when "with_aix_soname,aix_use_runtimelinking" is:
10544 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10545 # "aix,yes" lib.so shared, rtl:yes, for executables
10546 # lib.a static archive
10547 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10548 # lib.a(lib.so.V) shared, rtl:no, for executables
10549 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10550 # lib.a(lib.so.V) shared, rtl:no
10551 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10552 # lib.a static archive
10553 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10554 for ld_flag
in $LDFLAGS; do
10555 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
10556 aix_use_runtimelinking
=yes
10560 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10561 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10562 # so we don't have lib.a shared libs to link our executables.
10563 # We have to force runtime linking in this case.
10564 aix_use_runtimelinking
=yes
10565 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10570 exp_sym_flag
='-bexport'
10571 no_entry_flag
='-bnoentry'
10574 # When large executables or shared objects are built, AIX ld can
10575 # have problems creating the table of contents. If linking a library
10576 # or program results in "error TOC overflow" add -mminimal-toc to
10577 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10578 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10581 hardcode_direct
=yes
10582 hardcode_direct_absolute
=yes
10583 hardcode_libdir_separator
=':'
10584 link_all_deplibs
=yes
10585 file_list_spec
='$wl-f,'
10586 case $with_aix_soname,$aix_use_runtimelinking in
10587 aix
,*) ;; # traditional, no import file
10588 svr4
,* | *,yes) # use import file
10589 # The Import File defines what to hardcode.
10591 hardcode_direct_absolute
=no
10595 if test yes = "$GCC"; then
10596 case $host_os in aix4.
[012]|aix4.
[012].
*)
10597 # We only want to do this on AIX 4.2 and lower, the check
10598 # below for broken collect2 doesn't work under 4.3+
10599 collect2name
=`$CC -print-prog-name=collect2`
10600 if test -f "$collect2name" &&
10601 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10603 # We have reworked collect2
10606 # We have old collect2
10607 hardcode_direct
=unsupported
10608 # It fails to find uninstalled libraries when the uninstalled
10609 # path is not listed in the libpath. Setting hardcode_minus_L
10610 # to unsupported forces relinking
10611 hardcode_minus_L
=yes
10612 hardcode_libdir_flag_spec
='-L$libdir'
10613 hardcode_libdir_separator
=
10617 shared_flag
='-shared'
10618 if test yes = "$aix_use_runtimelinking"; then
10619 shared_flag
="$shared_flag "'$wl-G'
10621 # Need to ensure runtime linking is disabled for the traditional
10622 # shared library, or the linker may eventually find shared libraries
10623 # /with/ Import File - we do not want to mix them.
10624 shared_flag_aix
='-shared'
10625 shared_flag_svr4
='-shared $wl-G'
10628 if test ia64
= "$host_cpu"; then
10629 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10630 # chokes on -Wl,-G. The following line is correct:
10633 if test yes = "$aix_use_runtimelinking"; then
10634 shared_flag
='$wl-G'
10636 shared_flag
='$wl-bM:SRE'
10638 shared_flag_aix
='$wl-bM:SRE'
10639 shared_flag_svr4
='$wl-G'
10643 export_dynamic_flag_spec
='$wl-bexpall'
10644 # It seems that -bexpall does not export symbols beginning with
10645 # underscore (_), so it is better to generate a list of symbols to export.
10646 always_export_symbols
=yes
10647 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10648 # Warning - without using the other runtime loading flags (-brtl),
10649 # -berok will link without error, but may produce a broken library.
10650 allow_undefined_flag
='-berok'
10651 # Determine the default libpath from the value encoded in an
10652 # empty executable.
10653 if test set = "${lt_cv_aix_libpath+set}"; then
10654 aix_libpath
=$lt_cv_aix_libpath
10656 if ${lt_cv_aix_libpath_+:} false
; then :
10657 $as_echo_n "(cached) " >&6
10659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10670 if ac_fn_c_try_link
"$LINENO"; then :
10672 lt_aix_libpath_sed
='
10673 /Import File Strings/,/^$/ {
10675 s/^0 *\([^ ]*\) *$/\1/
10679 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10680 # Check for a 64-bit object if we didn't find anything.
10681 if test -z "$lt_cv_aix_libpath_"; then
10682 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10685 rm -f core conftest.err conftest.
$ac_objext \
10686 conftest
$ac_exeext conftest.
$ac_ext
10687 if test -z "$lt_cv_aix_libpath_"; then
10688 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10693 aix_libpath
=$lt_cv_aix_libpath_
10696 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10697 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
10699 if test ia64
= "$host_cpu"; then
10700 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10701 allow_undefined_flag
="-z nodefs"
10702 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
10704 # Determine the default libpath from the value encoded in an
10705 # empty executable.
10706 if test set = "${lt_cv_aix_libpath+set}"; then
10707 aix_libpath
=$lt_cv_aix_libpath
10709 if ${lt_cv_aix_libpath_+:} false
; then :
10710 $as_echo_n "(cached) " >&6
10712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10723 if ac_fn_c_try_link
"$LINENO"; then :
10725 lt_aix_libpath_sed
='
10726 /Import File Strings/,/^$/ {
10728 s/^0 *\([^ ]*\) *$/\1/
10732 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10733 # Check for a 64-bit object if we didn't find anything.
10734 if test -z "$lt_cv_aix_libpath_"; then
10735 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10738 rm -f core conftest.err conftest.
$ac_objext \
10739 conftest
$ac_exeext conftest.
$ac_ext
10740 if test -z "$lt_cv_aix_libpath_"; then
10741 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10746 aix_libpath
=$lt_cv_aix_libpath_
10749 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10750 # Warning - without using the other run time loading flags,
10751 # -berok will link without error, but may produce a broken library.
10752 no_undefined_flag
=' $wl-bernotok'
10753 allow_undefined_flag
=' $wl-berok'
10754 if test yes = "$with_gnu_ld"; then
10755 # We only use this code for GNU lds that support --whole-archive.
10756 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10758 # Exported symbols can be pulled into shared objects from archives
10759 whole_archive_flag_spec
='$convenience'
10761 archive_cmds_need_lc
=yes
10762 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10763 # -brtl affects multiple linker settings, -berok does not and is overridden later
10764 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10765 if test svr4
!= "$with_aix_soname"; then
10766 # This is similar to how AIX traditionally builds its shared libraries.
10767 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10769 if test aix
!= "$with_aix_soname"; then
10770 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10772 # used by -dlpreopen to get the symbols
10773 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10775 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10783 # see comment about AmigaOS4 .so support
10784 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10785 archive_expsym_cmds
=''
10788 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10789 hardcode_libdir_flag_spec
='-L$libdir'
10790 hardcode_minus_L
=yes
10796 export_dynamic_flag_spec
=-rdynamic
10799 cygwin
* | mingw
* | pw32
* | cegcc
*)
10800 # When not using gcc, we currently assume that we are using
10801 # Microsoft Visual C++.
10802 # hardcode_libdir_flag_spec is actually meaningless, as there is
10803 # no search path for DLLs.
10804 case $cc_basename in
10807 hardcode_libdir_flag_spec
=' '
10808 allow_undefined_flag
=unsupported
10809 always_export_symbols
=yes
10811 # Tell ltmain to make .lib files, not .a files.
10813 # Tell ltmain to make .dll files, not .so files.
10815 # FIXME: Setting linknames here is a bad hack.
10816 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10817 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10818 cp "$export_symbols" "$output_objdir/$soname.def";
10819 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10821 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10823 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10825 # The linker will not automatically build a static lib if we build a DLL.
10826 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10827 enable_shared_with_static_runtimes
=yes
10828 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10829 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10831 old_postinstall_cmds
='chmod 644 $oldlib'
10832 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10833 lt_tool_outputfile="@TOOL_OUTPUT@"~
10834 case $lt_outputfile in
10837 lt_outputfile=$lt_outputfile.exe
10838 lt_tool_outputfile=$lt_tool_outputfile.exe
10841 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10842 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10843 $RM "$lt_outputfile.manifest";
10847 # Assume MSVC wrapper
10848 hardcode_libdir_flag_spec
=' '
10849 allow_undefined_flag
=unsupported
10850 # Tell ltmain to make .lib files, not .a files.
10852 # Tell ltmain to make .dll files, not .so files.
10854 # FIXME: Setting linknames here is a bad hack.
10855 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10856 # The linker will automatically build a .lib file if we build a DLL.
10857 old_archive_from_new_cmds
='true'
10858 # FIXME: Should let the user specify the lib program.
10859 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10860 enable_shared_with_static_runtimes
=yes
10865 darwin
* | rhapsody
*)
10868 archive_cmds_need_lc
=no
10870 hardcode_automatic
=yes
10871 hardcode_shlibpath_var
=unsupported
10872 if test yes = "$lt_cv_ld_force_load"; then
10873 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10876 whole_archive_flag_spec
=''
10878 link_all_deplibs
=yes
10879 allow_undefined_flag
=$_lt_dar_allow_undefined
10880 case $cc_basename in
10881 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10882 *) _lt_dar_can_shared
=$GCC ;;
10884 if test yes = "$_lt_dar_can_shared"; then
10885 output_verbose_link_cmd
=func_echo_all
10886 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10887 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10888 archive_expsym_cmds
="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
10889 module_expsym_cmds
="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
10898 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10899 hardcode_libdir_flag_spec
='-L$libdir'
10900 hardcode_shlibpath_var
=no
10903 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10904 # support. Future versions do this automatically, but an explicit c++rt0.o
10905 # does not break anything, and helps significantly (at the cost of a little
10908 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10909 hardcode_libdir_flag_spec
='-R$libdir'
10910 hardcode_direct
=yes
10911 hardcode_shlibpath_var
=no
10914 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10916 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10917 hardcode_direct
=yes
10918 hardcode_minus_L
=yes
10919 hardcode_shlibpath_var
=no
10922 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10923 freebsd
* | dragonfly
*)
10924 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10925 hardcode_libdir_flag_spec
='-R$libdir'
10926 hardcode_direct
=yes
10927 hardcode_shlibpath_var
=no
10931 if test yes = "$GCC"; then
10932 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10934 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10936 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10937 hardcode_libdir_separator
=:
10938 hardcode_direct
=yes
10940 # hardcode_minus_L: Not really in the search PATH,
10941 # but as the default location of the library.
10942 hardcode_minus_L
=yes
10943 export_dynamic_flag_spec
='$wl-E'
10947 if test yes,no
= "$GCC,$with_gnu_ld"; then
10948 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10952 if test no
= "$with_gnu_ld"; then
10953 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10954 hardcode_libdir_separator
=:
10955 hardcode_direct
=yes
10956 hardcode_direct_absolute
=yes
10957 export_dynamic_flag_spec
='$wl-E'
10958 # hardcode_minus_L: Not really in the search PATH,
10959 # but as the default location of the library.
10960 hardcode_minus_L
=yes
10965 if test yes,no
= "$GCC,$with_gnu_ld"; then
10968 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10971 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10974 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10980 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10983 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10987 # Older versions of the 11.00 compiler do not understand -b yet
10988 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10990 $as_echo_n "checking if $CC understands -b... " >&6; }
10991 if ${lt_cv_prog_compiler__b+:} false
; then :
10992 $as_echo_n "(cached) " >&6
10994 lt_cv_prog_compiler__b
=no
10995 save_LDFLAGS
=$LDFLAGS
10996 LDFLAGS
="$LDFLAGS -b"
10997 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10998 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10999 # The linker can only warn and ignore the option if not recognized
11000 # So say no if there are warnings
11001 if test -s conftest.err
; then
11002 # Append any errors to the config.log.
11003 cat conftest.err
1>&5
11004 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11005 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11006 if diff conftest.exp conftest.er2
>/dev
/null
; then
11007 lt_cv_prog_compiler__b
=yes
11010 lt_cv_prog_compiler__b
=yes
11014 LDFLAGS
=$save_LDFLAGS
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11018 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11020 if test yes = "$lt_cv_prog_compiler__b"; then
11021 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11023 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11029 if test no
= "$with_gnu_ld"; then
11030 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11031 hardcode_libdir_separator
=:
11036 hardcode_shlibpath_var
=no
11039 hardcode_direct
=yes
11040 hardcode_direct_absolute
=yes
11041 export_dynamic_flag_spec
='$wl-E'
11043 # hardcode_minus_L: Not really in the search PATH,
11044 # but as the default location of the library.
11045 hardcode_minus_L
=yes
11051 irix5
* | irix6
* | nonstopux
*)
11052 if test yes = "$GCC"; then
11053 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11054 # Try to use the -exported_symbol ld option, if it does not
11055 # work, assume that -exports_file does not work either and
11056 # implicitly export all symbols.
11057 # This should be the same for all languages, so no per-tag cache variable.
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11059 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11060 if ${lt_cv_irix_exported_symbol+:} false
; then :
11061 $as_echo_n "(cached) " >&6
11063 save_LDFLAGS
=$LDFLAGS
11064 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11067 int foo (void) { return 0; }
11069 if ac_fn_c_try_link
"$LINENO"; then :
11070 lt_cv_irix_exported_symbol
=yes
11072 lt_cv_irix_exported_symbol
=no
11074 rm -f core conftest.err conftest.
$ac_objext \
11075 conftest
$ac_exeext conftest.
$ac_ext
11076 LDFLAGS
=$save_LDFLAGS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11079 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11080 if test yes = "$lt_cv_irix_exported_symbol"; then
11081 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
11084 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11085 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
11087 archive_cmds_need_lc
='no'
11088 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11089 hardcode_libdir_separator
=:
11091 link_all_deplibs
=yes
11095 case $cc_basename in
11097 # Fabrice Bellard et al's Tiny C Compiler
11099 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11105 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11106 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11108 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11110 hardcode_libdir_flag_spec
='-R$libdir'
11111 hardcode_direct
=yes
11112 hardcode_shlibpath_var
=no
11116 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11117 hardcode_direct
=yes
11118 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11119 hardcode_libdir_separator
=:
11120 hardcode_shlibpath_var
=no
11126 openbsd
* | bitrig
*)
11127 if test -f /usr
/libexec
/ld.so
; then
11128 hardcode_direct
=yes
11129 hardcode_shlibpath_var
=no
11130 hardcode_direct_absolute
=yes
11131 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11132 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11133 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11134 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11135 export_dynamic_flag_spec
='$wl-E'
11137 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11138 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11146 hardcode_libdir_flag_spec
='-L$libdir'
11147 hardcode_minus_L
=yes
11148 allow_undefined_flag
=unsupported
11150 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11151 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11152 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11153 $ECHO EXPORTS >> $output_objdir/$libname.def~
11154 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11155 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11156 emximp -o $lib $output_objdir/$libname.def'
11157 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11158 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11159 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11160 $ECHO EXPORTS >> $output_objdir/$libname.def~
11161 prefix_cmds="$SED"~
11162 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11163 prefix_cmds="$prefix_cmds -e 1d";
11165 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11166 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11167 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11168 emximp -o $lib $output_objdir/$libname.def'
11169 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11170 enable_shared_with_static_runtimes
=yes
11174 if test yes = "$GCC"; then
11175 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11176 archive_cmds
='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11178 allow_undefined_flag
=' -expect_unresolved \*'
11179 archive_cmds
='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11181 archive_cmds_need_lc
='no'
11182 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11183 hardcode_libdir_separator
=:
11186 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11187 if test yes = "$GCC"; then
11188 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11189 archive_cmds
='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11190 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11192 allow_undefined_flag
=' -expect_unresolved \*'
11193 archive_cmds
='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11194 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11195 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
11197 # Both c and cxx compiler support -rpath directly
11198 hardcode_libdir_flag_spec
='-rpath $libdir'
11200 archive_cmds_need_lc
='no'
11201 hardcode_libdir_separator
=:
11205 no_undefined_flag
=' -z defs'
11206 if test yes = "$GCC"; then
11208 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11209 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11210 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11212 case `$CC -V 2>&1` in
11215 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11216 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11217 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11221 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11222 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11223 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11227 hardcode_libdir_flag_spec
='-R$libdir'
11228 hardcode_shlibpath_var
=no
11230 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11232 # The compiler driver will combine and reorder linker options,
11233 # but understands '-z linker_flag'. GCC discards it without '$wl',
11234 # but is careful enough not to reorder.
11235 # Supported since Solaris 2.6 (maybe 2.5.1?)
11236 if test yes = "$GCC"; then
11237 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11239 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11243 link_all_deplibs
=yes
11247 if test sequent
= "$host_vendor"; then
11248 # Use $CC to link under sequent, because it throws in some extra .o
11249 # files that make .init and .fini sections work.
11250 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11252 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11254 hardcode_libdir_flag_spec
='-L$libdir'
11255 hardcode_direct
=yes
11256 hardcode_minus_L
=yes
11257 hardcode_shlibpath_var
=no
11261 case $host_vendor in
11263 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11264 hardcode_direct
=yes # is this really true???
11267 ## LD is ld it makes a PLAMLIB
11268 ## CC just makes a GrossModule.
11269 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11270 reload_cmds
='$CC -r -o $output$reload_objs'
11274 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11275 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11278 runpath_var
='LD_RUN_PATH'
11279 hardcode_shlibpath_var
=no
11283 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11284 hardcode_shlibpath_var
=no
11285 export_dynamic_flag_spec
='-Bexport'
11289 if test -d /usr
/nec
; then
11290 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11291 hardcode_shlibpath_var
=no
11292 runpath_var
=LD_RUN_PATH
11293 hardcode_runpath_var
=yes
11298 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11299 no_undefined_flag
='$wl-z,text'
11300 archive_cmds_need_lc
=no
11301 hardcode_shlibpath_var
=no
11302 runpath_var
='LD_RUN_PATH'
11304 if test yes = "$GCC"; then
11305 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11306 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11308 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11309 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11313 sysv5
* | sco3.2v5
* | sco5v6
*)
11314 # Note: We CANNOT use -z defs as we might desire, because we do not
11315 # link with -lc, and that would cause any symbols used from libc to
11316 # always be unresolved, which means just about no library would
11317 # ever link correctly. If we're not using GNU ld we use -z text
11318 # though, which does catch some bad symbols but isn't as heavy-handed
11320 no_undefined_flag
='$wl-z,text'
11321 allow_undefined_flag
='$wl-z,nodefs'
11322 archive_cmds_need_lc
=no
11323 hardcode_shlibpath_var
=no
11324 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11325 hardcode_libdir_separator
=':'
11326 link_all_deplibs
=yes
11327 export_dynamic_flag_spec
='$wl-Bexport'
11328 runpath_var
='LD_RUN_PATH'
11330 if test yes = "$GCC"; then
11331 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11332 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11334 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11335 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11340 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11341 hardcode_libdir_flag_spec
='-L$libdir'
11342 hardcode_shlibpath_var
=no
11350 if test sni
= "$host_vendor"; then
11352 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11353 export_dynamic_flag_spec
='$wl-Blargedynsym'
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11360 $as_echo "$ld_shlibs" >&6; }
11361 test no
= "$ld_shlibs" && can_build_shared
=no
11363 with_gnu_ld
=$with_gnu_ld
11380 # Do we need to explicitly link libc?
11382 case "x$archive_cmds_need_lc" in
11384 # Assume -lc should be added
11385 archive_cmds_need_lc
=yes
11387 if test yes,yes = "$GCC,$enable_shared"; then
11388 case $archive_cmds in
11390 # FIXME: we may have to deal with multi-command sequences.
11393 # Test whether the compiler implicitly links with -lc since on some
11394 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11395 # to ld, don't add -lc before -lgcc.
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11397 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11398 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11399 $as_echo_n "(cached) " >&6
11402 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11404 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11405 (eval $ac_compile) 2>&5
11407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11408 test $ac_status = 0; } 2>conftest.err
; then
11411 libobjs
=conftest.
$ac_objext
11413 wl
=$lt_prog_compiler_wl
11414 pic_flag
=$lt_prog_compiler_pic
11420 lt_save_allow_undefined_flag
=$allow_undefined_flag
11421 allow_undefined_flag
=
11422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11423 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11426 test $ac_status = 0; }
11428 lt_cv_archive_cmds_need_lc
=no
11430 lt_cv_archive_cmds_need_lc
=yes
11432 allow_undefined_flag
=$lt_save_allow_undefined_flag
11434 cat conftest.err
1>&5
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11440 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11441 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11600 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11602 if test yes = "$GCC"; then
11604 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11605 *) lt_awk_arg
='/^libraries:/' ;;
11608 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11609 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11611 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11612 case $lt_search_path_spec in
11614 # if the path contains ";" then we assume it to be the separator
11615 # otherwise default to the standard path separator (i.e. ":") - it is
11616 # assumed that no part of a normal pathname contains ";" but that should
11617 # okay in the real world where ";" in dirpaths is itself problematic.
11618 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11621 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11624 # Ok, now we have the path, separated by spaces, we can step through it
11625 # and add multilib dir if necessary...
11626 lt_tmp_lt_search_path_spec
=
11627 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11628 # ...but if some path component already ends with the multilib dir we assume
11629 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11630 case "$lt_multi_os_dir; $lt_search_path_spec " in
11631 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11635 for lt_sys_path
in $lt_search_path_spec; do
11636 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11637 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11638 elif test -n "$lt_multi_os_dir"; then
11639 test -d "$lt_sys_path" && \
11640 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11643 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11644 BEGIN {RS = " "; FS = "/|\n";} {
11647 for (lt_i = NF; lt_i > 0; lt_i--) {
11648 if ($lt_i != "" && $lt_i != ".") {
11649 if ($lt_i == "..") {
11652 if (lt_count == 0) {
11653 lt_foo = "/" $lt_i lt_foo;
11660 if (lt_foo != "") { lt_freq[lt_foo]++; }
11661 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11663 # AWK program above erroneously prepends '/' to C:/dos/paths
11666 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11667 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11669 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11671 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11673 library_names_spec
=
11674 libname_spec
='lib$name'
11678 postuninstall_cmds
=
11682 shlibpath_overrides_runpath
=unknown
11684 dynamic_linker
="$host_os ld.so"
11685 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11686 need_lib_prefix
=unknown
11687 hardcode_into_libs
=no
11689 # when you set need_version to no, make sure it does not cause -set_version
11690 # flags to be left without arguments
11691 need_version
=unknown
11697 version_type
=linux
# correct to gnu/linux during the next big refactor
11698 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11699 shlibpath_var
=LIBPATH
11701 # AIX 3 has no versioning support, so we append a major version to the name.
11702 soname_spec
='$libname$release$shared_ext$major'
11706 version_type
=linux
# correct to gnu/linux during the next big refactor
11709 hardcode_into_libs
=yes
11710 if test ia64
= "$host_cpu"; then
11711 # AIX 5 supports IA64
11712 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11713 shlibpath_var
=LD_LIBRARY_PATH
11715 # With GCC up to 2.95.x, collect2 would create an import file
11716 # for dependence libraries. The import file would start with
11717 # the line '#! .'. This would cause the generated library to
11718 # depend on '.', always an invalid library. This was fixed in
11719 # development snapshots of GCC prior to 3.0.
11721 aix4
| aix4.
[01] | aix4.
[01].
*)
11722 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11724 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
11727 can_build_shared
=no
11731 # Using Import Files as archive members, it is possible to support
11732 # filename-based versioning of shared library archives on AIX. While
11733 # this would work for both with and without runtime linking, it will
11734 # prevent static linking of such archives. So we do filename-based
11735 # shared library versioning with .so extension only, which is used
11736 # when both runtime linking and shared linking is enabled.
11737 # Unfortunately, runtime linking may impact performance, so we do
11738 # not want this to be the default eventually. Also, we use the
11739 # versioned .so libs for executables only if there is the -brtl
11740 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11741 # To allow for filename-based versioning support, we need to create
11742 # libNAME.so.V as an archive file, containing:
11743 # *) an Import File, referring to the versioned filename of the
11744 # archive as well as the shared archive member, telling the
11745 # bitwidth (32 or 64) of that shared object, and providing the
11746 # list of exported symbols of that shared object, eventually
11747 # decorated with the 'weak' keyword
11748 # *) the shared object with the F_LOADONLY flag set, to really avoid
11749 # it being seen by the linker.
11750 # At run time we better use the real file rather than another symlink,
11751 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11753 case $with_aix_soname,$aix_use_runtimelinking in
11754 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11755 # soname into executable. Probably we can add versioning support to
11756 # collect2, so additional links can be useful in future.
11757 aix
,yes) # traditional libtool
11758 dynamic_linker
='AIX unversionable lib.so'
11759 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11760 # instead of lib<name>.a to let people know that these are not
11761 # typical AIX shared libraries.
11762 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11764 aix
,no
) # traditional AIX only
11765 dynamic_linker
='AIX lib.a(lib.so.V)'
11766 # We preserve .a as extension for shared libraries through AIX4.2
11767 # and later when we are not doing run time linking.
11768 library_names_spec
='$libname$release.a $libname.a'
11769 soname_spec
='$libname$release$shared_ext$major'
11771 svr4
,*) # full svr4 only
11772 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11773 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11774 # We do not specify a path in Import Files, so LIBPATH fires.
11775 shlibpath_overrides_runpath
=yes
11777 *,yes) # both, prefer svr4
11778 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11779 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11780 # unpreferred sharedlib libNAME.a needs extra handling
11781 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11782 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11783 # We do not specify a path in Import Files, so LIBPATH fires.
11784 shlibpath_overrides_runpath
=yes
11786 *,no
) # both, prefer aix
11787 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11788 library_names_spec
='$libname$release.a $libname.a'
11789 soname_spec
='$libname$release$shared_ext$major'
11790 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11791 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11792 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11795 shlibpath_var
=LIBPATH
11802 # Since July 2007 AmigaOS4 officially supports .so libraries.
11803 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11804 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11807 library_names_spec
='$libname.ixlibrary $libname.a'
11808 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11809 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11815 library_names_spec
='$libname$shared_ext'
11816 dynamic_linker
="$host_os ld.so"
11817 shlibpath_var
=LIBRARY_PATH
11821 version_type
=linux
# correct to gnu/linux during the next big refactor
11823 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11824 soname_spec
='$libname$release$shared_ext$major'
11825 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11826 shlibpath_var
=LD_LIBRARY_PATH
11827 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11828 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11829 # the default ld.so.conf also contains /usr/contrib/lib and
11830 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11831 # libtool to hard-code these into programs
11834 cygwin
* | mingw
* | pw32
* | cegcc
*)
11835 version_type
=windows
11840 case $GCC,$cc_basename in
11843 library_names_spec
='$libname.dll.a'
11844 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11845 postinstall_cmds
='base_file=`basename \$file`~
11846 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11847 dldir=$destdir/`dirname \$dlpath`~
11848 test -d \$dldir || mkdir -p \$dldir~
11849 $install_prog $dir/$dlname \$dldir/$dlname~
11850 chmod a+x \$dldir/$dlname~
11851 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11852 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11854 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11855 dlpath=$dir/\$dldll~
11857 shlibpath_overrides_runpath
=yes
11861 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11862 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11864 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11867 # MinGW DLLs use traditional 'lib' prefix
11868 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11871 # pw32 DLLs use 'pw' prefix rather than 'lib'
11872 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11875 dynamic_linker
='Win32 ld.exe'
11880 libname_spec
='$name'
11881 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11882 library_names_spec
='$libname.dll.lib'
11886 sys_lib_search_path_spec
=
11889 for lt_path
in $LIB
11892 # Let DOS variable expansion print the short 8.3 style file name.
11893 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11894 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11897 # Convert to MSYS style.
11898 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11901 # Convert to unix form, then to dos form, then back to unix form
11902 # but this time dos style (no spaces!) so that the unix form looks
11903 # like /cygdrive/c/PROGRA~1:/cygdr...
11904 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11905 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11906 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11909 sys_lib_search_path_spec
=$LIB
11910 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11911 # It is most probably a Windows format PATH.
11912 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11914 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11916 # FIXME: find the short name or the path components, as spaces are
11917 # common. (e.g. "Program Files" -> "PROGRA~1")
11921 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11922 postinstall_cmds
='base_file=`basename \$file`~
11923 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11924 dldir=$destdir/`dirname \$dlpath`~
11925 test -d \$dldir || mkdir -p \$dldir~
11926 $install_prog $dir/$dlname \$dldir/$dlname'
11927 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11928 dlpath=$dir/\$dldll~
11930 shlibpath_overrides_runpath
=yes
11931 dynamic_linker
='Win32 link.exe'
11935 # Assume MSVC wrapper
11936 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11937 dynamic_linker
='Win32 ld.exe'
11940 # FIXME: first we should search . and the directory the executable is in
11944 darwin
* | rhapsody
*)
11945 dynamic_linker
="$host_os dyld"
11946 version_type
=darwin
11949 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11950 soname_spec
='$libname$release$major$shared_ext'
11951 shlibpath_overrides_runpath
=yes
11952 shlibpath_var
=DYLD_LIBRARY_PATH
11953 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11955 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11956 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11960 version_type
=linux
# correct to gnu/linux during the next big refactor
11963 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11964 soname_spec
='$libname$release$shared_ext$major'
11965 shlibpath_var
=LD_LIBRARY_PATH
11968 freebsd
* | dragonfly
*)
11969 # DragonFly does not have aout. When/if they implement a new
11970 # versioning mechanism, adjust this.
11971 if test -x /usr
/bin
/objformat
; then
11972 objformat
=`/usr/bin/objformat`
11975 freebsd
[23].
*) objformat
=aout
;;
11976 *) objformat
=elf
;;
11979 version_type
=freebsd
-$objformat
11980 case $version_type in
11982 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11983 soname_spec
='$libname$release$shared_ext$major'
11988 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11992 shlibpath_var
=LD_LIBRARY_PATH
11995 shlibpath_overrides_runpath
=yes
11997 freebsd3.
[01]* | freebsdelf3.
[01]*)
11998 shlibpath_overrides_runpath
=yes
11999 hardcode_into_libs
=yes
12001 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12002 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12003 shlibpath_overrides_runpath
=no
12004 hardcode_into_libs
=yes
12006 *) # from 4.6 on, and DragonFly
12007 shlibpath_overrides_runpath
=yes
12008 hardcode_into_libs
=yes
12014 version_type
=linux
# correct to gnu/linux during the next big refactor
12017 dynamic_linker
="$host_os runtime_loader"
12018 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12019 soname_spec
='$libname$release$shared_ext$major'
12020 shlibpath_var
=LIBRARY_PATH
12021 shlibpath_overrides_runpath
=no
12022 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12023 hardcode_into_libs
=yes
12026 hpux9
* | hpux10
* | hpux11
*)
12027 # Give a soname corresponding to the major version so that dld.sl refuses to
12028 # link against other versions.
12035 hardcode_into_libs
=yes
12036 dynamic_linker
="$host_os dld.so"
12037 shlibpath_var
=LD_LIBRARY_PATH
12038 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12039 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12040 soname_spec
='$libname$release$shared_ext$major'
12041 if test 32 = "$HPUX_IA64_MODE"; then
12042 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12043 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12045 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12046 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12051 hardcode_into_libs
=yes
12052 dynamic_linker
="$host_os dld.sl"
12053 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12054 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12055 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12056 soname_spec
='$libname$release$shared_ext$major'
12057 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12058 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12062 dynamic_linker
="$host_os dld.sl"
12063 shlibpath_var
=SHLIB_PATH
12064 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12065 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12066 soname_spec
='$libname$release$shared_ext$major'
12069 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12070 postinstall_cmds
='chmod 555 $lib'
12071 # or fails outright, so override atomically:
12072 install_override_mode
=555
12076 version_type
=linux
# correct to gnu/linux during the next big refactor
12079 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12080 soname_spec
='$libname$release$shared_ext$major'
12081 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12082 shlibpath_var
=LD_LIBRARY_PATH
12083 shlibpath_overrides_runpath
=no
12084 hardcode_into_libs
=yes
12087 irix5
* | irix6
* | nonstopux
*)
12089 nonstopux
*) version_type
=nonstopux
;;
12091 if test yes = "$lt_cv_prog_gnu_ld"; then
12092 version_type
=linux
# correct to gnu/linux during the next big refactor
12099 soname_spec
='$libname$release$shared_ext$major'
12100 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12102 irix5
* | nonstopux
*)
12103 libsuff
= shlibsuff
=
12106 case $LD in # libtool.m4 will add one of these switches to LD
12107 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12108 libsuff
= shlibsuff
= libmagic
=32-bit;;
12109 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12110 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12111 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12112 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12113 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
12117 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12118 shlibpath_overrides_runpath
=no
12119 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12120 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12121 hardcode_into_libs
=yes
12124 # No shared lib support for Linux oldld, aout, or coff.
12125 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12130 version_type
=none
# Android doesn't support versioned libraries.
12133 library_names_spec
='$libname$release$shared_ext'
12134 soname_spec
='$libname$release$shared_ext'
12136 shlibpath_var
=LD_LIBRARY_PATH
12137 shlibpath_overrides_runpath
=yes
12139 # This implies no fast_install, which is unacceptable.
12140 # Some rework will be needed to allow for fast_install
12141 # before this can be enabled.
12142 hardcode_into_libs
=yes
12144 dynamic_linker
='Android linker'
12145 # Don't embed -rpath directories since the linker doesn't support them.
12146 hardcode_libdir_flag_spec
='-L$libdir'
12149 # This must be glibc/ELF.
12150 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12151 version_type
=linux
# correct to gnu/linux during the next big refactor
12154 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12155 soname_spec
='$libname$release$shared_ext$major'
12156 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12157 shlibpath_var
=LD_LIBRARY_PATH
12158 shlibpath_overrides_runpath
=no
12160 # Some binutils ld are patched to set DT_RUNPATH
12161 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12162 $as_echo_n "(cached) " >&6
12164 lt_cv_shlibpath_overrides_runpath
=no
12165 save_LDFLAGS
=$LDFLAGS
12166 save_libdir
=$libdir
12167 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12168 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12180 if ac_fn_c_try_link
"$LINENO"; then :
12181 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
12182 lt_cv_shlibpath_overrides_runpath
=yes
12185 rm -f core conftest.err conftest.
$ac_objext \
12186 conftest
$ac_exeext conftest.
$ac_ext
12187 LDFLAGS
=$save_LDFLAGS
12188 libdir
=$save_libdir
12192 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12194 # This implies no fast_install, which is unacceptable.
12195 # Some rework will be needed to allow for fast_install
12196 # before this can be enabled.
12197 hardcode_into_libs
=yes
12199 # Ideally, we could use ldconfig to report *all* directores which are
12200 # searched for libraries, however this is still not possible. Aside from not
12201 # being certain /sbin/ldconfig is available, command
12202 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12203 # even though it is searched at run-time. Try to do the best guess by
12204 # appending ld.so.conf contents (and includes) to the search path.
12205 if test -f /etc
/ld.so.conf
; then
12206 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12207 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12210 # We used to test for /lib/ld.so.1 and disable shared libraries on
12211 # powerpc, because MkLinux only supported shared libraries with the
12212 # GNU dynamic linker. Since this was broken with cross compilers,
12213 # most powerpc-linux boxes support dynamic linking these days and
12214 # people can always --disable-shared, the test was removed, and we
12215 # assume the GNU/Linux dynamic linker is in use.
12216 dynamic_linker
='GNU/Linux ld.so'
12223 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12224 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12225 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12226 dynamic_linker
='NetBSD (a.out) ld.so'
12228 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12229 soname_spec
='$libname$release$shared_ext$major'
12230 dynamic_linker
='NetBSD ld.elf_so'
12232 shlibpath_var
=LD_LIBRARY_PATH
12233 shlibpath_overrides_runpath
=yes
12234 hardcode_into_libs
=yes
12238 version_type
=linux
# correct to gnu/linux during the next big refactor
12239 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12240 shlibpath_var
=LD_LIBRARY_PATH
12241 shlibpath_overrides_runpath
=yes
12248 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12249 soname_spec
='$libname$release$shared_ext$major'
12250 shlibpath_var
=LD_LIBRARY_PATH
12251 shlibpath_overrides_runpath
=no
12252 hardcode_into_libs
=yes
12253 dynamic_linker
='ldqnx.so'
12256 openbsd
* | bitrig
*)
12258 sys_lib_dlsearch_path_spec
=/usr
/lib
12260 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12265 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12266 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12267 shlibpath_var
=LD_LIBRARY_PATH
12268 shlibpath_overrides_runpath
=yes
12272 libname_spec
='$name'
12273 version_type
=windows
12277 # OS/2 can only load a DLL with a base name of 8 characters or less.
12278 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12279 v=$($ECHO $release$versuffix | tr -d .-);
12280 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12281 $ECHO $n$v`$shared_ext'
12282 library_names_spec
='${libname}_dll.$libext'
12283 dynamic_linker
='OS/2 ld.exe'
12284 shlibpath_var
=BEGINLIBPATH
12285 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12286 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12287 postinstall_cmds
='base_file=`basename \$file`~
12288 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12289 dldir=$destdir/`dirname \$dlpath`~
12290 test -d \$dldir || mkdir -p \$dldir~
12291 $install_prog $dir/$dlname \$dldir/$dlname~
12292 chmod a+x \$dldir/$dlname~
12293 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12294 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12296 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12297 dlpath=$dir/\$dldll~
12301 osf3
* | osf4
* | osf5
*)
12305 soname_spec
='$libname$release$shared_ext$major'
12306 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12307 shlibpath_var
=LD_LIBRARY_PATH
12308 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12309 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12317 version_type
=linux
# correct to gnu/linux during the next big refactor
12320 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12321 soname_spec
='$libname$release$shared_ext$major'
12322 shlibpath_var
=LD_LIBRARY_PATH
12323 shlibpath_overrides_runpath
=yes
12324 hardcode_into_libs
=yes
12325 # ldd complains unless libraries are executable
12326 postinstall_cmds
='chmod +x $lib'
12331 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12332 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12333 shlibpath_var
=LD_LIBRARY_PATH
12334 shlibpath_overrides_runpath
=yes
12335 if test yes = "$with_gnu_ld"; then
12342 version_type
=linux
# correct to gnu/linux during the next big refactor
12343 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12344 soname_spec
='$libname$release$shared_ext$major'
12345 shlibpath_var
=LD_LIBRARY_PATH
12346 case $host_vendor in
12348 shlibpath_overrides_runpath
=no
12350 runpath_var
=LD_RUN_PATH
12358 shlibpath_overrides_runpath
=no
12359 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12365 if test -d /usr
/nec
; then
12366 version_type
=linux
# correct to gnu/linux during the next big refactor
12367 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12368 soname_spec
='$libname$shared_ext.$major'
12369 shlibpath_var
=LD_LIBRARY_PATH
12373 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12377 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12378 soname_spec
='$libname$release$shared_ext$major'
12379 shlibpath_var
=LD_LIBRARY_PATH
12380 shlibpath_overrides_runpath
=yes
12381 hardcode_into_libs
=yes
12382 if test yes = "$with_gnu_ld"; then
12383 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12385 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12388 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12392 sys_lib_dlsearch_path_spec
='/usr/lib'
12396 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12397 version_type
=linux
# correct to gnu/linux during the next big refactor
12400 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12401 shlibpath_var
=LD_LIBRARY_PATH
12402 shlibpath_overrides_runpath
=no
12403 hardcode_into_libs
=yes
12407 version_type
=linux
# correct to gnu/linux during the next big refactor
12408 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12409 soname_spec
='$libname$release$shared_ext$major'
12410 shlibpath_var
=LD_LIBRARY_PATH
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12418 $as_echo "$dynamic_linker" >&6; }
12419 test no
= "$dynamic_linker" && can_build_shared
=no
12421 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12422 if test yes = "$GCC"; then
12423 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12426 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12427 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12430 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12431 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12434 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12435 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12437 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12438 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12440 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12441 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12540 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12542 if test -n "$hardcode_libdir_flag_spec" ||
12543 test -n "$runpath_var" ||
12544 test yes = "$hardcode_automatic"; then
12546 # We can hardcode non-existent directories.
12547 if test no
!= "$hardcode_direct" &&
12548 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12549 # have to relink, otherwise we might link with an installed library
12550 # when we should be linking with a yet-to-be-installed one
12551 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12552 test no
!= "$hardcode_minus_L"; then
12553 # Linking always hardcodes the temporary library directory.
12554 hardcode_action
=relink
12556 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12557 hardcode_action
=immediate
12560 # We cannot hardcode anything, or else we can only hardcode existing
12562 hardcode_action
=unsupported
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12565 $as_echo "$hardcode_action" >&6; }
12567 if test relink
= "$hardcode_action" ||
12568 test yes = "$inherit_rpath"; then
12569 # Fast installation is not supported
12570 enable_fast_install
=no
12571 elif test yes = "$shlibpath_overrides_runpath" ||
12572 test no
= "$enable_shared"; then
12573 # Fast installation is not necessary
12574 enable_fast_install
=needless
12582 if test yes != "$enable_dlopen"; then
12583 enable_dlopen
=unknown
12584 enable_dlopen_self
=unknown
12585 enable_dlopen_self_static
=unknown
12592 lt_cv_dlopen
=load_add_on
12594 lt_cv_dlopen_self
=yes
12597 mingw
* | pw32
* | cegcc
*)
12598 lt_cv_dlopen
=LoadLibrary
12603 lt_cv_dlopen
=dlopen
12608 # if libdl is installed we need to link against it
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12610 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12611 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12612 $as_echo_n "(cached) " >&6
12614 ac_check_lib_save_LIBS
=$LIBS
12616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12634 if ac_fn_c_try_link
"$LINENO"; then :
12635 ac_cv_lib_dl_dlopen
=yes
12637 ac_cv_lib_dl_dlopen
=no
12639 rm -f core conftest.err conftest.
$ac_objext \
12640 conftest
$ac_exeext conftest.
$ac_ext
12641 LIBS
=$ac_check_lib_save_LIBS
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12644 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12645 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12646 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12651 lt_cv_dlopen_self
=yes
12658 # Don't try to run any link tests for TPF. We know it's impossible
12659 # because TPF is a cross-compiler, and we know how we open DSOs.
12660 lt_cv_dlopen
=dlopen
12662 lt_cv_dlopen_self
=no
12666 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12667 if test "x$ac_cv_func_shl_load" = xyes
; then :
12668 lt_cv_dlopen
=shl_load
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12671 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12672 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12673 $as_echo_n "(cached) " >&6
12675 ac_check_lib_save_LIBS
=$LIBS
12677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12690 return shl_load ();
12695 if ac_fn_c_try_link
"$LINENO"; then :
12696 ac_cv_lib_dld_shl_load
=yes
12698 ac_cv_lib_dld_shl_load
=no
12700 rm -f core conftest.err conftest.
$ac_objext \
12701 conftest
$ac_exeext conftest.
$ac_ext
12702 LIBS
=$ac_check_lib_save_LIBS
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12705 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12706 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12707 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12709 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12710 if test "x$ac_cv_func_dlopen" = xyes
; then :
12711 lt_cv_dlopen
=dlopen
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12714 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12715 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12716 $as_echo_n "(cached) " >&6
12718 ac_check_lib_save_LIBS
=$LIBS
12720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 /* Override any GCC internal prototype to avoid an error.
12724 Use char because int might match the return type of a GCC
12725 builtin and then its argument prototype would still apply. */
12738 if ac_fn_c_try_link
"$LINENO"; then :
12739 ac_cv_lib_dl_dlopen
=yes
12741 ac_cv_lib_dl_dlopen
=no
12743 rm -f core conftest.err conftest.
$ac_objext \
12744 conftest
$ac_exeext conftest.
$ac_ext
12745 LIBS
=$ac_check_lib_save_LIBS
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12748 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12749 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12750 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12753 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12754 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12755 $as_echo_n "(cached) " >&6
12757 ac_check_lib_save_LIBS
=$LIBS
12758 LIBS
="-lsvld $LIBS"
12759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12760 /* end confdefs.h. */
12762 /* Override any GCC internal prototype to avoid an error.
12763 Use char because int might match the return type of a GCC
12764 builtin and then its argument prototype would still apply. */
12777 if ac_fn_c_try_link
"$LINENO"; then :
12778 ac_cv_lib_svld_dlopen
=yes
12780 ac_cv_lib_svld_dlopen
=no
12782 rm -f core conftest.err conftest.
$ac_objext \
12783 conftest
$ac_exeext conftest.
$ac_ext
12784 LIBS
=$ac_check_lib_save_LIBS
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12787 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12788 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12789 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12792 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12793 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12794 $as_echo_n "(cached) " >&6
12796 ac_check_lib_save_LIBS
=$LIBS
12798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12811 return dld_link ();
12816 if ac_fn_c_try_link
"$LINENO"; then :
12817 ac_cv_lib_dld_dld_link
=yes
12819 ac_cv_lib_dld_dld_link
=no
12821 rm -f core conftest.err conftest.
$ac_objext \
12822 conftest
$ac_exeext conftest.
$ac_ext
12823 LIBS
=$ac_check_lib_save_LIBS
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12826 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12827 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12828 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12849 if test no
= "$lt_cv_dlopen"; then
12855 case $lt_cv_dlopen in
12857 save_CPPFLAGS
=$CPPFLAGS
12858 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12860 save_LDFLAGS
=$LDFLAGS
12861 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12864 LIBS
="$lt_cv_dlopen_libs $LIBS"
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12867 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12868 if ${lt_cv_dlopen_self+:} false
; then :
12869 $as_echo_n "(cached) " >&6
12871 if test yes = "$cross_compiling"; then :
12872 lt_cv_dlopen_self
=cross
12874 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12875 lt_status
=$lt_dlunknown
12876 cat > conftest.
$ac_ext <<_LT_EOF
12877 #line $LINENO "configure"
12878 #include "confdefs.h"
12887 # define LT_DLGLOBAL RTLD_GLOBAL
12890 # define LT_DLGLOBAL DL_GLOBAL
12892 # define LT_DLGLOBAL 0
12896 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12897 find out it does not work in some platform. */
12898 #ifndef LT_DLLAZY_OR_NOW
12900 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12903 # define LT_DLLAZY_OR_NOW DL_LAZY
12906 # define LT_DLLAZY_OR_NOW RTLD_NOW
12909 # define LT_DLLAZY_OR_NOW DL_NOW
12911 # define LT_DLLAZY_OR_NOW 0
12918 /* When -fvisibility=hidden is used, assume the code has been annotated
12919 correspondingly for the symbols needed. */
12920 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12921 int fnord () __attribute__((visibility("default")));
12924 int fnord () { return 42; }
12927 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12928 int status = $lt_dlunknown;
12932 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12935 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12936 else puts (dlerror ());
12938 /* dlclose (self); */
12946 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12947 (eval $ac_link) 2>&5
12949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12950 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12951 (.
/conftest
; exit; ) >&5 2>/dev
/null
12953 case x
$lt_status in
12954 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12955 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12956 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12959 # compilation failed
12960 lt_cv_dlopen_self
=no
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12968 $as_echo "$lt_cv_dlopen_self" >&6; }
12970 if test yes = "$lt_cv_dlopen_self"; then
12971 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12973 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12974 if ${lt_cv_dlopen_self_static+:} false
; then :
12975 $as_echo_n "(cached) " >&6
12977 if test yes = "$cross_compiling"; then :
12978 lt_cv_dlopen_self_static
=cross
12980 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12981 lt_status
=$lt_dlunknown
12982 cat > conftest.
$ac_ext <<_LT_EOF
12983 #line $LINENO "configure"
12984 #include "confdefs.h"
12993 # define LT_DLGLOBAL RTLD_GLOBAL
12996 # define LT_DLGLOBAL DL_GLOBAL
12998 # define LT_DLGLOBAL 0
13002 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13003 find out it does not work in some platform. */
13004 #ifndef LT_DLLAZY_OR_NOW
13006 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13009 # define LT_DLLAZY_OR_NOW DL_LAZY
13012 # define LT_DLLAZY_OR_NOW RTLD_NOW
13015 # define LT_DLLAZY_OR_NOW DL_NOW
13017 # define LT_DLLAZY_OR_NOW 0
13024 /* When -fvisibility=hidden is used, assume the code has been annotated
13025 correspondingly for the symbols needed. */
13026 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13027 int fnord () __attribute__((visibility("default")));
13030 int fnord () { return 42; }
13033 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13034 int status = $lt_dlunknown;
13038 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13041 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13042 else puts (dlerror ());
13044 /* dlclose (self); */
13052 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13053 (eval $ac_link) 2>&5
13055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13056 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13057 (.
/conftest
; exit; ) >&5 2>/dev
/null
13059 case x
$lt_status in
13060 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13061 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13062 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13065 # compilation failed
13066 lt_cv_dlopen_self_static
=no
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13074 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13077 CPPFLAGS
=$save_CPPFLAGS
13078 LDFLAGS
=$save_LDFLAGS
13083 case $lt_cv_dlopen_self in
13084 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13085 *) enable_dlopen_self
=unknown
;;
13088 case $lt_cv_dlopen_self_static in
13089 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13090 *) enable_dlopen_self_static
=unknown
;;
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13113 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13114 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
13115 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13116 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13118 $as_echo "yes" >&6; }
13120 # FIXME - insert some real tests, host_os isn't really good enough
13123 if test -n "$STRIP"; then
13124 striplib
="$STRIP -x"
13125 old_striplib
="$STRIP -S"
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13127 $as_echo "yes" >&6; }
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13130 $as_echo "no" >&6; }
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13135 $as_echo "no" >&6; }
13151 # Report what library types will actually be built
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13153 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13155 $as_echo "$can_build_shared" >&6; }
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13158 $as_echo_n "checking whether to build shared libraries... " >&6; }
13159 test no
= "$can_build_shared" && enable_shared
=no
13161 # On AIX, shared libraries and static libraries use the same namespace, and
13162 # are all built from PIC.
13165 test yes = "$enable_shared" && enable_static
=no
13166 if test -n "$RANLIB"; then
13167 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13168 postinstall_cmds
='$RANLIB $lib'
13173 if test ia64
!= "$host_cpu"; then
13174 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13175 yes,aix
,yes) ;; # shared object as lib.so file only
13176 yes,svr4
,*) ;; # shared object as lib.so archive member only
13177 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13183 $as_echo "$enable_shared" >&6; }
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13186 $as_echo_n "checking whether to build static libraries... " >&6; }
13187 # Make sure either enable_shared or enable_static is yes.
13188 test yes = "$enable_shared" || enable_static
=yes
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13190 $as_echo "$enable_static" >&6; }
13197 ac_cpp
='$CPP $CPPFLAGS'
13198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13204 if test -n "$CXX" && ( test no
!= "$CXX" &&
13205 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13206 (test g
++ != "$CXX"))); then
13208 ac_cpp
='$CXXCPP $CPPFLAGS'
13209 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13210 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13211 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13213 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13214 if test -z "$CXXCPP"; then
13215 if ${ac_cv_prog_CXXCPP+:} false
; then :
13216 $as_echo_n "(cached) " >&6
13218 # Double quotes because CXXCPP needs to be expanded
13219 for CXXCPP
in "$CXX -E" "/lib/cpp"
13221 ac_preproc_ok
=false
13222 for ac_cxx_preproc_warn_flag
in '' yes
13224 # Use a header file that comes with gcc, so configuring glibc
13225 # with a fresh cross-compiler works.
13226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13227 # <limits.h> exists even on freestanding compilers.
13228 # On the NeXT, cc -E runs the code through the compiler's parser,
13229 # not just through cpp. "Syntax error" is here to catch this case.
13230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13231 /* end confdefs.h. */
13233 # include <limits.h>
13235 # include <assert.h>
13239 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13242 # Broken: fails on valid input.
13245 rm -f conftest.err conftest.i conftest.
$ac_ext
13247 # OK, works on sane cases. Now check whether nonexistent headers
13248 # can be detected and how.
13249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13251 #include <ac_nonexistent.h>
13253 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13254 # Broken: success on invalid input.
13257 # Passes both tests.
13261 rm -f conftest.err conftest.i conftest.
$ac_ext
13264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13265 rm -f conftest.i conftest.err conftest.
$ac_ext
13266 if $ac_preproc_ok; then :
13271 ac_cv_prog_CXXCPP
=$CXXCPP
13274 CXXCPP
=$ac_cv_prog_CXXCPP
13276 ac_cv_prog_CXXCPP
=$CXXCPP
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13279 $as_echo "$CXXCPP" >&6; }
13280 ac_preproc_ok
=false
13281 for ac_cxx_preproc_warn_flag
in '' yes
13283 # Use a header file that comes with gcc, so configuring glibc
13284 # with a fresh cross-compiler works.
13285 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13286 # <limits.h> exists even on freestanding compilers.
13287 # On the NeXT, cc -E runs the code through the compiler's parser,
13288 # not just through cpp. "Syntax error" is here to catch this case.
13289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13292 # include <limits.h>
13294 # include <assert.h>
13298 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13301 # Broken: fails on valid input.
13304 rm -f conftest.err conftest.i conftest.
$ac_ext
13306 # OK, works on sane cases. Now check whether nonexistent headers
13307 # can be detected and how.
13308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13310 #include <ac_nonexistent.h>
13312 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13313 # Broken: success on invalid input.
13316 # Passes both tests.
13320 rm -f conftest.err conftest.i conftest.
$ac_ext
13323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13324 rm -f conftest.i conftest.err conftest.
$ac_ext
13325 if $ac_preproc_ok; then :
13328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13330 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13331 See \`config.log' for more details" "$LINENO" 5; }
13335 ac_cpp
='$CPP $CPPFLAGS'
13336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13341 _lt_caught_CXX_error
=yes
13345 ac_cpp
='$CXXCPP $CPPFLAGS'
13346 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13347 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13348 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13350 archive_cmds_need_lc_CXX
=no
13351 allow_undefined_flag_CXX
=
13352 always_export_symbols_CXX
=no
13353 archive_expsym_cmds_CXX
=
13354 compiler_needs_object_CXX
=no
13355 export_dynamic_flag_spec_CXX
=
13356 hardcode_direct_CXX
=no
13357 hardcode_direct_absolute_CXX
=no
13358 hardcode_libdir_flag_spec_CXX
=
13359 hardcode_libdir_separator_CXX
=
13360 hardcode_minus_L_CXX
=no
13361 hardcode_shlibpath_var_CXX
=unsupported
13362 hardcode_automatic_CXX
=no
13363 inherit_rpath_CXX
=no
13365 module_expsym_cmds_CXX
=
13366 link_all_deplibs_CXX
=unknown
13367 old_archive_cmds_CXX
=$old_archive_cmds
13368 reload_flag_CXX
=$reload_flag
13369 reload_cmds_CXX
=$reload_cmds
13370 no_undefined_flag_CXX
=
13371 whole_archive_flag_spec_CXX
=
13372 enable_shared_with_static_runtimes_CXX
=no
13374 # Source file extension for C++ test sources.
13377 # Object file extension for compiled C++ test sources.
13381 # No sense in running all these tests if we already determined that
13382 # the CXX compiler isn't working. Some variables (like enable_shared)
13383 # are currently assumed to apply to all compilers on this platform,
13384 # and will be corrupted by setting them based on a non-working compiler.
13385 if test yes != "$_lt_caught_CXX_error"; then
13386 # Code to be used in simple compile tests
13387 lt_simple_compile_test_code
="int some_variable = 0;"
13389 # Code to be used in simple link tests
13390 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13392 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13399 # If no C compiler was specified, use CC.
13402 # If no C compiler flags were specified, use CFLAGS.
13403 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13405 # Allow CC to be a program name with arguments.
13409 # save warnings/boilerplate of simple test code
13410 ac_outfile
=conftest.
$ac_objext
13411 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13412 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13413 _lt_compiler_boilerplate
=`cat conftest.err`
13416 ac_outfile
=conftest.
$ac_objext
13417 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13418 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13419 _lt_linker_boilerplate
=`cat conftest.err`
13423 # Allow CC to be a program name with arguments.
13425 lt_save_CFLAGS
=$CFLAGS
13429 lt_save_with_gnu_ld
=$with_gnu_ld
13430 lt_save_path_LD
=$lt_cv_path_LD
13431 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13432 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13434 $as_unset lt_cv_prog_gnu_ld
13436 if test -n "${lt_cv_path_LDCXX+set}"; then
13437 lt_cv_path_LD
=$lt_cv_path_LDCXX
13439 $as_unset lt_cv_path_LD
13441 test -z "${LDCXX+set}" || LD
=$LDCXX
13446 func_cc_basename
$compiler
13447 cc_basename
=$func_cc_basename_result
13450 if test -n "$compiler"; then
13451 # We don't want -fno-exception when compiling C++ code, so set the
13452 # no_builtin_flag separately
13453 if test yes = "$GXX"; then
13454 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13456 lt_prog_compiler_no_builtin_flag_CXX
=
13459 if test yes = "$GXX"; then
13460 # Set up default GNU C++ configuration
13464 # Check whether --with-gnu-ld was given.
13465 if test "${with_gnu_ld+set}" = set; then :
13466 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
13472 if test yes = "$GCC"; then
13473 # Check if gcc -print-prog-name=ld gives a path.
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13475 $as_echo_n "checking for ld used by $CC... " >&6; }
13478 # gcc leaves a trailing carriage return, which upsets mingw
13479 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13481 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13484 # Accept absolute paths.
13486 re_direlt
='/[^/][^/]*/\.\./'
13487 # Canonicalize the pathname of ld
13488 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13489 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13490 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13492 test -z "$LD" && LD
=$ac_prog
13495 # If it fails, then pretend we aren't using GCC.
13499 # If it is relative, then search for the first ld in PATH.
13500 with_gnu_ld
=unknown
13503 elif test yes = "$with_gnu_ld"; then
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13505 $as_echo_n "checking for GNU ld... " >&6; }
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13508 $as_echo_n "checking for non-GNU ld... " >&6; }
13510 if ${lt_cv_path_LD+:} false
; then :
13511 $as_echo_n "(cached) " >&6
13513 if test -z "$LD"; then
13514 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
13515 for ac_dir
in $PATH; do
13517 test -z "$ac_dir" && ac_dir
=.
13518 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13519 lt_cv_path_LD
=$ac_dir/$ac_prog
13520 # Check to see if the program is GNU ld. I'd rather use --version,
13521 # but apparently some variants of GNU ld only accept -v.
13522 # Break only if it was the GNU/non-GNU ld that we prefer.
13523 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13524 *GNU
* | *'with BFD'*)
13525 test no
!= "$with_gnu_ld" && break
13528 test yes != "$with_gnu_ld" && break
13535 lt_cv_path_LD
=$LD # Let the user override the test with a path.
13540 if test -n "$LD"; then
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13542 $as_echo "$LD" >&6; }
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13545 $as_echo "no" >&6; }
13547 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13549 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13550 if ${lt_cv_prog_gnu_ld+:} false
; then :
13551 $as_echo_n "(cached) " >&6
13553 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13554 case `$LD -v 2>&1 </dev/null` in
13555 *GNU
* | *'with BFD'*)
13556 lt_cv_prog_gnu_ld
=yes
13559 lt_cv_prog_gnu_ld
=no
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13564 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13565 with_gnu_ld
=$lt_cv_prog_gnu_ld
13573 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13574 # archiving commands below assume that GNU ld is being used.
13575 if test yes = "$with_gnu_ld"; then
13576 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13577 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
13579 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
13580 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13582 # If archive_cmds runs LD, not CC, wlarc should be empty
13583 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13584 # investigate it a little bit more. (MM)
13587 # ancient GNU ld didn't support --whole-archive et. al.
13588 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13589 $GREP 'no-whole-archive' > /dev
/null
; then
13590 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13592 whole_archive_flag_spec_CXX
=
13598 # A generic and very simple default shared library creation
13599 # command for GNU C++ for the case where it uses the native
13600 # linker, instead of GNU ld. If possible, this setting should
13601 # overridden to take advantage of the native linker features on
13602 # the platform it is being used on.
13603 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13606 # Commands to make compiler produce verbose output that lists
13607 # what "hidden" libraries, object files and flags are used when
13608 # linking a shared library.
13609 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13617 # PORTME: fill in a description of your system's C++ link characteristics
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13619 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13623 # FIXME: insert proper C++ library support
13627 if test ia64
= "$host_cpu"; then
13628 # On IA64, the linker does run time linking by default, so we don't
13629 # have to do anything special.
13630 aix_use_runtimelinking
=no
13631 exp_sym_flag
='-Bexport'
13634 aix_use_runtimelinking
=no
13636 # Test if we are trying to use run time linking or normal
13637 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13638 # have runtime linking enabled, and use it for executables.
13639 # For shared libraries, we enable/disable runtime linking
13640 # depending on the kind of the shared library created -
13641 # when "with_aix_soname,aix_use_runtimelinking" is:
13642 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13643 # "aix,yes" lib.so shared, rtl:yes, for executables
13644 # lib.a static archive
13645 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13646 # lib.a(lib.so.V) shared, rtl:no, for executables
13647 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13648 # lib.a(lib.so.V) shared, rtl:no
13649 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13650 # lib.a static archive
13651 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13652 for ld_flag
in $LDFLAGS; do
13655 aix_use_runtimelinking
=yes
13660 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
13661 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13662 # so we don't have lib.a shared libs to link our executables.
13663 # We have to force runtime linking in this case.
13664 aix_use_runtimelinking
=yes
13665 LDFLAGS
="$LDFLAGS -Wl,-brtl"
13670 exp_sym_flag
='-bexport'
13671 no_entry_flag
='-bnoentry'
13674 # When large executables or shared objects are built, AIX ld can
13675 # have problems creating the table of contents. If linking a library
13676 # or program results in "error TOC overflow" add -mminimal-toc to
13677 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13678 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13680 archive_cmds_CXX
=''
13681 hardcode_direct_CXX
=yes
13682 hardcode_direct_absolute_CXX
=yes
13683 hardcode_libdir_separator_CXX
=':'
13684 link_all_deplibs_CXX
=yes
13685 file_list_spec_CXX
='$wl-f,'
13686 case $with_aix_soname,$aix_use_runtimelinking in
13687 aix
,*) ;; # no import file
13688 svr4
,* | *,yes) # use import file
13689 # The Import File defines what to hardcode.
13690 hardcode_direct_CXX
=no
13691 hardcode_direct_absolute_CXX
=no
13695 if test yes = "$GXX"; then
13696 case $host_os in aix4.
[012]|aix4.
[012].
*)
13697 # We only want to do this on AIX 4.2 and lower, the check
13698 # below for broken collect2 doesn't work under 4.3+
13699 collect2name
=`$CC -print-prog-name=collect2`
13700 if test -f "$collect2name" &&
13701 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13703 # We have reworked collect2
13706 # We have old collect2
13707 hardcode_direct_CXX
=unsupported
13708 # It fails to find uninstalled libraries when the uninstalled
13709 # path is not listed in the libpath. Setting hardcode_minus_L
13710 # to unsupported forces relinking
13711 hardcode_minus_L_CXX
=yes
13712 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13713 hardcode_libdir_separator_CXX
=
13716 shared_flag
='-shared'
13717 if test yes = "$aix_use_runtimelinking"; then
13718 shared_flag
=$shared_flag' $wl-G'
13720 # Need to ensure runtime linking is disabled for the traditional
13721 # shared library, or the linker may eventually find shared libraries
13722 # /with/ Import File - we do not want to mix them.
13723 shared_flag_aix
='-shared'
13724 shared_flag_svr4
='-shared $wl-G'
13727 if test ia64
= "$host_cpu"; then
13728 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13729 # chokes on -Wl,-G. The following line is correct:
13732 if test yes = "$aix_use_runtimelinking"; then
13733 shared_flag
='$wl-G'
13735 shared_flag
='$wl-bM:SRE'
13737 shared_flag_aix
='$wl-bM:SRE'
13738 shared_flag_svr4
='$wl-G'
13742 export_dynamic_flag_spec_CXX
='$wl-bexpall'
13743 # It seems that -bexpall does not export symbols beginning with
13744 # underscore (_), so it is better to generate a list of symbols to
13746 always_export_symbols_CXX
=yes
13747 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13748 # Warning - without using the other runtime loading flags (-brtl),
13749 # -berok will link without error, but may produce a broken library.
13750 # The "-G" linker flag allows undefined symbols.
13751 no_undefined_flag_CXX
='-bernotok'
13752 # Determine the default libpath from the value encoded in an empty
13754 if test set = "${lt_cv_aix_libpath+set}"; then
13755 aix_libpath
=$lt_cv_aix_libpath
13757 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13758 $as_echo_n "(cached) " >&6
13760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13771 if ac_fn_cxx_try_link
"$LINENO"; then :
13773 lt_aix_libpath_sed
='
13774 /Import File Strings/,/^$/ {
13776 s/^0 *\([^ ]*\) *$/\1/
13780 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13781 # Check for a 64-bit object if we didn't find anything.
13782 if test -z "$lt_cv_aix_libpath__CXX"; then
13783 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13786 rm -f core conftest.err conftest.
$ac_objext \
13787 conftest
$ac_exeext conftest.
$ac_ext
13788 if test -z "$lt_cv_aix_libpath__CXX"; then
13789 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13794 aix_libpath
=$lt_cv_aix_libpath__CXX
13797 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13799 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
13801 if test ia64
= "$host_cpu"; then
13802 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
13803 allow_undefined_flag_CXX
="-z nodefs"
13804 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
13806 # Determine the default libpath from the value encoded in an
13807 # empty executable.
13808 if test set = "${lt_cv_aix_libpath+set}"; then
13809 aix_libpath
=$lt_cv_aix_libpath
13811 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13812 $as_echo_n "(cached) " >&6
13814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13825 if ac_fn_cxx_try_link
"$LINENO"; then :
13827 lt_aix_libpath_sed
='
13828 /Import File Strings/,/^$/ {
13830 s/^0 *\([^ ]*\) *$/\1/
13834 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13835 # Check for a 64-bit object if we didn't find anything.
13836 if test -z "$lt_cv_aix_libpath__CXX"; then
13837 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13840 rm -f core conftest.err conftest.
$ac_objext \
13841 conftest
$ac_exeext conftest.
$ac_ext
13842 if test -z "$lt_cv_aix_libpath__CXX"; then
13843 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13848 aix_libpath
=$lt_cv_aix_libpath__CXX
13851 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13852 # Warning - without using the other run time loading flags,
13853 # -berok will link without error, but may produce a broken library.
13854 no_undefined_flag_CXX
=' $wl-bernotok'
13855 allow_undefined_flag_CXX
=' $wl-berok'
13856 if test yes = "$with_gnu_ld"; then
13857 # We only use this code for GNU lds that support --whole-archive.
13858 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
13860 # Exported symbols can be pulled into shared objects from archives
13861 whole_archive_flag_spec_CXX
='$convenience'
13863 archive_cmds_need_lc_CXX
=yes
13864 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13865 # -brtl affects multiple linker settings, -berok does not and is overridden later
13866 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13867 if test svr4
!= "$with_aix_soname"; then
13868 # This is similar to how AIX traditionally builds its shared
13869 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13870 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13872 if test aix
!= "$with_aix_soname"; then
13873 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13875 # used by -dlpreopen to get the symbols
13876 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13878 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13884 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13885 allow_undefined_flag_CXX
=unsupported
13886 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13887 # support --undefined. This deserves some investigation. FIXME
13888 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13895 case $cc_basename in
13897 # FIXME: insert proper C++ library support
13903 cygwin
* | mingw
* | pw32
* | cegcc
*)
13904 case $GXX,$cc_basename in
13907 # hardcode_libdir_flag_spec is actually meaningless, as there is
13908 # no search path for DLLs.
13909 hardcode_libdir_flag_spec_CXX
=' '
13910 allow_undefined_flag_CXX
=unsupported
13911 always_export_symbols_CXX
=yes
13912 file_list_spec_CXX
='@'
13913 # Tell ltmain to make .lib files, not .a files.
13915 # Tell ltmain to make .dll files, not .so files.
13917 # FIXME: Setting linknames here is a bad hack.
13918 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13919 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13920 cp "$export_symbols" "$output_objdir/$soname.def";
13921 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13923 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13925 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13927 # The linker will not automatically build a static lib if we build a DLL.
13928 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13929 enable_shared_with_static_runtimes_CXX
=yes
13931 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13932 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13933 lt_tool_outputfile="@TOOL_OUTPUT@"~
13934 case $lt_outputfile in
13937 lt_outputfile=$lt_outputfile.exe
13938 lt_tool_outputfile=$lt_tool_outputfile.exe
13941 func_to_tool_file "$lt_outputfile"~
13942 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13943 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13944 $RM "$lt_outputfile.manifest";
13949 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13950 # as there is no search path for DLLs.
13951 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13952 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
13953 allow_undefined_flag_CXX
=unsupported
13954 always_export_symbols_CXX
=no
13955 enable_shared_with_static_runtimes_CXX
=yes
13957 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13958 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13959 # If the export-symbols file already is a .def file, use it as
13960 # is; otherwise, prepend EXPORTS...
13961 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13962 cp $export_symbols $output_objdir/$soname.def;
13964 echo EXPORTS > $output_objdir/$soname.def;
13965 cat $export_symbols >> $output_objdir/$soname.def;
13967 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13974 darwin
* | rhapsody
*)
13977 archive_cmds_need_lc_CXX
=no
13978 hardcode_direct_CXX
=no
13979 hardcode_automatic_CXX
=yes
13980 hardcode_shlibpath_var_CXX
=unsupported
13981 if test yes = "$lt_cv_ld_force_load"; then
13982 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13985 whole_archive_flag_spec_CXX
=''
13987 link_all_deplibs_CXX
=yes
13988 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
13989 case $cc_basename in
13990 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
13991 *) _lt_dar_can_shared
=$GCC ;;
13993 if test yes = "$_lt_dar_can_shared"; then
13994 output_verbose_link_cmd
=func_echo_all
13995 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
13996 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13997 archive_expsym_cmds_CXX
="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
13998 module_expsym_cmds_CXX
="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
13999 if test yes != "$lt_cv_apple_cc_single_mod"; then
14000 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
14001 archive_expsym_cmds_CXX
="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
14011 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14012 hardcode_minus_L_CXX
=yes
14013 allow_undefined_flag_CXX
=unsupported
14015 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14016 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14017 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14018 $ECHO EXPORTS >> $output_objdir/$libname.def~
14019 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14020 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14021 emximp -o $lib $output_objdir/$libname.def'
14022 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14023 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14024 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14025 $ECHO EXPORTS >> $output_objdir/$libname.def~
14026 prefix_cmds="$SED"~
14027 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14028 prefix_cmds="$prefix_cmds -e 1d";
14030 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14031 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14032 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14033 emximp -o $lib $output_objdir/$libname.def'
14034 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14035 enable_shared_with_static_runtimes_CXX
=yes
14039 case $cc_basename in
14041 # FIXME: insert proper C++ library support
14045 # Green Hills C++ Compiler
14046 # FIXME: insert proper C++ library support
14050 # FIXME: insert proper C++ library support
14057 # C++ shared libraries reported to be fairly broken before
14063 archive_cmds_need_lc_CXX
=no
14066 freebsd
* | dragonfly
*)
14067 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14073 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14074 link_all_deplibs_CXX
=yes
14078 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14079 hardcode_libdir_separator_CXX
=:
14080 export_dynamic_flag_spec_CXX
='$wl-E'
14081 hardcode_direct_CXX
=yes
14082 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14083 # but as the default
14084 # location of the library.
14086 case $cc_basename in
14088 # FIXME: insert proper C++ library support
14092 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14093 # Commands to make compiler produce verbose output that lists
14094 # what "hidden" libraries, object files and flags are used when
14095 # linking a shared library.
14097 # There doesn't appear to be a way to prevent this compiler from
14098 # explicitly linking system object files so we need to strip them
14099 # from the output so that they don't get included in the library
14101 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14104 if test yes = "$GXX"; then
14105 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14107 # FIXME: insert proper C++ library support
14115 if test no
= "$with_gnu_ld"; then
14116 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14117 hardcode_libdir_separator_CXX
=:
14123 export_dynamic_flag_spec_CXX
='$wl-E'
14129 hardcode_direct_CXX
=no
14130 hardcode_shlibpath_var_CXX
=no
14133 hardcode_direct_CXX
=yes
14134 hardcode_direct_absolute_CXX
=yes
14135 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14136 # but as the default
14137 # location of the library.
14141 case $cc_basename in
14143 # FIXME: insert proper C++ library support
14149 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14152 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14155 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14158 # Commands to make compiler produce verbose output that lists
14159 # what "hidden" libraries, object files and flags are used when
14160 # linking a shared library.
14162 # There doesn't appear to be a way to prevent this compiler from
14163 # explicitly linking system object files so we need to strip them
14164 # from the output so that they don't get included in the library
14166 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14169 if test yes = "$GXX"; then
14170 if test no
= "$with_gnu_ld"; then
14173 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14176 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14179 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14184 # FIXME: insert proper C++ library support
14192 hardcode_direct_CXX
=no
14193 hardcode_shlibpath_var_CXX
=no
14194 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14195 export_dynamic_flag_spec_CXX
='$wl-E'
14196 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14197 # Instead, shared libraries are loaded at an image base (0x10000000 by
14198 # default) and relocated if they conflict, which is a slow very memory
14199 # consuming and fragmenting process. To avoid this, we pick a random,
14200 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14201 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14202 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14203 archive_expsym_cmds_CXX
='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14206 case $cc_basename in
14209 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14211 # Archives containing C++ object files must be created using
14212 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14213 # necessary to make sure instantiated templates are included
14215 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14218 if test yes = "$GXX"; then
14219 if test no
= "$with_gnu_ld"; then
14220 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14222 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
14225 link_all_deplibs_CXX
=yes
14228 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14229 hardcode_libdir_separator_CXX
=:
14230 inherit_rpath_CXX
=yes
14233 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14234 case $cc_basename in
14236 # Kuck and Associates, Inc. (KAI) C++ Compiler
14238 # KCC will only create a shared library if the output file
14239 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14240 # to its proper name (with version) after linking.
14241 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14242 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
14243 # Commands to make compiler produce verbose output that lists
14244 # what "hidden" libraries, object files and flags are used when
14245 # linking a shared library.
14247 # There doesn't appear to be a way to prevent this compiler from
14248 # explicitly linking system object files so we need to strip them
14249 # from the output so that they don't get included in the library
14251 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14253 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14254 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14256 # Archives containing C++ object files must be created using
14257 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14258 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14263 # version 8.0 and above of icpc choke on multiply defined symbols
14264 # if we add $predep_objects and $postdep_objects, however 7.1 and
14265 # earlier do not add the objects themselves.
14266 case `$CC -V 2>&1` in
14268 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14269 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14271 *) # Version 8.0 or newer
14274 ia64
*) tmp_idyn
=' -i_dynamic';;
14276 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14277 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14280 archive_cmds_need_lc_CXX
=no
14281 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14282 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14283 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14286 # Portland Group C++ compiler
14288 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
14289 prelink_cmds_CXX
='tpldir=Template.dir~
14291 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14292 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14293 old_archive_cmds_CXX
='tpldir=Template.dir~
14295 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14296 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14298 archive_cmds_CXX
='tpldir=Template.dir~
14300 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14301 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14302 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14304 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14305 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14307 *) # Version 6 and above use weak symbols
14308 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14309 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14313 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
14314 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14315 whole_archive_flag_spec_CXX
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14319 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14320 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
14322 runpath_var
=LD_RUN_PATH
14323 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14324 hardcode_libdir_separator_CXX
=:
14326 # Commands to make compiler produce verbose output that lists
14327 # what "hidden" libraries, object files and flags are used when
14328 # linking a shared library.
14330 # There doesn't appear to be a way to prevent this compiler from
14331 # explicitly linking system object files so we need to strip them
14332 # from the output so that they don't get included in the library
14334 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14336 xl
* | mpixl
* | bgxl
*)
14337 # IBM XL 8.0 on PPC, with GNU ld
14338 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14339 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14340 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14341 if test yes = "$supports_anon_versioning"; then
14342 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14343 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14344 echo "local: *; };" >> $output_objdir/$libname.ver~
14345 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14349 case `$CC -V 2>&1 | sed 5q` in
14352 no_undefined_flag_CXX
=' -zdefs'
14353 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14354 archive_expsym_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
14355 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14356 whole_archive_flag_spec_CXX
='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14357 compiler_needs_object_CXX
=yes
14359 # Not sure whether something based on
14360 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14362 output_verbose_link_cmd
='func_echo_all'
14364 # Archives containing C++ object files must be created using
14365 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14366 # necessary to make sure instantiated templates are included
14368 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14376 # FIXME: insert proper C++ library support
14381 # FIXME: insert proper C++ library support
14386 case $cc_basename in
14388 # FIXME: insert proper C++ library support
14392 # FIXME: insert proper C++ library support
14399 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14400 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14402 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14403 hardcode_direct_CXX
=yes
14404 hardcode_shlibpath_var_CXX
=no
14406 # Workaround some broken pre-1.5 toolchains
14407 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14414 openbsd
* | bitrig
*)
14415 if test -f /usr
/libexec
/ld.so
; then
14416 hardcode_direct_CXX
=yes
14417 hardcode_shlibpath_var_CXX
=no
14418 hardcode_direct_absolute_CXX
=yes
14419 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14420 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14421 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14422 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14423 export_dynamic_flag_spec_CXX
='$wl-E'
14424 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14426 output_verbose_link_cmd
=func_echo_all
14432 osf3
* | osf4
* | osf5
*)
14433 case $cc_basename in
14435 # Kuck and Associates, Inc. (KAI) C++ Compiler
14437 # KCC will only create a shared library if the output file
14438 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14439 # to its proper name (with version) after linking.
14440 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14442 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14443 hardcode_libdir_separator_CXX
=:
14445 # Archives containing C++ object files must be created using
14446 # the KAI C++ compiler.
14448 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14449 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14453 # Rational C++ 2.4.1
14454 # FIXME: insert proper C++ library support
14460 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14461 archive_cmds_CXX
='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14462 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14465 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14466 archive_cmds_CXX
='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
14467 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14468 echo "-hidden">> $lib.exp~
14469 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
14471 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14475 hardcode_libdir_separator_CXX
=:
14477 # Commands to make compiler produce verbose output that lists
14478 # what "hidden" libraries, object files and flags are used when
14479 # linking a shared library.
14481 # There doesn't appear to be a way to prevent this compiler from
14482 # explicitly linking system object files so we need to strip them
14483 # from the output so that they don't get included in the library
14485 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14488 if test yes,no
= "$GXX,$with_gnu_ld"; then
14489 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14492 archive_cmds_CXX
='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14495 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14499 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14500 hardcode_libdir_separator_CXX
=:
14502 # Commands to make compiler produce verbose output that lists
14503 # what "hidden" libraries, object files and flags are used when
14504 # linking a shared library.
14505 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14508 # FIXME: insert proper C++ library support
14516 # FIXME: insert proper C++ library support
14521 case $cc_basename in
14524 # FIXME: insert proper C++ library support
14529 # FIXME: insert proper C++ library support
14533 # FIXME: insert proper C++ library support
14540 case $cc_basename in
14542 # Sun C++ 4.2, 5.x and Centerline C++
14543 archive_cmds_need_lc_CXX
=yes
14544 no_undefined_flag_CXX
=' -zdefs'
14545 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14546 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14547 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14549 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14550 hardcode_shlibpath_var_CXX
=no
14552 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14554 # The compiler driver will combine and reorder linker options,
14555 # but understands '-z linker_flag'.
14556 # Supported since Solaris 2.6 (maybe 2.5.1?)
14557 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14560 link_all_deplibs_CXX
=yes
14562 output_verbose_link_cmd
='func_echo_all'
14564 # Archives containing C++ object files must be created using
14565 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14566 # necessary to make sure instantiated templates are included
14568 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14571 # Green Hills C++ Compiler
14572 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14574 # The C++ compiler must be used to create the archive.
14575 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14578 # GNU C++ compiler with Solaris linker
14579 if test yes,no
= "$GXX,$with_gnu_ld"; then
14580 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
14581 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14582 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14583 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14584 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14586 # Commands to make compiler produce verbose output that lists
14587 # what "hidden" libraries, object files and flags are used when
14588 # linking a shared library.
14589 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14591 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14593 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14594 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14595 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14597 # Commands to make compiler produce verbose output that lists
14598 # what "hidden" libraries, object files and flags are used when
14599 # linking a shared library.
14600 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14603 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
14605 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14607 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14615 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14616 no_undefined_flag_CXX
='$wl-z,text'
14617 archive_cmds_need_lc_CXX
=no
14618 hardcode_shlibpath_var_CXX
=no
14619 runpath_var
='LD_RUN_PATH'
14621 case $cc_basename in
14623 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14624 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14627 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14628 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14633 sysv5
* | sco3.2v5
* | sco5v6
*)
14634 # Note: We CANNOT use -z defs as we might desire, because we do not
14635 # link with -lc, and that would cause any symbols used from libc to
14636 # always be unresolved, which means just about no library would
14637 # ever link correctly. If we're not using GNU ld we use -z text
14638 # though, which does catch some bad symbols but isn't as heavy-handed
14640 no_undefined_flag_CXX
='$wl-z,text'
14641 allow_undefined_flag_CXX
='$wl-z,nodefs'
14642 archive_cmds_need_lc_CXX
=no
14643 hardcode_shlibpath_var_CXX
=no
14644 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
14645 hardcode_libdir_separator_CXX
=':'
14646 link_all_deplibs_CXX
=yes
14647 export_dynamic_flag_spec_CXX
='$wl-Bexport'
14648 runpath_var
='LD_RUN_PATH'
14650 case $cc_basename in
14652 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14653 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14654 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14655 '"$old_archive_cmds_CXX"
14656 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14657 '"$reload_cmds_CXX"
14660 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14661 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14667 case $cc_basename in
14669 # NonStop-UX NCC 3.20
14670 # FIXME: insert proper C++ library support
14674 # FIXME: insert proper C++ library support
14681 # FIXME: insert proper C++ library support
14686 # FIXME: insert proper C++ library support
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14692 $as_echo "$ld_shlibs_CXX" >&6; }
14693 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
14699 ## There is no encapsulation within the following macros, do not change
14700 ## the running order or otherwise move them around unless you know exactly
14701 ## what you are doing...
14702 # Dependencies to place before and after the object being linked:
14703 predep_objects_CXX
=
14704 postdep_objects_CXX
=
14707 compiler_lib_search_path_CXX
=
14709 cat > conftest.
$ac_ext <<_LT_EOF
14713 Foo (void) { a = 0; }
14720 _lt_libdeps_save_CFLAGS
=$CFLAGS
14721 case "$CC $CFLAGS " in #(
14722 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14723 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14724 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14728 (eval $ac_compile) 2>&5
14730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14731 test $ac_status = 0; }; then
14732 # Parse the compiler output and extract the necessary
14733 # objects, libraries and library flags.
14735 # Sentinel used to keep track of whether or not we are before
14736 # the conftest object file.
14737 pre_test_object_deps_done
=no
14739 for p
in `eval "$output_verbose_link_cmd"`; do
14743 # Some compilers place space between "-{L,R}" and the path.
14744 # Remove the space.
14745 if test x
-L = "$p" ||
14746 test x
-R = "$p"; then
14751 # Expand the sysroot to ease extracting the directories later.
14752 if test -z "$prev"; then
14754 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14755 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14756 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14760 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14762 if test no
= "$pre_test_object_deps_done"; then
14765 # Internal compiler library paths should come after those
14766 # provided the user. The postdeps already come after the
14767 # user supplied libs so there is no need to process them.
14768 if test -z "$compiler_lib_search_path_CXX"; then
14769 compiler_lib_search_path_CXX
=$prev$p
14771 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
14774 # The "-l" case would never come before the object being
14775 # linked, so don't bother handling this case.
14778 if test -z "$postdeps_CXX"; then
14779 postdeps_CXX
=$prev$p
14781 postdeps_CXX
="${postdeps_CXX} $prev$p"
14787 *.lto.
$objext) ;; # Ignore GCC LTO objects
14789 # This assumes that the test object file only shows up
14790 # once in the compiler output.
14791 if test "$p" = "conftest.$objext"; then
14792 pre_test_object_deps_done
=yes
14796 if test no
= "$pre_test_object_deps_done"; then
14797 if test -z "$predep_objects_CXX"; then
14798 predep_objects_CXX
=$p
14800 predep_objects_CXX
="$predep_objects_CXX $p"
14803 if test -z "$postdep_objects_CXX"; then
14804 postdep_objects_CXX
=$p
14806 postdep_objects_CXX
="$postdep_objects_CXX $p"
14811 *) ;; # Ignore the rest.
14819 echo "libtool.m4: error: problem compiling CXX test program"
14822 $RM -f confest.
$objext
14823 CFLAGS
=$_lt_libdeps_save_CFLAGS
14825 # PORTME: override above test on systems where it is broken
14828 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14829 # hack all around it, let's just trust "g++" to DTRT.
14830 predep_objects_CXX
=
14831 postdep_objects_CXX
=
14837 case " $postdeps_CXX " in
14838 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14840 compiler_lib_search_dirs_CXX
=
14841 if test -n "${compiler_lib_search_path_CXX}"; then
14842 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14875 lt_prog_compiler_wl_CXX
=
14876 lt_prog_compiler_pic_CXX
=
14877 lt_prog_compiler_static_CXX
=
14880 # C++ specific cases for pic, static, wl, etc.
14881 if test yes = "$GXX"; then
14882 lt_prog_compiler_wl_CXX
='-Wl,'
14883 lt_prog_compiler_static_CXX
='-static'
14887 # All AIX code is PIC.
14888 if test ia64
= "$host_cpu"; then
14889 # AIX 5 now supports IA64 processor
14890 lt_prog_compiler_static_CXX
='-Bstatic'
14892 lt_prog_compiler_pic_CXX
='-fPIC'
14898 # see comment about AmigaOS4 .so support
14899 lt_prog_compiler_pic_CXX
='-fPIC'
14902 # FIXME: we need at least 68020 code to build shared libraries, but
14903 # adding the '-m68020' flag to GCC prevents building anything better,
14905 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14910 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14911 # PIC is the default for these OSes.
14913 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14914 # This hack is so that the source file can tell whether it is being
14915 # built for inclusion in a dll (and should export symbols for example).
14916 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14917 # (--disable-auto-import) libraries
14918 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14921 lt_prog_compiler_static_CXX
='$wl-static'
14925 darwin
* | rhapsody
*)
14926 # PIC is the default on this platform
14927 # Common symbols not allowed in MH_DYLIB files
14928 lt_prog_compiler_pic_CXX
='-fno-common'
14931 # DJGPP does not support shared libraries at all
14932 lt_prog_compiler_pic_CXX
=
14935 # PIC is the default for Haiku.
14936 # The "-static" flag exists, but is broken.
14937 lt_prog_compiler_static_CXX
=
14940 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14941 # Instead, we relocate shared libraries at runtime.
14944 if test -d /usr
/nec
; then
14945 lt_prog_compiler_pic_CXX
=-Kconform_pic
14949 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14950 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14951 # sets the default TLS model and affects inlining.
14956 lt_prog_compiler_pic_CXX
='-fPIC'
14961 # QNX uses GNU C++, but need to define -shared option too, otherwise
14962 # it will coredump.
14963 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14966 lt_prog_compiler_pic_CXX
='-fPIC'
14972 # All AIX code is PIC.
14973 if test ia64
= "$host_cpu"; then
14974 # AIX 5 now supports IA64 processor
14975 lt_prog_compiler_static_CXX
='-Bstatic'
14977 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14981 case $cc_basename in
14983 # Green Hills C++ Compiler
14984 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14988 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14989 # This hack is so that the source file can tell whether it is being
14990 # built for inclusion in a dll (and should export symbols for example).
14991 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14994 case $cc_basename in
14996 lt_prog_compiler_pic_CXX
='-KPIC'
14999 # Green Hills C++ Compiler
15000 lt_prog_compiler_pic_CXX
='-pic'
15006 freebsd
* | dragonfly
*)
15007 # FreeBSD uses GNU C++
15009 hpux9
* | hpux10
* | hpux11
*)
15010 case $cc_basename in
15012 lt_prog_compiler_wl_CXX
='-Wl,'
15013 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15014 if test ia64
!= "$host_cpu"; then
15015 lt_prog_compiler_pic_CXX
='+Z'
15019 lt_prog_compiler_wl_CXX
='-Wl,'
15020 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15026 lt_prog_compiler_pic_CXX
='+Z'
15035 # This is c89, which is MS Visual C++ (no shared libs)
15036 # Anyone wants to do a port?
15038 irix5
* | irix6
* | nonstopux
*)
15039 case $cc_basename in
15041 lt_prog_compiler_wl_CXX
='-Wl,'
15042 lt_prog_compiler_static_CXX
='-non_shared'
15043 # CC pic flag -KPIC is the default.
15049 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15050 case $cc_basename in
15053 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15054 lt_prog_compiler_pic_CXX
='-fPIC'
15057 # old Intel C++ for x86_64, which still supported -KPIC.
15058 lt_prog_compiler_wl_CXX
='-Wl,'
15059 lt_prog_compiler_pic_CXX
='-KPIC'
15060 lt_prog_compiler_static_CXX
='-static'
15063 # Intel C++, used to be incompatible with GCC.
15064 # ICC 10 doesn't accept -KPIC any more.
15065 lt_prog_compiler_wl_CXX
='-Wl,'
15066 lt_prog_compiler_pic_CXX
='-fPIC'
15067 lt_prog_compiler_static_CXX
='-static'
15070 # Portland Group C++ compiler
15071 lt_prog_compiler_wl_CXX
='-Wl,'
15072 lt_prog_compiler_pic_CXX
='-fpic'
15073 lt_prog_compiler_static_CXX
='-Bstatic'
15077 # Make sure the PIC flag is empty. It appears that all Alpha
15078 # Linux and Compaq Tru64 Unix objects are PIC.
15079 lt_prog_compiler_pic_CXX
=
15080 lt_prog_compiler_static_CXX
='-non_shared'
15082 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15083 # IBM XL 8.0, 9.0 on PPC and BlueGene
15084 lt_prog_compiler_wl_CXX
='-Wl,'
15085 lt_prog_compiler_pic_CXX
='-qpic'
15086 lt_prog_compiler_static_CXX
='-qstaticlink'
15089 case `$CC -V 2>&1 | sed 5q` in
15092 lt_prog_compiler_pic_CXX
='-KPIC'
15093 lt_prog_compiler_static_CXX
='-Bstatic'
15094 lt_prog_compiler_wl_CXX
='-Qoption ld '
15105 case $cc_basename in
15107 lt_prog_compiler_pic_CXX
='-W c,exportall'
15116 # QNX uses GNU C++, but need to define -shared option too, otherwise
15117 # it will coredump.
15118 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15120 osf3
* | osf4
* | osf5
*)
15121 case $cc_basename in
15123 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15126 # Rational C++ 2.4.1
15127 lt_prog_compiler_pic_CXX
='-pic'
15130 # Digital/Compaq C++
15131 lt_prog_compiler_wl_CXX
='-Wl,'
15132 # Make sure the PIC flag is empty. It appears that all Alpha
15133 # Linux and Compaq Tru64 Unix objects are PIC.
15134 lt_prog_compiler_pic_CXX
=
15135 lt_prog_compiler_static_CXX
='-non_shared'
15144 case $cc_basename in
15146 # Sun C++ 4.2, 5.x and Centerline C++
15147 lt_prog_compiler_pic_CXX
='-KPIC'
15148 lt_prog_compiler_static_CXX
='-Bstatic'
15149 lt_prog_compiler_wl_CXX
='-Qoption ld '
15152 # Green Hills C++ Compiler
15153 lt_prog_compiler_pic_CXX
='-PIC'
15160 case $cc_basename in
15163 lt_prog_compiler_pic_CXX
='-pic'
15164 lt_prog_compiler_static_CXX
='-Bstatic'
15168 lt_prog_compiler_pic_CXX
='-pic'
15174 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15175 case $cc_basename in
15177 lt_prog_compiler_wl_CXX
='-Wl,'
15178 lt_prog_compiler_pic_CXX
='-KPIC'
15179 lt_prog_compiler_static_CXX
='-Bstatic'
15184 case $cc_basename in
15186 # NonStop-UX NCC 3.20
15187 lt_prog_compiler_pic_CXX
='-KPIC'
15196 lt_prog_compiler_can_build_shared_CXX
=no
15202 # For platforms that do not support PIC, -DPIC is meaningless:
15204 lt_prog_compiler_pic_CXX
=
15207 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15213 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
15214 $as_echo_n "(cached) " >&6
15216 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15219 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15220 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
15223 # Check to make sure the PIC flag actually works.
15225 if test -n "$lt_prog_compiler_pic_CXX"; then
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15227 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15228 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
15229 $as_echo_n "(cached) " >&6
15231 lt_cv_prog_compiler_pic_works_CXX
=no
15232 ac_outfile
=conftest.
$ac_objext
15233 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15234 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15235 # Insert the option either (1) after the last *FLAGS variable, or
15236 # (2) before a word containing "conftest.", or (3) at the end.
15237 # Note that $ac_compile itself does not contain backslashes and begins
15238 # with a dollar sign (not a hyphen), so the echo should work correctly.
15239 # The option is referenced via a variable to avoid confusing sed.
15240 lt_compile
=`echo "$ac_compile" | $SED \
15241 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15242 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15243 -e 's:$: $lt_compiler_flag:'`
15244 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15245 (eval "$lt_compile" 2>conftest.err
)
15247 cat conftest.err
>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 if (exit $ac_status) && test -s "$ac_outfile"; then
15250 # The compiler can only warn and ignore the option if not recognized
15251 # So say no if there are warnings other than the usual output.
15252 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15253 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15254 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15255 lt_cv_prog_compiler_pic_works_CXX
=yes
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15262 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15264 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15265 case $lt_prog_compiler_pic_CXX in
15267 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15270 lt_prog_compiler_pic_CXX
=
15271 lt_prog_compiler_can_build_shared_CXX
=no
15281 # Check to make sure the static flag actually works.
15283 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15285 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15286 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
15287 $as_echo_n "(cached) " >&6
15289 lt_cv_prog_compiler_static_works_CXX
=no
15290 save_LDFLAGS
=$LDFLAGS
15291 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15292 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15293 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15294 # The linker can only warn and ignore the option if not recognized
15295 # So say no if there are warnings
15296 if test -s conftest.err
; then
15297 # Append any errors to the config.log.
15298 cat conftest.err
1>&5
15299 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15300 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15301 if diff conftest.exp conftest.er2
>/dev
/null
; then
15302 lt_cv_prog_compiler_static_works_CXX
=yes
15305 lt_cv_prog_compiler_static_works_CXX
=yes
15309 LDFLAGS
=$save_LDFLAGS
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15313 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15315 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15318 lt_prog_compiler_static_CXX
=
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15325 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15326 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15327 $as_echo_n "(cached) " >&6
15329 lt_cv_prog_compiler_c_o_CXX
=no
15330 $RM -r conftest
2>/dev
/null
15334 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15336 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15337 # Insert the option either (1) after the last *FLAGS variable, or
15338 # (2) before a word containing "conftest.", or (3) at the end.
15339 # Note that $ac_compile itself does not contain backslashes and begins
15340 # with a dollar sign (not a hyphen), so the echo should work correctly.
15341 lt_compile
=`echo "$ac_compile" | $SED \
15342 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15343 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15344 -e 's:$: $lt_compiler_flag:'`
15345 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15346 (eval "$lt_compile" 2>out
/conftest.err
)
15348 cat out
/conftest.err
>&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15352 # The compiler can only warn and ignore the option if not recognized
15353 # So say no if there are warnings
15354 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15355 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15356 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15357 lt_cv_prog_compiler_c_o_CXX
=yes
15362 # SGI C++ compiler will create directory out/ii_files/ for
15363 # template instantiation
15364 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15365 $RM out
/* && rmdir out
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15372 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15377 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15378 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15379 $as_echo_n "(cached) " >&6
15381 lt_cv_prog_compiler_c_o_CXX
=no
15382 $RM -r conftest
2>/dev
/null
15386 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15388 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15389 # Insert the option either (1) after the last *FLAGS variable, or
15390 # (2) before a word containing "conftest.", or (3) at the end.
15391 # Note that $ac_compile itself does not contain backslashes and begins
15392 # with a dollar sign (not a hyphen), so the echo should work correctly.
15393 lt_compile
=`echo "$ac_compile" | $SED \
15394 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15395 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15396 -e 's:$: $lt_compiler_flag:'`
15397 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15398 (eval "$lt_compile" 2>out
/conftest.err
)
15400 cat out
/conftest.err
>&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15404 # The compiler can only warn and ignore the option if not recognized
15405 # So say no if there are warnings
15406 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15407 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15408 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15409 lt_cv_prog_compiler_c_o_CXX
=yes
15414 # SGI C++ compiler will create directory out/ii_files/ for
15415 # template instantiation
15416 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15417 $RM out
/* && rmdir out
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15424 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15429 hard_links
=nottested
15430 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
15431 # do not overwrite the value of need_locks provided by the user
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15433 $as_echo_n "checking if we can lock with hard links... " >&6; }
15436 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15438 ln conftest.a conftest.b
2>&5 || hard_links
=no
15439 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15441 $as_echo "$hard_links" >&6; }
15442 if test no
= "$hard_links"; then
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15444 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15454 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15456 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15457 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15460 # If we're using GNU nm, then we don't want the "-C" option.
15461 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15462 # Without the "-l" option, or with the "-B" option, AIX nm treats
15463 # weak defined symbols like other global defined symbols, whereas
15464 # GNU nm marks them as "W".
15465 # While the 'weak' keyword is ignored in the Export File, we need
15466 # it in the Import File for the 'aix-soname' feature, so we have
15467 # to replace the "-B" option with "-P" for AIX nm.
15468 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
15469 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15471 export_symbols_cmds_CXX
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15475 export_symbols_cmds_CXX
=$ltdll_cmds
15477 cygwin
* | mingw
* | cegcc
*)
15478 case $cc_basename in
15480 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15483 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15484 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15489 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15494 $as_echo "$ld_shlibs_CXX" >&6; }
15495 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15497 with_gnu_ld_CXX
=$with_gnu_ld
15505 # Do we need to explicitly link libc?
15507 case "x$archive_cmds_need_lc_CXX" in
15509 # Assume -lc should be added
15510 archive_cmds_need_lc_CXX
=yes
15512 if test yes,yes = "$GCC,$enable_shared"; then
15513 case $archive_cmds_CXX in
15515 # FIXME: we may have to deal with multi-command sequences.
15518 # Test whether the compiler implicitly links with -lc since on some
15519 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15520 # to ld, don't add -lc before -lgcc.
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15522 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15523 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15524 $as_echo_n "(cached) " >&6
15527 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15530 (eval $ac_compile) 2>&5
15532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15533 test $ac_status = 0; } 2>conftest.err
; then
15536 libobjs
=conftest.
$ac_objext
15538 wl
=$lt_prog_compiler_wl_CXX
15539 pic_flag
=$lt_prog_compiler_pic_CXX
15545 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15546 allow_undefined_flag_CXX
=
15547 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15548 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15551 test $ac_status = 0; }
15553 lt_cv_archive_cmds_need_lc_CXX
=no
15555 lt_cv_archive_cmds_need_lc_CXX
=yes
15557 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15559 cat conftest.err
1>&5
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15565 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15566 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15635 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15637 library_names_spec
=
15638 libname_spec
='lib$name'
15642 postuninstall_cmds
=
15646 shlibpath_overrides_runpath
=unknown
15648 dynamic_linker
="$host_os ld.so"
15649 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15650 need_lib_prefix
=unknown
15651 hardcode_into_libs
=no
15653 # when you set need_version to no, make sure it does not cause -set_version
15654 # flags to be left without arguments
15655 need_version
=unknown
15661 version_type
=linux
# correct to gnu/linux during the next big refactor
15662 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
15663 shlibpath_var
=LIBPATH
15665 # AIX 3 has no versioning support, so we append a major version to the name.
15666 soname_spec
='$libname$release$shared_ext$major'
15670 version_type
=linux
# correct to gnu/linux during the next big refactor
15673 hardcode_into_libs
=yes
15674 if test ia64
= "$host_cpu"; then
15675 # AIX 5 supports IA64
15676 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15677 shlibpath_var
=LD_LIBRARY_PATH
15679 # With GCC up to 2.95.x, collect2 would create an import file
15680 # for dependence libraries. The import file would start with
15681 # the line '#! .'. This would cause the generated library to
15682 # depend on '.', always an invalid library. This was fixed in
15683 # development snapshots of GCC prior to 3.0.
15685 aix4
| aix4.
[01] | aix4.
[01].
*)
15686 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15688 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
15691 can_build_shared
=no
15695 # Using Import Files as archive members, it is possible to support
15696 # filename-based versioning of shared library archives on AIX. While
15697 # this would work for both with and without runtime linking, it will
15698 # prevent static linking of such archives. So we do filename-based
15699 # shared library versioning with .so extension only, which is used
15700 # when both runtime linking and shared linking is enabled.
15701 # Unfortunately, runtime linking may impact performance, so we do
15702 # not want this to be the default eventually. Also, we use the
15703 # versioned .so libs for executables only if there is the -brtl
15704 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15705 # To allow for filename-based versioning support, we need to create
15706 # libNAME.so.V as an archive file, containing:
15707 # *) an Import File, referring to the versioned filename of the
15708 # archive as well as the shared archive member, telling the
15709 # bitwidth (32 or 64) of that shared object, and providing the
15710 # list of exported symbols of that shared object, eventually
15711 # decorated with the 'weak' keyword
15712 # *) the shared object with the F_LOADONLY flag set, to really avoid
15713 # it being seen by the linker.
15714 # At run time we better use the real file rather than another symlink,
15715 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15717 case $with_aix_soname,$aix_use_runtimelinking in
15718 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15719 # soname into executable. Probably we can add versioning support to
15720 # collect2, so additional links can be useful in future.
15721 aix
,yes) # traditional libtool
15722 dynamic_linker
='AIX unversionable lib.so'
15723 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15724 # instead of lib<name>.a to let people know that these are not
15725 # typical AIX shared libraries.
15726 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15728 aix
,no
) # traditional AIX only
15729 dynamic_linker
='AIX lib.a(lib.so.V)'
15730 # We preserve .a as extension for shared libraries through AIX4.2
15731 # and later when we are not doing run time linking.
15732 library_names_spec
='$libname$release.a $libname.a'
15733 soname_spec
='$libname$release$shared_ext$major'
15735 svr4
,*) # full svr4 only
15736 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
15737 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15738 # We do not specify a path in Import Files, so LIBPATH fires.
15739 shlibpath_overrides_runpath
=yes
15741 *,yes) # both, prefer svr4
15742 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15743 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15744 # unpreferred sharedlib libNAME.a needs extra handling
15745 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15746 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15747 # We do not specify a path in Import Files, so LIBPATH fires.
15748 shlibpath_overrides_runpath
=yes
15750 *,no
) # both, prefer aix
15751 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15752 library_names_spec
='$libname$release.a $libname.a'
15753 soname_spec
='$libname$release$shared_ext$major'
15754 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15755 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15756 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15759 shlibpath_var
=LIBPATH
15766 # Since July 2007 AmigaOS4 officially supports .so libraries.
15767 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15768 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15771 library_names_spec
='$libname.ixlibrary $libname.a'
15772 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15773 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15779 library_names_spec
='$libname$shared_ext'
15780 dynamic_linker
="$host_os ld.so"
15781 shlibpath_var
=LIBRARY_PATH
15785 version_type
=linux
# correct to gnu/linux during the next big refactor
15787 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15788 soname_spec
='$libname$release$shared_ext$major'
15789 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15790 shlibpath_var
=LD_LIBRARY_PATH
15791 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15792 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15793 # the default ld.so.conf also contains /usr/contrib/lib and
15794 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15795 # libtool to hard-code these into programs
15798 cygwin
* | mingw
* | pw32
* | cegcc
*)
15799 version_type
=windows
15804 case $GCC,$cc_basename in
15807 library_names_spec
='$libname.dll.a'
15808 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15809 postinstall_cmds
='base_file=`basename \$file`~
15810 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15811 dldir=$destdir/`dirname \$dlpath`~
15812 test -d \$dldir || mkdir -p \$dldir~
15813 $install_prog $dir/$dlname \$dldir/$dlname~
15814 chmod a+x \$dldir/$dlname~
15815 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15816 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15818 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15819 dlpath=$dir/\$dldll~
15821 shlibpath_overrides_runpath
=yes
15825 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15826 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15830 # MinGW DLLs use traditional 'lib' prefix
15831 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15834 # pw32 DLLs use 'pw' prefix rather than 'lib'
15835 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15838 dynamic_linker
='Win32 ld.exe'
15843 libname_spec
='$name'
15844 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15845 library_names_spec
='$libname.dll.lib'
15849 sys_lib_search_path_spec
=
15852 for lt_path
in $LIB
15855 # Let DOS variable expansion print the short 8.3 style file name.
15856 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15857 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15860 # Convert to MSYS style.
15861 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15864 # Convert to unix form, then to dos form, then back to unix form
15865 # but this time dos style (no spaces!) so that the unix form looks
15866 # like /cygdrive/c/PROGRA~1:/cygdr...
15867 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15868 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15869 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15872 sys_lib_search_path_spec
=$LIB
15873 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15874 # It is most probably a Windows format PATH.
15875 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15877 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15879 # FIXME: find the short name or the path components, as spaces are
15880 # common. (e.g. "Program Files" -> "PROGRA~1")
15884 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15885 postinstall_cmds
='base_file=`basename \$file`~
15886 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15887 dldir=$destdir/`dirname \$dlpath`~
15888 test -d \$dldir || mkdir -p \$dldir~
15889 $install_prog $dir/$dlname \$dldir/$dlname'
15890 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15891 dlpath=$dir/\$dldll~
15893 shlibpath_overrides_runpath
=yes
15894 dynamic_linker
='Win32 link.exe'
15898 # Assume MSVC wrapper
15899 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
15900 dynamic_linker
='Win32 ld.exe'
15903 # FIXME: first we should search . and the directory the executable is in
15907 darwin
* | rhapsody
*)
15908 dynamic_linker
="$host_os dyld"
15909 version_type
=darwin
15912 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
15913 soname_spec
='$libname$release$major$shared_ext'
15914 shlibpath_overrides_runpath
=yes
15915 shlibpath_var
=DYLD_LIBRARY_PATH
15916 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15918 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15922 version_type
=linux
# correct to gnu/linux during the next big refactor
15925 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15926 soname_spec
='$libname$release$shared_ext$major'
15927 shlibpath_var
=LD_LIBRARY_PATH
15930 freebsd
* | dragonfly
*)
15931 # DragonFly does not have aout. When/if they implement a new
15932 # versioning mechanism, adjust this.
15933 if test -x /usr
/bin
/objformat
; then
15934 objformat
=`/usr/bin/objformat`
15937 freebsd
[23].
*) objformat
=aout
;;
15938 *) objformat
=elf
;;
15941 version_type
=freebsd
-$objformat
15942 case $version_type in
15944 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15945 soname_spec
='$libname$release$shared_ext$major'
15950 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15954 shlibpath_var
=LD_LIBRARY_PATH
15957 shlibpath_overrides_runpath
=yes
15959 freebsd3.
[01]* | freebsdelf3.
[01]*)
15960 shlibpath_overrides_runpath
=yes
15961 hardcode_into_libs
=yes
15963 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15964 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15965 shlibpath_overrides_runpath
=no
15966 hardcode_into_libs
=yes
15968 *) # from 4.6 on, and DragonFly
15969 shlibpath_overrides_runpath
=yes
15970 hardcode_into_libs
=yes
15976 version_type
=linux
# correct to gnu/linux during the next big refactor
15979 dynamic_linker
="$host_os runtime_loader"
15980 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15981 soname_spec
='$libname$release$shared_ext$major'
15982 shlibpath_var
=LIBRARY_PATH
15983 shlibpath_overrides_runpath
=no
15984 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15985 hardcode_into_libs
=yes
15988 hpux9
* | hpux10
* | hpux11
*)
15989 # Give a soname corresponding to the major version so that dld.sl refuses to
15990 # link against other versions.
15997 hardcode_into_libs
=yes
15998 dynamic_linker
="$host_os dld.so"
15999 shlibpath_var
=LD_LIBRARY_PATH
16000 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16001 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16002 soname_spec
='$libname$release$shared_ext$major'
16003 if test 32 = "$HPUX_IA64_MODE"; then
16004 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16005 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
16007 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16008 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
16013 hardcode_into_libs
=yes
16014 dynamic_linker
="$host_os dld.sl"
16015 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16016 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16017 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16018 soname_spec
='$libname$release$shared_ext$major'
16019 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16020 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16024 dynamic_linker
="$host_os dld.sl"
16025 shlibpath_var
=SHLIB_PATH
16026 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16027 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16028 soname_spec
='$libname$release$shared_ext$major'
16031 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16032 postinstall_cmds
='chmod 555 $lib'
16033 # or fails outright, so override atomically:
16034 install_override_mode
=555
16038 version_type
=linux
# correct to gnu/linux during the next big refactor
16041 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16042 soname_spec
='$libname$release$shared_ext$major'
16043 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16044 shlibpath_var
=LD_LIBRARY_PATH
16045 shlibpath_overrides_runpath
=no
16046 hardcode_into_libs
=yes
16049 irix5
* | irix6
* | nonstopux
*)
16051 nonstopux
*) version_type
=nonstopux
;;
16053 if test yes = "$lt_cv_prog_gnu_ld"; then
16054 version_type
=linux
# correct to gnu/linux during the next big refactor
16061 soname_spec
='$libname$release$shared_ext$major'
16062 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16064 irix5
* | nonstopux
*)
16065 libsuff
= shlibsuff
=
16068 case $LD in # libtool.m4 will add one of these switches to LD
16069 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16070 libsuff
= shlibsuff
= libmagic
=32-bit;;
16071 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16072 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16073 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16074 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16075 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
16079 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16080 shlibpath_overrides_runpath
=no
16081 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16082 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
16083 hardcode_into_libs
=yes
16086 # No shared lib support for Linux oldld, aout, or coff.
16087 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16092 version_type
=none
# Android doesn't support versioned libraries.
16095 library_names_spec
='$libname$release$shared_ext'
16096 soname_spec
='$libname$release$shared_ext'
16098 shlibpath_var
=LD_LIBRARY_PATH
16099 shlibpath_overrides_runpath
=yes
16101 # This implies no fast_install, which is unacceptable.
16102 # Some rework will be needed to allow for fast_install
16103 # before this can be enabled.
16104 hardcode_into_libs
=yes
16106 dynamic_linker
='Android linker'
16107 # Don't embed -rpath directories since the linker doesn't support them.
16108 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16111 # This must be glibc/ELF.
16112 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16113 version_type
=linux
# correct to gnu/linux during the next big refactor
16116 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16117 soname_spec
='$libname$release$shared_ext$major'
16118 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16119 shlibpath_var
=LD_LIBRARY_PATH
16120 shlibpath_overrides_runpath
=no
16122 # Some binutils ld are patched to set DT_RUNPATH
16123 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
16124 $as_echo_n "(cached) " >&6
16126 lt_cv_shlibpath_overrides_runpath
=no
16127 save_LDFLAGS
=$LDFLAGS
16128 save_libdir
=$libdir
16129 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16130 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16142 if ac_fn_cxx_try_link
"$LINENO"; then :
16143 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
16144 lt_cv_shlibpath_overrides_runpath
=yes
16147 rm -f core conftest.err conftest.
$ac_objext \
16148 conftest
$ac_exeext conftest.
$ac_ext
16149 LDFLAGS
=$save_LDFLAGS
16150 libdir
=$save_libdir
16154 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16156 # This implies no fast_install, which is unacceptable.
16157 # Some rework will be needed to allow for fast_install
16158 # before this can be enabled.
16159 hardcode_into_libs
=yes
16161 # Ideally, we could use ldconfig to report *all* directores which are
16162 # searched for libraries, however this is still not possible. Aside from not
16163 # being certain /sbin/ldconfig is available, command
16164 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16165 # even though it is searched at run-time. Try to do the best guess by
16166 # appending ld.so.conf contents (and includes) to the search path.
16167 if test -f /etc
/ld.so.conf
; then
16168 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
16169 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16172 # We used to test for /lib/ld.so.1 and disable shared libraries on
16173 # powerpc, because MkLinux only supported shared libraries with the
16174 # GNU dynamic linker. Since this was broken with cross compilers,
16175 # most powerpc-linux boxes support dynamic linking these days and
16176 # people can always --disable-shared, the test was removed, and we
16177 # assume the GNU/Linux dynamic linker is in use.
16178 dynamic_linker
='GNU/Linux ld.so'
16185 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16186 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16187 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16188 dynamic_linker
='NetBSD (a.out) ld.so'
16190 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16191 soname_spec
='$libname$release$shared_ext$major'
16192 dynamic_linker
='NetBSD ld.elf_so'
16194 shlibpath_var
=LD_LIBRARY_PATH
16195 shlibpath_overrides_runpath
=yes
16196 hardcode_into_libs
=yes
16200 version_type
=linux
# correct to gnu/linux during the next big refactor
16201 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16202 shlibpath_var
=LD_LIBRARY_PATH
16203 shlibpath_overrides_runpath
=yes
16210 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16211 soname_spec
='$libname$release$shared_ext$major'
16212 shlibpath_var
=LD_LIBRARY_PATH
16213 shlibpath_overrides_runpath
=no
16214 hardcode_into_libs
=yes
16215 dynamic_linker
='ldqnx.so'
16218 openbsd
* | bitrig
*)
16220 sys_lib_dlsearch_path_spec
=/usr
/lib
16222 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16227 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16228 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16229 shlibpath_var
=LD_LIBRARY_PATH
16230 shlibpath_overrides_runpath
=yes
16234 libname_spec
='$name'
16235 version_type
=windows
16239 # OS/2 can only load a DLL with a base name of 8 characters or less.
16240 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
16241 v=$($ECHO $release$versuffix | tr -d .-);
16242 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16243 $ECHO $n$v`$shared_ext'
16244 library_names_spec
='${libname}_dll.$libext'
16245 dynamic_linker
='OS/2 ld.exe'
16246 shlibpath_var
=BEGINLIBPATH
16247 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16248 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16249 postinstall_cmds
='base_file=`basename \$file`~
16250 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16251 dldir=$destdir/`dirname \$dlpath`~
16252 test -d \$dldir || mkdir -p \$dldir~
16253 $install_prog $dir/$dlname \$dldir/$dlname~
16254 chmod a+x \$dldir/$dlname~
16255 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16256 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16258 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16259 dlpath=$dir/\$dldll~
16263 osf3
* | osf4
* | osf5
*)
16267 soname_spec
='$libname$release$shared_ext$major'
16268 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16269 shlibpath_var
=LD_LIBRARY_PATH
16270 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16271 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16279 version_type
=linux
# correct to gnu/linux during the next big refactor
16282 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16283 soname_spec
='$libname$release$shared_ext$major'
16284 shlibpath_var
=LD_LIBRARY_PATH
16285 shlibpath_overrides_runpath
=yes
16286 hardcode_into_libs
=yes
16287 # ldd complains unless libraries are executable
16288 postinstall_cmds
='chmod +x $lib'
16293 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16294 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16295 shlibpath_var
=LD_LIBRARY_PATH
16296 shlibpath_overrides_runpath
=yes
16297 if test yes = "$with_gnu_ld"; then
16304 version_type
=linux
# correct to gnu/linux during the next big refactor
16305 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16306 soname_spec
='$libname$release$shared_ext$major'
16307 shlibpath_var
=LD_LIBRARY_PATH
16308 case $host_vendor in
16310 shlibpath_overrides_runpath
=no
16312 runpath_var
=LD_RUN_PATH
16320 shlibpath_overrides_runpath
=no
16321 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16327 if test -d /usr
/nec
; then
16328 version_type
=linux
# correct to gnu/linux during the next big refactor
16329 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16330 soname_spec
='$libname$shared_ext.$major'
16331 shlibpath_var
=LD_LIBRARY_PATH
16335 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16339 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16340 soname_spec
='$libname$release$shared_ext$major'
16341 shlibpath_var
=LD_LIBRARY_PATH
16342 shlibpath_overrides_runpath
=yes
16343 hardcode_into_libs
=yes
16344 if test yes = "$with_gnu_ld"; then
16345 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16347 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16350 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16354 sys_lib_dlsearch_path_spec
='/usr/lib'
16358 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16359 version_type
=linux
# correct to gnu/linux during the next big refactor
16362 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16363 shlibpath_var
=LD_LIBRARY_PATH
16364 shlibpath_overrides_runpath
=no
16365 hardcode_into_libs
=yes
16369 version_type
=linux
# correct to gnu/linux during the next big refactor
16370 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16371 soname_spec
='$libname$release$shared_ext$major'
16372 shlibpath_var
=LD_LIBRARY_PATH
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16380 $as_echo "$dynamic_linker" >&6; }
16381 test no
= "$dynamic_linker" && can_build_shared
=no
16383 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16384 if test yes = "$GCC"; then
16385 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16388 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16389 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
16392 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16393 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
16396 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16397 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
16399 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16400 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
16402 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16403 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16445 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16446 hardcode_action_CXX
=
16447 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16448 test -n "$runpath_var_CXX" ||
16449 test yes = "$hardcode_automatic_CXX"; then
16451 # We can hardcode non-existent directories.
16452 if test no
!= "$hardcode_direct_CXX" &&
16453 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16454 # have to relink, otherwise we might link with an installed library
16455 # when we should be linking with a yet-to-be-installed one
16456 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16457 test no
!= "$hardcode_minus_L_CXX"; then
16458 # Linking always hardcodes the temporary library directory.
16459 hardcode_action_CXX
=relink
16461 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16462 hardcode_action_CXX
=immediate
16465 # We cannot hardcode anything, or else we can only hardcode existing
16467 hardcode_action_CXX
=unsupported
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16470 $as_echo "$hardcode_action_CXX" >&6; }
16472 if test relink
= "$hardcode_action_CXX" ||
16473 test yes = "$inherit_rpath_CXX"; then
16474 # Fast installation is not supported
16475 enable_fast_install
=no
16476 elif test yes = "$shlibpath_overrides_runpath" ||
16477 test no
= "$enable_shared"; then
16478 # Fast installation is not necessary
16479 enable_fast_install
=needless
16488 fi # test -n "$compiler"
16491 CFLAGS
=$lt_save_CFLAGS
16495 with_gnu_ld
=$lt_save_with_gnu_ld
16496 lt_cv_path_LDCXX
=$lt_cv_path_LD
16497 lt_cv_path_LD
=$lt_save_path_LD
16498 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16499 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16500 fi # test yes != "$_lt_caught_CXX_error"
16503 ac_cpp
='$CPP $CPPFLAGS'
16504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16522 ac_config_commands
="$ac_config_commands libtool"
16527 # Only expand once:
16532 ac_cpp
='$CXXCPP $CPPFLAGS'
16533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16538 ax_cxx_compile_cxx11_required
=true
16540 ac_cpp
='$CXXCPP $CPPFLAGS'
16541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
16546 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
16547 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
16548 $as_echo_n "(cached) " >&6
16550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16553 template <typename T>
16556 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16560 virtual void f() {}
16562 struct Child : public Base {
16563 virtual void f() override {}
16566 typedef check<check<bool>> right_angle_brackets;
16571 typedef check<int> check_type;
16573 check_type&& cr = static_cast<check_type&&>(c);
16579 if ac_fn_cxx_try_compile
"$LINENO"; then :
16580 ax_cv_cxx_compile_cxx11
=yes
16582 ax_cv_cxx_compile_cxx11
=no
16584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
16587 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
16588 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
16592 if test x
$ac_success = xno
; then
16593 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
16594 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
16596 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
16597 if eval \
${$cachevar+:} false
; then :
16598 $as_echo_n "(cached) " >&6
16600 ac_save_CXXFLAGS
="$CXXFLAGS"
16601 CXXFLAGS
="$CXXFLAGS $switch"
16602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16603 /* end confdefs.h. */
16605 template <typename T>
16608 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16612 virtual void f() {}
16614 struct Child : public Base {
16615 virtual void f() override {}
16618 typedef check<check<bool>> right_angle_brackets;
16623 typedef check<int> check_type;
16625 check_type&& cr = static_cast<check_type&&>(c);
16631 if ac_fn_cxx_try_compile
"$LINENO"; then :
16636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16637 CXXFLAGS
="$ac_save_CXXFLAGS"
16639 eval ac_res
=\$
$cachevar
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16641 $as_echo "$ac_res" >&6; }
16642 if eval test x\$
$cachevar = xyes
; then
16643 CXXFLAGS
="$CXXFLAGS $switch"
16652 ac_cpp
='$CXXCPP $CPPFLAGS'
16653 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16654 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16655 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16657 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
16658 if test x
$ac_success = xno
; then
16659 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
16662 if test x
$ac_success = xno
; then
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
16665 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
16669 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
16676 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
16685 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16686 if test -n "$ac_tool_prefix"; then
16687 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16688 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16690 $as_echo_n "checking for $ac_word... " >&6; }
16691 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16692 $as_echo_n "(cached) " >&6
16694 case $PKG_CONFIG in
16696 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16700 for as_dir
in $PATH
16703 test -z "$as_dir" && as_dir
=.
16704 for ac_exec_ext
in '' $ac_executable_extensions; do
16705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16706 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16717 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16718 if test -n "$PKG_CONFIG"; then
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16720 $as_echo "$PKG_CONFIG" >&6; }
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16723 $as_echo "no" >&6; }
16728 if test -z "$ac_cv_path_PKG_CONFIG"; then
16729 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16730 # Extract the first word of "pkg-config", so it can be a program name with args.
16731 set dummy pkg
-config; ac_word
=$2
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16733 $as_echo_n "checking for $ac_word... " >&6; }
16734 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16735 $as_echo_n "(cached) " >&6
16737 case $ac_pt_PKG_CONFIG in
16739 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16743 for as_dir
in $PATH
16746 test -z "$as_dir" && as_dir
=.
16747 for ac_exec_ext
in '' $ac_executable_extensions; do
16748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16749 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16760 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16761 if test -n "$ac_pt_PKG_CONFIG"; then
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16763 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16766 $as_echo "no" >&6; }
16769 if test "x$ac_pt_PKG_CONFIG" = x
; then
16772 case $cross_compiling:$ac_tool_warned in
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16776 ac_tool_warned
=yes ;;
16778 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16781 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16785 if test -n "$PKG_CONFIG"; then
16786 _pkg_min_version
=0.22
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16788 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16789 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16791 $as_echo "yes" >&6; }
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16794 $as_echo "no" >&6; }
16799 # Extract the first word of "git", so it can be a program name with args.
16800 set dummy git
; ac_word
=$2
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16802 $as_echo_n "checking for $ac_word... " >&6; }
16803 if ${ac_cv_path_GIT+:} false
; then :
16804 $as_echo_n "(cached) " >&6
16808 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16812 for as_dir
in $PATH
16815 test -z "$as_dir" && as_dir
=.
16816 for ac_exec_ext
in '' $ac_executable_extensions; do
16817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16818 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16829 GIT
=$ac_cv_path_GIT
16830 if test -n "$GIT"; then
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16832 $as_echo "$GIT" >&6; }
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16835 $as_echo "no" >&6; }
16839 # Extract the first word of "time", so it can be a program name with args.
16840 set dummy
time; ac_word
=$2
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16842 $as_echo_n "checking for $ac_word... " >&6; }
16843 if ${ac_cv_path_TIME+:} false
; then :
16844 $as_echo_n "(cached) " >&6
16848 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16852 for as_dir
in $PATH
16855 test -z "$as_dir" && as_dir
=.
16856 for ac_exec_ext
in '' $ac_executable_extensions; do
16857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16858 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16869 TIME
=$ac_cv_path_TIME
16870 if test -n "$TIME"; then
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16872 $as_echo "$TIME" >&6; }
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16875 $as_echo "no" >&6; }
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
16885 $as_echo_n "checking for bison >= 3.0... " >&6; }
16886 if test -z "$BISON"; then
16887 ac_path_BISON_found
=false
16888 # Loop through the user's path and test for each of PROGNAME-LIST
16889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16890 for as_dir
in $PATH
16893 test -z "$as_dir" && as_dir
=.
16894 for ac_prog
in bison
; do
16895 for ac_exec_ext
in '' $ac_executable_extensions; do
16896 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16897 as_fn_executable_p
"$ac_path_BISON" || continue
16898 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16899 if ${version:+false} :; then :
16902 as_awk_strverscmp
='
16903 # Use only awk features that work with 7th edition Unix awk (1978).
16904 # My, what an old awk you have, Mr. Solaris!
16906 while (length(v1) && length(v2)) {
16907 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16908 # Normally this is a single character, but if v1 and v2 contain digits,
16909 # compare them as integers and fractions as strverscmp does.
16910 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16911 # Split v1 and v2 into their leading digit string components d1 and d2,
16912 # and advance v1 and v2 past the leading digit strings.
16913 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16914 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16915 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16916 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16919 # Compare two fractions.
16920 while (d1 ~ /^0/ && d2 ~ /^0/) {
16921 d1 = substr(d1, 2); len1--
16922 d2 = substr(d2, 2); len2--
16924 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16925 # The two components differ in length, and the common prefix
16926 # contains only leading zeros. Consider the longer to be less.
16930 # Otherwise, compare as strings.
16935 # A fraction is less than an integer.
16940 # An integer is greater than a fraction.
16943 # Compare two integers.
16949 # The normal case, without worrying about digits.
16950 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16951 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16953 if (d1 < d2) exit 1
16954 if (d1 > d2) exit 2
16956 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16957 # which mishandles some comparisons of empty strings to integers.
16958 if (length(v2)) exit 1
16959 if (length(v1)) exit 2
16964 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16969 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16971 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16977 $ac_path_BISON_found && break 3
16982 if test -z "$ac_cv_path_BISON"; then
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16984 $as_echo "no" >&6; }
16987 ac_cv_path_BISON
=$BISON
16993 BISON
=$ac_cv_path_BISON
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16996 $as_echo "$BISON" >&6; }
17001 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17008 $as_echo "no" >&6; }
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
17017 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
17018 if test -z "$FLEX"; then
17019 ac_path_FLEX_found
=false
17020 # Loop through the user's path and test for each of PROGNAME-LIST
17021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17022 for as_dir
in $PATH
17025 test -z "$as_dir" && as_dir
=.
17026 for ac_prog
in flex
; do
17027 for ac_exec_ext
in '' $ac_executable_extensions; do
17028 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
17029 as_fn_executable_p
"$ac_path_FLEX" || continue
17030 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
17031 if ${version:+false} :; then :
17036 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17041 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17043 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17049 $ac_path_FLEX_found && break 3
17054 if test -z "$ac_cv_path_FLEX"; then
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17056 $as_echo "no" >&6; }
17059 ac_cv_path_FLEX
=$FLEX
17065 FLEX
=$ac_cv_path_FLEX
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17068 $as_echo "$FLEX" >&6; }
17073 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17080 $as_echo "no" >&6; }
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
17089 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
17090 if test -z "$GPERF"; then
17091 ac_path_GPERF_found
=false
17092 # Loop through the user's path and test for each of PROGNAME-LIST
17093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17094 for as_dir
in $PATH
17097 test -z "$as_dir" && as_dir
=.
17098 for ac_prog
in gperf
; do
17099 for ac_exec_ext
in '' $ac_executable_extensions; do
17100 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
17101 as_fn_executable_p
"$ac_path_GPERF" || continue
17102 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
17103 if ${version:+false} :; then :
17108 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17113 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17115 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17121 $ac_path_GPERF_found && break 3
17126 if test -z "$ac_cv_path_GPERF"; then
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17128 $as_echo "no" >&6; }
17131 ac_cv_path_GPERF
=$GPERF
17137 GPERF
=$ac_cv_path_GPERF
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17140 $as_echo "$GPERF" >&6; }
17145 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17152 $as_echo "no" >&6; }
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
17161 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
17162 if test -z "$GNUTAR"; then
17163 ac_path_GNUTAR_found
=false
17164 # Loop through the user's path and test for each of PROGNAME-LIST
17165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17166 for as_dir
in $PATH
17169 test -z "$as_dir" && as_dir
=.
17170 for ac_prog
in tar gtar gnutar
; do
17171 for ac_exec_ext
in '' $ac_executable_extensions; do
17172 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
17173 as_fn_executable_p
"$ac_path_GNUTAR" || continue
17174 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
17175 if ${version:+false} :; then :
17180 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17185 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17187 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17193 $ac_path_GNUTAR_found && break 3
17198 if test -z "$ac_cv_path_GNUTAR"; then
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17200 $as_echo "no" >&6; }
17203 ac_cv_path_GNUTAR
=$GNUTAR
17209 GNUTAR
=$ac_cv_path_GNUTAR
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
17212 $as_echo "$GNUTAR" >&6; }
17217 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17224 $as_echo "no" >&6; }
17235 if test "x$LFLAGS" = x
; then :
17236 LFLAGS
="--full --ecs"
17244 ac_cpp
='$CPP $CPPFLAGS'
17245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
17250 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
17251 if ${ac_cv_cflags_warn_all+:} false
; then :
17252 $as_echo_n "(cached) " >&6
17254 ac_cv_cflags_warn_all
="no, unknown"
17255 ac_save_CFLAGS
="$CFLAGS"
17256 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" #
17257 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17269 if ac_fn_c_try_compile
"$LINENO"; then :
17270 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17274 CFLAGS
="$ac_save_CFLAGS"
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
17278 $as_echo "$ac_cv_cflags_warn_all" >&6; }
17281 case ".$ac_cv_cflags_warn_all" in
17284 *) if ${CFLAGS+:} false
; then :
17285 case " $CFLAGS " in
17286 *" $ac_cv_cflags_warn_all "*)
17287 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
17288 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
17290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17291 test $ac_status = 0; }
17294 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
17295 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
17297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17298 test $ac_status = 0; }
17299 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
17303 CFLAGS
="$ac_cv_cflags_warn_all"
17309 ac_cpp
='$CXXCPP $CPPFLAGS'
17310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17316 ac_cpp
='$CXXCPP $CPPFLAGS'
17317 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17318 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17319 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17322 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17323 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17324 $as_echo_n "(cached) " >&6
17326 ac_cv_cxxflags_warn_all
="no, unknown"
17327 ac_save_CXXFLAGS
="$CXXFLAGS"
17328 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" #
17329 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17341 if ac_fn_cxx_try_compile
"$LINENO"; then :
17342 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17346 CXXFLAGS
="$ac_save_CXXFLAGS"
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17350 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17353 case ".$ac_cv_cxxflags_warn_all" in
17356 *) if ${CXXFLAGS+:} false
; then :
17357 case " $CXXFLAGS " in
17358 *" $ac_cv_cxxflags_warn_all "*)
17359 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17360 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17363 test $ac_status = 0; }
17366 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17367 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17370 test $ac_status = 0; }
17371 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17375 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17381 ac_cpp
='$CXXCPP $CPPFLAGS'
17382 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17388 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17389 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17390 $as_echo_n "(cached) " >&6
17392 ac_cv_cxxflags_warn_all
="no, unknown"
17393 ac_save_CXXFLAGS
="$CXXFLAGS"
17394 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" #
17395 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17407 if ac_fn_cxx_try_compile
"$LINENO"; then :
17408 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17412 CXXFLAGS
="$ac_save_CXXFLAGS"
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17416 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17419 case ".$ac_cv_cxxflags_warn_all" in
17422 *) if ${CXXFLAGS+:} false
; then :
17423 case " $CXXFLAGS " in
17424 *" $ac_cv_cxxflags_warn_all "*)
17425 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17426 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17429 test $ac_status = 0; }
17432 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17433 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17436 test $ac_status = 0; }
17437 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17441 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17451 ac_cpp
='$CPP $CPPFLAGS'
17452 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17453 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17454 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
17457 $as_echo_n "checking for cc -Werror... " >&6; }
17461 for element
in -Werror; do
17463 for x
in $CFLAGS; do
17465 acl_save_prefix
="$prefix"
17466 prefix
="$acl_final_prefix"
17467 acl_save_exec_prefix
="$exec_prefix"
17468 exec_prefix
="$acl_final_exec_prefix"
17470 exec_prefix
="$acl_save_exec_prefix"
17471 prefix
="$acl_save_prefix"
17473 if test "X$x" = "X$element"; then
17478 if test -z "$haveit"; then
17479 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17488 if ac_fn_c_try_compile
"$LINENO"; then :
17493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17496 if test "x$cy_good" = x1
; then :
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17498 $as_echo "yes" >&6; }
17500 for element
in -Werror; do
17502 for x
in $CFLAGS; do
17504 acl_save_prefix
="$prefix"
17505 prefix
="$acl_final_prefix"
17506 acl_save_exec_prefix
="$exec_prefix"
17507 exec_prefix
="$acl_final_exec_prefix"
17509 exec_prefix
="$acl_save_exec_prefix"
17510 prefix
="$acl_save_prefix"
17512 if test "X$x" = "X$element"; then
17517 if test -z "$haveit"; then
17518 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17525 $as_echo "no" >&6; }
17529 ac_cpp
='$CXXCPP $CPPFLAGS'
17530 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17531 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17532 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17537 ac_cpp
='$CXXCPP $CPPFLAGS'
17538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
17543 $as_echo_n "checking for c++ -Werror... " >&6; }
17547 for element
in -Werror; do
17549 for x
in $CXXFLAGS; do
17551 acl_save_prefix
="$prefix"
17552 prefix
="$acl_final_prefix"
17553 acl_save_exec_prefix
="$exec_prefix"
17554 exec_prefix
="$acl_final_exec_prefix"
17556 exec_prefix
="$acl_save_exec_prefix"
17557 prefix
="$acl_save_prefix"
17559 if test "X$x" = "X$element"; then
17564 if test -z "$haveit"; then
17565 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17574 if ac_fn_cxx_try_compile
"$LINENO"; then :
17579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17582 if test "x$cy_good" = x1
; then :
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17584 $as_echo "yes" >&6; }
17586 for element
in -Werror; do
17588 for x
in $CXXFLAGS; do
17590 acl_save_prefix
="$prefix"
17591 prefix
="$acl_final_prefix"
17592 acl_save_exec_prefix
="$exec_prefix"
17593 exec_prefix
="$acl_final_exec_prefix"
17595 exec_prefix
="$acl_save_exec_prefix"
17596 prefix
="$acl_save_prefix"
17598 if test "X$x" = "X$element"; then
17603 if test -z "$haveit"; then
17604 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17611 $as_echo "no" >&6; }
17615 ac_cpp
='$CXXCPP $CPPFLAGS'
17616 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17623 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17624 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17625 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17626 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
17629 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
17631 cy_save
=$OBJCXXFLAGS
17633 for element
in -Werror; do
17635 for x
in $OBJCXXFLAGS; do
17637 acl_save_prefix
="$prefix"
17638 prefix
="$acl_final_prefix"
17639 acl_save_exec_prefix
="$exec_prefix"
17640 exec_prefix
="$acl_final_exec_prefix"
17642 exec_prefix
="$acl_save_exec_prefix"
17643 prefix
="$acl_save_prefix"
17645 if test "X$x" = "X$element"; then
17650 if test -z "$haveit"; then
17651 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17660 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17667 OBJCXXFLAGS
=$cy_save
17668 if test "x$cy_good" = x1
; then :
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17670 $as_echo "yes" >&6; }
17672 for element
in -Werror; do
17674 for x
in $OBJCXXFLAGS; do
17676 acl_save_prefix
="$prefix"
17677 prefix
="$acl_final_prefix"
17678 acl_save_exec_prefix
="$exec_prefix"
17679 exec_prefix
="$acl_final_exec_prefix"
17681 exec_prefix
="$acl_save_exec_prefix"
17682 prefix
="$acl_save_prefix"
17684 if test "X$x" = "X$element"; then
17689 if test -z "$haveit"; then
17690 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17697 $as_echo "no" >&6; }
17701 ac_cpp
='$CXXCPP $CPPFLAGS'
17702 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17703 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17704 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17712 ac_cpp
='$CPP $CPPFLAGS'
17713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17718 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17722 for element
in -Wno-deprecated-declarations; do
17724 for x
in $CFLAGS; do
17726 acl_save_prefix
="$prefix"
17727 prefix
="$acl_final_prefix"
17728 acl_save_exec_prefix
="$exec_prefix"
17729 exec_prefix
="$acl_final_exec_prefix"
17731 exec_prefix
="$acl_save_exec_prefix"
17732 prefix
="$acl_save_prefix"
17734 if test "X$x" = "X$element"; then
17739 if test -z "$haveit"; then
17740 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17749 if ac_fn_c_try_compile
"$LINENO"; then :
17754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17757 if test "x$cy_good" = x1
; then :
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17759 $as_echo "yes" >&6; }
17761 for element
in -Wno-deprecated-declarations; do
17763 for x
in $CFLAGS; do
17765 acl_save_prefix
="$prefix"
17766 prefix
="$acl_final_prefix"
17767 acl_save_exec_prefix
="$exec_prefix"
17768 exec_prefix
="$acl_final_exec_prefix"
17770 exec_prefix
="$acl_save_exec_prefix"
17771 prefix
="$acl_save_prefix"
17773 if test "X$x" = "X$element"; then
17778 if test -z "$haveit"; then
17779 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17786 $as_echo "no" >&6; }
17790 ac_cpp
='$CXXCPP $CPPFLAGS'
17791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17798 ac_cpp
='$CXXCPP $CPPFLAGS'
17799 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17800 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17801 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17804 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17808 for element
in -Wno-deprecated-declarations; do
17810 for x
in $CXXFLAGS; do
17812 acl_save_prefix
="$prefix"
17813 prefix
="$acl_final_prefix"
17814 acl_save_exec_prefix
="$exec_prefix"
17815 exec_prefix
="$acl_final_exec_prefix"
17817 exec_prefix
="$acl_save_exec_prefix"
17818 prefix
="$acl_save_prefix"
17820 if test "X$x" = "X$element"; then
17825 if test -z "$haveit"; then
17826 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17835 if ac_fn_cxx_try_compile
"$LINENO"; then :
17840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17843 if test "x$cy_good" = x1
; then :
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17845 $as_echo "yes" >&6; }
17847 for element
in -Wno-deprecated-declarations; do
17849 for x
in $CXXFLAGS; do
17851 acl_save_prefix
="$prefix"
17852 prefix
="$acl_final_prefix"
17853 acl_save_exec_prefix
="$exec_prefix"
17854 exec_prefix
="$acl_final_exec_prefix"
17856 exec_prefix
="$acl_save_exec_prefix"
17857 prefix
="$acl_save_prefix"
17859 if test "X$x" = "X$element"; then
17864 if test -z "$haveit"; then
17865 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17872 $as_echo "no" >&6; }
17876 ac_cpp
='$CXXCPP $CPPFLAGS'
17877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17884 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17885 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17886 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17887 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17890 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17892 cy_save
=$OBJCXXFLAGS
17894 for element
in -Wno-deprecated-declarations; do
17896 for x
in $OBJCXXFLAGS; do
17898 acl_save_prefix
="$prefix"
17899 prefix
="$acl_final_prefix"
17900 acl_save_exec_prefix
="$exec_prefix"
17901 exec_prefix
="$acl_final_exec_prefix"
17903 exec_prefix
="$acl_save_exec_prefix"
17904 prefix
="$acl_save_prefix"
17906 if test "X$x" = "X$element"; then
17911 if test -z "$haveit"; then
17912 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17921 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17928 OBJCXXFLAGS
=$cy_save
17929 if test "x$cy_good" = x1
; then :
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17931 $as_echo "yes" >&6; }
17933 for element
in -Wno-deprecated-declarations; do
17935 for x
in $OBJCXXFLAGS; do
17937 acl_save_prefix
="$prefix"
17938 prefix
="$acl_final_prefix"
17939 acl_save_exec_prefix
="$exec_prefix"
17940 exec_prefix
="$acl_final_exec_prefix"
17942 exec_prefix
="$acl_save_exec_prefix"
17943 prefix
="$acl_save_prefix"
17945 if test "X$x" = "X$element"; then
17950 if test -z "$haveit"; then
17951 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17958 $as_echo "no" >&6; }
17962 ac_cpp
='$CXXCPP $CPPFLAGS'
17963 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17964 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17965 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17973 ac_cpp
='$CPP $CPPFLAGS'
17974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17979 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17983 for element
in -Wno-dangling-else; do
17985 for x
in $CFLAGS; do
17987 acl_save_prefix
="$prefix"
17988 prefix
="$acl_final_prefix"
17989 acl_save_exec_prefix
="$exec_prefix"
17990 exec_prefix
="$acl_final_exec_prefix"
17992 exec_prefix
="$acl_save_exec_prefix"
17993 prefix
="$acl_save_prefix"
17995 if test "X$x" = "X$element"; then
18000 if test -z "$haveit"; then
18001 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18007 /* end confdefs.h. */
18010 if ac_fn_c_try_compile
"$LINENO"; then :
18015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18018 if test "x$cy_good" = x1
; then :
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18020 $as_echo "yes" >&6; }
18022 for element
in -Wno-dangling-else; do
18024 for x
in $CFLAGS; do
18026 acl_save_prefix
="$prefix"
18027 prefix
="$acl_final_prefix"
18028 acl_save_exec_prefix
="$exec_prefix"
18029 exec_prefix
="$acl_final_exec_prefix"
18031 exec_prefix
="$acl_save_exec_prefix"
18032 prefix
="$acl_save_prefix"
18034 if test "X$x" = "X$element"; then
18039 if test -z "$haveit"; then
18040 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18047 $as_echo "no" >&6; }
18051 ac_cpp
='$CXXCPP $CPPFLAGS'
18052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18059 ac_cpp
='$CXXCPP $CPPFLAGS'
18060 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18061 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18062 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
18065 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
18069 for element
in -Wno-dangling-else; do
18071 for x
in $CXXFLAGS; do
18073 acl_save_prefix
="$prefix"
18074 prefix
="$acl_final_prefix"
18075 acl_save_exec_prefix
="$exec_prefix"
18076 exec_prefix
="$acl_final_exec_prefix"
18078 exec_prefix
="$acl_save_exec_prefix"
18079 prefix
="$acl_save_prefix"
18081 if test "X$x" = "X$element"; then
18086 if test -z "$haveit"; then
18087 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h. */
18096 if ac_fn_cxx_try_compile
"$LINENO"; then :
18101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18104 if test "x$cy_good" = x1
; then :
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18106 $as_echo "yes" >&6; }
18108 for element
in -Wno-dangling-else; do
18110 for x
in $CXXFLAGS; do
18112 acl_save_prefix
="$prefix"
18113 prefix
="$acl_final_prefix"
18114 acl_save_exec_prefix
="$exec_prefix"
18115 exec_prefix
="$acl_final_exec_prefix"
18117 exec_prefix
="$acl_save_exec_prefix"
18118 prefix
="$acl_save_prefix"
18120 if test "X$x" = "X$element"; then
18125 if test -z "$haveit"; then
18126 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18133 $as_echo "no" >&6; }
18137 ac_cpp
='$CXXCPP $CPPFLAGS'
18138 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18139 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18140 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18145 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18146 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18147 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18148 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
18151 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
18153 cy_save
=$OBJCXXFLAGS
18155 for element
in -Wno-dangling-else; do
18157 for x
in $OBJCXXFLAGS; do
18159 acl_save_prefix
="$prefix"
18160 prefix
="$acl_final_prefix"
18161 acl_save_exec_prefix
="$exec_prefix"
18162 exec_prefix
="$acl_final_exec_prefix"
18164 exec_prefix
="$acl_save_exec_prefix"
18165 prefix
="$acl_save_prefix"
18167 if test "X$x" = "X$element"; then
18172 if test -z "$haveit"; then
18173 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h. */
18182 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18189 OBJCXXFLAGS
=$cy_save
18190 if test "x$cy_good" = x1
; then :
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18192 $as_echo "yes" >&6; }
18194 for element
in -Wno-dangling-else; do
18196 for x
in $OBJCXXFLAGS; do
18198 acl_save_prefix
="$prefix"
18199 prefix
="$acl_final_prefix"
18200 acl_save_exec_prefix
="$exec_prefix"
18201 exec_prefix
="$acl_final_exec_prefix"
18203 exec_prefix
="$acl_save_exec_prefix"
18204 prefix
="$acl_save_prefix"
18206 if test "X$x" = "X$element"; then
18211 if test -z "$haveit"; then
18212 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18219 $as_echo "no" >&6; }
18223 ac_cpp
='$CXXCPP $CPPFLAGS'
18224 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18225 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18226 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18233 ac_cpp
='$CPP $CPPFLAGS'
18234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-empty-body" >&5
18239 $as_echo_n "checking for cc -Wno-empty-body... " >&6; }
18243 for element
in -Wno-empty-body; do
18245 for x
in $CFLAGS; do
18247 acl_save_prefix
="$prefix"
18248 prefix
="$acl_final_prefix"
18249 acl_save_exec_prefix
="$exec_prefix"
18250 exec_prefix
="$acl_final_exec_prefix"
18252 exec_prefix
="$acl_save_exec_prefix"
18253 prefix
="$acl_save_prefix"
18255 if test "X$x" = "X$element"; then
18260 if test -z "$haveit"; then
18261 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18267 /* end confdefs.h. */
18270 if ac_fn_c_try_compile
"$LINENO"; then :
18275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18278 if test "x$cy_good" = x1
; then :
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18280 $as_echo "yes" >&6; }
18282 for element
in -Wno-empty-body; do
18284 for x
in $CFLAGS; do
18286 acl_save_prefix
="$prefix"
18287 prefix
="$acl_final_prefix"
18288 acl_save_exec_prefix
="$exec_prefix"
18289 exec_prefix
="$acl_final_exec_prefix"
18291 exec_prefix
="$acl_save_exec_prefix"
18292 prefix
="$acl_save_prefix"
18294 if test "X$x" = "X$element"; then
18299 if test -z "$haveit"; then
18300 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18307 $as_echo "no" >&6; }
18311 ac_cpp
='$CXXCPP $CPPFLAGS'
18312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18319 ac_cpp
='$CXXCPP $CPPFLAGS'
18320 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18321 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18322 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-empty-body" >&5
18325 $as_echo_n "checking for c++ -Wno-empty-body... " >&6; }
18329 for element
in -Wno-empty-body; do
18331 for x
in $CXXFLAGS; do
18333 acl_save_prefix
="$prefix"
18334 prefix
="$acl_final_prefix"
18335 acl_save_exec_prefix
="$exec_prefix"
18336 exec_prefix
="$acl_final_exec_prefix"
18338 exec_prefix
="$acl_save_exec_prefix"
18339 prefix
="$acl_save_prefix"
18341 if test "X$x" = "X$element"; then
18346 if test -z "$haveit"; then
18347 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18353 /* end confdefs.h. */
18356 if ac_fn_cxx_try_compile
"$LINENO"; then :
18361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18364 if test "x$cy_good" = x1
; then :
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18366 $as_echo "yes" >&6; }
18368 for element
in -Wno-empty-body; do
18370 for x
in $CXXFLAGS; do
18372 acl_save_prefix
="$prefix"
18373 prefix
="$acl_final_prefix"
18374 acl_save_exec_prefix
="$exec_prefix"
18375 exec_prefix
="$acl_final_exec_prefix"
18377 exec_prefix
="$acl_save_exec_prefix"
18378 prefix
="$acl_save_prefix"
18380 if test "X$x" = "X$element"; then
18385 if test -z "$haveit"; then
18386 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18393 $as_echo "no" >&6; }
18397 ac_cpp
='$CXXCPP $CPPFLAGS'
18398 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18405 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18406 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18407 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18408 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-empty-body" >&5
18411 $as_echo_n "checking for c++ -ObjC -Wno-empty-body... " >&6; }
18413 cy_save
=$OBJCXXFLAGS
18415 for element
in -Wno-empty-body; do
18417 for x
in $OBJCXXFLAGS; do
18419 acl_save_prefix
="$prefix"
18420 prefix
="$acl_final_prefix"
18421 acl_save_exec_prefix
="$exec_prefix"
18422 exec_prefix
="$acl_final_exec_prefix"
18424 exec_prefix
="$acl_save_exec_prefix"
18425 prefix
="$acl_save_prefix"
18427 if test "X$x" = "X$element"; then
18432 if test -z "$haveit"; then
18433 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18442 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18449 OBJCXXFLAGS
=$cy_save
18450 if test "x$cy_good" = x1
; then :
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18452 $as_echo "yes" >&6; }
18454 for element
in -Wno-empty-body; do
18456 for x
in $OBJCXXFLAGS; do
18458 acl_save_prefix
="$prefix"
18459 prefix
="$acl_final_prefix"
18460 acl_save_exec_prefix
="$exec_prefix"
18461 exec_prefix
="$acl_final_exec_prefix"
18463 exec_prefix
="$acl_save_exec_prefix"
18464 prefix
="$acl_save_prefix"
18466 if test "X$x" = "X$element"; then
18471 if test -z "$haveit"; then
18472 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18479 $as_echo "no" >&6; }
18483 ac_cpp
='$CXXCPP $CPPFLAGS'
18484 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18485 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18486 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18493 ac_cpp
='$CPP $CPPFLAGS'
18494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
18499 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
18503 for element
in -Wno-overloaded-virtual; do
18505 for x
in $CFLAGS; do
18507 acl_save_prefix
="$prefix"
18508 prefix
="$acl_final_prefix"
18509 acl_save_exec_prefix
="$exec_prefix"
18510 exec_prefix
="$acl_final_exec_prefix"
18512 exec_prefix
="$acl_save_exec_prefix"
18513 prefix
="$acl_save_prefix"
18515 if test "X$x" = "X$element"; then
18520 if test -z "$haveit"; then
18521 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h. */
18530 if ac_fn_c_try_compile
"$LINENO"; then :
18535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18538 if test "x$cy_good" = x1
; then :
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18540 $as_echo "yes" >&6; }
18542 for element
in -Wno-overloaded-virtual; do
18544 for x
in $CFLAGS; do
18546 acl_save_prefix
="$prefix"
18547 prefix
="$acl_final_prefix"
18548 acl_save_exec_prefix
="$exec_prefix"
18549 exec_prefix
="$acl_final_exec_prefix"
18551 exec_prefix
="$acl_save_exec_prefix"
18552 prefix
="$acl_save_prefix"
18554 if test "X$x" = "X$element"; then
18559 if test -z "$haveit"; then
18560 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18567 $as_echo "no" >&6; }
18571 ac_cpp
='$CXXCPP $CPPFLAGS'
18572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18579 ac_cpp
='$CXXCPP $CPPFLAGS'
18580 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
18585 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
18589 for element
in -Wno-overloaded-virtual; do
18591 for x
in $CXXFLAGS; do
18593 acl_save_prefix
="$prefix"
18594 prefix
="$acl_final_prefix"
18595 acl_save_exec_prefix
="$exec_prefix"
18596 exec_prefix
="$acl_final_exec_prefix"
18598 exec_prefix
="$acl_save_exec_prefix"
18599 prefix
="$acl_save_prefix"
18601 if test "X$x" = "X$element"; then
18606 if test -z "$haveit"; then
18607 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18613 /* end confdefs.h. */
18616 if ac_fn_cxx_try_compile
"$LINENO"; then :
18621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18624 if test "x$cy_good" = x1
; then :
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18626 $as_echo "yes" >&6; }
18628 for element
in -Wno-overloaded-virtual; do
18630 for x
in $CXXFLAGS; do
18632 acl_save_prefix
="$prefix"
18633 prefix
="$acl_final_prefix"
18634 acl_save_exec_prefix
="$exec_prefix"
18635 exec_prefix
="$acl_final_exec_prefix"
18637 exec_prefix
="$acl_save_exec_prefix"
18638 prefix
="$acl_save_prefix"
18640 if test "X$x" = "X$element"; then
18645 if test -z "$haveit"; then
18646 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18653 $as_echo "no" >&6; }
18657 ac_cpp
='$CXXCPP $CPPFLAGS'
18658 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18659 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18660 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18665 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18666 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18667 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18668 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
18671 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
18673 cy_save
=$OBJCXXFLAGS
18675 for element
in -Wno-overloaded-virtual; do
18677 for x
in $OBJCXXFLAGS; do
18679 acl_save_prefix
="$prefix"
18680 prefix
="$acl_final_prefix"
18681 acl_save_exec_prefix
="$exec_prefix"
18682 exec_prefix
="$acl_final_exec_prefix"
18684 exec_prefix
="$acl_save_exec_prefix"
18685 prefix
="$acl_save_prefix"
18687 if test "X$x" = "X$element"; then
18692 if test -z "$haveit"; then
18693 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18702 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18709 OBJCXXFLAGS
=$cy_save
18710 if test "x$cy_good" = x1
; then :
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18712 $as_echo "yes" >&6; }
18714 for element
in -Wno-overloaded-virtual; do
18716 for x
in $OBJCXXFLAGS; do
18718 acl_save_prefix
="$prefix"
18719 prefix
="$acl_final_prefix"
18720 acl_save_exec_prefix
="$exec_prefix"
18721 exec_prefix
="$acl_final_exec_prefix"
18723 exec_prefix
="$acl_save_exec_prefix"
18724 prefix
="$acl_save_prefix"
18726 if test "X$x" = "X$element"; then
18731 if test -z "$haveit"; then
18732 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18739 $as_echo "no" >&6; }
18743 ac_cpp
='$CXXCPP $CPPFLAGS'
18744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18753 ac_cpp
='$CPP $CPPFLAGS'
18754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
18759 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
18763 for element
in -Wno-parentheses; do
18765 for x
in $CFLAGS; do
18767 acl_save_prefix
="$prefix"
18768 prefix
="$acl_final_prefix"
18769 acl_save_exec_prefix
="$exec_prefix"
18770 exec_prefix
="$acl_final_exec_prefix"
18772 exec_prefix
="$acl_save_exec_prefix"
18773 prefix
="$acl_save_prefix"
18775 if test "X$x" = "X$element"; then
18780 if test -z "$haveit"; then
18781 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18787 /* end confdefs.h. */
18790 if ac_fn_c_try_compile
"$LINENO"; then :
18795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18798 if test "x$cy_good" = x1
; then :
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18800 $as_echo "yes" >&6; }
18802 for element
in -Wno-parentheses; do
18804 for x
in $CFLAGS; do
18806 acl_save_prefix
="$prefix"
18807 prefix
="$acl_final_prefix"
18808 acl_save_exec_prefix
="$exec_prefix"
18809 exec_prefix
="$acl_final_exec_prefix"
18811 exec_prefix
="$acl_save_exec_prefix"
18812 prefix
="$acl_save_prefix"
18814 if test "X$x" = "X$element"; then
18819 if test -z "$haveit"; then
18820 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18827 $as_echo "no" >&6; }
18831 ac_cpp
='$CXXCPP $CPPFLAGS'
18832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18839 ac_cpp
='$CXXCPP $CPPFLAGS'
18840 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18841 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18842 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
18845 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
18849 for element
in -Wno-parentheses; do
18851 for x
in $CXXFLAGS; do
18853 acl_save_prefix
="$prefix"
18854 prefix
="$acl_final_prefix"
18855 acl_save_exec_prefix
="$exec_prefix"
18856 exec_prefix
="$acl_final_exec_prefix"
18858 exec_prefix
="$acl_save_exec_prefix"
18859 prefix
="$acl_save_prefix"
18861 if test "X$x" = "X$element"; then
18866 if test -z "$haveit"; then
18867 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18873 /* end confdefs.h. */
18876 if ac_fn_cxx_try_compile
"$LINENO"; then :
18881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18884 if test "x$cy_good" = x1
; then :
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18886 $as_echo "yes" >&6; }
18888 for element
in -Wno-parentheses; do
18890 for x
in $CXXFLAGS; do
18892 acl_save_prefix
="$prefix"
18893 prefix
="$acl_final_prefix"
18894 acl_save_exec_prefix
="$exec_prefix"
18895 exec_prefix
="$acl_final_exec_prefix"
18897 exec_prefix
="$acl_save_exec_prefix"
18898 prefix
="$acl_save_prefix"
18900 if test "X$x" = "X$element"; then
18905 if test -z "$haveit"; then
18906 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18913 $as_echo "no" >&6; }
18917 ac_cpp
='$CXXCPP $CPPFLAGS'
18918 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18919 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18920 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18925 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18926 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18927 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18928 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
18931 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
18933 cy_save
=$OBJCXXFLAGS
18935 for element
in -Wno-parentheses; do
18937 for x
in $OBJCXXFLAGS; do
18939 acl_save_prefix
="$prefix"
18940 prefix
="$acl_final_prefix"
18941 acl_save_exec_prefix
="$exec_prefix"
18942 exec_prefix
="$acl_final_exec_prefix"
18944 exec_prefix
="$acl_save_exec_prefix"
18945 prefix
="$acl_save_prefix"
18947 if test "X$x" = "X$element"; then
18952 if test -z "$haveit"; then
18953 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18959 /* end confdefs.h. */
18962 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18969 OBJCXXFLAGS
=$cy_save
18970 if test "x$cy_good" = x1
; then :
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18972 $as_echo "yes" >&6; }
18974 for element
in -Wno-parentheses; do
18976 for x
in $OBJCXXFLAGS; do
18978 acl_save_prefix
="$prefix"
18979 prefix
="$acl_final_prefix"
18980 acl_save_exec_prefix
="$exec_prefix"
18981 exec_prefix
="$acl_final_exec_prefix"
18983 exec_prefix
="$acl_save_exec_prefix"
18984 prefix
="$acl_save_prefix"
18986 if test "X$x" = "X$element"; then
18991 if test -z "$haveit"; then
18992 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18999 $as_echo "no" >&6; }
19003 ac_cpp
='$CXXCPP $CPPFLAGS'
19004 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19005 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19006 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19013 ac_cpp
='$CPP $CPPFLAGS'
19014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-tautological-undefined-compare" >&5
19019 $as_echo_n "checking for cc -Wno-tautological-undefined-compare... " >&6; }
19023 for element
in -Wno-tautological-undefined-compare; do
19025 for x
in $CFLAGS; do
19027 acl_save_prefix
="$prefix"
19028 prefix
="$acl_final_prefix"
19029 acl_save_exec_prefix
="$exec_prefix"
19030 exec_prefix
="$acl_final_exec_prefix"
19032 exec_prefix
="$acl_save_exec_prefix"
19033 prefix
="$acl_save_prefix"
19035 if test "X$x" = "X$element"; then
19040 if test -z "$haveit"; then
19041 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19047 /* end confdefs.h. */
19050 if ac_fn_c_try_compile
"$LINENO"; then :
19055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19058 if test "x$cy_good" = x1
; then :
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19060 $as_echo "yes" >&6; }
19062 for element
in -Wno-tautological-undefined-compare; do
19064 for x
in $CFLAGS; do
19066 acl_save_prefix
="$prefix"
19067 prefix
="$acl_final_prefix"
19068 acl_save_exec_prefix
="$exec_prefix"
19069 exec_prefix
="$acl_final_exec_prefix"
19071 exec_prefix
="$acl_save_exec_prefix"
19072 prefix
="$acl_save_prefix"
19074 if test "X$x" = "X$element"; then
19079 if test -z "$haveit"; then
19080 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19087 $as_echo "no" >&6; }
19091 ac_cpp
='$CXXCPP $CPPFLAGS'
19092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19099 ac_cpp
='$CXXCPP $CPPFLAGS'
19100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-tautological-undefined-compare" >&5
19105 $as_echo_n "checking for c++ -Wno-tautological-undefined-compare... " >&6; }
19109 for element
in -Wno-tautological-undefined-compare; do
19111 for x
in $CXXFLAGS; do
19113 acl_save_prefix
="$prefix"
19114 prefix
="$acl_final_prefix"
19115 acl_save_exec_prefix
="$exec_prefix"
19116 exec_prefix
="$acl_final_exec_prefix"
19118 exec_prefix
="$acl_save_exec_prefix"
19119 prefix
="$acl_save_prefix"
19121 if test "X$x" = "X$element"; then
19126 if test -z "$haveit"; then
19127 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19133 /* end confdefs.h. */
19136 if ac_fn_cxx_try_compile
"$LINENO"; then :
19141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19144 if test "x$cy_good" = x1
; then :
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19146 $as_echo "yes" >&6; }
19148 for element
in -Wno-tautological-undefined-compare; do
19150 for x
in $CXXFLAGS; do
19152 acl_save_prefix
="$prefix"
19153 prefix
="$acl_final_prefix"
19154 acl_save_exec_prefix
="$exec_prefix"
19155 exec_prefix
="$acl_final_exec_prefix"
19157 exec_prefix
="$acl_save_exec_prefix"
19158 prefix
="$acl_save_prefix"
19160 if test "X$x" = "X$element"; then
19165 if test -z "$haveit"; then
19166 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19173 $as_echo "no" >&6; }
19177 ac_cpp
='$CXXCPP $CPPFLAGS'
19178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19185 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19186 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19187 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19188 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-tautological-undefined-compare" >&5
19191 $as_echo_n "checking for c++ -ObjC -Wno-tautological-undefined-compare... " >&6; }
19193 cy_save
=$OBJCXXFLAGS
19195 for element
in -Wno-tautological-undefined-compare; do
19197 for x
in $OBJCXXFLAGS; do
19199 acl_save_prefix
="$prefix"
19200 prefix
="$acl_final_prefix"
19201 acl_save_exec_prefix
="$exec_prefix"
19202 exec_prefix
="$acl_final_exec_prefix"
19204 exec_prefix
="$acl_save_exec_prefix"
19205 prefix
="$acl_save_prefix"
19207 if test "X$x" = "X$element"; then
19212 if test -z "$haveit"; then
19213 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19219 /* end confdefs.h. */
19222 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19229 OBJCXXFLAGS
=$cy_save
19230 if test "x$cy_good" = x1
; then :
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19232 $as_echo "yes" >&6; }
19234 for element
in -Wno-tautological-undefined-compare; do
19236 for x
in $OBJCXXFLAGS; do
19238 acl_save_prefix
="$prefix"
19239 prefix
="$acl_final_prefix"
19240 acl_save_exec_prefix
="$exec_prefix"
19241 exec_prefix
="$acl_final_exec_prefix"
19243 exec_prefix
="$acl_save_exec_prefix"
19244 prefix
="$acl_save_prefix"
19246 if test "X$x" = "X$element"; then
19251 if test -z "$haveit"; then
19252 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19259 $as_echo "no" >&6; }
19263 ac_cpp
='$CXXCPP $CPPFLAGS'
19264 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19265 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19266 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19273 ac_cpp
='$CPP $CPPFLAGS'
19274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
19279 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
19283 for element
in -Wno-unneeded-internal-declaration; do
19285 for x
in $CFLAGS; do
19287 acl_save_prefix
="$prefix"
19288 prefix
="$acl_final_prefix"
19289 acl_save_exec_prefix
="$exec_prefix"
19290 exec_prefix
="$acl_final_exec_prefix"
19292 exec_prefix
="$acl_save_exec_prefix"
19293 prefix
="$acl_save_prefix"
19295 if test "X$x" = "X$element"; then
19300 if test -z "$haveit"; then
19301 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19310 if ac_fn_c_try_compile
"$LINENO"; then :
19315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19318 if test "x$cy_good" = x1
; then :
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19320 $as_echo "yes" >&6; }
19322 for element
in -Wno-unneeded-internal-declaration; do
19324 for x
in $CFLAGS; do
19326 acl_save_prefix
="$prefix"
19327 prefix
="$acl_final_prefix"
19328 acl_save_exec_prefix
="$exec_prefix"
19329 exec_prefix
="$acl_final_exec_prefix"
19331 exec_prefix
="$acl_save_exec_prefix"
19332 prefix
="$acl_save_prefix"
19334 if test "X$x" = "X$element"; then
19339 if test -z "$haveit"; then
19340 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19347 $as_echo "no" >&6; }
19351 ac_cpp
='$CXXCPP $CPPFLAGS'
19352 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19359 ac_cpp
='$CXXCPP $CPPFLAGS'
19360 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
19365 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
19369 for element
in -Wno-unneeded-internal-declaration; do
19371 for x
in $CXXFLAGS; do
19373 acl_save_prefix
="$prefix"
19374 prefix
="$acl_final_prefix"
19375 acl_save_exec_prefix
="$exec_prefix"
19376 exec_prefix
="$acl_final_exec_prefix"
19378 exec_prefix
="$acl_save_exec_prefix"
19379 prefix
="$acl_save_prefix"
19381 if test "X$x" = "X$element"; then
19386 if test -z "$haveit"; then
19387 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19396 if ac_fn_cxx_try_compile
"$LINENO"; then :
19401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19404 if test "x$cy_good" = x1
; then :
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19406 $as_echo "yes" >&6; }
19408 for element
in -Wno-unneeded-internal-declaration; do
19410 for x
in $CXXFLAGS; do
19412 acl_save_prefix
="$prefix"
19413 prefix
="$acl_final_prefix"
19414 acl_save_exec_prefix
="$exec_prefix"
19415 exec_prefix
="$acl_final_exec_prefix"
19417 exec_prefix
="$acl_save_exec_prefix"
19418 prefix
="$acl_save_prefix"
19420 if test "X$x" = "X$element"; then
19425 if test -z "$haveit"; then
19426 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19433 $as_echo "no" >&6; }
19437 ac_cpp
='$CXXCPP $CPPFLAGS'
19438 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19439 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19440 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19445 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19446 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
19451 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
19453 cy_save
=$OBJCXXFLAGS
19455 for element
in -Wno-unneeded-internal-declaration; do
19457 for x
in $OBJCXXFLAGS; do
19459 acl_save_prefix
="$prefix"
19460 prefix
="$acl_final_prefix"
19461 acl_save_exec_prefix
="$exec_prefix"
19462 exec_prefix
="$acl_final_exec_prefix"
19464 exec_prefix
="$acl_save_exec_prefix"
19465 prefix
="$acl_save_prefix"
19467 if test "X$x" = "X$element"; then
19472 if test -z "$haveit"; then
19473 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19482 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19489 OBJCXXFLAGS
=$cy_save
19490 if test "x$cy_good" = x1
; then :
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19492 $as_echo "yes" >&6; }
19494 for element
in -Wno-unneeded-internal-declaration; do
19496 for x
in $OBJCXXFLAGS; do
19498 acl_save_prefix
="$prefix"
19499 prefix
="$acl_final_prefix"
19500 acl_save_exec_prefix
="$exec_prefix"
19501 exec_prefix
="$acl_final_exec_prefix"
19503 exec_prefix
="$acl_save_exec_prefix"
19504 prefix
="$acl_save_prefix"
19506 if test "X$x" = "X$element"; then
19511 if test -z "$haveit"; then
19512 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19519 $as_echo "no" >&6; }
19523 ac_cpp
='$CXXCPP $CPPFLAGS'
19524 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19525 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19526 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19535 ac_cpp
='$CPP $CPPFLAGS'
19536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19542 # We used to check for pthread.h first, but this fails if pthread.h
19543 # requires special compiler flags (e.g. on Tru64 or Sequent).
19544 # It gets checked for in the link test anyway.
19546 # First of all, check if the user has set any of the PTHREAD_LIBS,
19547 # etcetera environment variables, and if threads linking works using
19549 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19550 save_CFLAGS
="$CFLAGS"
19551 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19553 LIBS
="$PTHREAD_LIBS $LIBS"
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
19555 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
19556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19559 /* Override any GCC internal prototype to avoid an error.
19560 Use char because int might match the return type of a GCC
19561 builtin and then its argument prototype would still apply. */
19565 char pthread_join ();
19569 return pthread_join ();
19574 if ac_fn_c_try_link
"$LINENO"; then :
19577 rm -f core conftest.err conftest.
$ac_objext \
19578 conftest
$ac_exeext conftest.
$ac_ext
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19580 $as_echo "$ax_pthread_ok" >&6; }
19581 if test x
"$ax_pthread_ok" = xno
; then
19586 CFLAGS
="$save_CFLAGS"
19589 # We must check for the threads library under a number of different
19590 # names; the ordering is very important because some systems
19591 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19592 # libraries is broken (non-POSIX).
19594 # Create a list of thread flags to try. Items starting with a "-" are
19595 # C compiler flags, and other items are library names, except for "none"
19596 # which indicates that we try without any flags at all, and "pthread-config"
19597 # which is a program returning the flags for the Pth emulation library.
19599 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
19601 # The ordering *is* (sometimes) important. Some notes on the
19602 # individual items follow:
19604 # pthreads: AIX (must check this before -lpthread)
19605 # none: in case threads are in libc; should be tried before -Kthread and
19606 # other compiler flags to prevent continual compiler warnings
19607 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19608 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19609 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19610 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
19611 # -pthreads: Solaris/gcc
19612 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19613 # doesn't hurt to check since this sometimes defines pthreads and
19614 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
19615 # is present but should not be used directly)
19616 # -mthreads: Mingw32/gcc, Lynx/gcc
19617 # pthread: Linux, etcetera
19618 # --thread-safe: KAI C++
19619 # pthread-config: use pthread-config program (for GNU Pth library)
19625 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
19626 # multi-threading and also sets -lpthread."
19628 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
19633 # IBM z/OS requires a feature-test macro to be defined in order to
19634 # enable POSIX threads at all, so give the user a hint if this is
19635 # not set. (We don't define these ourselves, as they can affect
19636 # other portions of the system API in unpredictable ways.)
19638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19641 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
19642 AX_PTHREAD_ZOS_MISSING
19646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19647 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
19649 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
19657 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
19658 # check that first. On some older versions, libc contains stubbed
19659 # (non-functional) versions of the pthreads routines, so link-based
19660 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19661 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19662 # a function called by this macro, so we could check for that, but
19663 # who knows whether they'll stub that too in a future libc.) So
19664 # we'll look for -pthreads and -lpthread shortly thereafter.
19666 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
19670 # Older versions of Clang only give a warning instead of an error for an
19671 # unrecognized option, unless we specify -Werror. (We throw in some extra
19672 # Clang warning flags for good measure.)
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
19675 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
19676 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
19677 $as_echo_n "(cached) " >&6
19679 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
19680 save_CFLAGS
="$CFLAGS"
19681 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
19682 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
19683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19684 /* end confdefs.h. */
19694 if ac_fn_c_try_compile
"$LINENO"; then :
19695 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
19697 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
19699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19700 CFLAGS
="$save_CFLAGS"
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
19704 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
19705 ax_pthread_extra_flags
=
19706 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
19707 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
19710 if test x
"$ax_pthread_ok" = xno
; then
19711 for flag
in $ax_pthread_flags; do
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19716 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
19721 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
19722 PTHREAD_CFLAGS
="-mt"
19723 PTHREAD_LIBS
="-lpthread"
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19728 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19729 PTHREAD_CFLAGS
="$flag"
19733 # Extract the first word of "pthread-config", so it can be a program name with args.
19734 set dummy pthread
-config; ac_word
=$2
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19736 $as_echo_n "checking for $ac_word... " >&6; }
19737 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
19738 $as_echo_n "(cached) " >&6
19740 if test -n "$ax_pthread_config"; then
19741 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
19743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19744 for as_dir
in $PATH
19747 test -z "$as_dir" && as_dir
=.
19748 for ac_exec_ext
in '' $ac_executable_extensions; do
19749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19750 ac_cv_prog_ax_pthread_config
="yes"
19751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19758 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
19761 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
19762 if test -n "$ax_pthread_config"; then
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
19764 $as_echo "$ax_pthread_config" >&6; }
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19767 $as_echo "no" >&6; }
19771 if test x
"$ax_pthread_config" = xno
; then continue; fi
19772 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19773 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19778 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19779 PTHREAD_LIBS
="-l$flag"
19784 save_CFLAGS
="$CFLAGS"
19785 LIBS
="$PTHREAD_LIBS $LIBS"
19786 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
19788 # Check for various functions. We must include pthread.h,
19789 # since some functions may be macros. (On the Sequent, we
19790 # need a special flag -Kthread to make this header compile.)
19791 # We check for pthread_join because it is in -lpthread on IRIX
19792 # while pthread_create is in libc. We check for pthread_attr_init
19793 # due to DEC craziness with -lpthreads. We check for
19794 # pthread_cleanup_push because it is one of the few pthread
19795 # functions on Solaris that doesn't have a non-functional libc stub.
19796 # We try pthread_create on general principles.
19797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19799 #include <pthread.h>
19800 static void routine(void *a) { a = 0; }
19801 static void *start_routine(void *a) { return a; }
19805 pthread_t th; pthread_attr_t attr;
19806 pthread_create(&th, 0, start_routine, 0);
19807 pthread_join(th, 0);
19808 pthread_attr_init(&attr);
19809 pthread_cleanup_push(routine, 0);
19810 pthread_cleanup_pop(0) /* ; */
19815 if ac_fn_c_try_link
"$LINENO"; then :
19818 rm -f core conftest.err conftest.
$ac_objext \
19819 conftest
$ac_exeext conftest.
$ac_ext
19822 CFLAGS
="$save_CFLAGS"
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19825 $as_echo "$ax_pthread_ok" >&6; }
19826 if test "x$ax_pthread_ok" = xyes
; then
19835 # Various other checks:
19836 if test "x$ax_pthread_ok" = xyes
; then
19838 LIBS
="$PTHREAD_LIBS $LIBS"
19839 save_CFLAGS
="$CFLAGS"
19840 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19842 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19844 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19845 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
19846 $as_echo_n "(cached) " >&6
19848 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
19849 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h. */
19852 #include <pthread.h>
19856 int attr = $attr; return attr /* ; */
19861 if ac_fn_c_try_link
"$LINENO"; then :
19862 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
19864 rm -f core conftest.err conftest.
$ac_objext \
19865 conftest
$ac_exeext conftest.
$ac_ext
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
19870 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
19871 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
19872 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
19874 cat >>confdefs.h
<<_ACEOF
19875 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19881 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19882 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
19883 $as_echo_n "(cached) " >&6
19885 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
19886 ax_pthread_special_flags_added
=no
19887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19888 /* end confdefs.h. */
19890 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
19891 AX_PTHREAD_NEED_SPECIAL_FLAG
19895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19896 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
19899 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
19901 darwin
* | hpux
* | osf
* | solaris
*)
19902 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
19912 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
19913 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
19914 test "x$ax_pthread_special_flags_added" != "xyes"; then :
19915 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
19916 ax_pthread_special_flags_added
=yes
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
19920 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
19921 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
19922 $as_echo_n "(cached) " >&6
19924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19926 #include <pthread.h>
19930 int i = PTHREAD_PRIO_INHERIT;
19935 if ac_fn_c_try_link
"$LINENO"; then :
19936 ax_cv_PTHREAD_PRIO_INHERIT
=yes
19938 ax_cv_PTHREAD_PRIO_INHERIT
=no
19940 rm -f core conftest.err conftest.
$ac_objext \
19941 conftest
$ac_exeext conftest.
$ac_ext
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
19945 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
19946 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
19948 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
19953 CFLAGS
="$save_CFLAGS"
19955 # More AIX lossage: compile with *_r variant
19956 if test "x$GCC" != xyes
; then
19960 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
19961 #handle absolute path differently from PATH based program lookup
19964 if as_fn_executable_p
${CC}_r
; then :
19965 PTHREAD_CC
="${CC}_r"
19968 for ac_prog
in ${CC}_r
19970 # Extract the first word of "$ac_prog", so it can be a program name with args.
19971 set dummy
$ac_prog; ac_word
=$2
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19973 $as_echo_n "checking for $ac_word... " >&6; }
19974 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19975 $as_echo_n "(cached) " >&6
19977 if test -n "$PTHREAD_CC"; then
19978 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19981 for as_dir
in $PATH
19984 test -z "$as_dir" && as_dir
=.
19985 for ac_exec_ext
in '' $ac_executable_extensions; do
19986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19987 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19997 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19998 if test -n "$PTHREAD_CC"; then
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
20000 $as_echo "$PTHREAD_CC" >&6; }
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20003 $as_echo "no" >&6; }
20007 test -n "$PTHREAD_CC" && break
20009 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
20020 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
20026 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
20027 if test x
"$ax_pthread_ok" = xyes
; then
20029 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
20037 ac_cpp
='$CXXCPP $CPPFLAGS'
20038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20050 # Check whether --enable-javascript was given.
20051 if test "${enable_javascript+set}" = set; then :
20052 enableval
=$enable_javascript;
20053 case $enableval in #(
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20062 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20063 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20064 $as_echo_n "(cached) " >&6
20066 ac_func_search_save_LIBS
=$LIBS
20067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20068 /* end confdefs.h. */
20070 /* Override any GCC internal prototype to avoid an error.
20071 Use char because int might match the return type of a GCC
20072 builtin and then its argument prototype would still apply. */
20076 char JSEvaluateScript ();
20080 return JSEvaluateScript ();
20085 for ac_lib
in '' JavaScriptCore
; do
20086 if test -z "$ac_lib"; then
20087 ac_res
="none required"
20090 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20092 if ac_fn_cxx_try_link
"$LINENO"; then :
20093 ac_cv_search_JSEvaluateScript
=$ac_res
20095 rm -f core conftest.err conftest.
$ac_objext \
20097 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20101 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20104 ac_cv_search_JSEvaluateScript
=no
20106 rm conftest.
$ac_ext
20107 LIBS
=$ac_func_search_save_LIBS
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20110 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20111 ac_res
=$ac_cv_search_JSEvaluateScript
20112 if test "$ac_res" != no
; then :
20113 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20121 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20122 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20123 $as_echo_n "(cached) " >&6
20126 ac_check_framework_save_LIBS
=$LIBS
20127 LIBS
="-framework JavaScriptCore $LIBS"
20128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20129 /* end confdefs.h. */
20131 #include <JavaScriptCore/JSBase.h>
20137 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20143 if ac_fn_cxx_try_link
"$LINENO"; then :
20145 ac_cv_framework_JavaScriptCore
=yes
20148 ac_cv_framework_JavaScriptCore
=no
20150 rm -f core conftest.err conftest.
$ac_objext \
20151 conftest
$ac_exeext conftest.
$ac_ext
20152 LIBS
=$ac_check_framework_save_LIBS
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20156 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20157 if test $ac_cv_framework_JavaScriptCore = yes; then :
20160 for element
in "-framework JavaScriptCore"; do
20164 acl_save_prefix
="$prefix"
20165 prefix
="$acl_final_prefix"
20166 acl_save_exec_prefix
="$exec_prefix"
20167 exec_prefix
="$acl_final_exec_prefix"
20169 exec_prefix
="$acl_save_exec_prefix"
20170 prefix
="$acl_save_prefix"
20172 if test "X$x" = "X$element"; then
20177 if test -z "$haveit"; then
20178 LIBS
="${LIBS}${LIBS:+ }$element"
20189 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20193 $as_echo_n "checking for WEBKIT... " >&6; }
20195 if test -n "$WEBKIT_CFLAGS"; then
20196 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20197 elif test -n "$PKG_CONFIG"; then
20198 if test -n "$PKG_CONFIG" && \
20199 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20200 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20203 test $ac_status = 0; }; then
20204 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20205 test "x$?" != "x0" && pkg_failed
=yes
20212 if test -n "$WEBKIT_LIBS"; then
20213 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20214 elif test -n "$PKG_CONFIG"; then
20215 if test -n "$PKG_CONFIG" && \
20216 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20217 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20220 test $ac_status = 0; }; then
20221 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20222 test "x$?" != "x0" && pkg_failed
=yes
20232 if test $pkg_failed = yes; then
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20234 $as_echo "no" >&6; }
20236 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20237 _pkg_short_errors_supported
=yes
20239 _pkg_short_errors_supported
=no
20241 if test $_pkg_short_errors_supported = yes; then
20242 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20244 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20246 # Put the nasty error message in config.log where it belongs
20247 echo "$WEBKIT_PKG_ERRORS" >&5
20250 elif test $pkg_failed = untried
; then
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20252 $as_echo "no" >&6; }
20255 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20256 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20258 $as_echo "yes" >&6; }
20263 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20265 for x
in $CPPFLAGS; do
20267 acl_save_prefix
="$prefix"
20268 prefix
="$acl_final_prefix"
20269 acl_save_exec_prefix
="$exec_prefix"
20270 exec_prefix
="$acl_final_exec_prefix"
20272 exec_prefix
="$acl_save_exec_prefix"
20273 prefix
="$acl_save_prefix"
20275 if test "X$x" = "X$element"; then
20280 if test -z "$haveit"; then
20281 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20286 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20290 acl_save_prefix
="$prefix"
20291 prefix
="$acl_final_prefix"
20292 acl_save_exec_prefix
="$exec_prefix"
20293 exec_prefix
="$acl_final_exec_prefix"
20295 exec_prefix
="$acl_save_exec_prefix"
20296 prefix
="$acl_save_prefix"
20298 if test "X$x" = "X$element"; then
20303 if test -z "$haveit"; then
20304 LIBS
="${LIBS}${LIBS:+ }$element"
20309 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20315 LTJAVASCRIPTCORE
=$LIBS
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20331 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20332 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20333 $as_echo_n "(cached) " >&6
20335 ac_func_search_save_LIBS
=$LIBS
20336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20337 /* end confdefs.h. */
20339 /* Override any GCC internal prototype to avoid an error.
20340 Use char because int might match the return type of a GCC
20341 builtin and then its argument prototype would still apply. */
20345 char JSEvaluateScript ();
20349 return JSEvaluateScript ();
20354 for ac_lib
in '' JavaScriptCore
; do
20355 if test -z "$ac_lib"; then
20356 ac_res
="none required"
20359 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20361 if ac_fn_cxx_try_link
"$LINENO"; then :
20362 ac_cv_search_JSEvaluateScript
=$ac_res
20364 rm -f core conftest.err conftest.
$ac_objext \
20366 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20370 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20373 ac_cv_search_JSEvaluateScript
=no
20375 rm conftest.
$ac_ext
20376 LIBS
=$ac_func_search_save_LIBS
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20379 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20380 ac_res
=$ac_cv_search_JSEvaluateScript
20381 if test "$ac_res" != no
; then :
20382 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20390 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20391 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20392 $as_echo_n "(cached) " >&6
20395 ac_check_framework_save_LIBS
=$LIBS
20396 LIBS
="-framework JavaScriptCore $LIBS"
20397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20398 /* end confdefs.h. */
20400 #include <JavaScriptCore/JSBase.h>
20406 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20412 if ac_fn_cxx_try_link
"$LINENO"; then :
20414 ac_cv_framework_JavaScriptCore
=yes
20417 ac_cv_framework_JavaScriptCore
=no
20419 rm -f core conftest.err conftest.
$ac_objext \
20420 conftest
$ac_exeext conftest.
$ac_ext
20421 LIBS
=$ac_check_framework_save_LIBS
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20425 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20426 if test $ac_cv_framework_JavaScriptCore = yes; then :
20429 for element
in "-framework JavaScriptCore"; do
20433 acl_save_prefix
="$prefix"
20434 prefix
="$acl_final_prefix"
20435 acl_save_exec_prefix
="$exec_prefix"
20436 exec_prefix
="$acl_final_exec_prefix"
20438 exec_prefix
="$acl_save_exec_prefix"
20439 prefix
="$acl_save_prefix"
20441 if test "X$x" = "X$element"; then
20446 if test -z "$haveit"; then
20447 LIBS
="${LIBS}${LIBS:+ }$element"
20458 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20462 $as_echo_n "checking for WEBKIT... " >&6; }
20464 if test -n "$WEBKIT_CFLAGS"; then
20465 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20466 elif test -n "$PKG_CONFIG"; then
20467 if test -n "$PKG_CONFIG" && \
20468 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20469 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20472 test $ac_status = 0; }; then
20473 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20474 test "x$?" != "x0" && pkg_failed
=yes
20481 if test -n "$WEBKIT_LIBS"; then
20482 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20483 elif test -n "$PKG_CONFIG"; then
20484 if test -n "$PKG_CONFIG" && \
20485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20486 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20489 test $ac_status = 0; }; then
20490 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20491 test "x$?" != "x0" && pkg_failed
=yes
20501 if test $pkg_failed = yes; then
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20503 $as_echo "no" >&6; }
20505 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20506 _pkg_short_errors_supported
=yes
20508 _pkg_short_errors_supported
=no
20510 if test $_pkg_short_errors_supported = yes; then
20511 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20513 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20515 # Put the nasty error message in config.log where it belongs
20516 echo "$WEBKIT_PKG_ERRORS" >&5
20519 elif test $pkg_failed = untried
; then
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20521 $as_echo "no" >&6; }
20524 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20525 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20527 $as_echo "yes" >&6; }
20532 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20534 for x
in $CPPFLAGS; do
20536 acl_save_prefix
="$prefix"
20537 prefix
="$acl_final_prefix"
20538 acl_save_exec_prefix
="$exec_prefix"
20539 exec_prefix
="$acl_final_exec_prefix"
20541 exec_prefix
="$acl_save_exec_prefix"
20542 prefix
="$acl_save_prefix"
20544 if test "X$x" = "X$element"; then
20549 if test -z "$haveit"; then
20550 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20555 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20559 acl_save_prefix
="$prefix"
20560 prefix
="$acl_final_prefix"
20561 acl_save_exec_prefix
="$exec_prefix"
20562 exec_prefix
="$acl_final_exec_prefix"
20564 exec_prefix
="$acl_save_exec_prefix"
20565 prefix
="$acl_save_prefix"
20567 if test "X$x" = "X$element"; then
20572 if test -z "$haveit"; then
20573 LIBS
="${LIBS}${LIBS:+ }$element"
20578 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20584 LTJAVASCRIPTCORE
=$LIBS
20590 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20600 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20601 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20602 $as_echo_n "(cached) " >&6
20604 ac_func_search_save_LIBS
=$LIBS
20605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20606 /* end confdefs.h. */
20608 /* Override any GCC internal prototype to avoid an error.
20609 Use char because int might match the return type of a GCC
20610 builtin and then its argument prototype would still apply. */
20614 char JSEvaluateScript ();
20618 return JSEvaluateScript ();
20623 for ac_lib
in '' JavaScriptCore
; do
20624 if test -z "$ac_lib"; then
20625 ac_res
="none required"
20628 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20630 if ac_fn_cxx_try_link
"$LINENO"; then :
20631 ac_cv_search_JSEvaluateScript
=$ac_res
20633 rm -f core conftest.err conftest.
$ac_objext \
20635 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20639 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20642 ac_cv_search_JSEvaluateScript
=no
20644 rm conftest.
$ac_ext
20645 LIBS
=$ac_func_search_save_LIBS
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20648 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20649 ac_res
=$ac_cv_search_JSEvaluateScript
20650 if test "$ac_res" != no
; then :
20651 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20659 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20660 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20661 $as_echo_n "(cached) " >&6
20664 ac_check_framework_save_LIBS
=$LIBS
20665 LIBS
="-framework JavaScriptCore $LIBS"
20666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20667 /* end confdefs.h. */
20669 #include <JavaScriptCore/JSBase.h>
20675 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20681 if ac_fn_cxx_try_link
"$LINENO"; then :
20683 ac_cv_framework_JavaScriptCore
=yes
20686 ac_cv_framework_JavaScriptCore
=no
20688 rm -f core conftest.err conftest.
$ac_objext \
20689 conftest
$ac_exeext conftest.
$ac_ext
20690 LIBS
=$ac_check_framework_save_LIBS
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20694 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20695 if test $ac_cv_framework_JavaScriptCore = yes; then :
20698 for element
in "-framework JavaScriptCore"; do
20702 acl_save_prefix
="$prefix"
20703 prefix
="$acl_final_prefix"
20704 acl_save_exec_prefix
="$exec_prefix"
20705 exec_prefix
="$acl_final_exec_prefix"
20707 exec_prefix
="$acl_save_exec_prefix"
20708 prefix
="$acl_save_prefix"
20710 if test "X$x" = "X$element"; then
20715 if test -z "$haveit"; then
20716 LIBS
="${LIBS}${LIBS:+ }$element"
20727 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20731 $as_echo_n "checking for WEBKIT... " >&6; }
20733 if test -n "$WEBKIT_CFLAGS"; then
20734 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20735 elif test -n "$PKG_CONFIG"; then
20736 if test -n "$PKG_CONFIG" && \
20737 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20738 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20741 test $ac_status = 0; }; then
20742 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20743 test "x$?" != "x0" && pkg_failed
=yes
20750 if test -n "$WEBKIT_LIBS"; then
20751 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20752 elif test -n "$PKG_CONFIG"; then
20753 if test -n "$PKG_CONFIG" && \
20754 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20755 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20758 test $ac_status = 0; }; then
20759 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20760 test "x$?" != "x0" && pkg_failed
=yes
20770 if test $pkg_failed = yes; then
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20772 $as_echo "no" >&6; }
20774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20775 _pkg_short_errors_supported
=yes
20777 _pkg_short_errors_supported
=no
20779 if test $_pkg_short_errors_supported = yes; then
20780 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20782 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20784 # Put the nasty error message in config.log where it belongs
20785 echo "$WEBKIT_PKG_ERRORS" >&5
20788 elif test $pkg_failed = untried
; then
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20790 $as_echo "no" >&6; }
20793 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20794 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20796 $as_echo "yes" >&6; }
20801 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20803 for x
in $CPPFLAGS; do
20805 acl_save_prefix
="$prefix"
20806 prefix
="$acl_final_prefix"
20807 acl_save_exec_prefix
="$exec_prefix"
20808 exec_prefix
="$acl_final_exec_prefix"
20810 exec_prefix
="$acl_save_exec_prefix"
20811 prefix
="$acl_save_prefix"
20813 if test "X$x" = "X$element"; then
20818 if test -z "$haveit"; then
20819 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20824 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20828 acl_save_prefix
="$prefix"
20829 prefix
="$acl_final_prefix"
20830 acl_save_exec_prefix
="$exec_prefix"
20831 exec_prefix
="$acl_final_exec_prefix"
20833 exec_prefix
="$acl_save_exec_prefix"
20834 prefix
="$acl_save_prefix"
20836 if test "X$x" = "X$element"; then
20841 if test -z "$haveit"; then
20842 LIBS
="${LIBS}${LIBS:+ }$element"
20847 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20853 LTJAVASCRIPTCORE
=$LIBS
20861 # Check whether --enable-console was given.
20862 if test "${enable_console+set}" = set; then :
20863 enableval
=$enable_console;
20866 if test "x$enable_console" != "xno"; then
20868 CY_CONSOLE_FALSE
='#'
20870 CY_CONSOLE_TRUE
='#'
20875 # Check whether --enable-attach was given.
20876 if test "${enable_attach+set}" = set; then :
20877 enableval
=$enable_attach;
20880 if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1
; then
20882 CY_ATTACH_FALSE
='#'
20891 if test "x$CY_EXECUTE" = x1
; then
20893 CY_EXECUTE_FALSE
='#'
20895 CY_EXECUTE_TRUE
='#'
20901 case $CY_EXECUTE in #(
20904 for ac_header
in ffi.h ffi
/ffi.h
20906 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20907 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20908 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20909 cat >>confdefs.h
<<_ACEOF
20910 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20921 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
20925 C compiler flags
for LIBFFI
, overriding pkg
-config
20926 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
20930 $as_echo_n "checking for LIBFFI... " >&6; }
20932 if test -n "$LIBFFI_CFLAGS"; then
20933 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
20934 elif test -n "$PKG_CONFIG"; then
20935 if test -n "$PKG_CONFIG" && \
20936 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20937 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20940 test $ac_status = 0; }; then
20941 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
20942 test "x$?" != "x0" && pkg_failed
=yes
20949 if test -n "$LIBFFI_LIBS"; then
20950 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
20951 elif test -n "$PKG_CONFIG"; then
20952 if test -n "$PKG_CONFIG" && \
20953 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20954 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20957 test $ac_status = 0; }; then
20958 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
20959 test "x$?" != "x0" && pkg_failed
=yes
20969 if test $pkg_failed = yes; then
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20971 $as_echo "no" >&6; }
20973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20974 _pkg_short_errors_supported
=yes
20976 _pkg_short_errors_supported
=no
20978 if test $_pkg_short_errors_supported = yes; then
20979 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20981 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20983 # Put the nasty error message in config.log where it belongs
20984 echo "$LIBFFI_PKG_ERRORS" >&5
20986 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20987 elif test $pkg_failed = untried
; then
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20989 $as_echo "no" >&6; }
20990 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20992 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20993 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20995 $as_echo "yes" >&6; }
20998 for element
in `$PKG_CONFIG --cflags libffi`; do
21000 for x
in $CPPFLAGS; do
21002 acl_save_prefix
="$prefix"
21003 prefix
="$acl_final_prefix"
21004 acl_save_exec_prefix
="$exec_prefix"
21005 exec_prefix
="$acl_final_exec_prefix"
21007 exec_prefix
="$acl_save_exec_prefix"
21008 prefix
="$acl_save_prefix"
21010 if test "X$x" = "X$element"; then
21015 if test -z "$haveit"; then
21016 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21021 for element
in `$PKG_CONFIG --libs libffi`; do
21025 acl_save_prefix
="$prefix"
21026 prefix
="$acl_final_prefix"
21027 acl_save_exec_prefix
="$exec_prefix"
21028 exec_prefix
="$acl_final_exec_prefix"
21030 exec_prefix
="$acl_save_exec_prefix"
21031 prefix
="$acl_save_prefix"
21033 if test "X$x" = "X$element"; then
21038 if test -z "$haveit"; then
21039 LIBS
="${LIBS}${LIBS:+ }$element"
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
21049 $as_echo_n "checking for library containing ffi_call... " >&6; }
21050 if ${ac_cv_search_ffi_call+:} false
; then :
21051 $as_echo_n "(cached) " >&6
21053 ac_func_search_save_LIBS
=$LIBS
21054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21055 /* end confdefs.h. */
21057 /* Override any GCC internal prototype to avoid an error.
21058 Use char because int might match the return type of a GCC
21059 builtin and then its argument prototype would still apply. */
21067 return ffi_call ();
21072 for ac_lib
in '' ffi
; do
21073 if test -z "$ac_lib"; then
21074 ac_res
="none required"
21077 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21079 if ac_fn_cxx_try_link
"$LINENO"; then :
21080 ac_cv_search_ffi_call
=$ac_res
21082 rm -f core conftest.err conftest.
$ac_objext \
21084 if ${ac_cv_search_ffi_call+:} false
; then :
21088 if ${ac_cv_search_ffi_call+:} false
; then :
21091 ac_cv_search_ffi_call
=no
21093 rm conftest.
$ac_ext
21094 LIBS
=$ac_func_search_save_LIBS
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
21097 $as_echo "$ac_cv_search_ffi_call" >&6; }
21098 ac_res
=$ac_cv_search_ffi_call
21099 if test "$ac_res" != no
; then :
21100 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21104 case $ac_cv_search_ffi_call in #(
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
21110 $as_echo_n "checking for LIBFFI... " >&6; }
21112 if test -n "$LIBFFI_CFLAGS"; then
21113 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
21114 elif test -n "$PKG_CONFIG"; then
21115 if test -n "$PKG_CONFIG" && \
21116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
21117 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
21119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21120 test $ac_status = 0; }; then
21121 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
21122 test "x$?" != "x0" && pkg_failed
=yes
21129 if test -n "$LIBFFI_LIBS"; then
21130 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
21131 elif test -n "$PKG_CONFIG"; then
21132 if test -n "$PKG_CONFIG" && \
21133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
21134 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
21136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21137 test $ac_status = 0; }; then
21138 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
21139 test "x$?" != "x0" && pkg_failed
=yes
21149 if test $pkg_failed = yes; then
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21151 $as_echo "no" >&6; }
21153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21154 _pkg_short_errors_supported
=yes
21156 _pkg_short_errors_supported
=no
21158 if test $_pkg_short_errors_supported = yes; then
21159 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
21161 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
21163 # Put the nasty error message in config.log where it belongs
21164 echo "$LIBFFI_PKG_ERRORS" >&5
21166 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
21167 elif test $pkg_failed = untried
; then
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21169 $as_echo "no" >&6; }
21170 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
21172 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
21173 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21175 $as_echo "yes" >&6; }
21178 for element
in `$PKG_CONFIG --cflags libffi`; do
21180 for x
in $CPPFLAGS; do
21182 acl_save_prefix
="$prefix"
21183 prefix
="$acl_final_prefix"
21184 acl_save_exec_prefix
="$exec_prefix"
21185 exec_prefix
="$acl_final_exec_prefix"
21187 exec_prefix
="$acl_save_exec_prefix"
21188 prefix
="$acl_save_prefix"
21190 if test "X$x" = "X$element"; then
21195 if test -z "$haveit"; then
21196 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21201 for element
in `$PKG_CONFIG --libs libffi`; do
21205 acl_save_prefix
="$prefix"
21206 prefix
="$acl_final_prefix"
21207 acl_save_exec_prefix
="$exec_prefix"
21208 exec_prefix
="$acl_final_exec_prefix"
21210 exec_prefix
="$acl_save_exec_prefix"
21211 prefix
="$acl_save_prefix"
21213 if test "X$x" = "X$element"; then
21218 if test -z "$haveit"; then
21219 LIBS
="${LIBS}${LIBS:+ }$element"
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaVM" >&5
21237 $as_echo_n "checking for framework JavaVM... " >&6; }
21238 if ${ac_cv_framework_JavaVM+:} false
; then :
21239 $as_echo_n "(cached) " >&6
21242 ac_check_framework_save_LIBS
=$LIBS
21243 LIBS
="-framework JavaVM $LIBS"
21244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21245 /* end confdefs.h. */
21247 #include <JavaVM/jni.h>
21252 JNI_GetCreatedJavaVMs(NULL, 0, NULL);
21257 if ac_fn_cxx_try_link
"$LINENO"; then :
21259 ac_cv_framework_JavaVM
=yes
21262 ac_cv_framework_JavaVM
=no
21264 rm -f core conftest.err conftest.
$ac_objext \
21265 conftest
$ac_exeext conftest.
$ac_ext
21266 LIBS
=$ac_check_framework_save_LIBS
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaVM" >&5
21270 $as_echo "$ac_cv_framework_JavaVM" >&6; }
21271 if test $ac_cv_framework_JavaVM = yes; then :
21274 for element
in "-framework JavaVM"; do
21278 acl_save_prefix
="$prefix"
21279 prefix
="$acl_final_prefix"
21280 acl_save_exec_prefix
="$exec_prefix"
21281 exec_prefix
="$acl_final_exec_prefix"
21283 exec_prefix
="$acl_save_exec_prefix"
21284 prefix
="$acl_save_prefix"
21286 if test "X$x" = "X$element"; then
21291 if test -z "$haveit"; then
21292 LIBS
="${LIBS}${LIBS:+ }$element"
21302 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
21303 if test "x$ac_cv_header_jni_h" = xyes
; then :
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
21311 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
21312 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
21313 $as_echo_n "(cached) " >&6
21315 ac_func_search_save_LIBS
=$LIBS
21316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21317 /* end confdefs.h. */
21319 /* Override any GCC internal prototype to avoid an error.
21320 Use char because int might match the return type of a GCC
21321 builtin and then its argument prototype would still apply. */
21325 char JNI_GetCreatedJavaVMs ();
21329 return JNI_GetCreatedJavaVMs ();
21334 for ac_lib
in '' dvm
; do
21335 if test -z "$ac_lib"; then
21336 ac_res
="none required"
21339 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21341 if ac_fn_cxx_try_link
"$LINENO"; then :
21342 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
21344 rm -f core conftest.err conftest.
$ac_objext \
21346 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
21350 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
21353 ac_cv_search_JNI_GetCreatedJavaVMs
=no
21355 rm conftest.
$ac_ext
21356 LIBS
=$ac_func_search_save_LIBS
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
21359 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
21360 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
21361 if test "$ac_res" != no
; then :
21362 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21383 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
21384 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21385 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21386 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
21390 $as_echo_n "checking if we really have Objective C++... " >&6; }
21391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21392 /* end confdefs.h. */
21395 if ac_fn_objcxx_try_compile
"$LINENO"; then :
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21399 $as_echo "yes" >&6; }
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21403 $as_echo "no" >&6; }
21405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21407 if test "x$CY_OBJECTIVEC" = x1
; then :
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
21414 $as_echo_n "checking for framework CoreFoundation... " >&6; }
21415 if ${ac_cv_framework_CoreFoundation+:} false
; then :
21416 $as_echo_n "(cached) " >&6
21419 ac_check_framework_save_LIBS
=$LIBS
21420 LIBS
="-framework CoreFoundation $LIBS"
21421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21422 /* end confdefs.h. */
21424 #include <CoreFoundation/CFBase.h>
21429 CFAllocatorGetDefault();
21434 if ac_fn_objcxx_try_link
"$LINENO"; then :
21436 ac_cv_framework_CoreFoundation
=yes
21439 ac_cv_framework_CoreFoundation
=no
21441 rm -f core conftest.err conftest.
$ac_objext \
21442 conftest
$ac_exeext conftest.
$ac_ext
21443 LIBS
=$ac_check_framework_save_LIBS
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
21447 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
21448 if test $ac_cv_framework_CoreFoundation = yes; then :
21451 for element
in "-framework CoreFoundation"; do
21455 acl_save_prefix
="$prefix"
21456 prefix
="$acl_final_prefix"
21457 acl_save_exec_prefix
="$exec_prefix"
21458 exec_prefix
="$acl_final_exec_prefix"
21460 exec_prefix
="$acl_save_exec_prefix"
21461 prefix
="$acl_save_prefix"
21463 if test "X$x" = "X$element"; then
21468 if test -z "$haveit"; then
21469 LIBS
="${LIBS}${LIBS:+ }$element"
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
21479 $as_echo_n "checking for framework Foundation... " >&6; }
21480 if ${ac_cv_framework_Foundation+:} false
; then :
21481 $as_echo_n "(cached) " >&6
21484 ac_check_framework_save_LIBS
=$LIBS
21485 LIBS
="-framework Foundation $LIBS"
21486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21487 /* end confdefs.h. */
21489 #include <Foundation/NSObject.h>
21494 [[NSObject alloc] init];
21499 if ac_fn_objcxx_try_link
"$LINENO"; then :
21501 ac_cv_framework_Foundation
=yes
21504 ac_cv_framework_Foundation
=no
21506 rm -f core conftest.err conftest.
$ac_objext \
21507 conftest
$ac_exeext conftest.
$ac_ext
21508 LIBS
=$ac_check_framework_save_LIBS
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
21512 $as_echo "$ac_cv_framework_Foundation" >&6; }
21513 if test $ac_cv_framework_Foundation = yes; then :
21516 for element
in "-framework Foundation"; do
21520 acl_save_prefix
="$prefix"
21521 prefix
="$acl_final_prefix"
21522 acl_save_exec_prefix
="$exec_prefix"
21523 exec_prefix
="$acl_final_exec_prefix"
21525 exec_prefix
="$acl_save_exec_prefix"
21526 prefix
="$acl_save_prefix"
21528 if test "X$x" = "X$element"; then
21533 if test -z "$haveit"; then
21534 LIBS
="${LIBS}${LIBS:+ }$element"
21538 cat >>confdefs.h
<<_ACEOF
21539 #define HAVE_FRAMEWORK_FOUNDATION 1
21549 for ac_prog
in gnustep
-config
21551 # Extract the first word of "$ac_prog", so it can be a program name with args.
21552 set dummy
$ac_prog; ac_word
=$2
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21554 $as_echo_n "checking for $ac_word... " >&6; }
21555 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
21556 $as_echo_n "(cached) " >&6
21558 if test -n "$GNUSTEP_CONFIG"; then
21559 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
21561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21562 for as_dir
in $PATH
21565 test -z "$as_dir" && as_dir
=.
21566 for ac_exec_ext
in '' $ac_executable_extensions; do
21567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21568 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
21569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21578 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
21579 if test -n "$GNUSTEP_CONFIG"; then
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
21581 $as_echo "$GNUSTEP_CONFIG" >&6; }
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21584 $as_echo "no" >&6; }
21588 test -n "$GNUSTEP_CONFIG" && break
21592 if test "x$GNUSTEP_CONFIG" != x
; then :
21596 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
21598 for x
in $OBJCXXFLAGS; do
21600 acl_save_prefix
="$prefix"
21601 prefix
="$acl_final_prefix"
21602 acl_save_exec_prefix
="$exec_prefix"
21603 exec_prefix
="$acl_final_exec_prefix"
21605 exec_prefix
="$acl_save_exec_prefix"
21606 prefix
="$acl_save_prefix"
21608 if test "X$x" = "X$element"; then
21613 if test -z "$haveit"; then
21614 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21619 for element
in `$GNUSTEP_CONFIG --base-libs`; do
21623 acl_save_prefix
="$prefix"
21624 prefix
="$acl_final_prefix"
21625 acl_save_exec_prefix
="$exec_prefix"
21626 exec_prefix
="$acl_final_exec_prefix"
21628 exec_prefix
="$acl_save_exec_prefix"
21629 prefix
="$acl_save_prefix"
21631 if test "X$x" = "X$element"; then
21636 if test -z "$haveit"; then
21637 LIBS
="${LIBS}${LIBS:+ }$element"
21656 ac_cpp
='$CXXCPP $CPPFLAGS'
21657 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21658 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21659 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21666 if test "x$CY_JAVA" = x1
; then
21674 if test "x$CY_OBJECTIVEC" = x1
; then
21675 CY_OBJECTIVEC_TRUE
=
21676 CY_OBJECTIVEC_FALSE
='#'
21678 CY_OBJECTIVEC_TRUE
='#'
21679 CY_OBJECTIVEC_FALSE
=
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
21688 $as_echo_n "checking for a readline compatible library... " >&6; }
21689 if ${ax_cv_lib_readline+:} false
; then :
21690 $as_echo_n "(cached) " >&6
21694 for readline_lib
in readline edit editline
; do
21695 for termcap_lib
in "" termcap curses ncurses
; do
21696 if test -z "$termcap_lib"; then
21697 TRY_LIB
="-l$readline_lib"
21699 TRY_LIB
="-l$readline_lib -l$termcap_lib"
21701 LIBS
="$ORIG_LIBS $TRY_LIB"
21702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21703 /* end confdefs.h. */
21705 /* Override any GCC internal prototype to avoid an error.
21706 Use char because int might match the return type of a GCC
21707 builtin and then its argument prototype would still apply. */
21715 return readline ();
21720 if ac_fn_cxx_try_link
"$LINENO"; then :
21721 ax_cv_lib_readline
="$TRY_LIB"
21723 rm -f core conftest.err conftest.
$ac_objext \
21724 conftest
$ac_exeext conftest.
$ac_ext
21725 if test -n "$ax_cv_lib_readline"; then
21729 if test -n "$ax_cv_lib_readline"; then
21733 if test -z "$ax_cv_lib_readline"; then
21734 ax_cv_lib_readline
="no"
21739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
21740 $as_echo "$ax_cv_lib_readline" >&6; }
21742 if test "$ax_cv_lib_readline" != "no"; then
21743 LIBS
="$LIBS $ax_cv_lib_readline"
21745 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
21747 for ac_header
in readline.h readline
/readline.h
21749 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21750 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21751 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21752 cat >>confdefs.h
<<_ACEOF
21753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
21761 $as_echo_n "checking whether readline supports history... " >&6; }
21762 if ${ax_cv_lib_readline_history+:} false
; then :
21763 $as_echo_n "(cached) " >&6
21766 ax_cv_lib_readline_history
="no"
21767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21768 /* end confdefs.h. */
21770 /* Override any GCC internal prototype to avoid an error.
21771 Use char because int might match the return type of a GCC
21772 builtin and then its argument prototype would still apply. */
21776 char add_history ();
21780 return add_history ();
21785 if ac_fn_cxx_try_link
"$LINENO"; then :
21786 ax_cv_lib_readline_history
="yes"
21788 rm -f core conftest.err conftest.
$ac_objext \
21789 conftest
$ac_exeext conftest.
$ac_ext
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
21793 $as_echo "$ax_cv_lib_readline_history" >&6; }
21794 if test "$ax_cv_lib_readline_history" = "yes"; then
21796 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
21798 for ac_header
in history.h readline
/history.h
21800 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21801 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21802 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21803 cat >>confdefs.h
<<_ACEOF
21804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21814 LTLIBREADLINE
=$LIBS
21818 case $ax_cv_lib_readline in #(
21820 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
21828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
21829 $as_echo_n "checking for library containing cur_term... " >&6; }
21830 if ${ac_cv_search_cur_term+:} false
; then :
21831 $as_echo_n "(cached) " >&6
21833 ac_func_search_save_LIBS
=$LIBS
21834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21835 /* end confdefs.h. */
21837 /* Override any GCC internal prototype to avoid an error.
21838 Use char because int might match the return type of a GCC
21839 builtin and then its argument prototype would still apply. */
21847 return cur_term ();
21852 for ac_lib
in '' termcap ncurses
; do
21853 if test -z "$ac_lib"; then
21854 ac_res
="none required"
21857 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21859 if ac_fn_cxx_try_link
"$LINENO"; then :
21860 ac_cv_search_cur_term
=$ac_res
21862 rm -f core conftest.err conftest.
$ac_objext \
21864 if ${ac_cv_search_cur_term+:} false
; then :
21868 if ${ac_cv_search_cur_term+:} false
; then :
21871 ac_cv_search_cur_term
=no
21873 rm conftest.
$ac_ext
21874 LIBS
=$ac_func_search_save_LIBS
21876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
21877 $as_echo "$ac_cv_search_cur_term" >&6; }
21878 ac_res
=$ac_cv_search_cur_term
21879 if test "$ac_res" != no
; then :
21880 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21895 ac_config_files
="$ac_config_files Makefile"
21897 cat >confcache
<<\_ACEOF
21898 # This file is a shell script that caches the results of configure
21899 # tests run on this system so they can be shared between configure
21900 # scripts and configure runs, see configure's option --config-cache.
21901 # It is not useful on other systems. If it contains results you don't
21902 # want to keep, you may remove or edit it.
21904 # config.status only pays attention to the cache file if you give it
21905 # the --recheck option to rerun configure.
21907 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21908 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21909 # following values.
21913 # The following way of writing the cache mishandles newlines in values,
21914 # but we know of no workaround that is simple, portable, and efficient.
21915 # So, we kill variables containing newlines.
21916 # Ultrix sh set writes to stderr and can't be redirected directly,
21917 # and sets the high bit in the cache file unless we assign to the vars.
21919 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21920 eval ac_val
=\$
$ac_var
21924 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21925 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21928 _
| IFS
| as_nl
) ;; #(
21929 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21930 *) { eval $ac_var=; unset $ac_var;} ;;
21936 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21937 *${as_nl}ac_space
=\
*)
21938 # `set' does not quote correctly, so add quotes: double-quote
21939 # substitution turns \\\\ into \\, and sed turns \\ into \.
21942 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21945 # `set' quotes correctly as required by POSIX, so do not add quotes.
21946 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21955 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21957 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21959 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21960 if test -w "$cache_file"; then
21961 if test "x$cache_file" != "x/dev/null"; then
21962 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21963 $as_echo "$as_me: updating cache $cache_file" >&6;}
21964 if test ! -f "$cache_file" || test -h "$cache_file"; then
21965 cat confcache
>"$cache_file"
21967 case $cache_file in #(
21969 mv -f confcache
"$cache_file"$$
&&
21970 mv -f "$cache_file"$$
"$cache_file" ;; #(
21972 mv -f confcache
"$cache_file" ;;
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21978 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21983 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21984 # Let make expand exec_prefix.
21985 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21987 DEFS
=-DHAVE_CONFIG_H
21992 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21993 # 1. Remove the extension, and $U if already installed.
21994 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21995 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21996 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21997 # will be set to the directory where LIBOBJS objects are built.
21998 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21999 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22001 LIBOBJS
=$ac_libobjs
22003 LTLIBOBJS
=$ac_ltlibobjs
22006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22007 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22008 if test -n "$am_sleep_pid"; then
22009 # Hide warnings about reused PIDs.
22010 wait $am_sleep_pid 2>/dev
/null
22012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22013 $as_echo "done" >&6; }
22014 if test -n "$EXEEXT"; then
22016 am__EXEEXT_FALSE
='#'
22018 am__EXEEXT_TRUE
='#'
22022 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22023 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22026 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22027 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22030 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22031 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22034 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22035 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
22036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22038 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
22039 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
22040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22042 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
22043 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
22044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22046 if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then
22047 as_fn_error $?
"conditional \"CY_ATTACH\" was never defined.
22048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22050 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
22051 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
22052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22054 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
22055 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
22056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22058 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
22059 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
22060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22063 : "${CONFIG_STATUS=./config.status}"
22065 ac_clean_files_save
=$ac_clean_files
22066 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22067 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22068 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22070 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22072 # Generated by $as_me.
22073 # Run this file to recreate the current configuration.
22074 # Compiler output produced by configure, useful for debugging
22075 # configure, is in config.log if it exists.
22078 ac_cs_recheck=false
22081 SHELL=\${CONFIG_SHELL-$SHELL}
22084 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
22085 ## -------------------- ##
22086 ## M4sh Initialization. ##
22087 ## -------------------- ##
22089 # Be more Bourne compatible
22090 DUALCASE
=1; export DUALCASE
# for MKS sh
22091 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22094 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22095 # is contrary to our usage. Disable this feature.
22096 alias -g '${1+"$@"}'='"$@"'
22097 setopt NO_GLOB_SUBST
22099 case `(set -o) 2>/dev/null` in #(
22111 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22112 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22113 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22114 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22115 # Prefer a ksh shell builtin over an external printf program on Solaris,
22116 # but without wasting forks for bash or zsh.
22117 if test -z "$BASH_VERSION$ZSH_VERSION" \
22118 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22119 as_echo='print
-r --'
22120 as_echo_n='print
-rn --'
22121 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22122 as_echo='printf %s
\n'
22123 as_echo_n='printf %s
'
22125 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22126 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22127 as_echo_n='/usr
/ucb
/echo -n'
22129 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22130 as_echo_n_body='eval
22134 expr "X$arg" : "X\\(.*\\)$as_nl";
22135 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22137 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22139 export as_echo_n_body
22140 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22142 export as_echo_body
22143 as_echo='sh
-c $as_echo_body as_echo
'
22146 # The user is always right.
22147 if test "${PATH_SEPARATOR+set}" != set; then
22149 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22150 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22157 # We need space, tab and new line, in precisely that order. Quoting is
22158 # there to prevent editors from complaining about space-tab.
22159 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22160 # splitting by setting IFS to empty value.)
22163 # Find who we are. Look in the path if we contain no directory separator.
22166 *[\\/]* ) as_myself=$0 ;;
22167 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22168 for as_dir in $PATH
22171 test -z "$as_dir" && as_dir=.
22172 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22178 # We did not find ourselves, most probably we were run as `sh COMMAND'
22179 # in which case we are not to be found in the path.
22180 if test "x$as_myself" = x
; then
22183 if test ! -f "$as_myself"; then
22184 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22188 # Unset variables that we do not need and which cause bugs (e.g. in
22189 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22190 # suppresses any "Segmentation fault" message there. '((' could
22191 # trigger a bug in pdksh 5.2.14.
22192 for as_var
in BASH_ENV ENV MAIL MAILPATH
22193 do eval test x\
${$as_var+set} = xset \
22194 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
22207 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22210 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22211 # ----------------------------------------
22212 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22213 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22214 # script with STATUS, using 1 if that was 0.
22217 as_status
=$1; test $as_status -eq 0 && as_status
=1
22219 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22220 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22222 $as_echo "$as_me: error: $2" >&2
22223 as_fn_exit
$as_status
22227 # as_fn_set_status STATUS
22228 # -----------------------
22229 # Set $? to STATUS, without forking.
22230 as_fn_set_status
()
22233 } # as_fn_set_status
22235 # as_fn_exit STATUS
22236 # -----------------
22237 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22241 as_fn_set_status
$1
22247 # Portably unset VAR.
22250 { eval $1=; unset $1;}
22252 as_unset
=as_fn_unset
22253 # as_fn_append VAR VALUE
22254 # ----------------------
22255 # Append the text in VALUE to the end of the definition contained in VAR. Take
22256 # advantage of any shell optimizations that allow amortized linear growth over
22257 # repeated appends, instead of the typical quadratic growth present in naive
22259 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22260 eval 'as_fn_append ()
22271 # as_fn_arith ARG...
22272 # ------------------
22273 # Perform arithmetic evaluation on the ARGs, and store the result in the
22274 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22275 # must be portable across $(()) and expr.
22276 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22277 eval 'as_fn_arith ()
22284 as_val
=`expr "$@" || test $? -eq 1`
22289 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22290 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22296 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22297 as_basename
=basename
22302 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22308 as_me
=`$as_basename -- "$0" ||
22309 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22310 X"$0" : 'X\(//\)$' \| \
22311 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22313 sed '/^.*\/\([^/][^/]*\)\/*$/{
22327 # Avoid depending upon Character Ranges.
22328 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22329 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22330 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22331 as_cr_digits
='0123456789'
22332 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22334 ECHO_C
= ECHO_N
= ECHO_T
=
22335 case `echo -n x` in #(((((
22337 case `echo 'xy\c'` in
22338 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22340 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22347 rm -f conf$$ conf$$.exe conf$$.
file
22348 if test -d conf$$.dir
; then
22349 rm -f conf$$.dir
/conf$$.
file
22352 mkdir conf$$.dir
2>/dev
/null
22354 if (echo >conf$$.
file) 2>/dev
/null
; then
22355 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22357 # ... but there are two gotchas:
22358 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22359 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22360 # In both cases, we have to default to `cp -pR'.
22361 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
22363 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22371 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22372 rmdir conf$$.dir
2>/dev
/null
22377 # Create "$as_dir" as a directory, including parents if necessary.
22382 -*) as_dir
=.
/$as_dir;;
22384 test -d "$as_dir" || eval $as_mkdir_p || {
22388 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22389 *) as_qdir
=$as_dir;;
22391 as_dirs
="'$as_qdir' $as_dirs"
22392 as_dir
=`$as_dirname -- "$as_dir" ||
22393 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22394 X"$as_dir" : 'X\(//\)[^/]' \| \
22395 X"$as_dir" : 'X\(//\)$' \| \
22396 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22397 $as_echo X"$as_dir" |
22398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22402 /^X\(\/\/\)[^/].*/{
22415 test -d "$as_dir" && break
22417 test -z "$as_dirs" || eval "mkdir $as_dirs"
22418 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22422 if mkdir -p .
2>/dev
/null
; then
22423 as_mkdir_p
='mkdir -p "$as_dir"'
22425 test -d .
/-p && rmdir .
/-p
22430 # as_fn_executable_p FILE
22431 # -----------------------
22432 # Test if FILE is an executable regular file.
22433 as_fn_executable_p
()
22435 test -f "$1" && test -x "$1"
22436 } # as_fn_executable_p
22437 as_test_x
='test -x'
22438 as_executable_p
=as_fn_executable_p
22440 # Sed expression to map a string onto a valid CPP name.
22441 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22443 # Sed expression to map a string onto a valid variable name.
22444 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22448 ## ----------------------------------- ##
22449 ## Main body of $CONFIG_STATUS script. ##
22450 ## ----------------------------------- ##
22452 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22454 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22455 # Save the log message, to keep $0 and so on meaningful, and to
22456 # report actual input values of CONFIG_FILES etc. instead of their
22457 # values after options handling.
22459 This file was extended by Cycript $as_me 0.9, which was
22460 generated by GNU Autoconf 2.69. Invocation command line was
22462 CONFIG_FILES = $CONFIG_FILES
22463 CONFIG_HEADERS = $CONFIG_HEADERS
22464 CONFIG_LINKS = $CONFIG_LINKS
22465 CONFIG_COMMANDS = $CONFIG_COMMANDS
22468 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22473 case $ac_config_files in *"
22474 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22477 case $ac_config_headers in *"
22478 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22483 # Files that config.status was made for.
22484 config_files="$ac_config_files"
22485 config_headers="$ac_config_headers"
22486 config_commands="$ac_config_commands"
22490 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22492 \`$as_me' instantiates files and other configuration actions
22493 from templates according to the current configuration. Unless the files
22494 and actions are specified as TAGs, all are instantiated by default.
22496 Usage: $0 [OPTION]... [TAG]...
22498 -h, --help print this help, then exit
22499 -V, --version print version number and configuration settings, then exit
22500 --config print configuration, then exit
22501 -q, --quiet, --silent
22502 do not print progress messages
22503 -d, --debug don't remove temporary files
22504 --recheck update $as_me by reconfiguring in the same conditions
22505 --file=FILE[:TEMPLATE]
22506 instantiate the configuration file FILE
22507 --header=FILE[:TEMPLATE]
22508 instantiate the configuration header FILE
22510 Configuration files:
22513 Configuration headers:
22516 Configuration commands:
22519 Report bugs to <saurik@saurik.com>.
22520 Cycript home page: <http://www.cycript.org/>."
22523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22524 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22526 Cycript config.status 0.9
22527 configured by $0, generated by GNU Autoconf 2.69,
22528 with options \\"\$ac_cs_config\\"
22530 Copyright (C) 2012 Free Software Foundation, Inc.
22531 This config.status script is free software; the Free Software Foundation
22532 gives unlimited permission to copy, distribute and modify it."
22539 test -n "\$AWK" || AWK=awk
22542 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22543 # The default lists apply if the user does not specify any file.
22549 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22550 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22554 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22566 # Handling of the options.
22567 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22569 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22570 $as_echo "$ac_cs_version"; exit ;;
22571 --config | --confi | --conf | --con | --co | --c )
22572 $as_echo "$ac_cs_config"; exit ;;
22573 --debug | --debu | --deb | --de | --d | -d )
22575 --file | --fil | --fi | --f )
22578 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22579 '') as_fn_error $?
"missing file argument" ;;
22581 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22582 ac_need_defaults
=false
;;
22583 --header | --heade | --head | --hea )
22586 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22588 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22589 ac_need_defaults
=false
;;
22591 # Conflict between --help and --header
22592 as_fn_error $?
"ambiguous option: \`$1'
22593 Try \`$0 --help' for more information.";;
22594 --help | --hel | -h )
22595 $as_echo "$ac_cs_usage"; exit ;;
22596 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22597 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22600 # This is an error.
22601 -*) as_fn_error $?
"unrecognized option: \`$1'
22602 Try \`$0 --help' for more information." ;;
22604 *) as_fn_append ac_config_targets
" $1"
22605 ac_need_defaults
=false
;;
22611 ac_configure_extra_args
=
22613 if $ac_cs_silent; then
22615 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22620 if \$ac_cs_recheck; then
22621 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22623 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22624 CONFIG_SHELL='$SHELL'
22625 export CONFIG_SHELL
22630 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22634 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22635 ## Running $as_me. ##
22641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22645 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22648 # The HP-UX ksh and POSIX shell print the target directory to stdout
22649 # if CDPATH is set.
22650 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22652 sed_quote_subst='$sed_quote_subst'
22653 double_quote_subst='$double_quote_subst'
22654 delay_variable_subst='$delay_variable_subst'
22655 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22656 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22657 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22658 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22659 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22660 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22661 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22662 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22663 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22664 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22665 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22666 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22667 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22668 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22669 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22670 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22671 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22672 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22673 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22674 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22675 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22676 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22677 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22678 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22679 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22680 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22681 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22682 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22683 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22684 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22685 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22686 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22687 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22688 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22689 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22690 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22691 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22692 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22693 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22694 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22695 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22696 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22697 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22698 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22699 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22700 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22701 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22702 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22703 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22704 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22705 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22706 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22707 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22708 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22709 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22710 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22711 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22712 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22713 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"`'
22714 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22715 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22716 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22717 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22718 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22719 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22720 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22721 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22722 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22723 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22724 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22725 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22726 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22727 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22728 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22729 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22730 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22731 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22732 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22733 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22734 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22735 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22736 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22737 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22738 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22739 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22740 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22741 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22742 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22743 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22744 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22745 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22746 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22747 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22748 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22749 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22750 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22751 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22752 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22753 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22754 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22755 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22756 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22757 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22758 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22759 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22760 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22761 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22762 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22763 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22764 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22765 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22766 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22767 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22768 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22769 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22770 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22771 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22772 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22773 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22774 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22775 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22776 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22777 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22778 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22779 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22780 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22781 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22782 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22783 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22784 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22785 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22786 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22787 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22788 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22789 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22790 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22791 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22792 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22793 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22794 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22795 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22796 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22797 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22798 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22799 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22800 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22801 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22802 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22803 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22804 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22805 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22806 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22807 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22808 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22809 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22810 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22811 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22812 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22813 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22814 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22815 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22816 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22817 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22818 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22819 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22820 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22821 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22822 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22823 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22824 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22825 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22826 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22827 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22828 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22829 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22830 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22831 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22832 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22833 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22834 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22835 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22836 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22837 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22838 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22839 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22840 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22841 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22842 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22843 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22846 LTCFLAGS='$LTCFLAGS'
22847 compiler='$compiler_DEFAULT'
22849 # A function that is used when there is no print builtin or printf.
22850 func_fallback_echo ()
22852 eval 'cat <<_LTECHO_EOF
22857 # Quote evaled strings.
22872 deplibs_check_method \
22877 sharedlib_from_linklib_cmd \
22880 archiver_list_spec \
22886 lt_cv_sys_global_symbol_pipe \
22887 lt_cv_sys_global_symbol_to_cdecl \
22888 lt_cv_sys_global_symbol_to_import \
22889 lt_cv_sys_global_symbol_to_c_name_address \
22890 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22891 lt_cv_nm_interface \
22892 nm_file_list_spec \
22893 lt_cv_truncate_bin \
22894 lt_prog_compiler_no_builtin_flag \
22895 lt_prog_compiler_pic \
22896 lt_prog_compiler_wl \
22897 lt_prog_compiler_static \
22898 lt_cv_prog_compiler_c_o \
22907 export_dynamic_flag_spec \
22908 whole_archive_flag_spec \
22909 compiler_needs_object \
22911 allow_undefined_flag \
22912 no_undefined_flag \
22913 hardcode_libdir_flag_spec \
22914 hardcode_libdir_separator \
22918 variables_saved_for_relink \
22920 library_names_spec \
22922 install_override_mode \
22926 compiler_lib_search_dirs \
22931 compiler_lib_search_path \
22935 lt_prog_compiler_no_builtin_flag_CXX \
22936 lt_prog_compiler_pic_CXX \
22937 lt_prog_compiler_wl_CXX \
22938 lt_prog_compiler_static_CXX \
22939 lt_cv_prog_compiler_c_o_CXX \
22940 export_dynamic_flag_spec_CXX \
22941 whole_archive_flag_spec_CXX \
22942 compiler_needs_object_CXX \
22944 allow_undefined_flag_CXX \
22945 no_undefined_flag_CXX \
22946 hardcode_libdir_flag_spec_CXX \
22947 hardcode_libdir_separator_CXX \
22948 exclude_expsyms_CXX \
22949 include_expsyms_CXX \
22950 file_list_spec_CXX \
22951 compiler_lib_search_dirs_CXX \
22952 predep_objects_CXX \
22953 postdep_objects_CXX \
22956 compiler_lib_search_path_CXX; do
22957 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22958 *[\\\\\\\`\\"\\\$]*)
22959 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22962 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22967 # Double-quote double-evaled strings.
22968 for var in reload_cmds \
22969 old_postinstall_cmds \
22970 old_postuninstall_cmds \
22972 extract_expsyms_cmds \
22973 old_archive_from_new_cmds \
22974 old_archive_from_expsyms_cmds \
22976 archive_expsym_cmds \
22978 module_expsym_cmds \
22979 export_symbols_cmds \
22983 postuninstall_cmds \
22985 sys_lib_search_path_spec \
22986 configure_time_dlsearch_path \
22987 configure_time_lt_sys_library_path \
22989 old_archive_cmds_CXX \
22990 old_archive_from_new_cmds_CXX \
22991 old_archive_from_expsyms_cmds_CXX \
22993 archive_expsym_cmds_CXX \
22995 module_expsym_cmds_CXX \
22996 export_symbols_cmds_CXX \
22998 postlink_cmds_CXX; do
22999 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23000 *[\\\\\\\`\\"\\\$]*)
23001 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23004 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23009 ac_aux_dir='$ac_aux_dir'
23011 # See if we are running on zsh, and set the options that allow our
23012 # commands through without removal of \ escapes INIT.
23013 if test -n "\${ZSH_VERSION+set}"; then
23014 setopt NO_GLOB_SUBST
23030 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23032 # Handling of arguments.
23033 for ac_config_target
in $ac_config_targets
23035 case $ac_config_target in
23036 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23037 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23038 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23039 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23041 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23046 # If the user did not use the arguments to specify the items to instantiate,
23047 # then the envvar interface is used. Set only those that are not.
23048 # We use the long form for the default assignment because of an extremely
23049 # bizarre bug on SunOS 4.1.3.
23050 if $ac_need_defaults; then
23051 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23052 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23053 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23056 # Have a temporary directory for convenience. Make it in the build tree
23057 # simply because there is no reason against having it here, and in addition,
23058 # creating and moving files from /tmp can sometimes cause problems.
23059 # Hook for its removal unless debugging.
23060 # Note that there is a small window in which the directory will not be cleaned:
23061 # after its creation but before its name has been assigned to `$tmp'.
23065 trap 'exit_status=$?
23066 : "${ac_tmp:=$tmp}"
23067 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23069 trap 'as_fn_exit 1' 1 2 13 15
23071 # Create a (secure) tmp directory for tmp files.
23074 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23078 tmp
=.
/conf$$
-$RANDOM
23079 (umask 077 && mkdir "$tmp")
23080 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23083 # Set up the scripts for CONFIG_FILES section.
23084 # No need to generate them if there are no CONFIG_FILES.
23085 # This happens for instance with `./config.status config.h'.
23086 if test -n "$CONFIG_FILES"; then
23089 ac_cr
=`echo X | tr X '\015'`
23090 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23091 # But we know of no other shell where ac_cr would be empty at this
23092 # point, so we can use a bashism as a fallback.
23093 if test "x$ac_cr" = x
; then
23094 eval ac_cr
=\$
\'\\r
\'
23096 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23097 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23100 ac_cs_awk_cr
=$ac_cr
23103 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23108 echo "cat >conf$$subs.awk <<_ACEOF" &&
23109 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23111 } >conf$$subs.sh ||
23112 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23113 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23115 for ac_last_try in false false false false false :; do
23116 . ./conf$$subs.sh ||
23117 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23119 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23120 if test $ac_delim_n = $ac_delim_num; then
23122 elif $ac_last_try; then
23123 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23125 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23128 rm -f conf$$subs.sh
23130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23131 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23135 s/^/S["/; s
/!.
*/"]=/
23145 s/\(.\{148\}\)..*/\1/
23147 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23152 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23159 s/\(.\{148\}\)..*/\1/
23161 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23165 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23170 ' <conf$$subs.awk | sed '
23175 ' >>$CONFIG_STATUS || ac_write_fail=1
23176 rm -f conf$$subs.awk
23177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23179 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23180 for (key in S) S_is_set[key] = 1
23186 nfields = split(line, field, "@
")
23188 len = length(field[1])
23189 for (i = 2; i < nfields; i++) {
23191 keylen = length(key)
23192 if (S_is_set[key]) {
23194 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23195 len += length(value) + length(field[++i])
23206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23207 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23208 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23211 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23212 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23215 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23216 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23217 # trailing colons and then remove the whole line if VPATH becomes empty
23218 # (actually we leave an empty line to preserve line numbers).
23219 if test "x
$srcdir" = x.; then
23220 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23239 fi # test -n "$CONFIG_FILES"
23241 # Set up the scripts for CONFIG_HEADERS section.
23242 # No need to generate them if there are no CONFIG_HEADERS.
23243 # This happens for instance with `./config.status Makefile'.
23244 if test -n "$CONFIG_HEADERS"; then
23245 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23249 # Transform confdefs.h into an awk script `defines.awk', embedded as
23250 # here-document in config.status, that substitutes the proper values into
23251 # config.h.in to produce config.h.
23253 # Create a delimiter string that does not exist in confdefs.h, to ease
23254 # handling of long lines.
23256 for ac_last_try in false false :; do
23257 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23258 if test -z "$ac_tt"; then
23260 elif $ac_last_try; then
23261 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23263 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23267 # For the awk script, D is an array of macro values keyed by name,
23268 # likewise P contains macro parameters if any. Preserve backslash
23269 # newline sequences.
23271 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23273 s/.\{148\}/&'"$ac_delim"'/g
23276 s/^[ ]*#[ ]*define[ ][ ]*/ /
23283 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23285 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23289 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23290 D["\
1"]=" \
3\\\\\\n
"\\/p
23292 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23297 s/.\{148\}/&'"$ac_delim"'/g
23302 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23305 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23307 ' <confdefs.h | sed '
23308 s/'"$ac_delim"'/"\\\
23309 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23312 for (key in D) D_is_set[key] = 1
23315 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23317 split(line, arg, " ")
23318 if (arg[1] == "#") {
23322 defundef
= substr
(arg
[1], 2)
23325 split(mac1
, mac2
, "(") #)
23327 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23328 if (D_is_set
[macro
]) {
23329 # Preserve the white space surrounding the "#".
23330 print prefix
"define", macro P
[macro
] D
[macro
]
23333 # Replace #undef with comments. This is necessary, for example,
23334 # in the case of _POSIX_SOURCE, which is predefined and required
23335 # on some systems where configure will not decide to define it.
23336 if (defundef
== "undef") {
23337 print
"/*", prefix defundef
, macro
, "*/"
23345 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23346 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23347 fi # test -n "$CONFIG_HEADERS"
23350 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23355 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23357 case $ac_mode$ac_tag in
23359 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23360 :[FH
]-) ac_tag
=-:-;;
23361 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23378 -) ac_f
="$ac_tmp/stdin";;
23379 *) # Look for the file first in the build tree, then in the source tree
23380 # (if the path is not absolute). The absolute path cannot be DOS-style,
23381 # because $ac_f cannot contain `:'.
23385 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23387 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23389 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23390 as_fn_append ac_file_inputs
" '$ac_f'"
23393 # Let's still pretend it is `configure' which instantiates (i.e., don't
23394 # use $as_me), people would be surprised to read:
23395 # /* config.h. Generated by config.status. */
23396 configure_input
='Generated from '`
23397 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23399 if test x
"$ac_file" != x
-; then
23400 configure_input
="$ac_file. $configure_input"
23401 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23402 $as_echo "$as_me: creating $ac_file" >&6;}
23404 # Neutralize special characters interpreted by sed in replacement strings.
23405 case $configure_input in #(
23406 *\
&* | *\
|* | *\\* )
23407 ac_sed_conf_input
=`$as_echo "$configure_input" |
23408 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23409 *) ac_sed_conf_input
=$configure_input;;
23413 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23414 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23419 ac_dir
=`$as_dirname -- "$ac_file" ||
23420 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23421 X"$ac_file" : 'X\(//\)[^/]' \| \
23422 X"$ac_file" : 'X\(//\)$' \| \
23423 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23424 $as_echo X"$ac_file" |
23425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23429 /^X\(\/\/\)[^/].*/{
23442 as_dir
="$ac_dir"; as_fn_mkdir_p
23446 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23448 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23449 # A ".." for each directory in $ac_dir_suffix.
23450 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23451 case $ac_top_builddir_sub in
23452 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23453 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23456 ac_abs_top_builddir
=$ac_pwd
23457 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23458 # for backward compatibility:
23459 ac_top_builddir
=$ac_top_build_prefix
23462 .
) # We are building in place.
23464 ac_top_srcdir
=$ac_top_builddir_sub
23465 ac_abs_top_srcdir
=$ac_pwd ;;
23466 [\\/]* | ?
:[\\/]* ) # Absolute name.
23467 ac_srcdir
=$srcdir$ac_dir_suffix;
23468 ac_top_srcdir
=$srcdir
23469 ac_abs_top_srcdir
=$srcdir ;;
23470 *) # Relative name.
23471 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23472 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23473 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23475 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23485 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23486 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23488 ac_MKDIR_P
=$MKDIR_P
23490 [\\/$
]* | ?
:[\\/]* ) ;;
23491 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23495 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23496 # If the template does not know about datarootdir, expand it.
23497 # FIXME: This hack should be removed a few years after 2.60.
23498 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23509 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23510 *datarootdir
*) ac_datarootdir_seen
=yes;;
23511 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23513 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23516 ac_datarootdir_hack='
23517 s&@datadir@&$datadir&g
23518 s&@docdir@&$docdir&g
23519 s&@infodir@&$infodir&g
23520 s&@localedir@&$localedir&g
23521 s&@mandir@&$mandir&g
23522 s&\\\${datarootdir}&$datarootdir&g' ;;
23526 # Neutralize VPATH when `$srcdir' = `.'.
23527 # Shell code in configure.ac might set extrasub.
23528 # FIXME: do we really want to maintain this feature?
23529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23530 ac_sed_extra="$ac_vpsub
23533 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23535 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
23536 s
|@configure_input@
|$ac_sed_conf_input|;t t
23537 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23538 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23539 s
&@srcdir@
&$ac_srcdir&;t t
23540 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23541 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23542 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23543 s
&@builddir@
&$ac_builddir&;t t
23544 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23545 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23546 s
&@INSTALL@
&$ac_INSTALL&;t t
23547 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23548 $ac_datarootdir_hack
23550 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23551 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23553 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23554 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23555 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23556 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23558 which seems to be undefined. Please make sure it is defined" >&5
23559 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23560 which seems to be undefined. Please make sure it is defined" >&2;}
23562 rm -f "$ac_tmp/stdin"
23564 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23565 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23567 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23573 if test x"$ac_file" != x-; then
23575 $as_echo "/* $configure_input */" \
23576 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23577 } >"$ac_tmp/config.h" \
23578 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23579 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23580 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23581 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23584 mv "$ac_tmp/config.h" "$ac_file" \
23585 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23588 $as_echo "/* $configure_input */" \
23589 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23590 || as_fn_error $? "could not create -" "$LINENO" 5
23592 # Compute "$ac_file"'s index
in $config_headers.
23595 for _am_header
in $config_headers :; do
23596 case $_am_header in
23597 $_am_arg | $_am_arg:* )
23600 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23603 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23604 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23605 X"$_am_arg" : 'X\(//\)[^/]' \| \
23606 X"$_am_arg" : 'X\(//\)$' \| \
23607 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23608 $as_echo X"$_am_arg" |
23609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23613 /^X\(\/\/\)[^/].*/{
23625 s/.*/./; q'`/stamp
-h$_am_stamp_count
23628 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23629 $as_echo "$as_me: executing $ac_file commands" >&6;}
23634 case $ac_file$ac_mode in
23635 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
23636 # Older Autoconf quotes --file arguments for eval, but not when files
23637 # are listed without --file. Let's play safe and only enable the eval
23638 # if we detect the quoting.
23639 case $CONFIG_FILES in
23640 *\'*) eval set x
"$CONFIG_FILES" ;;
23641 *) set x
$CONFIG_FILES ;;
23646 # Strip MF so we end up with the name of the file.
23647 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23648 # Check whether this is an Automake generated Makefile or not.
23649 # We used to match only the files named 'Makefile.in', but
23650 # some people rename them; so instead we look at the file content.
23651 # Grep'ing the first line is not enough: some people post-process
23652 # each Makefile.in and add a new line on top of each file to say so.
23653 # Grep'ing the whole file is not good either: AIX grep has a line
23654 # limit of 2048, but all sed's we know have understand at least 4000.
23655 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23656 dirpart
=`$as_dirname -- "$mf" ||
23657 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23658 X"$mf" : 'X\(//\)[^/]' \| \
23659 X"$mf" : 'X\(//\)$' \| \
23660 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23666 /^X\(\/\/\)[^/].*/{
23682 # Extract the definition of DEPDIR, am__include, and am__quote
23683 # from the Makefile without running 'make'.
23684 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23685 test -z "$DEPDIR" && continue
23686 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23687 test -z "$am__include" && continue
23688 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23689 # Find all dependency output files, they are included files with
23690 # $(DEPDIR) in their names. We invoke sed twice because it is the
23691 # simplest approach to changing $(DEPDIR) to its actual value in the
23693 for file in `sed -n "
23694 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23695 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23696 # Make sure the directory exists.
23697 test -f "$dirpart/$file" && continue
23698 fdir
=`$as_dirname -- "$file" ||
23699 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23700 X"$file" : 'X\(//\)[^/]' \| \
23701 X"$file" : 'X\(//\)$' \| \
23702 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23703 $as_echo X"$file" |
23704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23708 /^X\(\/\/\)[^/].*/{
23721 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23722 # echo "creating $dirpart/$file"
23723 echo '# dummy' > "$dirpart/$file"
23730 # See if we are running on zsh, and set the options that allow our
23731 # commands through without removal of \ escapes.
23732 if test -n "${ZSH_VERSION+set}"; then
23733 setopt NO_GLOB_SUBST
23737 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23740 cat <<_LT_EOF >> "$cfgfile"
23742 # Generated automatically by $as_me ($PACKAGE) $VERSION
23743 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23744 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23746 # Provide generalized library-building support services.
23747 # Written by Gordon Matzigkeit, 1996
23749 # Copyright (C) 2014 Free Software Foundation, Inc.
23750 # This is free software; see the source for copying conditions. There is NO
23751 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23753 # GNU Libtool is free software; you can redistribute it and/or modify
23754 # it under the terms of the GNU General Public License as published by
23755 # the Free Software Foundation; either version 2 of of the License, or
23756 # (at your option) any later version.
23758 # As a special exception to the GNU General Public License, if you
23759 # distribute this file as part of a program or library that is built
23760 # using GNU Libtool, you may include this file under the same
23761 # distribution terms that you use for the rest of that program.
23763 # GNU Libtool is distributed in the hope that it will be useful, but
23764 # WITHOUT ANY WARRANTY; without even the implied warranty of
23765 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23766 # GNU General Public License for more details.
23768 # You should have received a copy of the GNU General Public License
23769 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23772 # The names of the tagged configurations supported by this script.
23773 available_tags='CXX '
23775 # Configured defaults for sys_lib_dlsearch_path munging.
23776 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23778 # ### BEGIN LIBTOOL CONFIG
23780 # Which release of libtool.m4 was used?
23781 macro_version=$macro_version
23782 macro_revision=$macro_revision
23784 # Whether or not to build static libraries.
23785 build_old_libs=$enable_static
23787 # Whether or not to build shared libraries.
23788 build_libtool_libs=$enable_shared
23790 # What type of objects to build.
23793 # Whether or not to optimize for fast installation.
23794 fast_install=$enable_fast_install
23796 # Shared archive member basename,for filename based shared library versioning on AIX.
23797 shared_archive_member_spec=$shared_archive_member_spec
23799 # Shell to use when invoking shell scripts.
23802 # An echo program that protects backslashes.
23805 # The PATH separator for the build system.
23806 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23809 host_alias=$host_alias
23813 # The build system.
23814 build_alias=$build_alias
23818 # A sed program that does not truncate output.
23821 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23822 Xsed="\$SED -e 1s/^X//"
23824 # A grep program that handles long lines.
23830 # A literal string matcher.
23833 # A BSD- or MS-compatible name lister.
23836 # Whether we need soft or hard links.
23839 # What is the maximum length of a command?
23840 max_cmd_len=$max_cmd_len
23842 # Object file suffix (normally "o").
23845 # Executable file suffix (normally "").
23848 # whether the shell understands "unset".
23851 # turn spaces into newlines.
23854 # turn newlines into spaces.
23857 # convert \$build file names to \$host format.
23858 to_host_file_cmd=$lt_cv_to_host_file_cmd
23860 # convert \$build files to toolchain format.
23861 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23863 # An object symbol dumper.
23864 OBJDUMP=$lt_OBJDUMP
23866 # Method to check whether dependent libraries are shared objects.
23867 deplibs_check_method=$lt_deplibs_check_method
23869 # Command to use when deplibs_check_method = "file_magic".
23870 file_magic_cmd=$lt_file_magic_cmd
23872 # How to find potential files when deplibs_check_method = "file_magic".
23873 file_magic_glob=$lt_file_magic_glob
23875 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23876 want_nocaseglob=$lt_want_nocaseglob
23878 # DLL creation program.
23879 DLLTOOL=$lt_DLLTOOL
23881 # Command to associate shared and link libraries.
23882 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23887 # Flags to create an archive.
23888 AR_FLAGS=$lt_AR_FLAGS
23890 # How to feed a file listing to the archiver.
23891 archiver_list_spec=$lt_archiver_list_spec
23893 # A symbol stripping program.
23896 # Commands used to install an old-style archive.
23898 old_postinstall_cmds=$lt_old_postinstall_cmds
23899 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23901 # Whether to use a lock for old archive extraction.
23902 lock_old_archive_extraction=$lock_old_archive_extraction
23907 # LTCC compiler flags.
23908 LTCFLAGS=$lt_CFLAGS
23910 # Take the output of nm and produce a listing of raw symbols and C names.
23911 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23913 # Transform the output of nm in a proper C declaration.
23914 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23916 # Transform the output of nm into a list of symbols to manually relocate.
23917 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23919 # Transform the output of nm in a C name address pair.
23920 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23922 # Transform the output of nm in a C name address pair when lib prefix is needed.
23923 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23925 # The name lister interface.
23926 nm_interface=$lt_lt_cv_nm_interface
23928 # Specify filename containing input files for \$NM.
23929 nm_file_list_spec=$lt_nm_file_list_spec
23931 # The root where to search for dependent libraries,and where our libraries should be installed.
23932 lt_sysroot=$lt_sysroot
23934 # Command to truncate a binary pipe.
23935 lt_truncate_bin=$lt_lt_cv_truncate_bin
23937 # The name of the directory that contains temporary libtool files.
23940 # Used to examine libraries when file_magic_cmd begins with "file".
23941 MAGIC_CMD=$MAGIC_CMD
23943 # Must we lock files when doing compilation?
23944 need_locks=$lt_need_locks
23947 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23949 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23950 DSYMUTIL=$lt_DSYMUTIL
23952 # Tool to change global to local symbols on Mac OS X.
23955 # Tool to manipulate fat objects and archives on Mac OS X.
23958 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23961 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23962 OTOOL64=$lt_OTOOL64
23964 # Old archive suffix (normally "a").
23967 # Shared library suffix (normally ".so").
23968 shrext_cmds=$lt_shrext_cmds
23970 # The commands to extract the exported symbol list from a shared archive.
23971 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23973 # Variables whose values should be saved in libtool wrapper scripts and
23974 # restored at link time.
23975 variables_saved_for_relink=$lt_variables_saved_for_relink
23977 # Do we need the "lib" prefix for modules?
23978 need_lib_prefix=$need_lib_prefix
23980 # Do we need a version for libraries?
23981 need_version=$need_version
23983 # Library versioning type.
23984 version_type=$version_type
23986 # Shared library runtime path variable.
23987 runpath_var=$runpath_var
23989 # Shared library path variable.
23990 shlibpath_var=$shlibpath_var
23992 # Is shlibpath searched before the hard-coded library search path?
23993 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23995 # Format of library name prefix.
23996 libname_spec=$lt_libname_spec
23998 # List of archive names. First name is the real one, the rest are links.
23999 # The last name is the one that the linker finds with -lNAME
24000 library_names_spec=$lt_library_names_spec
24002 # The coded name of the library, if different from the real name.
24003 soname_spec=$lt_soname_spec
24005 # Permission mode override for installation of shared libraries.
24006 install_override_mode=$lt_install_override_mode
24008 # Command to use after installation of a shared archive.
24009 postinstall_cmds=$lt_postinstall_cmds
24011 # Command to use after uninstallation of a shared archive.
24012 postuninstall_cmds=$lt_postuninstall_cmds
24014 # Commands used to finish a libtool library installation in a directory.
24015 finish_cmds=$lt_finish_cmds
24017 # As "finish_cmds", except a single script fragment to be evaled but
24019 finish_eval=$lt_finish_eval
24021 # Whether we should hardcode library paths into libraries.
24022 hardcode_into_libs=$hardcode_into_libs
24024 # Compile-time system search path for libraries.
24025 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24027 # Detected run-time system search path for libraries.
24028 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
24030 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
24031 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
24033 # Whether dlopen is supported.
24034 dlopen_support=$enable_dlopen
24036 # Whether dlopen of programs is supported.
24037 dlopen_self=$enable_dlopen_self
24039 # Whether dlopen of statically linked programs is supported.
24040 dlopen_self_static=$enable_dlopen_self_static
24042 # Commands to strip libraries.
24043 old_striplib=$lt_old_striplib
24044 striplib=$lt_striplib
24047 # The linker used to build libraries.
24050 # How to create reloadable object files.
24051 reload_flag=$lt_reload_flag
24052 reload_cmds=$lt_reload_cmds
24054 # Commands used to build an old-style archive.
24055 old_archive_cmds=$lt_old_archive_cmds
24057 # A language specific compiler.
24060 # Is the compiler the GNU compiler?
24063 # Compiler flag to turn off builtin functions.
24064 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24066 # Additional compiler flags for building library objects.
24067 pic_flag=$lt_lt_prog_compiler_pic
24069 # How to pass a linker flag through the compiler.
24070 wl=$lt_lt_prog_compiler_wl
24072 # Compiler flag to prevent dynamic linking.
24073 link_static_flag=$lt_lt_prog_compiler_static
24075 # Does compiler simultaneously support -c and -o options?
24076 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24078 # Whether or not to add -lc for building shared libraries.
24079 build_libtool_need_lc=$archive_cmds_need_lc
24081 # Whether or not to disallow shared libs when runtime libs are static.
24082 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24084 # Compiler flag to allow reflexive dlopens.
24085 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24087 # Compiler flag to generate shared objects directly from archives.
24088 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24090 # Whether the compiler copes with passing no objects directly.
24091 compiler_needs_object=$lt_compiler_needs_object
24093 # Create an old-style archive from a shared archive.
24094 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24096 # Create a temporary old-style archive to link instead of a shared archive.
24097 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24099 # Commands used to build a shared archive.
24100 archive_cmds=$lt_archive_cmds
24101 archive_expsym_cmds=$lt_archive_expsym_cmds
24103 # Commands used to build a loadable module if different from building
24104 # a shared archive.
24105 module_cmds=$lt_module_cmds
24106 module_expsym_cmds=$lt_module_expsym_cmds
24108 # Whether we are building with GNU ld or not.
24109 with_gnu_ld=$lt_with_gnu_ld
24111 # Flag that allows shared libraries with undefined symbols to be built.
24112 allow_undefined_flag=$lt_allow_undefined_flag
24114 # Flag that enforces no undefined symbols.
24115 no_undefined_flag=$lt_no_undefined_flag
24117 # Flag to hardcode \$libdir into a binary during linking.
24118 # This must work even if \$libdir does not exist
24119 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24121 # Whether we need a single "-rpath" flag with a separated argument.
24122 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24124 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24125 # DIR into the resulting binary.
24126 hardcode_direct=$hardcode_direct
24128 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24129 # DIR into the resulting binary and the resulting library dependency is
24130 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
24131 # library is relocated.
24132 hardcode_direct_absolute=$hardcode_direct_absolute
24134 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24135 # into the resulting binary.
24136 hardcode_minus_L=$hardcode_minus_L
24138 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24139 # into the resulting binary.
24140 hardcode_shlibpath_var=$hardcode_shlibpath_var
24142 # Set to "yes" if building a shared library automatically hardcodes DIR
24143 # into the library and all subsequent libraries and executables linked
24145 hardcode_automatic=$hardcode_automatic
24147 # Set to yes if linker adds runtime paths of dependent libraries
24148 # to runtime path list.
24149 inherit_rpath=$inherit_rpath
24151 # Whether libtool must link a program against all its dependency libraries.
24152 link_all_deplibs=$link_all_deplibs
24154 # Set to "yes" if exported symbols are required.
24155 always_export_symbols=$always_export_symbols
24157 # The commands to list exported symbols.
24158 export_symbols_cmds=$lt_export_symbols_cmds
24160 # Symbols that should not be listed in the preloaded symbols.
24161 exclude_expsyms=$lt_exclude_expsyms
24163 # Symbols that must always be exported.
24164 include_expsyms=$lt_include_expsyms
24166 # Commands necessary for linking programs (against libraries) with templates.
24167 prelink_cmds=$lt_prelink_cmds
24169 # Commands necessary for finishing linking programs.
24170 postlink_cmds=$lt_postlink_cmds
24172 # Specify filename containing input files.
24173 file_list_spec=$lt_file_list_spec
24175 # How to hardcode a shared library path into an executable.
24176 hardcode_action=$hardcode_action
24178 # The directories searched by this compiler when creating a shared library.
24179 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24181 # Dependencies to place before and after the objects being linked to
24182 # create a shared library.
24183 predep_objects=$lt_predep_objects
24184 postdep_objects=$lt_postdep_objects
24185 predeps=$lt_predeps
24186 postdeps=$lt_postdeps
24188 # The library search path used internally by the compiler when linking
24189 # a shared library.
24190 compiler_lib_search_path=$lt_compiler_lib_search_path
24192 # ### END LIBTOOL CONFIG
24196 cat <<'_LT_EOF' >> "$cfgfile"
24198 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
24200 # func_munge_path_list VARIABLE PATH
24201 # -----------------------------------
24202 # VARIABLE is name of variable containing _space_ separated list of
24203 # directories to be munged by the contents of PATH, which is string
24206 # string "DIR[ DIR]" will be prepended to VARIABLE
24208 # string "DIR[ DIR]" will be appended to VARIABLE
24209 # "DIRP[:DIRP]::[DIRA:]DIRA"
24210 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
24211 # "DIRA[ DIRA]" will be appended to VARIABLE
24213 # VARIABLE will be replaced by "DIR[ DIR]"
24214 func_munge_path_list ()
24220 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
24223 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
24226 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
24227 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
24230 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
24236 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
24237 func_cc_basename ()
24239 for cc_temp in $*""; do
24241 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24242 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24247 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
24251 # ### END FUNCTIONS SHARED WITH CONFIGURE
24257 cat <<\_LT_EOF
>> "$cfgfile"
24258 # AIX sometimes has problems with the GCC collect2 program. For some
24259 # reason, if we set the COLLECT_NAMES environment variable, the problems
24260 # vanish in a puff of smoke.
24261 if test set != "${COLLECT_NAMES+set}"; then
24263 export COLLECT_NAMES
24270 ltmain
=$ac_aux_dir/ltmain.sh
24273 # We use sed instead of cat because bash on DJGPP gets confused if
24274 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24275 # text mode, it properly converts lines to CR/LF. This bash problem
24276 # is reportedly fixed, but why not run on old versions too?
24277 sed '$q' "$ltmain" >> "$cfgfile" \
24278 || (rm -f "$cfgfile"; exit 1)
24280 mv -f "$cfgfile" "$ofile" ||
24281 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24285 cat <<_LT_EOF >> "$ofile"
24287 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24289 # The linker used to build libraries.
24292 # How to create reloadable object files.
24293 reload_flag=$lt_reload_flag_CXX
24294 reload_cmds=$lt_reload_cmds_CXX
24296 # Commands used to build an old-style archive.
24297 old_archive_cmds=$lt_old_archive_cmds_CXX
24299 # A language specific compiler.
24300 CC=$lt_compiler_CXX
24302 # Is the compiler the GNU compiler?
24305 # Compiler flag to turn off builtin functions.
24306 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24308 # Additional compiler flags for building library objects.
24309 pic_flag=$lt_lt_prog_compiler_pic_CXX
24311 # How to pass a linker flag through the compiler.
24312 wl=$lt_lt_prog_compiler_wl_CXX
24314 # Compiler flag to prevent dynamic linking.
24315 link_static_flag=$lt_lt_prog_compiler_static_CXX
24317 # Does compiler simultaneously support -c and -o options?
24318 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24320 # Whether or not to add -lc for building shared libraries.
24321 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24323 # Whether or not to disallow shared libs when runtime libs are static.
24324 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24326 # Compiler flag to allow reflexive dlopens.
24327 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24329 # Compiler flag to generate shared objects directly from archives.
24330 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24332 # Whether the compiler copes with passing no objects directly.
24333 compiler_needs_object=$lt_compiler_needs_object_CXX
24335 # Create an old-style archive from a shared archive.
24336 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24338 # Create a temporary old-style archive to link instead of a shared archive.
24339 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24341 # Commands used to build a shared archive.
24342 archive_cmds=$lt_archive_cmds_CXX
24343 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24345 # Commands used to build a loadable module if different from building
24346 # a shared archive.
24347 module_cmds=$lt_module_cmds_CXX
24348 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24350 # Whether we are building with GNU ld or not.
24351 with_gnu_ld=$lt_with_gnu_ld_CXX
24353 # Flag that allows shared libraries with undefined symbols to be built.
24354 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24356 # Flag that enforces no undefined symbols.
24357 no_undefined_flag=$lt_no_undefined_flag_CXX
24359 # Flag to hardcode \$libdir into a binary during linking.
24360 # This must work even if \$libdir does not exist
24361 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24363 # Whether we need a single "-rpath" flag with a separated argument.
24364 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24366 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24367 # DIR into the resulting binary.
24368 hardcode_direct=$hardcode_direct_CXX
24370 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24371 # DIR into the resulting binary and the resulting library dependency is
24372 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
24373 # library is relocated.
24374 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24376 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24377 # into the resulting binary.
24378 hardcode_minus_L=$hardcode_minus_L_CXX
24380 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24381 # into the resulting binary.
24382 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24384 # Set to "yes" if building a shared library automatically hardcodes DIR
24385 # into the library and all subsequent libraries and executables linked
24387 hardcode_automatic=$hardcode_automatic_CXX
24389 # Set to yes if linker adds runtime paths of dependent libraries
24390 # to runtime path list.
24391 inherit_rpath=$inherit_rpath_CXX
24393 # Whether libtool must link a program against all its dependency libraries.
24394 link_all_deplibs=$link_all_deplibs_CXX
24396 # Set to "yes" if exported symbols are required.
24397 always_export_symbols=$always_export_symbols_CXX
24399 # The commands to list exported symbols.
24400 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24402 # Symbols that should not be listed in the preloaded symbols.
24403 exclude_expsyms=$lt_exclude_expsyms_CXX
24405 # Symbols that must always be exported.
24406 include_expsyms=$lt_include_expsyms_CXX
24408 # Commands necessary for linking programs (against libraries) with templates.
24409 prelink_cmds=$lt_prelink_cmds_CXX
24411 # Commands necessary for finishing linking programs.
24412 postlink_cmds=$lt_postlink_cmds_CXX
24414 # Specify filename containing input files.
24415 file_list_spec=$lt_file_list_spec_CXX
24417 # How to hardcode a shared library path into an executable.
24418 hardcode_action=$hardcode_action_CXX
24420 # The directories searched by this compiler when creating a shared library.
24421 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24423 # Dependencies to place before and after the objects being linked to
24424 # create a shared library.
24425 predep_objects=$lt_predep_objects_CXX
24426 postdep_objects=$lt_postdep_objects_CXX
24427 predeps=$lt_predeps_CXX
24428 postdeps=$lt_postdeps_CXX
24430 # The library search path used internally by the compiler when linking
24431 # a shared library.
24432 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24434 # ### END LIBTOOL TAG CONFIG: CXX
24445 ac_clean_files
=$ac_clean_files_save
24447 test $ac_write_fail = 0 ||
24448 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24451 # configure is writing to config.log, and then calls config.status.
24452 # config.status does its own redirection, appending to config.log.
24453 # Unfortunately, on DOS this fails, as config.log is still kept open
24454 # by configure, so config.status won't be able to write to it; its
24455 # output is simply discarded. So we exec the FD to /dev/null,
24456 # effectively closing config.log, so it can be properly (re)opened and
24457 # appended to by config.status. When coming back to configure, we
24458 # need to make the FD available again.
24459 if test "$no_create" != yes; then
24461 ac_config_status_args
=
24462 test "$silent" = yes &&
24463 ac_config_status_args
="$ac_config_status_args --quiet"
24465 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24467 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24468 # would make configure fail if this is the last instruction.
24469 $ac_cs_success || as_fn_exit
1
24471 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24473 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}