2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
14 # Copyright (C) 2009-2014 Jay Freeman (saurik)
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 # Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
142 _as_can_reexec
=no
; export _as_can_reexec
;
143 # We cannot yet assume a decent shell, so we have to provide a
144 # neutralization value for shells without unset; and this also
145 # works around shells that cannot unset nonexistent variables.
146 # Preserve -v and -x to the replacement shell.
149 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
151 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157 # Admittedly, this is quite paranoid, since all the known shells bail
158 # out after a failed `exec'.
159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec
=; unset _as_can_reexec
;}
164 if test "x$CONFIG_SHELL" = x
; then
165 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
173 case \`(set -o) 2>/dev/null\` in #(
181 as_required
="as_fn_return () { (exit \$1); }
182 as_fn_success () { as_fn_return 0; }
183 as_fn_failure () { as_fn_return 1; }
184 as_fn_ret_success () { return 0; }
185 as_fn_ret_failure () { return 1; }
188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195 exitcode=1; echo positional parameters were not saved.
197 test x\$exitcode = x0 || exit 1
199 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208 PATH=/empty FPATH=/empty; export PATH FPATH
209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211 test \$(( 1 + 1 )) = 2 || exit 1"
212 if (eval "$as_required") 2>/dev
/null
; then :
217 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
229 for as_base
in sh bash ksh sh5
; do
230 # Try only shells that exist, to save several forks.
231 as_shell
=$as_dir/$as_base
232 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$as_shell as_have_required
=yes
235 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
243 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
245 CONFIG_SHELL
=$SHELL as_have_required
=yes
250 if test "x$CONFIG_SHELL" != x
; then :
252 # We cannot yet assume a decent shell, so we have to provide a
253 # neutralization value for shells without unset; and this also
254 # works around shells that cannot unset nonexistent variables.
255 # Preserve -v and -x to the replacement shell.
258 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
260 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
265 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266 # Admittedly, this is quite paranoid, since all the known shells bail
267 # out after a failed `exec'.
268 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272 if test x
$as_have_required = xno
; then :
273 $as_echo "$0: This script requires a shell more modern than all"
274 $as_echo "$0: the shells that I found on your system."
275 if test x
${ZSH_VERSION+set} = xset
; then
276 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
279 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
280 $0: about your system, including any error possibly output
281 $0: before this message. Then install a modern shell, or
282 $0: manually run the script under such a shell if you do
289 SHELL
=${CONFIG_SHELL-/bin/sh}
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE
= GREP_OPTIONS
=
293 unset CLICOLOR_FORCE GREP_OPTIONS
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
300 # Portably unset VAR.
303 { eval $1=; unset $1;}
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" || eval $as_mkdir_p || {
338 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 $as_echo X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
411 as_val
=`expr "$@" || test $? -eq 1`
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
423 as_status
=$1; test $as_status -eq 0 && as_status
=1
425 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428 $as_echo "$as_me: error: $2" >&2
429 as_fn_exit
$as_status
432 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
439 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
451 as_me
=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
470 # Avoid depending upon Character Ranges.
471 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits
='0123456789'
475 as_cr_alnum
=$as_cr_Letters$as_cr_digits
478 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
479 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498 chmod +x
"$as_me.lineno" ||
499 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec
=no
; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
509 # Exit status is that of the last command.
513 ECHO_C
= ECHO_N
= ECHO_T
=
514 case `echo -n x` in #(((((
516 case `echo 'xy\c'` in
517 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
519 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
526 rm -f conf$$ conf$$.exe conf$$.
file
527 if test -d conf$$.dir
; then
528 rm -f conf$$.dir
/conf$$.
file
531 mkdir conf$$.dir
2>/dev
/null
533 if (echo >conf$$.
file) 2>/dev
/null
; then
534 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
536 # ... but there are two gotchas:
537 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539 # In both cases, we have to default to `cp -pR'.
540 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
542 elif ln conf$$.
file conf$$
2>/dev
/null
; then
550 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
551 rmdir conf$$.dir
2>/dev
/null
553 if mkdir -p .
2>/dev
/null
; then
554 as_mkdir_p
='mkdir -p "$as_dir"'
556 test -d .
/-p && rmdir .
/-p
561 as_executable_p
=as_fn_executable_p
563 # Sed expression to map a string onto a valid CPP name.
564 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
566 # Sed expression to map a string onto a valid variable name.
567 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
569 SHELL
=${CONFIG_SHELL-/bin/sh}
572 test -n "$DJDIR" || exec 7<&0 </dev
/null
576 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577 # so uname gets run too.
578 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
583 ac_default_prefix
=/usr
/local
585 ac_config_libobj_dir
=.
592 # Identity of this package.
593 PACKAGE_NAME
='Cycript'
594 PACKAGE_TARNAME
='cycript'
595 PACKAGE_VERSION
='0.9'
596 PACKAGE_STRING
='Cycript 0.9'
597 PACKAGE_BUGREPORT
='saurik@saurik.com'
598 PACKAGE_URL
='http://www.cycript.org/'
600 ac_unique_file
="Console.cpp"
601 # Factoring default headers for most tests.
602 ac_includes_default
="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
723 am__fastdepOBJCXX_FALSE
724 am__fastdepOBJCXX_TRUE
753 MAINTAINER_MODE_FALSE
767 INSTALL_STRIP_PROGRAM
809 program_transform_name
822 enable_option_checking
824 enable_maintainer_mode
825 enable_dependency_tracking
837 ac_precious_vars
='build_alias
867 # Initialize some variables set by options.
869 ac_init_version
=false
870 ac_unrecognized_opts
=
872 # The variables have the same names as the options, with
873 # dashes changed to underlines.
881 program_transform_name
=s
,x
,x
,
889 # Installation directory options.
890 # These are left unexpanded so users can "make install exec_prefix=/foo"
891 # and all the variables that are supposed to be based on exec_prefix
892 # by default will actually change.
893 # Use braces instead of parens because sh, perl, etc. also accept them.
894 # (The list follows the same order as the GNU Coding Standards.)
895 bindir
='${exec_prefix}/bin'
896 sbindir
='${exec_prefix}/sbin'
897 libexecdir
='${exec_prefix}/libexec'
898 datarootdir
='${prefix}/share'
899 datadir
='${datarootdir}'
900 sysconfdir
='${prefix}/etc'
901 sharedstatedir
='${prefix}/com'
902 localstatedir
='${prefix}/var'
903 includedir
='${prefix}/include'
904 oldincludedir
='/usr/include'
905 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
906 infodir
='${datarootdir}/info'
911 libdir
='${exec_prefix}/lib'
912 localedir
='${datarootdir}/locale'
913 mandir
='${datarootdir}/man'
919 # If the previous option needs an argument, assign it.
920 if test -n "$ac_prev"; then
921 eval $ac_prev=\
$ac_option
927 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
932 # Accept the important Cygnus configure options, so we can diagnose typos.
934 case $ac_dashdash$ac_option in
938 -bindir | --bindir | --bindi | --bind | --bin | --bi)
940 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
943 -build | --build | --buil | --bui | --bu)
944 ac_prev
=build_alias
;;
945 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
946 build_alias
=$ac_optarg ;;
948 -cache-file | --cache-file | --cache-fil | --cache-fi \
949 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
950 ac_prev
=cache_file
;;
951 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
952 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
953 cache_file
=$ac_optarg ;;
956 cache_file
=config.cache
;;
958 -datadir | --datadir | --datadi | --datad)
960 -datadir=* | --datadir=* | --datadi=* | --datad=*)
961 datadir
=$ac_optarg ;;
963 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
964 | --dataroo | --dataro | --datar)
965 ac_prev
=datarootdir
;;
966 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
967 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
968 datarootdir
=$ac_optarg ;;
970 -disable-* | --disable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 as_fn_error $?
"invalid feature name: $ac_useropt"
975 ac_useropt_orig
=$ac_useropt
976 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
982 ac_unrecognized_sep
=', ';;
984 eval enable_
$ac_useropt=no
;;
986 -docdir | --docdir | --docdi | --doc | --do)
988 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
991 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
993 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
996 -enable-* | --enable-*)
997 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1000 as_fn_error $?
"invalid feature name: $ac_useropt"
1001 ac_useropt_orig
=$ac_useropt
1002 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "enable_
$ac_useropt"
1007 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1008 ac_unrecognized_sep
=', ';;
1010 eval enable_
$ac_useropt=\
$ac_optarg ;;
1012 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1013 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1014 | --exec | --exe | --ex)
1015 ac_prev
=exec_prefix
;;
1016 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1017 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1018 | --exec=* | --exe=* | --ex=*)
1019 exec_prefix
=$ac_optarg ;;
1021 -gas | --gas | --ga | --g)
1022 # Obsolete; use --with-gas.
1025 -help | --help | --hel | --he | -h)
1026 ac_init_help
=long
;;
1027 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1028 ac_init_help
=recursive
;;
1029 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1030 ac_init_help
=short
;;
1032 -host | --host | --hos | --ho)
1033 ac_prev
=host_alias
;;
1034 -host=* | --host=* | --hos=* | --ho=*)
1035 host_alias
=$ac_optarg ;;
1037 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1039 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1041 htmldir
=$ac_optarg ;;
1043 -includedir | --includedir | --includedi | --included | --include \
1044 | --includ | --inclu | --incl | --inc)
1045 ac_prev
=includedir
;;
1046 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1047 | --includ=* | --inclu=* | --incl=* | --inc=*)
1048 includedir
=$ac_optarg ;;
1050 -infodir | --infodir | --infodi | --infod | --info | --inf)
1052 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1053 infodir
=$ac_optarg ;;
1055 -libdir | --libdir | --libdi | --libd)
1057 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1058 libdir
=$ac_optarg ;;
1060 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1061 | --libexe | --libex | --libe)
1062 ac_prev
=libexecdir
;;
1063 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1064 | --libexe=* | --libex=* | --libe=*)
1065 libexecdir
=$ac_optarg ;;
1067 -localedir | --localedir | --localedi | --localed | --locale)
1068 ac_prev
=localedir
;;
1069 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1070 localedir
=$ac_optarg ;;
1072 -localstatedir | --localstatedir | --localstatedi | --localstated \
1073 | --localstate | --localstat | --localsta | --localst | --locals)
1074 ac_prev
=localstatedir
;;
1075 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1076 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1077 localstatedir
=$ac_optarg ;;
1079 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1081 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1082 mandir
=$ac_optarg ;;
1084 -nfp | --nfp | --nf)
1085 # Obsolete; use --without-fp.
1088 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1089 | --no-cr | --no-c | -n)
1092 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1093 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1096 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1097 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1098 | --oldin | --oldi | --old | --ol | --o)
1099 ac_prev
=oldincludedir
;;
1100 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1101 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1102 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1103 oldincludedir
=$ac_optarg ;;
1105 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1107 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1108 prefix
=$ac_optarg ;;
1110 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1111 | --program-pre | --program-pr | --program-p)
1112 ac_prev
=program_prefix
;;
1113 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1114 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1115 program_prefix
=$ac_optarg ;;
1117 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1118 | --program-suf | --program-su | --program-s)
1119 ac_prev
=program_suffix
;;
1120 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1121 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1122 program_suffix
=$ac_optarg ;;
1124 -program-transform-name | --program-transform-name \
1125 | --program-transform-nam | --program-transform-na \
1126 | --program-transform-n | --program-transform- \
1127 | --program-transform | --program-transfor \
1128 | --program-transfo | --program-transf \
1129 | --program-trans | --program-tran \
1130 | --progr-tra | --program-tr | --program-t)
1131 ac_prev
=program_transform_name
;;
1132 -program-transform-name=* | --program-transform-name=* \
1133 | --program-transform-nam=* | --program-transform-na=* \
1134 | --program-transform-n=* | --program-transform-=* \
1135 | --program-transform=* | --program-transfor=* \
1136 | --program-transfo=* | --program-transf=* \
1137 | --program-trans=* | --program-tran=* \
1138 | --progr-tra=* | --program-tr=* | --program-t=*)
1139 program_transform_name
=$ac_optarg ;;
1141 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1143 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1144 pdfdir
=$ac_optarg ;;
1146 -psdir | --psdir | --psdi | --psd | --ps)
1148 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1152 | -silent | --silent | --silen | --sile | --sil)
1155 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1157 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1159 sbindir
=$ac_optarg ;;
1161 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1162 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1163 | --sharedst | --shareds | --shared | --share | --shar \
1165 ac_prev
=sharedstatedir
;;
1166 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1167 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1168 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1170 sharedstatedir
=$ac_optarg ;;
1172 -site | --site | --sit)
1174 -site=* | --site=* | --sit=*)
1177 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1179 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1180 srcdir
=$ac_optarg ;;
1182 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1183 | --syscon | --sysco | --sysc | --sys | --sy)
1184 ac_prev
=sysconfdir
;;
1185 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1186 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1187 sysconfdir
=$ac_optarg ;;
1189 -target | --target | --targe | --targ | --tar | --ta | --t)
1190 ac_prev
=target_alias
;;
1191 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1192 target_alias
=$ac_optarg ;;
1194 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1197 -version | --version | --versio | --versi | --vers | -V)
1198 ac_init_version
=: ;;
1201 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1204 as_fn_error $?
"invalid package name: $ac_useropt"
1205 ac_useropt_orig
=$ac_useropt
1206 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1212 ac_unrecognized_sep
=', ';;
1214 eval with_
$ac_useropt=\
$ac_optarg ;;
1216 -without-* | --without-*)
1217 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1220 as_fn_error $?
"invalid package name: $ac_useropt"
1221 ac_useropt_orig
=$ac_useropt
1222 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1227 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1228 ac_unrecognized_sep
=', ';;
1230 eval with_
$ac_useropt=no
;;
1233 # Obsolete; use --with-x.
1236 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1237 | --x-incl | --x-inc | --x-in | --x-i)
1238 ac_prev
=x_includes
;;
1239 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1240 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1241 x_includes
=$ac_optarg ;;
1243 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1244 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1245 ac_prev
=x_libraries
;;
1246 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1247 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1248 x_libraries
=$ac_optarg ;;
1250 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1251 Try \`$0 --help' for more information"
1255 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1256 # Reject names that are not valid shell variable names.
1257 case $ac_envvar in #(
1258 '' | [0-9]* | *[!_$as_cr_alnum]* )
1259 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1261 eval $ac_envvar=\
$ac_optarg
1262 export $ac_envvar ;;
1265 # FIXME: should be removed in autoconf 3.0.
1266 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1268 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1275 if test -n "$ac_prev"; then
1276 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1277 as_fn_error $?
"missing argument to $ac_option"
1280 if test -n "$ac_unrecognized_opts"; then
1281 case $enable_option_checking in
1283 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1284 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1288 # Check all directory arguments for consistency.
1289 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1290 datadir sysconfdir sharedstatedir localstatedir includedir \
1291 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1292 libdir localedir mandir
1294 eval ac_val
=\$
$ac_var
1295 # Remove trailing slashes.
1298 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1299 eval $ac_var=\
$ac_val;;
1301 # Be sure to have absolute directory names.
1303 [\\/$
]* | ?
:[\\/]* ) continue;;
1304 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1306 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1309 # There might be people who depend on the old broken behavior: `$host'
1310 # used to hold the argument of --host etc.
1311 # FIXME: To remove some day.
1314 target
=$target_alias
1316 # FIXME: To remove some day.
1317 if test "x$host_alias" != x
; then
1318 if test "x$build_alias" = x
; then
1319 cross_compiling
=maybe
1320 elif test "x$build_alias" != "x$host_alias"; then
1326 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1328 test "$silent" = yes && exec 6>/dev
/null
1331 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1332 ac_ls_di
=`ls -di .` &&
1333 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1334 as_fn_error $?
"working directory cannot be determined"
1335 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1336 as_fn_error $?
"pwd does not report name of working directory"
1339 # Find the source files, if location was not specified.
1340 if test -z "$srcdir"; then
1341 ac_srcdir_defaulted
=yes
1342 # Try the directory containing this script, then the parent directory.
1343 ac_confdir
=`$as_dirname -- "$as_myself" ||
1344 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1345 X"$as_myself" : 'X\(//\)[^/]' \| \
1346 X"$as_myself" : 'X\(//\)$' \| \
1347 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1348 $as_echo X"$as_myself" |
1349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1367 if test ! -r "$srcdir/$ac_unique_file"; then
1371 ac_srcdir_defaulted
=no
1373 if test ! -r "$srcdir/$ac_unique_file"; then
1374 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1375 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1377 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1379 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1381 # When building in place, set srcdir=.
1382 if test "$ac_abs_confdir" = "$ac_pwd"; then
1385 # Remove unnecessary trailing slashes from srcdir.
1386 # Double slashes in file names in object file debugging info
1387 # mess up M-x gdb in Emacs.
1389 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1391 for ac_var
in $ac_precious_vars; do
1392 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1393 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1394 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1395 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1399 # Report the --help message.
1401 if test "$ac_init_help" = "long"; then
1402 # Omit some internal or obsolete options to make the list less imposing.
1403 # This message is too long to be a string in the A/UX 3.1 sh.
1405 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1407 Usage: $0 [OPTION]... [VAR=VALUE]...
1409 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1410 VAR=VALUE. See below for descriptions of some of the useful variables.
1412 Defaults for the options are specified in brackets.
1415 -h, --help display this help and exit
1416 --help=short display options specific to this package
1417 --help=recursive display the short help of all the included packages
1418 -V, --version display version information and exit
1419 -q, --quiet, --silent do not print \`checking ...' messages
1420 --cache-file=FILE cache test results in FILE [disabled]
1421 -C, --config-cache alias for \`--cache-file=config.cache'
1422 -n, --no-create do not create output files
1423 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1425 Installation directories:
1426 --prefix=PREFIX install architecture-independent files in PREFIX
1427 [$ac_default_prefix]
1428 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1431 By default, \`make install' will install all the files in
1432 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1433 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1434 for instance \`--prefix=\$HOME'.
1436 For better control, use the options below.
1438 Fine tuning of the installation directories:
1439 --bindir=DIR user executables [EPREFIX/bin]
1440 --sbindir=DIR system admin executables [EPREFIX/sbin]
1441 --libexecdir=DIR program executables [EPREFIX/libexec]
1442 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1443 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1444 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1445 --libdir=DIR object code libraries [EPREFIX/lib]
1446 --includedir=DIR C header files [PREFIX/include]
1447 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1448 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1449 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1450 --infodir=DIR info documentation [DATAROOTDIR/info]
1451 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1452 --mandir=DIR man documentation [DATAROOTDIR/man]
1453 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1454 --htmldir=DIR html documentation [DOCDIR]
1455 --dvidir=DIR dvi documentation [DOCDIR]
1456 --pdfdir=DIR pdf documentation [DOCDIR]
1457 --psdir=DIR ps documentation [DOCDIR]
1463 --program-prefix=PREFIX prepend PREFIX to installed program names
1464 --program-suffix=SUFFIX append SUFFIX to installed program names
1465 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1468 --build=BUILD configure
for building on BUILD
[guessed
]
1469 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1473 if test -n "$ac_init_help"; then
1474 case $ac_init_help in
1475 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1480 --disable-option-checking ignore unrecognized
--enable/--with options
1481 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1482 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1483 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1484 --disable-silent-rules verbose build output
(undo
: "make V=0")
1485 --enable-maintainer-mode
1486 enable make rules and dependencies not useful
(and
1487 sometimes confusing
) to the casual installer
1488 --enable-dependency-tracking
1489 do not reject slow dependency extractors
1490 --disable-dependency-tracking
1491 speeds up one
-time build
1492 --enable-static[=PKGS
] build static libraries
[default
=no
]
1493 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1494 --enable-fast-install[=PKGS
]
1495 optimize
for fast installation
[default
=yes]
1496 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1497 --enable-javascript[=ENGINE
]
1498 use a JavaScript runtime
(currently the only
1499 available option
for ENGINE is JavaScriptCore
)
1501 --disable-console disable console
1504 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1505 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1506 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1508 --with-aix-soname=aix
|svr4
|both
1509 shared library versioning
(aka
"SONAME") variant to
1510 provide on AIX
, [default
=aix
].
1511 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1512 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1513 compiler
's sysroot if not specified).
1515 Some influential environment variables:
1516 CC C compiler command
1517 CFLAGS C compiler flags
1518 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1519 nonstandard directory <lib dir>
1520 LIBS libraries to pass to the linker, e.g. -l<library>
1521 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1522 you have headers in a nonstandard directory <include dir>
1523 CXX C++ compiler command
1524 CXXFLAGS C++ compiler flags
1525 OBJCXX Objective C++ compiler command
1526 OBJCXXFLAGS Objective C++ compiler flags
1528 User-defined run-time library search path.
1530 CXXCPP C++ preprocessor
1531 PKG_CONFIG path to pkg-config utility
1533 directories to add to pkg-config's search path
1535 path overriding pkg
-config's built-in search path
1536 BISON GNU Project parser generator (yacc replacement)
1537 FLEX the fast lexical analyser generator
1538 GPERF perfect hash function generator
1539 GNUTAR a very sticky lump of files
1541 C compiler flags for WEBKIT, overriding pkg-config
1542 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1544 prints information about the current gnustep installation
1546 Use these variables to override the choices made by `configure' or to
help
1547 it to
find libraries and programs with nonstandard names
/locations.
1549 Report bugs to
<saurik@saurik.com
>.
1550 Cycript home page
: <http
://www.cycript.org
/>.
1555 if test "$ac_init_help" = "recursive"; then
1556 # If there are subdirs, report their specific --help.
1557 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1558 test -d "$ac_dir" ||
1559 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1564 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1566 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1567 # A ".." for each directory in $ac_dir_suffix.
1568 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1569 case $ac_top_builddir_sub in
1570 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1571 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1574 ac_abs_top_builddir
=$ac_pwd
1575 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1576 # for backward compatibility:
1577 ac_top_builddir
=$ac_top_build_prefix
1580 .
) # We are building in place.
1582 ac_top_srcdir
=$ac_top_builddir_sub
1583 ac_abs_top_srcdir
=$ac_pwd ;;
1584 [\\/]* | ?
:[\\/]* ) # Absolute name.
1585 ac_srcdir
=$srcdir$ac_dir_suffix;
1586 ac_top_srcdir
=$srcdir
1587 ac_abs_top_srcdir
=$srcdir ;;
1589 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1590 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1591 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1593 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1595 cd "$ac_dir" || { ac_status
=$?
; continue; }
1596 # Check for guested configure.
1597 if test -f "$ac_srcdir/configure.gnu"; then
1599 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1600 elif test -f "$ac_srcdir/configure"; then
1602 $SHELL "$ac_srcdir/configure" --help=recursive
1604 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1606 cd "$ac_pwd" || { ac_status
=$?
; break; }
1610 test -n "$ac_init_help" && exit $ac_status
1611 if $ac_init_version; then
1613 Cycript configure
0.9
1614 generated by GNU Autoconf
2.69
1616 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1617 This configure
script is free software
; the Free Software Foundation
1618 gives unlimited permission to copy
, distribute and modify it.
1620 Copyright
(C
) 2009-2014 Jay Freeman
(saurik
)
1625 ## ------------------------ ##
1626 ## Autoconf initialization. ##
1627 ## ------------------------ ##
1629 # ac_fn_c_try_compile LINENO
1630 # --------------------------
1631 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1632 ac_fn_c_try_compile
()
1634 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1635 rm -f conftest.
$ac_objext
1636 if { { ac_try
="$ac_compile"
1638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1639 *) ac_try_echo=$ac_try;;
1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_compile") 2>conftest.err
1645 if test -s conftest.err; then
1646 grep -v '^ *+' conftest.err >conftest.er1
1647 cat conftest.er1 >&5
1648 mv -f conftest.er1 conftest.err
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } && {
1652 test -z "$ac_c_werror_flag" ||
1653 test ! -s conftest.err
1654 } && test -s conftest.$ac_objext; then :
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663 as_fn_set_status $ac_retval
1665 } # ac_fn_c_try_compile
1667 # ac_fn_cxx_try_compile LINENO
1668 # ----------------------------
1669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_cxx_try_compile ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 rm -f conftest.$ac_objext
1674 if { { ac_try="$ac_compile"
1676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1677 *) ac_try_echo
=$ac_try;;
1679 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_compile") 2>conftest.err
1683 if test -s conftest.err
; then
1684 grep -v '^ *+' conftest.err
>conftest.er1
1685 cat conftest.er1
>&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_cxx_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest.
$ac_objext; then :
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.
$ac_ext >&5
1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 as_fn_set_status
$ac_retval
1703 } # ac_fn_cxx_try_compile
1705 # ac_fn_objcxx_try_compile LINENO
1706 # -------------------------------
1707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1708 ac_fn_objcxx_try_compile
()
1710 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1711 rm -f conftest.
$ac_objext
1712 if { { ac_try
="$ac_compile"
1714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_compile") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_objcxx_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest.$ac_objext; then :
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 as_fn_set_status $ac_retval
1741 } # ac_fn_objcxx_try_compile
1743 # ac_fn_c_try_link LINENO
1744 # -----------------------
1745 # Try to link conftest.$ac_ext, and return whether this succeeded.
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 rm -f conftest.$ac_objext conftest$ac_exeext
1750 if { { ac_try="$ac_link"
1752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1753 *) ac_try_echo
=$ac_try;;
1755 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_link") 2>conftest.err
1759 if test -s conftest.err
; then
1760 grep -v '^ *+' conftest.err
>conftest.er1
1761 cat conftest.er1
>&5
1762 mv -f conftest.er1 conftest.err
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && {
1766 test -z "$ac_c_werror_flag" ||
1767 test ! -s conftest.err
1768 } && test -s conftest
$ac_exeext && {
1769 test "$cross_compiling" = yes ||
1770 test -x conftest
$ac_exeext
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.
$ac_ext >&5
1779 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1780 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1781 # interfere with the next link command; also delete a directory that is
1782 # left behind by Apple's compiler. We do this before executing the actions.
1783 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785 as_fn_set_status
$ac_retval
1787 } # ac_fn_c_try_link
1789 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1790 # -------------------------------------------------------
1791 # Tests whether HEADER exists and can be compiled using the include files in
1792 # INCLUDES, setting the cache variable VAR accordingly.
1793 ac_fn_c_check_header_compile
()
1795 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if eval \
${$3+:} false
; then :
1799 $as_echo_n "(cached) " >&6
1801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1806 if ac_fn_c_try_compile
"$LINENO"; then :
1811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 $as_echo "$ac_res" >&6; }
1816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818 } # ac_fn_c_check_header_compile
1820 # ac_fn_c_try_cpp LINENO
1821 # ----------------------
1822 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1825 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1826 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } > conftest.i && {
1842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1843 test ! -s conftest.err
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 as_fn_set_status $ac_retval
1857 # ac_fn_c_try_run LINENO
1858 # ----------------------
1859 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1860 # that executables *can* be run.
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 if { { ac_try="$ac_link"
1866 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1867 *) ac_try_echo
=$ac_try;;
1869 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870 $as_echo "$ac_try_echo"; } >&5
1871 (eval "$ac_link") 2>&5
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1875 { { case "(($ac_try" in
1876 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1877 *) ac_try_echo=$ac_try;;
1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_try") 2>&5
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; }; }; then :
1887 $as_echo "$as_me: program exited with status $ac_status" >&5
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 ac_retval=$ac_status
1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 as_fn_set_status $ac_retval
1899 # ac_fn_c_check_func LINENO FUNC VAR
1900 # ----------------------------------
1901 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1902 ac_fn_c_check_func ()
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906 $as_echo_n "checking for $2... " >&6; }
1907 if eval \${$3+:} false; then :
1908 $as_echo_n "(cached) " >&6
1910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1912 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1914 #define $2 innocuous_$2
1916 /* System header to define __stub macros and hopefully few prototypes,
1917 which can conflict with char $2 (); below.
1918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1919 <limits.h> exists even on freestanding compilers. */
1922 # include <limits.h>
1924 # include <assert.h>
1929 /* Override any GCC internal prototype to avoid an error.
1930 Use char because int might match the return type of a GCC
1931 builtin and then its argument prototype would still apply. */
1936 /* The GNU C library defines this for functions which it implements
1937 to always fail with ENOSYS. Some functions are actually named
1938 something starting with __ and the normal name is an alias. */
1939 #if defined __stub_$2 || defined __stub___$2
1951 if ac_fn_c_try_link "$LINENO"; then :
1956 rm -f core conftest.err conftest.$ac_objext \
1957 conftest$ac_exeext conftest.$ac_ext
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1961 $as_echo "$ac_res" >&6; }
1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964 } # ac_fn_c_check_func
1966 # ac_fn_cxx_try_cpp LINENO
1967 # ------------------------
1968 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1969 ac_fn_cxx_try_cpp ()
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 if { { ac_try="$ac_cpp conftest.$ac_ext"
1974 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1975 *) ac_try_echo
=$ac_try;;
1977 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1978 $as_echo "$ac_try_echo"; } >&5
1979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1981 if test -s conftest.err
; then
1982 grep -v '^ *+' conftest.err
>conftest.er1
1983 cat conftest.er1
>&5
1984 mv -f conftest.er1 conftest.err
1986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1987 test $ac_status = 0; } > conftest.i
&& {
1988 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1989 test ! -s conftest.err
1993 $as_echo "$as_me: failed program was:" >&5
1994 sed 's/^/| /' conftest.
$ac_ext >&5
1998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999 as_fn_set_status
$ac_retval
2001 } # ac_fn_cxx_try_cpp
2003 # ac_fn_cxx_try_link LINENO
2004 # -------------------------
2005 # Try to link conftest.$ac_ext, and return whether this succeeded.
2006 ac_fn_cxx_try_link
()
2008 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2009 rm -f conftest.
$ac_objext conftest
$ac_exeext
2010 if { { ac_try
="$ac_link"
2012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2013 *) ac_try_echo=$ac_try;;
2015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2016 $as_echo "$ac_try_echo"; } >&5
2017 (eval "$ac_link") 2>conftest.err
2019 if test -s conftest.err; then
2020 grep -v '^ *+' conftest.err >conftest.er1
2021 cat conftest.er1 >&5
2022 mv -f conftest.er1 conftest.err
2024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2025 test $ac_status = 0; } && {
2026 test -z "$ac_cxx_werror_flag" ||
2027 test ! -s conftest.err
2028 } && test -s conftest$ac_exeext && {
2029 test "$cross_compiling" = yes ||
2030 test -x conftest$ac_exeext
2034 $as_echo "$as_me: failed program was:" >&5
2035 sed 's/^/| /' conftest.$ac_ext >&5
2039 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2040 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2041 # interfere with the next link command; also delete a directory that is
2042 # left behind by Apple's compiler. We do this before executing the actions.
2043 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2044 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2045 as_fn_set_status $ac_retval
2047 } # ac_fn_cxx_try_link
2049 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2050 # ---------------------------------------------------------
2051 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2052 # the include files in INCLUDES and setting the cache variable VAR
2054 ac_fn_cxx_check_header_mongrel ()
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 if eval \${$3+:} false; then :
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2059 $as_echo_n "checking for $2... " >&6; }
2060 if eval \${$3+:} false; then :
2061 $as_echo_n "(cached) " >&6
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065 $as_echo "$ac_res" >&6; }
2067 # Is the header compilable?
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2069 $as_echo_n "checking $2 usability... " >&6; }
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2075 if ac_fn_cxx_try_compile "$LINENO"; then :
2076 ac_header_compiler=yes
2078 ac_header_compiler=no
2080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2082 $as_echo "$ac_header_compiler" >&6; }
2084 # Is the header present?
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2086 $as_echo_n "checking $2 presence... " >&6; }
2087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2091 if ac_fn_cxx_try_cpp "$LINENO"; then :
2092 ac_header_preproc=yes
2094 ac_header_preproc=no
2096 rm -f conftest.err conftest.i conftest.$ac_ext
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2098 $as_echo "$ac_header_preproc" >&6; }
2100 # So? What about this header?
2101 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2104 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2110 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2112 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2114 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2116 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2118 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2119 ( $as_echo "## -------------------------------- ##
2120 ## Report this to saurik@saurik.com ##
2121 ## -------------------------------- ##"
2122 ) | sed "s/^/$as_me: WARNING: /" >&2
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2126 $as_echo_n "checking for $2... " >&6; }
2127 if eval \${$3+:} false; then :
2128 $as_echo_n "(cached) " >&6
2130 eval "$3=\$ac_header_compiler"
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2134 $as_echo "$ac_res" >&6; }
2136 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2138 } # ac_fn_cxx_check_header_mongrel
2140 # ac_fn_objcxx_try_link LINENO
2141 # ----------------------------
2142 # Try to link conftest.$ac_ext, and return whether this succeeded.
2143 ac_fn_objcxx_try_link ()
2145 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2146 rm -f conftest.$ac_objext conftest$ac_exeext
2147 if { { ac_try="$ac_link"
2149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2150 *) ac_try_echo
=$ac_try;;
2152 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2153 $as_echo "$ac_try_echo"; } >&5
2154 (eval "$ac_link") 2>conftest.err
2156 if test -s conftest.err
; then
2157 grep -v '^ *+' conftest.err
>conftest.er1
2158 cat conftest.er1
>&5
2159 mv -f conftest.er1 conftest.err
2161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2162 test $ac_status = 0; } && {
2163 test -z "$ac_objcxx_werror_flag" ||
2164 test ! -s conftest.err
2165 } && test -s conftest
$ac_exeext && {
2166 test "$cross_compiling" = yes ||
2167 test -x conftest
$ac_exeext
2171 $as_echo "$as_me: failed program was:" >&5
2172 sed 's/^/| /' conftest.
$ac_ext >&5
2176 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2177 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2178 # interfere with the next link command; also delete a directory that is
2179 # left behind by Apple's compiler. We do this before executing the actions.
2180 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2181 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2182 as_fn_set_status
$ac_retval
2184 } # ac_fn_objcxx_try_link
2185 cat >config.log
<<_ACEOF
2186 This file contains any messages produced by compilers while
2187 running configure, to aid debugging if configure makes a mistake.
2189 It was created by Cycript $as_me 0.9, which was
2190 generated by GNU Autoconf 2.69. Invocation command line was
2202 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2203 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2204 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2205 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2206 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2208 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2209 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2211 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2212 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2213 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2214 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2215 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2216 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2217 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir
=.
2226 $as_echo "PATH: $as_dir"
2242 # Keep a trace of the command line.
2243 # Strip out --no-create and --no-recursion so they do not pile up.
2244 # Strip out --silent because we don't want to record it for future runs.
2245 # Also quote any args containing shell meta-characters.
2246 # Make two passes to allow for proper duplicate-argument suppression.
2250 ac_must_keep_next
=false
2256 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2258 | -silent | --silent | --silen | --sile | --sil)
2261 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2264 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2266 as_fn_append ac_configure_args1
" '$ac_arg'"
2267 if test $ac_must_keep_next = true
; then
2268 ac_must_keep_next
=false
# Got value, back to normal.
2271 *=* | --config-cache | -C | -disable-* | --disable-* \
2272 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2273 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2274 | -with-* | --with-* | -without-* | --without-* | --x)
2275 case "$ac_configure_args0 " in
2276 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2279 -* ) ac_must_keep_next
=true
;;
2282 as_fn_append ac_configure_args
" '$ac_arg'"
2287 { ac_configure_args0
=; unset ac_configure_args0
;}
2288 { ac_configure_args1
=; unset ac_configure_args1
;}
2290 # When interrupted or exit'd, cleanup temporary files, and complete
2291 # config.log. We remove comments because anyway the quotes in there
2292 # would cause problems or look ugly.
2293 # WARNING: Use '\'' to represent an apostrophe within the trap.
2294 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2295 trap 'exit_status=$?
2296 # Save into config.log some information that might help in debugging.
2300 $as_echo "## ---------------- ##
2301 ## Cache variables. ##
2302 ## ---------------- ##"
2304 # The following way of writing the cache mishandles newlines in values,
2306 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2307 eval ac_val=\$$ac_var
2311 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2312 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2315 _ | IFS | as_nl) ;; #(
2316 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2317 *) { eval $ac_var=; unset $ac_var;} ;;
2322 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2323 *${as_nl}ac_space=\ *)
2325 "s/'\''/'\''\\\\'\'''\''/g;
2326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2329 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2336 $as_echo "## ----------------- ##
2337 ## Output variables. ##
2338 ## ----------------- ##"
2340 for ac_var in $ac_subst_vars
2342 eval ac_val=\$$ac_var
2344 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2346 $as_echo "$ac_var='\''$ac_val'\''"
2350 if test -n "$ac_subst_files"; then
2351 $as_echo "## ------------------- ##
2352 ## File substitutions. ##
2353 ## ------------------- ##"
2355 for ac_var
in $ac_subst_files
2357 eval ac_val
=\$
$ac_var
2359 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2361 $as_echo "$ac_var='\''$ac_val'\''"
2366 if test -s confdefs.h; then
2367 $as_echo "## ----------- ##
2374 test "$ac_signal" != 0 &&
2375 $as_echo "$as_me: caught signal $ac_signal"
2376 $as_echo "$as_me: exit $exit_status"
2378 rm -f core *.core core.conftest.* &&
2379 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2382 for ac_signal
in 1 2 13 15; do
2383 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2387 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2388 rm -f -r conftest
* confdefs.h
2390 $as_echo "/* confdefs.h */" > confdefs.h
2392 # Predefined preprocessor variables.
2394 cat >>confdefs.h
<<_ACEOF
2395 #define PACKAGE_NAME "$PACKAGE_NAME"
2398 cat >>confdefs.h
<<_ACEOF
2399 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2402 cat >>confdefs.h
<<_ACEOF
2403 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2406 cat >>confdefs.h
<<_ACEOF
2407 #define PACKAGE_STRING "$PACKAGE_STRING"
2410 cat >>confdefs.h
<<_ACEOF
2411 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2414 cat >>confdefs.h
<<_ACEOF
2415 #define PACKAGE_URL "$PACKAGE_URL"
2419 # Let the site file select an alternate cache file if it wants to.
2420 # Prefer an explicitly selected file to automatically selected ones.
2423 if test -n "$CONFIG_SITE"; then
2424 # We do not want a PATH search for config.site.
2425 case $CONFIG_SITE in #((
2426 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2427 */*) ac_site_file1
=$CONFIG_SITE;;
2428 *) ac_site_file1
=.
/$CONFIG_SITE;;
2430 elif test "x$prefix" != xNONE
; then
2431 ac_site_file1
=$prefix/share
/config.site
2432 ac_site_file2
=$prefix/etc
/config.site
2434 ac_site_file1
=$ac_default_prefix/share
/config.site
2435 ac_site_file2
=$ac_default_prefix/etc
/config.site
2437 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2439 test "x$ac_site_file" = xNONE
&& continue
2440 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2442 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2443 sed 's/^/| /' "$ac_site_file" >&5
2445 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2447 as_fn_error $?
"failed to load site script $ac_site_file
2448 See \`config.log' for more details" "$LINENO" 5; }
2452 if test -r "$cache_file"; then
2453 # Some versions of bash will fail to source /dev/null (special files
2454 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2455 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2457 $as_echo "$as_me: loading cache $cache_file" >&6;}
2459 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2460 *) .
"./$cache_file";;
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2465 $as_echo "$as_me: creating cache $cache_file" >&6;}
2469 # Check that the precious variables saved in the cache have kept the same
2471 ac_cache_corrupted
=false
2472 for ac_var
in $ac_precious_vars; do
2473 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2474 eval ac_new_set
=\
$ac_env_${ac_var}_set
2475 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2476 eval ac_new_val
=\
$ac_env_${ac_var}_value
2477 case $ac_old_set,$ac_new_set in
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2480 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2481 ac_cache_corrupted
=: ;;
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2484 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2485 ac_cache_corrupted
=: ;;
2488 if test "x$ac_old_val" != "x$ac_new_val"; then
2489 # differences in whitespace do not lead to failure.
2490 ac_old_val_w
=`echo x $ac_old_val`
2491 ac_new_val_w
=`echo x $ac_new_val`
2492 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2494 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2495 ac_cache_corrupted
=:
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2498 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2499 eval $ac_var=\
$ac_old_val
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2502 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2504 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2507 # Pass precious variables to config.status.
2508 if test "$ac_new_set" = set; then
2510 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2511 *) ac_arg
=$ac_var=$ac_new_val ;;
2513 case " $ac_configure_args " in
2514 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2515 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2519 if $ac_cache_corrupted; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2523 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2524 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2526 ## -------------------- ##
2527 ## Main body of script. ##
2528 ## -------------------- ##
2531 ac_cpp
='$CPP $CPPFLAGS'
2532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2541 for ac_dir
in .
"$srcdir"/.
; do
2542 if test -f "$ac_dir/install-sh"; then
2544 ac_install_sh
="$ac_aux_dir/install-sh -c"
2546 elif test -f "$ac_dir/install.sh"; then
2548 ac_install_sh
="$ac_aux_dir/install.sh -c"
2550 elif test -f "$ac_dir/shtool"; then
2552 ac_install_sh
="$ac_aux_dir/shtool install -c"
2556 if test -z "$ac_aux_dir"; then
2557 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2560 # These three variables are undocumented and unsupported,
2561 # and are intended to be withdrawn in a future Autoconf release.
2562 # They can cause serious problems if a builder's source tree is in a directory
2563 # whose full name contains unusual characters.
2564 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2565 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2566 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2570 ac_config_headers
="$ac_config_headers config.h"
2573 am__api_version
='1.14'
2575 # Find a good install program. We prefer a C program (faster),
2576 # so one script is as good as another. But avoid the broken or
2577 # incompatible versions:
2578 # SysV /etc/install, /usr/sbin/install
2579 # SunOS /usr/etc/install
2580 # IRIX /sbin/install
2582 # AmigaOS /C/install, which installs bootblocks on floppy discs
2583 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2584 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2585 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2586 # OS/2's system install, which has a completely different semantic
2587 # ./install, which can be erroneously created by make from ./install.sh.
2588 # Reject install programs that cannot install multiple files.
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2590 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2591 if test -z "$INSTALL"; then
2592 if ${ac_cv_path_install+:} false
; then :
2593 $as_echo_n "(cached) " >&6
2595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir
=.
2600 # Account for people who put trailing slashes in PATH elements.
2601 case $as_dir/ in #((
2602 .
/ | .
// | /[cC
]/* | \
2603 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2604 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2607 # OSF1 and SCO ODT 3.0 have their own names for install.
2608 # Don't use installbsd from OSF since it installs stuff as root
2610 for ac_prog
in ginstall scoinst
install; do
2611 for ac_exec_ext
in '' $ac_executable_extensions; do
2612 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2613 if test $ac_prog = install &&
2614 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2615 # AIX install. It has an incompatible calling convention.
2617 elif test $ac_prog = install &&
2618 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2619 # program-specific install script used by HP pwplus--don't use.
2622 rm -rf conftest.one conftest.two conftest.dir
2623 echo one
> conftest.one
2624 echo two
> conftest.two
2626 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2627 test -s conftest.one
&& test -s conftest.two
&&
2628 test -s conftest.dir
/conftest.one
&&
2629 test -s conftest.dir
/conftest.two
2631 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2644 rm -rf conftest.one conftest.two conftest.dir
2647 if test "${ac_cv_path_install+set}" = set; then
2648 INSTALL
=$ac_cv_path_install
2650 # As a last resort, use the slow shell script. Don't cache a
2651 # value for INSTALL within a source directory, because that will
2652 # break other packages using the cache if that directory is
2653 # removed, or if the value is a relative name.
2654 INSTALL
=$ac_install_sh
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2658 $as_echo "$INSTALL" >&6; }
2660 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2661 # It thinks the first close brace ends the variable substitution.
2662 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2664 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2666 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2669 $as_echo_n "checking whether build environment is sane... " >&6; }
2670 # Reject unsafe characters in $srcdir or the absolute working directory
2671 # name. Accept space and tab only in the latter.
2675 *[\\\"\#\$\&\'\`$am_lf]*)
2676 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2679 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2680 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2683 # Do 'set' in a subshell so we don't clobber the current shell's
2684 # arguments. Must try -L first in case configure is actually a
2685 # symlink; some systems play weird games with the mod time of symlinks
2686 # (eg FreeBSD returns the mod time of the symlink's containing
2690 for am_try
in 1 2; do
2691 echo "timestamp, slept: $am_has_slept" > conftest.
file
2692 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2693 if test "$*" = "X"; then
2695 set X
`ls -t "$srcdir/configure" conftest.file`
2697 if test "$*" != "X $srcdir/configure conftest.file" \
2698 && test "$*" != "X conftest.file $srcdir/configure"; then
2700 # If neither matched, then we have a broken ls. This can happen
2701 # if, for instance, CONFIG_SHELL is bash and it inherits a
2702 # broken ls alias from the environment. This has actually
2703 # happened. Such a system could not be considered "sane".
2704 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2705 alias in your environment" "$LINENO" 5
2707 if test "$2" = conftest.
file || test $am_try -eq 2; then
2714 test "$2" = conftest.
file
2720 as_fn_error $?
"newly created file is older than distributed files!
2721 Check your system clock" "$LINENO" 5
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2724 $as_echo "yes" >&6; }
2725 # If we didn't sleep, we still need to ensure time stamps of config.status and
2726 # generated files are strictly newer.
2728 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2735 test "$program_prefix" != NONE
&&
2736 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2737 # Use a double $ so make ignores it.
2738 test "$program_suffix" != NONE
&&
2739 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2740 # Double any \ or $.
2741 # By default was `s,x,x', remove it if useless.
2742 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2743 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2745 # expand $ac_aux_dir to an absolute path
2746 am_aux_dir
=`cd $ac_aux_dir && pwd`
2748 if test x
"${MISSING+set}" != xset
; then
2751 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2753 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2756 # Use eval to expand $SHELL
2757 if eval "$MISSING --is-lightweight"; then
2758 am_missing_run
="$MISSING "
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2762 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2765 if test x
"${install_sh}" != xset
; then
2768 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2770 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2774 # Installed binaries are usually stripped using 'strip' when the user
2775 # run "make install-strip". However 'strip' might not be the right
2776 # tool to use in cross-compilation environments, therefore Automake
2777 # will honor the 'STRIP' environment variable to overrule this program.
2778 if test "$cross_compiling" != no
; then
2779 if test -n "$ac_tool_prefix"; then
2780 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2781 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783 $as_echo_n "checking for $ac_word... " >&6; }
2784 if ${ac_cv_prog_STRIP+:} false
; then :
2785 $as_echo_n "(cached) " >&6
2787 if test -n "$STRIP"; then
2788 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir
=.
2795 for ac_exec_ext
in '' $ac_executable_extensions; do
2796 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2797 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 STRIP
=$ac_cv_prog_STRIP
2808 if test -n "$STRIP"; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2810 $as_echo "$STRIP" >&6; }
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2818 if test -z "$ac_cv_prog_STRIP"; then
2820 # Extract the first word of "strip", so it can be a program name with args.
2821 set dummy strip
; ac_word
=$2
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823 $as_echo_n "checking for $ac_word... " >&6; }
2824 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2825 $as_echo_n "(cached) " >&6
2827 if test -n "$ac_ct_STRIP"; then
2828 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir
=.
2835 for ac_exec_ext
in '' $ac_executable_extensions; do
2836 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2837 ac_cv_prog_ac_ct_STRIP
="strip"
2838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2848 if test -n "$ac_ct_STRIP"; then
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2850 $as_echo "$ac_ct_STRIP" >&6; }
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2856 if test "x$ac_ct_STRIP" = x
; then
2859 case $cross_compiling:$ac_tool_warned in
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2863 ac_tool_warned
=yes ;;
2868 STRIP
="$ac_cv_prog_STRIP"
2872 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2875 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2876 if test -z "$MKDIR_P"; then
2877 if ${ac_cv_path_mkdir+:} false
; then :
2878 $as_echo_n "(cached) " >&6
2880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2881 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2884 test -z "$as_dir" && as_dir
=.
2885 for ac_prog
in mkdir gmkdir
; do
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2888 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2889 'mkdir (GNU coreutils) '* | \
2890 'mkdir (coreutils) '* | \
2891 'mkdir (fileutils) '4.1*)
2892 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2902 test -d .
/--version && rmdir .
/--version
2903 if test "${ac_cv_path_mkdir+set}" = set; then
2904 MKDIR_P
="$ac_cv_path_mkdir -p"
2906 # As a last resort, use the slow shell script. Don't cache a
2907 # value for MKDIR_P within a source directory, because that will
2908 # break other packages using the cache if that directory is
2909 # removed, or if the value is a relative name.
2910 MKDIR_P
="$ac_install_sh -d"
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2914 $as_echo "$MKDIR_P" >&6; }
2916 for ac_prog
in gawk mawk nawk
awk
2918 # Extract the first word of "$ac_prog", so it can be a program name with args.
2919 set dummy
$ac_prog; ac_word
=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if ${ac_cv_prog_AWK+:} false
; then :
2923 $as_echo_n "(cached) " >&6
2925 if test -n "$AWK"; then
2926 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir
=.
2933 for ac_exec_ext
in '' $ac_executable_extensions; do
2934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2935 ac_cv_prog_AWK
="$ac_prog"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 if test -n "$AWK"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2948 $as_echo "$AWK" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2955 test -n "$AWK" && break
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2959 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2961 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2962 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2963 $as_echo_n "(cached) " >&6
2965 cat >conftest.
make <<\_ACEOF
2968 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2970 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2971 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2973 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2975 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2979 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2981 $as_echo "yes" >&6; }
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2985 $as_echo "no" >&6; }
2986 SET_MAKE
="MAKE=${MAKE-make}"
2989 rm -rf .tst
2>/dev
/null
2990 mkdir .tst
2>/dev
/null
2991 if test -d .tst
; then
2996 rmdir .tst
2>/dev
/null
2998 # Check whether --enable-silent-rules was given.
2999 if test "${enable_silent_rules+set}" = set; then :
3000 enableval
=$enable_silent_rules;
3003 case $enable_silent_rules in # (((
3004 yes) AM_DEFAULT_VERBOSITY
=0;;
3005 no
) AM_DEFAULT_VERBOSITY
=1;;
3006 *) AM_DEFAULT_VERBOSITY
=1;;
3008 am_make
=${MAKE-make}
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3010 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3011 if ${am_cv_make_support_nested_variables+:} false
; then :
3012 $as_echo_n "(cached) " >&6
3014 if $as_echo 'TRUE=$(BAR$(V))
3020 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3021 am_cv_make_support_nested_variables
=yes
3023 am_cv_make_support_nested_variables
=no
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3027 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3028 if test $am_cv_make_support_nested_variables = yes; then
3030 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3032 AM_V
=$AM_DEFAULT_VERBOSITY
3033 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3037 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3038 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3039 # is not polluted with repeated "-I."
3040 am__isrc
=' -I$(srcdir)'
3041 # test to see if srcdir already configured
3042 if test -f $srcdir/config.status
; then
3043 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3047 # test whether we have cygpath
3048 if test -z "$CYGPATH_W"; then
3049 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3050 CYGPATH_W
='cygpath -w'
3057 # Define the identity of the package.
3062 cat >>confdefs.h
<<_ACEOF
3063 #define PACKAGE "$PACKAGE"
3067 cat >>confdefs.h
<<_ACEOF
3068 #define VERSION "$VERSION"
3071 # Some tools Automake needs.
3073 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3076 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3079 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3082 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3085 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3087 # For better backward compatibility. To be removed once Automake 1.9.x
3088 # dies out for good. For more background, see:
3089 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3090 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3091 mkdir_p
='$(MKDIR_P)'
3093 # We need awk for the "check" target. The system "awk" is bad on
3095 # Always define AMTAR for backward compatibility. Yes, it's still used
3096 # in the wild :-( We should find a proper way to deprecate it ...
3100 # We'll loop over all known methods to create a tar archive until one works.
3101 _am_tools
='gnutar pax cpio none'
3103 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3110 # POSIX will say in a future version that running "rm -f" with no argument
3111 # is OK; and we want to be able to make that assumption in our Makefile
3112 # recipes. So use an aggressive probe to check that the usage we want is
3113 # actually supported "in the wild" to an acceptable degree.
3114 # See automake bug#10828.
3115 # To make any issue more visible, cause the running configure to be aborted
3116 # by default if the 'rm' program in use doesn't match our expectations; the
3117 # user can still override this though.
3118 if rm -f && rm -fr && rm -rf; then : OK
; else
3122 Your 'rm' program seems unable to run without file operands specified
3123 on the command line, even when the '-f' option is present. This is contrary
3124 to the behaviour of most rm programs out there, and not conforming with
3125 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3127 Please tell bug-automake@gnu.org about your system, including the value
3128 of your $PATH and any error possibly output before this message. This
3129 can help us improve future automake versions.
3132 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3133 echo 'Configuration will proceed anyway, since you have set the' >&2
3134 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3138 Aborting the configuration process, to ensure you take notice of the issue.
3140 You can download and install GNU coreutils to get an 'rm' implementation
3141 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3143 If you want to complete the configuration process using your problematic
3144 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3145 to "yes", and re-run configure.
3148 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3153 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3154 # Check whether --enable-maintainer-mode was given.
3155 if test "${enable_maintainer_mode+set}" = set; then :
3156 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3158 USE_MAINTAINER_MODE
=no
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3162 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3163 if test $USE_MAINTAINER_MODE = yes; then
3164 MAINTAINER_MODE_TRUE
=
3165 MAINTAINER_MODE_FALSE
='#'
3167 MAINTAINER_MODE_TRUE
='#'
3168 MAINTAINER_MODE_FALSE
=
3171 MAINT
=$MAINTAINER_MODE_TRUE
3176 ac_cpp
='$CPP $CPPFLAGS'
3177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3180 if test -n "$ac_tool_prefix"; then
3181 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3182 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184 $as_echo_n "checking for $ac_word... " >&6; }
3185 if ${ac_cv_prog_CC+:} false
; then :
3186 $as_echo_n "(cached) " >&6
3188 if test -n "$CC"; then
3189 ac_cv_prog_CC
="$CC" # Let the user override the test.
3191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3195 test -z "$as_dir" && as_dir
=.
3196 for ac_exec_ext
in '' $ac_executable_extensions; do
3197 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3198 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 if test -n "$CC"; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3211 $as_echo "$CC" >&6; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214 $as_echo "no" >&6; }
3219 if test -z "$ac_cv_prog_CC"; then
3221 # Extract the first word of "gcc", so it can be a program name with args.
3222 set dummy gcc
; ac_word
=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3226 $as_echo_n "(cached) " >&6
3228 if test -n "$ac_ct_CC"; then
3229 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3235 test -z "$as_dir" && as_dir
=.
3236 for ac_exec_ext
in '' $ac_executable_extensions; do
3237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3238 ac_cv_prog_ac_ct_CC
="gcc"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3249 if test -n "$ac_ct_CC"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3251 $as_echo "$ac_ct_CC" >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3257 if test "x$ac_ct_CC" = x
; then
3260 case $cross_compiling:$ac_tool_warned in
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3264 ac_tool_warned
=yes ;;
3272 if test -z "$CC"; then
3273 if test -n "$ac_tool_prefix"; then
3274 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3275 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277 $as_echo_n "checking for $ac_word... " >&6; }
3278 if ${ac_cv_prog_CC+:} false
; then :
3279 $as_echo_n "(cached) " >&6
3281 if test -n "$CC"; then
3282 ac_cv_prog_CC
="$CC" # Let the user override the test.
3284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3288 test -z "$as_dir" && as_dir
=.
3289 for ac_exec_ext
in '' $ac_executable_extensions; do
3290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3291 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 if test -n "$CC"; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3304 $as_echo "$CC" >&6; }
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3313 if test -z "$CC"; then
3314 # Extract the first word of "cc", so it can be a program name with args.
3315 set dummy cc
; ac_word
=$2
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 $as_echo_n "checking for $ac_word... " >&6; }
3318 if ${ac_cv_prog_CC+:} false
; then :
3319 $as_echo_n "(cached) " >&6
3321 if test -n "$CC"; then
3322 ac_cv_prog_CC
="$CC" # Let the user override the test.
3325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3329 test -z "$as_dir" && as_dir
=.
3330 for ac_exec_ext
in '' $ac_executable_extensions; do
3331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3332 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3333 ac_prog_rejected
=yes
3337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 if test $ac_prog_rejected = yes; then
3345 # We found a bogon in the path, so make sure we never use it.
3346 set dummy
$ac_cv_prog_CC
3348 if test $# != 0; then
3349 # We chose a different compiler from the bogus one.
3350 # However, it has the same basename, so the bogon will be chosen
3351 # first if we set CC to just the basename; use the full file name.
3353 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3359 if test -n "$CC"; then
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3361 $as_echo "$CC" >&6; }
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3364 $as_echo "no" >&6; }
3369 if test -z "$CC"; then
3370 if test -n "$ac_tool_prefix"; then
3371 for ac_prog
in cl.exe
3373 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3374 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3376 $as_echo_n "checking for $ac_word... " >&6; }
3377 if ${ac_cv_prog_CC+:} false
; then :
3378 $as_echo_n "(cached) " >&6
3380 if test -n "$CC"; then
3381 ac_cv_prog_CC
="$CC" # Let the user override the test.
3383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3387 test -z "$as_dir" && as_dir
=.
3388 for ac_exec_ext
in '' $ac_executable_extensions; do
3389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3390 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3401 if test -n "$CC"; then
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3403 $as_echo "$CC" >&6; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406 $as_echo "no" >&6; }
3410 test -n "$CC" && break
3413 if test -z "$CC"; then
3415 for ac_prog
in cl.exe
3417 # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 set dummy
$ac_prog; ac_word
=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3422 $as_echo_n "(cached) " >&6
3424 if test -n "$ac_ct_CC"; then
3425 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3431 test -z "$as_dir" && as_dir
=.
3432 for ac_exec_ext
in '' $ac_executable_extensions; do
3433 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3434 ac_cv_prog_ac_ct_CC
="$ac_prog"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3444 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3445 if test -n "$ac_ct_CC"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3447 $as_echo "$ac_ct_CC" >&6; }
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3454 test -n "$ac_ct_CC" && break
3457 if test "x$ac_ct_CC" = x
; then
3460 case $cross_compiling:$ac_tool_warned in
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3464 ac_tool_warned
=yes ;;
3473 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3475 as_fn_error $?
"no acceptable C compiler found in \$PATH
3476 See \`config.log' for more details" "$LINENO" 5; }
3478 # Provide some information about the compiler.
3479 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3482 for ac_option
in --version -v -V -qversion; do
3483 { { ac_try
="$ac_compiler $ac_option >&5"
3485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3492 if test -s conftest.err; then
3494 ... rest of stderr output deleted ...
3495 10q' conftest.err >conftest.er1
3496 cat conftest.er1 >&5
3498 rm -f conftest.er1 conftest.err
3499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3500 test $ac_status = 0; }
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3514 ac_clean_files_save=$ac_clean_files
3515 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3516 # Try to create an executable without -o first, disregard a.out.
3517 # It will help us diagnose broken compilers, and finding out an intuition
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3520 $as_echo_n "checking whether the C compiler works... " >&6; }
3521 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3523 # The possible output files:
3524 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3527 for ac_file in $ac_files
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3531 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3536 if { { ac_try="$ac_link_default"
3538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3539 *) ac_try_echo
=$ac_try;;
3541 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3542 $as_echo "$ac_try_echo"; } >&5
3543 (eval "$ac_link_default") 2>&5
3545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3546 test $ac_status = 0; }; then :
3547 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3548 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3549 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3550 # so that the user can short-circuit this test for compilers unknown to
3552 for ac_file
in $ac_files ''
3554 test -f "$ac_file" || continue
3556 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3559 # We found the default executable, but exeext='' is most
3563 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3565 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3567 # We set ac_cv_exeext here because the later test for it is not
3568 # safe: cross compilers may not add the suffix if given an `-o'
3569 # argument, so we may need to know it at that point already.
3570 # Even if this section looks crufty: it has the advantage of
3577 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3582 if test -z "$ac_file"; then :
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3585 $as_echo "$as_me: failed program was:" >&5
3586 sed 's/^/| /' conftest.
$ac_ext >&5
3588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590 as_fn_error
77 "C compiler cannot create executables
3591 See \`config.log' for more details" "$LINENO" 5; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3594 $as_echo "yes" >&6; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3597 $as_echo_n "checking for C compiler default output file name... " >&6; }
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3599 $as_echo "$ac_file" >&6; }
3600 ac_exeext
=$ac_cv_exeext
3602 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3603 ac_clean_files
=$ac_clean_files_save
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3605 $as_echo_n "checking for suffix of executables... " >&6; }
3606 if { { ac_try
="$ac_link"
3608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613 (eval "$ac_link") 2>&5
3615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616 test $ac_status = 0; }; then :
3617 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3618 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3619 # work properly (i.e., refer to `conftest.exe'), while it won't with
3621 for ac_file
in conftest.exe conftest conftest.
*; do
3622 test -f "$ac_file" || continue
3624 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3625 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3633 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3634 See \`config.log' for more details" "$LINENO" 5; }
3636 rm -f conftest conftest
$ac_cv_exeext
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3638 $as_echo "$ac_cv_exeext" >&6; }
3640 rm -f conftest.
$ac_ext
3641 EXEEXT
=$ac_cv_exeext
3643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3649 FILE *f = fopen ("conftest.out", "w");
3650 return ferror (f) || fclose (f) != 0;
3656 ac_clean_files
="$ac_clean_files conftest.out"
3657 # Check that the compiler produces executables we can run. If not, either
3658 # the compiler is broken, or we cross compile.
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3660 $as_echo_n "checking whether we are cross compiling... " >&6; }
3661 if test "$cross_compiling" != yes; then
3662 { { ac_try
="$ac_link"
3664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3665 *) ac_try_echo=$ac_try;;
3667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3668 $as_echo "$ac_try_echo"; } >&5
3669 (eval "$ac_link") 2>&5
3671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3672 test $ac_status = 0; }
3673 if { ac_try='./conftest$ac_cv_exeext'
3674 { { case "(($ac_try" in
3675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3676 *) ac_try_echo
=$ac_try;;
3678 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3679 $as_echo "$ac_try_echo"; } >&5
3680 (eval "$ac_try") 2>&5
3682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3683 test $ac_status = 0; }; }; then
3686 if test "$cross_compiling" = maybe
; then
3689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691 as_fn_error $?
"cannot run C compiled programs.
3692 If you meant to cross compile, use \`--host'.
3693 See \`config.log' for more details" "$LINENO" 5; }
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3698 $as_echo "$cross_compiling" >&6; }
3700 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3701 ac_clean_files
=$ac_clean_files_save
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3703 $as_echo_n "checking for suffix of object files... " >&6; }
3704 if ${ac_cv_objext+:} false
; then :
3705 $as_echo_n "(cached) " >&6
3707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3718 rm -f conftest.o conftest.obj
3719 if { { ac_try
="$ac_compile"
3721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3722 *) ac_try_echo=$ac_try;;
3724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3725 $as_echo "$ac_try_echo"; } >&5
3726 (eval "$ac_compile") 2>&5
3728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3729 test $ac_status = 0; }; then :
3730 for ac_file in conftest.o conftest.obj conftest.*; do
3731 test -f "$ac_file" || continue;
3733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3734 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3739 $as_echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.$ac_ext >&5
3742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3744 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3745 See \
`config.log' for more details" "$LINENO" 5; }
3747 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3750 $as_echo "$ac_cv_objext" >&6; }
3751 OBJEXT=$ac_cv_objext
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3754 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3755 if ${ac_cv_c_compiler_gnu+:} false; then :
3756 $as_echo_n "(cached) " >&6
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h. */
3772 if ac_fn_c_try_compile "$LINENO"; then :
3777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3778 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3782 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3783 if test $ac_compiler_gnu = yes; then
3788 ac_test_CFLAGS=${CFLAGS+set}
3789 ac_save_CFLAGS=$CFLAGS
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3791 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3792 if ${ac_cv_prog_cc_g+:} false; then :
3793 $as_echo_n "(cached) " >&6
3795 ac_save_c_werror_flag=$ac_c_werror_flag
3796 ac_c_werror_flag=yes
3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3810 if ac_fn_c_try_compile "$LINENO"; then :
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3825 if ac_fn_c_try_compile "$LINENO"; then :
3828 ac_c_werror_flag=$ac_save_c_werror_flag
3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3831 /* end confdefs.h. */
3841 if ac_fn_c_try_compile "$LINENO"; then :
3844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849 ac_c_werror_flag=$ac_save_c_werror_flag
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3852 $as_echo "$ac_cv_prog_cc_g" >&6; }
3853 if test "$ac_test_CFLAGS" = set; then
3854 CFLAGS=$ac_save_CFLAGS
3855 elif test $ac_cv_prog_cc_g = yes; then
3856 if test "$GCC" = yes; then
3862 if test "$GCC" = yes; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3869 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3870 if ${ac_cv_prog_cc_c89+:} false; then :
3871 $as_echo_n "(cached) " >&6
3873 ac_cv_prog_cc_c89=no
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3880 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3881 struct buf { int x; };
3882 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3883 static char *e (p, i)
3889 static char *f (char * (*g) (char **, int), char **p, ...)
3894 s = g (p, va_arg (v,int));
3899 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3900 function prototypes and stuff, but not '\xHH' hex character constants.
3901 These don't provoke an error unfortunately, instead are silently treated
3902 as 'x'. The following induces an error, until -std is added to get
3903 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3904 array size at least. It's necessary to write '\x00'==0 to get something
3905 that's true only with -std. */
3906 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3908 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3909 inside strings and character constants. */
3911 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3913 int test (int i, double x);
3914 struct s1 {int (*f) (int a);};
3915 struct s2 {int (*f) (double a);};
3916 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3922 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3927 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3928 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3930 CC="$ac_save_CC $ac_arg"
3931 if ac_fn_c_try_compile "$LINENO"; then :
3932 ac_cv_prog_cc_c89=$ac_arg
3934 rm -f core conftest.err conftest.$ac_objext
3935 test "x$ac_cv_prog_cc_c89" != "xno" && break
3937 rm -f conftest.$ac_ext
3942 case "x$ac_cv_prog_cc_c89" in
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3945 $as_echo "none needed" >&6; } ;;
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3948 $as_echo "unsupported" >&6; } ;;
3950 CC="$CC $ac_cv_prog_cc_c89"
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3952 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3954 if test "x$ac_cv_prog_cc_c89" != xno; then :
3959 ac_cpp='$CPP $CPPFLAGS'
3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3965 ac_cpp='$CPP $CPPFLAGS'
3966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3970 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3971 if ${am_cv_prog_cc_c_o+:} false; then :
3972 $as_echo_n "(cached) " >&6
3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3985 # Make sure it works both with $CC and with simple cc.
3986 # Following AC_PROG_CC_C_O, we do the test twice because some
3987 # compilers refuse to overwrite an existing .o file with -o,
3988 # though they will create one.
3989 am_cv_prog_cc_c_o=yes
3991 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3992 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); } \
3996 && test -f conftest2.$ac_objext; then
3999 am_cv_prog_cc_c_o=no
4003 rm -f core conftest*
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4007 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4008 if test "$am_cv_prog_cc_c_o" != yes; then
4009 # Losing compiler, so override with the script.
4010 # FIXME: It is wrong to rewrite CC.
4011 # But if we don't then we get into trouble of one sort or another.
4012 # A longer-term fix would be to have automake use am__CC in this case,
4013 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4014 CC="$am_aux_dir/compile $CC"
4017 ac_cpp='$CPP $CPPFLAGS'
4018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4022 DEPDIR="${am__leading_dot}deps"
4024 ac_config_commands="$ac_config_commands depfiles"
4027 am_make=${MAKE-make}
4028 cat > confinc << 'END'
4030 @echo this is the am__doit target
4033 # If we don't find an include directive, just comment out the code.
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4035 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4039 # First try GNU make style include.
4040 echo "include confinc" > confmf
4041 # Ignore all kinds of additional output from 'make'.
4042 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4043 *the\ am__doit\ target*)
4049 # Now try BSD make style include.
4050 if test "$am__include" = "#"; then
4051 echo '.include "confinc"' > confmf
4052 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4053 *the\ am__doit\ target*)
4054 am__include=.include
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4063 $as_echo "$_am_result" >&6; }
4064 rm -f confinc confmf
4066 # Check whether --enable-dependency-tracking was given.
4067 if test "${enable_dependency_tracking+set}" = set; then :
4068 enableval=$enable_dependency_tracking;
4071 if test "x$enable_dependency_tracking" != xno; then
4072 am_depcomp="$ac_aux_dir/depcomp"
4076 if test "x$enable_dependency_tracking" != xno; then
4086 depcc="$CC" am_compiler_list=
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4089 $as_echo_n "checking dependency style of $depcc... " >&6; }
4090 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4091 $as_echo_n "(cached) " >&6
4093 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4094 # We make a subdir and do the tests there. Otherwise we can end up
4095 # making bogus files that we don't know about and never remove. For
4096 # instance it was reported that on HP-UX the gcc test will end up
4097 # making a dummy file named 'D' -- because '-MD' means "put the output
4101 # Copy depcomp to subdir because otherwise we won't find it if we're
4102 # using a relative directory.
4103 cp "$am_depcomp" conftest.dir
4105 # We will build objects and dependencies in a subdirectory because
4106 # it helps to detect inapplicable dependency modes. For instance
4107 # both Tru64's cc and ICC support -MD to output dependencies as a
4108 # side effect of compilation, but ICC will put the dependencies in
4109 # the current directory while Tru64 will put them in the object
4113 am_cv_CC_dependencies_compiler_type=none
4114 if test "$am_compiler_list" = ""; then
4115 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4118 case " $depcc " in #(
4119 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4122 for depmode in $am_compiler_list; do
4123 # Setup a source with many dependencies, because some compilers
4124 # like to wrap large dependency lists on column 80 (with \), and
4125 # we should not choose a depcomp mode which is confused by this.
4127 # We need to recreate these files for each test, as the compiler may
4128 # overwrite some of them when testing with obscure command lines.
4129 # This happens at least with the AIX C compiler.
4131 for i in 1 2 3 4 5 6; do
4132 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4133 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4134 # Solaris 10 /bin/sh.
4135 echo '/* dummy */' > sub/conftst$i.h
4137 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4139 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4140 # mode. It turns out that the SunPro C++ compiler does not properly
4141 # handle '-M -o', and we need to detect this. Also, some Intel
4142 # versions had trouble with output in subdirs.
4143 am__obj=sub/conftest.${OBJEXT-o}
4144 am__minus_obj="-o $am__obj"
4147 # This depmode causes a compiler race in universal mode.
4148 test "$am__universal" = false || continue
4151 # After this tag, mechanisms are not by side-effect, so they'll
4152 # only be used when explicitly requested.
4153 if test "x$enable_dependency_tracking" = xyes; then
4159 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4160 # This compiler won't grok '-c -o', but also, the minuso test has
4161 # not run yet. These depmodes are late enough in the game, and
4162 # so weak that their functioning should not be impacted.
4163 am__obj=conftest.${OBJEXT-o}
4168 if depmode=$depmode \
4169 source=sub/conftest.c object=$am__obj \
4170 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4171 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4172 >/dev/null 2>conftest.err &&
4173 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4174 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4175 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4176 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4177 # icc doesn't choke on unknown options, it will just issue warnings
4178 # or remarks (even with -Werror). So we grep stderr for any message
4179 # that says an option was ignored or not supported.
4180 # When given -MP, icc 7.0 and 7.1 complain thusly:
4181 # icc: Command line warning: ignoring option '-M'; no argument required
4182 # The diagnosis changed in icc 8.0:
4183 # icc: Command line remark: option '-MP' not supported
4184 if (grep 'ignoring option' conftest.err ||
4185 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4186 am_cv_CC_dependencies_compiler_type=$depmode
4195 am_cv_CC_dependencies_compiler_type=none
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4200 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4201 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4204 test "x$enable_dependency_tracking" != xno \
4205 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4207 am__fastdepCC_FALSE='#'
4209 am__fastdepCC_TRUE='#'
4210 am__fastdepCC_FALSE=
4215 ac_cpp='$CXXCPP $CPPFLAGS'
4216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4219 if test -z "$CXX"; then
4220 if test -n "$CCC"; then
4223 if test -n "$ac_tool_prefix"; then
4224 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4229 $as_echo_n "checking for $ac_word... " >&6; }
4230 if ${ac_cv_prog_CXX+:} false; then :
4231 $as_echo_n "(cached) " >&6
4233 if test -n "$CXX"; then
4234 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4240 test -z "$as_dir" && as_dir=.
4241 for ac_exec_ext in '' $ac_executable_extensions; do
4242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4243 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4254 if test -n "$CXX"; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4256 $as_echo "$CXX" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4263 test -n "$CXX" && break
4266 if test -z "$CXX"; then
4268 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4270 # Extract the first word of "$ac_prog", so it can be a program name with args.
4271 set dummy $ac_prog; ac_word=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4275 $as_echo_n "(cached) " >&6
4277 if test -n "$ac_ct_CXX"; then
4278 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 test -z "$as_dir" && as_dir=.
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4287 ac_cv_prog_ac_ct_CXX="$ac_prog"
4288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4298 if test -n "$ac_ct_CXX"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4300 $as_echo "$ac_ct_CXX" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4307 test -n "$ac_ct_CXX" && break
4310 if test "x$ac_ct_CXX" = x; then
4313 case $cross_compiling:$ac_tool_warned in
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4317 ac_tool_warned=yes ;;
4325 # Provide some information about the compiler.
4326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4329 for ac_option in --version -v -V -qversion; do
4330 { { ac_try="$ac_compiler $ac_option >&5"
4332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4333 *) ac_try_echo
=$ac_try;;
4335 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336 $as_echo "$ac_try_echo"; } >&5
4337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4339 if test -s conftest.err
; then
4341 ... rest of stderr output deleted ...
4342 10q' conftest.err
>conftest.er1
4343 cat conftest.er1
>&5
4345 rm -f conftest.er1 conftest.err
4346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4347 test $ac_status = 0; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4351 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4352 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4353 $as_echo_n "(cached) " >&6
4355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4369 if ac_fn_cxx_try_compile
"$LINENO"; then :
4374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4375 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4379 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4380 if test $ac_compiler_gnu = yes; then
4385 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4386 ac_save_CXXFLAGS
=$CXXFLAGS
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4388 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4389 if ${ac_cv_prog_cxx_g+:} false
; then :
4390 $as_echo_n "(cached) " >&6
4392 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4393 ac_cxx_werror_flag
=yes
4396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4407 if ac_fn_cxx_try_compile
"$LINENO"; then :
4408 ac_cv_prog_cxx_g
=yes
4411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4422 if ac_fn_cxx_try_compile
"$LINENO"; then :
4425 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4438 if ac_fn_cxx_try_compile
"$LINENO"; then :
4439 ac_cv_prog_cxx_g
=yes
4441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4446 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4449 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4450 if test "$ac_test_CXXFLAGS" = set; then
4451 CXXFLAGS
=$ac_save_CXXFLAGS
4452 elif test $ac_cv_prog_cxx_g = yes; then
4453 if test "$GXX" = yes; then
4459 if test "$GXX" = yes; then
4466 ac_cpp
='$CPP $CPPFLAGS'
4467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4471 depcc
="$CXX" am_compiler_list
=
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4474 $as_echo_n "checking dependency style of $depcc... " >&6; }
4475 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4476 $as_echo_n "(cached) " >&6
4478 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4479 # We make a subdir and do the tests there. Otherwise we can end up
4480 # making bogus files that we don't know about and never remove. For
4481 # instance it was reported that on HP-UX the gcc test will end up
4482 # making a dummy file named 'D' -- because '-MD' means "put the output
4486 # Copy depcomp to subdir because otherwise we won't find it if we're
4487 # using a relative directory.
4488 cp "$am_depcomp" conftest.dir
4490 # We will build objects and dependencies in a subdirectory because
4491 # it helps to detect inapplicable dependency modes. For instance
4492 # both Tru64's cc and ICC support -MD to output dependencies as a
4493 # side effect of compilation, but ICC will put the dependencies in
4494 # the current directory while Tru64 will put them in the object
4498 am_cv_CXX_dependencies_compiler_type
=none
4499 if test "$am_compiler_list" = ""; then
4500 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4503 case " $depcc " in #(
4504 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4507 for depmode
in $am_compiler_list; do
4508 # Setup a source with many dependencies, because some compilers
4509 # like to wrap large dependency lists on column 80 (with \), and
4510 # we should not choose a depcomp mode which is confused by this.
4512 # We need to recreate these files for each test, as the compiler may
4513 # overwrite some of them when testing with obscure command lines.
4514 # This happens at least with the AIX C compiler.
4516 for i
in 1 2 3 4 5 6; do
4517 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4518 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4519 # Solaris 10 /bin/sh.
4520 echo '/* dummy */' > sub
/conftst
$i.h
4522 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4524 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4525 # mode. It turns out that the SunPro C++ compiler does not properly
4526 # handle '-M -o', and we need to detect this. Also, some Intel
4527 # versions had trouble with output in subdirs.
4528 am__obj
=sub
/conftest.
${OBJEXT-o}
4529 am__minus_obj
="-o $am__obj"
4532 # This depmode causes a compiler race in universal mode.
4533 test "$am__universal" = false
|| continue
4536 # After this tag, mechanisms are not by side-effect, so they'll
4537 # only be used when explicitly requested.
4538 if test "x$enable_dependency_tracking" = xyes
; then
4544 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4545 # This compiler won't grok '-c -o', but also, the minuso test has
4546 # not run yet. These depmodes are late enough in the game, and
4547 # so weak that their functioning should not be impacted.
4548 am__obj
=conftest.
${OBJEXT-o}
4553 if depmode
=$depmode \
4554 source=sub
/conftest.c object
=$am__obj \
4555 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4556 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4557 >/dev
/null
2>conftest.err
&&
4558 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4559 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4560 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4561 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4562 # icc doesn't choke on unknown options, it will just issue warnings
4563 # or remarks (even with -Werror). So we grep stderr for any message
4564 # that says an option was ignored or not supported.
4565 # When given -MP, icc 7.0 and 7.1 complain thusly:
4566 # icc: Command line warning: ignoring option '-M'; no argument required
4567 # The diagnosis changed in icc 8.0:
4568 # icc: Command line remark: option '-MP' not supported
4569 if (grep 'ignoring option' conftest.err
||
4570 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4571 am_cv_CXX_dependencies_compiler_type
=$depmode
4580 am_cv_CXX_dependencies_compiler_type
=none
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4585 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4586 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4589 test "x$enable_dependency_tracking" != xno \
4590 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4591 am__fastdepCXX_TRUE
=
4592 am__fastdepCXX_FALSE
='#'
4594 am__fastdepCXX_TRUE
='#'
4595 am__fastdepCXX_FALSE
=
4600 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4601 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4602 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4603 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4604 if test -n "$ac_tool_prefix"; then
4605 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4608 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if ${ac_cv_prog_OBJCXX+:} false
; then :
4612 $as_echo_n "(cached) " >&6
4614 if test -n "$OBJCXX"; then
4615 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir
=.
4622 for ac_exec_ext
in '' $ac_executable_extensions; do
4623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 OBJCXX
=$ac_cv_prog_OBJCXX
4635 if test -n "$OBJCXX"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4637 $as_echo "$OBJCXX" >&6; }
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
4644 test -n "$OBJCXX" && break
4647 if test -z "$OBJCXX"; then
4648 ac_ct_OBJCXX
=$OBJCXX
4649 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4651 # Extract the first word of "$ac_prog", so it can be a program name with args.
4652 set dummy
$ac_prog; ac_word
=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4656 $as_echo_n "(cached) " >&6
4658 if test -n "$ac_ct_OBJCXX"; then
4659 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir
=.
4666 for ac_exec_ext
in '' $ac_executable_extensions; do
4667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4668 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4679 if test -n "$ac_ct_OBJCXX"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4681 $as_echo "$ac_ct_OBJCXX" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4688 test -n "$ac_ct_OBJCXX" && break
4691 if test "x$ac_ct_OBJCXX" = x
; then
4694 case $cross_compiling:$ac_tool_warned in
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4698 ac_tool_warned
=yes ;;
4700 OBJCXX
=$ac_ct_OBJCXX
4704 # Provide some information about the compiler.
4705 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4708 for ac_option
in --version -v -V -qversion; do
4709 { { ac_try
="$ac_compiler $ac_option >&5"
4711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4712 *) ac_try_echo=$ac_try;;
4714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4715 $as_echo "$ac_try_echo"; } >&5
4716 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4718 if test -s conftest.err; then
4720 ... rest of stderr output deleted ...
4721 10q' conftest.err >conftest.er1
4722 cat conftest.er1 >&5
4724 rm -f conftest.er1 conftest.err
4725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4726 test $ac_status = 0; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4730 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4731 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4732 $as_echo_n "(cached) " >&6
4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4748 if ac_fn_objcxx_try_compile "$LINENO"; then :
4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4754 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4758 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4759 if test $ac_compiler_gnu = yes; then
4764 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4765 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4767 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4768 if ${ac_cv_prog_objcxx_g+:} false; then :
4769 $as_echo_n "(cached) " >&6
4771 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4772 ac_objcxx_werror_flag=yes
4773 ac_cv_prog_objcxx_g=no
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4786 if ac_fn_objcxx_try_compile "$LINENO"; then :
4787 ac_cv_prog_objcxx_g=yes
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4801 if ac_fn_objcxx_try_compile "$LINENO"; then :
4804 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4817 if ac_fn_objcxx_try_compile "$LINENO"; then :
4818 ac_cv_prog_objcxx_g=yes
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4828 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4829 if test "$ac_test_OBJCXXFLAGS" = set; then
4830 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4831 elif test $ac_cv_prog_objcxx_g = yes; then
4832 if test "$GOBJCXX" = yes; then
4833 OBJCXXFLAGS="-g -O2"
4838 if test "$GOBJCXX" = yes; then
4845 ac_cpp='$CPP $CPPFLAGS'
4846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4850 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4853 $as_echo_n "checking dependency style of $depcc... " >&6; }
4854 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4855 $as_echo_n "(cached) " >&6
4857 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4858 # We make a subdir and do the tests there. Otherwise we can end up
4859 # making bogus files that we don't know about and never remove. For
4860 # instance it was reported that on HP-UX the gcc test will end up
4861 # making a dummy file named 'D' -- because '-MD' means "put the output
4865 # Copy depcomp to subdir because otherwise we won't find it if we're
4866 # using a relative directory.
4867 cp "$am_depcomp" conftest.dir
4869 # We will build objects and dependencies in a subdirectory because
4870 # it helps to detect inapplicable dependency modes. For instance
4871 # both Tru64's cc and ICC support -MD to output dependencies as a
4872 # side effect of compilation, but ICC will put the dependencies in
4873 # the current directory while Tru64 will put them in the object
4877 am_cv_OBJCXX_dependencies_compiler_type=none
4878 if test "$am_compiler_list" = ""; then
4879 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4884 for depmode in $am_compiler_list; do
4885 # Setup a source with many dependencies, because some compilers
4886 # like to wrap large dependency lists on column 80 (with \), and
4887 # we should not choose a depcomp mode which is confused by this.
4889 # We need to recreate these files for each test, as the compiler may
4890 # overwrite some of them when testing with obscure command lines.
4891 # This happens at least with the AIX C compiler.
4893 for i in 1 2 3 4 5 6; do
4894 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4895 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4896 # Solaris 10 /bin/sh.
4897 echo '/* dummy */' > sub/conftst$i.h
4899 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4901 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4902 # mode. It turns out that the SunPro C++ compiler does not properly
4903 # handle '-M -o', and we need to detect this. Also, some Intel
4904 # versions had trouble with output in subdirs.
4905 am__obj=sub/conftest.${OBJEXT-o}
4906 am__minus_obj="-o $am__obj"
4909 # This depmode causes a compiler race in universal mode.
4910 test "$am__universal" = false || continue
4913 # After this tag, mechanisms are not by side-effect, so they'll
4914 # only be used when explicitly requested.
4915 if test "x$enable_dependency_tracking" = xyes; then
4921 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4922 # This compiler won't grok '-c -o', but also, the minuso test has
4923 # not run yet. These depmodes are late enough in the game, and
4924 # so weak that their functioning should not be impacted.
4925 am__obj=conftest.${OBJEXT-o}
4930 if depmode=$depmode \
4931 source=sub/conftest.c object=$am__obj \
4932 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4933 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4934 >/dev/null 2>conftest.err &&
4935 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4936 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4937 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4938 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4939 # icc doesn't choke on unknown options, it will just issue warnings
4940 # or remarks (even with -Werror). So we grep stderr for any message
4941 # that says an option was ignored or not supported.
4942 # When given -MP, icc 7.0 and 7.1 complain thusly:
4943 # icc: Command line warning: ignoring option '-M'; no argument required
4944 # The diagnosis changed in icc 8.0:
4945 # icc: Command line remark: option '-MP' not supported
4946 if (grep 'ignoring option' conftest.err ||
4947 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4948 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4957 am_cv_OBJCXX_dependencies_compiler_type=none
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4962 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4963 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4966 test "x$enable_dependency_tracking" != xno \
4967 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4968 am__fastdepOBJCXX_TRUE=
4969 am__fastdepOBJCXX_FALSE='#'
4971 am__fastdepOBJCXX_TRUE='#'
4972 am__fastdepOBJCXX_FALSE=
4978 if test -n "$ac_tool_prefix"; then
4979 for ac_prog in ar lib "link -lib"
4981 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4982 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if ${ac_cv_prog_AR+:} false; then :
4986 $as_echo_n "(cached) " >&6
4988 if test -n "$AR"; then
4989 ac_cv_prog_AR="$AR" # Let the user override the test.
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 if test -n "$AR"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5011 $as_echo "$AR" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5018 test -n "$AR" && break
5021 if test -z "$AR"; then
5023 for ac_prog in ar lib "link -lib"
5025 # Extract the first word of "$ac_prog", so it can be a program name with args.
5026 set dummy $ac_prog; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5030 $as_echo_n "(cached) " >&6
5032 if test -n "$ac_ct_AR"; then
5033 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5042 ac_cv_prog_ac_ct_AR="$ac_prog"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5053 if test -n "$ac_ct_AR"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5055 $as_echo "$ac_ct_AR" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5062 test -n "$ac_ct_AR" && break
5065 if test "x$ac_ct_AR" = x; then
5068 case $cross_compiling:$ac_tool_warned in
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5072 ac_tool_warned=yes ;;
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5081 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5082 if ${am_cv_ar_interface+:} false; then :
5083 $as_echo_n "(cached) " >&6
5086 ac_cpp='$CPP $CPPFLAGS'
5087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5091 am_cv_ar_interface=ar
5092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5093 /* end confdefs.h. */
5094 int some_variable = 0;
5096 if ac_fn_c_try_compile "$LINENO"; then :
5097 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5098 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5099 (eval $am_ar_try) 2>&5
5101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5102 test $ac_status = 0; }
5103 if test "$ac_status" -eq 0; then
5104 am_cv_ar_interface=ar
5106 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5107 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5108 (eval $am_ar_try) 2>&5
5110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5111 test $ac_status = 0; }
5112 if test "$ac_status" -eq 0; then
5113 am_cv_ar_interface=lib
5115 am_cv_ar_interface=unknown
5118 rm -f conftest.lib libconftest.a
5121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5123 ac_cpp='$CPP $CPPFLAGS'
5124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5130 $as_echo "$am_cv_ar_interface" >&6; }
5132 case $am_cv_ar_interface in
5136 # Microsoft lib, so override with the ar-lib wrapper script.
5137 # FIXME: It is wrong to rewrite AR.
5138 # But if we don't then we get into trouble of one sort or another.
5139 # A longer-term fix would be to have automake use am__AR in this case,
5140 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5142 AR="$am_aux_dir/ar-lib $AR"
5145 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5154 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5159 macro_version='2.4.6'
5160 macro_revision='2.4.6'
5174 ltmain=$ac_aux_dir/ltmain.sh
5176 # Make sure we can run config.sub.
5177 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5178 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5181 $as_echo_n "checking build system type... " >&6; }
5182 if ${ac_cv_build+:} false; then :
5183 $as_echo_n "(cached) " >&6
5185 ac_build_alias=$build_alias
5186 test "x$ac_build_alias" = x &&
5187 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5188 test "x$ac_build_alias" = x &&
5189 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5190 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5191 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5195 $as_echo "$ac_cv_build" >&6; }
5196 case $ac_cv_build in
5198 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5201 ac_save_IFS=$IFS; IFS='-'
5207 # Remember, the first character of IFS is used to create $*,
5208 # except with old shells:
5211 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5215 $as_echo_n "checking host system type... " >&6; }
5216 if ${ac_cv_host+:} false; then :
5217 $as_echo_n "(cached) " >&6
5219 if test "x$host_alias" = x; then
5220 ac_cv_host=$ac_cv_build
5222 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5223 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5228 $as_echo "$ac_cv_host" >&6; }
5231 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5234 ac_save_IFS=$IFS; IFS='-'
5240 # Remember, the first character of IFS is used to create $*,
5241 # except with old shells:
5244 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5247 # Backslashify metacharacters that are still active within
5248 # double-quoted strings.
5249 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5251 # Same as above, but do not quote variable references.
5252 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5254 # Sed substitution to delay expansion of an escaped shell variable in a
5255 # double_quote_subst'ed string.
5256 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5258 # Sed substitution to delay expansion of an escaped single quote.
5259 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5261 # Sed substitution to avoid accidental globbing in evaled expressions
5262 no_glob_subst='s/\*/\\\*/g'
5264 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5265 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5266 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5269 $as_echo_n "checking how to print
strings...
" >&6; }
5270 # Test print first, because it will be a builtin if present.
5271 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5272 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5274 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5277 # Use this function as a fallback that always works.
5278 func_fallback_echo ()
5280 eval 'cat <<_LTECHO_EOF
5284 ECHO='func_fallback_echo'
5287 # func_echo_all arg...
5288 # Invoke $ECHO with all args, space-separated.
5295 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5296 $as_echo "printf" >&6; } ;;
5297 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5298 $as_echo "print
-r" >&6; } ;;
5299 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5300 $as_echo "cat" >&6; } ;;
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5317 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5318 if ${ac_cv_path_SED+:} false; then :
5319 $as_echo_n "(cached
) " >&6
5321 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5322 for ac_i in 1 2 3 4 5 6 7; do
5323 ac_script="$ac_script$as_nl$ac_script"
5325 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5326 { ac_script=; unset ac_script;}
5327 if test -z "$SED"; then
5328 ac_path_SED_found=false
5329 # Loop through the user's path and test for each of PROGNAME-LIST
5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 test -z "$as_dir" && as_dir=.
5335 for ac_prog in sed gsed; do
5336 for ac_exec_ext in '' $ac_executable_extensions; do
5337 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5338 as_fn_executable_p "$ac_path_SED" || continue
5339 # Check for GNU ac_path_SED and select it if it is found.
5340 # Check for GNU $ac_path_SED
5341 case `"$ac_path_SED" --version 2>&1` in
5343 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5346 $as_echo_n 0123456789 >"conftest.
in"
5349 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5350 mv "conftest.tmp
" "conftest.
in"
5351 cp "conftest.
in" "conftest.
nl"
5352 $as_echo '' >> "conftest.
nl"
5353 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5354 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5355 as_fn_arith $ac_count + 1 && ac_count=$as_val
5356 if test $ac_count -gt ${ac_path_SED_max-0}; then
5357 # Best one so far, save it but keep looking for a better one
5358 ac_cv_path_SED="$ac_path_SED"
5359 ac_path_SED_max=$ac_count
5361 # 10*(2^10) chars as input seems more than enough
5362 test $ac_count -gt 10 && break
5364 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5367 $ac_path_SED_found && break 3
5372 if test -z "$ac_cv_path_SED"; then
5373 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5381 $as_echo "$ac_cv_path_SED" >&6; }
5382 SED="$ac_cv_path_SED"
5385 test -z "$SED" && SED=sed
5386 Xsed="$SED -e 1s
/^X
//"
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5399 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5400 if ${ac_cv_path_GREP+:} false; then :
5401 $as_echo_n "(cached
) " >&6
5403 if test -z "$GREP"; then
5404 ac_path_GREP_found=false
5405 # Loop through the user's path and test for each of PROGNAME-LIST
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5407 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5410 test -z "$as_dir" && as_dir=.
5411 for ac_prog in grep ggrep; do
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5414 as_fn_executable_p "$ac_path_GREP" || continue
5415 # Check for GNU ac_path_GREP and select it if it is found.
5416 # Check for GNU $ac_path_GREP
5417 case `"$ac_path_GREP" --version 2>&1` in
5419 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5422 $as_echo_n 0123456789 >"conftest.
in"
5425 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5426 mv "conftest.tmp
" "conftest.
in"
5427 cp "conftest.
in" "conftest.
nl"
5428 $as_echo 'GREP' >> "conftest.
nl"
5429 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5430 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5431 as_fn_arith $ac_count + 1 && ac_count=$as_val
5432 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5433 # Best one so far, save it but keep looking for a better one
5434 ac_cv_path_GREP="$ac_path_GREP"
5435 ac_path_GREP_max=$ac_count
5437 # 10*(2^10) chars as input seems more than enough
5438 test $ac_count -gt 10 && break
5440 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5443 $ac_path_GREP_found && break 3
5448 if test -z "$ac_cv_path_GREP"; then
5449 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5452 ac_cv_path_GREP=$GREP
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5457 $as_echo "$ac_cv_path_GREP" >&6; }
5458 GREP="$ac_cv_path_GREP"
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5462 $as_echo_n "checking
for egrep...
" >&6; }
5463 if ${ac_cv_path_EGREP+:} false; then :
5464 $as_echo_n "(cached
) " >&6
5466 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5467 then ac_cv_path_EGREP="$GREP -E"
5469 if test -z "$EGREP"; then
5470 ac_path_EGREP_found=false
5471 # Loop through the user's path and test for each of PROGNAME-LIST
5472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5476 test -z "$as_dir" && as_dir=.
5477 for ac_prog in egrep; do
5478 for ac_exec_ext in '' $ac_executable_extensions; do
5479 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5480 as_fn_executable_p "$ac_path_EGREP" || continue
5481 # Check for GNU ac_path_EGREP and select it if it is found.
5482 # Check for GNU $ac_path_EGREP
5483 case `"$ac_path_EGREP" --version 2>&1` in
5485 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5488 $as_echo_n 0123456789 >"conftest.
in"
5491 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5492 mv "conftest.tmp
" "conftest.
in"
5493 cp "conftest.
in" "conftest.
nl"
5494 $as_echo 'EGREP' >> "conftest.
nl"
5495 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5496 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5497 as_fn_arith $ac_count + 1 && ac_count=$as_val
5498 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5499 # Best one so far, save it but keep looking for a better one
5500 ac_cv_path_EGREP="$ac_path_EGREP"
5501 ac_path_EGREP_max=$ac_count
5503 # 10*(2^10) chars as input seems more than enough
5504 test $ac_count -gt 10 && break
5506 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5509 $ac_path_EGREP_found && break 3
5514 if test -z "$ac_cv_path_EGREP"; then
5515 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5518 ac_cv_path_EGREP=$EGREP
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5524 $as_echo "$ac_cv_path_EGREP" >&6; }
5525 EGREP="$ac_cv_path_EGREP"
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5529 $as_echo_n "checking
for fgrep...
" >&6; }
5530 if ${ac_cv_path_FGREP+:} false; then :
5531 $as_echo_n "(cached
) " >&6
5533 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5534 then ac_cv_path_FGREP="$GREP -F"
5536 if test -z "$FGREP"; then
5537 ac_path_FGREP_found=false
5538 # Loop through the user's path and test for each of PROGNAME-LIST
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5543 test -z "$as_dir" && as_dir=.
5544 for ac_prog in fgrep; do
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5547 as_fn_executable_p "$ac_path_FGREP" || continue
5548 # Check for GNU ac_path_FGREP and select it if it is found.
5549 # Check for GNU $ac_path_FGREP
5550 case `"$ac_path_FGREP" --version 2>&1` in
5552 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5555 $as_echo_n 0123456789 >"conftest.
in"
5558 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5559 mv "conftest.tmp
" "conftest.
in"
5560 cp "conftest.
in" "conftest.
nl"
5561 $as_echo 'FGREP' >> "conftest.
nl"
5562 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5563 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5564 as_fn_arith $ac_count + 1 && ac_count=$as_val
5565 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5566 # Best one so far, save it but keep looking for a better one
5567 ac_cv_path_FGREP="$ac_path_FGREP"
5568 ac_path_FGREP_max=$ac_count
5570 # 10*(2^10) chars as input seems more than enough
5571 test $ac_count -gt 10 && break
5573 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5576 $ac_path_FGREP_found && break 3
5581 if test -z "$ac_cv_path_FGREP"; then
5582 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5585 ac_cv_path_FGREP=$FGREP
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5591 $as_echo "$ac_cv_path_FGREP" >&6; }
5592 FGREP="$ac_cv_path_FGREP"
5595 test -z "$GREP" && GREP=grep
5615 # Check whether --with-gnu-ld was given.
5616 if test "${with_gnu_ld+set}" = set; then :
5617 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5623 if test yes = "$GCC"; then
5624 # Check if gcc -print-prog-name=ld gives a path.
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5626 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5629 # gcc leaves a trailing carriage return, which upsets mingw
5630 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5632 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5635 # Accept absolute paths.
5637 re_direlt='/[^/][^/]*/\.\./'
5638 # Canonicalize the pathname of ld
5639 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5640 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5641 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5643 test -z "$LD" && LD=$ac_prog
5646 # If it fails, then pretend we aren't using GCC.
5650 # If it is relative, then search for the first ld in PATH.
5654 elif test yes = "$with_gnu_ld"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5656 $as_echo_n "checking
for GNU ld...
" >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5659 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5661 if ${lt_cv_path_LD+:} false; then :
5662 $as_echo_n "(cached
) " >&6
5664 if test -z "$LD"; then
5665 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5666 for ac_dir in $PATH; do
5668 test -z "$ac_dir" && ac_dir=.
5669 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5670 lt_cv_path_LD=$ac_dir/$ac_prog
5671 # Check to see if the program is GNU ld. I'd rather use --version,
5672 # but apparently some variants of GNU ld only accept -v.
5673 # Break only if it was the GNU/non-GNU ld that we prefer.
5674 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5675 *GNU* | *'with BFD'*)
5676 test no != "$with_gnu_ld" && break
5679 test yes != "$with_gnu_ld" && break
5686 lt_cv_path_LD=$LD # Let the user override the test with a path.
5691 if test -n "$LD"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5693 $as_echo "$LD" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5696 $as_echo "no
" >&6; }
5698 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5700 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5701 if ${lt_cv_prog_gnu_ld+:} false; then :
5702 $as_echo_n "(cached
) " >&6
5704 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5705 case `$LD -v 2>&1 </dev/null` in
5706 *GNU* | *'with BFD'*)
5707 lt_cv_prog_gnu_ld=yes
5710 lt_cv_prog_gnu_ld=no
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5715 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5716 with_gnu_ld=$lt_cv_prog_gnu_ld
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5727 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5728 if ${lt_cv_path_NM+:} false; then :
5729 $as_echo_n "(cached
) " >&6
5731 if test -n "$NM"; then
5732 # Let the user override the test.
5735 lt_nm_to_check=${ac_tool_prefix}nm
5736 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5737 lt_nm_to_check="$lt_nm_to_check nm
"
5739 for lt_tmp_nm in $lt_nm_to_check; do
5740 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5741 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5743 test -z "$ac_dir" && ac_dir=.
5744 tmp_nm=$ac_dir/$lt_tmp_nm
5745 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5746 # Check to see if the nm accepts a BSD-compat flag.
5747 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5748 # nm: unknown option "B
" ignored
5749 # Tru64's nm complains that /dev/null is an invalid object file
5750 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5752 mingw*) lt_bad_file=conftest.nm/nofile ;;
5753 *) lt_bad_file=/dev/null ;;
5755 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5756 *$lt_bad_file* | *'Invalid file or object type'*)
5757 lt_cv_path_NM="$tmp_nm -B"
5761 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5763 lt_cv_path_NM="$tmp_nm -p"
5767 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5768 continue # so that we can try to find one that supports BSD flags
5777 : ${lt_cv_path_NM=no}
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5781 $as_echo "$lt_cv_path_NM" >&6; }
5782 if test no != "$lt_cv_path_NM"; then
5785 # Didn't find any BSD compatible name lister, look for dumpbin.
5786 if test -n "$DUMPBIN"; then :
5787 # Let the user override the test.
5789 if test -n "$ac_tool_prefix"; then
5790 for ac_prog in dumpbin "link
-dump"
5792 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5793 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5795 $as_echo_n "checking
for $ac_word...
" >&6; }
5796 if ${ac_cv_prog_DUMPBIN+:} false; then :
5797 $as_echo_n "(cached
) " >&6
5799 if test -n "$DUMPBIN"; then
5800 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5819 DUMPBIN=$ac_cv_prog_DUMPBIN
5820 if test -n "$DUMPBIN"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5822 $as_echo "$DUMPBIN" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5825 $as_echo "no
" >&6; }
5829 test -n "$DUMPBIN" && break
5832 if test -z "$DUMPBIN"; then
5833 ac_ct_DUMPBIN=$DUMPBIN
5834 for ac_prog in dumpbin "link
-dump"
5836 # Extract the first word of "$ac_prog", so it can be a program name with args.
5837 set dummy $ac_prog; ac_word=$2
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5839 $as_echo_n "checking
for $ac_word...
" >&6; }
5840 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5841 $as_echo_n "(cached
) " >&6
5843 if test -n "$ac_ct_DUMPBIN"; then
5844 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5863 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5864 if test -n "$ac_ct_DUMPBIN"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5866 $as_echo "$ac_ct_DUMPBIN" >&6; }
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5869 $as_echo "no
" >&6; }
5873 test -n "$ac_ct_DUMPBIN" && break
5876 if test "x
$ac_ct_DUMPBIN" = x; then
5879 case $cross_compiling:$ac_tool_warned in
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5882 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5883 ac_tool_warned=yes ;;
5885 DUMPBIN=$ac_ct_DUMPBIN
5889 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5891 DUMPBIN="$DUMPBIN -symbols -headers"
5899 if test : != "$DUMPBIN"; then
5903 test -z "$NM" && NM=nm
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5911 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5912 if ${lt_cv_nm_interface+:} false; then :
5913 $as_echo_n "(cached
) " >&6
5915 lt_cv_nm_interface="BSD nm
"
5916 echo "int some_variable
= 0;" > conftest.$ac_ext
5917 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5918 (eval "$ac_compile" 2>conftest.err)
5919 cat conftest.err >&5
5920 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5921 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5922 cat conftest.err >&5
5923 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5924 cat conftest.out >&5
5925 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5926 lt_cv_nm_interface="MS dumpbin
"
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5931 $as_echo "$lt_cv_nm_interface" >&6; }
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5934 $as_echo_n "checking whether
ln -s works...
" >&6; }
5936 if test "$LN_S" = "ln -s"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5938 $as_echo "yes" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5941 $as_echo "no
, using
$LN_S" >&6; }
5944 # find the maximum length of command line arguments
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5946 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5947 if ${lt_cv_sys_max_cmd_len+:} false; then :
5948 $as_echo_n "(cached
) " >&6
5955 # On DJGPP, this test can blow up pretty badly due to problems in libc
5956 # (any single argument exceeding 2000 bytes causes a buffer overrun
5957 # during glob expansion). Even if it were fixed, the result of this
5958 # check would be larger than it should be.
5959 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5963 # Under GNU Hurd, this test is not required because there is
5964 # no limit to the length of command line arguments.
5965 # Libtool will interpret -1 as no limit whatsoever
5966 lt_cv_sys_max_cmd_len=-1;
5969 cygwin* | mingw* | cegcc*)
5970 # On Win9x/ME, this test blows up -- it succeeds, but takes
5971 # about 5 minutes as the teststring grows exponentially.
5972 # Worse, since 9x/ME are not pre-emptively multitasking,
5973 # you end up with a "frozen
" computer, even though with patience
5974 # the test eventually succeeds (with a max line length of 256k).
5975 # Instead, let's just punt: use the minimum linelength reported by
5976 # all of the supported platforms: 8192 (on NT/2K/XP).
5977 lt_cv_sys_max_cmd_len=8192;
5981 # On MiNT this can take a long time and run out of memory.
5982 lt_cv_sys_max_cmd_len=8192;
5986 # On AmigaOS with pdksh, this test takes hours, literally.
5987 # So we just punt and use a minimum line length of 8192.
5988 lt_cv_sys_max_cmd_len=8192;
5991 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5992 # This has been around since 386BSD, at least. Likely further.
5993 if test -x /sbin/sysctl; then
5994 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5995 elif test -x /usr/sbin/sysctl; then
5996 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5998 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6000 # And add a safety zone
6001 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6002 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6006 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6007 lt_cv_sys_max_cmd_len=196608
6011 # The test takes a long time on OS/2.
6012 lt_cv_sys_max_cmd_len=8192
6016 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6017 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6018 # nice to cause kernel panics so lets avoid the loop below.
6019 # First set a reasonable default.
6020 lt_cv_sys_max_cmd_len=16384
6022 if test -x /sbin/sysconfig; then
6023 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6024 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6029 lt_cv_sys_max_cmd_len=102400
6031 sysv5* | sco5v6* | sysv4.2uw2*)
6032 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6033 if test -n "$kargmax"; then
6034 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6036 lt_cv_sys_max_cmd_len=32768
6040 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6041 if test -n "$lt_cv_sys_max_cmd_len" && \
6042 test undefined != "$lt_cv_sys_max_cmd_len"; then
6043 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6046 # Make teststring a little bigger before we do anything with it.
6047 # a 1K string should be a reasonable start.
6048 for i in 1 2 3 4 5 6 7 8; do
6049 teststring=$teststring$teststring
6051 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6052 # If test is not a shell built-in, we'll probably end up computing a
6053 # maximum length that is only half of the actual maximum length, but
6055 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6056 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6057 test 17 != "$i" # 1/2 MB should be enough
6060 teststring=$teststring$teststring
6062 # Only check the string length outside the loop.
6063 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6065 # Add a significant safety factor because C++ compilers can tack on
6066 # massive amounts of additional arguments before passing them to the
6067 # linker. It appears as though 1/2 is a usable value.
6068 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6075 if test -n "$lt_cv_sys_max_cmd_len"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6077 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6080 $as_echo "none
" >&6; }
6082 max_cmd_len=$lt_cv_sys_max_cmd_len
6093 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6103 # test EBCDIC or ASCII
6104 case `echo X|tr X '\101'` in
6105 A) # ASCII based system
6106 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6107 lt_SP2NL='tr \040 \012'
6108 lt_NL2SP='tr \015\012 \040\040'
6110 *) # EBCDIC based system
6111 lt_SP2NL='tr \100 \n'
6112 lt_NL2SP='tr \r\n \100\100'
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6125 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6126 if ${lt_cv_to_host_file_cmd+:} false; then :
6127 $as_echo_n "(cached
) " >&6
6132 *-*-mingw* ) # actually msys
6133 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6136 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6138 * ) # otherwise, assume *nix
6139 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6145 *-*-mingw* ) # actually msys
6146 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6149 lt_cv_to_host_file_cmd=func_convert_file_noop
6151 * ) # otherwise, assume *nix
6152 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6156 * ) # unhandled hosts (and "normal
" native builds)
6157 lt_cv_to_host_file_cmd=func_convert_file_noop
6163 to_host_file_cmd=$lt_cv_to_host_file_cmd
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6165 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6172 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6173 if ${lt_cv_to_tool_file_cmd+:} false; then :
6174 $as_echo_n "(cached
) " >&6
6176 #assume ordinary cross tools, or native build.
6177 lt_cv_to_tool_file_cmd=func_convert_file_noop
6181 *-*-mingw* ) # actually msys
6182 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6190 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6192 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6199 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6200 if ${lt_cv_ld_reload_flag+:} false; then :
6201 $as_echo_n "(cached
) " >&6
6203 lt_cv_ld_reload_flag='-r'
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6206 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6207 reload_flag=$lt_cv_ld_reload_flag
6208 case $reload_flag in
6210 *) reload_flag=" $reload_flag" ;;
6212 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6214 cygwin* | mingw* | pw32* | cegcc*)
6215 if test yes != "$GCC"; then
6220 if test yes = "$GCC"; then
6221 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6223 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6236 if test -n "$ac_tool_prefix"; then
6237 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6238 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6240 $as_echo_n "checking
for $ac_word...
" >&6; }
6241 if ${ac_cv_prog_OBJDUMP+:} false; then :
6242 $as_echo_n "(cached
) " >&6
6244 if test -n "$OBJDUMP"; then
6245 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6254 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6264 OBJDUMP=$ac_cv_prog_OBJDUMP
6265 if test -n "$OBJDUMP"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6267 $as_echo "$OBJDUMP" >&6; }
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6270 $as_echo "no
" >&6; }
6275 if test -z "$ac_cv_prog_OBJDUMP"; then
6276 ac_ct_OBJDUMP=$OBJDUMP
6277 # Extract the first word of "objdump
", so it can be a program name with args.
6278 set dummy objdump; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6280 $as_echo_n "checking
for $ac_word...
" >&6; }
6281 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6282 $as_echo_n "(cached
) " >&6
6284 if test -n "$ac_ct_OBJDUMP"; then
6285 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6294 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6304 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6305 if test -n "$ac_ct_OBJDUMP"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6307 $as_echo "$ac_ct_OBJDUMP" >&6; }
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6310 $as_echo "no
" >&6; }
6313 if test "x
$ac_ct_OBJDUMP" = x; then
6316 case $cross_compiling:$ac_tool_warned in
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6319 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6320 ac_tool_warned=yes ;;
6322 OBJDUMP=$ac_ct_OBJDUMP
6325 OBJDUMP="$ac_cv_prog_OBJDUMP"
6328 test -z "$OBJDUMP" && OBJDUMP=objdump
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6339 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6340 if ${lt_cv_deplibs_check_method+:} false; then :
6341 $as_echo_n "(cached
) " >&6
6343 lt_cv_file_magic_cmd='$MAGIC_CMD'
6344 lt_cv_file_magic_test_file=
6345 lt_cv_deplibs_check_method='unknown'
6346 # Need to set the preceding variable on all platforms that support
6347 # interlibrary dependencies.
6348 # 'none' -- dependencies not supported.
6349 # 'unknown' -- same as none, but documents that we really don't know.
6350 # 'pass_all' -- all dependencies passed with no checks.
6351 # 'test_compile' -- check by making test program.
6352 # 'file_magic [[regex]]' -- check by looking for files in library path
6353 # that responds to the $file_magic_cmd with a given extended regex.
6354 # If you have 'file' or equivalent on your system and you're not sure
6355 # whether 'pass_all' will *always* work, you probably want this one.
6359 lt_cv_deplibs_check_method=pass_all
6363 lt_cv_deplibs_check_method=pass_all
6367 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6368 lt_cv_file_magic_cmd='/usr/bin/file -L'
6369 lt_cv_file_magic_test_file=/shlib/libc.so
6373 # func_win32_libid is a shell function defined in ltmain.sh
6374 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6375 lt_cv_file_magic_cmd='func_win32_libid'
6379 # Base MSYS/MinGW do not provide the 'file' command needed by
6380 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6381 # unless we find 'file', for example because we are cross-compiling.
6382 if ( file / ) >/dev/null 2>&1; then
6383 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6384 lt_cv_file_magic_cmd='func_win32_libid'
6386 # Keep this pattern in sync with the one in func_win32_libid.
6387 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6388 lt_cv_file_magic_cmd='$OBJDUMP -f'
6393 # use the weaker test based on 'objdump'. See mingw*.
6394 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6395 lt_cv_file_magic_cmd='$OBJDUMP -f'
6398 darwin* | rhapsody*)
6399 lt_cv_deplibs_check_method=pass_all
6402 freebsd* | dragonfly*)
6403 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6406 # Not sure whether the presence of OpenBSD here was a mistake.
6407 # Let's accept both of them until this is cleared up.
6408 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6409 lt_cv_file_magic_cmd=/usr/bin/file
6410 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6414 lt_cv_deplibs_check_method=pass_all
6419 lt_cv_deplibs_check_method=pass_all
6422 hpux10.20* | hpux11*)
6423 lt_cv_file_magic_cmd=/usr/bin/file
6426 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6427 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6430 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]'
6431 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6434 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6435 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6441 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6445 irix5* | irix6* | nonstopux*)
6447 *-32|*"-32 ") libmagic=32-bit;;
6448 *-n32|*"-n32 ") libmagic=N32;;
6449 *-64|*"-64 ") libmagic=64-bit;;
6450 *) libmagic=never-match;;
6452 lt_cv_deplibs_check_method=pass_all
6455 # This must be glibc/ELF.
6456 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6457 lt_cv_deplibs_check_method=pass_all
6461 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6462 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6464 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6469 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6470 lt_cv_file_magic_cmd=/usr/bin/file
6471 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6475 lt_cv_deplibs_check_method=pass_all
6479 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6480 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6482 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6486 osf3* | osf4* | osf5*)
6487 lt_cv_deplibs_check_method=pass_all
6491 lt_cv_deplibs_check_method=pass_all
6495 lt_cv_deplibs_check_method=pass_all
6498 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6499 lt_cv_deplibs_check_method=pass_all
6503 case $host_vendor in
6505 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]'
6506 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6509 lt_cv_deplibs_check_method=pass_all
6512 lt_cv_file_magic_cmd='/bin/file'
6513 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6516 lt_cv_file_magic_cmd='/bin/file'
6517 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6518 lt_cv_file_magic_test_file=/lib/libc.so
6521 lt_cv_deplibs_check_method=pass_all
6524 lt_cv_deplibs_check_method=pass_all
6530 lt_cv_deplibs_check_method=pass_all
6533 lt_cv_deplibs_check_method=pass_all
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6539 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6543 if test "$build" = "$host"; then
6546 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6549 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6555 file_magic_cmd=$lt_cv_file_magic_cmd
6556 deplibs_check_method=$lt_cv_deplibs_check_method
6557 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6580 if test -n "$ac_tool_prefix"; then
6581 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6582 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6584 $as_echo_n "checking
for $ac_word...
" >&6; }
6585 if ${ac_cv_prog_DLLTOOL+:} false; then :
6586 $as_echo_n "(cached
) " >&6
6588 if test -n "$DLLTOOL"; then
6589 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 test -z "$as_dir" && as_dir=.
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6598 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6608 DLLTOOL=$ac_cv_prog_DLLTOOL
6609 if test -n "$DLLTOOL"; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6611 $as_echo "$DLLTOOL" >&6; }
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6614 $as_echo "no
" >&6; }
6619 if test -z "$ac_cv_prog_DLLTOOL"; then
6620 ac_ct_DLLTOOL=$DLLTOOL
6621 # Extract the first word of "dlltool
", so it can be a program name with args.
6622 set dummy dlltool; ac_word=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6624 $as_echo_n "checking
for $ac_word...
" >&6; }
6625 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6626 $as_echo_n "(cached
) " >&6
6628 if test -n "$ac_ct_DLLTOOL"; then
6629 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6638 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6648 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6649 if test -n "$ac_ct_DLLTOOL"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6651 $as_echo "$ac_ct_DLLTOOL" >&6; }
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6654 $as_echo "no
" >&6; }
6657 if test "x
$ac_ct_DLLTOOL" = x; then
6660 case $cross_compiling:$ac_tool_warned in
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6663 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6664 ac_tool_warned=yes ;;
6666 DLLTOOL=$ac_ct_DLLTOOL
6669 DLLTOOL="$ac_cv_prog_DLLTOOL"
6672 test -z "$DLLTOOL" && DLLTOOL=dlltool
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6684 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6685 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6686 $as_echo_n "(cached
) " >&6
6688 lt_cv_sharedlib_from_linklib_cmd='unknown'
6691 cygwin* | mingw* | pw32* | cegcc*)
6692 # two different shell functions defined in ltmain.sh;
6693 # decide which one to use based on capabilities of $DLLTOOL
6694 case `$DLLTOOL --help 2>&1` in
6695 *--identify-strict*)
6696 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6699 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6704 # fallback: assume linklib IS sharedlib
6705 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6711 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6712 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6713 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6721 if test -n "$ac_tool_prefix"; then
6724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6727 $as_echo_n "checking
for $ac_word...
" >&6; }
6728 if ${ac_cv_prog_AR+:} false; then :
6729 $as_echo_n "(cached
) " >&6
6731 if test -n "$AR"; then
6732 ac_cv_prog_AR="$AR" # Let the user override the test.
6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 test -z "$as_dir" && as_dir=.
6739 for ac_exec_ext in '' $ac_executable_extensions; do
6740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6741 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6742 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6752 if test -n "$AR"; then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6754 $as_echo "$AR" >&6; }
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6757 $as_echo "no
" >&6; }
6761 test -n "$AR" && break
6764 if test -z "$AR"; then
6768 # Extract the first word of "$ac_prog", so it can be a program name with args.
6769 set dummy $ac_prog; ac_word=$2
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6771 $as_echo_n "checking
for $ac_word...
" >&6; }
6772 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6773 $as_echo_n "(cached
) " >&6
6775 if test -n "$ac_ct_AR"; then
6776 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 test -z "$as_dir" && as_dir=.
6783 for ac_exec_ext in '' $ac_executable_extensions; do
6784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6785 ac_cv_prog_ac_ct_AR="$ac_prog"
6786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6795 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6796 if test -n "$ac_ct_AR"; then
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6798 $as_echo "$ac_ct_AR" >&6; }
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6801 $as_echo "no
" >&6; }
6805 test -n "$ac_ct_AR" && break
6808 if test "x
$ac_ct_AR" = x; then
6811 case $cross_compiling:$ac_tool_warned in
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6814 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6815 ac_tool_warned=yes ;;
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6835 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6836 if ${lt_cv_ar_at_file+:} false; then :
6837 $as_echo_n "(cached
) " >&6
6840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6841 /* end confdefs.h. */
6851 if ac_fn_c_try_compile "$LINENO"; then :
6852 echo conftest.$ac_objext > conftest.lst
6853 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6854 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6855 (eval $lt_ar_try) 2>&5
6857 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6858 test $ac_status = 0; }
6859 if test 0 -eq "$ac_status"; then
6860 # Ensure the archiver fails upon bogus file names.
6861 rm -f conftest.$ac_objext libconftest.a
6862 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6863 (eval $lt_ar_try) 2>&5
6865 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6866 test $ac_status = 0; }
6867 if test 0 -ne "$ac_status"; then
6871 rm -f conftest.* libconftest.a
6874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6878 $as_echo "$lt_cv_ar_at_file" >&6; }
6880 if test no = "$lt_cv_ar_at_file"; then
6883 archiver_list_spec=$lt_cv_ar_at_file
6892 if test -n "$ac_tool_prefix"; then
6893 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6894 set dummy ${ac_tool_prefix}strip; ac_word=$2
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6896 $as_echo_n "checking
for $ac_word...
" >&6; }
6897 if ${ac_cv_prog_STRIP+:} false; then :
6898 $as_echo_n "(cached
) " >&6
6900 if test -n "$STRIP"; then
6901 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907 test -z "$as_dir" && as_dir=.
6908 for ac_exec_ext in '' $ac_executable_extensions; do
6909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6910 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6920 STRIP=$ac_cv_prog_STRIP
6921 if test -n "$STRIP"; then
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6923 $as_echo "$STRIP" >&6; }
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6926 $as_echo "no
" >&6; }
6931 if test -z "$ac_cv_prog_STRIP"; then
6933 # Extract the first word of "strip
", so it can be a program name with args.
6934 set dummy strip; ac_word=$2
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6936 $as_echo_n "checking
for $ac_word...
" >&6; }
6937 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6938 $as_echo_n "(cached
) " >&6
6940 if test -n "$ac_ct_STRIP"; then
6941 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6947 test -z "$as_dir" && as_dir=.
6948 for ac_exec_ext in '' $ac_executable_extensions; do
6949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6950 ac_cv_prog_ac_ct_STRIP="strip
"
6951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6960 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6961 if test -n "$ac_ct_STRIP"; then
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6963 $as_echo "$ac_ct_STRIP" >&6; }
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6966 $as_echo "no
" >&6; }
6969 if test "x
$ac_ct_STRIP" = x; then
6972 case $cross_compiling:$ac_tool_warned in
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6975 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6976 ac_tool_warned=yes ;;
6981 STRIP="$ac_cv_prog_STRIP"
6984 test -z "$STRIP" && STRIP=:
6991 if test -n "$ac_tool_prefix"; then
6992 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6993 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6995 $as_echo_n "checking
for $ac_word...
" >&6; }
6996 if ${ac_cv_prog_RANLIB+:} false; then :
6997 $as_echo_n "(cached
) " >&6
6999 if test -n "$RANLIB"; then
7000 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 test -z "$as_dir" && as_dir=.
7007 for ac_exec_ext in '' $ac_executable_extensions; do
7008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7019 RANLIB=$ac_cv_prog_RANLIB
7020 if test -n "$RANLIB"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7022 $as_echo "$RANLIB" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7025 $as_echo "no
" >&6; }
7030 if test -z "$ac_cv_prog_RANLIB"; then
7031 ac_ct_RANLIB=$RANLIB
7032 # Extract the first word of "ranlib
", so it can be a program name with args.
7033 set dummy ranlib; ac_word=$2
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7035 $as_echo_n "checking
for $ac_word...
" >&6; }
7036 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7037 $as_echo_n "(cached
) " >&6
7039 if test -n "$ac_ct_RANLIB"; then
7040 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7046 test -z "$as_dir" && as_dir=.
7047 for ac_exec_ext in '' $ac_executable_extensions; do
7048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7049 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7059 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7060 if test -n "$ac_ct_RANLIB"; then
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7062 $as_echo "$ac_ct_RANLIB" >&6; }
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7065 $as_echo "no
" >&6; }
7068 if test "x
$ac_ct_RANLIB" = x; then
7071 case $cross_compiling:$ac_tool_warned in
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7074 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7075 ac_tool_warned=yes ;;
7077 RANLIB=$ac_ct_RANLIB
7080 RANLIB="$ac_cv_prog_RANLIB"
7083 test -z "$RANLIB" && RANLIB=:
7090 # Determine commands to create old-style static archives.
7091 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7092 old_postinstall_cmds='chmod 644 $oldlib'
7093 old_postuninstall_cmds=
7095 if test -n "$RANLIB"; then
7098 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7101 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7104 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7109 lock_old_archive_extraction=yes ;;
7111 lock_old_archive_extraction=no ;;
7152 # If no C compiler was specified, use CC.
7155 # If no C compiler flags were specified, use CFLAGS.
7156 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7158 # Allow CC to be a program name with arguments.
7162 # Check for command to grab the raw symbol name followed by C symbol from nm.
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7164 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7165 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7166 $as_echo_n "(cached
) " >&6
7169 # These are sane defaults that work on at least a few old systems.
7170 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7172 # Character class describing NM global symbol codes.
7173 symcode='[BCDEGRST]'
7175 # Regexp to match symbols that can be accessed directly from C.
7176 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7178 # Define system-specific variables.
7183 cygwin* | mingw* | pw32* | cegcc*)
7184 symcode='[ABCDGISTW]'
7187 if test ia64 = "$host_cpu"; then
7188 symcode='[ABCDEGRST]'
7192 symcode='[BCDEGRST]'
7195 symcode='[BCDEGQRST]'
7206 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7214 # If we're using GNU nm, then use its standard symbol codes.
7215 case `$NM -V 2>&1` in
7216 *GNU* | *'with BFD'*)
7217 symcode='[ABCDGIRSTW]' ;;
7220 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7221 # Gets list of data symbols to import.
7222 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7223 # Adjust the below global symbol transforms to fixup imported variables.
7224 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7225 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7226 lt_c_name_lib_hook="\
7227 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7228 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7230 # Disable hooks by default.
7231 lt_cv_sys_global_symbol_to_import=
7237 # Transform an extracted symbol line into a proper C declaration.
7238 # Some systems (esp. on ia64) link data and code symbols differently,
7239 # so use this general approach.
7240 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7242 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7243 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7245 # Transform an extracted symbol line into symbol name and symbol address
7246 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7248 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7249 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7251 # Transform an extracted symbol line into symbol name with lib prefix and
7253 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7254 $lt_c_name_lib_hook\
7255 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7256 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7257 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7259 # Handle CRLF in mingw tool chain
7263 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7267 # Try without a prefix underscore, then with it.
7268 for ac_symprfx in "" "_
"; do
7270 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7271 symxfrm="\\1 $ac_symprfx\\2 \\2"
7273 # Write the raw and C identifiers.
7274 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7275 # Fake it for dumpbin and say T for any non-static function,
7276 # D for any global variable and I for any imported variable.
7277 # Also find C++ and __fastcall symbols from MSVC++,
7278 # which start with @ or ?.
7279 lt_cv_sys_global_symbol_pipe="$AWK '"\
7280 " {last_section=section; section=\$ 3};"\
7281 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7282 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7283 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7284 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7285 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7286 " \$ 0!~/External *\|/{next};"\
7287 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7288 " {if(hide[section]) next};"\
7289 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7290 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7291 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7292 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7293 " ' prfx
=^
$ac_symprfx"
7295 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7297 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7299 # Check to see that the pipe works correctly.
7303 cat > conftest.$ac_ext <<_LT_EOF
7308 void nm_test_func(void);
7309 void nm_test_func(void){}
7313 int main(){nm_test_var='a';nm_test_func();return(0);}
7316 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7317 (eval $ac_compile) 2>&5
7319 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7320 test $ac_status = 0; }; then
7321 # Now try to grab the symbols.
7323 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7324 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7326 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7327 test $ac_status = 0; } && test -s "$nlist"; then
7328 # Try sorting and uniquifying the output.
7329 if sort "$nlist" | uniq > "$nlist"T; then
7330 mv -f "$nlist"T "$nlist"
7335 # Make sure that we snagged all the symbols we need.
7336 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7337 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7338 cat <<_LT_EOF > conftest.$ac_ext
7339 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7340 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7341 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7342 relocations are performed -- see ld's documentation on pseudo-relocs. */
7343 # define LT_DLSYM_CONST
7344 #elif defined __osf__
7345 /* This system does not cope well with relocations in const data. */
7346 # define LT_DLSYM_CONST
7348 # define LT_DLSYM_CONST const
7356 # Now generate the symbol file.
7357 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7359 cat <<_LT_EOF >> conftest.$ac_ext
7361 /* The mapping between symbol names and symbols. */
7362 LT_DLSYM_CONST struct {
7366 lt__PROGRAM__LTX_preloaded_symbols[] =
7368 { "@PROGRAM@
", (void *) 0 },
7370 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7371 cat <<\_LT_EOF >> conftest.$ac_ext
7375 /* This works around a problem in FreeBSD linker */
7376 #ifdef FREEBSD_WORKAROUND
7377 static const void *lt_preloaded_setup() {
7378 return lt__PROGRAM__LTX_preloaded_symbols;
7386 # Now try linking the two files.
7387 mv conftest.$ac_objext conftstm.$ac_objext
7388 lt_globsym_save_LIBS=$LIBS
7389 lt_globsym_save_CFLAGS=$CFLAGS
7390 LIBS=conftstm.$ac_objext
7391 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7392 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7393 (eval $ac_link) 2>&5
7395 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7396 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7399 LIBS=$lt_globsym_save_LIBS
7400 CFLAGS=$lt_globsym_save_CFLAGS
7402 echo "cannot
find nm_test_func
in $nlist" >&5
7405 echo "cannot
find nm_test_var
in $nlist" >&5
7408 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7411 echo "$progname: failed program was
:" >&5
7412 cat conftest.$ac_ext >&5
7414 rm -rf conftest* conftst*
7416 # Do not use the global_symbol_pipe unless it works.
7417 if test yes = "$pipe_works"; then
7420 lt_cv_sys_global_symbol_pipe=
7426 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7427 lt_cv_sys_global_symbol_to_cdecl=
7429 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7431 $as_echo "failed
" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7434 $as_echo "ok
" >&6; }
7437 # Response file support.
7438 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7439 nm_file_list_spec='@'
7440 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7441 nm_file_list_spec='@'
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7481 $as_echo_n "checking
for sysroot...
" >&6; }
7483 # Check whether --with-sysroot was given.
7484 if test "${with_sysroot+set}" = set; then :
7485 withval=$with_sysroot;
7492 case $with_sysroot in #(
7494 if test yes = "$GCC"; then
7495 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7499 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7505 $as_echo "$with_sysroot" >&6; }
7506 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7511 $as_echo "${lt_sysroot:-no}" >&6; }
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7518 $as_echo_n "checking
for a working
dd...
" >&6; }
7519 if ${ac_cv_path_lt_DD+:} false; then :
7520 $as_echo_n "(cached
) " >&6
7522 printf 0123456789abcdef0123456789abcdef >conftest.i
7523 cat conftest.i conftest.i >conftest2.i
7525 if test -z "$lt_DD"; then
7526 ac_path_lt_DD_found=false
7527 # Loop through the user's path and test for each of PROGNAME-LIST
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7532 test -z "$as_dir" && as_dir=.
7533 for ac_prog in dd; do
7534 for ac_exec_ext in '' $ac_executable_extensions; do
7535 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7536 as_fn_executable_p "$ac_path_lt_DD" || continue
7537 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7538 cmp -s conftest.i conftest.out \
7539 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7541 $ac_path_lt_DD_found && break 3
7546 if test -z "$ac_cv_path_lt_DD"; then
7550 ac_cv_path_lt_DD=$lt_DD
7553 rm -f conftest.i conftest2.i conftest.out
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7556 $as_echo "$ac_cv_path_lt_DD" >&6; }
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7560 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7561 if ${lt_cv_truncate_bin+:} false; then :
7562 $as_echo_n "(cached
) " >&6
7564 printf 0123456789abcdef0123456789abcdef >conftest.i
7565 cat conftest.i conftest.i >conftest2.i
7567 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7568 cmp -s conftest.i conftest.out \
7569 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7571 rm -f conftest.i conftest2.i conftest.out
7572 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7575 $as_echo "$lt_cv_truncate_bin" >&6; }
7583 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7586 for cc_temp in $*""; do
7588 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7589 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7594 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7597 # Check whether --enable-libtool-lock was given.
7598 if test "${enable_libtool_lock+set}" = set; then :
7599 enableval=$enable_libtool_lock;
7602 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7604 # Some flags need to be propagated to the compiler or linker for good
7608 # Find out what ABI is being produced by ac_compile, and set mode
7609 # options accordingly.
7610 echo 'int i;' > conftest.$ac_ext
7611 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7612 (eval $ac_compile) 2>&5
7614 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7615 test $ac_status = 0; }; then
7616 case `/usr/bin/file conftest.$ac_objext` in
7628 # Find out what ABI is being produced by ac_compile, and set linker
7629 # options accordingly.
7630 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7631 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7632 (eval $ac_compile) 2>&5
7634 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7635 test $ac_status = 0; }; then
7636 if test yes = "$lt_cv_prog_gnu_ld"; then
7637 case `/usr/bin/file conftest.$ac_objext` in
7639 LD="${LD-ld} -melf32bsmip"
7642 LD="${LD-ld} -melf32bmipn32"
7645 LD="${LD-ld} -melf64bmip"
7649 case `/usr/bin/file conftest.$ac_objext` in
7666 # Find out what ABI is being produced by ac_compile, and set linker
7667 # options accordingly.
7668 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7669 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7670 (eval $ac_compile) 2>&5
7672 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7673 test $ac_status = 0; }; then
7675 case `/usr/bin/file conftest.$ac_objext` in
7683 case `/usr/bin/file conftest.$ac_objext` in
7685 emul="${emul}btsmip
"
7688 emul="${emul}ltsmip
"
7691 case `/usr/bin/file conftest.$ac_objext` in
7696 LD="${LD-ld} -m $emul"
7701 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7702 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7703 # Find out what ABI is being produced by ac_compile, and set linker
7704 # options accordingly. Note that the listed cases only cover the
7705 # situations where additional linker options are needed (such as when
7706 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7707 # vice versa); the common cases where no linker options are needed do
7708 # not appear in the list.
7709 echo 'int i;' > conftest.$ac_ext
7710 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7711 (eval $ac_compile) 2>&5
7713 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7714 test $ac_status = 0; }; then
7715 case `/usr/bin/file conftest.o` in
7718 x86_64-*kfreebsd*-gnu)
7719 LD="${LD-ld} -m elf_i386_fbsd
"
7722 case `/usr/bin/file conftest.o` in
7724 LD="${LD-ld} -m elf32_x86_64
"
7727 LD="${LD-ld} -m elf_i386
"
7731 powerpc64le-*linux*)
7732 LD="${LD-ld} -m elf32lppclinux
"
7735 LD="${LD-ld} -m elf32ppclinux
"
7738 LD="${LD-ld} -m elf_s390
"
7741 LD="${LD-ld} -m elf32_sparc
"
7747 x86_64-*kfreebsd*-gnu)
7748 LD="${LD-ld} -m elf_x86_64_fbsd
"
7751 LD="${LD-ld} -m elf_x86_64
"
7754 LD="${LD-ld} -m elf64lppc
"
7757 LD="${LD-ld} -m elf64ppc
"
7759 s390*-*linux*|s390*-*tpf*)
7760 LD="${LD-ld} -m elf64_s390
"
7763 LD="${LD-ld} -m elf64_sparc
"
7773 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7775 CFLAGS="$CFLAGS -belf"
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7777 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7778 if ${lt_cv_cc_needs_belf+:} false; then :
7779 $as_echo_n "(cached
) " >&6
7782 ac_cpp='$CPP $CPPFLAGS'
7783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7788 /* end confdefs.h. */
7798 if ac_fn_c_try_link "$LINENO"; then :
7799 lt_cv_cc_needs_belf=yes
7801 lt_cv_cc_needs_belf=no
7803 rm -f core conftest.err conftest.$ac_objext \
7804 conftest$ac_exeext conftest.$ac_ext
7806 ac_cpp='$CPP $CPPFLAGS'
7807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7813 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7814 if test yes != "$lt_cv_cc_needs_belf"; then
7815 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7820 # Find out what ABI is being produced by ac_compile, and set linker
7821 # options accordingly.
7822 echo 'int i;' > conftest.$ac_ext
7823 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7824 (eval $ac_compile) 2>&5
7826 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7827 test $ac_status = 0; }; then
7828 case `/usr/bin/file conftest.o` in
7830 case $lt_cv_prog_gnu_ld in
7833 i?86-*-solaris*|x86_64-*-solaris*)
7834 LD="${LD-ld} -m elf_x86_64
"
7837 LD="${LD-ld} -m elf64_sparc
"
7840 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7841 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7846 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7858 need_locks=$enable_libtool_lock
7860 if test -n "$ac_tool_prefix"; then
7861 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7862 set dummy ${ac_tool_prefix}mt; ac_word=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7864 $as_echo_n "checking
for $ac_word...
" >&6; }
7865 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7866 $as_echo_n "(cached
) " >&6
7868 if test -n "$MANIFEST_TOOL"; then
7869 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 test -z "$as_dir" && as_dir=.
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7878 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7879 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7888 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7889 if test -n "$MANIFEST_TOOL"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7891 $as_echo "$MANIFEST_TOOL" >&6; }
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7894 $as_echo "no
" >&6; }
7899 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7900 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7901 # Extract the first word of "mt
", so it can be a program name with args.
7902 set dummy mt; ac_word=$2
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7904 $as_echo_n "checking
for $ac_word...
" >&6; }
7905 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7906 $as_echo_n "(cached
) " >&6
7908 if test -n "$ac_ct_MANIFEST_TOOL"; then
7909 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 test -z "$as_dir" && as_dir=.
7916 for ac_exec_ext in '' $ac_executable_extensions; do
7917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7928 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7929 if test -n "$ac_ct_MANIFEST_TOOL"; then
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7931 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7934 $as_echo "no
" >&6; }
7937 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7940 case $cross_compiling:$ac_tool_warned in
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7943 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7944 ac_tool_warned=yes ;;
7946 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7949 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7952 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7954 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7955 if ${lt_cv_path_mainfest_tool+:} false; then :
7956 $as_echo_n "(cached
) " >&6
7958 lt_cv_path_mainfest_tool=no
7959 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7960 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7961 cat conftest.err >&5
7962 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7963 lt_cv_path_mainfest_tool=yes
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7968 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7969 if test yes != "$lt_cv_path_mainfest_tool"; then
7979 rhapsody* | darwin*)
7980 if test -n "$ac_tool_prefix"; then
7981 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7982 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7984 $as_echo_n "checking
for $ac_word...
" >&6; }
7985 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7986 $as_echo_n "(cached
) " >&6
7988 if test -n "$DSYMUTIL"; then
7989 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8008 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8009 if test -n "$DSYMUTIL"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8011 $as_echo "$DSYMUTIL" >&6; }
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8014 $as_echo "no
" >&6; }
8019 if test -z "$ac_cv_prog_DSYMUTIL"; then
8020 ac_ct_DSYMUTIL=$DSYMUTIL
8021 # Extract the first word of "dsymutil
", so it can be a program name with args.
8022 set dummy dsymutil; ac_word=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8024 $as_echo_n "checking
for $ac_word...
" >&6; }
8025 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8026 $as_echo_n "(cached
) " >&6
8028 if test -n "$ac_ct_DSYMUTIL"; then
8029 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8035 test -z "$as_dir" && as_dir=.
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8048 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8049 if test -n "$ac_ct_DSYMUTIL"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8051 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8054 $as_echo "no
" >&6; }
8057 if test "x
$ac_ct_DSYMUTIL" = x; then
8060 case $cross_compiling:$ac_tool_warned in
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8063 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8064 ac_tool_warned=yes ;;
8066 DSYMUTIL=$ac_ct_DSYMUTIL
8069 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8072 if test -n "$ac_tool_prefix"; then
8073 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8074 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8076 $as_echo_n "checking
for $ac_word...
" >&6; }
8077 if ${ac_cv_prog_NMEDIT+:} false; then :
8078 $as_echo_n "(cached
) " >&6
8080 if test -n "$NMEDIT"; then
8081 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8087 test -z "$as_dir" && as_dir=.
8088 for ac_exec_ext in '' $ac_executable_extensions; do
8089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8090 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8100 NMEDIT=$ac_cv_prog_NMEDIT
8101 if test -n "$NMEDIT"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8103 $as_echo "$NMEDIT" >&6; }
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8106 $as_echo "no
" >&6; }
8111 if test -z "$ac_cv_prog_NMEDIT"; then
8112 ac_ct_NMEDIT=$NMEDIT
8113 # Extract the first word of "nmedit
", so it can be a program name with args.
8114 set dummy nmedit; ac_word=$2
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8116 $as_echo_n "checking
for $ac_word...
" >&6; }
8117 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8118 $as_echo_n "(cached
) " >&6
8120 if test -n "$ac_ct_NMEDIT"; then
8121 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8127 test -z "$as_dir" && as_dir=.
8128 for ac_exec_ext in '' $ac_executable_extensions; do
8129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8130 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8140 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8141 if test -n "$ac_ct_NMEDIT"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8143 $as_echo "$ac_ct_NMEDIT" >&6; }
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8146 $as_echo "no
" >&6; }
8149 if test "x
$ac_ct_NMEDIT" = x; then
8152 case $cross_compiling:$ac_tool_warned in
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8155 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8156 ac_tool_warned=yes ;;
8158 NMEDIT=$ac_ct_NMEDIT
8161 NMEDIT="$ac_cv_prog_NMEDIT"
8164 if test -n "$ac_tool_prefix"; then
8165 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8166 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8168 $as_echo_n "checking
for $ac_word...
" >&6; }
8169 if ${ac_cv_prog_LIPO+:} false; then :
8170 $as_echo_n "(cached
) " >&6
8172 if test -n "$LIPO"; then
8173 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8179 test -z "$as_dir" && as_dir=.
8180 for ac_exec_ext in '' $ac_executable_extensions; do
8181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8182 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8192 LIPO=$ac_cv_prog_LIPO
8193 if test -n "$LIPO"; then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8195 $as_echo "$LIPO" >&6; }
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8198 $as_echo "no
" >&6; }
8203 if test -z "$ac_cv_prog_LIPO"; then
8205 # Extract the first word of "lipo
", so it can be a program name with args.
8206 set dummy lipo; ac_word=$2
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8208 $as_echo_n "checking
for $ac_word...
" >&6; }
8209 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8210 $as_echo_n "(cached
) " >&6
8212 if test -n "$ac_ct_LIPO"; then
8213 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8219 test -z "$as_dir" && as_dir=.
8220 for ac_exec_ext in '' $ac_executable_extensions; do
8221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8222 ac_cv_prog_ac_ct_LIPO="lipo
"
8223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8232 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8233 if test -n "$ac_ct_LIPO"; then
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8235 $as_echo "$ac_ct_LIPO" >&6; }
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8238 $as_echo "no
" >&6; }
8241 if test "x
$ac_ct_LIPO" = x; then
8244 case $cross_compiling:$ac_tool_warned in
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8247 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8248 ac_tool_warned=yes ;;
8253 LIPO="$ac_cv_prog_LIPO"
8256 if test -n "$ac_tool_prefix"; then
8257 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8258 set dummy ${ac_tool_prefix}otool; ac_word=$2
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8260 $as_echo_n "checking
for $ac_word...
" >&6; }
8261 if ${ac_cv_prog_OTOOL+:} false; then :
8262 $as_echo_n "(cached
) " >&6
8264 if test -n "$OTOOL"; then
8265 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8271 test -z "$as_dir" && as_dir=.
8272 for ac_exec_ext in '' $ac_executable_extensions; do
8273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8274 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8284 OTOOL=$ac_cv_prog_OTOOL
8285 if test -n "$OTOOL"; then
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8287 $as_echo "$OTOOL" >&6; }
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8290 $as_echo "no
" >&6; }
8295 if test -z "$ac_cv_prog_OTOOL"; then
8297 # Extract the first word of "otool
", so it can be a program name with args.
8298 set dummy otool; ac_word=$2
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8300 $as_echo_n "checking
for $ac_word...
" >&6; }
8301 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8302 $as_echo_n "(cached
) " >&6
8304 if test -n "$ac_ct_OTOOL"; then
8305 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8311 test -z "$as_dir" && as_dir=.
8312 for ac_exec_ext in '' $ac_executable_extensions; do
8313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8314 ac_cv_prog_ac_ct_OTOOL="otool
"
8315 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8324 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8325 if test -n "$ac_ct_OTOOL"; then
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8327 $as_echo "$ac_ct_OTOOL" >&6; }
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8330 $as_echo "no
" >&6; }
8333 if test "x
$ac_ct_OTOOL" = x; then
8336 case $cross_compiling:$ac_tool_warned in
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8339 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8340 ac_tool_warned=yes ;;
8345 OTOOL="$ac_cv_prog_OTOOL"
8348 if test -n "$ac_tool_prefix"; then
8349 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8350 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8352 $as_echo_n "checking
for $ac_word...
" >&6; }
8353 if ${ac_cv_prog_OTOOL64+:} false; then :
8354 $as_echo_n "(cached
) " >&6
8356 if test -n "$OTOOL64"; then
8357 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8363 test -z "$as_dir" && as_dir=.
8364 for ac_exec_ext in '' $ac_executable_extensions; do
8365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8366 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8376 OTOOL64=$ac_cv_prog_OTOOL64
8377 if test -n "$OTOOL64"; then
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8379 $as_echo "$OTOOL64" >&6; }
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8382 $as_echo "no
" >&6; }
8387 if test -z "$ac_cv_prog_OTOOL64"; then
8388 ac_ct_OTOOL64=$OTOOL64
8389 # Extract the first word of "otool64
", so it can be a program name with args.
8390 set dummy otool64; ac_word=$2
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8392 $as_echo_n "checking
for $ac_word...
" >&6; }
8393 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8394 $as_echo_n "(cached
) " >&6
8396 if test -n "$ac_ct_OTOOL64"; then
8397 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8403 test -z "$as_dir" && as_dir=.
8404 for ac_exec_ext in '' $ac_executable_extensions; do
8405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8406 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8416 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8417 if test -n "$ac_ct_OTOOL64"; then
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8419 $as_echo "$ac_ct_OTOOL64" >&6; }
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8422 $as_echo "no
" >&6; }
8425 if test "x
$ac_ct_OTOOL64" = x; then
8428 case $cross_compiling:$ac_tool_warned in
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8431 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8432 ac_tool_warned=yes ;;
8434 OTOOL64=$ac_ct_OTOOL64
8437 OTOOL64="$ac_cv_prog_OTOOL64"
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8467 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8468 if ${lt_cv_apple_cc_single_mod+:} false; then :
8469 $as_echo_n "(cached
) " >&6
8471 lt_cv_apple_cc_single_mod=no
8472 if test -z "$LT_MULTI_MODULE"; then
8473 # By default we will add the -single_module flag. You can override
8474 # by either setting the environment variable LT_MULTI_MODULE
8475 # non-empty at configure time, or by adding -multi_module to the
8477 rm -rf libconftest.dylib*
8478 echo "int foo
(void
){return 1;}" > conftest.c
8479 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8480 -dynamiclib -Wl,-single_module conftest.c
" >&5
8481 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8482 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8484 # If there is a non-empty error log, and "single_module
"
8485 # appears in it, assume the flag caused a linker warning
8486 if test -s conftest.err && $GREP single_module conftest.err; then
8487 cat conftest.err >&5
8488 # Otherwise, if the output was created with a 0 exit code from
8489 # the compiler, it worked.
8490 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8491 lt_cv_apple_cc_single_mod=yes
8493 cat conftest.err >&5
8495 rm -rf libconftest.dylib*
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8500 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8503 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8504 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8505 $as_echo_n "(cached
) " >&6
8507 lt_cv_ld_exported_symbols_list=no
8508 save_LDFLAGS=$LDFLAGS
8509 echo "_main
" > conftest.sym
8510 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8522 if ac_fn_c_try_link "$LINENO"; then :
8523 lt_cv_ld_exported_symbols_list=yes
8525 lt_cv_ld_exported_symbols_list=no
8527 rm -f core conftest.err conftest.$ac_objext \
8528 conftest$ac_exeext conftest.$ac_ext
8529 LDFLAGS=$save_LDFLAGS
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8533 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8536 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8537 if ${lt_cv_ld_force_load+:} false; then :
8538 $as_echo_n "(cached
) " >&6
8540 lt_cv_ld_force_load=no
8541 cat > conftest.c << _LT_EOF
8542 int forced_loaded() { return 2;}
8544 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8545 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8546 echo "$AR cru libconftest.a conftest.o
" >&5
8547 $AR cru libconftest.a conftest.o 2>&5
8548 echo "$RANLIB libconftest.a
" >&5
8549 $RANLIB libconftest.a 2>&5
8550 cat > conftest.c << _LT_EOF
8551 int main() { return 0;}
8553 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8554 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8556 if test -s conftest.err && $GREP force_load conftest.err; then
8557 cat conftest.err >&5
8558 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8559 lt_cv_ld_force_load=yes
8561 cat conftest.err >&5
8563 rm -f conftest.err libconftest.a conftest conftest.c
8564 rm -rf conftest.dSYM
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8568 $as_echo "$lt_cv_ld_force_load" >&6; }
8570 rhapsody* | darwin1.[012])
8571 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8573 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8574 darwin*) # darwin 5.x on
8575 # if running on 10.5 or later, the deployment target defaults
8576 # to the OS version, if on x86, and 10.4, the deployment
8577 # target defaults to 10.4. Don't you love it?
8578 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8579 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8580 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8582 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8584 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8588 if test yes = "$lt_cv_apple_cc_single_mod"; then
8589 _lt_dar_single_mod='$single_module'
8591 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8592 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8594 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8596 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8597 _lt_dsymutil='~$DSYMUTIL $lib || :'
8604 # func_munge_path_list VARIABLE PATH
8605 # -----------------------------------
8606 # VARIABLE is name of variable containing _space_ separated list of
8607 # directories to be munged by the contents of PATH, which is string
8610 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8612 # string "DIR
[ DIR
]" will be appended to VARIABLE
8613 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8614 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8615 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8617 # VARIABLE will be replaced by "DIR
[ DIR
]"
8618 func_munge_path_list ()
8624 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8627 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8630 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8631 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8634 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8640 ac_cpp='$CPP $CPPFLAGS'
8641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8645 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8646 # On Suns, sometimes $CPP names a directory.
8647 if test -n "$CPP" && test -d "$CPP"; then
8650 if test -z "$CPP"; then
8651 if ${ac_cv_prog_CPP+:} false; then :
8652 $as_echo_n "(cached
) " >&6
8654 # Double quotes because CPP needs to be expanded
8655 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8658 for ac_c_preproc_warn_flag in '' yes
8660 # Use a header file that comes with gcc, so configuring glibc
8661 # with a fresh cross-compiler works.
8662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8663 # <limits.h> exists even on freestanding compilers.
8664 # On the NeXT, cc -E runs the code through the compiler's parser,
8665 # not just through cpp. "Syntax error
" is here to catch this case.
8666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8667 /* end confdefs.h. */
8669 # include <limits.h>
8671 # include <assert.h>
8675 if ac_fn_c_try_cpp "$LINENO"; then :
8678 # Broken: fails on valid input.
8681 rm -f conftest.err conftest.i conftest.$ac_ext
8683 # OK, works on sane cases. Now check whether nonexistent headers
8684 # can be detected and how.
8685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8686 /* end confdefs.h. */
8687 #include <ac_nonexistent.h>
8689 if ac_fn_c_try_cpp "$LINENO"; then :
8690 # Broken: success on invalid input.
8693 # Passes both tests.
8697 rm -f conftest.err conftest.i conftest.$ac_ext
8700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8701 rm -f conftest.i conftest.err conftest.$ac_ext
8702 if $ac_preproc_ok; then :
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8715 $as_echo "$CPP" >&6; }
8717 for ac_c_preproc_warn_flag in '' yes
8719 # Use a header file that comes with gcc, so configuring glibc
8720 # with a fresh cross-compiler works.
8721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8722 # <limits.h> exists even on freestanding compilers.
8723 # On the NeXT, cc -E runs the code through the compiler's parser,
8724 # not just through cpp. "Syntax error
" is here to catch this case.
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8728 # include <limits.h>
8730 # include <assert.h>
8734 if ac_fn_c_try_cpp "$LINENO"; then :
8737 # Broken: fails on valid input.
8740 rm -f conftest.err conftest.i conftest.$ac_ext
8742 # OK, works on sane cases. Now check whether nonexistent headers
8743 # can be detected and how.
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746 #include <ac_nonexistent.h>
8748 if ac_fn_c_try_cpp "$LINENO"; then :
8749 # Broken: success on invalid input.
8752 # Passes both tests.
8756 rm -f conftest.err conftest.i conftest.$ac_ext
8759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8760 rm -f conftest.i conftest.err conftest.$ac_ext
8761 if $ac_preproc_ok; then :
8764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8766 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8767 See \`config.log' for more details
" "$LINENO" 5; }
8771 ac_cpp='$CPP $CPPFLAGS'
8772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8778 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8779 if ${ac_cv_header_stdc+:} false; then :
8780 $as_echo_n "(cached
) " >&6
8782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8783 /* end confdefs.h. */
8797 if ac_fn_c_try_compile "$LINENO"; then :
8798 ac_cv_header_stdc=yes
8800 ac_cv_header_stdc=no
8802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8804 if test $ac_cv_header_stdc = yes; then
8805 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8807 /* end confdefs.h. */
8811 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8812 $EGREP "memchr
" >/dev/null 2>&1; then :
8815 ac_cv_header_stdc=no
8821 if test $ac_cv_header_stdc = yes; then
8822 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8824 /* end confdefs.h. */
8828 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8829 $EGREP "free
" >/dev/null 2>&1; then :
8832 ac_cv_header_stdc=no
8838 if test $ac_cv_header_stdc = yes; then
8839 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8840 if test "$cross_compiling" = yes; then :
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8847 #if ((' ' & 0x0FF) == 0x020)
8848 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8849 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8851 # define ISLOWER(c) \
8852 (('a' <= (c) && (c) <= 'i') \
8853 || ('j' <= (c) && (c) <= 'r') \
8854 || ('s' <= (c) && (c) <= 'z'))
8855 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8858 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8863 for (i = 0; i < 256; i++)
8864 if (XOR (islower (i), ISLOWER (i))
8865 || toupper (i) != TOUPPER (i))
8870 if ac_fn_c_try_run "$LINENO"; then :
8873 ac_cv_header_stdc=no
8875 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8876 conftest.$ac_objext conftest.beam conftest.$ac_ext
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8882 $as_echo "$ac_cv_header_stdc" >&6; }
8883 if test $ac_cv_header_stdc = yes; then
8885 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8889 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8890 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8891 inttypes.h stdint.h unistd.h
8893 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8894 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8896 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8897 cat >>confdefs.h
<<_ACEOF
8898 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8906 for ac_header
in dlfcn.h
8908 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8910 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8911 cat >>confdefs.h
<<_ACEOF
8912 #define HAVE_DLFCN_H 1
8922 func_stripname_cnf
()
8925 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8926 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8928 } # func_stripname_cnf
8935 # Check whether --enable-static was given.
8936 if test "${enable_static+set}" = set; then :
8937 enableval
=$enable_static; p
=${PACKAGE-default}
8939 yes) enable_static
=yes ;;
8940 no
) enable_static
=no
;;
8943 # Look at the argument we got. We use all the common list separators.
8944 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8945 for pkg
in $enableval; do
8947 if test "X$pkg" = "X$p"; then
8973 # Check whether --enable-shared was given.
8974 if test "${enable_shared+set}" = set; then :
8975 enableval
=$enable_shared; p
=${PACKAGE-default}
8977 yes) enable_shared
=yes ;;
8978 no
) enable_shared
=no
;;
8981 # Look at the argument we got. We use all the common list separators.
8982 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8983 for pkg
in $enableval; do
8985 if test "X$pkg" = "X$p"; then
9006 # Check whether --with-pic was given.
9007 if test "${with_pic+set}" = set; then :
9008 withval
=$with_pic; lt_p
=${PACKAGE-default}
9010 yes|no
) pic_mode
=$withval ;;
9013 # Look at the argument we got. We use all the common list separators.
9014 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9015 for lt_pkg
in $withval; do
9017 if test "X$lt_pkg" = "X$lt_p"; then
9035 # Check whether --enable-fast-install was given.
9036 if test "${enable_fast_install+set}" = set; then :
9037 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9039 yes) enable_fast_install
=yes ;;
9040 no
) enable_fast_install
=no
;;
9042 enable_fast_install
=no
9043 # Look at the argument we got. We use all the common list separators.
9044 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9045 for pkg
in $enableval; do
9047 if test "X$pkg" = "X$p"; then
9048 enable_fast_install
=yes
9055 enable_fast_install
=yes
9065 shared_archive_member_spec
=
9066 case $host,$enable_shared in
9067 power
*-*-aix[5-9]*,yes)
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9069 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9071 # Check whether --with-aix-soname was given.
9072 if test "${with_aix_soname+set}" = set; then :
9073 withval
=$with_aix_soname; case $withval in
9077 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9080 lt_cv_with_aix_soname
=$with_aix_soname
9082 if ${lt_cv_with_aix_soname+:} false
; then :
9083 $as_echo_n "(cached) " >&6
9085 lt_cv_with_aix_soname
=aix
9088 with_aix_soname
=$lt_cv_with_aix_soname
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9092 $as_echo "$with_aix_soname" >&6; }
9093 if test aix
!= "$with_aix_soname"; then
9094 # For the AIX way of multilib, we name the shared archive member
9095 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9096 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9097 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9098 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9099 if test 64 = "${OBJECT_MODE-32}"; then
9100 shared_archive_member_spec
=shr_64
9102 shared_archive_member_spec
=shr
9120 # This can be used to rebuild libtool when needed
9121 LIBTOOL_DEPS
=$ltmain
9123 # Always use our own libtool.
9124 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9155 test -z "$LN_S" && LN_S
="ln -s"
9170 if test -n "${ZSH_VERSION+set}"; then
9171 setopt NO_GLOB_SUBST
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9175 $as_echo_n "checking for objdir... " >&6; }
9176 if ${lt_cv_objdir+:} false
; then :
9177 $as_echo_n "(cached) " >&6
9179 rm -f .libs
2>/dev
/null
9180 mkdir .libs
2>/dev
/null
9181 if test -d .libs
; then
9184 # MS-DOS does not allow filenames that begin with a dot.
9187 rmdir .libs
2>/dev
/null
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9190 $as_echo "$lt_cv_objdir" >&6; }
9191 objdir
=$lt_cv_objdir
9197 cat >>confdefs.h
<<_ACEOF
9198 #define LT_OBJDIR "$lt_cv_objdir/"
9206 # AIX sometimes has problems with the GCC collect2 program. For some
9207 # reason, if we set the COLLECT_NAMES environment variable, the problems
9208 # vanish in a puff of smoke.
9209 if test set != "${COLLECT_NAMES+set}"; then
9211 export COLLECT_NAMES
9218 can_build_shared
=yes
9220 # All known linkers require a '.a' archive for static linking (except MSVC,
9221 # which needs '.lib').
9224 with_gnu_ld
=$lt_cv_prog_gnu_ld
9229 # Set sane defaults for various variables
9230 test -z "$CC" && CC
=cc
9231 test -z "$LTCC" && LTCC
=$CC
9232 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9233 test -z "$LD" && LD
=ld
9234 test -z "$ac_objext" && ac_objext
=o
9236 func_cc_basename
$compiler
9237 cc_basename
=$func_cc_basename_result
9240 # Only perform the check for file, if the check method requires it
9241 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9242 case $deplibs_check_method in
9244 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9246 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9247 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9248 $as_echo_n "(cached) " >&6
9252 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9255 lt_save_MAGIC_CMD
=$MAGIC_CMD
9256 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9257 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9258 for ac_dir
in $ac_dummy; do
9260 test -z "$ac_dir" && ac_dir
=.
9261 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9262 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9263 if test -n "$file_magic_test_file"; then
9264 case $deplibs_check_method in
9266 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9267 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9268 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9269 $EGREP "$file_magic_regex" > /dev
/null
; then
9274 *** Warning: the command libtool uses to detect shared libraries,
9275 *** $file_magic_cmd, produces output that libtool cannot recognize.
9276 *** The result is that libtool may fail to recognize shared libraries
9277 *** as such. This will affect the creation of libtool libraries that
9278 *** depend on shared libraries, but programs linked with such libtool
9279 *** libraries will work regardless of this problem. Nevertheless, you
9280 *** may want to report the problem to your system manager and/or to
9281 *** bug-libtool@gnu.org
9291 MAGIC_CMD
=$lt_save_MAGIC_CMD
9296 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9297 if test -n "$MAGIC_CMD"; then
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9299 $as_echo "$MAGIC_CMD" >&6; }
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9302 $as_echo "no" >&6; }
9309 if test -z "$lt_cv_path_MAGIC_CMD"; then
9310 if test -n "$ac_tool_prefix"; then
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9312 $as_echo_n "checking for file... " >&6; }
9313 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9314 $as_echo_n "(cached) " >&6
9318 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9321 lt_save_MAGIC_CMD
=$MAGIC_CMD
9322 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9323 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9324 for ac_dir
in $ac_dummy; do
9326 test -z "$ac_dir" && ac_dir
=.
9327 if test -f "$ac_dir/file"; then
9328 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9329 if test -n "$file_magic_test_file"; then
9330 case $deplibs_check_method in
9332 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9333 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9334 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9335 $EGREP "$file_magic_regex" > /dev
/null
; then
9340 *** Warning: the command libtool uses to detect shared libraries,
9341 *** $file_magic_cmd, produces output that libtool cannot recognize.
9342 *** The result is that libtool may fail to recognize shared libraries
9343 *** as such. This will affect the creation of libtool libraries that
9344 *** depend on shared libraries, but programs linked with such libtool
9345 *** libraries will work regardless of this problem. Nevertheless, you
9346 *** may want to report the problem to your system manager and/or to
9347 *** bug-libtool@gnu.org
9357 MAGIC_CMD
=$lt_save_MAGIC_CMD
9362 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9363 if test -n "$MAGIC_CMD"; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9365 $as_echo "$MAGIC_CMD" >&6; }
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9368 $as_echo "no" >&6; }
9381 # Use C for the default configuration in the libtool script
9385 ac_cpp
='$CPP $CPPFLAGS'
9386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9391 # Source file extension for C test sources.
9394 # Object file extension for compiled C test sources.
9398 # Code to be used in simple compile tests
9399 lt_simple_compile_test_code
="int some_variable = 0;"
9401 # Code to be used in simple link tests
9402 lt_simple_link_test_code
='int main(){return(0);}'
9410 # If no C compiler was specified, use CC.
9413 # If no C compiler flags were specified, use CFLAGS.
9414 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9416 # Allow CC to be a program name with arguments.
9419 # Save the default compiler, since it gets overwritten when the other
9420 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9421 compiler_DEFAULT
=$CC
9423 # save warnings/boilerplate of simple test code
9424 ac_outfile
=conftest.
$ac_objext
9425 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9426 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9427 _lt_compiler_boilerplate
=`cat conftest.err`
9430 ac_outfile
=conftest.
$ac_objext
9431 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9432 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9433 _lt_linker_boilerplate
=`cat conftest.err`
9438 ## There is no encapsulation within the following macros, do not change
9439 ## the running order or otherwise move them around unless you know exactly
9440 ## what you are doing...
9441 if test -n "$compiler"; then
9443 lt_prog_compiler_no_builtin_flag
=
9445 if test yes = "$GCC"; then
9446 case $cc_basename in
9448 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9450 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9454 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9455 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9456 $as_echo_n "(cached) " >&6
9458 lt_cv_prog_compiler_rtti_exceptions
=no
9459 ac_outfile
=conftest.
$ac_objext
9460 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9461 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9462 # Insert the option either (1) after the last *FLAGS variable, or
9463 # (2) before a word containing "conftest.", or (3) at the end.
9464 # Note that $ac_compile itself does not contain backslashes and begins
9465 # with a dollar sign (not a hyphen), so the echo should work correctly.
9466 # The option is referenced via a variable to avoid confusing sed.
9467 lt_compile
=`echo "$ac_compile" | $SED \
9468 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9469 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9470 -e 's:$: $lt_compiler_flag:'`
9471 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9472 (eval "$lt_compile" 2>conftest.err
)
9474 cat conftest.err
>&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 if (exit $ac_status) && test -s "$ac_outfile"; then
9477 # The compiler can only warn and ignore the option if not recognized
9478 # So say no if there are warnings other than the usual output.
9479 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9480 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9481 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9482 lt_cv_prog_compiler_rtti_exceptions
=yes
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9489 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9491 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9492 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9504 lt_prog_compiler_wl
=
9505 lt_prog_compiler_pic
=
9506 lt_prog_compiler_static
=
9509 if test yes = "$GCC"; then
9510 lt_prog_compiler_wl
='-Wl,'
9511 lt_prog_compiler_static
='-static'
9515 # All AIX code is PIC.
9516 if test ia64
= "$host_cpu"; then
9517 # AIX 5 now supports IA64 processor
9518 lt_prog_compiler_static
='-Bstatic'
9520 lt_prog_compiler_pic
='-fPIC'
9526 # see comment about AmigaOS4 .so support
9527 lt_prog_compiler_pic
='-fPIC'
9530 # FIXME: we need at least 68020 code to build shared libraries, but
9531 # adding the '-m68020' flag to GCC prevents building anything better,
9533 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9538 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9539 # PIC is the default for these OSes.
9542 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9543 # This hack is so that the source file can tell whether it is being
9544 # built for inclusion in a dll (and should export symbols for example).
9545 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9546 # (--disable-auto-import) libraries
9547 lt_prog_compiler_pic
='-DDLL_EXPORT'
9550 lt_prog_compiler_static
='$wl-static'
9555 darwin
* | rhapsody
*)
9556 # PIC is the default on this platform
9557 # Common symbols not allowed in MH_DYLIB files
9558 lt_prog_compiler_pic
='-fno-common'
9562 # PIC is the default for Haiku.
9563 # The "-static" flag exists, but is broken.
9564 lt_prog_compiler_static
=
9568 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9569 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9570 # sets the default TLS model and affects inlining.
9576 lt_prog_compiler_pic
='-fPIC'
9582 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9583 # Instead, we relocate shared libraries at runtime.
9587 # Just because we use GCC doesn't mean we suddenly get shared libraries
9588 # on systems that don't support them.
9589 lt_prog_compiler_can_build_shared
=no
9594 # QNX uses GNU C++, but need to define -shared option too, otherwise
9596 lt_prog_compiler_pic
='-fPIC -shared'
9600 if test -d /usr
/nec
; then
9601 lt_prog_compiler_pic
=-Kconform_pic
9606 lt_prog_compiler_pic
='-fPIC'
9610 case $cc_basename in
9611 nvcc
*) # Cuda Compiler Driver 2.2
9612 lt_prog_compiler_wl
='-Xlinker '
9613 if test -n "$lt_prog_compiler_pic"; then
9614 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9619 # PORTME Check for flag to pass linker flags through the system compiler.
9622 lt_prog_compiler_wl
='-Wl,'
9623 if test ia64
= "$host_cpu"; then
9624 # AIX 5 now supports IA64 processor
9625 lt_prog_compiler_static
='-Bstatic'
9627 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9631 darwin
* | rhapsody
*)
9632 # PIC is the default on this platform
9633 # Common symbols not allowed in MH_DYLIB files
9634 lt_prog_compiler_pic
='-fno-common'
9635 case $cc_basename in
9637 # NAG Fortran compiler
9638 lt_prog_compiler_wl
='-Wl,-Wl,,'
9639 lt_prog_compiler_pic
='-PIC'
9640 lt_prog_compiler_static
='-Bstatic'
9645 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9646 # This hack is so that the source file can tell whether it is being
9647 # built for inclusion in a dll (and should export symbols for example).
9648 lt_prog_compiler_pic
='-DDLL_EXPORT'
9651 lt_prog_compiler_static
='$wl-static'
9656 hpux9
* | hpux10
* | hpux11
*)
9657 lt_prog_compiler_wl
='-Wl,'
9658 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9665 lt_prog_compiler_pic
='+Z'
9668 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9669 lt_prog_compiler_static
='$wl-a ${wl}archive'
9672 irix5
* | irix6
* | nonstopux
*)
9673 lt_prog_compiler_wl
='-Wl,'
9674 # PIC (with -KPIC) is the default.
9675 lt_prog_compiler_static
='-non_shared'
9678 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9679 case $cc_basename in
9680 # old Intel for x86_64, which still supported -KPIC.
9682 lt_prog_compiler_wl
='-Wl,'
9683 lt_prog_compiler_pic
='-KPIC'
9684 lt_prog_compiler_static
='-static'
9686 # icc used to be incompatible with GCC.
9687 # ICC 10 doesn't accept -KPIC any more.
9689 lt_prog_compiler_wl
='-Wl,'
9690 lt_prog_compiler_pic
='-fPIC'
9691 lt_prog_compiler_static
='-static'
9693 # Lahey Fortran 8.1.
9695 lt_prog_compiler_wl
='-Wl,'
9696 lt_prog_compiler_pic
='--shared'
9697 lt_prog_compiler_static
='--static'
9700 # NAG Fortran compiler
9701 lt_prog_compiler_wl
='-Wl,-Wl,,'
9702 lt_prog_compiler_pic
='-PIC'
9703 lt_prog_compiler_static
='-Bstatic'
9706 # Fabrice Bellard et al's Tiny C Compiler
9707 lt_prog_compiler_wl
='-Wl,'
9708 lt_prog_compiler_pic
='-fPIC'
9709 lt_prog_compiler_static
='-static'
9711 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9712 # Portland Group compilers (*not* the Pentium gcc compiler,
9713 # which looks to be a dead project)
9714 lt_prog_compiler_wl
='-Wl,'
9715 lt_prog_compiler_pic
='-fpic'
9716 lt_prog_compiler_static
='-Bstatic'
9719 lt_prog_compiler_wl
='-Wl,'
9720 # All Alpha code is PIC.
9721 lt_prog_compiler_static
='-non_shared'
9723 xl
* | bgxl
* | bgf
* | mpixl
*)
9724 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9725 lt_prog_compiler_wl
='-Wl,'
9726 lt_prog_compiler_pic
='-qpic'
9727 lt_prog_compiler_static
='-qstaticlink'
9730 case `$CC -V 2>&1 | sed 5q` in
9731 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9732 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9733 lt_prog_compiler_pic
='-KPIC'
9734 lt_prog_compiler_static
='-Bstatic'
9735 lt_prog_compiler_wl
=''
9737 *Sun\ F
* | *Sun
*Fortran
*)
9738 lt_prog_compiler_pic
='-KPIC'
9739 lt_prog_compiler_static
='-Bstatic'
9740 lt_prog_compiler_wl
='-Qoption ld '
9744 lt_prog_compiler_pic
='-KPIC'
9745 lt_prog_compiler_static
='-Bstatic'
9746 lt_prog_compiler_wl
='-Wl,'
9748 *Intel
*\
[CF
]*Compiler
*)
9749 lt_prog_compiler_wl
='-Wl,'
9750 lt_prog_compiler_pic
='-fPIC'
9751 lt_prog_compiler_static
='-static'
9754 lt_prog_compiler_wl
='-Wl,'
9755 lt_prog_compiler_pic
='-fpic'
9756 lt_prog_compiler_static
='-Bstatic'
9764 lt_prog_compiler_pic
='-KPIC'
9765 lt_prog_compiler_static
='-Bstatic'
9769 # QNX uses GNU C++, but need to define -shared option too, otherwise
9771 lt_prog_compiler_pic
='-fPIC -shared'
9774 osf3
* | osf4
* | osf5
*)
9775 lt_prog_compiler_wl
='-Wl,'
9776 # All OSF/1 code is PIC.
9777 lt_prog_compiler_static
='-non_shared'
9781 lt_prog_compiler_static
='-non_shared'
9785 lt_prog_compiler_pic
='-KPIC'
9786 lt_prog_compiler_static
='-Bstatic'
9787 case $cc_basename in
9788 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9789 lt_prog_compiler_wl
='-Qoption ld ';;
9791 lt_prog_compiler_wl
='-Wl,';;
9796 lt_prog_compiler_wl
='-Qoption ld '
9797 lt_prog_compiler_pic
='-PIC'
9798 lt_prog_compiler_static
='-Bstatic'
9801 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9802 lt_prog_compiler_wl
='-Wl,'
9803 lt_prog_compiler_pic
='-KPIC'
9804 lt_prog_compiler_static
='-Bstatic'
9808 if test -d /usr
/nec
; then
9809 lt_prog_compiler_pic
='-Kconform_pic'
9810 lt_prog_compiler_static
='-Bstatic'
9814 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9815 lt_prog_compiler_wl
='-Wl,'
9816 lt_prog_compiler_pic
='-KPIC'
9817 lt_prog_compiler_static
='-Bstatic'
9821 lt_prog_compiler_wl
='-Wl,'
9822 lt_prog_compiler_can_build_shared
=no
9826 lt_prog_compiler_pic
='-pic'
9827 lt_prog_compiler_static
='-Bstatic'
9831 lt_prog_compiler_can_build_shared
=no
9837 # For platforms that do not support PIC, -DPIC is meaningless:
9839 lt_prog_compiler_pic
=
9842 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9847 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9848 if ${lt_cv_prog_compiler_pic+:} false
; then :
9849 $as_echo_n "(cached) " >&6
9851 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9854 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9855 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9858 # Check to make sure the PIC flag actually works.
9860 if test -n "$lt_prog_compiler_pic"; then
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9862 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9863 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9864 $as_echo_n "(cached) " >&6
9866 lt_cv_prog_compiler_pic_works
=no
9867 ac_outfile
=conftest.
$ac_objext
9868 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9869 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9870 # Insert the option either (1) after the last *FLAGS variable, or
9871 # (2) before a word containing "conftest.", or (3) at the end.
9872 # Note that $ac_compile itself does not contain backslashes and begins
9873 # with a dollar sign (not a hyphen), so the echo should work correctly.
9874 # The option is referenced via a variable to avoid confusing sed.
9875 lt_compile
=`echo "$ac_compile" | $SED \
9876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9878 -e 's:$: $lt_compiler_flag:'`
9879 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9880 (eval "$lt_compile" 2>conftest.err
)
9882 cat conftest.err
>&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 if (exit $ac_status) && test -s "$ac_outfile"; then
9885 # The compiler can only warn and ignore the option if not recognized
9886 # So say no if there are warnings other than the usual output.
9887 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9888 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9889 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9890 lt_cv_prog_compiler_pic_works
=yes
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9897 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9899 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9900 case $lt_prog_compiler_pic in
9902 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9905 lt_prog_compiler_pic
=
9906 lt_prog_compiler_can_build_shared
=no
9922 # Check to make sure the static flag actually works.
9924 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9926 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9927 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9928 $as_echo_n "(cached) " >&6
9930 lt_cv_prog_compiler_static_works
=no
9931 save_LDFLAGS
=$LDFLAGS
9932 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9933 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9934 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9935 # The linker can only warn and ignore the option if not recognized
9936 # So say no if there are warnings
9937 if test -s conftest.err
; then
9938 # Append any errors to the config.log.
9939 cat conftest.err
1>&5
9940 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9941 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9942 if diff conftest.exp conftest.er2
>/dev
/null
; then
9943 lt_cv_prog_compiler_static_works
=yes
9946 lt_cv_prog_compiler_static_works
=yes
9950 LDFLAGS
=$save_LDFLAGS
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9954 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9956 if test yes = "$lt_cv_prog_compiler_static_works"; then
9959 lt_prog_compiler_static
=
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9969 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9970 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9971 $as_echo_n "(cached) " >&6
9973 lt_cv_prog_compiler_c_o
=no
9974 $RM -r conftest
2>/dev
/null
9978 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9980 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9981 # Insert the option either (1) after the last *FLAGS variable, or
9982 # (2) before a word containing "conftest.", or (3) at the end.
9983 # Note that $ac_compile itself does not contain backslashes and begins
9984 # with a dollar sign (not a hyphen), so the echo should work correctly.
9985 lt_compile
=`echo "$ac_compile" | $SED \
9986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9988 -e 's:$: $lt_compiler_flag:'`
9989 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9990 (eval "$lt_compile" 2>out
/conftest.err
)
9992 cat out
/conftest.err
>&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9996 # The compiler can only warn and ignore the option if not recognized
9997 # So say no if there are warnings
9998 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9999 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10000 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10001 lt_cv_prog_compiler_c_o
=yes
10006 # SGI C++ compiler will create directory out/ii_files/ for
10007 # template instantiation
10008 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10009 $RM out
/* && rmdir out
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10016 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10024 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10025 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10026 $as_echo_n "(cached) " >&6
10028 lt_cv_prog_compiler_c_o
=no
10029 $RM -r conftest
2>/dev
/null
10033 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10035 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10036 # Insert the option either (1) after the last *FLAGS variable, or
10037 # (2) before a word containing "conftest.", or (3) at the end.
10038 # Note that $ac_compile itself does not contain backslashes and begins
10039 # with a dollar sign (not a hyphen), so the echo should work correctly.
10040 lt_compile
=`echo "$ac_compile" | $SED \
10041 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10042 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10043 -e 's:$: $lt_compiler_flag:'`
10044 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10045 (eval "$lt_compile" 2>out
/conftest.err
)
10047 cat out
/conftest.err
>&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10051 # The compiler can only warn and ignore the option if not recognized
10052 # So say no if there are warnings
10053 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10054 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10055 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10056 lt_cv_prog_compiler_c_o
=yes
10061 # SGI C++ compiler will create directory out/ii_files/ for
10062 # template instantiation
10063 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10064 $RM out
/* && rmdir out
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10071 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10076 hard_links
=nottested
10077 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10078 # do not overwrite the value of need_locks provided by the user
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10080 $as_echo_n "checking if we can lock with hard links... " >&6; }
10083 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10085 ln conftest.a conftest.b
2>&5 || hard_links
=no
10086 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10088 $as_echo "$hard_links" >&6; }
10089 if test no
= "$hard_links"; then
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10091 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10104 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10107 allow_undefined_flag
=
10108 always_export_symbols
=no
10110 archive_expsym_cmds
=
10111 compiler_needs_object
=no
10112 enable_shared_with_static_runtimes
=no
10113 export_dynamic_flag_spec
=
10114 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10115 hardcode_automatic
=no
10117 hardcode_direct_absolute
=no
10118 hardcode_libdir_flag_spec
=
10119 hardcode_libdir_separator
=
10120 hardcode_minus_L
=no
10121 hardcode_shlibpath_var
=unsupported
10123 link_all_deplibs
=unknown
10125 module_expsym_cmds
=
10126 old_archive_from_new_cmds
=
10127 old_archive_from_expsyms_cmds
=
10128 thread_safe_flag_spec
=
10129 whole_archive_flag_spec
=
10130 # include_expsyms should be a list of space-separated symbols to be *always*
10131 # included in the symbol list
10133 # exclude_expsyms can be an extended regexp of symbols to exclude
10134 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10135 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10136 # as well as any symbol that contains 'd'.
10137 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10138 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10139 # platforms (ab)use it in PIC code, but their linkers get confused if
10140 # the symbol is explicitly referenced. Since portable code cannot
10141 # rely on this symbol name, it's probably fine to never include it in
10142 # preloaded symbol tables.
10143 # Exclude shared library initialization/finalization symbols.
10144 extract_expsyms_cmds
=
10147 cygwin
* | mingw
* | pw32
* | cegcc
*)
10148 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10149 # When not using gcc, we currently assume that we are using
10150 # Microsoft Visual C++.
10151 if test yes != "$GCC"; then
10156 # we just hope/assume this is gcc and not c89 (= MSVC++)
10159 openbsd
* | bitrig
*)
10166 # On some targets, GNU ld is compatible enough with the native linker
10167 # that we're better off using the native interface for both.
10168 lt_use_gnu_ld_interface
=no
10169 if test yes = "$with_gnu_ld"; then
10172 # The AIX port of GNU ld has always aspired to compatibility
10173 # with the native linker. However, as the warning in the GNU ld
10174 # block says, versions before 2.19.5* couldn't really create working
10175 # shared libraries, regardless of the interface used.
10176 case `$LD -v 2>&1` in
10177 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10178 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10179 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10181 lt_use_gnu_ld_interface
=yes
10186 lt_use_gnu_ld_interface
=yes
10191 if test yes = "$lt_use_gnu_ld_interface"; then
10192 # If archive_cmds runs LD, not CC, wlarc should be empty
10195 # Set some defaults for GNU ld with shared library support. These
10196 # are reset later if shared libraries are not supported. Putting them
10197 # here allows them to be overridden if necessary.
10198 runpath_var
=LD_RUN_PATH
10199 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10200 export_dynamic_flag_spec
='$wl--export-dynamic'
10201 # ancient GNU ld didn't support --whole-archive et. al.
10202 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
10203 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10205 whole_archive_flag_spec
=
10207 supports_anon_versioning
=no
10208 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10209 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10210 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
10211 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10212 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10213 *\
2.11.
*) ;; # other 2.11 versions
10214 *) supports_anon_versioning
=yes ;;
10217 # See if GNU ld supports shared libraries.
10220 # On AIX/PPC, the GNU linker is very broken
10221 if test ia64
!= "$host_cpu"; then
10225 *** Warning: the GNU linker, at least up to release 2.19, is reported
10226 *** to be unable to reliably create shared libraries on AIX.
10227 *** Therefore, libtool is disabling shared libraries support. If you
10228 *** really care for shared libraries, you may want to install binutils
10229 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10230 *** You will then need to restart the configuration process.
10239 # see comment about AmigaOS4 .so support
10240 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10241 archive_expsym_cmds
=''
10244 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)'
10245 hardcode_libdir_flag_spec
='-L$libdir'
10246 hardcode_minus_L
=yes
10252 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10253 allow_undefined_flag
=unsupported
10254 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10255 # support --undefined. This deserves some investigation. FIXME
10256 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10262 cygwin
* | mingw
* | pw32
* | cegcc
*)
10263 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10264 # as there is no search path for DLLs.
10265 hardcode_libdir_flag_spec
='-L$libdir'
10266 export_dynamic_flag_spec
='$wl--export-all-symbols'
10267 allow_undefined_flag
=unsupported
10268 always_export_symbols
=no
10269 enable_shared_with_static_runtimes
=yes
10270 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'
10271 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10273 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
10274 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10275 # If the export-symbols file already is a .def file, use it as
10276 # is; otherwise, prepend EXPORTS...
10277 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10278 cp $export_symbols $output_objdir/$soname.def;
10280 echo EXPORTS > $output_objdir/$soname.def;
10281 cat $export_symbols >> $output_objdir/$soname.def;
10283 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10290 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10291 link_all_deplibs
=yes
10295 hardcode_libdir_flag_spec
='-L$libdir'
10296 hardcode_minus_L
=yes
10297 allow_undefined_flag
=unsupported
10299 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10300 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10301 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10302 $ECHO EXPORTS >> $output_objdir/$libname.def~
10303 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10304 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10305 emximp -o $lib $output_objdir/$libname.def'
10306 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10307 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10308 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10309 $ECHO EXPORTS >> $output_objdir/$libname.def~
10310 prefix_cmds="$SED"~
10311 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10312 prefix_cmds="$prefix_cmds -e 1d";
10314 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10315 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10316 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10317 emximp -o $lib $output_objdir/$libname.def'
10318 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10319 enable_shared_with_static_runtimes
=yes
10324 hardcode_shlibpath_var
=no
10325 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10326 export_dynamic_flag_spec
='$wl-E'
10327 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10328 # Instead, shared libraries are loaded at an image base (0x10000000 by
10329 # default) and relocated if they conflict, which is a slow very memory
10330 # consuming and fragmenting process. To avoid this, we pick a random,
10331 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10332 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10333 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10334 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'
10337 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10339 if test linux
-dietlibc = "$host_os"; then
10340 case $cc_basename in
10341 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10344 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10345 && test no
= "$tmp_diet"
10347 tmp_addflag
=' $pic_flag'
10348 tmp_sharedflag
='-shared'
10349 case $cc_basename,$host_cpu in
10350 pgcc
*) # Portland Group C compiler
10351 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'
10352 tmp_addflag
=' $pic_flag'
10354 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10355 # Portland Group f77 and f90 compilers
10356 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'
10357 tmp_addflag
=' $pic_flag -Mnomain' ;;
10358 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10359 tmp_addflag
=' -i_dynamic' ;;
10360 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10361 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10362 ifc
* | ifort
*) # Intel Fortran compiler
10363 tmp_addflag
=' -nofor_main' ;;
10364 lf95
*) # Lahey Fortran 8.1
10365 whole_archive_flag_spec
=
10366 tmp_sharedflag
='--shared' ;;
10367 nagfor
*) # NAGFOR 5.3
10368 tmp_sharedflag
='-Wl,-shared' ;;
10369 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10370 tmp_sharedflag
='-qmkshrobj'
10372 nvcc
*) # Cuda Compiler Driver 2.2
10373 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'
10374 compiler_needs_object
=yes
10377 case `$CC -V 2>&1 | sed 5q` in
10378 *Sun\ C
*) # Sun C 5.9
10379 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'
10380 compiler_needs_object
=yes
10381 tmp_sharedflag
='-G' ;;
10382 *Sun\ F
*) # Sun Fortran 8.3
10383 tmp_sharedflag
='-G' ;;
10385 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10387 if test yes = "$supports_anon_versioning"; then
10388 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10389 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10390 echo "local: *; };" >> $output_objdir/$libname.ver~
10391 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10394 case $cc_basename in
10396 export_dynamic_flag_spec
='-rdynamic'
10398 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10399 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10400 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10401 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10402 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10403 if test yes = "$supports_anon_versioning"; then
10404 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10405 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10406 echo "local: *; };" >> $output_objdir/$libname.ver~
10407 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10417 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10418 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10421 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10422 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10427 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10431 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10432 *** create shared libraries on Solaris systems. Therefore, libtool
10433 *** is disabling shared libraries support. We urge you to upgrade GNU
10434 *** binutils to release 2.9.1 or newer. Another option is to modify
10435 *** your PATH or compiler configuration so that the native linker is
10436 *** used, and then restart.
10439 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10440 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10441 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10447 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10448 case `$LD -v 2>&1` in
10449 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10453 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10454 *** reliably create shared libraries on SCO systems. Therefore, libtool
10455 *** is disabling shared libraries support. We urge you to upgrade GNU
10456 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10457 *** your PATH or compiler configuration so that the native linker is
10458 *** used, and then restart.
10463 # For security reasons, it is highly recommended that you always
10464 # use absolute paths for naming shared libraries, and exclude the
10465 # DT_RUNPATH tag from executables and libraries. But doing so
10466 # requires that you compile everything twice, which is a pain.
10467 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10468 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10469 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10470 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10479 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10481 hardcode_direct
=yes
10482 hardcode_shlibpath_var
=no
10486 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10487 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10488 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10495 if test no
= "$ld_shlibs"; then
10497 hardcode_libdir_flag_spec
=
10498 export_dynamic_flag_spec
=
10499 whole_archive_flag_spec
=
10502 # PORTME fill in a description of your system's linker (not GNU ld)
10505 allow_undefined_flag
=unsupported
10506 always_export_symbols
=yes
10507 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'
10508 # Note: this linker hardcodes the directories in LIBPATH if there
10509 # are no directories specified by -L.
10510 hardcode_minus_L
=yes
10511 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10512 # Neither direct hardcoding nor static linking is supported with a
10514 hardcode_direct
=unsupported
10519 if test ia64
= "$host_cpu"; then
10520 # On IA64, the linker does run time linking by default, so we don't
10521 # have to do anything special.
10522 aix_use_runtimelinking
=no
10523 exp_sym_flag
='-Bexport'
10526 # If we're using GNU nm, then we don't want the "-C" option.
10527 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10528 # Without the "-l" option, or with the "-B" option, AIX nm treats
10529 # weak defined symbols like other global defined symbols, whereas
10530 # GNU nm marks them as "W".
10531 # While the 'weak' keyword is ignored in the Export File, we need
10532 # it in the Import File for the 'aix-soname' feature, so we have
10533 # to replace the "-B" option with "-P" for AIX nm.
10534 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10535 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'
10537 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'
10539 aix_use_runtimelinking
=no
10541 # Test if we are trying to use run time linking or normal
10542 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10543 # have runtime linking enabled, and use it for executables.
10544 # For shared libraries, we enable/disable runtime linking
10545 # depending on the kind of the shared library created -
10546 # when "with_aix_soname,aix_use_runtimelinking" is:
10547 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10548 # "aix,yes" lib.so shared, rtl:yes, for executables
10549 # lib.a static archive
10550 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10551 # lib.a(lib.so.V) shared, rtl:no, for executables
10552 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10553 # lib.a(lib.so.V) shared, rtl:no
10554 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10555 # lib.a static archive
10556 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10557 for ld_flag
in $LDFLAGS; do
10558 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
10559 aix_use_runtimelinking
=yes
10563 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10564 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10565 # so we don't have lib.a shared libs to link our executables.
10566 # We have to force runtime linking in this case.
10567 aix_use_runtimelinking
=yes
10568 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10573 exp_sym_flag
='-bexport'
10574 no_entry_flag
='-bnoentry'
10577 # When large executables or shared objects are built, AIX ld can
10578 # have problems creating the table of contents. If linking a library
10579 # or program results in "error TOC overflow" add -mminimal-toc to
10580 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10581 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10584 hardcode_direct
=yes
10585 hardcode_direct_absolute
=yes
10586 hardcode_libdir_separator
=':'
10587 link_all_deplibs
=yes
10588 file_list_spec
='$wl-f,'
10589 case $with_aix_soname,$aix_use_runtimelinking in
10590 aix
,*) ;; # traditional, no import file
10591 svr4
,* | *,yes) # use import file
10592 # The Import File defines what to hardcode.
10594 hardcode_direct_absolute
=no
10598 if test yes = "$GCC"; then
10599 case $host_os in aix4.
[012]|aix4.
[012].
*)
10600 # We only want to do this on AIX 4.2 and lower, the check
10601 # below for broken collect2 doesn't work under 4.3+
10602 collect2name
=`$CC -print-prog-name=collect2`
10603 if test -f "$collect2name" &&
10604 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10606 # We have reworked collect2
10609 # We have old collect2
10610 hardcode_direct
=unsupported
10611 # It fails to find uninstalled libraries when the uninstalled
10612 # path is not listed in the libpath. Setting hardcode_minus_L
10613 # to unsupported forces relinking
10614 hardcode_minus_L
=yes
10615 hardcode_libdir_flag_spec
='-L$libdir'
10616 hardcode_libdir_separator
=
10620 shared_flag
='-shared'
10621 if test yes = "$aix_use_runtimelinking"; then
10622 shared_flag
="$shared_flag "'$wl-G'
10624 # Need to ensure runtime linking is disabled for the traditional
10625 # shared library, or the linker may eventually find shared libraries
10626 # /with/ Import File - we do not want to mix them.
10627 shared_flag_aix
='-shared'
10628 shared_flag_svr4
='-shared $wl-G'
10631 if test ia64
= "$host_cpu"; then
10632 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10633 # chokes on -Wl,-G. The following line is correct:
10636 if test yes = "$aix_use_runtimelinking"; then
10637 shared_flag
='$wl-G'
10639 shared_flag
='$wl-bM:SRE'
10641 shared_flag_aix
='$wl-bM:SRE'
10642 shared_flag_svr4
='$wl-G'
10646 export_dynamic_flag_spec
='$wl-bexpall'
10647 # It seems that -bexpall does not export symbols beginning with
10648 # underscore (_), so it is better to generate a list of symbols to export.
10649 always_export_symbols
=yes
10650 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10651 # Warning - without using the other runtime loading flags (-brtl),
10652 # -berok will link without error, but may produce a broken library.
10653 allow_undefined_flag
='-berok'
10654 # Determine the default libpath from the value encoded in an
10655 # empty executable.
10656 if test set = "${lt_cv_aix_libpath+set}"; then
10657 aix_libpath
=$lt_cv_aix_libpath
10659 if ${lt_cv_aix_libpath_+:} false
; then :
10660 $as_echo_n "(cached) " >&6
10662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10673 if ac_fn_c_try_link
"$LINENO"; then :
10675 lt_aix_libpath_sed
='
10676 /Import File Strings/,/^$/ {
10678 s/^0 *\([^ ]*\) *$/\1/
10682 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10683 # Check for a 64-bit object if we didn't find anything.
10684 if test -z "$lt_cv_aix_libpath_"; then
10685 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10688 rm -f core conftest.err conftest.
$ac_objext \
10689 conftest
$ac_exeext conftest.
$ac_ext
10690 if test -z "$lt_cv_aix_libpath_"; then
10691 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10696 aix_libpath
=$lt_cv_aix_libpath_
10699 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10700 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
10702 if test ia64
= "$host_cpu"; then
10703 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10704 allow_undefined_flag
="-z nodefs"
10705 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"
10707 # Determine the default libpath from the value encoded in an
10708 # empty executable.
10709 if test set = "${lt_cv_aix_libpath+set}"; then
10710 aix_libpath
=$lt_cv_aix_libpath
10712 if ${lt_cv_aix_libpath_+:} false
; then :
10713 $as_echo_n "(cached) " >&6
10715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10726 if ac_fn_c_try_link
"$LINENO"; then :
10728 lt_aix_libpath_sed
='
10729 /Import File Strings/,/^$/ {
10731 s/^0 *\([^ ]*\) *$/\1/
10735 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10736 # Check for a 64-bit object if we didn't find anything.
10737 if test -z "$lt_cv_aix_libpath_"; then
10738 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10741 rm -f core conftest.err conftest.
$ac_objext \
10742 conftest
$ac_exeext conftest.
$ac_ext
10743 if test -z "$lt_cv_aix_libpath_"; then
10744 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10749 aix_libpath
=$lt_cv_aix_libpath_
10752 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10753 # Warning - without using the other run time loading flags,
10754 # -berok will link without error, but may produce a broken library.
10755 no_undefined_flag
=' $wl-bernotok'
10756 allow_undefined_flag
=' $wl-berok'
10757 if test yes = "$with_gnu_ld"; then
10758 # We only use this code for GNU lds that support --whole-archive.
10759 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10761 # Exported symbols can be pulled into shared objects from archives
10762 whole_archive_flag_spec
='$convenience'
10764 archive_cmds_need_lc
=yes
10765 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10766 # -brtl affects multiple linker settings, -berok does not and is overridden later
10767 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10768 if test svr4
!= "$with_aix_soname"; then
10769 # This is similar to how AIX traditionally builds its shared libraries.
10770 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'
10772 if test aix
!= "$with_aix_soname"; then
10773 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'
10775 # used by -dlpreopen to get the symbols
10776 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10778 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10786 # see comment about AmigaOS4 .so support
10787 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10788 archive_expsym_cmds
=''
10791 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)'
10792 hardcode_libdir_flag_spec
='-L$libdir'
10793 hardcode_minus_L
=yes
10799 export_dynamic_flag_spec
=-rdynamic
10802 cygwin
* | mingw
* | pw32
* | cegcc
*)
10803 # When not using gcc, we currently assume that we are using
10804 # Microsoft Visual C++.
10805 # hardcode_libdir_flag_spec is actually meaningless, as there is
10806 # no search path for DLLs.
10807 case $cc_basename in
10810 hardcode_libdir_flag_spec
=' '
10811 allow_undefined_flag
=unsupported
10812 always_export_symbols
=yes
10814 # Tell ltmain to make .lib files, not .a files.
10816 # Tell ltmain to make .dll files, not .so files.
10818 # FIXME: Setting linknames here is a bad hack.
10819 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10820 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10821 cp "$export_symbols" "$output_objdir/$soname.def";
10822 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10824 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10826 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10828 # The linker will not automatically build a static lib if we build a DLL.
10829 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10830 enable_shared_with_static_runtimes
=yes
10831 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10832 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10834 old_postinstall_cmds
='chmod 644 $oldlib'
10835 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10836 lt_tool_outputfile="@TOOL_OUTPUT@"~
10837 case $lt_outputfile in
10840 lt_outputfile=$lt_outputfile.exe
10841 lt_tool_outputfile=$lt_tool_outputfile.exe
10844 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10845 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10846 $RM "$lt_outputfile.manifest";
10850 # Assume MSVC wrapper
10851 hardcode_libdir_flag_spec
=' '
10852 allow_undefined_flag
=unsupported
10853 # Tell ltmain to make .lib files, not .a files.
10855 # Tell ltmain to make .dll files, not .so files.
10857 # FIXME: Setting linknames here is a bad hack.
10858 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10859 # The linker will automatically build a .lib file if we build a DLL.
10860 old_archive_from_new_cmds
='true'
10861 # FIXME: Should let the user specify the lib program.
10862 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10863 enable_shared_with_static_runtimes
=yes
10868 darwin
* | rhapsody
*)
10871 archive_cmds_need_lc
=no
10873 hardcode_automatic
=yes
10874 hardcode_shlibpath_var
=unsupported
10875 if test yes = "$lt_cv_ld_force_load"; then
10876 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\"`'
10879 whole_archive_flag_spec
=''
10881 link_all_deplibs
=yes
10882 allow_undefined_flag
=$_lt_dar_allow_undefined
10883 case $cc_basename in
10884 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10885 *) _lt_dar_can_shared
=$GCC ;;
10887 if test yes = "$_lt_dar_can_shared"; then
10888 output_verbose_link_cmd
=func_echo_all
10889 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10890 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10891 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"
10892 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"
10901 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10902 hardcode_libdir_flag_spec
='-L$libdir'
10903 hardcode_shlibpath_var
=no
10906 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10907 # support. Future versions do this automatically, but an explicit c++rt0.o
10908 # does not break anything, and helps significantly (at the cost of a little
10911 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10912 hardcode_libdir_flag_spec
='-R$libdir'
10913 hardcode_direct
=yes
10914 hardcode_shlibpath_var
=no
10917 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10919 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10920 hardcode_direct
=yes
10921 hardcode_minus_L
=yes
10922 hardcode_shlibpath_var
=no
10925 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10926 freebsd
* | dragonfly
*)
10927 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10928 hardcode_libdir_flag_spec
='-R$libdir'
10929 hardcode_direct
=yes
10930 hardcode_shlibpath_var
=no
10934 if test yes = "$GCC"; then
10935 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'
10937 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'
10939 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10940 hardcode_libdir_separator
=:
10941 hardcode_direct
=yes
10943 # hardcode_minus_L: Not really in the search PATH,
10944 # but as the default location of the library.
10945 hardcode_minus_L
=yes
10946 export_dynamic_flag_spec
='$wl-E'
10950 if test yes,no
= "$GCC,$with_gnu_ld"; then
10951 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10953 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10955 if test no
= "$with_gnu_ld"; then
10956 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10957 hardcode_libdir_separator
=:
10958 hardcode_direct
=yes
10959 hardcode_direct_absolute
=yes
10960 export_dynamic_flag_spec
='$wl-E'
10961 # hardcode_minus_L: Not really in the search PATH,
10962 # but as the default location of the library.
10963 hardcode_minus_L
=yes
10968 if test yes,no
= "$GCC,$with_gnu_ld"; then
10971 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10974 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10977 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10983 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10986 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10990 # Older versions of the 11.00 compiler do not understand -b yet
10991 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10993 $as_echo_n "checking if $CC understands -b... " >&6; }
10994 if ${lt_cv_prog_compiler__b+:} false
; then :
10995 $as_echo_n "(cached) " >&6
10997 lt_cv_prog_compiler__b
=no
10998 save_LDFLAGS
=$LDFLAGS
10999 LDFLAGS
="$LDFLAGS -b"
11000 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11001 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11002 # The linker can only warn and ignore the option if not recognized
11003 # So say no if there are warnings
11004 if test -s conftest.err
; then
11005 # Append any errors to the config.log.
11006 cat conftest.err
1>&5
11007 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11008 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11009 if diff conftest.exp conftest.er2
>/dev
/null
; then
11010 lt_cv_prog_compiler__b
=yes
11013 lt_cv_prog_compiler__b
=yes
11017 LDFLAGS
=$save_LDFLAGS
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11021 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11023 if test yes = "$lt_cv_prog_compiler__b"; then
11024 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11026 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11032 if test no
= "$with_gnu_ld"; then
11033 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11034 hardcode_libdir_separator
=:
11039 hardcode_shlibpath_var
=no
11042 hardcode_direct
=yes
11043 hardcode_direct_absolute
=yes
11044 export_dynamic_flag_spec
='$wl-E'
11046 # hardcode_minus_L: Not really in the search PATH,
11047 # but as the default location of the library.
11048 hardcode_minus_L
=yes
11054 irix5
* | irix6
* | nonstopux
*)
11055 if test yes = "$GCC"; then
11056 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'
11057 # Try to use the -exported_symbol ld option, if it does not
11058 # work, assume that -exports_file does not work either and
11059 # implicitly export all symbols.
11060 # This should be the same for all languages, so no per-tag cache variable.
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11062 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11063 if ${lt_cv_irix_exported_symbol+:} false
; then :
11064 $as_echo_n "(cached) " >&6
11066 save_LDFLAGS
=$LDFLAGS
11067 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11070 int foo (void) { return 0; }
11072 if ac_fn_c_try_link
"$LINENO"; then :
11073 lt_cv_irix_exported_symbol
=yes
11075 lt_cv_irix_exported_symbol
=no
11077 rm -f core conftest.err conftest.
$ac_objext \
11078 conftest
$ac_exeext conftest.
$ac_ext
11079 LDFLAGS
=$save_LDFLAGS
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11082 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11083 if test yes = "$lt_cv_irix_exported_symbol"; then
11084 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'
11087 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'
11088 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'
11090 archive_cmds_need_lc
='no'
11091 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11092 hardcode_libdir_separator
=:
11094 link_all_deplibs
=yes
11098 case $cc_basename in
11100 # Fabrice Bellard et al's Tiny C Compiler
11102 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11108 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11109 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11111 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11113 hardcode_libdir_flag_spec
='-R$libdir'
11114 hardcode_direct
=yes
11115 hardcode_shlibpath_var
=no
11119 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11120 hardcode_direct
=yes
11121 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11122 hardcode_libdir_separator
=:
11123 hardcode_shlibpath_var
=no
11129 openbsd
* | bitrig
*)
11130 if test -f /usr
/libexec
/ld.so
; then
11131 hardcode_direct
=yes
11132 hardcode_shlibpath_var
=no
11133 hardcode_direct_absolute
=yes
11134 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11135 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11136 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11137 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11138 export_dynamic_flag_spec
='$wl-E'
11140 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11141 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11149 hardcode_libdir_flag_spec
='-L$libdir'
11150 hardcode_minus_L
=yes
11151 allow_undefined_flag
=unsupported
11153 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11154 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11155 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11156 $ECHO EXPORTS >> $output_objdir/$libname.def~
11157 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11158 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11159 emximp -o $lib $output_objdir/$libname.def'
11160 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11161 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11162 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11163 $ECHO EXPORTS >> $output_objdir/$libname.def~
11164 prefix_cmds="$SED"~
11165 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11166 prefix_cmds="$prefix_cmds -e 1d";
11168 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11169 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11170 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11171 emximp -o $lib $output_objdir/$libname.def'
11172 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11173 enable_shared_with_static_runtimes
=yes
11177 if test yes = "$GCC"; then
11178 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11179 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'
11181 allow_undefined_flag
=' -expect_unresolved \*'
11182 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'
11184 archive_cmds_need_lc
='no'
11185 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11186 hardcode_libdir_separator
=:
11189 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11190 if test yes = "$GCC"; then
11191 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11192 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'
11193 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11195 allow_undefined_flag
=' -expect_unresolved \*'
11196 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'
11197 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~
11198 $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'
11200 # Both c and cxx compiler support -rpath directly
11201 hardcode_libdir_flag_spec
='-rpath $libdir'
11203 archive_cmds_need_lc
='no'
11204 hardcode_libdir_separator
=:
11208 no_undefined_flag
=' -z defs'
11209 if test yes = "$GCC"; then
11211 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11212 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11213 $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'
11215 case `$CC -V 2>&1` in
11218 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11219 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11220 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11224 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11225 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11226 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11230 hardcode_libdir_flag_spec
='-R$libdir'
11231 hardcode_shlibpath_var
=no
11233 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11235 # The compiler driver will combine and reorder linker options,
11236 # but understands '-z linker_flag'. GCC discards it without '$wl',
11237 # but is careful enough not to reorder.
11238 # Supported since Solaris 2.6 (maybe 2.5.1?)
11239 if test yes = "$GCC"; then
11240 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11242 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11246 link_all_deplibs
=yes
11250 if test sequent
= "$host_vendor"; then
11251 # Use $CC to link under sequent, because it throws in some extra .o
11252 # files that make .init and .fini sections work.
11253 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11255 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11257 hardcode_libdir_flag_spec
='-L$libdir'
11258 hardcode_direct
=yes
11259 hardcode_minus_L
=yes
11260 hardcode_shlibpath_var
=no
11264 case $host_vendor in
11266 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11267 hardcode_direct
=yes # is this really true???
11270 ## LD is ld it makes a PLAMLIB
11271 ## CC just makes a GrossModule.
11272 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11273 reload_cmds
='$CC -r -o $output$reload_objs'
11277 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11278 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11281 runpath_var
='LD_RUN_PATH'
11282 hardcode_shlibpath_var
=no
11286 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11287 hardcode_shlibpath_var
=no
11288 export_dynamic_flag_spec
='-Bexport'
11292 if test -d /usr
/nec
; then
11293 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11294 hardcode_shlibpath_var
=no
11295 runpath_var
=LD_RUN_PATH
11296 hardcode_runpath_var
=yes
11301 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11302 no_undefined_flag
='$wl-z,text'
11303 archive_cmds_need_lc
=no
11304 hardcode_shlibpath_var
=no
11305 runpath_var
='LD_RUN_PATH'
11307 if test yes = "$GCC"; then
11308 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11309 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11311 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11312 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11316 sysv5
* | sco3.2v5
* | sco5v6
*)
11317 # Note: We CANNOT use -z defs as we might desire, because we do not
11318 # link with -lc, and that would cause any symbols used from libc to
11319 # always be unresolved, which means just about no library would
11320 # ever link correctly. If we're not using GNU ld we use -z text
11321 # though, which does catch some bad symbols but isn't as heavy-handed
11323 no_undefined_flag
='$wl-z,text'
11324 allow_undefined_flag
='$wl-z,nodefs'
11325 archive_cmds_need_lc
=no
11326 hardcode_shlibpath_var
=no
11327 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11328 hardcode_libdir_separator
=':'
11329 link_all_deplibs
=yes
11330 export_dynamic_flag_spec
='$wl-Bexport'
11331 runpath_var
='LD_RUN_PATH'
11333 if test yes = "$GCC"; then
11334 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11335 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11337 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11338 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11343 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11344 hardcode_libdir_flag_spec
='-L$libdir'
11345 hardcode_shlibpath_var
=no
11353 if test sni
= "$host_vendor"; then
11355 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11356 export_dynamic_flag_spec
='$wl-Blargedynsym'
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11363 $as_echo "$ld_shlibs" >&6; }
11364 test no
= "$ld_shlibs" && can_build_shared
=no
11366 with_gnu_ld
=$with_gnu_ld
11383 # Do we need to explicitly link libc?
11385 case "x$archive_cmds_need_lc" in
11387 # Assume -lc should be added
11388 archive_cmds_need_lc
=yes
11390 if test yes,yes = "$GCC,$enable_shared"; then
11391 case $archive_cmds in
11393 # FIXME: we may have to deal with multi-command sequences.
11396 # Test whether the compiler implicitly links with -lc since on some
11397 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11398 # to ld, don't add -lc before -lgcc.
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11400 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11401 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11402 $as_echo_n "(cached) " >&6
11405 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11408 (eval $ac_compile) 2>&5
11410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11411 test $ac_status = 0; } 2>conftest.err
; then
11414 libobjs
=conftest.
$ac_objext
11416 wl
=$lt_prog_compiler_wl
11417 pic_flag
=$lt_prog_compiler_pic
11423 lt_save_allow_undefined_flag
=$allow_undefined_flag
11424 allow_undefined_flag
=
11425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11426 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11429 test $ac_status = 0; }
11431 lt_cv_archive_cmds_need_lc
=no
11433 lt_cv_archive_cmds_need_lc
=yes
11435 allow_undefined_flag
=$lt_save_allow_undefined_flag
11437 cat conftest.err
1>&5
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11443 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11444 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11603 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11605 if test yes = "$GCC"; then
11607 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11608 *) lt_awk_arg
='/^libraries:/' ;;
11611 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11612 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11614 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11615 case $lt_search_path_spec in
11617 # if the path contains ";" then we assume it to be the separator
11618 # otherwise default to the standard path separator (i.e. ":") - it is
11619 # assumed that no part of a normal pathname contains ";" but that should
11620 # okay in the real world where ";" in dirpaths is itself problematic.
11621 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11624 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11627 # Ok, now we have the path, separated by spaces, we can step through it
11628 # and add multilib dir if necessary...
11629 lt_tmp_lt_search_path_spec
=
11630 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11631 # ...but if some path component already ends with the multilib dir we assume
11632 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11633 case "$lt_multi_os_dir; $lt_search_path_spec " in
11634 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11638 for lt_sys_path
in $lt_search_path_spec; do
11639 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11640 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11641 elif test -n "$lt_multi_os_dir"; then
11642 test -d "$lt_sys_path" && \
11643 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11646 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11647 BEGIN {RS = " "; FS = "/|\n";} {
11650 for (lt_i = NF; lt_i > 0; lt_i--) {
11651 if ($lt_i != "" && $lt_i != ".") {
11652 if ($lt_i == "..") {
11655 if (lt_count == 0) {
11656 lt_foo = "/" $lt_i lt_foo;
11663 if (lt_foo != "") { lt_freq[lt_foo]++; }
11664 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11666 # AWK program above erroneously prepends '/' to C:/dos/paths
11669 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11670 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11672 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11674 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11676 library_names_spec
=
11677 libname_spec
='lib$name'
11681 postuninstall_cmds
=
11685 shlibpath_overrides_runpath
=unknown
11687 dynamic_linker
="$host_os ld.so"
11688 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11689 need_lib_prefix
=unknown
11690 hardcode_into_libs
=no
11692 # when you set need_version to no, make sure it does not cause -set_version
11693 # flags to be left without arguments
11694 need_version
=unknown
11700 version_type
=linux
# correct to gnu/linux during the next big refactor
11701 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11702 shlibpath_var
=LIBPATH
11704 # AIX 3 has no versioning support, so we append a major version to the name.
11705 soname_spec
='$libname$release$shared_ext$major'
11709 version_type
=linux
# correct to gnu/linux during the next big refactor
11712 hardcode_into_libs
=yes
11713 if test ia64
= "$host_cpu"; then
11714 # AIX 5 supports IA64
11715 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11716 shlibpath_var
=LD_LIBRARY_PATH
11718 # With GCC up to 2.95.x, collect2 would create an import file
11719 # for dependence libraries. The import file would start with
11720 # the line '#! .'. This would cause the generated library to
11721 # depend on '.', always an invalid library. This was fixed in
11722 # development snapshots of GCC prior to 3.0.
11724 aix4
| aix4.
[01] | aix4.
[01].
*)
11725 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11727 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
11730 can_build_shared
=no
11734 # Using Import Files as archive members, it is possible to support
11735 # filename-based versioning of shared library archives on AIX. While
11736 # this would work for both with and without runtime linking, it will
11737 # prevent static linking of such archives. So we do filename-based
11738 # shared library versioning with .so extension only, which is used
11739 # when both runtime linking and shared linking is enabled.
11740 # Unfortunately, runtime linking may impact performance, so we do
11741 # not want this to be the default eventually. Also, we use the
11742 # versioned .so libs for executables only if there is the -brtl
11743 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11744 # To allow for filename-based versioning support, we need to create
11745 # libNAME.so.V as an archive file, containing:
11746 # *) an Import File, referring to the versioned filename of the
11747 # archive as well as the shared archive member, telling the
11748 # bitwidth (32 or 64) of that shared object, and providing the
11749 # list of exported symbols of that shared object, eventually
11750 # decorated with the 'weak' keyword
11751 # *) the shared object with the F_LOADONLY flag set, to really avoid
11752 # it being seen by the linker.
11753 # At run time we better use the real file rather than another symlink,
11754 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11756 case $with_aix_soname,$aix_use_runtimelinking in
11757 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11758 # soname into executable. Probably we can add versioning support to
11759 # collect2, so additional links can be useful in future.
11760 aix
,yes) # traditional libtool
11761 dynamic_linker
='AIX unversionable lib.so'
11762 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11763 # instead of lib<name>.a to let people know that these are not
11764 # typical AIX shared libraries.
11765 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11767 aix
,no
) # traditional AIX only
11768 dynamic_linker
='AIX lib.a(lib.so.V)'
11769 # We preserve .a as extension for shared libraries through AIX4.2
11770 # and later when we are not doing run time linking.
11771 library_names_spec
='$libname$release.a $libname.a'
11772 soname_spec
='$libname$release$shared_ext$major'
11774 svr4
,*) # full svr4 only
11775 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11776 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11777 # We do not specify a path in Import Files, so LIBPATH fires.
11778 shlibpath_overrides_runpath
=yes
11780 *,yes) # both, prefer svr4
11781 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11782 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11783 # unpreferred sharedlib libNAME.a needs extra handling
11784 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"'
11785 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"'
11786 # We do not specify a path in Import Files, so LIBPATH fires.
11787 shlibpath_overrides_runpath
=yes
11789 *,no
) # both, prefer aix
11790 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11791 library_names_spec
='$libname$release.a $libname.a'
11792 soname_spec
='$libname$release$shared_ext$major'
11793 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11794 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)'
11795 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"'
11798 shlibpath_var
=LIBPATH
11805 # Since July 2007 AmigaOS4 officially supports .so libraries.
11806 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11807 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11810 library_names_spec
='$libname.ixlibrary $libname.a'
11811 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11812 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'
11818 library_names_spec
='$libname$shared_ext'
11819 dynamic_linker
="$host_os ld.so"
11820 shlibpath_var
=LIBRARY_PATH
11824 version_type
=linux
# correct to gnu/linux during the next big refactor
11826 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11827 soname_spec
='$libname$release$shared_ext$major'
11828 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11829 shlibpath_var
=LD_LIBRARY_PATH
11830 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11831 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11832 # the default ld.so.conf also contains /usr/contrib/lib and
11833 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11834 # libtool to hard-code these into programs
11837 cygwin
* | mingw
* | pw32
* | cegcc
*)
11838 version_type
=windows
11843 case $GCC,$cc_basename in
11846 library_names_spec
='$libname.dll.a'
11847 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11848 postinstall_cmds
='base_file=`basename \$file`~
11849 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11850 dldir=$destdir/`dirname \$dlpath`~
11851 test -d \$dldir || mkdir -p \$dldir~
11852 $install_prog $dir/$dlname \$dldir/$dlname~
11853 chmod a+x \$dldir/$dlname~
11854 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11855 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11857 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11858 dlpath=$dir/\$dldll~
11860 shlibpath_overrides_runpath
=yes
11864 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11865 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11867 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11870 # MinGW DLLs use traditional 'lib' prefix
11871 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11874 # pw32 DLLs use 'pw' prefix rather than 'lib'
11875 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11878 dynamic_linker
='Win32 ld.exe'
11883 libname_spec
='$name'
11884 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11885 library_names_spec
='$libname.dll.lib'
11889 sys_lib_search_path_spec
=
11892 for lt_path
in $LIB
11895 # Let DOS variable expansion print the short 8.3 style file name.
11896 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11897 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11900 # Convert to MSYS style.
11901 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11904 # Convert to unix form, then to dos form, then back to unix form
11905 # but this time dos style (no spaces!) so that the unix form looks
11906 # like /cygdrive/c/PROGRA~1:/cygdr...
11907 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11908 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11909 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11912 sys_lib_search_path_spec
=$LIB
11913 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11914 # It is most probably a Windows format PATH.
11915 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11917 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11919 # FIXME: find the short name or the path components, as spaces are
11920 # common. (e.g. "Program Files" -> "PROGRA~1")
11924 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11925 postinstall_cmds
='base_file=`basename \$file`~
11926 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11927 dldir=$destdir/`dirname \$dlpath`~
11928 test -d \$dldir || mkdir -p \$dldir~
11929 $install_prog $dir/$dlname \$dldir/$dlname'
11930 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11931 dlpath=$dir/\$dldll~
11933 shlibpath_overrides_runpath
=yes
11934 dynamic_linker
='Win32 link.exe'
11938 # Assume MSVC wrapper
11939 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11940 dynamic_linker
='Win32 ld.exe'
11943 # FIXME: first we should search . and the directory the executable is in
11947 darwin
* | rhapsody
*)
11948 dynamic_linker
="$host_os dyld"
11949 version_type
=darwin
11952 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11953 soname_spec
='$libname$release$major$shared_ext'
11954 shlibpath_overrides_runpath
=yes
11955 shlibpath_var
=DYLD_LIBRARY_PATH
11956 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11958 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11959 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11963 version_type
=linux
# correct to gnu/linux during the next big refactor
11966 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11967 soname_spec
='$libname$release$shared_ext$major'
11968 shlibpath_var
=LD_LIBRARY_PATH
11971 freebsd
* | dragonfly
*)
11972 # DragonFly does not have aout. When/if they implement a new
11973 # versioning mechanism, adjust this.
11974 if test -x /usr
/bin
/objformat
; then
11975 objformat
=`/usr/bin/objformat`
11978 freebsd
[23].
*) objformat
=aout
;;
11979 *) objformat
=elf
;;
11982 version_type
=freebsd
-$objformat
11983 case $version_type in
11985 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11986 soname_spec
='$libname$release$shared_ext$major'
11991 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11995 shlibpath_var
=LD_LIBRARY_PATH
11998 shlibpath_overrides_runpath
=yes
12000 freebsd3.
[01]* | freebsdelf3.
[01]*)
12001 shlibpath_overrides_runpath
=yes
12002 hardcode_into_libs
=yes
12004 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12005 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12006 shlibpath_overrides_runpath
=no
12007 hardcode_into_libs
=yes
12009 *) # from 4.6 on, and DragonFly
12010 shlibpath_overrides_runpath
=yes
12011 hardcode_into_libs
=yes
12017 version_type
=linux
# correct to gnu/linux during the next big refactor
12020 dynamic_linker
="$host_os runtime_loader"
12021 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12022 soname_spec
='$libname$release$shared_ext$major'
12023 shlibpath_var
=LIBRARY_PATH
12024 shlibpath_overrides_runpath
=no
12025 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12026 hardcode_into_libs
=yes
12029 hpux9
* | hpux10
* | hpux11
*)
12030 # Give a soname corresponding to the major version so that dld.sl refuses to
12031 # link against other versions.
12038 hardcode_into_libs
=yes
12039 dynamic_linker
="$host_os dld.so"
12040 shlibpath_var
=LD_LIBRARY_PATH
12041 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12042 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12043 soname_spec
='$libname$release$shared_ext$major'
12044 if test 32 = "$HPUX_IA64_MODE"; then
12045 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12046 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12048 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12049 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12054 hardcode_into_libs
=yes
12055 dynamic_linker
="$host_os dld.sl"
12056 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12057 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12058 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12059 soname_spec
='$libname$release$shared_ext$major'
12060 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12061 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12065 dynamic_linker
="$host_os dld.sl"
12066 shlibpath_var
=SHLIB_PATH
12067 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12068 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12069 soname_spec
='$libname$release$shared_ext$major'
12072 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12073 postinstall_cmds
='chmod 555 $lib'
12074 # or fails outright, so override atomically:
12075 install_override_mode
=555
12079 version_type
=linux
# correct to gnu/linux during the next big refactor
12082 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12083 soname_spec
='$libname$release$shared_ext$major'
12084 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12085 shlibpath_var
=LD_LIBRARY_PATH
12086 shlibpath_overrides_runpath
=no
12087 hardcode_into_libs
=yes
12090 irix5
* | irix6
* | nonstopux
*)
12092 nonstopux
*) version_type
=nonstopux
;;
12094 if test yes = "$lt_cv_prog_gnu_ld"; then
12095 version_type
=linux
# correct to gnu/linux during the next big refactor
12102 soname_spec
='$libname$release$shared_ext$major'
12103 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12105 irix5
* | nonstopux
*)
12106 libsuff
= shlibsuff
=
12109 case $LD in # libtool.m4 will add one of these switches to LD
12110 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12111 libsuff
= shlibsuff
= libmagic
=32-bit;;
12112 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12113 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12114 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12115 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12116 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
12120 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12121 shlibpath_overrides_runpath
=no
12122 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12123 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12124 hardcode_into_libs
=yes
12127 # No shared lib support for Linux oldld, aout, or coff.
12128 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12133 version_type
=none
# Android doesn't support versioned libraries.
12136 library_names_spec
='$libname$release$shared_ext'
12137 soname_spec
='$libname$release$shared_ext'
12139 shlibpath_var
=LD_LIBRARY_PATH
12140 shlibpath_overrides_runpath
=yes
12142 # This implies no fast_install, which is unacceptable.
12143 # Some rework will be needed to allow for fast_install
12144 # before this can be enabled.
12145 hardcode_into_libs
=yes
12147 dynamic_linker
='Android linker'
12148 # Don't embed -rpath directories since the linker doesn't support them.
12149 hardcode_libdir_flag_spec
='-L$libdir'
12152 # This must be glibc/ELF.
12153 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12154 version_type
=linux
# correct to gnu/linux during the next big refactor
12157 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12158 soname_spec
='$libname$release$shared_ext$major'
12159 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12160 shlibpath_var
=LD_LIBRARY_PATH
12161 shlibpath_overrides_runpath
=no
12163 # Some binutils ld are patched to set DT_RUNPATH
12164 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12165 $as_echo_n "(cached) " >&6
12167 lt_cv_shlibpath_overrides_runpath
=no
12168 save_LDFLAGS
=$LDFLAGS
12169 save_libdir
=$libdir
12170 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12171 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12173 /* end confdefs.h. */
12183 if ac_fn_c_try_link
"$LINENO"; then :
12184 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
12185 lt_cv_shlibpath_overrides_runpath
=yes
12188 rm -f core conftest.err conftest.
$ac_objext \
12189 conftest
$ac_exeext conftest.
$ac_ext
12190 LDFLAGS
=$save_LDFLAGS
12191 libdir
=$save_libdir
12195 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12197 # This implies no fast_install, which is unacceptable.
12198 # Some rework will be needed to allow for fast_install
12199 # before this can be enabled.
12200 hardcode_into_libs
=yes
12202 # Ideally, we could use ldconfig to report *all* directores which are
12203 # searched for libraries, however this is still not possible. Aside from not
12204 # being certain /sbin/ldconfig is available, command
12205 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12206 # even though it is searched at run-time. Try to do the best guess by
12207 # appending ld.so.conf contents (and includes) to the search path.
12208 if test -f /etc
/ld.so.conf
; then
12209 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' ' '`
12210 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12213 # We used to test for /lib/ld.so.1 and disable shared libraries on
12214 # powerpc, because MkLinux only supported shared libraries with the
12215 # GNU dynamic linker. Since this was broken with cross compilers,
12216 # most powerpc-linux boxes support dynamic linking these days and
12217 # people can always --disable-shared, the test was removed, and we
12218 # assume the GNU/Linux dynamic linker is in use.
12219 dynamic_linker
='GNU/Linux ld.so'
12226 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12227 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12228 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12229 dynamic_linker
='NetBSD (a.out) ld.so'
12231 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12232 soname_spec
='$libname$release$shared_ext$major'
12233 dynamic_linker
='NetBSD ld.elf_so'
12235 shlibpath_var
=LD_LIBRARY_PATH
12236 shlibpath_overrides_runpath
=yes
12237 hardcode_into_libs
=yes
12241 version_type
=linux
# correct to gnu/linux during the next big refactor
12242 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12243 shlibpath_var
=LD_LIBRARY_PATH
12244 shlibpath_overrides_runpath
=yes
12251 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12252 soname_spec
='$libname$release$shared_ext$major'
12253 shlibpath_var
=LD_LIBRARY_PATH
12254 shlibpath_overrides_runpath
=no
12255 hardcode_into_libs
=yes
12256 dynamic_linker
='ldqnx.so'
12259 openbsd
* | bitrig
*)
12261 sys_lib_dlsearch_path_spec
=/usr
/lib
12263 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12268 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12269 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12270 shlibpath_var
=LD_LIBRARY_PATH
12271 shlibpath_overrides_runpath
=yes
12275 libname_spec
='$name'
12276 version_type
=windows
12280 # OS/2 can only load a DLL with a base name of 8 characters or less.
12281 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12282 v=$($ECHO $release$versuffix | tr -d .-);
12283 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12284 $ECHO $n$v`$shared_ext'
12285 library_names_spec
='${libname}_dll.$libext'
12286 dynamic_linker
='OS/2 ld.exe'
12287 shlibpath_var
=BEGINLIBPATH
12288 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12289 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12290 postinstall_cmds
='base_file=`basename \$file`~
12291 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12292 dldir=$destdir/`dirname \$dlpath`~
12293 test -d \$dldir || mkdir -p \$dldir~
12294 $install_prog $dir/$dlname \$dldir/$dlname~
12295 chmod a+x \$dldir/$dlname~
12296 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12297 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12299 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12300 dlpath=$dir/\$dldll~
12304 osf3
* | osf4
* | osf5
*)
12308 soname_spec
='$libname$release$shared_ext$major'
12309 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12310 shlibpath_var
=LD_LIBRARY_PATH
12311 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12312 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12320 version_type
=linux
# correct to gnu/linux during the next big refactor
12323 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12324 soname_spec
='$libname$release$shared_ext$major'
12325 shlibpath_var
=LD_LIBRARY_PATH
12326 shlibpath_overrides_runpath
=yes
12327 hardcode_into_libs
=yes
12328 # ldd complains unless libraries are executable
12329 postinstall_cmds
='chmod +x $lib'
12334 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12335 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12336 shlibpath_var
=LD_LIBRARY_PATH
12337 shlibpath_overrides_runpath
=yes
12338 if test yes = "$with_gnu_ld"; then
12345 version_type
=linux
# correct to gnu/linux during the next big refactor
12346 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12347 soname_spec
='$libname$release$shared_ext$major'
12348 shlibpath_var
=LD_LIBRARY_PATH
12349 case $host_vendor in
12351 shlibpath_overrides_runpath
=no
12353 runpath_var
=LD_RUN_PATH
12361 shlibpath_overrides_runpath
=no
12362 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12368 if test -d /usr
/nec
; then
12369 version_type
=linux
# correct to gnu/linux during the next big refactor
12370 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12371 soname_spec
='$libname$shared_ext.$major'
12372 shlibpath_var
=LD_LIBRARY_PATH
12376 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12380 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12381 soname_spec
='$libname$release$shared_ext$major'
12382 shlibpath_var
=LD_LIBRARY_PATH
12383 shlibpath_overrides_runpath
=yes
12384 hardcode_into_libs
=yes
12385 if test yes = "$with_gnu_ld"; then
12386 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12388 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12391 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12395 sys_lib_dlsearch_path_spec
='/usr/lib'
12399 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12400 version_type
=linux
# correct to gnu/linux during the next big refactor
12403 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12404 shlibpath_var
=LD_LIBRARY_PATH
12405 shlibpath_overrides_runpath
=no
12406 hardcode_into_libs
=yes
12410 version_type
=linux
# correct to gnu/linux during the next big refactor
12411 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12412 soname_spec
='$libname$release$shared_ext$major'
12413 shlibpath_var
=LD_LIBRARY_PATH
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12421 $as_echo "$dynamic_linker" >&6; }
12422 test no
= "$dynamic_linker" && can_build_shared
=no
12424 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12425 if test yes = "$GCC"; then
12426 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12429 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12430 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12433 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12434 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12437 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12438 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12440 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12441 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12443 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12444 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12543 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12545 if test -n "$hardcode_libdir_flag_spec" ||
12546 test -n "$runpath_var" ||
12547 test yes = "$hardcode_automatic"; then
12549 # We can hardcode non-existent directories.
12550 if test no
!= "$hardcode_direct" &&
12551 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12552 # have to relink, otherwise we might link with an installed library
12553 # when we should be linking with a yet-to-be-installed one
12554 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12555 test no
!= "$hardcode_minus_L"; then
12556 # Linking always hardcodes the temporary library directory.
12557 hardcode_action
=relink
12559 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12560 hardcode_action
=immediate
12563 # We cannot hardcode anything, or else we can only hardcode existing
12565 hardcode_action
=unsupported
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12568 $as_echo "$hardcode_action" >&6; }
12570 if test relink
= "$hardcode_action" ||
12571 test yes = "$inherit_rpath"; then
12572 # Fast installation is not supported
12573 enable_fast_install
=no
12574 elif test yes = "$shlibpath_overrides_runpath" ||
12575 test no
= "$enable_shared"; then
12576 # Fast installation is not necessary
12577 enable_fast_install
=needless
12585 if test yes != "$enable_dlopen"; then
12586 enable_dlopen
=unknown
12587 enable_dlopen_self
=unknown
12588 enable_dlopen_self_static
=unknown
12595 lt_cv_dlopen
=load_add_on
12597 lt_cv_dlopen_self
=yes
12600 mingw
* | pw32
* | cegcc
*)
12601 lt_cv_dlopen
=LoadLibrary
12606 lt_cv_dlopen
=dlopen
12611 # if libdl is installed we need to link against it
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12613 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12614 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12615 $as_echo_n "(cached) " >&6
12617 ac_check_lib_save_LIBS
=$LIBS
12619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12622 /* Override any GCC internal prototype to avoid an error.
12623 Use char because int might match the return type of a GCC
12624 builtin and then its argument prototype would still apply. */
12637 if ac_fn_c_try_link
"$LINENO"; then :
12638 ac_cv_lib_dl_dlopen
=yes
12640 ac_cv_lib_dl_dlopen
=no
12642 rm -f core conftest.err conftest.
$ac_objext \
12643 conftest
$ac_exeext conftest.
$ac_ext
12644 LIBS
=$ac_check_lib_save_LIBS
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12647 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12648 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12649 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12654 lt_cv_dlopen_self
=yes
12661 # Don't try to run any link tests for TPF. We know it's impossible
12662 # because TPF is a cross-compiler, and we know how we open DSOs.
12663 lt_cv_dlopen
=dlopen
12665 lt_cv_dlopen_self
=no
12669 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12670 if test "x$ac_cv_func_shl_load" = xyes
; then :
12671 lt_cv_dlopen
=shl_load
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12674 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12675 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12676 $as_echo_n "(cached) " >&6
12678 ac_check_lib_save_LIBS
=$LIBS
12680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12683 /* Override any GCC internal prototype to avoid an error.
12684 Use char because int might match the return type of a GCC
12685 builtin and then its argument prototype would still apply. */
12693 return shl_load ();
12698 if ac_fn_c_try_link
"$LINENO"; then :
12699 ac_cv_lib_dld_shl_load
=yes
12701 ac_cv_lib_dld_shl_load
=no
12703 rm -f core conftest.err conftest.
$ac_objext \
12704 conftest
$ac_exeext conftest.
$ac_ext
12705 LIBS
=$ac_check_lib_save_LIBS
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12708 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12709 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12710 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12712 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12713 if test "x$ac_cv_func_dlopen" = xyes
; then :
12714 lt_cv_dlopen
=dlopen
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12717 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12718 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12719 $as_echo_n "(cached) " >&6
12721 ac_check_lib_save_LIBS
=$LIBS
12723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 /* Override any GCC internal prototype to avoid an error.
12727 Use char because int might match the return type of a GCC
12728 builtin and then its argument prototype would still apply. */
12741 if ac_fn_c_try_link
"$LINENO"; then :
12742 ac_cv_lib_dl_dlopen
=yes
12744 ac_cv_lib_dl_dlopen
=no
12746 rm -f core conftest.err conftest.
$ac_objext \
12747 conftest
$ac_exeext conftest.
$ac_ext
12748 LIBS
=$ac_check_lib_save_LIBS
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12751 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12752 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12753 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12756 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12757 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12758 $as_echo_n "(cached) " >&6
12760 ac_check_lib_save_LIBS
=$LIBS
12761 LIBS
="-lsvld $LIBS"
12762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12763 /* end confdefs.h. */
12765 /* Override any GCC internal prototype to avoid an error.
12766 Use char because int might match the return type of a GCC
12767 builtin and then its argument prototype would still apply. */
12780 if ac_fn_c_try_link
"$LINENO"; then :
12781 ac_cv_lib_svld_dlopen
=yes
12783 ac_cv_lib_svld_dlopen
=no
12785 rm -f core conftest.err conftest.
$ac_objext \
12786 conftest
$ac_exeext conftest.
$ac_ext
12787 LIBS
=$ac_check_lib_save_LIBS
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12790 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12791 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12792 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12795 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12796 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12797 $as_echo_n "(cached) " >&6
12799 ac_check_lib_save_LIBS
=$LIBS
12801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12802 /* end confdefs.h. */
12804 /* Override any GCC internal prototype to avoid an error.
12805 Use char because int might match the return type of a GCC
12806 builtin and then its argument prototype would still apply. */
12814 return dld_link ();
12819 if ac_fn_c_try_link
"$LINENO"; then :
12820 ac_cv_lib_dld_dld_link
=yes
12822 ac_cv_lib_dld_dld_link
=no
12824 rm -f core conftest.err conftest.
$ac_objext \
12825 conftest
$ac_exeext conftest.
$ac_ext
12826 LIBS
=$ac_check_lib_save_LIBS
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12829 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12830 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12831 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12852 if test no
= "$lt_cv_dlopen"; then
12858 case $lt_cv_dlopen in
12860 save_CPPFLAGS
=$CPPFLAGS
12861 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12863 save_LDFLAGS
=$LDFLAGS
12864 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12867 LIBS
="$lt_cv_dlopen_libs $LIBS"
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12870 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12871 if ${lt_cv_dlopen_self+:} false
; then :
12872 $as_echo_n "(cached) " >&6
12874 if test yes = "$cross_compiling"; then :
12875 lt_cv_dlopen_self
=cross
12877 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12878 lt_status
=$lt_dlunknown
12879 cat > conftest.
$ac_ext <<_LT_EOF
12880 #line $LINENO "configure"
12881 #include "confdefs.h"
12890 # define LT_DLGLOBAL RTLD_GLOBAL
12893 # define LT_DLGLOBAL DL_GLOBAL
12895 # define LT_DLGLOBAL 0
12899 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12900 find out it does not work in some platform. */
12901 #ifndef LT_DLLAZY_OR_NOW
12903 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12906 # define LT_DLLAZY_OR_NOW DL_LAZY
12909 # define LT_DLLAZY_OR_NOW RTLD_NOW
12912 # define LT_DLLAZY_OR_NOW DL_NOW
12914 # define LT_DLLAZY_OR_NOW 0
12921 /* When -fvisibility=hidden is used, assume the code has been annotated
12922 correspondingly for the symbols needed. */
12923 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12924 int fnord () __attribute__((visibility("default")));
12927 int fnord () { return 42; }
12930 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12931 int status = $lt_dlunknown;
12935 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12938 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12939 else puts (dlerror ());
12941 /* dlclose (self); */
12949 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12950 (eval $ac_link) 2>&5
12952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12953 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12954 (.
/conftest
; exit; ) >&5 2>/dev
/null
12956 case x
$lt_status in
12957 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12958 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12959 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12962 # compilation failed
12963 lt_cv_dlopen_self
=no
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12971 $as_echo "$lt_cv_dlopen_self" >&6; }
12973 if test yes = "$lt_cv_dlopen_self"; then
12974 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12976 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12977 if ${lt_cv_dlopen_self_static+:} false
; then :
12978 $as_echo_n "(cached) " >&6
12980 if test yes = "$cross_compiling"; then :
12981 lt_cv_dlopen_self_static
=cross
12983 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12984 lt_status
=$lt_dlunknown
12985 cat > conftest.
$ac_ext <<_LT_EOF
12986 #line $LINENO "configure"
12987 #include "confdefs.h"
12996 # define LT_DLGLOBAL RTLD_GLOBAL
12999 # define LT_DLGLOBAL DL_GLOBAL
13001 # define LT_DLGLOBAL 0
13005 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13006 find out it does not work in some platform. */
13007 #ifndef LT_DLLAZY_OR_NOW
13009 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13012 # define LT_DLLAZY_OR_NOW DL_LAZY
13015 # define LT_DLLAZY_OR_NOW RTLD_NOW
13018 # define LT_DLLAZY_OR_NOW DL_NOW
13020 # define LT_DLLAZY_OR_NOW 0
13027 /* When -fvisibility=hidden is used, assume the code has been annotated
13028 correspondingly for the symbols needed. */
13029 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13030 int fnord () __attribute__((visibility("default")));
13033 int fnord () { return 42; }
13036 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13037 int status = $lt_dlunknown;
13041 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13044 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13045 else puts (dlerror ());
13047 /* dlclose (self); */
13055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13056 (eval $ac_link) 2>&5
13058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13059 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13060 (.
/conftest
; exit; ) >&5 2>/dev
/null
13062 case x
$lt_status in
13063 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13064 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13065 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13068 # compilation failed
13069 lt_cv_dlopen_self_static
=no
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13077 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13080 CPPFLAGS
=$save_CPPFLAGS
13081 LDFLAGS
=$save_LDFLAGS
13086 case $lt_cv_dlopen_self in
13087 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13088 *) enable_dlopen_self
=unknown
;;
13091 case $lt_cv_dlopen_self_static in
13092 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13093 *) enable_dlopen_self_static
=unknown
;;
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13116 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13117 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
13118 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13119 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13121 $as_echo "yes" >&6; }
13123 # FIXME - insert some real tests, host_os isn't really good enough
13126 if test -n "$STRIP"; then
13127 striplib
="$STRIP -x"
13128 old_striplib
="$STRIP -S"
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13130 $as_echo "yes" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13133 $as_echo "no" >&6; }
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13138 $as_echo "no" >&6; }
13154 # Report what library types will actually be built
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13156 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13158 $as_echo "$can_build_shared" >&6; }
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13161 $as_echo_n "checking whether to build shared libraries... " >&6; }
13162 test no
= "$can_build_shared" && enable_shared
=no
13164 # On AIX, shared libraries and static libraries use the same namespace, and
13165 # are all built from PIC.
13168 test yes = "$enable_shared" && enable_static
=no
13169 if test -n "$RANLIB"; then
13170 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13171 postinstall_cmds
='$RANLIB $lib'
13176 if test ia64
!= "$host_cpu"; then
13177 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13178 yes,aix
,yes) ;; # shared object as lib.so file only
13179 yes,svr4
,*) ;; # shared object as lib.so archive member only
13180 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13186 $as_echo "$enable_shared" >&6; }
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13189 $as_echo_n "checking whether to build static libraries... " >&6; }
13190 # Make sure either enable_shared or enable_static is yes.
13191 test yes = "$enable_shared" || enable_static
=yes
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13193 $as_echo "$enable_static" >&6; }
13200 ac_cpp
='$CPP $CPPFLAGS'
13201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13207 if test -n "$CXX" && ( test no
!= "$CXX" &&
13208 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13209 (test g
++ != "$CXX"))); then
13211 ac_cpp
='$CXXCPP $CPPFLAGS'
13212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13216 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13217 if test -z "$CXXCPP"; then
13218 if ${ac_cv_prog_CXXCPP+:} false
; then :
13219 $as_echo_n "(cached) " >&6
13221 # Double quotes because CXXCPP needs to be expanded
13222 for CXXCPP
in "$CXX -E" "/lib/cpp"
13224 ac_preproc_ok
=false
13225 for ac_cxx_preproc_warn_flag
in '' yes
13227 # Use a header file that comes with gcc, so configuring glibc
13228 # with a fresh cross-compiler works.
13229 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13230 # <limits.h> exists even on freestanding compilers.
13231 # On the NeXT, cc -E runs the code through the compiler's parser,
13232 # not just through cpp. "Syntax error" is here to catch this case.
13233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13234 /* end confdefs.h. */
13236 # include <limits.h>
13238 # include <assert.h>
13242 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13245 # Broken: fails on valid input.
13248 rm -f conftest.err conftest.i conftest.
$ac_ext
13250 # OK, works on sane cases. Now check whether nonexistent headers
13251 # can be detected and how.
13252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13254 #include <ac_nonexistent.h>
13256 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13257 # Broken: success on invalid input.
13260 # Passes both tests.
13264 rm -f conftest.err conftest.i conftest.
$ac_ext
13267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13268 rm -f conftest.i conftest.err conftest.
$ac_ext
13269 if $ac_preproc_ok; then :
13274 ac_cv_prog_CXXCPP
=$CXXCPP
13277 CXXCPP
=$ac_cv_prog_CXXCPP
13279 ac_cv_prog_CXXCPP
=$CXXCPP
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13282 $as_echo "$CXXCPP" >&6; }
13283 ac_preproc_ok
=false
13284 for ac_cxx_preproc_warn_flag
in '' yes
13286 # Use a header file that comes with gcc, so configuring glibc
13287 # with a fresh cross-compiler works.
13288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13289 # <limits.h> exists even on freestanding compilers.
13290 # On the NeXT, cc -E runs the code through the compiler's parser,
13291 # not just through cpp. "Syntax error" is here to catch this case.
13292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13293 /* end confdefs.h. */
13295 # include <limits.h>
13297 # include <assert.h>
13301 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13304 # Broken: fails on valid input.
13307 rm -f conftest.err conftest.i conftest.
$ac_ext
13309 # OK, works on sane cases. Now check whether nonexistent headers
13310 # can be detected and how.
13311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13313 #include <ac_nonexistent.h>
13315 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13316 # Broken: success on invalid input.
13319 # Passes both tests.
13323 rm -f conftest.err conftest.i conftest.
$ac_ext
13326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13327 rm -f conftest.i conftest.err conftest.
$ac_ext
13328 if $ac_preproc_ok; then :
13331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13333 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13334 See \`config.log' for more details" "$LINENO" 5; }
13338 ac_cpp
='$CPP $CPPFLAGS'
13339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13344 _lt_caught_CXX_error
=yes
13348 ac_cpp
='$CXXCPP $CPPFLAGS'
13349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13353 archive_cmds_need_lc_CXX
=no
13354 allow_undefined_flag_CXX
=
13355 always_export_symbols_CXX
=no
13356 archive_expsym_cmds_CXX
=
13357 compiler_needs_object_CXX
=no
13358 export_dynamic_flag_spec_CXX
=
13359 hardcode_direct_CXX
=no
13360 hardcode_direct_absolute_CXX
=no
13361 hardcode_libdir_flag_spec_CXX
=
13362 hardcode_libdir_separator_CXX
=
13363 hardcode_minus_L_CXX
=no
13364 hardcode_shlibpath_var_CXX
=unsupported
13365 hardcode_automatic_CXX
=no
13366 inherit_rpath_CXX
=no
13368 module_expsym_cmds_CXX
=
13369 link_all_deplibs_CXX
=unknown
13370 old_archive_cmds_CXX
=$old_archive_cmds
13371 reload_flag_CXX
=$reload_flag
13372 reload_cmds_CXX
=$reload_cmds
13373 no_undefined_flag_CXX
=
13374 whole_archive_flag_spec_CXX
=
13375 enable_shared_with_static_runtimes_CXX
=no
13377 # Source file extension for C++ test sources.
13380 # Object file extension for compiled C++ test sources.
13384 # No sense in running all these tests if we already determined that
13385 # the CXX compiler isn't working. Some variables (like enable_shared)
13386 # are currently assumed to apply to all compilers on this platform,
13387 # and will be corrupted by setting them based on a non-working compiler.
13388 if test yes != "$_lt_caught_CXX_error"; then
13389 # Code to be used in simple compile tests
13390 lt_simple_compile_test_code
="int some_variable = 0;"
13392 # Code to be used in simple link tests
13393 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13395 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13402 # If no C compiler was specified, use CC.
13405 # If no C compiler flags were specified, use CFLAGS.
13406 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13408 # Allow CC to be a program name with arguments.
13412 # save warnings/boilerplate of simple test code
13413 ac_outfile
=conftest.
$ac_objext
13414 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13415 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13416 _lt_compiler_boilerplate
=`cat conftest.err`
13419 ac_outfile
=conftest.
$ac_objext
13420 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13421 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13422 _lt_linker_boilerplate
=`cat conftest.err`
13426 # Allow CC to be a program name with arguments.
13428 lt_save_CFLAGS
=$CFLAGS
13432 lt_save_with_gnu_ld
=$with_gnu_ld
13433 lt_save_path_LD
=$lt_cv_path_LD
13434 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13435 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13437 $as_unset lt_cv_prog_gnu_ld
13439 if test -n "${lt_cv_path_LDCXX+set}"; then
13440 lt_cv_path_LD
=$lt_cv_path_LDCXX
13442 $as_unset lt_cv_path_LD
13444 test -z "${LDCXX+set}" || LD
=$LDCXX
13449 func_cc_basename
$compiler
13450 cc_basename
=$func_cc_basename_result
13453 if test -n "$compiler"; then
13454 # We don't want -fno-exception when compiling C++ code, so set the
13455 # no_builtin_flag separately
13456 if test yes = "$GXX"; then
13457 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13459 lt_prog_compiler_no_builtin_flag_CXX
=
13462 if test yes = "$GXX"; then
13463 # Set up default GNU C++ configuration
13467 # Check whether --with-gnu-ld was given.
13468 if test "${with_gnu_ld+set}" = set; then :
13469 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
13475 if test yes = "$GCC"; then
13476 # Check if gcc -print-prog-name=ld gives a path.
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13478 $as_echo_n "checking for ld used by $CC... " >&6; }
13481 # gcc leaves a trailing carriage return, which upsets mingw
13482 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13484 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13487 # Accept absolute paths.
13489 re_direlt
='/[^/][^/]*/\.\./'
13490 # Canonicalize the pathname of ld
13491 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13492 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13493 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13495 test -z "$LD" && LD
=$ac_prog
13498 # If it fails, then pretend we aren't using GCC.
13502 # If it is relative, then search for the first ld in PATH.
13503 with_gnu_ld
=unknown
13506 elif test yes = "$with_gnu_ld"; then
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13508 $as_echo_n "checking for GNU ld... " >&6; }
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13511 $as_echo_n "checking for non-GNU ld... " >&6; }
13513 if ${lt_cv_path_LD+:} false
; then :
13514 $as_echo_n "(cached) " >&6
13516 if test -z "$LD"; then
13517 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
13518 for ac_dir
in $PATH; do
13520 test -z "$ac_dir" && ac_dir
=.
13521 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13522 lt_cv_path_LD
=$ac_dir/$ac_prog
13523 # Check to see if the program is GNU ld. I'd rather use --version,
13524 # but apparently some variants of GNU ld only accept -v.
13525 # Break only if it was the GNU/non-GNU ld that we prefer.
13526 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13527 *GNU
* | *'with BFD'*)
13528 test no
!= "$with_gnu_ld" && break
13531 test yes != "$with_gnu_ld" && break
13538 lt_cv_path_LD
=$LD # Let the user override the test with a path.
13543 if test -n "$LD"; then
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13545 $as_echo "$LD" >&6; }
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13548 $as_echo "no" >&6; }
13550 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13552 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13553 if ${lt_cv_prog_gnu_ld+:} false
; then :
13554 $as_echo_n "(cached) " >&6
13556 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13557 case `$LD -v 2>&1 </dev/null` in
13558 *GNU
* | *'with BFD'*)
13559 lt_cv_prog_gnu_ld
=yes
13562 lt_cv_prog_gnu_ld
=no
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13567 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13568 with_gnu_ld
=$lt_cv_prog_gnu_ld
13576 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13577 # archiving commands below assume that GNU ld is being used.
13578 if test yes = "$with_gnu_ld"; then
13579 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13580 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'
13582 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
13583 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13585 # If archive_cmds runs LD, not CC, wlarc should be empty
13586 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13587 # investigate it a little bit more. (MM)
13590 # ancient GNU ld didn't support --whole-archive et. al.
13591 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13592 $GREP 'no-whole-archive' > /dev
/null
; then
13593 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13595 whole_archive_flag_spec_CXX
=
13601 # A generic and very simple default shared library creation
13602 # command for GNU C++ for the case where it uses the native
13603 # linker, instead of GNU ld. If possible, this setting should
13604 # overridden to take advantage of the native linker features on
13605 # the platform it is being used on.
13606 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13609 # Commands to make compiler produce verbose output that lists
13610 # what "hidden" libraries, object files and flags are used when
13611 # linking a shared library.
13612 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13620 # PORTME: fill in a description of your system's C++ link characteristics
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13622 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13626 # FIXME: insert proper C++ library support
13630 if test ia64
= "$host_cpu"; then
13631 # On IA64, the linker does run time linking by default, so we don't
13632 # have to do anything special.
13633 aix_use_runtimelinking
=no
13634 exp_sym_flag
='-Bexport'
13637 aix_use_runtimelinking
=no
13639 # Test if we are trying to use run time linking or normal
13640 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13641 # have runtime linking enabled, and use it for executables.
13642 # For shared libraries, we enable/disable runtime linking
13643 # depending on the kind of the shared library created -
13644 # when "with_aix_soname,aix_use_runtimelinking" is:
13645 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13646 # "aix,yes" lib.so shared, rtl:yes, for executables
13647 # lib.a static archive
13648 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13649 # lib.a(lib.so.V) shared, rtl:no, for executables
13650 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13651 # lib.a(lib.so.V) shared, rtl:no
13652 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13653 # lib.a static archive
13654 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13655 for ld_flag
in $LDFLAGS; do
13658 aix_use_runtimelinking
=yes
13663 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
13664 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13665 # so we don't have lib.a shared libs to link our executables.
13666 # We have to force runtime linking in this case.
13667 aix_use_runtimelinking
=yes
13668 LDFLAGS
="$LDFLAGS -Wl,-brtl"
13673 exp_sym_flag
='-bexport'
13674 no_entry_flag
='-bnoentry'
13677 # When large executables or shared objects are built, AIX ld can
13678 # have problems creating the table of contents. If linking a library
13679 # or program results in "error TOC overflow" add -mminimal-toc to
13680 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13681 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13683 archive_cmds_CXX
=''
13684 hardcode_direct_CXX
=yes
13685 hardcode_direct_absolute_CXX
=yes
13686 hardcode_libdir_separator_CXX
=':'
13687 link_all_deplibs_CXX
=yes
13688 file_list_spec_CXX
='$wl-f,'
13689 case $with_aix_soname,$aix_use_runtimelinking in
13690 aix
,*) ;; # no import file
13691 svr4
,* | *,yes) # use import file
13692 # The Import File defines what to hardcode.
13693 hardcode_direct_CXX
=no
13694 hardcode_direct_absolute_CXX
=no
13698 if test yes = "$GXX"; then
13699 case $host_os in aix4.
[012]|aix4.
[012].
*)
13700 # We only want to do this on AIX 4.2 and lower, the check
13701 # below for broken collect2 doesn't work under 4.3+
13702 collect2name
=`$CC -print-prog-name=collect2`
13703 if test -f "$collect2name" &&
13704 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13706 # We have reworked collect2
13709 # We have old collect2
13710 hardcode_direct_CXX
=unsupported
13711 # It fails to find uninstalled libraries when the uninstalled
13712 # path is not listed in the libpath. Setting hardcode_minus_L
13713 # to unsupported forces relinking
13714 hardcode_minus_L_CXX
=yes
13715 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13716 hardcode_libdir_separator_CXX
=
13719 shared_flag
='-shared'
13720 if test yes = "$aix_use_runtimelinking"; then
13721 shared_flag
=$shared_flag' $wl-G'
13723 # Need to ensure runtime linking is disabled for the traditional
13724 # shared library, or the linker may eventually find shared libraries
13725 # /with/ Import File - we do not want to mix them.
13726 shared_flag_aix
='-shared'
13727 shared_flag_svr4
='-shared $wl-G'
13730 if test ia64
= "$host_cpu"; then
13731 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13732 # chokes on -Wl,-G. The following line is correct:
13735 if test yes = "$aix_use_runtimelinking"; then
13736 shared_flag
='$wl-G'
13738 shared_flag
='$wl-bM:SRE'
13740 shared_flag_aix
='$wl-bM:SRE'
13741 shared_flag_svr4
='$wl-G'
13745 export_dynamic_flag_spec_CXX
='$wl-bexpall'
13746 # It seems that -bexpall does not export symbols beginning with
13747 # underscore (_), so it is better to generate a list of symbols to
13749 always_export_symbols_CXX
=yes
13750 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13751 # Warning - without using the other runtime loading flags (-brtl),
13752 # -berok will link without error, but may produce a broken library.
13753 # The "-G" linker flag allows undefined symbols.
13754 no_undefined_flag_CXX
='-bernotok'
13755 # Determine the default libpath from the value encoded in an empty
13757 if test set = "${lt_cv_aix_libpath+set}"; then
13758 aix_libpath
=$lt_cv_aix_libpath
13760 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13761 $as_echo_n "(cached) " >&6
13763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13764 /* end confdefs.h. */
13774 if ac_fn_cxx_try_link
"$LINENO"; then :
13776 lt_aix_libpath_sed
='
13777 /Import File Strings/,/^$/ {
13779 s/^0 *\([^ ]*\) *$/\1/
13783 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13784 # Check for a 64-bit object if we didn't find anything.
13785 if test -z "$lt_cv_aix_libpath__CXX"; then
13786 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13789 rm -f core conftest.err conftest.
$ac_objext \
13790 conftest
$ac_exeext conftest.
$ac_ext
13791 if test -z "$lt_cv_aix_libpath__CXX"; then
13792 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13797 aix_libpath
=$lt_cv_aix_libpath__CXX
13800 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13802 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
13804 if test ia64
= "$host_cpu"; then
13805 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
13806 allow_undefined_flag_CXX
="-z nodefs"
13807 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"
13809 # Determine the default libpath from the value encoded in an
13810 # empty executable.
13811 if test set = "${lt_cv_aix_libpath+set}"; then
13812 aix_libpath
=$lt_cv_aix_libpath
13814 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13815 $as_echo_n "(cached) " >&6
13817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13828 if ac_fn_cxx_try_link
"$LINENO"; then :
13830 lt_aix_libpath_sed
='
13831 /Import File Strings/,/^$/ {
13833 s/^0 *\([^ ]*\) *$/\1/
13837 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13838 # Check for a 64-bit object if we didn't find anything.
13839 if test -z "$lt_cv_aix_libpath__CXX"; then
13840 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13843 rm -f core conftest.err conftest.
$ac_objext \
13844 conftest
$ac_exeext conftest.
$ac_ext
13845 if test -z "$lt_cv_aix_libpath__CXX"; then
13846 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13851 aix_libpath
=$lt_cv_aix_libpath__CXX
13854 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13855 # Warning - without using the other run time loading flags,
13856 # -berok will link without error, but may produce a broken library.
13857 no_undefined_flag_CXX
=' $wl-bernotok'
13858 allow_undefined_flag_CXX
=' $wl-berok'
13859 if test yes = "$with_gnu_ld"; then
13860 # We only use this code for GNU lds that support --whole-archive.
13861 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
13863 # Exported symbols can be pulled into shared objects from archives
13864 whole_archive_flag_spec_CXX
='$convenience'
13866 archive_cmds_need_lc_CXX
=yes
13867 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13868 # -brtl affects multiple linker settings, -berok does not and is overridden later
13869 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13870 if test svr4
!= "$with_aix_soname"; then
13871 # This is similar to how AIX traditionally builds its shared
13872 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13873 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'
13875 if test aix
!= "$with_aix_soname"; then
13876 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'
13878 # used by -dlpreopen to get the symbols
13879 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13881 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13887 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13888 allow_undefined_flag_CXX
=unsupported
13889 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13890 # support --undefined. This deserves some investigation. FIXME
13891 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13898 case $cc_basename in
13900 # FIXME: insert proper C++ library support
13906 cygwin
* | mingw
* | pw32
* | cegcc
*)
13907 case $GXX,$cc_basename in
13910 # hardcode_libdir_flag_spec is actually meaningless, as there is
13911 # no search path for DLLs.
13912 hardcode_libdir_flag_spec_CXX
=' '
13913 allow_undefined_flag_CXX
=unsupported
13914 always_export_symbols_CXX
=yes
13915 file_list_spec_CXX
='@'
13916 # Tell ltmain to make .lib files, not .a files.
13918 # Tell ltmain to make .dll files, not .so files.
13920 # FIXME: Setting linknames here is a bad hack.
13921 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13922 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13923 cp "$export_symbols" "$output_objdir/$soname.def";
13924 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13926 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13928 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13930 # The linker will not automatically build a static lib if we build a DLL.
13931 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13932 enable_shared_with_static_runtimes_CXX
=yes
13934 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13935 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13936 lt_tool_outputfile="@TOOL_OUTPUT@"~
13937 case $lt_outputfile in
13940 lt_outputfile=$lt_outputfile.exe
13941 lt_tool_outputfile=$lt_tool_outputfile.exe
13944 func_to_tool_file "$lt_outputfile"~
13945 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13946 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13947 $RM "$lt_outputfile.manifest";
13952 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13953 # as there is no search path for DLLs.
13954 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13955 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
13956 allow_undefined_flag_CXX
=unsupported
13957 always_export_symbols_CXX
=no
13958 enable_shared_with_static_runtimes_CXX
=yes
13960 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13961 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'
13962 # If the export-symbols file already is a .def file, use it as
13963 # is; otherwise, prepend EXPORTS...
13964 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13965 cp $export_symbols $output_objdir/$soname.def;
13967 echo EXPORTS > $output_objdir/$soname.def;
13968 cat $export_symbols >> $output_objdir/$soname.def;
13970 $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'
13977 darwin
* | rhapsody
*)
13980 archive_cmds_need_lc_CXX
=no
13981 hardcode_direct_CXX
=no
13982 hardcode_automatic_CXX
=yes
13983 hardcode_shlibpath_var_CXX
=unsupported
13984 if test yes = "$lt_cv_ld_force_load"; then
13985 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\"`'
13988 whole_archive_flag_spec_CXX
=''
13990 link_all_deplibs_CXX
=yes
13991 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
13992 case $cc_basename in
13993 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
13994 *) _lt_dar_can_shared
=$GCC ;;
13996 if test yes = "$_lt_dar_can_shared"; then
13997 output_verbose_link_cmd
=func_echo_all
13998 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"
13999 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14000 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"
14001 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"
14002 if test yes != "$lt_cv_apple_cc_single_mod"; then
14003 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"
14004 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"
14014 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14015 hardcode_minus_L_CXX
=yes
14016 allow_undefined_flag_CXX
=unsupported
14018 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14019 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14020 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14021 $ECHO EXPORTS >> $output_objdir/$libname.def~
14022 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14023 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14024 emximp -o $lib $output_objdir/$libname.def'
14025 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14026 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14027 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14028 $ECHO EXPORTS >> $output_objdir/$libname.def~
14029 prefix_cmds="$SED"~
14030 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14031 prefix_cmds="$prefix_cmds -e 1d";
14033 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14034 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14035 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14036 emximp -o $lib $output_objdir/$libname.def'
14037 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14038 enable_shared_with_static_runtimes_CXX
=yes
14042 case $cc_basename in
14044 # FIXME: insert proper C++ library support
14048 # Green Hills C++ Compiler
14049 # FIXME: insert proper C++ library support
14053 # FIXME: insert proper C++ library support
14060 # C++ shared libraries reported to be fairly broken before
14066 archive_cmds_need_lc_CXX
=no
14069 freebsd
* | dragonfly
*)
14070 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14076 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14077 link_all_deplibs_CXX
=yes
14081 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14082 hardcode_libdir_separator_CXX
=:
14083 export_dynamic_flag_spec_CXX
='$wl-E'
14084 hardcode_direct_CXX
=yes
14085 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14086 # but as the default
14087 # location of the library.
14089 case $cc_basename in
14091 # FIXME: insert proper C++ library support
14095 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'
14096 # Commands to make compiler produce verbose output that lists
14097 # what "hidden" libraries, object files and flags are used when
14098 # linking a shared library.
14100 # There doesn't appear to be a way to prevent this compiler from
14101 # explicitly linking system object files so we need to strip them
14102 # from the output so that they don't get included in the library
14104 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"'
14107 if test yes = "$GXX"; then
14108 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'
14110 # FIXME: insert proper C++ library support
14118 if test no
= "$with_gnu_ld"; then
14119 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14120 hardcode_libdir_separator_CXX
=:
14126 export_dynamic_flag_spec_CXX
='$wl-E'
14132 hardcode_direct_CXX
=no
14133 hardcode_shlibpath_var_CXX
=no
14136 hardcode_direct_CXX
=yes
14137 hardcode_direct_absolute_CXX
=yes
14138 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14139 # but as the default
14140 # location of the library.
14144 case $cc_basename in
14146 # FIXME: insert proper C++ library support
14152 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14155 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14158 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14161 # Commands to make compiler produce verbose output that lists
14162 # what "hidden" libraries, object files and flags are used when
14163 # linking a shared library.
14165 # There doesn't appear to be a way to prevent this compiler from
14166 # explicitly linking system object files so we need to strip them
14167 # from the output so that they don't get included in the library
14169 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"'
14172 if test yes = "$GXX"; then
14173 if test no
= "$with_gnu_ld"; then
14176 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14179 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14182 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'
14187 # FIXME: insert proper C++ library support
14195 hardcode_direct_CXX
=no
14196 hardcode_shlibpath_var_CXX
=no
14197 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14198 export_dynamic_flag_spec_CXX
='$wl-E'
14199 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14200 # Instead, shared libraries are loaded at an image base (0x10000000 by
14201 # default) and relocated if they conflict, which is a slow very memory
14202 # consuming and fragmenting process. To avoid this, we pick a random,
14203 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14204 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14205 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'
14206 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'
14209 case $cc_basename in
14212 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'
14214 # Archives containing C++ object files must be created using
14215 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14216 # necessary to make sure instantiated templates are included
14218 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14221 if test yes = "$GXX"; then
14222 if test no
= "$with_gnu_ld"; then
14223 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'
14225 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'
14228 link_all_deplibs_CXX
=yes
14231 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14232 hardcode_libdir_separator_CXX
=:
14233 inherit_rpath_CXX
=yes
14236 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14237 case $cc_basename in
14239 # Kuck and Associates, Inc. (KAI) C++ Compiler
14241 # KCC will only create a shared library if the output file
14242 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14243 # to its proper name (with version) after linking.
14244 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'
14245 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'
14246 # Commands to make compiler produce verbose output that lists
14247 # what "hidden" libraries, object files and flags are used when
14248 # linking a shared library.
14250 # There doesn't appear to be a way to prevent this compiler from
14251 # explicitly linking system object files so we need to strip them
14252 # from the output so that they don't get included in the library
14254 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"'
14256 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14257 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14259 # Archives containing C++ object files must be created using
14260 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14261 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14266 # version 8.0 and above of icpc choke on multiply defined symbols
14267 # if we add $predep_objects and $postdep_objects, however 7.1 and
14268 # earlier do not add the objects themselves.
14269 case `$CC -V 2>&1` in
14271 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14272 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'
14274 *) # Version 8.0 or newer
14277 ia64
*) tmp_idyn
=' -i_dynamic';;
14279 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14280 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'
14283 archive_cmds_need_lc_CXX
=no
14284 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14285 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14286 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14289 # Portland Group C++ compiler
14291 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
14292 prelink_cmds_CXX
='tpldir=Template.dir~
14294 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14295 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14296 old_archive_cmds_CXX
='tpldir=Template.dir~
14298 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14299 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14301 archive_cmds_CXX
='tpldir=Template.dir~
14303 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14304 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14305 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14307 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14308 $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'
14310 *) # Version 6 and above use weak symbols
14311 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14312 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'
14316 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
14317 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14318 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'
14322 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14323 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'
14325 runpath_var
=LD_RUN_PATH
14326 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14327 hardcode_libdir_separator_CXX
=:
14329 # Commands to make compiler produce verbose output that lists
14330 # what "hidden" libraries, object files and flags are used when
14331 # linking a shared library.
14333 # There doesn't appear to be a way to prevent this compiler from
14334 # explicitly linking system object files so we need to strip them
14335 # from the output so that they don't get included in the library
14337 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'
14339 xl
* | mpixl
* | bgxl
*)
14340 # IBM XL 8.0 on PPC, with GNU ld
14341 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14342 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14343 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14344 if test yes = "$supports_anon_versioning"; then
14345 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14346 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14347 echo "local: *; };" >> $output_objdir/$libname.ver~
14348 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14352 case `$CC -V 2>&1 | sed 5q` in
14355 no_undefined_flag_CXX
=' -zdefs'
14356 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14357 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'
14358 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14359 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'
14360 compiler_needs_object_CXX
=yes
14362 # Not sure whether something based on
14363 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14365 output_verbose_link_cmd
='func_echo_all'
14367 # Archives containing C++ object files must be created using
14368 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14369 # necessary to make sure instantiated templates are included
14371 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14379 # FIXME: insert proper C++ library support
14384 # FIXME: insert proper C++ library support
14389 case $cc_basename in
14391 # FIXME: insert proper C++ library support
14395 # FIXME: insert proper C++ library support
14402 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14403 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14405 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14406 hardcode_direct_CXX
=yes
14407 hardcode_shlibpath_var_CXX
=no
14409 # Workaround some broken pre-1.5 toolchains
14410 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14417 openbsd
* | bitrig
*)
14418 if test -f /usr
/libexec
/ld.so
; then
14419 hardcode_direct_CXX
=yes
14420 hardcode_shlibpath_var_CXX
=no
14421 hardcode_direct_absolute_CXX
=yes
14422 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14423 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14424 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14425 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14426 export_dynamic_flag_spec_CXX
='$wl-E'
14427 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14429 output_verbose_link_cmd
=func_echo_all
14435 osf3
* | osf4
* | osf5
*)
14436 case $cc_basename in
14438 # Kuck and Associates, Inc. (KAI) C++ Compiler
14440 # KCC will only create a shared library if the output file
14441 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14442 # to its proper name (with version) after linking.
14443 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'
14445 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14446 hardcode_libdir_separator_CXX
=:
14448 # Archives containing C++ object files must be created using
14449 # the KAI C++ compiler.
14451 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14452 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14456 # Rational C++ 2.4.1
14457 # FIXME: insert proper C++ library support
14463 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14464 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'
14465 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14468 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14469 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'
14470 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14471 echo "-hidden">> $lib.exp~
14472 $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~
14474 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14478 hardcode_libdir_separator_CXX
=:
14480 # Commands to make compiler produce verbose output that lists
14481 # what "hidden" libraries, object files and flags are used when
14482 # linking a shared library.
14484 # There doesn't appear to be a way to prevent this compiler from
14485 # explicitly linking system object files so we need to strip them
14486 # from the output so that they don't get included in the library
14488 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"'
14491 if test yes,no
= "$GXX,$with_gnu_ld"; then
14492 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14495 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'
14498 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'
14502 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14503 hardcode_libdir_separator_CXX
=:
14505 # Commands to make compiler produce verbose output that lists
14506 # what "hidden" libraries, object files and flags are used when
14507 # linking a shared library.
14508 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14511 # FIXME: insert proper C++ library support
14519 # FIXME: insert proper C++ library support
14524 case $cc_basename in
14527 # FIXME: insert proper C++ library support
14532 # FIXME: insert proper C++ library support
14536 # FIXME: insert proper C++ library support
14543 case $cc_basename in
14545 # Sun C++ 4.2, 5.x and Centerline C++
14546 archive_cmds_need_lc_CXX
=yes
14547 no_undefined_flag_CXX
=' -zdefs'
14548 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14549 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14550 $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'
14552 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14553 hardcode_shlibpath_var_CXX
=no
14555 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14557 # The compiler driver will combine and reorder linker options,
14558 # but understands '-z linker_flag'.
14559 # Supported since Solaris 2.6 (maybe 2.5.1?)
14560 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14563 link_all_deplibs_CXX
=yes
14565 output_verbose_link_cmd
='func_echo_all'
14567 # Archives containing C++ object files must be created using
14568 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14569 # necessary to make sure instantiated templates are included
14571 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14574 # Green Hills C++ Compiler
14575 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14577 # The C++ compiler must be used to create the archive.
14578 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14581 # GNU C++ compiler with Solaris linker
14582 if test yes,no
= "$GXX,$with_gnu_ld"; then
14583 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
14584 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14585 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14586 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14587 $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'
14589 # Commands to make compiler produce verbose output that lists
14590 # what "hidden" libraries, object files and flags are used when
14591 # linking a shared library.
14592 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14594 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14596 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14597 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14598 $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'
14600 # Commands to make compiler produce verbose output that lists
14601 # what "hidden" libraries, object files and flags are used when
14602 # linking a shared library.
14603 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14606 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
14608 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14610 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14618 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14619 no_undefined_flag_CXX
='$wl-z,text'
14620 archive_cmds_need_lc_CXX
=no
14621 hardcode_shlibpath_var_CXX
=no
14622 runpath_var
='LD_RUN_PATH'
14624 case $cc_basename in
14626 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14627 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14630 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14631 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14636 sysv5
* | sco3.2v5
* | sco5v6
*)
14637 # Note: We CANNOT use -z defs as we might desire, because we do not
14638 # link with -lc, and that would cause any symbols used from libc to
14639 # always be unresolved, which means just about no library would
14640 # ever link correctly. If we're not using GNU ld we use -z text
14641 # though, which does catch some bad symbols but isn't as heavy-handed
14643 no_undefined_flag_CXX
='$wl-z,text'
14644 allow_undefined_flag_CXX
='$wl-z,nodefs'
14645 archive_cmds_need_lc_CXX
=no
14646 hardcode_shlibpath_var_CXX
=no
14647 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
14648 hardcode_libdir_separator_CXX
=':'
14649 link_all_deplibs_CXX
=yes
14650 export_dynamic_flag_spec_CXX
='$wl-Bexport'
14651 runpath_var
='LD_RUN_PATH'
14653 case $cc_basename in
14655 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14656 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14657 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14658 '"$old_archive_cmds_CXX"
14659 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14660 '"$reload_cmds_CXX"
14663 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14664 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14670 case $cc_basename in
14672 # NonStop-UX NCC 3.20
14673 # FIXME: insert proper C++ library support
14677 # FIXME: insert proper C++ library support
14684 # FIXME: insert proper C++ library support
14689 # FIXME: insert proper C++ library support
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14695 $as_echo "$ld_shlibs_CXX" >&6; }
14696 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
14702 ## There is no encapsulation within the following macros, do not change
14703 ## the running order or otherwise move them around unless you know exactly
14704 ## what you are doing...
14705 # Dependencies to place before and after the object being linked:
14706 predep_objects_CXX
=
14707 postdep_objects_CXX
=
14710 compiler_lib_search_path_CXX
=
14712 cat > conftest.
$ac_ext <<_LT_EOF
14716 Foo (void) { a = 0; }
14723 _lt_libdeps_save_CFLAGS
=$CFLAGS
14724 case "$CC $CFLAGS " in #(
14725 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14726 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14727 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14731 (eval $ac_compile) 2>&5
14733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14734 test $ac_status = 0; }; then
14735 # Parse the compiler output and extract the necessary
14736 # objects, libraries and library flags.
14738 # Sentinel used to keep track of whether or not we are before
14739 # the conftest object file.
14740 pre_test_object_deps_done
=no
14742 for p
in `eval "$output_verbose_link_cmd"`; do
14746 # Some compilers place space between "-{L,R}" and the path.
14747 # Remove the space.
14748 if test x
-L = "$p" ||
14749 test x
-R = "$p"; then
14754 # Expand the sysroot to ease extracting the directories later.
14755 if test -z "$prev"; then
14757 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14758 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14759 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14763 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14765 if test no
= "$pre_test_object_deps_done"; then
14768 # Internal compiler library paths should come after those
14769 # provided the user. The postdeps already come after the
14770 # user supplied libs so there is no need to process them.
14771 if test -z "$compiler_lib_search_path_CXX"; then
14772 compiler_lib_search_path_CXX
=$prev$p
14774 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
14777 # The "-l" case would never come before the object being
14778 # linked, so don't bother handling this case.
14781 if test -z "$postdeps_CXX"; then
14782 postdeps_CXX
=$prev$p
14784 postdeps_CXX
="${postdeps_CXX} $prev$p"
14790 *.lto.
$objext) ;; # Ignore GCC LTO objects
14792 # This assumes that the test object file only shows up
14793 # once in the compiler output.
14794 if test "$p" = "conftest.$objext"; then
14795 pre_test_object_deps_done
=yes
14799 if test no
= "$pre_test_object_deps_done"; then
14800 if test -z "$predep_objects_CXX"; then
14801 predep_objects_CXX
=$p
14803 predep_objects_CXX
="$predep_objects_CXX $p"
14806 if test -z "$postdep_objects_CXX"; then
14807 postdep_objects_CXX
=$p
14809 postdep_objects_CXX
="$postdep_objects_CXX $p"
14814 *) ;; # Ignore the rest.
14822 echo "libtool.m4: error: problem compiling CXX test program"
14825 $RM -f confest.
$objext
14826 CFLAGS
=$_lt_libdeps_save_CFLAGS
14828 # PORTME: override above test on systems where it is broken
14831 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14832 # hack all around it, let's just trust "g++" to DTRT.
14833 predep_objects_CXX
=
14834 postdep_objects_CXX
=
14840 case " $postdeps_CXX " in
14841 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14843 compiler_lib_search_dirs_CXX
=
14844 if test -n "${compiler_lib_search_path_CXX}"; then
14845 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14878 lt_prog_compiler_wl_CXX
=
14879 lt_prog_compiler_pic_CXX
=
14880 lt_prog_compiler_static_CXX
=
14883 # C++ specific cases for pic, static, wl, etc.
14884 if test yes = "$GXX"; then
14885 lt_prog_compiler_wl_CXX
='-Wl,'
14886 lt_prog_compiler_static_CXX
='-static'
14890 # All AIX code is PIC.
14891 if test ia64
= "$host_cpu"; then
14892 # AIX 5 now supports IA64 processor
14893 lt_prog_compiler_static_CXX
='-Bstatic'
14895 lt_prog_compiler_pic_CXX
='-fPIC'
14901 # see comment about AmigaOS4 .so support
14902 lt_prog_compiler_pic_CXX
='-fPIC'
14905 # FIXME: we need at least 68020 code to build shared libraries, but
14906 # adding the '-m68020' flag to GCC prevents building anything better,
14908 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14913 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14914 # PIC is the default for these OSes.
14916 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14917 # This hack is so that the source file can tell whether it is being
14918 # built for inclusion in a dll (and should export symbols for example).
14919 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14920 # (--disable-auto-import) libraries
14921 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14924 lt_prog_compiler_static_CXX
='$wl-static'
14928 darwin
* | rhapsody
*)
14929 # PIC is the default on this platform
14930 # Common symbols not allowed in MH_DYLIB files
14931 lt_prog_compiler_pic_CXX
='-fno-common'
14934 # DJGPP does not support shared libraries at all
14935 lt_prog_compiler_pic_CXX
=
14938 # PIC is the default for Haiku.
14939 # The "-static" flag exists, but is broken.
14940 lt_prog_compiler_static_CXX
=
14943 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14944 # Instead, we relocate shared libraries at runtime.
14947 if test -d /usr
/nec
; then
14948 lt_prog_compiler_pic_CXX
=-Kconform_pic
14952 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14953 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14954 # sets the default TLS model and affects inlining.
14959 lt_prog_compiler_pic_CXX
='-fPIC'
14964 # QNX uses GNU C++, but need to define -shared option too, otherwise
14965 # it will coredump.
14966 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14969 lt_prog_compiler_pic_CXX
='-fPIC'
14975 # All AIX code is PIC.
14976 if test ia64
= "$host_cpu"; then
14977 # AIX 5 now supports IA64 processor
14978 lt_prog_compiler_static_CXX
='-Bstatic'
14980 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14984 case $cc_basename in
14986 # Green Hills C++ Compiler
14987 # _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"
14991 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14992 # This hack is so that the source file can tell whether it is being
14993 # built for inclusion in a dll (and should export symbols for example).
14994 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14997 case $cc_basename in
14999 lt_prog_compiler_pic_CXX
='-KPIC'
15002 # Green Hills C++ Compiler
15003 lt_prog_compiler_pic_CXX
='-pic'
15009 freebsd
* | dragonfly
*)
15010 # FreeBSD uses GNU C++
15012 hpux9
* | hpux10
* | hpux11
*)
15013 case $cc_basename in
15015 lt_prog_compiler_wl_CXX
='-Wl,'
15016 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15017 if test ia64
!= "$host_cpu"; then
15018 lt_prog_compiler_pic_CXX
='+Z'
15022 lt_prog_compiler_wl_CXX
='-Wl,'
15023 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15029 lt_prog_compiler_pic_CXX
='+Z'
15038 # This is c89, which is MS Visual C++ (no shared libs)
15039 # Anyone wants to do a port?
15041 irix5
* | irix6
* | nonstopux
*)
15042 case $cc_basename in
15044 lt_prog_compiler_wl_CXX
='-Wl,'
15045 lt_prog_compiler_static_CXX
='-non_shared'
15046 # CC pic flag -KPIC is the default.
15052 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15053 case $cc_basename in
15056 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15057 lt_prog_compiler_pic_CXX
='-fPIC'
15060 # old Intel C++ for x86_64, which still supported -KPIC.
15061 lt_prog_compiler_wl_CXX
='-Wl,'
15062 lt_prog_compiler_pic_CXX
='-KPIC'
15063 lt_prog_compiler_static_CXX
='-static'
15066 # Intel C++, used to be incompatible with GCC.
15067 # ICC 10 doesn't accept -KPIC any more.
15068 lt_prog_compiler_wl_CXX
='-Wl,'
15069 lt_prog_compiler_pic_CXX
='-fPIC'
15070 lt_prog_compiler_static_CXX
='-static'
15073 # Portland Group C++ compiler
15074 lt_prog_compiler_wl_CXX
='-Wl,'
15075 lt_prog_compiler_pic_CXX
='-fpic'
15076 lt_prog_compiler_static_CXX
='-Bstatic'
15080 # Make sure the PIC flag is empty. It appears that all Alpha
15081 # Linux and Compaq Tru64 Unix objects are PIC.
15082 lt_prog_compiler_pic_CXX
=
15083 lt_prog_compiler_static_CXX
='-non_shared'
15085 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15086 # IBM XL 8.0, 9.0 on PPC and BlueGene
15087 lt_prog_compiler_wl_CXX
='-Wl,'
15088 lt_prog_compiler_pic_CXX
='-qpic'
15089 lt_prog_compiler_static_CXX
='-qstaticlink'
15092 case `$CC -V 2>&1 | sed 5q` in
15095 lt_prog_compiler_pic_CXX
='-KPIC'
15096 lt_prog_compiler_static_CXX
='-Bstatic'
15097 lt_prog_compiler_wl_CXX
='-Qoption ld '
15108 case $cc_basename in
15110 lt_prog_compiler_pic_CXX
='-W c,exportall'
15119 # QNX uses GNU C++, but need to define -shared option too, otherwise
15120 # it will coredump.
15121 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15123 osf3
* | osf4
* | osf5
*)
15124 case $cc_basename in
15126 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15129 # Rational C++ 2.4.1
15130 lt_prog_compiler_pic_CXX
='-pic'
15133 # Digital/Compaq C++
15134 lt_prog_compiler_wl_CXX
='-Wl,'
15135 # Make sure the PIC flag is empty. It appears that all Alpha
15136 # Linux and Compaq Tru64 Unix objects are PIC.
15137 lt_prog_compiler_pic_CXX
=
15138 lt_prog_compiler_static_CXX
='-non_shared'
15147 case $cc_basename in
15149 # Sun C++ 4.2, 5.x and Centerline C++
15150 lt_prog_compiler_pic_CXX
='-KPIC'
15151 lt_prog_compiler_static_CXX
='-Bstatic'
15152 lt_prog_compiler_wl_CXX
='-Qoption ld '
15155 # Green Hills C++ Compiler
15156 lt_prog_compiler_pic_CXX
='-PIC'
15163 case $cc_basename in
15166 lt_prog_compiler_pic_CXX
='-pic'
15167 lt_prog_compiler_static_CXX
='-Bstatic'
15171 lt_prog_compiler_pic_CXX
='-pic'
15177 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15178 case $cc_basename in
15180 lt_prog_compiler_wl_CXX
='-Wl,'
15181 lt_prog_compiler_pic_CXX
='-KPIC'
15182 lt_prog_compiler_static_CXX
='-Bstatic'
15187 case $cc_basename in
15189 # NonStop-UX NCC 3.20
15190 lt_prog_compiler_pic_CXX
='-KPIC'
15199 lt_prog_compiler_can_build_shared_CXX
=no
15205 # For platforms that do not support PIC, -DPIC is meaningless:
15207 lt_prog_compiler_pic_CXX
=
15210 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15215 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15216 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
15217 $as_echo_n "(cached) " >&6
15219 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15222 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15223 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
15226 # Check to make sure the PIC flag actually works.
15228 if test -n "$lt_prog_compiler_pic_CXX"; then
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15230 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15231 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
15232 $as_echo_n "(cached) " >&6
15234 lt_cv_prog_compiler_pic_works_CXX
=no
15235 ac_outfile
=conftest.
$ac_objext
15236 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15237 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15238 # Insert the option either (1) after the last *FLAGS variable, or
15239 # (2) before a word containing "conftest.", or (3) at the end.
15240 # Note that $ac_compile itself does not contain backslashes and begins
15241 # with a dollar sign (not a hyphen), so the echo should work correctly.
15242 # The option is referenced via a variable to avoid confusing sed.
15243 lt_compile
=`echo "$ac_compile" | $SED \
15244 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15246 -e 's:$: $lt_compiler_flag:'`
15247 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15248 (eval "$lt_compile" 2>conftest.err
)
15250 cat conftest.err
>&5
15251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 if (exit $ac_status) && test -s "$ac_outfile"; then
15253 # The compiler can only warn and ignore the option if not recognized
15254 # So say no if there are warnings other than the usual output.
15255 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15256 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15257 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15258 lt_cv_prog_compiler_pic_works_CXX
=yes
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15265 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15267 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15268 case $lt_prog_compiler_pic_CXX in
15270 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15273 lt_prog_compiler_pic_CXX
=
15274 lt_prog_compiler_can_build_shared_CXX
=no
15284 # Check to make sure the static flag actually works.
15286 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15288 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15289 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
15290 $as_echo_n "(cached) " >&6
15292 lt_cv_prog_compiler_static_works_CXX
=no
15293 save_LDFLAGS
=$LDFLAGS
15294 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15295 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15296 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15297 # The linker can only warn and ignore the option if not recognized
15298 # So say no if there are warnings
15299 if test -s conftest.err
; then
15300 # Append any errors to the config.log.
15301 cat conftest.err
1>&5
15302 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15303 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15304 if diff conftest.exp conftest.er2
>/dev
/null
; then
15305 lt_cv_prog_compiler_static_works_CXX
=yes
15308 lt_cv_prog_compiler_static_works_CXX
=yes
15312 LDFLAGS
=$save_LDFLAGS
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15316 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15318 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15321 lt_prog_compiler_static_CXX
=
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15328 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15329 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15330 $as_echo_n "(cached) " >&6
15332 lt_cv_prog_compiler_c_o_CXX
=no
15333 $RM -r conftest
2>/dev
/null
15337 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15339 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15340 # Insert the option either (1) after the last *FLAGS variable, or
15341 # (2) before a word containing "conftest.", or (3) at the end.
15342 # Note that $ac_compile itself does not contain backslashes and begins
15343 # with a dollar sign (not a hyphen), so the echo should work correctly.
15344 lt_compile
=`echo "$ac_compile" | $SED \
15345 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15346 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15347 -e 's:$: $lt_compiler_flag:'`
15348 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15349 (eval "$lt_compile" 2>out
/conftest.err
)
15351 cat out
/conftest.err
>&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15355 # The compiler can only warn and ignore the option if not recognized
15356 # So say no if there are warnings
15357 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15358 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15359 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15360 lt_cv_prog_compiler_c_o_CXX
=yes
15365 # SGI C++ compiler will create directory out/ii_files/ for
15366 # template instantiation
15367 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15368 $RM out
/* && rmdir out
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15375 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15380 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15381 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15382 $as_echo_n "(cached) " >&6
15384 lt_cv_prog_compiler_c_o_CXX
=no
15385 $RM -r conftest
2>/dev
/null
15389 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15391 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15392 # Insert the option either (1) after the last *FLAGS variable, or
15393 # (2) before a word containing "conftest.", or (3) at the end.
15394 # Note that $ac_compile itself does not contain backslashes and begins
15395 # with a dollar sign (not a hyphen), so the echo should work correctly.
15396 lt_compile
=`echo "$ac_compile" | $SED \
15397 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15398 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15399 -e 's:$: $lt_compiler_flag:'`
15400 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15401 (eval "$lt_compile" 2>out
/conftest.err
)
15403 cat out
/conftest.err
>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15407 # The compiler can only warn and ignore the option if not recognized
15408 # So say no if there are warnings
15409 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15410 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15411 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15412 lt_cv_prog_compiler_c_o_CXX
=yes
15417 # SGI C++ compiler will create directory out/ii_files/ for
15418 # template instantiation
15419 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15420 $RM out
/* && rmdir out
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15427 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15432 hard_links
=nottested
15433 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
15434 # do not overwrite the value of need_locks provided by the user
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15436 $as_echo_n "checking if we can lock with hard links... " >&6; }
15439 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15441 ln conftest.a conftest.b
2>&5 || hard_links
=no
15442 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15444 $as_echo "$hard_links" >&6; }
15445 if test no
= "$hard_links"; then
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15447 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15457 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15459 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15460 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15463 # If we're using GNU nm, then we don't want the "-C" option.
15464 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15465 # Without the "-l" option, or with the "-B" option, AIX nm treats
15466 # weak defined symbols like other global defined symbols, whereas
15467 # GNU nm marks them as "W".
15468 # While the 'weak' keyword is ignored in the Export File, we need
15469 # it in the Import File for the 'aix-soname' feature, so we have
15470 # to replace the "-B" option with "-P" for AIX nm.
15471 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
15472 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'
15474 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'
15478 export_symbols_cmds_CXX
=$ltdll_cmds
15480 cygwin
* | mingw
* | cegcc
*)
15481 case $cc_basename in
15483 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15486 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'
15487 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15492 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15497 $as_echo "$ld_shlibs_CXX" >&6; }
15498 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15500 with_gnu_ld_CXX
=$with_gnu_ld
15508 # Do we need to explicitly link libc?
15510 case "x$archive_cmds_need_lc_CXX" in
15512 # Assume -lc should be added
15513 archive_cmds_need_lc_CXX
=yes
15515 if test yes,yes = "$GCC,$enable_shared"; then
15516 case $archive_cmds_CXX in
15518 # FIXME: we may have to deal with multi-command sequences.
15521 # Test whether the compiler implicitly links with -lc since on some
15522 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15523 # to ld, don't add -lc before -lgcc.
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15525 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15526 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15527 $as_echo_n "(cached) " >&6
15530 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15533 (eval $ac_compile) 2>&5
15535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15536 test $ac_status = 0; } 2>conftest.err
; then
15539 libobjs
=conftest.
$ac_objext
15541 wl
=$lt_prog_compiler_wl_CXX
15542 pic_flag
=$lt_prog_compiler_pic_CXX
15548 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15549 allow_undefined_flag_CXX
=
15550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15551 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15554 test $ac_status = 0; }
15556 lt_cv_archive_cmds_need_lc_CXX
=no
15558 lt_cv_archive_cmds_need_lc_CXX
=yes
15560 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15562 cat conftest.err
1>&5
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15568 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15569 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15638 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15640 library_names_spec
=
15641 libname_spec
='lib$name'
15645 postuninstall_cmds
=
15649 shlibpath_overrides_runpath
=unknown
15651 dynamic_linker
="$host_os ld.so"
15652 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15653 need_lib_prefix
=unknown
15654 hardcode_into_libs
=no
15656 # when you set need_version to no, make sure it does not cause -set_version
15657 # flags to be left without arguments
15658 need_version
=unknown
15664 version_type
=linux
# correct to gnu/linux during the next big refactor
15665 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
15666 shlibpath_var
=LIBPATH
15668 # AIX 3 has no versioning support, so we append a major version to the name.
15669 soname_spec
='$libname$release$shared_ext$major'
15673 version_type
=linux
# correct to gnu/linux during the next big refactor
15676 hardcode_into_libs
=yes
15677 if test ia64
= "$host_cpu"; then
15678 # AIX 5 supports IA64
15679 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15680 shlibpath_var
=LD_LIBRARY_PATH
15682 # With GCC up to 2.95.x, collect2 would create an import file
15683 # for dependence libraries. The import file would start with
15684 # the line '#! .'. This would cause the generated library to
15685 # depend on '.', always an invalid library. This was fixed in
15686 # development snapshots of GCC prior to 3.0.
15688 aix4
| aix4.
[01] | aix4.
[01].
*)
15689 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15691 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
15694 can_build_shared
=no
15698 # Using Import Files as archive members, it is possible to support
15699 # filename-based versioning of shared library archives on AIX. While
15700 # this would work for both with and without runtime linking, it will
15701 # prevent static linking of such archives. So we do filename-based
15702 # shared library versioning with .so extension only, which is used
15703 # when both runtime linking and shared linking is enabled.
15704 # Unfortunately, runtime linking may impact performance, so we do
15705 # not want this to be the default eventually. Also, we use the
15706 # versioned .so libs for executables only if there is the -brtl
15707 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15708 # To allow for filename-based versioning support, we need to create
15709 # libNAME.so.V as an archive file, containing:
15710 # *) an Import File, referring to the versioned filename of the
15711 # archive as well as the shared archive member, telling the
15712 # bitwidth (32 or 64) of that shared object, and providing the
15713 # list of exported symbols of that shared object, eventually
15714 # decorated with the 'weak' keyword
15715 # *) the shared object with the F_LOADONLY flag set, to really avoid
15716 # it being seen by the linker.
15717 # At run time we better use the real file rather than another symlink,
15718 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15720 case $with_aix_soname,$aix_use_runtimelinking in
15721 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15722 # soname into executable. Probably we can add versioning support to
15723 # collect2, so additional links can be useful in future.
15724 aix
,yes) # traditional libtool
15725 dynamic_linker
='AIX unversionable lib.so'
15726 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15727 # instead of lib<name>.a to let people know that these are not
15728 # typical AIX shared libraries.
15729 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15731 aix
,no
) # traditional AIX only
15732 dynamic_linker
='AIX lib.a(lib.so.V)'
15733 # We preserve .a as extension for shared libraries through AIX4.2
15734 # and later when we are not doing run time linking.
15735 library_names_spec
='$libname$release.a $libname.a'
15736 soname_spec
='$libname$release$shared_ext$major'
15738 svr4
,*) # full svr4 only
15739 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
15740 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15741 # We do not specify a path in Import Files, so LIBPATH fires.
15742 shlibpath_overrides_runpath
=yes
15744 *,yes) # both, prefer svr4
15745 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15746 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15747 # unpreferred sharedlib libNAME.a needs extra handling
15748 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"'
15749 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"'
15750 # We do not specify a path in Import Files, so LIBPATH fires.
15751 shlibpath_overrides_runpath
=yes
15753 *,no
) # both, prefer aix
15754 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15755 library_names_spec
='$libname$release.a $libname.a'
15756 soname_spec
='$libname$release$shared_ext$major'
15757 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15758 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)'
15759 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"'
15762 shlibpath_var
=LIBPATH
15769 # Since July 2007 AmigaOS4 officially supports .so libraries.
15770 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15771 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15774 library_names_spec
='$libname.ixlibrary $libname.a'
15775 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15776 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'
15782 library_names_spec
='$libname$shared_ext'
15783 dynamic_linker
="$host_os ld.so"
15784 shlibpath_var
=LIBRARY_PATH
15788 version_type
=linux
# correct to gnu/linux during the next big refactor
15790 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15791 soname_spec
='$libname$release$shared_ext$major'
15792 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15793 shlibpath_var
=LD_LIBRARY_PATH
15794 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15795 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15796 # the default ld.so.conf also contains /usr/contrib/lib and
15797 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15798 # libtool to hard-code these into programs
15801 cygwin
* | mingw
* | pw32
* | cegcc
*)
15802 version_type
=windows
15807 case $GCC,$cc_basename in
15810 library_names_spec
='$libname.dll.a'
15811 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15812 postinstall_cmds
='base_file=`basename \$file`~
15813 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15814 dldir=$destdir/`dirname \$dlpath`~
15815 test -d \$dldir || mkdir -p \$dldir~
15816 $install_prog $dir/$dlname \$dldir/$dlname~
15817 chmod a+x \$dldir/$dlname~
15818 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15819 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15821 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15822 dlpath=$dir/\$dldll~
15824 shlibpath_overrides_runpath
=yes
15828 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15829 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15833 # MinGW DLLs use traditional 'lib' prefix
15834 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15837 # pw32 DLLs use 'pw' prefix rather than 'lib'
15838 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15841 dynamic_linker
='Win32 ld.exe'
15846 libname_spec
='$name'
15847 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15848 library_names_spec
='$libname.dll.lib'
15852 sys_lib_search_path_spec
=
15855 for lt_path
in $LIB
15858 # Let DOS variable expansion print the short 8.3 style file name.
15859 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15860 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15863 # Convert to MSYS style.
15864 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15867 # Convert to unix form, then to dos form, then back to unix form
15868 # but this time dos style (no spaces!) so that the unix form looks
15869 # like /cygdrive/c/PROGRA~1:/cygdr...
15870 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15871 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15872 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15875 sys_lib_search_path_spec
=$LIB
15876 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15877 # It is most probably a Windows format PATH.
15878 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15880 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15882 # FIXME: find the short name or the path components, as spaces are
15883 # common. (e.g. "Program Files" -> "PROGRA~1")
15887 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15888 postinstall_cmds
='base_file=`basename \$file`~
15889 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15890 dldir=$destdir/`dirname \$dlpath`~
15891 test -d \$dldir || mkdir -p \$dldir~
15892 $install_prog $dir/$dlname \$dldir/$dlname'
15893 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15894 dlpath=$dir/\$dldll~
15896 shlibpath_overrides_runpath
=yes
15897 dynamic_linker
='Win32 link.exe'
15901 # Assume MSVC wrapper
15902 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
15903 dynamic_linker
='Win32 ld.exe'
15906 # FIXME: first we should search . and the directory the executable is in
15910 darwin
* | rhapsody
*)
15911 dynamic_linker
="$host_os dyld"
15912 version_type
=darwin
15915 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
15916 soname_spec
='$libname$release$major$shared_ext'
15917 shlibpath_overrides_runpath
=yes
15918 shlibpath_var
=DYLD_LIBRARY_PATH
15919 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15921 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15925 version_type
=linux
# correct to gnu/linux during the next big refactor
15928 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15929 soname_spec
='$libname$release$shared_ext$major'
15930 shlibpath_var
=LD_LIBRARY_PATH
15933 freebsd
* | dragonfly
*)
15934 # DragonFly does not have aout. When/if they implement a new
15935 # versioning mechanism, adjust this.
15936 if test -x /usr
/bin
/objformat
; then
15937 objformat
=`/usr/bin/objformat`
15940 freebsd
[23].
*) objformat
=aout
;;
15941 *) objformat
=elf
;;
15944 version_type
=freebsd
-$objformat
15945 case $version_type in
15947 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15948 soname_spec
='$libname$release$shared_ext$major'
15953 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15957 shlibpath_var
=LD_LIBRARY_PATH
15960 shlibpath_overrides_runpath
=yes
15962 freebsd3.
[01]* | freebsdelf3.
[01]*)
15963 shlibpath_overrides_runpath
=yes
15964 hardcode_into_libs
=yes
15966 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15967 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15968 shlibpath_overrides_runpath
=no
15969 hardcode_into_libs
=yes
15971 *) # from 4.6 on, and DragonFly
15972 shlibpath_overrides_runpath
=yes
15973 hardcode_into_libs
=yes
15979 version_type
=linux
# correct to gnu/linux during the next big refactor
15982 dynamic_linker
="$host_os runtime_loader"
15983 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15984 soname_spec
='$libname$release$shared_ext$major'
15985 shlibpath_var
=LIBRARY_PATH
15986 shlibpath_overrides_runpath
=no
15987 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15988 hardcode_into_libs
=yes
15991 hpux9
* | hpux10
* | hpux11
*)
15992 # Give a soname corresponding to the major version so that dld.sl refuses to
15993 # link against other versions.
16000 hardcode_into_libs
=yes
16001 dynamic_linker
="$host_os dld.so"
16002 shlibpath_var
=LD_LIBRARY_PATH
16003 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16004 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16005 soname_spec
='$libname$release$shared_ext$major'
16006 if test 32 = "$HPUX_IA64_MODE"; then
16007 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16008 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
16010 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16011 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
16016 hardcode_into_libs
=yes
16017 dynamic_linker
="$host_os dld.sl"
16018 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16019 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16020 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16021 soname_spec
='$libname$release$shared_ext$major'
16022 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16023 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16027 dynamic_linker
="$host_os dld.sl"
16028 shlibpath_var
=SHLIB_PATH
16029 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16030 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16031 soname_spec
='$libname$release$shared_ext$major'
16034 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16035 postinstall_cmds
='chmod 555 $lib'
16036 # or fails outright, so override atomically:
16037 install_override_mode
=555
16041 version_type
=linux
# correct to gnu/linux during the next big refactor
16044 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16045 soname_spec
='$libname$release$shared_ext$major'
16046 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16047 shlibpath_var
=LD_LIBRARY_PATH
16048 shlibpath_overrides_runpath
=no
16049 hardcode_into_libs
=yes
16052 irix5
* | irix6
* | nonstopux
*)
16054 nonstopux
*) version_type
=nonstopux
;;
16056 if test yes = "$lt_cv_prog_gnu_ld"; then
16057 version_type
=linux
# correct to gnu/linux during the next big refactor
16064 soname_spec
='$libname$release$shared_ext$major'
16065 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16067 irix5
* | nonstopux
*)
16068 libsuff
= shlibsuff
=
16071 case $LD in # libtool.m4 will add one of these switches to LD
16072 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16073 libsuff
= shlibsuff
= libmagic
=32-bit;;
16074 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16075 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16076 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16077 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16078 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
16082 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16083 shlibpath_overrides_runpath
=no
16084 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16085 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
16086 hardcode_into_libs
=yes
16089 # No shared lib support for Linux oldld, aout, or coff.
16090 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16095 version_type
=none
# Android doesn't support versioned libraries.
16098 library_names_spec
='$libname$release$shared_ext'
16099 soname_spec
='$libname$release$shared_ext'
16101 shlibpath_var
=LD_LIBRARY_PATH
16102 shlibpath_overrides_runpath
=yes
16104 # This implies no fast_install, which is unacceptable.
16105 # Some rework will be needed to allow for fast_install
16106 # before this can be enabled.
16107 hardcode_into_libs
=yes
16109 dynamic_linker
='Android linker'
16110 # Don't embed -rpath directories since the linker doesn't support them.
16111 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16114 # This must be glibc/ELF.
16115 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16116 version_type
=linux
# correct to gnu/linux during the next big refactor
16119 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16120 soname_spec
='$libname$release$shared_ext$major'
16121 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16122 shlibpath_var
=LD_LIBRARY_PATH
16123 shlibpath_overrides_runpath
=no
16125 # Some binutils ld are patched to set DT_RUNPATH
16126 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
16127 $as_echo_n "(cached) " >&6
16129 lt_cv_shlibpath_overrides_runpath
=no
16130 save_LDFLAGS
=$LDFLAGS
16131 save_libdir
=$libdir
16132 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16133 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16135 /* end confdefs.h. */
16145 if ac_fn_cxx_try_link
"$LINENO"; then :
16146 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
16147 lt_cv_shlibpath_overrides_runpath
=yes
16150 rm -f core conftest.err conftest.
$ac_objext \
16151 conftest
$ac_exeext conftest.
$ac_ext
16152 LDFLAGS
=$save_LDFLAGS
16153 libdir
=$save_libdir
16157 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16159 # This implies no fast_install, which is unacceptable.
16160 # Some rework will be needed to allow for fast_install
16161 # before this can be enabled.
16162 hardcode_into_libs
=yes
16164 # Ideally, we could use ldconfig to report *all* directores which are
16165 # searched for libraries, however this is still not possible. Aside from not
16166 # being certain /sbin/ldconfig is available, command
16167 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16168 # even though it is searched at run-time. Try to do the best guess by
16169 # appending ld.so.conf contents (and includes) to the search path.
16170 if test -f /etc
/ld.so.conf
; then
16171 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' ' '`
16172 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16175 # We used to test for /lib/ld.so.1 and disable shared libraries on
16176 # powerpc, because MkLinux only supported shared libraries with the
16177 # GNU dynamic linker. Since this was broken with cross compilers,
16178 # most powerpc-linux boxes support dynamic linking these days and
16179 # people can always --disable-shared, the test was removed, and we
16180 # assume the GNU/Linux dynamic linker is in use.
16181 dynamic_linker
='GNU/Linux ld.so'
16188 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16189 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16190 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16191 dynamic_linker
='NetBSD (a.out) ld.so'
16193 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16194 soname_spec
='$libname$release$shared_ext$major'
16195 dynamic_linker
='NetBSD ld.elf_so'
16197 shlibpath_var
=LD_LIBRARY_PATH
16198 shlibpath_overrides_runpath
=yes
16199 hardcode_into_libs
=yes
16203 version_type
=linux
# correct to gnu/linux during the next big refactor
16204 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16205 shlibpath_var
=LD_LIBRARY_PATH
16206 shlibpath_overrides_runpath
=yes
16213 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16214 soname_spec
='$libname$release$shared_ext$major'
16215 shlibpath_var
=LD_LIBRARY_PATH
16216 shlibpath_overrides_runpath
=no
16217 hardcode_into_libs
=yes
16218 dynamic_linker
='ldqnx.so'
16221 openbsd
* | bitrig
*)
16223 sys_lib_dlsearch_path_spec
=/usr
/lib
16225 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16230 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16231 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16232 shlibpath_var
=LD_LIBRARY_PATH
16233 shlibpath_overrides_runpath
=yes
16237 libname_spec
='$name'
16238 version_type
=windows
16242 # OS/2 can only load a DLL with a base name of 8 characters or less.
16243 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
16244 v=$($ECHO $release$versuffix | tr -d .-);
16245 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16246 $ECHO $n$v`$shared_ext'
16247 library_names_spec
='${libname}_dll.$libext'
16248 dynamic_linker
='OS/2 ld.exe'
16249 shlibpath_var
=BEGINLIBPATH
16250 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16251 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16252 postinstall_cmds
='base_file=`basename \$file`~
16253 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16254 dldir=$destdir/`dirname \$dlpath`~
16255 test -d \$dldir || mkdir -p \$dldir~
16256 $install_prog $dir/$dlname \$dldir/$dlname~
16257 chmod a+x \$dldir/$dlname~
16258 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16259 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16261 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16262 dlpath=$dir/\$dldll~
16266 osf3
* | osf4
* | osf5
*)
16270 soname_spec
='$libname$release$shared_ext$major'
16271 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16272 shlibpath_var
=LD_LIBRARY_PATH
16273 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16274 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16282 version_type
=linux
# correct to gnu/linux during the next big refactor
16285 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16286 soname_spec
='$libname$release$shared_ext$major'
16287 shlibpath_var
=LD_LIBRARY_PATH
16288 shlibpath_overrides_runpath
=yes
16289 hardcode_into_libs
=yes
16290 # ldd complains unless libraries are executable
16291 postinstall_cmds
='chmod +x $lib'
16296 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16297 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16298 shlibpath_var
=LD_LIBRARY_PATH
16299 shlibpath_overrides_runpath
=yes
16300 if test yes = "$with_gnu_ld"; then
16307 version_type
=linux
# correct to gnu/linux during the next big refactor
16308 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16309 soname_spec
='$libname$release$shared_ext$major'
16310 shlibpath_var
=LD_LIBRARY_PATH
16311 case $host_vendor in
16313 shlibpath_overrides_runpath
=no
16315 runpath_var
=LD_RUN_PATH
16323 shlibpath_overrides_runpath
=no
16324 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16330 if test -d /usr
/nec
; then
16331 version_type
=linux
# correct to gnu/linux during the next big refactor
16332 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16333 soname_spec
='$libname$shared_ext.$major'
16334 shlibpath_var
=LD_LIBRARY_PATH
16338 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16342 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16343 soname_spec
='$libname$release$shared_ext$major'
16344 shlibpath_var
=LD_LIBRARY_PATH
16345 shlibpath_overrides_runpath
=yes
16346 hardcode_into_libs
=yes
16347 if test yes = "$with_gnu_ld"; then
16348 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16350 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16353 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16357 sys_lib_dlsearch_path_spec
='/usr/lib'
16361 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16362 version_type
=linux
# correct to gnu/linux during the next big refactor
16365 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16366 shlibpath_var
=LD_LIBRARY_PATH
16367 shlibpath_overrides_runpath
=no
16368 hardcode_into_libs
=yes
16372 version_type
=linux
# correct to gnu/linux during the next big refactor
16373 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16374 soname_spec
='$libname$release$shared_ext$major'
16375 shlibpath_var
=LD_LIBRARY_PATH
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16383 $as_echo "$dynamic_linker" >&6; }
16384 test no
= "$dynamic_linker" && can_build_shared
=no
16386 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16387 if test yes = "$GCC"; then
16388 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16391 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16392 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
16395 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16396 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
16399 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16400 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
16402 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16403 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
16405 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16406 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16448 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16449 hardcode_action_CXX
=
16450 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16451 test -n "$runpath_var_CXX" ||
16452 test yes = "$hardcode_automatic_CXX"; then
16454 # We can hardcode non-existent directories.
16455 if test no
!= "$hardcode_direct_CXX" &&
16456 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16457 # have to relink, otherwise we might link with an installed library
16458 # when we should be linking with a yet-to-be-installed one
16459 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16460 test no
!= "$hardcode_minus_L_CXX"; then
16461 # Linking always hardcodes the temporary library directory.
16462 hardcode_action_CXX
=relink
16464 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16465 hardcode_action_CXX
=immediate
16468 # We cannot hardcode anything, or else we can only hardcode existing
16470 hardcode_action_CXX
=unsupported
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16473 $as_echo "$hardcode_action_CXX" >&6; }
16475 if test relink
= "$hardcode_action_CXX" ||
16476 test yes = "$inherit_rpath_CXX"; then
16477 # Fast installation is not supported
16478 enable_fast_install
=no
16479 elif test yes = "$shlibpath_overrides_runpath" ||
16480 test no
= "$enable_shared"; then
16481 # Fast installation is not necessary
16482 enable_fast_install
=needless
16491 fi # test -n "$compiler"
16494 CFLAGS
=$lt_save_CFLAGS
16498 with_gnu_ld
=$lt_save_with_gnu_ld
16499 lt_cv_path_LDCXX
=$lt_cv_path_LD
16500 lt_cv_path_LD
=$lt_save_path_LD
16501 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16502 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16503 fi # test yes != "$_lt_caught_CXX_error"
16506 ac_cpp
='$CPP $CPPFLAGS'
16507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16525 ac_config_commands
="$ac_config_commands libtool"
16530 # Only expand once:
16535 ac_cpp
='$CXXCPP $CPPFLAGS'
16536 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16537 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16538 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16541 ax_cxx_compile_cxx11_required
=true
16543 ac_cpp
='$CXXCPP $CPPFLAGS'
16544 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16545 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16546 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
16549 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
16550 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
16551 $as_echo_n "(cached) " >&6
16553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16554 /* end confdefs.h. */
16556 template <typename T>
16559 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16563 virtual void f() {}
16565 struct Child : public Base {
16566 virtual void f() override {}
16569 typedef check<check<bool>> right_angle_brackets;
16574 typedef check<int> check_type;
16576 check_type&& cr = static_cast<check_type&&>(c);
16582 if ac_fn_cxx_try_compile
"$LINENO"; then :
16583 ax_cv_cxx_compile_cxx11
=yes
16585 ax_cv_cxx_compile_cxx11
=no
16587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
16590 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
16591 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
16595 if test x
$ac_success = xno
; then
16596 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
16597 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
16599 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
16600 if eval \
${$cachevar+:} false
; then :
16601 $as_echo_n "(cached) " >&6
16603 ac_save_CXXFLAGS
="$CXXFLAGS"
16604 CXXFLAGS
="$CXXFLAGS $switch"
16605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16606 /* end confdefs.h. */
16608 template <typename T>
16611 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16615 virtual void f() {}
16617 struct Child : public Base {
16618 virtual void f() override {}
16621 typedef check<check<bool>> right_angle_brackets;
16626 typedef check<int> check_type;
16628 check_type&& cr = static_cast<check_type&&>(c);
16634 if ac_fn_cxx_try_compile
"$LINENO"; then :
16639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16640 CXXFLAGS
="$ac_save_CXXFLAGS"
16642 eval ac_res
=\$
$cachevar
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16644 $as_echo "$ac_res" >&6; }
16645 if eval test x\$
$cachevar = xyes
; then
16646 CXXFLAGS
="$CXXFLAGS $switch"
16655 ac_cpp
='$CXXCPP $CPPFLAGS'
16656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16660 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
16661 if test x
$ac_success = xno
; then
16662 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
16665 if test x
$ac_success = xno
; then
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
16668 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
16672 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
16679 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
16688 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16689 if test -n "$ac_tool_prefix"; then
16690 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16691 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16693 $as_echo_n "checking for $ac_word... " >&6; }
16694 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16695 $as_echo_n "(cached) " >&6
16697 case $PKG_CONFIG in
16699 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16703 for as_dir
in $PATH
16706 test -z "$as_dir" && as_dir
=.
16707 for ac_exec_ext
in '' $ac_executable_extensions; do
16708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16709 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16720 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16721 if test -n "$PKG_CONFIG"; then
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16723 $as_echo "$PKG_CONFIG" >&6; }
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16726 $as_echo "no" >&6; }
16731 if test -z "$ac_cv_path_PKG_CONFIG"; then
16732 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16733 # Extract the first word of "pkg-config", so it can be a program name with args.
16734 set dummy pkg
-config; ac_word
=$2
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16736 $as_echo_n "checking for $ac_word... " >&6; }
16737 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16738 $as_echo_n "(cached) " >&6
16740 case $ac_pt_PKG_CONFIG in
16742 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16746 for as_dir
in $PATH
16749 test -z "$as_dir" && as_dir
=.
16750 for ac_exec_ext
in '' $ac_executable_extensions; do
16751 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16752 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16763 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16764 if test -n "$ac_pt_PKG_CONFIG"; then
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16766 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16769 $as_echo "no" >&6; }
16772 if test "x$ac_pt_PKG_CONFIG" = x
; then
16775 case $cross_compiling:$ac_tool_warned in
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16779 ac_tool_warned
=yes ;;
16781 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16784 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16788 if test -n "$PKG_CONFIG"; then
16789 _pkg_min_version
=0.22
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16791 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16792 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16794 $as_echo "yes" >&6; }
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16797 $as_echo "no" >&6; }
16802 # Extract the first word of "git", so it can be a program name with args.
16803 set dummy git
; ac_word
=$2
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16805 $as_echo_n "checking for $ac_word... " >&6; }
16806 if ${ac_cv_path_GIT+:} false
; then :
16807 $as_echo_n "(cached) " >&6
16811 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16815 for as_dir
in $PATH
16818 test -z "$as_dir" && as_dir
=.
16819 for ac_exec_ext
in '' $ac_executable_extensions; do
16820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16821 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16832 GIT
=$ac_cv_path_GIT
16833 if test -n "$GIT"; then
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16835 $as_echo "$GIT" >&6; }
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16838 $as_echo "no" >&6; }
16842 # Extract the first word of "time", so it can be a program name with args.
16843 set dummy
time; ac_word
=$2
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16845 $as_echo_n "checking for $ac_word... " >&6; }
16846 if ${ac_cv_path_TIME+:} false
; then :
16847 $as_echo_n "(cached) " >&6
16851 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16855 for as_dir
in $PATH
16858 test -z "$as_dir" && as_dir
=.
16859 for ac_exec_ext
in '' $ac_executable_extensions; do
16860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16861 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16872 TIME
=$ac_cv_path_TIME
16873 if test -n "$TIME"; then
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16875 $as_echo "$TIME" >&6; }
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16878 $as_echo "no" >&6; }
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
16888 $as_echo_n "checking for bison >= 3.0... " >&6; }
16889 if test -z "$BISON"; then
16890 ac_path_BISON_found
=false
16891 # Loop through the user's path and test for each of PROGNAME-LIST
16892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16893 for as_dir
in $PATH
16896 test -z "$as_dir" && as_dir
=.
16897 for ac_prog
in bison
; do
16898 for ac_exec_ext
in '' $ac_executable_extensions; do
16899 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16900 as_fn_executable_p
"$ac_path_BISON" || continue
16901 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16902 if ${version:+false} :; then :
16905 as_awk_strverscmp
='
16906 # Use only awk features that work with 7th edition Unix awk (1978).
16907 # My, what an old awk you have, Mr. Solaris!
16909 while (length(v1) && length(v2)) {
16910 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16911 # Normally this is a single character, but if v1 and v2 contain digits,
16912 # compare them as integers and fractions as strverscmp does.
16913 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16914 # Split v1 and v2 into their leading digit string components d1 and d2,
16915 # and advance v1 and v2 past the leading digit strings.
16916 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16917 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16918 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16919 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16922 # Compare two fractions.
16923 while (d1 ~ /^0/ && d2 ~ /^0/) {
16924 d1 = substr(d1, 2); len1--
16925 d2 = substr(d2, 2); len2--
16927 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16928 # The two components differ in length, and the common prefix
16929 # contains only leading zeros. Consider the longer to be less.
16933 # Otherwise, compare as strings.
16938 # A fraction is less than an integer.
16943 # An integer is greater than a fraction.
16946 # Compare two integers.
16952 # The normal case, without worrying about digits.
16953 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16954 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16956 if (d1 < d2) exit 1
16957 if (d1 > d2) exit 2
16959 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16960 # which mishandles some comparisons of empty strings to integers.
16961 if (length(v2)) exit 1
16962 if (length(v1)) exit 2
16967 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16972 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16974 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16980 $ac_path_BISON_found && break 3
16985 if test -z "$ac_cv_path_BISON"; then
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16987 $as_echo "no" >&6; }
16990 ac_cv_path_BISON
=$BISON
16996 BISON
=$ac_cv_path_BISON
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16999 $as_echo "$BISON" >&6; }
17004 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17011 $as_echo "no" >&6; }
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
17020 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
17021 if test -z "$FLEX"; then
17022 ac_path_FLEX_found
=false
17023 # Loop through the user's path and test for each of PROGNAME-LIST
17024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17025 for as_dir
in $PATH
17028 test -z "$as_dir" && as_dir
=.
17029 for ac_prog
in flex
; do
17030 for ac_exec_ext
in '' $ac_executable_extensions; do
17031 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
17032 as_fn_executable_p
"$ac_path_FLEX" || continue
17033 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
17034 if ${version:+false} :; then :
17039 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17044 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17046 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17052 $ac_path_FLEX_found && break 3
17057 if test -z "$ac_cv_path_FLEX"; then
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17059 $as_echo "no" >&6; }
17062 ac_cv_path_FLEX
=$FLEX
17068 FLEX
=$ac_cv_path_FLEX
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17071 $as_echo "$FLEX" >&6; }
17076 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17083 $as_echo "no" >&6; }
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
17092 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
17093 if test -z "$GPERF"; then
17094 ac_path_GPERF_found
=false
17095 # Loop through the user's path and test for each of PROGNAME-LIST
17096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17097 for as_dir
in $PATH
17100 test -z "$as_dir" && as_dir
=.
17101 for ac_prog
in gperf
; do
17102 for ac_exec_ext
in '' $ac_executable_extensions; do
17103 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
17104 as_fn_executable_p
"$ac_path_GPERF" || continue
17105 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
17106 if ${version:+false} :; then :
17111 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17116 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17118 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17124 $ac_path_GPERF_found && break 3
17129 if test -z "$ac_cv_path_GPERF"; then
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17131 $as_echo "no" >&6; }
17134 ac_cv_path_GPERF
=$GPERF
17140 GPERF
=$ac_cv_path_GPERF
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17143 $as_echo "$GPERF" >&6; }
17148 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17155 $as_echo "no" >&6; }
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
17164 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
17165 if test -z "$GNUTAR"; then
17166 ac_path_GNUTAR_found
=false
17167 # Loop through the user's path and test for each of PROGNAME-LIST
17168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17169 for as_dir
in $PATH
17172 test -z "$as_dir" && as_dir
=.
17173 for ac_prog
in tar gtar gnutar
; do
17174 for ac_exec_ext
in '' $ac_executable_extensions; do
17175 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
17176 as_fn_executable_p
"$ac_path_GNUTAR" || continue
17177 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
17178 if ${version:+false} :; then :
17183 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17188 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17190 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17196 $ac_path_GNUTAR_found && break 3
17201 if test -z "$ac_cv_path_GNUTAR"; then
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17203 $as_echo "no" >&6; }
17206 ac_cv_path_GNUTAR
=$GNUTAR
17212 GNUTAR
=$ac_cv_path_GNUTAR
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
17215 $as_echo "$GNUTAR" >&6; }
17220 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17227 $as_echo "no" >&6; }
17242 ac_cpp
='$CPP $CPPFLAGS'
17243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
17248 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
17249 if ${ac_cv_cflags_warn_all+:} false
; then :
17250 $as_echo_n "(cached) " >&6
17252 ac_cv_cflags_warn_all
="no, unknown"
17253 ac_save_CFLAGS
="$CFLAGS"
17254 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" #
17255 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17267 if ac_fn_c_try_compile
"$LINENO"; then :
17268 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17272 CFLAGS
="$ac_save_CFLAGS"
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
17276 $as_echo "$ac_cv_cflags_warn_all" >&6; }
17279 case ".$ac_cv_cflags_warn_all" in
17282 *) if ${CFLAGS+:} false
; then :
17283 case " $CFLAGS " in
17284 *" $ac_cv_cflags_warn_all "*)
17285 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
17286 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
17288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17289 test $ac_status = 0; }
17292 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
17293 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
17295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17296 test $ac_status = 0; }
17297 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
17301 CFLAGS
="$ac_cv_cflags_warn_all"
17307 ac_cpp
='$CXXCPP $CPPFLAGS'
17308 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17309 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17310 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17314 ac_cpp
='$CXXCPP $CPPFLAGS'
17315 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17316 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17317 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17320 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17321 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17322 $as_echo_n "(cached) " >&6
17324 ac_cv_cxxflags_warn_all
="no, unknown"
17325 ac_save_CXXFLAGS
="$CXXFLAGS"
17326 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" #
17327 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17339 if ac_fn_cxx_try_compile
"$LINENO"; then :
17340 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17344 CXXFLAGS
="$ac_save_CXXFLAGS"
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17348 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17351 case ".$ac_cv_cxxflags_warn_all" in
17354 *) if ${CXXFLAGS+:} false
; then :
17355 case " $CXXFLAGS " in
17356 *" $ac_cv_cxxflags_warn_all "*)
17357 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17358 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17361 test $ac_status = 0; }
17364 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17365 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17368 test $ac_status = 0; }
17369 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17373 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17379 ac_cpp
='$CXXCPP $CPPFLAGS'
17380 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17386 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17387 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17388 $as_echo_n "(cached) " >&6
17390 ac_cv_cxxflags_warn_all
="no, unknown"
17391 ac_save_CXXFLAGS
="$CXXFLAGS"
17392 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" #
17393 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17395 /* end confdefs.h. */
17405 if ac_fn_cxx_try_compile
"$LINENO"; then :
17406 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17410 CXXFLAGS
="$ac_save_CXXFLAGS"
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17414 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17417 case ".$ac_cv_cxxflags_warn_all" in
17420 *) if ${CXXFLAGS+:} false
; then :
17421 case " $CXXFLAGS " in
17422 *" $ac_cv_cxxflags_warn_all "*)
17423 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17424 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17427 test $ac_status = 0; }
17430 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17431 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17434 test $ac_status = 0; }
17435 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17439 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17449 ac_cpp
='$CPP $CPPFLAGS'
17450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
17455 $as_echo_n "checking for cc -Werror... " >&6; }
17459 for element
in -Werror; do
17461 for x
in $CFLAGS; do
17463 acl_save_prefix
="$prefix"
17464 prefix
="$acl_final_prefix"
17465 acl_save_exec_prefix
="$exec_prefix"
17466 exec_prefix
="$acl_final_exec_prefix"
17468 exec_prefix
="$acl_save_exec_prefix"
17469 prefix
="$acl_save_prefix"
17471 if test "X$x" = "X$element"; then
17476 if test -z "$haveit"; then
17477 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h. */
17486 if ac_fn_c_try_compile
"$LINENO"; then :
17491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17494 if test "x$cy_good" = x1
; then :
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17496 $as_echo "yes" >&6; }
17498 for element
in -Werror; do
17500 for x
in $CFLAGS; do
17502 acl_save_prefix
="$prefix"
17503 prefix
="$acl_final_prefix"
17504 acl_save_exec_prefix
="$exec_prefix"
17505 exec_prefix
="$acl_final_exec_prefix"
17507 exec_prefix
="$acl_save_exec_prefix"
17508 prefix
="$acl_save_prefix"
17510 if test "X$x" = "X$element"; then
17515 if test -z "$haveit"; then
17516 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17523 $as_echo "no" >&6; }
17527 ac_cpp
='$CXXCPP $CPPFLAGS'
17528 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17529 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17530 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17535 ac_cpp
='$CXXCPP $CPPFLAGS'
17536 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
17541 $as_echo_n "checking for c++ -Werror... " >&6; }
17545 for element
in -Werror; do
17547 for x
in $CXXFLAGS; do
17549 acl_save_prefix
="$prefix"
17550 prefix
="$acl_final_prefix"
17551 acl_save_exec_prefix
="$exec_prefix"
17552 exec_prefix
="$acl_final_exec_prefix"
17554 exec_prefix
="$acl_save_exec_prefix"
17555 prefix
="$acl_save_prefix"
17557 if test "X$x" = "X$element"; then
17562 if test -z "$haveit"; then
17563 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17572 if ac_fn_cxx_try_compile
"$LINENO"; then :
17577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17580 if test "x$cy_good" = x1
; then :
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17582 $as_echo "yes" >&6; }
17584 for element
in -Werror; do
17586 for x
in $CXXFLAGS; do
17588 acl_save_prefix
="$prefix"
17589 prefix
="$acl_final_prefix"
17590 acl_save_exec_prefix
="$exec_prefix"
17591 exec_prefix
="$acl_final_exec_prefix"
17593 exec_prefix
="$acl_save_exec_prefix"
17594 prefix
="$acl_save_prefix"
17596 if test "X$x" = "X$element"; then
17601 if test -z "$haveit"; then
17602 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17609 $as_echo "no" >&6; }
17613 ac_cpp
='$CXXCPP $CPPFLAGS'
17614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17621 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17622 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17623 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17624 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
17627 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
17629 cy_save
=$OBJCXXFLAGS
17631 for element
in -Werror; do
17633 for x
in $OBJCXXFLAGS; do
17635 acl_save_prefix
="$prefix"
17636 prefix
="$acl_final_prefix"
17637 acl_save_exec_prefix
="$exec_prefix"
17638 exec_prefix
="$acl_final_exec_prefix"
17640 exec_prefix
="$acl_save_exec_prefix"
17641 prefix
="$acl_save_prefix"
17643 if test "X$x" = "X$element"; then
17648 if test -z "$haveit"; then
17649 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17655 /* end confdefs.h. */
17658 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17665 OBJCXXFLAGS
=$cy_save
17666 if test "x$cy_good" = x1
; then :
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17668 $as_echo "yes" >&6; }
17670 for element
in -Werror; do
17672 for x
in $OBJCXXFLAGS; do
17674 acl_save_prefix
="$prefix"
17675 prefix
="$acl_final_prefix"
17676 acl_save_exec_prefix
="$exec_prefix"
17677 exec_prefix
="$acl_final_exec_prefix"
17679 exec_prefix
="$acl_save_exec_prefix"
17680 prefix
="$acl_save_prefix"
17682 if test "X$x" = "X$element"; then
17687 if test -z "$haveit"; then
17688 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17695 $as_echo "no" >&6; }
17699 ac_cpp
='$CXXCPP $CPPFLAGS'
17700 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17701 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17702 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17710 ac_cpp
='$CPP $CPPFLAGS'
17711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17716 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17720 for element
in -Wno-deprecated-declarations; do
17722 for x
in $CFLAGS; do
17724 acl_save_prefix
="$prefix"
17725 prefix
="$acl_final_prefix"
17726 acl_save_exec_prefix
="$exec_prefix"
17727 exec_prefix
="$acl_final_exec_prefix"
17729 exec_prefix
="$acl_save_exec_prefix"
17730 prefix
="$acl_save_prefix"
17732 if test "X$x" = "X$element"; then
17737 if test -z "$haveit"; then
17738 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17747 if ac_fn_c_try_compile
"$LINENO"; then :
17752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17755 if test "x$cy_good" = x1
; then :
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17757 $as_echo "yes" >&6; }
17759 for element
in -Wno-deprecated-declarations; do
17761 for x
in $CFLAGS; do
17763 acl_save_prefix
="$prefix"
17764 prefix
="$acl_final_prefix"
17765 acl_save_exec_prefix
="$exec_prefix"
17766 exec_prefix
="$acl_final_exec_prefix"
17768 exec_prefix
="$acl_save_exec_prefix"
17769 prefix
="$acl_save_prefix"
17771 if test "X$x" = "X$element"; then
17776 if test -z "$haveit"; then
17777 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17784 $as_echo "no" >&6; }
17788 ac_cpp
='$CXXCPP $CPPFLAGS'
17789 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17790 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17791 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17796 ac_cpp
='$CXXCPP $CPPFLAGS'
17797 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17802 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17806 for element
in -Wno-deprecated-declarations; do
17808 for x
in $CXXFLAGS; do
17810 acl_save_prefix
="$prefix"
17811 prefix
="$acl_final_prefix"
17812 acl_save_exec_prefix
="$exec_prefix"
17813 exec_prefix
="$acl_final_exec_prefix"
17815 exec_prefix
="$acl_save_exec_prefix"
17816 prefix
="$acl_save_prefix"
17818 if test "X$x" = "X$element"; then
17823 if test -z "$haveit"; then
17824 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17833 if ac_fn_cxx_try_compile
"$LINENO"; then :
17838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17841 if test "x$cy_good" = x1
; then :
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17843 $as_echo "yes" >&6; }
17845 for element
in -Wno-deprecated-declarations; do
17847 for x
in $CXXFLAGS; do
17849 acl_save_prefix
="$prefix"
17850 prefix
="$acl_final_prefix"
17851 acl_save_exec_prefix
="$exec_prefix"
17852 exec_prefix
="$acl_final_exec_prefix"
17854 exec_prefix
="$acl_save_exec_prefix"
17855 prefix
="$acl_save_prefix"
17857 if test "X$x" = "X$element"; then
17862 if test -z "$haveit"; then
17863 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17870 $as_echo "no" >&6; }
17874 ac_cpp
='$CXXCPP $CPPFLAGS'
17875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17882 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17883 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17884 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17885 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17888 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17890 cy_save
=$OBJCXXFLAGS
17892 for element
in -Wno-deprecated-declarations; do
17894 for x
in $OBJCXXFLAGS; do
17896 acl_save_prefix
="$prefix"
17897 prefix
="$acl_final_prefix"
17898 acl_save_exec_prefix
="$exec_prefix"
17899 exec_prefix
="$acl_final_exec_prefix"
17901 exec_prefix
="$acl_save_exec_prefix"
17902 prefix
="$acl_save_prefix"
17904 if test "X$x" = "X$element"; then
17909 if test -z "$haveit"; then
17910 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17919 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17926 OBJCXXFLAGS
=$cy_save
17927 if test "x$cy_good" = x1
; then :
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17929 $as_echo "yes" >&6; }
17931 for element
in -Wno-deprecated-declarations; do
17933 for x
in $OBJCXXFLAGS; do
17935 acl_save_prefix
="$prefix"
17936 prefix
="$acl_final_prefix"
17937 acl_save_exec_prefix
="$exec_prefix"
17938 exec_prefix
="$acl_final_exec_prefix"
17940 exec_prefix
="$acl_save_exec_prefix"
17941 prefix
="$acl_save_prefix"
17943 if test "X$x" = "X$element"; then
17948 if test -z "$haveit"; then
17949 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17956 $as_echo "no" >&6; }
17960 ac_cpp
='$CXXCPP $CPPFLAGS'
17961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17971 ac_cpp
='$CPP $CPPFLAGS'
17972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17977 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17981 for element
in -Wno-dangling-else; do
17983 for x
in $CFLAGS; do
17985 acl_save_prefix
="$prefix"
17986 prefix
="$acl_final_prefix"
17987 acl_save_exec_prefix
="$exec_prefix"
17988 exec_prefix
="$acl_final_exec_prefix"
17990 exec_prefix
="$acl_save_exec_prefix"
17991 prefix
="$acl_save_prefix"
17993 if test "X$x" = "X$element"; then
17998 if test -z "$haveit"; then
17999 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18005 /* end confdefs.h. */
18008 if ac_fn_c_try_compile
"$LINENO"; then :
18013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18016 if test "x$cy_good" = x1
; then :
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18018 $as_echo "yes" >&6; }
18020 for element
in -Wno-dangling-else; do
18022 for x
in $CFLAGS; do
18024 acl_save_prefix
="$prefix"
18025 prefix
="$acl_final_prefix"
18026 acl_save_exec_prefix
="$exec_prefix"
18027 exec_prefix
="$acl_final_exec_prefix"
18029 exec_prefix
="$acl_save_exec_prefix"
18030 prefix
="$acl_save_prefix"
18032 if test "X$x" = "X$element"; then
18037 if test -z "$haveit"; then
18038 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18045 $as_echo "no" >&6; }
18049 ac_cpp
='$CXXCPP $CPPFLAGS'
18050 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18051 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18052 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18057 ac_cpp
='$CXXCPP $CPPFLAGS'
18058 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18059 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18060 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
18063 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
18067 for element
in -Wno-dangling-else; do
18069 for x
in $CXXFLAGS; do
18071 acl_save_prefix
="$prefix"
18072 prefix
="$acl_final_prefix"
18073 acl_save_exec_prefix
="$exec_prefix"
18074 exec_prefix
="$acl_final_exec_prefix"
18076 exec_prefix
="$acl_save_exec_prefix"
18077 prefix
="$acl_save_prefix"
18079 if test "X$x" = "X$element"; then
18084 if test -z "$haveit"; then
18085 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18094 if ac_fn_cxx_try_compile
"$LINENO"; then :
18099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18102 if test "x$cy_good" = x1
; then :
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18104 $as_echo "yes" >&6; }
18106 for element
in -Wno-dangling-else; do
18108 for x
in $CXXFLAGS; do
18110 acl_save_prefix
="$prefix"
18111 prefix
="$acl_final_prefix"
18112 acl_save_exec_prefix
="$exec_prefix"
18113 exec_prefix
="$acl_final_exec_prefix"
18115 exec_prefix
="$acl_save_exec_prefix"
18116 prefix
="$acl_save_prefix"
18118 if test "X$x" = "X$element"; then
18123 if test -z "$haveit"; then
18124 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18131 $as_echo "no" >&6; }
18135 ac_cpp
='$CXXCPP $CPPFLAGS'
18136 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18137 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18138 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18143 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18144 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18145 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18146 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
18149 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
18151 cy_save
=$OBJCXXFLAGS
18153 for element
in -Wno-dangling-else; do
18155 for x
in $OBJCXXFLAGS; do
18157 acl_save_prefix
="$prefix"
18158 prefix
="$acl_final_prefix"
18159 acl_save_exec_prefix
="$exec_prefix"
18160 exec_prefix
="$acl_final_exec_prefix"
18162 exec_prefix
="$acl_save_exec_prefix"
18163 prefix
="$acl_save_prefix"
18165 if test "X$x" = "X$element"; then
18170 if test -z "$haveit"; then
18171 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18177 /* end confdefs.h. */
18180 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18187 OBJCXXFLAGS
=$cy_save
18188 if test "x$cy_good" = x1
; then :
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18190 $as_echo "yes" >&6; }
18192 for element
in -Wno-dangling-else; do
18194 for x
in $OBJCXXFLAGS; do
18196 acl_save_prefix
="$prefix"
18197 prefix
="$acl_final_prefix"
18198 acl_save_exec_prefix
="$exec_prefix"
18199 exec_prefix
="$acl_final_exec_prefix"
18201 exec_prefix
="$acl_save_exec_prefix"
18202 prefix
="$acl_save_prefix"
18204 if test "X$x" = "X$element"; then
18209 if test -z "$haveit"; then
18210 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18217 $as_echo "no" >&6; }
18221 ac_cpp
='$CXXCPP $CPPFLAGS'
18222 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18223 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18224 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18231 ac_cpp
='$CPP $CPPFLAGS'
18232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
18237 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
18241 for element
in -Wno-overloaded-virtual; do
18243 for x
in $CFLAGS; do
18245 acl_save_prefix
="$prefix"
18246 prefix
="$acl_final_prefix"
18247 acl_save_exec_prefix
="$exec_prefix"
18248 exec_prefix
="$acl_final_exec_prefix"
18250 exec_prefix
="$acl_save_exec_prefix"
18251 prefix
="$acl_save_prefix"
18253 if test "X$x" = "X$element"; then
18258 if test -z "$haveit"; then
18259 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18265 /* end confdefs.h. */
18268 if ac_fn_c_try_compile
"$LINENO"; then :
18273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18276 if test "x$cy_good" = x1
; then :
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18278 $as_echo "yes" >&6; }
18280 for element
in -Wno-overloaded-virtual; do
18282 for x
in $CFLAGS; do
18284 acl_save_prefix
="$prefix"
18285 prefix
="$acl_final_prefix"
18286 acl_save_exec_prefix
="$exec_prefix"
18287 exec_prefix
="$acl_final_exec_prefix"
18289 exec_prefix
="$acl_save_exec_prefix"
18290 prefix
="$acl_save_prefix"
18292 if test "X$x" = "X$element"; then
18297 if test -z "$haveit"; then
18298 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18305 $as_echo "no" >&6; }
18309 ac_cpp
='$CXXCPP $CPPFLAGS'
18310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18317 ac_cpp
='$CXXCPP $CPPFLAGS'
18318 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18319 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18320 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
18323 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
18327 for element
in -Wno-overloaded-virtual; do
18329 for x
in $CXXFLAGS; do
18331 acl_save_prefix
="$prefix"
18332 prefix
="$acl_final_prefix"
18333 acl_save_exec_prefix
="$exec_prefix"
18334 exec_prefix
="$acl_final_exec_prefix"
18336 exec_prefix
="$acl_save_exec_prefix"
18337 prefix
="$acl_save_prefix"
18339 if test "X$x" = "X$element"; then
18344 if test -z "$haveit"; then
18345 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18354 if ac_fn_cxx_try_compile
"$LINENO"; then :
18359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18362 if test "x$cy_good" = x1
; then :
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18364 $as_echo "yes" >&6; }
18366 for element
in -Wno-overloaded-virtual; do
18368 for x
in $CXXFLAGS; do
18370 acl_save_prefix
="$prefix"
18371 prefix
="$acl_final_prefix"
18372 acl_save_exec_prefix
="$exec_prefix"
18373 exec_prefix
="$acl_final_exec_prefix"
18375 exec_prefix
="$acl_save_exec_prefix"
18376 prefix
="$acl_save_prefix"
18378 if test "X$x" = "X$element"; then
18383 if test -z "$haveit"; then
18384 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18391 $as_echo "no" >&6; }
18395 ac_cpp
='$CXXCPP $CPPFLAGS'
18396 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18397 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18398 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18403 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18404 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
18409 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
18411 cy_save
=$OBJCXXFLAGS
18413 for element
in -Wno-overloaded-virtual; do
18415 for x
in $OBJCXXFLAGS; do
18417 acl_save_prefix
="$prefix"
18418 prefix
="$acl_final_prefix"
18419 acl_save_exec_prefix
="$exec_prefix"
18420 exec_prefix
="$acl_final_exec_prefix"
18422 exec_prefix
="$acl_save_exec_prefix"
18423 prefix
="$acl_save_prefix"
18425 if test "X$x" = "X$element"; then
18430 if test -z "$haveit"; then
18431 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18440 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18447 OBJCXXFLAGS
=$cy_save
18448 if test "x$cy_good" = x1
; then :
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18450 $as_echo "yes" >&6; }
18452 for element
in -Wno-overloaded-virtual; do
18454 for x
in $OBJCXXFLAGS; do
18456 acl_save_prefix
="$prefix"
18457 prefix
="$acl_final_prefix"
18458 acl_save_exec_prefix
="$exec_prefix"
18459 exec_prefix
="$acl_final_exec_prefix"
18461 exec_prefix
="$acl_save_exec_prefix"
18462 prefix
="$acl_save_prefix"
18464 if test "X$x" = "X$element"; then
18469 if test -z "$haveit"; then
18470 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18477 $as_echo "no" >&6; }
18481 ac_cpp
='$CXXCPP $CPPFLAGS'
18482 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18483 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18484 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18491 ac_cpp
='$CPP $CPPFLAGS'
18492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
18497 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
18501 for element
in -Wno-parentheses; do
18503 for x
in $CFLAGS; do
18505 acl_save_prefix
="$prefix"
18506 prefix
="$acl_final_prefix"
18507 acl_save_exec_prefix
="$exec_prefix"
18508 exec_prefix
="$acl_final_exec_prefix"
18510 exec_prefix
="$acl_save_exec_prefix"
18511 prefix
="$acl_save_prefix"
18513 if test "X$x" = "X$element"; then
18518 if test -z "$haveit"; then
18519 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18525 /* end confdefs.h. */
18528 if ac_fn_c_try_compile
"$LINENO"; then :
18533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18536 if test "x$cy_good" = x1
; then :
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18538 $as_echo "yes" >&6; }
18540 for element
in -Wno-parentheses; do
18542 for x
in $CFLAGS; do
18544 acl_save_prefix
="$prefix"
18545 prefix
="$acl_final_prefix"
18546 acl_save_exec_prefix
="$exec_prefix"
18547 exec_prefix
="$acl_final_exec_prefix"
18549 exec_prefix
="$acl_save_exec_prefix"
18550 prefix
="$acl_save_prefix"
18552 if test "X$x" = "X$element"; then
18557 if test -z "$haveit"; then
18558 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18565 $as_echo "no" >&6; }
18569 ac_cpp
='$CXXCPP $CPPFLAGS'
18570 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18571 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18572 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18577 ac_cpp
='$CXXCPP $CPPFLAGS'
18578 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18579 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18580 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
18583 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
18587 for element
in -Wno-parentheses; do
18589 for x
in $CXXFLAGS; do
18591 acl_save_prefix
="$prefix"
18592 prefix
="$acl_final_prefix"
18593 acl_save_exec_prefix
="$exec_prefix"
18594 exec_prefix
="$acl_final_exec_prefix"
18596 exec_prefix
="$acl_save_exec_prefix"
18597 prefix
="$acl_save_prefix"
18599 if test "X$x" = "X$element"; then
18604 if test -z "$haveit"; then
18605 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18614 if ac_fn_cxx_try_compile
"$LINENO"; then :
18619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18622 if test "x$cy_good" = x1
; then :
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18624 $as_echo "yes" >&6; }
18626 for element
in -Wno-parentheses; do
18628 for x
in $CXXFLAGS; do
18630 acl_save_prefix
="$prefix"
18631 prefix
="$acl_final_prefix"
18632 acl_save_exec_prefix
="$exec_prefix"
18633 exec_prefix
="$acl_final_exec_prefix"
18635 exec_prefix
="$acl_save_exec_prefix"
18636 prefix
="$acl_save_prefix"
18638 if test "X$x" = "X$element"; then
18643 if test -z "$haveit"; then
18644 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18651 $as_echo "no" >&6; }
18655 ac_cpp
='$CXXCPP $CPPFLAGS'
18656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18663 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18664 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18665 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18666 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
18669 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
18671 cy_save
=$OBJCXXFLAGS
18673 for element
in -Wno-parentheses; do
18675 for x
in $OBJCXXFLAGS; do
18677 acl_save_prefix
="$prefix"
18678 prefix
="$acl_final_prefix"
18679 acl_save_exec_prefix
="$exec_prefix"
18680 exec_prefix
="$acl_final_exec_prefix"
18682 exec_prefix
="$acl_save_exec_prefix"
18683 prefix
="$acl_save_prefix"
18685 if test "X$x" = "X$element"; then
18690 if test -z "$haveit"; then
18691 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18700 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18707 OBJCXXFLAGS
=$cy_save
18708 if test "x$cy_good" = x1
; then :
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18710 $as_echo "yes" >&6; }
18712 for element
in -Wno-parentheses; do
18714 for x
in $OBJCXXFLAGS; do
18716 acl_save_prefix
="$prefix"
18717 prefix
="$acl_final_prefix"
18718 acl_save_exec_prefix
="$exec_prefix"
18719 exec_prefix
="$acl_final_exec_prefix"
18721 exec_prefix
="$acl_save_exec_prefix"
18722 prefix
="$acl_save_prefix"
18724 if test "X$x" = "X$element"; then
18729 if test -z "$haveit"; then
18730 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18737 $as_echo "no" >&6; }
18741 ac_cpp
='$CXXCPP $CPPFLAGS'
18742 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18743 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18744 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18751 ac_cpp
='$CPP $CPPFLAGS'
18752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
18757 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
18761 for element
in -Wno-unneeded-internal-declaration; do
18763 for x
in $CFLAGS; do
18765 acl_save_prefix
="$prefix"
18766 prefix
="$acl_final_prefix"
18767 acl_save_exec_prefix
="$exec_prefix"
18768 exec_prefix
="$acl_final_exec_prefix"
18770 exec_prefix
="$acl_save_exec_prefix"
18771 prefix
="$acl_save_prefix"
18773 if test "X$x" = "X$element"; then
18778 if test -z "$haveit"; then
18779 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h. */
18788 if ac_fn_c_try_compile
"$LINENO"; then :
18793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18796 if test "x$cy_good" = x1
; then :
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18798 $as_echo "yes" >&6; }
18800 for element
in -Wno-unneeded-internal-declaration; do
18802 for x
in $CFLAGS; do
18804 acl_save_prefix
="$prefix"
18805 prefix
="$acl_final_prefix"
18806 acl_save_exec_prefix
="$exec_prefix"
18807 exec_prefix
="$acl_final_exec_prefix"
18809 exec_prefix
="$acl_save_exec_prefix"
18810 prefix
="$acl_save_prefix"
18812 if test "X$x" = "X$element"; then
18817 if test -z "$haveit"; then
18818 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18825 $as_echo "no" >&6; }
18829 ac_cpp
='$CXXCPP $CPPFLAGS'
18830 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18831 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18832 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18837 ac_cpp
='$CXXCPP $CPPFLAGS'
18838 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18839 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18840 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18843 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18847 for element
in -Wno-unneeded-internal-declaration; do
18849 for x
in $CXXFLAGS; do
18851 acl_save_prefix
="$prefix"
18852 prefix
="$acl_final_prefix"
18853 acl_save_exec_prefix
="$exec_prefix"
18854 exec_prefix
="$acl_final_exec_prefix"
18856 exec_prefix
="$acl_save_exec_prefix"
18857 prefix
="$acl_save_prefix"
18859 if test "X$x" = "X$element"; then
18864 if test -z "$haveit"; then
18865 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18874 if ac_fn_cxx_try_compile
"$LINENO"; then :
18879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18882 if test "x$cy_good" = x1
; then :
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18884 $as_echo "yes" >&6; }
18886 for element
in -Wno-unneeded-internal-declaration; do
18888 for x
in $CXXFLAGS; do
18890 acl_save_prefix
="$prefix"
18891 prefix
="$acl_final_prefix"
18892 acl_save_exec_prefix
="$exec_prefix"
18893 exec_prefix
="$acl_final_exec_prefix"
18895 exec_prefix
="$acl_save_exec_prefix"
18896 prefix
="$acl_save_prefix"
18898 if test "X$x" = "X$element"; then
18903 if test -z "$haveit"; then
18904 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18911 $as_echo "no" >&6; }
18915 ac_cpp
='$CXXCPP $CPPFLAGS'
18916 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18917 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18918 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18923 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18924 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18925 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18926 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18929 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18931 cy_save
=$OBJCXXFLAGS
18933 for element
in -Wno-unneeded-internal-declaration; do
18935 for x
in $OBJCXXFLAGS; do
18937 acl_save_prefix
="$prefix"
18938 prefix
="$acl_final_prefix"
18939 acl_save_exec_prefix
="$exec_prefix"
18940 exec_prefix
="$acl_final_exec_prefix"
18942 exec_prefix
="$acl_save_exec_prefix"
18943 prefix
="$acl_save_prefix"
18945 if test "X$x" = "X$element"; then
18950 if test -z "$haveit"; then
18951 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18957 /* end confdefs.h. */
18960 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18967 OBJCXXFLAGS
=$cy_save
18968 if test "x$cy_good" = x1
; then :
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18970 $as_echo "yes" >&6; }
18972 for element
in -Wno-unneeded-internal-declaration; do
18974 for x
in $OBJCXXFLAGS; do
18976 acl_save_prefix
="$prefix"
18977 prefix
="$acl_final_prefix"
18978 acl_save_exec_prefix
="$exec_prefix"
18979 exec_prefix
="$acl_final_exec_prefix"
18981 exec_prefix
="$acl_save_exec_prefix"
18982 prefix
="$acl_save_prefix"
18984 if test "X$x" = "X$element"; then
18989 if test -z "$haveit"; then
18990 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18997 $as_echo "no" >&6; }
19001 ac_cpp
='$CXXCPP $CPPFLAGS'
19002 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19003 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19004 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
19020 # We used to check for pthread.h first, but this fails if pthread.h
19021 # requires special compiler flags (e.g. on Tru64 or Sequent).
19022 # It gets checked for in the link test anyway.
19024 # First of all, check if the user has set any of the PTHREAD_LIBS,
19025 # etcetera environment variables, and if threads linking works using
19027 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19028 save_CFLAGS
="$CFLAGS"
19029 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19031 LIBS
="$PTHREAD_LIBS $LIBS"
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
19033 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
19034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19037 /* Override any GCC internal prototype to avoid an error.
19038 Use char because int might match the return type of a GCC
19039 builtin and then its argument prototype would still apply. */
19043 char pthread_join ();
19047 return pthread_join ();
19052 if ac_fn_c_try_link
"$LINENO"; then :
19055 rm -f core conftest.err conftest.
$ac_objext \
19056 conftest
$ac_exeext conftest.
$ac_ext
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19058 $as_echo "$ax_pthread_ok" >&6; }
19059 if test x
"$ax_pthread_ok" = xno
; then
19064 CFLAGS
="$save_CFLAGS"
19067 # We must check for the threads library under a number of different
19068 # names; the ordering is very important because some systems
19069 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19070 # libraries is broken (non-POSIX).
19072 # Create a list of thread flags to try. Items starting with a "-" are
19073 # C compiler flags, and other items are library names, except for "none"
19074 # which indicates that we try without any flags at all, and "pthread-config"
19075 # which is a program returning the flags for the Pth emulation library.
19077 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
19079 # The ordering *is* (sometimes) important. Some notes on the
19080 # individual items follow:
19082 # pthreads: AIX (must check this before -lpthread)
19083 # none: in case threads are in libc; should be tried before -Kthread and
19084 # other compiler flags to prevent continual compiler warnings
19085 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19086 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19087 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19088 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
19089 # -pthreads: Solaris/gcc
19090 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19091 # doesn't hurt to check since this sometimes defines pthreads and
19092 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
19093 # is present but should not be used directly)
19094 # -mthreads: Mingw32/gcc, Lynx/gcc
19095 # pthread: Linux, etcetera
19096 # --thread-safe: KAI C++
19097 # pthread-config: use pthread-config program (for GNU Pth library)
19103 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
19104 # multi-threading and also sets -lpthread."
19106 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
19111 # IBM z/OS requires a feature-test macro to be defined in order to
19112 # enable POSIX threads at all, so give the user a hint if this is
19113 # not set. (We don't define these ourselves, as they can affect
19114 # other portions of the system API in unpredictable ways.)
19116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19117 /* end confdefs.h. */
19119 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
19120 AX_PTHREAD_ZOS_MISSING
19124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19125 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
19126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
19127 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
19135 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
19136 # check that first. On some older versions, libc contains stubbed
19137 # (non-functional) versions of the pthreads routines, so link-based
19138 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19139 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19140 # a function called by this macro, so we could check for that, but
19141 # who knows whether they'll stub that too in a future libc.) So
19142 # we'll look for -pthreads and -lpthread shortly thereafter.
19144 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
19148 # Older versions of Clang only give a warning instead of an error for an
19149 # unrecognized option, unless we specify -Werror. (We throw in some extra
19150 # Clang warning flags for good measure.)
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
19153 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
19154 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
19155 $as_echo_n "(cached) " >&6
19157 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
19158 save_CFLAGS
="$CFLAGS"
19159 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
19160 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
19161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19162 /* end confdefs.h. */
19172 if ac_fn_c_try_compile
"$LINENO"; then :
19173 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
19175 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
19177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19178 CFLAGS
="$save_CFLAGS"
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
19182 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
19183 ax_pthread_extra_flags
=
19184 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
19185 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
19188 if test x
"$ax_pthread_ok" = xno
; then
19189 for flag
in $ax_pthread_flags; do
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19194 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
19199 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
19200 PTHREAD_CFLAGS
="-mt"
19201 PTHREAD_LIBS
="-lpthread"
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19206 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19207 PTHREAD_CFLAGS
="$flag"
19211 # Extract the first word of "pthread-config", so it can be a program name with args.
19212 set dummy pthread
-config; ac_word
=$2
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19214 $as_echo_n "checking for $ac_word... " >&6; }
19215 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
19216 $as_echo_n "(cached) " >&6
19218 if test -n "$ax_pthread_config"; then
19219 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
19221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19222 for as_dir
in $PATH
19225 test -z "$as_dir" && as_dir
=.
19226 for ac_exec_ext
in '' $ac_executable_extensions; do
19227 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19228 ac_cv_prog_ax_pthread_config
="yes"
19229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19236 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
19239 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
19240 if test -n "$ax_pthread_config"; then
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
19242 $as_echo "$ax_pthread_config" >&6; }
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19245 $as_echo "no" >&6; }
19249 if test x
"$ax_pthread_config" = xno
; then continue; fi
19250 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19251 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19256 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19257 PTHREAD_LIBS
="-l$flag"
19262 save_CFLAGS
="$CFLAGS"
19263 LIBS
="$PTHREAD_LIBS $LIBS"
19264 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
19266 # Check for various functions. We must include pthread.h,
19267 # since some functions may be macros. (On the Sequent, we
19268 # need a special flag -Kthread to make this header compile.)
19269 # We check for pthread_join because it is in -lpthread on IRIX
19270 # while pthread_create is in libc. We check for pthread_attr_init
19271 # due to DEC craziness with -lpthreads. We check for
19272 # pthread_cleanup_push because it is one of the few pthread
19273 # functions on Solaris that doesn't have a non-functional libc stub.
19274 # We try pthread_create on general principles.
19275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19276 /* end confdefs.h. */
19277 #include <pthread.h>
19278 static void routine(void *a) { a = 0; }
19279 static void *start_routine(void *a) { return a; }
19283 pthread_t th; pthread_attr_t attr;
19284 pthread_create(&th, 0, start_routine, 0);
19285 pthread_join(th, 0);
19286 pthread_attr_init(&attr);
19287 pthread_cleanup_push(routine, 0);
19288 pthread_cleanup_pop(0) /* ; */
19293 if ac_fn_c_try_link
"$LINENO"; then :
19296 rm -f core conftest.err conftest.
$ac_objext \
19297 conftest
$ac_exeext conftest.
$ac_ext
19300 CFLAGS
="$save_CFLAGS"
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19303 $as_echo "$ax_pthread_ok" >&6; }
19304 if test "x$ax_pthread_ok" = xyes
; then
19313 # Various other checks:
19314 if test "x$ax_pthread_ok" = xyes
; then
19316 LIBS
="$PTHREAD_LIBS $LIBS"
19317 save_CFLAGS
="$CFLAGS"
19318 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19320 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19322 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19323 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
19324 $as_echo_n "(cached) " >&6
19326 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
19327 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19329 /* end confdefs.h. */
19330 #include <pthread.h>
19334 int attr = $attr; return attr /* ; */
19339 if ac_fn_c_try_link
"$LINENO"; then :
19340 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
19342 rm -f core conftest.err conftest.
$ac_objext \
19343 conftest
$ac_exeext conftest.
$ac_ext
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
19348 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
19349 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
19350 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
19352 cat >>confdefs.h
<<_ACEOF
19353 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19359 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19360 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
19361 $as_echo_n "(cached) " >&6
19363 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
19364 ax_pthread_special_flags_added
=no
19365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h. */
19368 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
19369 AX_PTHREAD_NEED_SPECIAL_FLAG
19373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19374 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
19377 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
19379 darwin
* | hpux
* | osf
* | solaris
*)
19380 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
19390 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
19391 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
19392 test "x$ax_pthread_special_flags_added" != "xyes"; then :
19393 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
19394 ax_pthread_special_flags_added
=yes
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
19398 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
19399 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
19400 $as_echo_n "(cached) " >&6
19402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19404 #include <pthread.h>
19408 int i = PTHREAD_PRIO_INHERIT;
19413 if ac_fn_c_try_link
"$LINENO"; then :
19414 ax_cv_PTHREAD_PRIO_INHERIT
=yes
19416 ax_cv_PTHREAD_PRIO_INHERIT
=no
19418 rm -f core conftest.err conftest.
$ac_objext \
19419 conftest
$ac_exeext conftest.
$ac_ext
19422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
19423 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
19424 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
19426 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
19431 CFLAGS
="$save_CFLAGS"
19433 # More AIX lossage: compile with *_r variant
19434 if test "x$GCC" != xyes
; then
19438 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
19439 #handle absolute path differently from PATH based program lookup
19442 if as_fn_executable_p
${CC}_r
; then :
19443 PTHREAD_CC
="${CC}_r"
19446 for ac_prog
in ${CC}_r
19448 # Extract the first word of "$ac_prog", so it can be a program name with args.
19449 set dummy
$ac_prog; ac_word
=$2
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19451 $as_echo_n "checking for $ac_word... " >&6; }
19452 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19453 $as_echo_n "(cached) " >&6
19455 if test -n "$PTHREAD_CC"; then
19456 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19459 for as_dir
in $PATH
19462 test -z "$as_dir" && as_dir
=.
19463 for ac_exec_ext
in '' $ac_executable_extensions; do
19464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19465 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19475 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19476 if test -n "$PTHREAD_CC"; then
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19478 $as_echo "$PTHREAD_CC" >&6; }
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19481 $as_echo "no" >&6; }
19485 test -n "$PTHREAD_CC" && break
19487 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
19498 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
19504 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19505 if test x
"$ax_pthread_ok" = xyes
; then
19507 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
19515 ac_cpp
='$CXXCPP $CPPFLAGS'
19516 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19517 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19518 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19524 for cy_arch
in ppc ppc64 i386 x86_64 armv6 arm64
; do
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
19526 $as_echo_n "checking for -arch $cy_arch... " >&6; }
19530 for element
in "-arch $cy_arch"; do
19532 for x
in $CXXFLAGS; do
19534 acl_save_prefix
="$prefix"
19535 prefix
="$acl_final_prefix"
19536 acl_save_exec_prefix
="$exec_prefix"
19537 exec_prefix
="$acl_final_exec_prefix"
19539 exec_prefix
="$acl_save_exec_prefix"
19540 prefix
="$acl_save_prefix"
19542 if test "X$x" = "X$element"; then
19547 if test -z "$haveit"; then
19548 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19564 if ac_fn_cxx_try_link
"$LINENO"; then :
19569 rm -f core conftest.err conftest.
$ac_objext \
19570 conftest
$ac_exeext conftest.
$ac_ext
19573 if test "x$cy_good" = x1
; then :
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19575 $as_echo "yes" >&6; }
19577 for element
in "-arch $cy_arch"; do
19579 for x
in $CY_ARCH; do
19581 acl_save_prefix
="$prefix"
19582 prefix
="$acl_final_prefix"
19583 acl_save_exec_prefix
="$exec_prefix"
19584 exec_prefix
="$acl_final_exec_prefix"
19586 exec_prefix
="$acl_save_exec_prefix"
19587 prefix
="$acl_save_prefix"
19589 if test "X$x" = "X$element"; then
19594 if test -z "$haveit"; then
19595 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19602 $as_echo "no" >&6; }
19612 # Check whether --enable-javascript was given.
19613 if test "${enable_javascript+set}" = set; then :
19614 enableval
=$enable_javascript;
19615 case $enableval in #(
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19624 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19625 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19626 $as_echo_n "(cached) " >&6
19628 ac_func_search_save_LIBS
=$LIBS
19629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19630 /* end confdefs.h. */
19632 /* Override any GCC internal prototype to avoid an error.
19633 Use char because int might match the return type of a GCC
19634 builtin and then its argument prototype would still apply. */
19638 char JSEvaluateScript ();
19642 return JSEvaluateScript ();
19647 for ac_lib
in '' JavaScriptCore
; do
19648 if test -z "$ac_lib"; then
19649 ac_res
="none required"
19652 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19654 if ac_fn_cxx_try_link
"$LINENO"; then :
19655 ac_cv_search_JSEvaluateScript
=$ac_res
19657 rm -f core conftest.err conftest.
$ac_objext \
19659 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19663 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19666 ac_cv_search_JSEvaluateScript
=no
19668 rm conftest.
$ac_ext
19669 LIBS
=$ac_func_search_save_LIBS
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19672 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19673 ac_res
=$ac_cv_search_JSEvaluateScript
19674 if test "$ac_res" != no
; then :
19675 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19683 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19684 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19685 $as_echo_n "(cached) " >&6
19688 ac_check_framework_save_LIBS
=$LIBS
19689 LIBS
="-framework JavaScriptCore $LIBS"
19690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19691 /* end confdefs.h. */
19693 #include <JavaScriptCore/JSBase.h>
19699 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19705 if ac_fn_cxx_try_link
"$LINENO"; then :
19707 ac_cv_framework_JavaScriptCore
=yes
19710 ac_cv_framework_JavaScriptCore
=no
19712 rm -f core conftest.err conftest.
$ac_objext \
19713 conftest
$ac_exeext conftest.
$ac_ext
19714 LIBS
=$ac_check_framework_save_LIBS
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19718 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19719 if test $ac_cv_framework_JavaScriptCore = yes; then :
19722 for element
in "-framework JavaScriptCore"; do
19726 acl_save_prefix
="$prefix"
19727 prefix
="$acl_final_prefix"
19728 acl_save_exec_prefix
="$exec_prefix"
19729 exec_prefix
="$acl_final_exec_prefix"
19731 exec_prefix
="$acl_save_exec_prefix"
19732 prefix
="$acl_save_prefix"
19734 if test "X$x" = "X$element"; then
19739 if test -z "$haveit"; then
19740 LIBS
="${LIBS}${LIBS:+ }$element"
19751 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
19755 $as_echo_n "checking for WEBKIT... " >&6; }
19757 if test -n "$WEBKIT_CFLAGS"; then
19758 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
19759 elif test -n "$PKG_CONFIG"; then
19760 if test -n "$PKG_CONFIG" && \
19761 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19762 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19765 test $ac_status = 0; }; then
19766 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
19767 test "x$?" != "x0" && pkg_failed
=yes
19774 if test -n "$WEBKIT_LIBS"; then
19775 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
19776 elif test -n "$PKG_CONFIG"; then
19777 if test -n "$PKG_CONFIG" && \
19778 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19779 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19782 test $ac_status = 0; }; then
19783 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19784 test "x$?" != "x0" && pkg_failed
=yes
19794 if test $pkg_failed = yes; then
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19796 $as_echo "no" >&6; }
19798 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19799 _pkg_short_errors_supported
=yes
19801 _pkg_short_errors_supported
=no
19803 if test $_pkg_short_errors_supported = yes; then
19804 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19806 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19808 # Put the nasty error message in config.log where it belongs
19809 echo "$WEBKIT_PKG_ERRORS" >&5
19812 elif test $pkg_failed = untried
; then
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19814 $as_echo "no" >&6; }
19817 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19818 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19820 $as_echo "yes" >&6; }
19825 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19827 for x
in $CPPFLAGS; do
19829 acl_save_prefix
="$prefix"
19830 prefix
="$acl_final_prefix"
19831 acl_save_exec_prefix
="$exec_prefix"
19832 exec_prefix
="$acl_final_exec_prefix"
19834 exec_prefix
="$acl_save_exec_prefix"
19835 prefix
="$acl_save_prefix"
19837 if test "X$x" = "X$element"; then
19842 if test -z "$haveit"; then
19843 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19848 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19852 acl_save_prefix
="$prefix"
19853 prefix
="$acl_final_prefix"
19854 acl_save_exec_prefix
="$exec_prefix"
19855 exec_prefix
="$acl_final_exec_prefix"
19857 exec_prefix
="$acl_save_exec_prefix"
19858 prefix
="$acl_save_prefix"
19860 if test "X$x" = "X$element"; then
19865 if test -z "$haveit"; then
19866 LIBS
="${LIBS}${LIBS:+ }$element"
19871 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19877 LTJAVASCRIPTCORE
=$LIBS
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19893 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19894 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19895 $as_echo_n "(cached) " >&6
19897 ac_func_search_save_LIBS
=$LIBS
19898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19901 /* Override any GCC internal prototype to avoid an error.
19902 Use char because int might match the return type of a GCC
19903 builtin and then its argument prototype would still apply. */
19907 char JSEvaluateScript ();
19911 return JSEvaluateScript ();
19916 for ac_lib
in '' JavaScriptCore
; do
19917 if test -z "$ac_lib"; then
19918 ac_res
="none required"
19921 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19923 if ac_fn_cxx_try_link
"$LINENO"; then :
19924 ac_cv_search_JSEvaluateScript
=$ac_res
19926 rm -f core conftest.err conftest.
$ac_objext \
19928 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19932 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19935 ac_cv_search_JSEvaluateScript
=no
19937 rm conftest.
$ac_ext
19938 LIBS
=$ac_func_search_save_LIBS
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19941 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19942 ac_res
=$ac_cv_search_JSEvaluateScript
19943 if test "$ac_res" != no
; then :
19944 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19952 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19953 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19954 $as_echo_n "(cached) " >&6
19957 ac_check_framework_save_LIBS
=$LIBS
19958 LIBS
="-framework JavaScriptCore $LIBS"
19959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19962 #include <JavaScriptCore/JSBase.h>
19968 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19974 if ac_fn_cxx_try_link
"$LINENO"; then :
19976 ac_cv_framework_JavaScriptCore
=yes
19979 ac_cv_framework_JavaScriptCore
=no
19981 rm -f core conftest.err conftest.
$ac_objext \
19982 conftest
$ac_exeext conftest.
$ac_ext
19983 LIBS
=$ac_check_framework_save_LIBS
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19987 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19988 if test $ac_cv_framework_JavaScriptCore = yes; then :
19991 for element
in "-framework JavaScriptCore"; do
19995 acl_save_prefix
="$prefix"
19996 prefix
="$acl_final_prefix"
19997 acl_save_exec_prefix
="$exec_prefix"
19998 exec_prefix
="$acl_final_exec_prefix"
20000 exec_prefix
="$acl_save_exec_prefix"
20001 prefix
="$acl_save_prefix"
20003 if test "X$x" = "X$element"; then
20008 if test -z "$haveit"; then
20009 LIBS
="${LIBS}${LIBS:+ }$element"
20020 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20024 $as_echo_n "checking for WEBKIT... " >&6; }
20026 if test -n "$WEBKIT_CFLAGS"; then
20027 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20028 elif test -n "$PKG_CONFIG"; then
20029 if test -n "$PKG_CONFIG" && \
20030 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20031 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20034 test $ac_status = 0; }; then
20035 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20036 test "x$?" != "x0" && pkg_failed
=yes
20043 if test -n "$WEBKIT_LIBS"; then
20044 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20045 elif test -n "$PKG_CONFIG"; then
20046 if test -n "$PKG_CONFIG" && \
20047 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20048 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20051 test $ac_status = 0; }; then
20052 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20053 test "x$?" != "x0" && pkg_failed
=yes
20063 if test $pkg_failed = yes; then
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20065 $as_echo "no" >&6; }
20067 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20068 _pkg_short_errors_supported
=yes
20070 _pkg_short_errors_supported
=no
20072 if test $_pkg_short_errors_supported = yes; then
20073 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20075 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20077 # Put the nasty error message in config.log where it belongs
20078 echo "$WEBKIT_PKG_ERRORS" >&5
20081 elif test $pkg_failed = untried
; then
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20083 $as_echo "no" >&6; }
20086 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20087 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20089 $as_echo "yes" >&6; }
20094 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20096 for x
in $CPPFLAGS; do
20098 acl_save_prefix
="$prefix"
20099 prefix
="$acl_final_prefix"
20100 acl_save_exec_prefix
="$exec_prefix"
20101 exec_prefix
="$acl_final_exec_prefix"
20103 exec_prefix
="$acl_save_exec_prefix"
20104 prefix
="$acl_save_prefix"
20106 if test "X$x" = "X$element"; then
20111 if test -z "$haveit"; then
20112 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20117 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20121 acl_save_prefix
="$prefix"
20122 prefix
="$acl_final_prefix"
20123 acl_save_exec_prefix
="$exec_prefix"
20124 exec_prefix
="$acl_final_exec_prefix"
20126 exec_prefix
="$acl_save_exec_prefix"
20127 prefix
="$acl_save_prefix"
20129 if test "X$x" = "X$element"; then
20134 if test -z "$haveit"; then
20135 LIBS
="${LIBS}${LIBS:+ }$element"
20140 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20146 LTJAVASCRIPTCORE
=$LIBS
20152 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20162 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20163 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20164 $as_echo_n "(cached) " >&6
20166 ac_func_search_save_LIBS
=$LIBS
20167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20168 /* end confdefs.h. */
20170 /* Override any GCC internal prototype to avoid an error.
20171 Use char because int might match the return type of a GCC
20172 builtin and then its argument prototype would still apply. */
20176 char JSEvaluateScript ();
20180 return JSEvaluateScript ();
20185 for ac_lib
in '' JavaScriptCore
; do
20186 if test -z "$ac_lib"; then
20187 ac_res
="none required"
20190 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20192 if ac_fn_cxx_try_link
"$LINENO"; then :
20193 ac_cv_search_JSEvaluateScript
=$ac_res
20195 rm -f core conftest.err conftest.
$ac_objext \
20197 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20201 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20204 ac_cv_search_JSEvaluateScript
=no
20206 rm conftest.
$ac_ext
20207 LIBS
=$ac_func_search_save_LIBS
20209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20210 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20211 ac_res
=$ac_cv_search_JSEvaluateScript
20212 if test "$ac_res" != no
; then :
20213 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20221 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20222 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20223 $as_echo_n "(cached) " >&6
20226 ac_check_framework_save_LIBS
=$LIBS
20227 LIBS
="-framework JavaScriptCore $LIBS"
20228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20229 /* end confdefs.h. */
20231 #include <JavaScriptCore/JSBase.h>
20237 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20243 if ac_fn_cxx_try_link
"$LINENO"; then :
20245 ac_cv_framework_JavaScriptCore
=yes
20248 ac_cv_framework_JavaScriptCore
=no
20250 rm -f core conftest.err conftest.
$ac_objext \
20251 conftest
$ac_exeext conftest.
$ac_ext
20252 LIBS
=$ac_check_framework_save_LIBS
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20256 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20257 if test $ac_cv_framework_JavaScriptCore = yes; then :
20260 for element
in "-framework JavaScriptCore"; do
20264 acl_save_prefix
="$prefix"
20265 prefix
="$acl_final_prefix"
20266 acl_save_exec_prefix
="$exec_prefix"
20267 exec_prefix
="$acl_final_exec_prefix"
20269 exec_prefix
="$acl_save_exec_prefix"
20270 prefix
="$acl_save_prefix"
20272 if test "X$x" = "X$element"; then
20277 if test -z "$haveit"; then
20278 LIBS
="${LIBS}${LIBS:+ }$element"
20289 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20293 $as_echo_n "checking for WEBKIT... " >&6; }
20295 if test -n "$WEBKIT_CFLAGS"; then
20296 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20297 elif test -n "$PKG_CONFIG"; then
20298 if test -n "$PKG_CONFIG" && \
20299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20300 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20303 test $ac_status = 0; }; then
20304 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20305 test "x$?" != "x0" && pkg_failed
=yes
20312 if test -n "$WEBKIT_LIBS"; then
20313 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20314 elif test -n "$PKG_CONFIG"; then
20315 if test -n "$PKG_CONFIG" && \
20316 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20317 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20320 test $ac_status = 0; }; then
20321 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20322 test "x$?" != "x0" && pkg_failed
=yes
20332 if test $pkg_failed = yes; then
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20334 $as_echo "no" >&6; }
20336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20337 _pkg_short_errors_supported
=yes
20339 _pkg_short_errors_supported
=no
20341 if test $_pkg_short_errors_supported = yes; then
20342 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20344 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20346 # Put the nasty error message in config.log where it belongs
20347 echo "$WEBKIT_PKG_ERRORS" >&5
20350 elif test $pkg_failed = untried
; then
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20352 $as_echo "no" >&6; }
20355 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20356 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20358 $as_echo "yes" >&6; }
20363 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20365 for x
in $CPPFLAGS; do
20367 acl_save_prefix
="$prefix"
20368 prefix
="$acl_final_prefix"
20369 acl_save_exec_prefix
="$exec_prefix"
20370 exec_prefix
="$acl_final_exec_prefix"
20372 exec_prefix
="$acl_save_exec_prefix"
20373 prefix
="$acl_save_prefix"
20375 if test "X$x" = "X$element"; then
20380 if test -z "$haveit"; then
20381 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20386 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20390 acl_save_prefix
="$prefix"
20391 prefix
="$acl_final_prefix"
20392 acl_save_exec_prefix
="$exec_prefix"
20393 exec_prefix
="$acl_final_exec_prefix"
20395 exec_prefix
="$acl_save_exec_prefix"
20396 prefix
="$acl_save_prefix"
20398 if test "X$x" = "X$element"; then
20403 if test -z "$haveit"; then
20404 LIBS
="${LIBS}${LIBS:+ }$element"
20409 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20415 LTJAVASCRIPTCORE
=$LIBS
20423 # Check whether --enable-console was given.
20424 if test "${enable_console+set}" = set; then :
20425 enableval
=$enable_console;
20428 if test "x$enable_console" != "xno"; then
20430 CY_CONSOLE_FALSE
='#'
20432 CY_CONSOLE_TRUE
='#'
20439 if test "x$CY_EXECUTE" = x1
; then
20441 CY_EXECUTE_FALSE
='#'
20443 CY_EXECUTE_TRUE
='#'
20449 case $CY_EXECUTE in #(
20452 for ac_header
in ffi.h ffi
/ffi.h
20454 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20455 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20456 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20457 cat >>confdefs.h
<<_ACEOF
20458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20469 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
20473 C compiler flags
for LIBFFI
, overriding pkg
-config
20474 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
20478 $as_echo_n "checking for LIBFFI... " >&6; }
20480 if test -n "$LIBFFI_CFLAGS"; then
20481 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
20482 elif test -n "$PKG_CONFIG"; then
20483 if test -n "$PKG_CONFIG" && \
20484 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20485 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20488 test $ac_status = 0; }; then
20489 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
20490 test "x$?" != "x0" && pkg_failed
=yes
20497 if test -n "$LIBFFI_LIBS"; then
20498 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
20499 elif test -n "$PKG_CONFIG"; then
20500 if test -n "$PKG_CONFIG" && \
20501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20502 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20505 test $ac_status = 0; }; then
20506 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
20507 test "x$?" != "x0" && pkg_failed
=yes
20517 if test $pkg_failed = yes; then
20518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20519 $as_echo "no" >&6; }
20521 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20522 _pkg_short_errors_supported
=yes
20524 _pkg_short_errors_supported
=no
20526 if test $_pkg_short_errors_supported = yes; then
20527 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20529 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20531 # Put the nasty error message in config.log where it belongs
20532 echo "$LIBFFI_PKG_ERRORS" >&5
20534 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20535 elif test $pkg_failed = untried
; then
20536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20537 $as_echo "no" >&6; }
20538 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20540 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20541 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20543 $as_echo "yes" >&6; }
20546 for element
in `$PKG_CONFIG --cflags libffi`; do
20548 for x
in $CPPFLAGS; do
20550 acl_save_prefix
="$prefix"
20551 prefix
="$acl_final_prefix"
20552 acl_save_exec_prefix
="$exec_prefix"
20553 exec_prefix
="$acl_final_exec_prefix"
20555 exec_prefix
="$acl_save_exec_prefix"
20556 prefix
="$acl_save_prefix"
20558 if test "X$x" = "X$element"; then
20563 if test -z "$haveit"; then
20564 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20569 for element
in `$PKG_CONFIG --libs libffi`; do
20573 acl_save_prefix
="$prefix"
20574 prefix
="$acl_final_prefix"
20575 acl_save_exec_prefix
="$exec_prefix"
20576 exec_prefix
="$acl_final_exec_prefix"
20578 exec_prefix
="$acl_save_exec_prefix"
20579 prefix
="$acl_save_prefix"
20581 if test "X$x" = "X$element"; then
20586 if test -z "$haveit"; then
20587 LIBS
="${LIBS}${LIBS:+ }$element"
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
20597 $as_echo_n "checking for library containing ffi_call... " >&6; }
20598 if ${ac_cv_search_ffi_call+:} false
; then :
20599 $as_echo_n "(cached) " >&6
20601 ac_func_search_save_LIBS
=$LIBS
20602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20603 /* end confdefs.h. */
20605 /* Override any GCC internal prototype to avoid an error.
20606 Use char because int might match the return type of a GCC
20607 builtin and then its argument prototype would still apply. */
20615 return ffi_call ();
20620 for ac_lib
in '' ffi
; do
20621 if test -z "$ac_lib"; then
20622 ac_res
="none required"
20625 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20627 if ac_fn_cxx_try_link
"$LINENO"; then :
20628 ac_cv_search_ffi_call
=$ac_res
20630 rm -f core conftest.err conftest.
$ac_objext \
20632 if ${ac_cv_search_ffi_call+:} false
; then :
20636 if ${ac_cv_search_ffi_call+:} false
; then :
20639 ac_cv_search_ffi_call
=no
20641 rm conftest.
$ac_ext
20642 LIBS
=$ac_func_search_save_LIBS
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
20645 $as_echo "$ac_cv_search_ffi_call" >&6; }
20646 ac_res
=$ac_cv_search_ffi_call
20647 if test "$ac_res" != no
; then :
20648 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20652 case $ac_cv_search_ffi_call in #(
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
20658 $as_echo_n "checking for LIBFFI... " >&6; }
20660 if test -n "$LIBFFI_CFLAGS"; then
20661 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
20662 elif test -n "$PKG_CONFIG"; then
20663 if test -n "$PKG_CONFIG" && \
20664 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20665 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20668 test $ac_status = 0; }; then
20669 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
20670 test "x$?" != "x0" && pkg_failed
=yes
20677 if test -n "$LIBFFI_LIBS"; then
20678 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
20679 elif test -n "$PKG_CONFIG"; then
20680 if test -n "$PKG_CONFIG" && \
20681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20682 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20685 test $ac_status = 0; }; then
20686 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
20687 test "x$?" != "x0" && pkg_failed
=yes
20697 if test $pkg_failed = yes; then
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20699 $as_echo "no" >&6; }
20701 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20702 _pkg_short_errors_supported
=yes
20704 _pkg_short_errors_supported
=no
20706 if test $_pkg_short_errors_supported = yes; then
20707 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20709 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20711 # Put the nasty error message in config.log where it belongs
20712 echo "$LIBFFI_PKG_ERRORS" >&5
20714 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20715 elif test $pkg_failed = untried
; then
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20717 $as_echo "no" >&6; }
20718 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20720 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20721 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20723 $as_echo "yes" >&6; }
20726 for element
in `$PKG_CONFIG --cflags libffi`; do
20728 for x
in $CPPFLAGS; do
20730 acl_save_prefix
="$prefix"
20731 prefix
="$acl_final_prefix"
20732 acl_save_exec_prefix
="$exec_prefix"
20733 exec_prefix
="$acl_final_exec_prefix"
20735 exec_prefix
="$acl_save_exec_prefix"
20736 prefix
="$acl_save_prefix"
20738 if test "X$x" = "X$element"; then
20743 if test -z "$haveit"; then
20744 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20749 for element
in `$PKG_CONFIG --libs libffi`; do
20753 acl_save_prefix
="$prefix"
20754 prefix
="$acl_final_prefix"
20755 acl_save_exec_prefix
="$exec_prefix"
20756 exec_prefix
="$acl_final_exec_prefix"
20758 exec_prefix
="$acl_save_exec_prefix"
20759 prefix
="$acl_save_prefix"
20761 if test "X$x" = "X$element"; then
20766 if test -z "$haveit"; then
20767 LIBS
="${LIBS}${LIBS:+ }$element"
20783 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
20784 if test "x$ac_cv_header_jni_h" = xyes
; then :
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
20792 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
20793 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20794 $as_echo_n "(cached) " >&6
20796 ac_func_search_save_LIBS
=$LIBS
20797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20798 /* end confdefs.h. */
20800 /* Override any GCC internal prototype to avoid an error.
20801 Use char because int might match the return type of a GCC
20802 builtin and then its argument prototype would still apply. */
20806 char JNI_GetCreatedJavaVMs ();
20810 return JNI_GetCreatedJavaVMs ();
20815 for ac_lib
in '' dvm
; do
20816 if test -z "$ac_lib"; then
20817 ac_res
="none required"
20820 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20822 if ac_fn_cxx_try_link
"$LINENO"; then :
20823 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
20825 rm -f core conftest.err conftest.
$ac_objext \
20827 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20831 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20834 ac_cv_search_JNI_GetCreatedJavaVMs
=no
20836 rm conftest.
$ac_ext
20837 LIBS
=$ac_func_search_save_LIBS
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
20840 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
20841 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
20842 if test "$ac_res" != no
; then :
20843 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20863 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20864 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20865 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20866 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
20870 $as_echo_n "checking if we really have Objective C++... " >&6; }
20871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h. */
20875 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20879 $as_echo "yes" >&6; }
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20883 $as_echo "no" >&6; }
20885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20887 if test "x$CY_OBJECTIVEC" = x1
; then :
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
20894 $as_echo_n "checking for framework CoreFoundation... " >&6; }
20895 if ${ac_cv_framework_CoreFoundation+:} false
; then :
20896 $as_echo_n "(cached) " >&6
20899 ac_check_framework_save_LIBS
=$LIBS
20900 LIBS
="-framework CoreFoundation $LIBS"
20901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20902 /* end confdefs.h. */
20904 #include <CoreFoundation/CFBase.h>
20909 CFAllocatorGetDefault();
20914 if ac_fn_objcxx_try_link
"$LINENO"; then :
20916 ac_cv_framework_CoreFoundation
=yes
20919 ac_cv_framework_CoreFoundation
=no
20921 rm -f core conftest.err conftest.
$ac_objext \
20922 conftest
$ac_exeext conftest.
$ac_ext
20923 LIBS
=$ac_check_framework_save_LIBS
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
20927 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
20928 if test $ac_cv_framework_CoreFoundation = yes; then :
20931 for element
in "-framework CoreFoundation"; do
20935 acl_save_prefix
="$prefix"
20936 prefix
="$acl_final_prefix"
20937 acl_save_exec_prefix
="$exec_prefix"
20938 exec_prefix
="$acl_final_exec_prefix"
20940 exec_prefix
="$acl_save_exec_prefix"
20941 prefix
="$acl_save_prefix"
20943 if test "X$x" = "X$element"; then
20948 if test -z "$haveit"; then
20949 LIBS
="${LIBS}${LIBS:+ }$element"
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
20959 $as_echo_n "checking for framework Foundation... " >&6; }
20960 if ${ac_cv_framework_Foundation+:} false
; then :
20961 $as_echo_n "(cached) " >&6
20964 ac_check_framework_save_LIBS
=$LIBS
20965 LIBS
="-framework Foundation $LIBS"
20966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20969 #include <Foundation/NSObject.h>
20974 [[NSObject alloc] init];
20979 if ac_fn_objcxx_try_link
"$LINENO"; then :
20981 ac_cv_framework_Foundation
=yes
20984 ac_cv_framework_Foundation
=no
20986 rm -f core conftest.err conftest.
$ac_objext \
20987 conftest
$ac_exeext conftest.
$ac_ext
20988 LIBS
=$ac_check_framework_save_LIBS
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
20992 $as_echo "$ac_cv_framework_Foundation" >&6; }
20993 if test $ac_cv_framework_Foundation = yes; then :
20996 for element
in "-framework Foundation"; do
21000 acl_save_prefix
="$prefix"
21001 prefix
="$acl_final_prefix"
21002 acl_save_exec_prefix
="$exec_prefix"
21003 exec_prefix
="$acl_final_exec_prefix"
21005 exec_prefix
="$acl_save_exec_prefix"
21006 prefix
="$acl_save_prefix"
21008 if test "X$x" = "X$element"; then
21013 if test -z "$haveit"; then
21014 LIBS
="${LIBS}${LIBS:+ }$element"
21018 cat >>confdefs.h
<<_ACEOF
21019 #define HAVE_FRAMEWORK_FOUNDATION 1
21029 for ac_prog
in gnustep
-config
21031 # Extract the first word of "$ac_prog", so it can be a program name with args.
21032 set dummy
$ac_prog; ac_word
=$2
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21034 $as_echo_n "checking for $ac_word... " >&6; }
21035 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
21036 $as_echo_n "(cached) " >&6
21038 if test -n "$GNUSTEP_CONFIG"; then
21039 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
21041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21042 for as_dir
in $PATH
21045 test -z "$as_dir" && as_dir
=.
21046 for ac_exec_ext
in '' $ac_executable_extensions; do
21047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21048 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
21049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21058 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
21059 if test -n "$GNUSTEP_CONFIG"; then
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
21061 $as_echo "$GNUSTEP_CONFIG" >&6; }
21063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21064 $as_echo "no" >&6; }
21068 test -n "$GNUSTEP_CONFIG" && break
21072 if test "x$GNUSTEP_CONFIG" != x
; then :
21076 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
21078 for x
in $OBJCXXFLAGS; do
21080 acl_save_prefix
="$prefix"
21081 prefix
="$acl_final_prefix"
21082 acl_save_exec_prefix
="$exec_prefix"
21083 exec_prefix
="$acl_final_exec_prefix"
21085 exec_prefix
="$acl_save_exec_prefix"
21086 prefix
="$acl_save_prefix"
21088 if test "X$x" = "X$element"; then
21093 if test -z "$haveit"; then
21094 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21099 for element
in `$GNUSTEP_CONFIG --base-libs`; do
21103 acl_save_prefix
="$prefix"
21104 prefix
="$acl_final_prefix"
21105 acl_save_exec_prefix
="$exec_prefix"
21106 exec_prefix
="$acl_final_exec_prefix"
21108 exec_prefix
="$acl_save_exec_prefix"
21109 prefix
="$acl_save_prefix"
21111 if test "X$x" = "X$element"; then
21116 if test -z "$haveit"; then
21117 LIBS
="${LIBS}${LIBS:+ }$element"
21136 ac_cpp
='$CXXCPP $CPPFLAGS'
21137 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21138 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21139 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21146 if test "x$CY_JAVA" = x1
; then
21154 if test "x$CY_OBJECTIVEC" = x1
; then
21155 CY_OBJECTIVEC_TRUE
=
21156 CY_OBJECTIVEC_FALSE
='#'
21158 CY_OBJECTIVEC_TRUE
='#'
21159 CY_OBJECTIVEC_FALSE
=
21167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
21168 $as_echo_n "checking for a readline compatible library... " >&6; }
21169 if ${ax_cv_lib_readline+:} false
; then :
21170 $as_echo_n "(cached) " >&6
21174 for readline_lib
in readline edit editline
; do
21175 for termcap_lib
in "" termcap curses ncurses
; do
21176 if test -z "$termcap_lib"; then
21177 TRY_LIB
="-l$readline_lib"
21179 TRY_LIB
="-l$readline_lib -l$termcap_lib"
21181 LIBS
="$ORIG_LIBS $TRY_LIB"
21182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21183 /* end confdefs.h. */
21185 /* Override any GCC internal prototype to avoid an error.
21186 Use char because int might match the return type of a GCC
21187 builtin and then its argument prototype would still apply. */
21195 return readline ();
21200 if ac_fn_cxx_try_link
"$LINENO"; then :
21201 ax_cv_lib_readline
="$TRY_LIB"
21203 rm -f core conftest.err conftest.
$ac_objext \
21204 conftest
$ac_exeext conftest.
$ac_ext
21205 if test -n "$ax_cv_lib_readline"; then
21209 if test -n "$ax_cv_lib_readline"; then
21213 if test -z "$ax_cv_lib_readline"; then
21214 ax_cv_lib_readline
="no"
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
21220 $as_echo "$ax_cv_lib_readline" >&6; }
21222 if test "$ax_cv_lib_readline" != "no"; then
21223 LIBS
="$LIBS $ax_cv_lib_readline"
21225 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
21227 for ac_header
in readline.h readline
/readline.h
21229 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21230 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21231 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21232 cat >>confdefs.h
<<_ACEOF
21233 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
21241 $as_echo_n "checking whether readline supports history... " >&6; }
21242 if ${ax_cv_lib_readline_history+:} false
; then :
21243 $as_echo_n "(cached) " >&6
21246 ax_cv_lib_readline_history
="no"
21247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21250 /* Override any GCC internal prototype to avoid an error.
21251 Use char because int might match the return type of a GCC
21252 builtin and then its argument prototype would still apply. */
21256 char add_history ();
21260 return add_history ();
21265 if ac_fn_cxx_try_link
"$LINENO"; then :
21266 ax_cv_lib_readline_history
="yes"
21268 rm -f core conftest.err conftest.
$ac_objext \
21269 conftest
$ac_exeext conftest.
$ac_ext
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
21273 $as_echo "$ax_cv_lib_readline_history" >&6; }
21274 if test "$ax_cv_lib_readline_history" = "yes"; then
21276 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
21278 for ac_header
in history.h readline
/history.h
21280 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21281 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21282 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21283 cat >>confdefs.h
<<_ACEOF
21284 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21294 LTLIBREADLINE
=$LIBS
21298 case $ax_cv_lib_readline in #(
21300 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
21309 $as_echo_n "checking for library containing cur_term... " >&6; }
21310 if ${ac_cv_search_cur_term+:} false
; then :
21311 $as_echo_n "(cached) " >&6
21313 ac_func_search_save_LIBS
=$LIBS
21314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21315 /* end confdefs.h. */
21317 /* Override any GCC internal prototype to avoid an error.
21318 Use char because int might match the return type of a GCC
21319 builtin and then its argument prototype would still apply. */
21327 return cur_term ();
21332 for ac_lib
in '' termcap ncurses
; do
21333 if test -z "$ac_lib"; then
21334 ac_res
="none required"
21337 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21339 if ac_fn_cxx_try_link
"$LINENO"; then :
21340 ac_cv_search_cur_term
=$ac_res
21342 rm -f core conftest.err conftest.
$ac_objext \
21344 if ${ac_cv_search_cur_term+:} false
; then :
21348 if ${ac_cv_search_cur_term+:} false
; then :
21351 ac_cv_search_cur_term
=no
21353 rm conftest.
$ac_ext
21354 LIBS
=$ac_func_search_save_LIBS
21356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
21357 $as_echo "$ac_cv_search_cur_term" >&6; }
21358 ac_res
=$ac_cv_search_cur_term
21359 if test "$ac_res" != no
; then :
21360 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21375 if test "x$CY_EXECUTE" = x1
; then :
21377 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
21378 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
21380 if test -n "$ac_tool_prefix"; then
21381 for ac_prog
in lipo
21383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21384 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21386 $as_echo_n "checking for $ac_word... " >&6; }
21387 if ${ac_cv_prog__LIPO+:} false
; then :
21388 $as_echo_n "(cached) " >&6
21390 if test -n "$_LIPO"; then
21391 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
21393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21394 for as_dir
in $PATH
21397 test -z "$as_dir" && as_dir
=.
21398 for ac_exec_ext
in '' $ac_executable_extensions; do
21399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21400 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
21401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21410 _LIPO
=$ac_cv_prog__LIPO
21411 if test -n "$_LIPO"; then
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
21413 $as_echo "$_LIPO" >&6; }
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21416 $as_echo "no" >&6; }
21420 test -n "$_LIPO" && break
21423 if test -z "$_LIPO"; then
21425 for ac_prog
in lipo
21427 # Extract the first word of "$ac_prog", so it can be a program name with args.
21428 set dummy
$ac_prog; ac_word
=$2
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21430 $as_echo_n "checking for $ac_word... " >&6; }
21431 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
21432 $as_echo_n "(cached) " >&6
21434 if test -n "$ac_ct__LIPO"; then
21435 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
21437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21438 for as_dir
in $PATH
21441 test -z "$as_dir" && as_dir
=.
21442 for ac_exec_ext
in '' $ac_executable_extensions; do
21443 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21444 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
21445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21454 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
21455 if test -n "$ac_ct__LIPO"; then
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
21457 $as_echo "$ac_ct__LIPO" >&6; }
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21460 $as_echo "no" >&6; }
21464 test -n "$ac_ct__LIPO" && break
21467 if test "x$ac_ct__LIPO" = x
; then
21468 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
21470 case $cross_compiling:$ac_tool_warned in
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21474 ac_tool_warned
=yes ;;
21480 if test -n "$ac_tool_prefix"; then
21483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21484 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21486 $as_echo_n "checking for $ac_word... " >&6; }
21487 if ${ac_cv_prog__NM+:} false
; then :
21488 $as_echo_n "(cached) " >&6
21490 if test -n "$_NM"; then
21491 ac_cv_prog__NM
="$_NM" # Let the user override the test.
21493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21494 for as_dir
in $PATH
21497 test -z "$as_dir" && as_dir
=.
21498 for ac_exec_ext
in '' $ac_executable_extensions; do
21499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21500 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
21501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21510 _NM
=$ac_cv_prog__NM
21511 if test -n "$_NM"; then
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
21513 $as_echo "$_NM" >&6; }
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21516 $as_echo "no" >&6; }
21520 test -n "$_NM" && break
21523 if test -z "$_NM"; then
21527 # Extract the first word of "$ac_prog", so it can be a program name with args.
21528 set dummy
$ac_prog; ac_word
=$2
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21530 $as_echo_n "checking for $ac_word... " >&6; }
21531 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
21532 $as_echo_n "(cached) " >&6
21534 if test -n "$ac_ct__NM"; then
21535 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
21537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21538 for as_dir
in $PATH
21541 test -z "$as_dir" && as_dir
=.
21542 for ac_exec_ext
in '' $ac_executable_extensions; do
21543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21544 ac_cv_prog_ac_ct__NM
="$ac_prog"
21545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21554 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
21555 if test -n "$ac_ct__NM"; then
21556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
21557 $as_echo "$ac_ct__NM" >&6; }
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21560 $as_echo "no" >&6; }
21564 test -n "$ac_ct__NM" && break
21567 if test "x$ac_ct__NM" = x
; then
21568 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
21570 case $cross_compiling:$ac_tool_warned in
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21574 ac_tool_warned
=yes ;;
21580 if test -n "$ac_tool_prefix"; then
21581 for ac_prog
in otool
21583 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21584 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21586 $as_echo_n "checking for $ac_word... " >&6; }
21587 if ${ac_cv_prog__OTOOL+:} false
; then :
21588 $as_echo_n "(cached) " >&6
21590 if test -n "$_OTOOL"; then
21591 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
21593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21594 for as_dir
in $PATH
21597 test -z "$as_dir" && as_dir
=.
21598 for ac_exec_ext
in '' $ac_executable_extensions; do
21599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21600 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
21601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21610 _OTOOL
=$ac_cv_prog__OTOOL
21611 if test -n "$_OTOOL"; then
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
21613 $as_echo "$_OTOOL" >&6; }
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21616 $as_echo "no" >&6; }
21620 test -n "$_OTOOL" && break
21623 if test -z "$_OTOOL"; then
21624 ac_ct__OTOOL
=$_OTOOL
21625 for ac_prog
in otool
21627 # Extract the first word of "$ac_prog", so it can be a program name with args.
21628 set dummy
$ac_prog; ac_word
=$2
21629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21630 $as_echo_n "checking for $ac_word... " >&6; }
21631 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
21632 $as_echo_n "(cached) " >&6
21634 if test -n "$ac_ct__OTOOL"; then
21635 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
21637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21638 for as_dir
in $PATH
21641 test -z "$as_dir" && as_dir
=.
21642 for ac_exec_ext
in '' $ac_executable_extensions; do
21643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21644 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
21645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21654 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
21655 if test -n "$ac_ct__OTOOL"; then
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
21657 $as_echo "$ac_ct__OTOOL" >&6; }
21659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21660 $as_echo "no" >&6; }
21664 test -n "$ac_ct__OTOOL" && break
21667 if test "x$ac_ct__OTOOL" = x
; then
21668 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
21670 case $cross_compiling:$ac_tool_warned in
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21674 ac_tool_warned
=yes ;;
21676 _OTOOL
=$ac_ct__OTOOL
21680 CY_ATTACH_GROUP
=procmod
21688 if test "x$CY_MACH" = x1
; then
21697 ac_config_files
="$ac_config_files Makefile"
21699 cat >confcache
<<\_ACEOF
21700 # This file is a shell script that caches the results of configure
21701 # tests run on this system so they can be shared between configure
21702 # scripts and configure runs, see configure's option --config-cache.
21703 # It is not useful on other systems. If it contains results you don't
21704 # want to keep, you may remove or edit it.
21706 # config.status only pays attention to the cache file if you give it
21707 # the --recheck option to rerun configure.
21709 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21710 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21711 # following values.
21715 # The following way of writing the cache mishandles newlines in values,
21716 # but we know of no workaround that is simple, portable, and efficient.
21717 # So, we kill variables containing newlines.
21718 # Ultrix sh set writes to stderr and can't be redirected directly,
21719 # and sets the high bit in the cache file unless we assign to the vars.
21721 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21722 eval ac_val
=\$
$ac_var
21726 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21727 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21730 _
| IFS
| as_nl
) ;; #(
21731 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21732 *) { eval $ac_var=; unset $ac_var;} ;;
21738 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21739 *${as_nl}ac_space
=\
*)
21740 # `set' does not quote correctly, so add quotes: double-quote
21741 # substitution turns \\\\ into \\, and sed turns \\ into \.
21744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21747 # `set' quotes correctly as required by POSIX, so do not add quotes.
21748 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21757 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21759 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21761 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21762 if test -w "$cache_file"; then
21763 if test "x$cache_file" != "x/dev/null"; then
21764 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21765 $as_echo "$as_me: updating cache $cache_file" >&6;}
21766 if test ! -f "$cache_file" || test -h "$cache_file"; then
21767 cat confcache
>"$cache_file"
21769 case $cache_file in #(
21771 mv -f confcache
"$cache_file"$$
&&
21772 mv -f "$cache_file"$$
"$cache_file" ;; #(
21774 mv -f confcache
"$cache_file" ;;
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21780 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21785 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21786 # Let make expand exec_prefix.
21787 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21789 DEFS
=-DHAVE_CONFIG_H
21794 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21795 # 1. Remove the extension, and $U if already installed.
21796 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21797 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21798 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21799 # will be set to the directory where LIBOBJS objects are built.
21800 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21801 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21803 LIBOBJS
=$ac_libobjs
21805 LTLIBOBJS
=$ac_ltlibobjs
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21809 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21810 if test -n "$am_sleep_pid"; then
21811 # Hide warnings about reused PIDs.
21812 wait $am_sleep_pid 2>/dev
/null
21814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21815 $as_echo "done" >&6; }
21816 if test -n "$EXEEXT"; then
21818 am__EXEEXT_FALSE
='#'
21820 am__EXEEXT_TRUE
='#'
21824 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21825 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
21826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21828 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21829 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21832 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21833 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21836 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21837 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
21838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21840 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
21841 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
21842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21844 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
21845 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
21846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21848 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
21849 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
21850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21852 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
21853 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
21854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21856 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
21857 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
21858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21860 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
21861 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
21862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21865 : "${CONFIG_STATUS=./config.status}"
21867 ac_clean_files_save
=$ac_clean_files
21868 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21870 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21872 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21874 # Generated by $as_me.
21875 # Run this file to recreate the current configuration.
21876 # Compiler output produced by configure, useful for debugging
21877 # configure, is in config.log if it exists.
21880 ac_cs_recheck=false
21883 SHELL=\${CONFIG_SHELL-$SHELL}
21886 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
21887 ## -------------------- ##
21888 ## M4sh Initialization. ##
21889 ## -------------------- ##
21891 # Be more Bourne compatible
21892 DUALCASE
=1; export DUALCASE
# for MKS sh
21893 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21896 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21897 # is contrary to our usage. Disable this feature.
21898 alias -g '${1+"$@"}'='"$@"'
21899 setopt NO_GLOB_SUBST
21901 case `(set -o) 2>/dev/null` in #(
21913 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21914 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21915 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21916 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21917 # Prefer a ksh shell builtin over an external printf program on Solaris,
21918 # but without wasting forks for bash or zsh.
21919 if test -z "$BASH_VERSION$ZSH_VERSION" \
21920 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21921 as_echo='print
-r --'
21922 as_echo_n='print
-rn --'
21923 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21924 as_echo='printf %s
\n'
21925 as_echo_n='printf %s
'
21927 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21928 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21929 as_echo_n='/usr
/ucb
/echo -n'
21931 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21932 as_echo_n_body='eval
21936 expr "X$arg" : "X\\(.*\\)$as_nl";
21937 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21939 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21941 export as_echo_n_body
21942 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21944 export as_echo_body
21945 as_echo='sh
-c $as_echo_body as_echo
'
21948 # The user is always right.
21949 if test "${PATH_SEPARATOR+set}" != set; then
21951 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21952 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21959 # We need space, tab and new line, in precisely that order. Quoting is
21960 # there to prevent editors from complaining about space-tab.
21961 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21962 # splitting by setting IFS to empty value.)
21965 # Find who we are. Look in the path if we contain no directory separator.
21968 *[\\/]* ) as_myself=$0 ;;
21969 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21970 for as_dir in $PATH
21973 test -z "$as_dir" && as_dir=.
21974 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21980 # We did not find ourselves, most probably we were run as `sh COMMAND'
21981 # in which case we are not to be found in the path.
21982 if test "x$as_myself" = x
; then
21985 if test ! -f "$as_myself"; then
21986 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21990 # Unset variables that we do not need and which cause bugs (e.g. in
21991 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21992 # suppresses any "Segmentation fault" message there. '((' could
21993 # trigger a bug in pdksh 5.2.14.
21994 for as_var
in BASH_ENV ENV MAIL MAILPATH
21995 do eval test x\
${$as_var+set} = xset \
21996 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
22009 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22012 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22013 # ----------------------------------------
22014 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22015 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22016 # script with STATUS, using 1 if that was 0.
22019 as_status
=$1; test $as_status -eq 0 && as_status
=1
22021 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22022 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22024 $as_echo "$as_me: error: $2" >&2
22025 as_fn_exit
$as_status
22029 # as_fn_set_status STATUS
22030 # -----------------------
22031 # Set $? to STATUS, without forking.
22032 as_fn_set_status
()
22035 } # as_fn_set_status
22037 # as_fn_exit STATUS
22038 # -----------------
22039 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22043 as_fn_set_status
$1
22049 # Portably unset VAR.
22052 { eval $1=; unset $1;}
22054 as_unset
=as_fn_unset
22055 # as_fn_append VAR VALUE
22056 # ----------------------
22057 # Append the text in VALUE to the end of the definition contained in VAR. Take
22058 # advantage of any shell optimizations that allow amortized linear growth over
22059 # repeated appends, instead of the typical quadratic growth present in naive
22061 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22062 eval 'as_fn_append ()
22073 # as_fn_arith ARG...
22074 # ------------------
22075 # Perform arithmetic evaluation on the ARGs, and store the result in the
22076 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22077 # must be portable across $(()) and expr.
22078 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22079 eval 'as_fn_arith ()
22086 as_val
=`expr "$@" || test $? -eq 1`
22091 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22092 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22098 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22099 as_basename
=basename
22104 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22110 as_me
=`$as_basename -- "$0" ||
22111 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22112 X"$0" : 'X\(//\)$' \| \
22113 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22115 sed '/^.*\/\([^/][^/]*\)\/*$/{
22129 # Avoid depending upon Character Ranges.
22130 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22131 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22132 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22133 as_cr_digits
='0123456789'
22134 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22136 ECHO_C
= ECHO_N
= ECHO_T
=
22137 case `echo -n x` in #(((((
22139 case `echo 'xy\c'` in
22140 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22142 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22149 rm -f conf$$ conf$$.exe conf$$.
file
22150 if test -d conf$$.dir
; then
22151 rm -f conf$$.dir
/conf$$.
file
22154 mkdir conf$$.dir
2>/dev
/null
22156 if (echo >conf$$.
file) 2>/dev
/null
; then
22157 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22159 # ... but there are two gotchas:
22160 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22161 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22162 # In both cases, we have to default to `cp -pR'.
22163 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
22165 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22173 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22174 rmdir conf$$.dir
2>/dev
/null
22179 # Create "$as_dir" as a directory, including parents if necessary.
22184 -*) as_dir
=.
/$as_dir;;
22186 test -d "$as_dir" || eval $as_mkdir_p || {
22190 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22191 *) as_qdir
=$as_dir;;
22193 as_dirs
="'$as_qdir' $as_dirs"
22194 as_dir
=`$as_dirname -- "$as_dir" ||
22195 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22196 X"$as_dir" : 'X\(//\)[^/]' \| \
22197 X"$as_dir" : 'X\(//\)$' \| \
22198 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22199 $as_echo X"$as_dir" |
22200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22204 /^X\(\/\/\)[^/].*/{
22217 test -d "$as_dir" && break
22219 test -z "$as_dirs" || eval "mkdir $as_dirs"
22220 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22224 if mkdir -p .
2>/dev
/null
; then
22225 as_mkdir_p
='mkdir -p "$as_dir"'
22227 test -d .
/-p && rmdir .
/-p
22232 # as_fn_executable_p FILE
22233 # -----------------------
22234 # Test if FILE is an executable regular file.
22235 as_fn_executable_p
()
22237 test -f "$1" && test -x "$1"
22238 } # as_fn_executable_p
22239 as_test_x
='test -x'
22240 as_executable_p
=as_fn_executable_p
22242 # Sed expression to map a string onto a valid CPP name.
22243 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22245 # Sed expression to map a string onto a valid variable name.
22246 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22250 ## ----------------------------------- ##
22251 ## Main body of $CONFIG_STATUS script. ##
22252 ## ----------------------------------- ##
22254 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22256 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22257 # Save the log message, to keep $0 and so on meaningful, and to
22258 # report actual input values of CONFIG_FILES etc. instead of their
22259 # values after options handling.
22261 This file was extended by Cycript $as_me 0.9, which was
22262 generated by GNU Autoconf 2.69. Invocation command line was
22264 CONFIG_FILES = $CONFIG_FILES
22265 CONFIG_HEADERS = $CONFIG_HEADERS
22266 CONFIG_LINKS = $CONFIG_LINKS
22267 CONFIG_COMMANDS = $CONFIG_COMMANDS
22270 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22275 case $ac_config_files in *"
22276 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22279 case $ac_config_headers in *"
22280 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22285 # Files that config.status was made for.
22286 config_files="$ac_config_files"
22287 config_headers="$ac_config_headers"
22288 config_commands="$ac_config_commands"
22292 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22294 \`$as_me' instantiates files and other configuration actions
22295 from templates according to the current configuration. Unless the files
22296 and actions are specified as TAGs, all are instantiated by default.
22298 Usage: $0 [OPTION]... [TAG]...
22300 -h, --help print this help, then exit
22301 -V, --version print version number and configuration settings, then exit
22302 --config print configuration, then exit
22303 -q, --quiet, --silent
22304 do not print progress messages
22305 -d, --debug don't remove temporary files
22306 --recheck update $as_me by reconfiguring in the same conditions
22307 --file=FILE[:TEMPLATE]
22308 instantiate the configuration file FILE
22309 --header=FILE[:TEMPLATE]
22310 instantiate the configuration header FILE
22312 Configuration files:
22315 Configuration headers:
22318 Configuration commands:
22321 Report bugs to <saurik@saurik.com>.
22322 Cycript home page: <http://www.cycript.org/>."
22325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22326 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22328 Cycript config.status 0.9
22329 configured by $0, generated by GNU Autoconf 2.69,
22330 with options \\"\$ac_cs_config\\"
22332 Copyright (C) 2012 Free Software Foundation, Inc.
22333 This config.status script is free software; the Free Software Foundation
22334 gives unlimited permission to copy, distribute and modify it."
22341 test -n "\$AWK" || AWK=awk
22344 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22345 # The default lists apply if the user does not specify any file.
22351 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22352 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22356 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22368 # Handling of the options.
22369 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22371 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22372 $as_echo "$ac_cs_version"; exit ;;
22373 --config | --confi | --conf | --con | --co | --c )
22374 $as_echo "$ac_cs_config"; exit ;;
22375 --debug | --debu | --deb | --de | --d | -d )
22377 --file | --fil | --fi | --f )
22380 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22381 '') as_fn_error $?
"missing file argument" ;;
22383 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22384 ac_need_defaults
=false
;;
22385 --header | --heade | --head | --hea )
22388 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22390 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22391 ac_need_defaults
=false
;;
22393 # Conflict between --help and --header
22394 as_fn_error $?
"ambiguous option: \`$1'
22395 Try \`$0 --help' for more information.";;
22396 --help | --hel | -h )
22397 $as_echo "$ac_cs_usage"; exit ;;
22398 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22399 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22402 # This is an error.
22403 -*) as_fn_error $?
"unrecognized option: \`$1'
22404 Try \`$0 --help' for more information." ;;
22406 *) as_fn_append ac_config_targets
" $1"
22407 ac_need_defaults
=false
;;
22413 ac_configure_extra_args
=
22415 if $ac_cs_silent; then
22417 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22422 if \$ac_cs_recheck; then
22423 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22425 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22426 CONFIG_SHELL='$SHELL'
22427 export CONFIG_SHELL
22432 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22436 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22437 ## Running $as_me. ##
22443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22447 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22450 # The HP-UX ksh and POSIX shell print the target directory to stdout
22451 # if CDPATH is set.
22452 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22454 sed_quote_subst='$sed_quote_subst'
22455 double_quote_subst='$double_quote_subst'
22456 delay_variable_subst='$delay_variable_subst'
22457 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22458 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22459 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22460 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22461 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22462 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22463 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22464 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22465 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22466 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22467 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22468 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22469 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22470 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22471 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22472 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22473 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22474 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22475 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22476 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22477 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22478 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22479 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22480 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22481 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22482 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22483 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22484 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22485 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22486 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22487 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22488 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22489 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22490 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22491 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22492 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22493 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22494 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22495 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22496 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22497 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22498 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22499 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22500 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22501 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22502 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22503 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22504 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22505 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22506 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22507 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22508 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22509 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22510 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22511 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22512 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22513 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22514 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22515 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"`'
22516 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22517 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22518 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22519 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22520 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22521 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22522 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22523 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22524 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22525 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22526 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22527 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22528 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22529 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22530 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22531 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22532 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22533 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22534 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22535 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22536 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22537 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22538 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22539 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22540 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22541 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22542 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22543 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22544 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22545 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22546 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22547 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22548 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22549 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22550 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22551 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22552 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22553 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22554 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22555 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22556 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22557 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22558 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22559 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22560 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22561 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22562 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22563 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22564 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22565 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22566 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22567 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22568 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22569 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22570 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22571 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22572 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22573 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22574 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22575 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22576 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22577 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22578 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22579 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22580 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22581 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22582 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22583 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22584 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22585 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22586 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22587 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22588 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22589 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22590 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22591 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22592 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22593 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22594 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22595 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22596 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22597 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22598 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22599 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22600 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22601 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22602 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22603 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22604 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22605 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22606 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22607 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22608 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22609 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22610 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22611 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22612 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22613 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22614 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22615 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22616 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22617 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22618 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22619 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22620 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22621 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22622 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22623 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22624 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22625 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22626 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22627 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22628 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22629 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22630 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22631 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22632 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22633 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22634 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22635 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22636 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22637 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22638 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22639 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22640 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22641 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22642 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22643 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22644 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22645 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22648 LTCFLAGS='$LTCFLAGS'
22649 compiler='$compiler_DEFAULT'
22651 # A function that is used when there is no print builtin or printf.
22652 func_fallback_echo ()
22654 eval 'cat <<_LTECHO_EOF
22659 # Quote evaled strings.
22674 deplibs_check_method \
22679 sharedlib_from_linklib_cmd \
22682 archiver_list_spec \
22688 lt_cv_sys_global_symbol_pipe \
22689 lt_cv_sys_global_symbol_to_cdecl \
22690 lt_cv_sys_global_symbol_to_import \
22691 lt_cv_sys_global_symbol_to_c_name_address \
22692 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22693 lt_cv_nm_interface \
22694 nm_file_list_spec \
22695 lt_cv_truncate_bin \
22696 lt_prog_compiler_no_builtin_flag \
22697 lt_prog_compiler_pic \
22698 lt_prog_compiler_wl \
22699 lt_prog_compiler_static \
22700 lt_cv_prog_compiler_c_o \
22709 export_dynamic_flag_spec \
22710 whole_archive_flag_spec \
22711 compiler_needs_object \
22713 allow_undefined_flag \
22714 no_undefined_flag \
22715 hardcode_libdir_flag_spec \
22716 hardcode_libdir_separator \
22720 variables_saved_for_relink \
22722 library_names_spec \
22724 install_override_mode \
22728 compiler_lib_search_dirs \
22733 compiler_lib_search_path \
22737 lt_prog_compiler_no_builtin_flag_CXX \
22738 lt_prog_compiler_pic_CXX \
22739 lt_prog_compiler_wl_CXX \
22740 lt_prog_compiler_static_CXX \
22741 lt_cv_prog_compiler_c_o_CXX \
22742 export_dynamic_flag_spec_CXX \
22743 whole_archive_flag_spec_CXX \
22744 compiler_needs_object_CXX \
22746 allow_undefined_flag_CXX \
22747 no_undefined_flag_CXX \
22748 hardcode_libdir_flag_spec_CXX \
22749 hardcode_libdir_separator_CXX \
22750 exclude_expsyms_CXX \
22751 include_expsyms_CXX \
22752 file_list_spec_CXX \
22753 compiler_lib_search_dirs_CXX \
22754 predep_objects_CXX \
22755 postdep_objects_CXX \
22758 compiler_lib_search_path_CXX; do
22759 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22760 *[\\\\\\\`\\"\\\$]*)
22761 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22764 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22769 # Double-quote double-evaled strings.
22770 for var in reload_cmds \
22771 old_postinstall_cmds \
22772 old_postuninstall_cmds \
22774 extract_expsyms_cmds \
22775 old_archive_from_new_cmds \
22776 old_archive_from_expsyms_cmds \
22778 archive_expsym_cmds \
22780 module_expsym_cmds \
22781 export_symbols_cmds \
22785 postuninstall_cmds \
22787 sys_lib_search_path_spec \
22788 configure_time_dlsearch_path \
22789 configure_time_lt_sys_library_path \
22791 old_archive_cmds_CXX \
22792 old_archive_from_new_cmds_CXX \
22793 old_archive_from_expsyms_cmds_CXX \
22795 archive_expsym_cmds_CXX \
22797 module_expsym_cmds_CXX \
22798 export_symbols_cmds_CXX \
22800 postlink_cmds_CXX; do
22801 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22802 *[\\\\\\\`\\"\\\$]*)
22803 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22806 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22811 ac_aux_dir='$ac_aux_dir'
22813 # See if we are running on zsh, and set the options that allow our
22814 # commands through without removal of \ escapes INIT.
22815 if test -n "\${ZSH_VERSION+set}"; then
22816 setopt NO_GLOB_SUBST
22832 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22834 # Handling of arguments.
22835 for ac_config_target
in $ac_config_targets
22837 case $ac_config_target in
22838 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22839 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22840 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22841 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22843 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22848 # If the user did not use the arguments to specify the items to instantiate,
22849 # then the envvar interface is used. Set only those that are not.
22850 # We use the long form for the default assignment because of an extremely
22851 # bizarre bug on SunOS 4.1.3.
22852 if $ac_need_defaults; then
22853 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22854 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22855 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22858 # Have a temporary directory for convenience. Make it in the build tree
22859 # simply because there is no reason against having it here, and in addition,
22860 # creating and moving files from /tmp can sometimes cause problems.
22861 # Hook for its removal unless debugging.
22862 # Note that there is a small window in which the directory will not be cleaned:
22863 # after its creation but before its name has been assigned to `$tmp'.
22867 trap 'exit_status=$?
22868 : "${ac_tmp:=$tmp}"
22869 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22871 trap 'as_fn_exit 1' 1 2 13 15
22873 # Create a (secure) tmp directory for tmp files.
22876 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22880 tmp
=.
/conf$$
-$RANDOM
22881 (umask 077 && mkdir "$tmp")
22882 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22885 # Set up the scripts for CONFIG_FILES section.
22886 # No need to generate them if there are no CONFIG_FILES.
22887 # This happens for instance with `./config.status config.h'.
22888 if test -n "$CONFIG_FILES"; then
22891 ac_cr
=`echo X | tr X '\015'`
22892 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22893 # But we know of no other shell where ac_cr would be empty at this
22894 # point, so we can use a bashism as a fallback.
22895 if test "x$ac_cr" = x
; then
22896 eval ac_cr
=\$
\'\\r
\'
22898 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22899 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22902 ac_cs_awk_cr
=$ac_cr
22905 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22910 echo "cat >conf$$subs.awk <<_ACEOF" &&
22911 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22913 } >conf$$subs.sh ||
22914 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22915 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22917 for ac_last_try in false false false false false :; do
22918 . ./conf$$subs.sh ||
22919 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22921 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22922 if test $ac_delim_n = $ac_delim_num; then
22924 elif $ac_last_try; then
22925 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22927 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22930 rm -f conf$$subs.sh
22932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22933 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22937 s/^/S["/; s
/!.
*/"]=/
22947 s/\(.\{148\}\)..*/\1/
22949 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22954 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22961 s/\(.\{148\}\)..*/\1/
22963 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22967 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22972 ' <conf$$subs.awk | sed '
22977 ' >>$CONFIG_STATUS || ac_write_fail=1
22978 rm -f conf$$subs.awk
22979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22981 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22982 for (key in S) S_is_set[key] = 1
22988 nfields = split(line, field, "@
")
22990 len = length(field[1])
22991 for (i = 2; i < nfields; i++) {
22993 keylen = length(key)
22994 if (S_is_set[key]) {
22996 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22997 len += length(value) + length(field[++i])
23008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23009 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23010 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23013 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23014 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23017 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23018 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23019 # trailing colons and then remove the whole line if VPATH becomes empty
23020 # (actually we leave an empty line to preserve line numbers).
23021 if test "x
$srcdir" = x.; then
23022 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23041 fi # test -n "$CONFIG_FILES"
23043 # Set up the scripts for CONFIG_HEADERS section.
23044 # No need to generate them if there are no CONFIG_HEADERS.
23045 # This happens for instance with `./config.status Makefile'.
23046 if test -n "$CONFIG_HEADERS"; then
23047 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23051 # Transform confdefs.h into an awk script `defines.awk', embedded as
23052 # here-document in config.status, that substitutes the proper values into
23053 # config.h.in to produce config.h.
23055 # Create a delimiter string that does not exist in confdefs.h, to ease
23056 # handling of long lines.
23058 for ac_last_try in false false :; do
23059 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23060 if test -z "$ac_tt"; then
23062 elif $ac_last_try; then
23063 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23065 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23069 # For the awk script, D is an array of macro values keyed by name,
23070 # likewise P contains macro parameters if any. Preserve backslash
23071 # newline sequences.
23073 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23075 s/.\{148\}/&'"$ac_delim"'/g
23078 s/^[ ]*#[ ]*define[ ][ ]*/ /
23085 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23087 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23091 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23092 D["\
1"]=" \
3\\\\\\n
"\\/p
23094 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23099 s/.\{148\}/&'"$ac_delim"'/g
23104 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23107 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23109 ' <confdefs.h | sed '
23110 s/'"$ac_delim"'/"\\\
23111 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23114 for (key in D) D_is_set[key] = 1
23117 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23119 split(line, arg, " ")
23120 if (arg[1] == "#") {
23124 defundef
= substr
(arg
[1], 2)
23127 split(mac1
, mac2
, "(") #)
23129 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23130 if (D_is_set
[macro
]) {
23131 # Preserve the white space surrounding the "#".
23132 print prefix
"define", macro P
[macro
] D
[macro
]
23135 # Replace #undef with comments. This is necessary, for example,
23136 # in the case of _POSIX_SOURCE, which is predefined and required
23137 # on some systems where configure will not decide to define it.
23138 if (defundef
== "undef") {
23139 print
"/*", prefix defundef
, macro
, "*/"
23147 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23148 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23149 fi # test -n "$CONFIG_HEADERS"
23152 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23157 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23159 case $ac_mode$ac_tag in
23161 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23162 :[FH
]-) ac_tag
=-:-;;
23163 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23180 -) ac_f
="$ac_tmp/stdin";;
23181 *) # Look for the file first in the build tree, then in the source tree
23182 # (if the path is not absolute). The absolute path cannot be DOS-style,
23183 # because $ac_f cannot contain `:'.
23187 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23189 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23191 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23192 as_fn_append ac_file_inputs
" '$ac_f'"
23195 # Let's still pretend it is `configure' which instantiates (i.e., don't
23196 # use $as_me), people would be surprised to read:
23197 # /* config.h. Generated by config.status. */
23198 configure_input
='Generated from '`
23199 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23201 if test x
"$ac_file" != x
-; then
23202 configure_input
="$ac_file. $configure_input"
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23204 $as_echo "$as_me: creating $ac_file" >&6;}
23206 # Neutralize special characters interpreted by sed in replacement strings.
23207 case $configure_input in #(
23208 *\
&* | *\
|* | *\\* )
23209 ac_sed_conf_input
=`$as_echo "$configure_input" |
23210 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23211 *) ac_sed_conf_input
=$configure_input;;
23215 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23216 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23221 ac_dir
=`$as_dirname -- "$ac_file" ||
23222 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23223 X"$ac_file" : 'X\(//\)[^/]' \| \
23224 X"$ac_file" : 'X\(//\)$' \| \
23225 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23226 $as_echo X"$ac_file" |
23227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23231 /^X\(\/\/\)[^/].*/{
23244 as_dir
="$ac_dir"; as_fn_mkdir_p
23248 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23250 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23251 # A ".." for each directory in $ac_dir_suffix.
23252 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23253 case $ac_top_builddir_sub in
23254 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23255 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23258 ac_abs_top_builddir
=$ac_pwd
23259 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23260 # for backward compatibility:
23261 ac_top_builddir
=$ac_top_build_prefix
23264 .
) # We are building in place.
23266 ac_top_srcdir
=$ac_top_builddir_sub
23267 ac_abs_top_srcdir
=$ac_pwd ;;
23268 [\\/]* | ?
:[\\/]* ) # Absolute name.
23269 ac_srcdir
=$srcdir$ac_dir_suffix;
23270 ac_top_srcdir
=$srcdir
23271 ac_abs_top_srcdir
=$srcdir ;;
23272 *) # Relative name.
23273 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23274 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23275 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23277 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23287 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23288 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23290 ac_MKDIR_P
=$MKDIR_P
23292 [\\/$
]* | ?
:[\\/]* ) ;;
23293 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23297 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23298 # If the template does not know about datarootdir, expand it.
23299 # FIXME: This hack should be removed a few years after 2.60.
23300 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23311 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23312 *datarootdir
*) ac_datarootdir_seen
=yes;;
23313 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23315 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23318 ac_datarootdir_hack='
23319 s&@datadir@&$datadir&g
23320 s&@docdir@&$docdir&g
23321 s&@infodir@&$infodir&g
23322 s&@localedir@&$localedir&g
23323 s&@mandir@&$mandir&g
23324 s&\\\${datarootdir}&$datarootdir&g' ;;
23328 # Neutralize VPATH when `$srcdir' = `.'.
23329 # Shell code in configure.ac might set extrasub.
23330 # FIXME: do we really want to maintain this feature?
23331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23332 ac_sed_extra="$ac_vpsub
23335 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23337 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
23338 s
|@configure_input@
|$ac_sed_conf_input|;t t
23339 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23340 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23341 s
&@srcdir@
&$ac_srcdir&;t t
23342 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23343 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23344 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23345 s
&@builddir@
&$ac_builddir&;t t
23346 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23347 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23348 s
&@INSTALL@
&$ac_INSTALL&;t t
23349 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23350 $ac_datarootdir_hack
23352 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23353 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23355 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23356 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23357 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23358 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23360 which seems to be undefined. Please make sure it is defined" >&5
23361 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23362 which seems to be undefined. Please make sure it is defined" >&2;}
23364 rm -f "$ac_tmp/stdin"
23366 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23367 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23369 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23375 if test x"$ac_file" != x-; then
23377 $as_echo "/* $configure_input */" \
23378 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23379 } >"$ac_tmp/config.h" \
23380 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23381 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23383 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23386 mv "$ac_tmp/config.h" "$ac_file" \
23387 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23390 $as_echo "/* $configure_input */" \
23391 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23392 || as_fn_error $? "could not create -" "$LINENO" 5
23394 # Compute "$ac_file"'s index
in $config_headers.
23397 for _am_header
in $config_headers :; do
23398 case $_am_header in
23399 $_am_arg | $_am_arg:* )
23402 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23405 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23406 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23407 X"$_am_arg" : 'X\(//\)[^/]' \| \
23408 X"$_am_arg" : 'X\(//\)$' \| \
23409 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23410 $as_echo X"$_am_arg" |
23411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23415 /^X\(\/\/\)[^/].*/{
23427 s/.*/./; q'`/stamp
-h$_am_stamp_count
23430 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23431 $as_echo "$as_me: executing $ac_file commands" >&6;}
23436 case $ac_file$ac_mode in
23437 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
23438 # Older Autoconf quotes --file arguments for eval, but not when files
23439 # are listed without --file. Let's play safe and only enable the eval
23440 # if we detect the quoting.
23441 case $CONFIG_FILES in
23442 *\'*) eval set x
"$CONFIG_FILES" ;;
23443 *) set x
$CONFIG_FILES ;;
23448 # Strip MF so we end up with the name of the file.
23449 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23450 # Check whether this is an Automake generated Makefile or not.
23451 # We used to match only the files named 'Makefile.in', but
23452 # some people rename them; so instead we look at the file content.
23453 # Grep'ing the first line is not enough: some people post-process
23454 # each Makefile.in and add a new line on top of each file to say so.
23455 # Grep'ing the whole file is not good either: AIX grep has a line
23456 # limit of 2048, but all sed's we know have understand at least 4000.
23457 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23458 dirpart
=`$as_dirname -- "$mf" ||
23459 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23460 X"$mf" : 'X\(//\)[^/]' \| \
23461 X"$mf" : 'X\(//\)$' \| \
23462 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23468 /^X\(\/\/\)[^/].*/{
23484 # Extract the definition of DEPDIR, am__include, and am__quote
23485 # from the Makefile without running 'make'.
23486 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23487 test -z "$DEPDIR" && continue
23488 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23489 test -z "$am__include" && continue
23490 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23491 # Find all dependency output files, they are included files with
23492 # $(DEPDIR) in their names. We invoke sed twice because it is the
23493 # simplest approach to changing $(DEPDIR) to its actual value in the
23495 for file in `sed -n "
23496 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23497 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23498 # Make sure the directory exists.
23499 test -f "$dirpart/$file" && continue
23500 fdir
=`$as_dirname -- "$file" ||
23501 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23502 X"$file" : 'X\(//\)[^/]' \| \
23503 X"$file" : 'X\(//\)$' \| \
23504 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23505 $as_echo X"$file" |
23506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23510 /^X\(\/\/\)[^/].*/{
23523 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23524 # echo "creating $dirpart/$file"
23525 echo '# dummy' > "$dirpart/$file"
23532 # See if we are running on zsh, and set the options that allow our
23533 # commands through without removal of \ escapes.
23534 if test -n "${ZSH_VERSION+set}"; then
23535 setopt NO_GLOB_SUBST
23539 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23542 cat <<_LT_EOF >> "$cfgfile"
23544 # Generated automatically by $as_me ($PACKAGE) $VERSION
23545 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23546 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23548 # Provide generalized library-building support services.
23549 # Written by Gordon Matzigkeit, 1996
23551 # Copyright (C) 2014 Free Software Foundation, Inc.
23552 # This is free software; see the source for copying conditions. There is NO
23553 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23555 # GNU Libtool is free software; you can redistribute it and/or modify
23556 # it under the terms of the GNU General Public License as published by
23557 # the Free Software Foundation; either version 2 of of the License, or
23558 # (at your option) any later version.
23560 # As a special exception to the GNU General Public License, if you
23561 # distribute this file as part of a program or library that is built
23562 # using GNU Libtool, you may include this file under the same
23563 # distribution terms that you use for the rest of that program.
23565 # GNU Libtool is distributed in the hope that it will be useful, but
23566 # WITHOUT ANY WARRANTY; without even the implied warranty of
23567 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23568 # GNU General Public License for more details.
23570 # You should have received a copy of the GNU General Public License
23571 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23574 # The names of the tagged configurations supported by this script.
23575 available_tags='CXX '
23577 # Configured defaults for sys_lib_dlsearch_path munging.
23578 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23580 # ### BEGIN LIBTOOL CONFIG
23582 # Which release of libtool.m4 was used?
23583 macro_version=$macro_version
23584 macro_revision=$macro_revision
23586 # Whether or not to build static libraries.
23587 build_old_libs=$enable_static
23589 # Whether or not to build shared libraries.
23590 build_libtool_libs=$enable_shared
23592 # What type of objects to build.
23595 # Whether or not to optimize for fast installation.
23596 fast_install=$enable_fast_install
23598 # Shared archive member basename,for filename based shared library versioning on AIX.
23599 shared_archive_member_spec=$shared_archive_member_spec
23601 # Shell to use when invoking shell scripts.
23604 # An echo program that protects backslashes.
23607 # The PATH separator for the build system.
23608 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23611 host_alias=$host_alias
23615 # The build system.
23616 build_alias=$build_alias
23620 # A sed program that does not truncate output.
23623 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23624 Xsed="\$SED -e 1s/^X//"
23626 # A grep program that handles long lines.
23632 # A literal string matcher.
23635 # A BSD- or MS-compatible name lister.
23638 # Whether we need soft or hard links.
23641 # What is the maximum length of a command?
23642 max_cmd_len=$max_cmd_len
23644 # Object file suffix (normally "o").
23647 # Executable file suffix (normally "").
23650 # whether the shell understands "unset".
23653 # turn spaces into newlines.
23656 # turn newlines into spaces.
23659 # convert \$build file names to \$host format.
23660 to_host_file_cmd=$lt_cv_to_host_file_cmd
23662 # convert \$build files to toolchain format.
23663 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23665 # An object symbol dumper.
23666 OBJDUMP=$lt_OBJDUMP
23668 # Method to check whether dependent libraries are shared objects.
23669 deplibs_check_method=$lt_deplibs_check_method
23671 # Command to use when deplibs_check_method = "file_magic".
23672 file_magic_cmd=$lt_file_magic_cmd
23674 # How to find potential files when deplibs_check_method = "file_magic".
23675 file_magic_glob=$lt_file_magic_glob
23677 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23678 want_nocaseglob=$lt_want_nocaseglob
23680 # DLL creation program.
23681 DLLTOOL=$lt_DLLTOOL
23683 # Command to associate shared and link libraries.
23684 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23689 # Flags to create an archive.
23690 AR_FLAGS=$lt_AR_FLAGS
23692 # How to feed a file listing to the archiver.
23693 archiver_list_spec=$lt_archiver_list_spec
23695 # A symbol stripping program.
23698 # Commands used to install an old-style archive.
23700 old_postinstall_cmds=$lt_old_postinstall_cmds
23701 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23703 # Whether to use a lock for old archive extraction.
23704 lock_old_archive_extraction=$lock_old_archive_extraction
23709 # LTCC compiler flags.
23710 LTCFLAGS=$lt_CFLAGS
23712 # Take the output of nm and produce a listing of raw symbols and C names.
23713 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23715 # Transform the output of nm in a proper C declaration.
23716 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23718 # Transform the output of nm into a list of symbols to manually relocate.
23719 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23721 # Transform the output of nm in a C name address pair.
23722 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23724 # Transform the output of nm in a C name address pair when lib prefix is needed.
23725 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23727 # The name lister interface.
23728 nm_interface=$lt_lt_cv_nm_interface
23730 # Specify filename containing input files for \$NM.
23731 nm_file_list_spec=$lt_nm_file_list_spec
23733 # The root where to search for dependent libraries,and where our libraries should be installed.
23734 lt_sysroot=$lt_sysroot
23736 # Command to truncate a binary pipe.
23737 lt_truncate_bin=$lt_lt_cv_truncate_bin
23739 # The name of the directory that contains temporary libtool files.
23742 # Used to examine libraries when file_magic_cmd begins with "file".
23743 MAGIC_CMD=$MAGIC_CMD
23745 # Must we lock files when doing compilation?
23746 need_locks=$lt_need_locks
23749 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23751 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23752 DSYMUTIL=$lt_DSYMUTIL
23754 # Tool to change global to local symbols on Mac OS X.
23757 # Tool to manipulate fat objects and archives on Mac OS X.
23760 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23763 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23764 OTOOL64=$lt_OTOOL64
23766 # Old archive suffix (normally "a").
23769 # Shared library suffix (normally ".so").
23770 shrext_cmds=$lt_shrext_cmds
23772 # The commands to extract the exported symbol list from a shared archive.
23773 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23775 # Variables whose values should be saved in libtool wrapper scripts and
23776 # restored at link time.
23777 variables_saved_for_relink=$lt_variables_saved_for_relink
23779 # Do we need the "lib" prefix for modules?
23780 need_lib_prefix=$need_lib_prefix
23782 # Do we need a version for libraries?
23783 need_version=$need_version
23785 # Library versioning type.
23786 version_type=$version_type
23788 # Shared library runtime path variable.
23789 runpath_var=$runpath_var
23791 # Shared library path variable.
23792 shlibpath_var=$shlibpath_var
23794 # Is shlibpath searched before the hard-coded library search path?
23795 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23797 # Format of library name prefix.
23798 libname_spec=$lt_libname_spec
23800 # List of archive names. First name is the real one, the rest are links.
23801 # The last name is the one that the linker finds with -lNAME
23802 library_names_spec=$lt_library_names_spec
23804 # The coded name of the library, if different from the real name.
23805 soname_spec=$lt_soname_spec
23807 # Permission mode override for installation of shared libraries.
23808 install_override_mode=$lt_install_override_mode
23810 # Command to use after installation of a shared archive.
23811 postinstall_cmds=$lt_postinstall_cmds
23813 # Command to use after uninstallation of a shared archive.
23814 postuninstall_cmds=$lt_postuninstall_cmds
23816 # Commands used to finish a libtool library installation in a directory.
23817 finish_cmds=$lt_finish_cmds
23819 # As "finish_cmds", except a single script fragment to be evaled but
23821 finish_eval=$lt_finish_eval
23823 # Whether we should hardcode library paths into libraries.
23824 hardcode_into_libs=$hardcode_into_libs
23826 # Compile-time system search path for libraries.
23827 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23829 # Detected run-time system search path for libraries.
23830 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23832 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23833 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23835 # Whether dlopen is supported.
23836 dlopen_support=$enable_dlopen
23838 # Whether dlopen of programs is supported.
23839 dlopen_self=$enable_dlopen_self
23841 # Whether dlopen of statically linked programs is supported.
23842 dlopen_self_static=$enable_dlopen_self_static
23844 # Commands to strip libraries.
23845 old_striplib=$lt_old_striplib
23846 striplib=$lt_striplib
23849 # The linker used to build libraries.
23852 # How to create reloadable object files.
23853 reload_flag=$lt_reload_flag
23854 reload_cmds=$lt_reload_cmds
23856 # Commands used to build an old-style archive.
23857 old_archive_cmds=$lt_old_archive_cmds
23859 # A language specific compiler.
23862 # Is the compiler the GNU compiler?
23865 # Compiler flag to turn off builtin functions.
23866 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23868 # Additional compiler flags for building library objects.
23869 pic_flag=$lt_lt_prog_compiler_pic
23871 # How to pass a linker flag through the compiler.
23872 wl=$lt_lt_prog_compiler_wl
23874 # Compiler flag to prevent dynamic linking.
23875 link_static_flag=$lt_lt_prog_compiler_static
23877 # Does compiler simultaneously support -c and -o options?
23878 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23880 # Whether or not to add -lc for building shared libraries.
23881 build_libtool_need_lc=$archive_cmds_need_lc
23883 # Whether or not to disallow shared libs when runtime libs are static.
23884 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23886 # Compiler flag to allow reflexive dlopens.
23887 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23889 # Compiler flag to generate shared objects directly from archives.
23890 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23892 # Whether the compiler copes with passing no objects directly.
23893 compiler_needs_object=$lt_compiler_needs_object
23895 # Create an old-style archive from a shared archive.
23896 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23898 # Create a temporary old-style archive to link instead of a shared archive.
23899 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23901 # Commands used to build a shared archive.
23902 archive_cmds=$lt_archive_cmds
23903 archive_expsym_cmds=$lt_archive_expsym_cmds
23905 # Commands used to build a loadable module if different from building
23906 # a shared archive.
23907 module_cmds=$lt_module_cmds
23908 module_expsym_cmds=$lt_module_expsym_cmds
23910 # Whether we are building with GNU ld or not.
23911 with_gnu_ld=$lt_with_gnu_ld
23913 # Flag that allows shared libraries with undefined symbols to be built.
23914 allow_undefined_flag=$lt_allow_undefined_flag
23916 # Flag that enforces no undefined symbols.
23917 no_undefined_flag=$lt_no_undefined_flag
23919 # Flag to hardcode \$libdir into a binary during linking.
23920 # This must work even if \$libdir does not exist
23921 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23923 # Whether we need a single "-rpath" flag with a separated argument.
23924 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23926 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23927 # DIR into the resulting binary.
23928 hardcode_direct=$hardcode_direct
23930 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23931 # DIR into the resulting binary and the resulting library dependency is
23932 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23933 # library is relocated.
23934 hardcode_direct_absolute=$hardcode_direct_absolute
23936 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23937 # into the resulting binary.
23938 hardcode_minus_L=$hardcode_minus_L
23940 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23941 # into the resulting binary.
23942 hardcode_shlibpath_var=$hardcode_shlibpath_var
23944 # Set to "yes" if building a shared library automatically hardcodes DIR
23945 # into the library and all subsequent libraries and executables linked
23947 hardcode_automatic=$hardcode_automatic
23949 # Set to yes if linker adds runtime paths of dependent libraries
23950 # to runtime path list.
23951 inherit_rpath=$inherit_rpath
23953 # Whether libtool must link a program against all its dependency libraries.
23954 link_all_deplibs=$link_all_deplibs
23956 # Set to "yes" if exported symbols are required.
23957 always_export_symbols=$always_export_symbols
23959 # The commands to list exported symbols.
23960 export_symbols_cmds=$lt_export_symbols_cmds
23962 # Symbols that should not be listed in the preloaded symbols.
23963 exclude_expsyms=$lt_exclude_expsyms
23965 # Symbols that must always be exported.
23966 include_expsyms=$lt_include_expsyms
23968 # Commands necessary for linking programs (against libraries) with templates.
23969 prelink_cmds=$lt_prelink_cmds
23971 # Commands necessary for finishing linking programs.
23972 postlink_cmds=$lt_postlink_cmds
23974 # Specify filename containing input files.
23975 file_list_spec=$lt_file_list_spec
23977 # How to hardcode a shared library path into an executable.
23978 hardcode_action=$hardcode_action
23980 # The directories searched by this compiler when creating a shared library.
23981 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23983 # Dependencies to place before and after the objects being linked to
23984 # create a shared library.
23985 predep_objects=$lt_predep_objects
23986 postdep_objects=$lt_postdep_objects
23987 predeps=$lt_predeps
23988 postdeps=$lt_postdeps
23990 # The library search path used internally by the compiler when linking
23991 # a shared library.
23992 compiler_lib_search_path=$lt_compiler_lib_search_path
23994 # ### END LIBTOOL CONFIG
23998 cat <<'_LT_EOF' >> "$cfgfile"
24000 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
24002 # func_munge_path_list VARIABLE PATH
24003 # -----------------------------------
24004 # VARIABLE is name of variable containing _space_ separated list of
24005 # directories to be munged by the contents of PATH, which is string
24008 # string "DIR[ DIR]" will be prepended to VARIABLE
24010 # string "DIR[ DIR]" will be appended to VARIABLE
24011 # "DIRP[:DIRP]::[DIRA:]DIRA"
24012 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
24013 # "DIRA[ DIRA]" will be appended to VARIABLE
24015 # VARIABLE will be replaced by "DIR[ DIR]"
24016 func_munge_path_list ()
24022 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
24025 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
24028 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
24029 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
24032 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
24038 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
24039 func_cc_basename ()
24041 for cc_temp in $*""; do
24043 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24044 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24049 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
24053 # ### END FUNCTIONS SHARED WITH CONFIGURE
24059 cat <<\_LT_EOF
>> "$cfgfile"
24060 # AIX sometimes has problems with the GCC collect2 program. For some
24061 # reason, if we set the COLLECT_NAMES environment variable, the problems
24062 # vanish in a puff of smoke.
24063 if test set != "${COLLECT_NAMES+set}"; then
24065 export COLLECT_NAMES
24072 ltmain
=$ac_aux_dir/ltmain.sh
24075 # We use sed instead of cat because bash on DJGPP gets confused if
24076 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24077 # text mode, it properly converts lines to CR/LF. This bash problem
24078 # is reportedly fixed, but why not run on old versions too?
24079 sed '$q' "$ltmain" >> "$cfgfile" \
24080 || (rm -f "$cfgfile"; exit 1)
24082 mv -f "$cfgfile" "$ofile" ||
24083 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24087 cat <<_LT_EOF >> "$ofile"
24089 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24091 # The linker used to build libraries.
24094 # How to create reloadable object files.
24095 reload_flag=$lt_reload_flag_CXX
24096 reload_cmds=$lt_reload_cmds_CXX
24098 # Commands used to build an old-style archive.
24099 old_archive_cmds=$lt_old_archive_cmds_CXX
24101 # A language specific compiler.
24102 CC=$lt_compiler_CXX
24104 # Is the compiler the GNU compiler?
24107 # Compiler flag to turn off builtin functions.
24108 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24110 # Additional compiler flags for building library objects.
24111 pic_flag=$lt_lt_prog_compiler_pic_CXX
24113 # How to pass a linker flag through the compiler.
24114 wl=$lt_lt_prog_compiler_wl_CXX
24116 # Compiler flag to prevent dynamic linking.
24117 link_static_flag=$lt_lt_prog_compiler_static_CXX
24119 # Does compiler simultaneously support -c and -o options?
24120 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24122 # Whether or not to add -lc for building shared libraries.
24123 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24125 # Whether or not to disallow shared libs when runtime libs are static.
24126 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24128 # Compiler flag to allow reflexive dlopens.
24129 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24131 # Compiler flag to generate shared objects directly from archives.
24132 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24134 # Whether the compiler copes with passing no objects directly.
24135 compiler_needs_object=$lt_compiler_needs_object_CXX
24137 # Create an old-style archive from a shared archive.
24138 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24140 # Create a temporary old-style archive to link instead of a shared archive.
24141 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24143 # Commands used to build a shared archive.
24144 archive_cmds=$lt_archive_cmds_CXX
24145 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24147 # Commands used to build a loadable module if different from building
24148 # a shared archive.
24149 module_cmds=$lt_module_cmds_CXX
24150 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24152 # Whether we are building with GNU ld or not.
24153 with_gnu_ld=$lt_with_gnu_ld_CXX
24155 # Flag that allows shared libraries with undefined symbols to be built.
24156 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24158 # Flag that enforces no undefined symbols.
24159 no_undefined_flag=$lt_no_undefined_flag_CXX
24161 # Flag to hardcode \$libdir into a binary during linking.
24162 # This must work even if \$libdir does not exist
24163 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24165 # Whether we need a single "-rpath" flag with a separated argument.
24166 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24168 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24169 # DIR into the resulting binary.
24170 hardcode_direct=$hardcode_direct_CXX
24172 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24173 # DIR into the resulting binary and the resulting library dependency is
24174 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
24175 # library is relocated.
24176 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24178 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24179 # into the resulting binary.
24180 hardcode_minus_L=$hardcode_minus_L_CXX
24182 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24183 # into the resulting binary.
24184 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24186 # Set to "yes" if building a shared library automatically hardcodes DIR
24187 # into the library and all subsequent libraries and executables linked
24189 hardcode_automatic=$hardcode_automatic_CXX
24191 # Set to yes if linker adds runtime paths of dependent libraries
24192 # to runtime path list.
24193 inherit_rpath=$inherit_rpath_CXX
24195 # Whether libtool must link a program against all its dependency libraries.
24196 link_all_deplibs=$link_all_deplibs_CXX
24198 # Set to "yes" if exported symbols are required.
24199 always_export_symbols=$always_export_symbols_CXX
24201 # The commands to list exported symbols.
24202 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24204 # Symbols that should not be listed in the preloaded symbols.
24205 exclude_expsyms=$lt_exclude_expsyms_CXX
24207 # Symbols that must always be exported.
24208 include_expsyms=$lt_include_expsyms_CXX
24210 # Commands necessary for linking programs (against libraries) with templates.
24211 prelink_cmds=$lt_prelink_cmds_CXX
24213 # Commands necessary for finishing linking programs.
24214 postlink_cmds=$lt_postlink_cmds_CXX
24216 # Specify filename containing input files.
24217 file_list_spec=$lt_file_list_spec_CXX
24219 # How to hardcode a shared library path into an executable.
24220 hardcode_action=$hardcode_action_CXX
24222 # The directories searched by this compiler when creating a shared library.
24223 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24225 # Dependencies to place before and after the objects being linked to
24226 # create a shared library.
24227 predep_objects=$lt_predep_objects_CXX
24228 postdep_objects=$lt_postdep_objects_CXX
24229 predeps=$lt_predeps_CXX
24230 postdeps=$lt_postdeps_CXX
24232 # The library search path used internally by the compiler when linking
24233 # a shared library.
24234 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24236 # ### END LIBTOOL TAG CONFIG: CXX
24247 ac_clean_files
=$ac_clean_files_save
24249 test $ac_write_fail = 0 ||
24250 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24253 # configure is writing to config.log, and then calls config.status.
24254 # config.status does its own redirection, appending to config.log.
24255 # Unfortunately, on DOS this fails, as config.log is still kept open
24256 # by configure, so config.status won't be able to write to it; its
24257 # output is simply discarded. So we exec the FD to /dev/null,
24258 # effectively closing config.log, so it can be properly (re)opened and
24259 # appended to by config.status. When coming back to configure, we
24260 # need to make the FD available again.
24261 if test "$no_create" != yes; then
24263 ac_config_status_args
=
24264 test "$silent" = yes &&
24265 ac_config_status_args
="$ac_config_status_args --quiet"
24267 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24269 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24270 # would make configure fail if this is the last instruction.
24271 $ac_cs_success || as_fn_exit
1
24273 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24275 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}