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
715 am__fastdepOBJCXX_FALSE
716 am__fastdepOBJCXX_TRUE
745 MAINTAINER_MODE_FALSE
759 INSTALL_STRIP_PROGRAM
801 program_transform_name
814 enable_option_checking
816 enable_maintainer_mode
817 enable_dependency_tracking
830 ac_precious_vars
='build_alias
860 # Initialize some variables set by options.
862 ac_init_version
=false
863 ac_unrecognized_opts
=
865 # The variables have the same names as the options, with
866 # dashes changed to underlines.
874 program_transform_name
=s
,x
,x
,
882 # Installation directory options.
883 # These are left unexpanded so users can "make install exec_prefix=/foo"
884 # and all the variables that are supposed to be based on exec_prefix
885 # by default will actually change.
886 # Use braces instead of parens because sh, perl, etc. also accept them.
887 # (The list follows the same order as the GNU Coding Standards.)
888 bindir
='${exec_prefix}/bin'
889 sbindir
='${exec_prefix}/sbin'
890 libexecdir
='${exec_prefix}/libexec'
891 datarootdir
='${prefix}/share'
892 datadir
='${datarootdir}'
893 sysconfdir
='${prefix}/etc'
894 sharedstatedir
='${prefix}/com'
895 localstatedir
='${prefix}/var'
896 includedir
='${prefix}/include'
897 oldincludedir
='/usr/include'
898 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
899 infodir
='${datarootdir}/info'
904 libdir
='${exec_prefix}/lib'
905 localedir
='${datarootdir}/locale'
906 mandir
='${datarootdir}/man'
912 # If the previous option needs an argument, assign it.
913 if test -n "$ac_prev"; then
914 eval $ac_prev=\
$ac_option
920 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
925 # Accept the important Cygnus configure options, so we can diagnose typos.
927 case $ac_dashdash$ac_option in
931 -bindir | --bindir | --bindi | --bind | --bin | --bi)
933 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
936 -build | --build | --buil | --bui | --bu)
937 ac_prev
=build_alias
;;
938 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
939 build_alias
=$ac_optarg ;;
941 -cache-file | --cache-file | --cache-fil | --cache-fi \
942 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
943 ac_prev
=cache_file
;;
944 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
945 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
946 cache_file
=$ac_optarg ;;
949 cache_file
=config.cache
;;
951 -datadir | --datadir | --datadi | --datad)
953 -datadir=* | --datadir=* | --datadi=* | --datad=*)
954 datadir
=$ac_optarg ;;
956 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
957 | --dataroo | --dataro | --datar)
958 ac_prev
=datarootdir
;;
959 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
960 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
961 datarootdir
=$ac_optarg ;;
963 -disable-* | --disable-*)
964 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
967 as_fn_error $?
"invalid feature name: $ac_useropt"
968 ac_useropt_orig
=$ac_useropt
969 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970 case $ac_user_opts in
974 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
975 ac_unrecognized_sep
=', ';;
977 eval enable_
$ac_useropt=no
;;
979 -docdir | --docdir | --docdi | --doc | --do)
981 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
984 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
986 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
989 -enable-* | --enable-*)
990 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
993 as_fn_error $?
"invalid feature name: $ac_useropt"
994 ac_useropt_orig
=$ac_useropt
995 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
1000 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1001 ac_unrecognized_sep
=', ';;
1003 eval enable_
$ac_useropt=\
$ac_optarg ;;
1005 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1006 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1007 | --exec | --exe | --ex)
1008 ac_prev
=exec_prefix
;;
1009 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1010 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1011 | --exec=* | --exe=* | --ex=*)
1012 exec_prefix
=$ac_optarg ;;
1014 -gas | --gas | --ga | --g)
1015 # Obsolete; use --with-gas.
1018 -help | --help | --hel | --he | -h)
1019 ac_init_help
=long
;;
1020 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1021 ac_init_help
=recursive
;;
1022 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1023 ac_init_help
=short
;;
1025 -host | --host | --hos | --ho)
1026 ac_prev
=host_alias
;;
1027 -host=* | --host=* | --hos=* | --ho=*)
1028 host_alias
=$ac_optarg ;;
1030 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1032 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1034 htmldir
=$ac_optarg ;;
1036 -includedir | --includedir | --includedi | --included | --include \
1037 | --includ | --inclu | --incl | --inc)
1038 ac_prev
=includedir
;;
1039 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1040 | --includ=* | --inclu=* | --incl=* | --inc=*)
1041 includedir
=$ac_optarg ;;
1043 -infodir | --infodir | --infodi | --infod | --info | --inf)
1045 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1046 infodir
=$ac_optarg ;;
1048 -libdir | --libdir | --libdi | --libd)
1050 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1051 libdir
=$ac_optarg ;;
1053 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1054 | --libexe | --libex | --libe)
1055 ac_prev
=libexecdir
;;
1056 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1057 | --libexe=* | --libex=* | --libe=*)
1058 libexecdir
=$ac_optarg ;;
1060 -localedir | --localedir | --localedi | --localed | --locale)
1061 ac_prev
=localedir
;;
1062 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1063 localedir
=$ac_optarg ;;
1065 -localstatedir | --localstatedir | --localstatedi | --localstated \
1066 | --localstate | --localstat | --localsta | --localst | --locals)
1067 ac_prev
=localstatedir
;;
1068 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1069 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1070 localstatedir
=$ac_optarg ;;
1072 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1074 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1075 mandir
=$ac_optarg ;;
1077 -nfp | --nfp | --nf)
1078 # Obsolete; use --without-fp.
1081 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1082 | --no-cr | --no-c | -n)
1085 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1086 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1089 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1090 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1091 | --oldin | --oldi | --old | --ol | --o)
1092 ac_prev
=oldincludedir
;;
1093 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1094 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1095 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1096 oldincludedir
=$ac_optarg ;;
1098 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1100 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1101 prefix
=$ac_optarg ;;
1103 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1104 | --program-pre | --program-pr | --program-p)
1105 ac_prev
=program_prefix
;;
1106 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1107 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1108 program_prefix
=$ac_optarg ;;
1110 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1111 | --program-suf | --program-su | --program-s)
1112 ac_prev
=program_suffix
;;
1113 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1114 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1115 program_suffix
=$ac_optarg ;;
1117 -program-transform-name | --program-transform-name \
1118 | --program-transform-nam | --program-transform-na \
1119 | --program-transform-n | --program-transform- \
1120 | --program-transform | --program-transfor \
1121 | --program-transfo | --program-transf \
1122 | --program-trans | --program-tran \
1123 | --progr-tra | --program-tr | --program-t)
1124 ac_prev
=program_transform_name
;;
1125 -program-transform-name=* | --program-transform-name=* \
1126 | --program-transform-nam=* | --program-transform-na=* \
1127 | --program-transform-n=* | --program-transform-=* \
1128 | --program-transform=* | --program-transfor=* \
1129 | --program-transfo=* | --program-transf=* \
1130 | --program-trans=* | --program-tran=* \
1131 | --progr-tra=* | --program-tr=* | --program-t=*)
1132 program_transform_name
=$ac_optarg ;;
1134 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1136 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1137 pdfdir
=$ac_optarg ;;
1139 -psdir | --psdir | --psdi | --psd | --ps)
1141 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1144 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1145 | -silent | --silent | --silen | --sile | --sil)
1148 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1150 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1152 sbindir
=$ac_optarg ;;
1154 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1155 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1156 | --sharedst | --shareds | --shared | --share | --shar \
1158 ac_prev
=sharedstatedir
;;
1159 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1160 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1161 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1163 sharedstatedir
=$ac_optarg ;;
1165 -site | --site | --sit)
1167 -site=* | --site=* | --sit=*)
1170 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1172 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1173 srcdir
=$ac_optarg ;;
1175 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1176 | --syscon | --sysco | --sysc | --sys | --sy)
1177 ac_prev
=sysconfdir
;;
1178 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1179 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1180 sysconfdir
=$ac_optarg ;;
1182 -target | --target | --targe | --targ | --tar | --ta | --t)
1183 ac_prev
=target_alias
;;
1184 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1185 target_alias
=$ac_optarg ;;
1187 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1190 -version | --version | --versio | --versi | --vers | -V)
1191 ac_init_version
=: ;;
1194 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1197 as_fn_error $?
"invalid package name: $ac_useropt"
1198 ac_useropt_orig
=$ac_useropt
1199 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1205 ac_unrecognized_sep
=', ';;
1207 eval with_
$ac_useropt=\
$ac_optarg ;;
1209 -without-* | --without-*)
1210 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1211 # Reject names that are not valid shell variable names.
1212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1213 as_fn_error $?
"invalid package name: $ac_useropt"
1214 ac_useropt_orig
=$ac_useropt
1215 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1216 case $ac_user_opts in
1220 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1221 ac_unrecognized_sep
=', ';;
1223 eval with_
$ac_useropt=no
;;
1226 # Obsolete; use --with-x.
1229 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1230 | --x-incl | --x-inc | --x-in | --x-i)
1231 ac_prev
=x_includes
;;
1232 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1233 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1234 x_includes
=$ac_optarg ;;
1236 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1237 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1238 ac_prev
=x_libraries
;;
1239 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1240 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1241 x_libraries
=$ac_optarg ;;
1243 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1244 Try \`$0 --help' for more information"
1248 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1249 # Reject names that are not valid shell variable names.
1250 case $ac_envvar in #(
1251 '' | [0-9]* | *[!_$as_cr_alnum]* )
1252 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1254 eval $ac_envvar=\
$ac_optarg
1255 export $ac_envvar ;;
1258 # FIXME: should be removed in autoconf 3.0.
1259 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1260 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1261 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1262 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1268 if test -n "$ac_prev"; then
1269 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1270 as_fn_error $?
"missing argument to $ac_option"
1273 if test -n "$ac_unrecognized_opts"; then
1274 case $enable_option_checking in
1276 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1277 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1281 # Check all directory arguments for consistency.
1282 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283 datadir sysconfdir sharedstatedir localstatedir includedir \
1284 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285 libdir localedir mandir
1287 eval ac_val
=\$
$ac_var
1288 # Remove trailing slashes.
1291 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1292 eval $ac_var=\
$ac_val;;
1294 # Be sure to have absolute directory names.
1296 [\\/$
]* | ?
:[\\/]* ) continue;;
1297 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1299 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1307 target
=$target_alias
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x
; then
1311 if test "x$build_alias" = x
; then
1312 cross_compiling
=maybe
1313 elif test "x$build_alias" != "x$host_alias"; then
1319 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1321 test "$silent" = yes && exec 6>/dev
/null
1324 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di
=`ls -di .` &&
1326 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1327 as_fn_error $?
"working directory cannot be determined"
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329 as_fn_error $?
"pwd does not report name of working directory"
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334 ac_srcdir_defaulted
=yes
1335 # Try the directory containing this script, then the parent directory.
1336 ac_confdir
=`$as_dirname -- "$as_myself" ||
1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338 X"$as_myself" : 'X\(//\)[^/]' \| \
1339 X"$as_myself" : 'X\(//\)$' \| \
1340 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341 $as_echo X"$as_myself" |
1342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1364 ac_srcdir_defaulted
=no
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1368 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1370 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1372 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1382 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1384 for ac_var
in $ac_precious_vars; do
1385 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1386 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1387 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1388 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1398 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking ...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --libdir=DIR object code libraries [EPREFIX/lib]
1439 --includedir=DIR C header files [PREFIX/include]
1440 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1441 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1442 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1443 --infodir=DIR info documentation [DATAROOTDIR/info]
1444 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1445 --mandir=DIR man documentation [DATAROOTDIR/man]
1446 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1447 --htmldir=DIR html documentation [DOCDIR]
1448 --dvidir=DIR dvi documentation [DOCDIR]
1449 --pdfdir=DIR pdf documentation [DOCDIR]
1450 --psdir=DIR ps documentation [DOCDIR]
1456 --program-prefix=PREFIX prepend PREFIX to installed program names
1457 --program-suffix=SUFFIX append SUFFIX to installed program names
1458 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1461 --build=BUILD configure
for building on BUILD
[guessed
]
1462 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1466 if test -n "$ac_init_help"; then
1467 case $ac_init_help in
1468 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1473 --disable-option-checking ignore unrecognized
--enable/--with options
1474 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1475 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1476 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1477 --disable-silent-rules verbose build output
(undo
: "make V=0")
1478 --enable-maintainer-mode
1479 enable make rules and dependencies not useful
(and
1480 sometimes confusing
) to the casual installer
1481 --enable-dependency-tracking
1482 do not reject slow dependency extractors
1483 --disable-dependency-tracking
1484 speeds up one
-time build
1485 --enable-static[=PKGS
] build static libraries
[default
=no
]
1486 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1487 --enable-fast-install[=PKGS
]
1488 optimize
for fast installation
[default
=yes]
1489 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1490 --enable-javascript[=ENGINE
]
1491 use a JavaScript runtime
(currently the only
1492 available option
for ENGINE is JavaScriptCore
)
1494 --disable-console disable console
1495 --disable-attach disable attach
1498 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1499 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1500 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1502 --with-aix-soname=aix
|svr4
|both
1503 shared library versioning
(aka
"SONAME") variant to
1504 provide on AIX
, [default
=aix
].
1505 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1506 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1507 compiler
's sysroot if not specified).
1509 Some influential environment variables:
1510 CC C compiler command
1511 CFLAGS C compiler flags
1512 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1513 nonstandard directory <lib dir>
1514 LIBS libraries to pass to the linker, e.g. -l<library>
1515 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1516 you have headers in a nonstandard directory <include dir>
1517 CXX C++ compiler command
1518 CXXFLAGS C++ compiler flags
1519 OBJCXX Objective C++ compiler command
1520 OBJCXXFLAGS Objective C++ compiler flags
1522 User-defined run-time library search path.
1524 CXXCPP C++ preprocessor
1525 PKG_CONFIG path to pkg-config utility
1527 directories to add to pkg-config's search path
1529 path overriding pkg
-config's built-in search path
1530 BISON GNU Project parser generator (yacc replacement)
1531 FLEX the fast lexical analyser generator
1532 GPERF perfect hash function generator
1533 GNUTAR a very sticky lump of files
1535 C compiler flags for WEBKIT, overriding pkg-config
1536 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1538 prints information about the current gnustep installation
1540 Use these variables to override the choices made by `configure' or to
help
1541 it to
find libraries and programs with nonstandard names
/locations.
1543 Report bugs to
<saurik@saurik.com
>.
1544 Cycript home page
: <http
://www.cycript.org
/>.
1549 if test "$ac_init_help" = "recursive"; then
1550 # If there are subdirs, report their specific --help.
1551 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1552 test -d "$ac_dir" ||
1553 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1558 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1560 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1561 # A ".." for each directory in $ac_dir_suffix.
1562 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1563 case $ac_top_builddir_sub in
1564 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1565 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1568 ac_abs_top_builddir
=$ac_pwd
1569 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1570 # for backward compatibility:
1571 ac_top_builddir
=$ac_top_build_prefix
1574 .
) # We are building in place.
1576 ac_top_srcdir
=$ac_top_builddir_sub
1577 ac_abs_top_srcdir
=$ac_pwd ;;
1578 [\\/]* | ?
:[\\/]* ) # Absolute name.
1579 ac_srcdir
=$srcdir$ac_dir_suffix;
1580 ac_top_srcdir
=$srcdir
1581 ac_abs_top_srcdir
=$srcdir ;;
1583 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1584 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1585 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1587 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1589 cd "$ac_dir" || { ac_status
=$?
; continue; }
1590 # Check for guested configure.
1591 if test -f "$ac_srcdir/configure.gnu"; then
1593 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1594 elif test -f "$ac_srcdir/configure"; then
1596 $SHELL "$ac_srcdir/configure" --help=recursive
1598 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1600 cd "$ac_pwd" || { ac_status
=$?
; break; }
1604 test -n "$ac_init_help" && exit $ac_status
1605 if $ac_init_version; then
1607 Cycript configure
0.9
1608 generated by GNU Autoconf
2.69
1610 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1611 This configure
script is free software
; the Free Software Foundation
1612 gives unlimited permission to copy
, distribute and modify it.
1614 Copyright
(C
) 2009-2014 Jay Freeman
(saurik
)
1619 ## ------------------------ ##
1620 ## Autoconf initialization. ##
1621 ## ------------------------ ##
1623 # ac_fn_c_try_compile LINENO
1624 # --------------------------
1625 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1626 ac_fn_c_try_compile
()
1628 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1629 rm -f conftest.
$ac_objext
1630 if { { ac_try
="$ac_compile"
1632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_compile") 2>conftest.err
1639 if test -s conftest.err; then
1640 grep -v '^ *+' conftest.err >conftest.er1
1641 cat conftest.er1 >&5
1642 mv -f conftest.er1 conftest.err
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; } && {
1646 test -z "$ac_c_werror_flag" ||
1647 test ! -s conftest.err
1648 } && test -s conftest.$ac_objext; then :
1651 $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657 as_fn_set_status $ac_retval
1659 } # ac_fn_c_try_compile
1661 # ac_fn_cxx_try_compile LINENO
1662 # ----------------------------
1663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_cxx_try_compile ()
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 rm -f conftest.$ac_objext
1668 if { { ac_try="$ac_compile"
1670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1671 *) ac_try_echo
=$ac_try;;
1673 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_compile") 2>conftest.err
1677 if test -s conftest.err
; then
1678 grep -v '^ *+' conftest.err
>conftest.er1
1679 cat conftest.er1
>&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_cxx_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest.
$ac_objext; then :
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.
$ac_ext >&5
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 as_fn_set_status
$ac_retval
1697 } # ac_fn_cxx_try_compile
1699 # ac_fn_objcxx_try_compile LINENO
1700 # -------------------------------
1701 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1702 ac_fn_objcxx_try_compile
()
1704 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1705 rm -f conftest.
$ac_objext
1706 if { { ac_try
="$ac_compile"
1708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_compile") 2>conftest.err
1715 if test -s conftest.err; then
1716 grep -v '^ *+' conftest.err >conftest.er1
1717 cat conftest.er1 >&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_objcxx_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest.$ac_objext; then :
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 as_fn_set_status $ac_retval
1735 } # ac_fn_objcxx_try_compile
1737 # ac_fn_c_try_link LINENO
1738 # -----------------------
1739 # Try to link conftest.$ac_ext, and return whether this succeeded.
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 rm -f conftest.$ac_objext conftest$ac_exeext
1744 if { { ac_try="$ac_link"
1746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1747 *) ac_try_echo
=$ac_try;;
1749 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_link") 2>conftest.err
1753 if test -s conftest.err
; then
1754 grep -v '^ *+' conftest.err
>conftest.er1
1755 cat conftest.er1
>&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } && {
1760 test -z "$ac_c_werror_flag" ||
1761 test ! -s conftest.err
1762 } && test -s conftest
$ac_exeext && {
1763 test "$cross_compiling" = yes ||
1764 test -x conftest
$ac_exeext
1768 $as_echo "$as_me: failed program was:" >&5
1769 sed 's/^/| /' conftest.
$ac_ext >&5
1773 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1774 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1775 # interfere with the next link command; also delete a directory that is
1776 # left behind by Apple's compiler. We do this before executing the actions.
1777 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779 as_fn_set_status
$ac_retval
1781 } # ac_fn_c_try_link
1783 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1784 # -------------------------------------------------------
1785 # Tests whether HEADER exists and can be compiled using the include files in
1786 # INCLUDES, setting the cache variable VAR accordingly.
1787 ac_fn_c_check_header_compile
()
1789 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1791 $as_echo_n "checking for $2... " >&6; }
1792 if eval \
${$3+:} false
; then :
1793 $as_echo_n "(cached) " >&6
1795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1796 /* end confdefs.h. */
1800 if ac_fn_c_try_compile
"$LINENO"; then :
1805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1809 $as_echo "$ac_res" >&6; }
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812 } # ac_fn_c_check_header_compile
1814 # ac_fn_c_try_cpp LINENO
1815 # ----------------------
1816 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1819 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1820 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1829 if test -s conftest.err; then
1830 grep -v '^ *+' conftest.err >conftest.er1
1831 cat conftest.er1 >&5
1832 mv -f conftest.er1 conftest.err
1834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835 test $ac_status = 0; } > conftest.i && {
1836 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1837 test ! -s conftest.err
1841 $as_echo "$as_me: failed program was:" >&5
1842 sed 's/^/| /' conftest.$ac_ext >&5
1846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 as_fn_set_status $ac_retval
1851 # ac_fn_c_try_run LINENO
1852 # ----------------------
1853 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1854 # that executables *can* be run.
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 if { { ac_try="$ac_link"
1860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1861 *) ac_try_echo
=$ac_try;;
1863 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_link") 2>&5
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1869 { { case "(($ac_try" in
1870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1871 *) ac_try_echo=$ac_try;;
1873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_try") 2>&5
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; }; }; then :
1881 $as_echo "$as_me: program exited with status $ac_status" >&5
1882 $as_echo "$as_me: failed program was:" >&5
1883 sed 's/^/| /' conftest.$ac_ext >&5
1885 ac_retval=$ac_status
1887 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 as_fn_set_status $ac_retval
1893 # ac_fn_c_check_func LINENO FUNC VAR
1894 # ----------------------------------
1895 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1896 ac_fn_c_check_func ()
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; }
1901 if eval \${$3+:} false; then :
1902 $as_echo_n "(cached) " >&6
1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1906 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1908 #define $2 innocuous_$2
1910 /* System header to define __stub macros and hopefully few prototypes,
1911 which can conflict with char $2 (); below.
1912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1913 <limits.h> exists even on freestanding compilers. */
1916 # include <limits.h>
1918 # include <assert.h>
1923 /* Override any GCC internal prototype to avoid an error.
1924 Use char because int might match the return type of a GCC
1925 builtin and then its argument prototype would still apply. */
1930 /* The GNU C library defines this for functions which it implements
1931 to always fail with ENOSYS. Some functions are actually named
1932 something starting with __ and the normal name is an alias. */
1933 #if defined __stub_$2 || defined __stub___$2
1945 if ac_fn_c_try_link "$LINENO"; then :
1950 rm -f core conftest.err conftest.$ac_objext \
1951 conftest$ac_exeext conftest.$ac_ext
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958 } # ac_fn_c_check_func
1960 # ac_fn_cxx_try_cpp LINENO
1961 # ------------------------
1962 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1963 ac_fn_cxx_try_cpp ()
1965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1966 if { { ac_try="$ac_cpp conftest.$ac_ext"
1968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1969 *) ac_try_echo
=$ac_try;;
1971 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1972 $as_echo "$ac_try_echo"; } >&5
1973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1975 if test -s conftest.err
; then
1976 grep -v '^ *+' conftest.err
>conftest.er1
1977 cat conftest.er1
>&5
1978 mv -f conftest.er1 conftest.err
1980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1981 test $ac_status = 0; } > conftest.i
&& {
1982 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1983 test ! -s conftest.err
1987 $as_echo "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.
$ac_ext >&5
1992 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993 as_fn_set_status
$ac_retval
1995 } # ac_fn_cxx_try_cpp
1997 # ac_fn_cxx_try_link LINENO
1998 # -------------------------
1999 # Try to link conftest.$ac_ext, and return whether this succeeded.
2000 ac_fn_cxx_try_link
()
2002 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2003 rm -f conftest.
$ac_objext conftest
$ac_exeext
2004 if { { ac_try
="$ac_link"
2006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2007 *) ac_try_echo=$ac_try;;
2009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2010 $as_echo "$ac_try_echo"; } >&5
2011 (eval "$ac_link") 2>conftest.err
2013 if test -s conftest.err; then
2014 grep -v '^ *+' conftest.err >conftest.er1
2015 cat conftest.er1 >&5
2016 mv -f conftest.er1 conftest.err
2018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2019 test $ac_status = 0; } && {
2020 test -z "$ac_cxx_werror_flag" ||
2021 test ! -s conftest.err
2022 } && test -s conftest$ac_exeext && {
2023 test "$cross_compiling" = yes ||
2024 test -x conftest$ac_exeext
2028 $as_echo "$as_me: failed program was:" >&5
2029 sed 's/^/| /' conftest.$ac_ext >&5
2033 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2034 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2035 # interfere with the next link command; also delete a directory that is
2036 # left behind by Apple's compiler. We do this before executing the actions.
2037 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2039 as_fn_set_status $ac_retval
2041 } # ac_fn_cxx_try_link
2043 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2044 # ---------------------------------------------------------
2045 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2046 # the include files in INCLUDES and setting the cache variable VAR
2048 ac_fn_cxx_check_header_mongrel ()
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 if eval \${$3+:} false; then :
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053 $as_echo_n "checking for $2... " >&6; }
2054 if eval \${$3+:} false; then :
2055 $as_echo_n "(cached) " >&6
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2061 # Is the header compilable?
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2063 $as_echo_n "checking $2 usability... " >&6; }
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2069 if ac_fn_cxx_try_compile "$LINENO"; then :
2070 ac_header_compiler=yes
2072 ac_header_compiler=no
2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2076 $as_echo "$ac_header_compiler" >&6; }
2078 # Is the header present?
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2080 $as_echo_n "checking $2 presence... " >&6; }
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2085 if ac_fn_cxx_try_cpp "$LINENO"; then :
2086 ac_header_preproc=yes
2088 ac_header_preproc=no
2090 rm -f conftest.err conftest.i conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2092 $as_echo "$ac_header_preproc" >&6; }
2094 # So? What about this header?
2095 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2098 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2104 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2106 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2108 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2110 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2112 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2113 ( $as_echo "## -------------------------------- ##
2114 ## Report this to saurik@saurik.com ##
2115 ## -------------------------------- ##"
2116 ) | sed "s/^/$as_me: WARNING: /" >&2
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120 $as_echo_n "checking for $2... " >&6; }
2121 if eval \${$3+:} false; then :
2122 $as_echo_n "(cached) " >&6
2124 eval "$3=\$ac_header_compiler"
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128 $as_echo "$ac_res" >&6; }
2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 } # ac_fn_cxx_check_header_mongrel
2134 # ac_fn_objcxx_try_link LINENO
2135 # ----------------------------
2136 # Try to link conftest.$ac_ext, and return whether this succeeded.
2137 ac_fn_objcxx_try_link ()
2139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2140 rm -f conftest.$ac_objext conftest$ac_exeext
2141 if { { ac_try="$ac_link"
2143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2144 *) ac_try_echo
=$ac_try;;
2146 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2147 $as_echo "$ac_try_echo"; } >&5
2148 (eval "$ac_link") 2>conftest.err
2150 if test -s conftest.err
; then
2151 grep -v '^ *+' conftest.err
>conftest.er1
2152 cat conftest.er1
>&5
2153 mv -f conftest.er1 conftest.err
2155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2156 test $ac_status = 0; } && {
2157 test -z "$ac_objcxx_werror_flag" ||
2158 test ! -s conftest.err
2159 } && test -s conftest
$ac_exeext && {
2160 test "$cross_compiling" = yes ||
2161 test -x conftest
$ac_exeext
2165 $as_echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.
$ac_ext >&5
2170 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2171 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2172 # interfere with the next link command; also delete a directory that is
2173 # left behind by Apple's compiler. We do this before executing the actions.
2174 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2175 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2176 as_fn_set_status
$ac_retval
2178 } # ac_fn_objcxx_try_link
2179 cat >config.log
<<_ACEOF
2180 This file contains any messages produced by compilers while
2181 running configure, to aid debugging if configure makes a mistake.
2183 It was created by Cycript $as_me 0.9, which was
2184 generated by GNU Autoconf 2.69. Invocation command line was
2196 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2197 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2198 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2199 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2200 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2202 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2203 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2205 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2206 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2207 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2208 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2209 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2210 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2211 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir
=.
2220 $as_echo "PATH: $as_dir"
2236 # Keep a trace of the command line.
2237 # Strip out --no-create and --no-recursion so they do not pile up.
2238 # Strip out --silent because we don't want to record it for future runs.
2239 # Also quote any args containing shell meta-characters.
2240 # Make two passes to allow for proper duplicate-argument suppression.
2244 ac_must_keep_next
=false
2250 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2251 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2252 | -silent | --silent | --silen | --sile | --sil)
2255 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2258 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2260 as_fn_append ac_configure_args1
" '$ac_arg'"
2261 if test $ac_must_keep_next = true
; then
2262 ac_must_keep_next
=false
# Got value, back to normal.
2265 *=* | --config-cache | -C | -disable-* | --disable-* \
2266 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2267 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2268 | -with-* | --with-* | -without-* | --without-* | --x)
2269 case "$ac_configure_args0 " in
2270 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2273 -* ) ac_must_keep_next
=true
;;
2276 as_fn_append ac_configure_args
" '$ac_arg'"
2281 { ac_configure_args0
=; unset ac_configure_args0
;}
2282 { ac_configure_args1
=; unset ac_configure_args1
;}
2284 # When interrupted or exit'd, cleanup temporary files, and complete
2285 # config.log. We remove comments because anyway the quotes in there
2286 # would cause problems or look ugly.
2287 # WARNING: Use '\'' to represent an apostrophe within the trap.
2288 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2289 trap 'exit_status=$?
2290 # Save into config.log some information that might help in debugging.
2294 $as_echo "## ---------------- ##
2295 ## Cache variables. ##
2296 ## ---------------- ##"
2298 # The following way of writing the cache mishandles newlines in values,
2300 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2301 eval ac_val=\$$ac_var
2305 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2306 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2309 _ | IFS | as_nl) ;; #(
2310 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2311 *) { eval $ac_var=; unset $ac_var;} ;;
2316 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2317 *${as_nl}ac_space=\ *)
2319 "s/'\''/'\''\\\\'\'''\''/g;
2320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2323 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2330 $as_echo "## ----------------- ##
2331 ## Output variables. ##
2332 ## ----------------- ##"
2334 for ac_var in $ac_subst_vars
2336 eval ac_val=\$$ac_var
2338 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2340 $as_echo "$ac_var='\''$ac_val'\''"
2344 if test -n "$ac_subst_files"; then
2345 $as_echo "## ------------------- ##
2346 ## File substitutions. ##
2347 ## ------------------- ##"
2349 for ac_var
in $ac_subst_files
2351 eval ac_val
=\$
$ac_var
2353 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2355 $as_echo "$ac_var='\''$ac_val'\''"
2360 if test -s confdefs.h; then
2361 $as_echo "## ----------- ##
2368 test "$ac_signal" != 0 &&
2369 $as_echo "$as_me: caught signal $ac_signal"
2370 $as_echo "$as_me: exit $exit_status"
2372 rm -f core *.core core.conftest.* &&
2373 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2376 for ac_signal
in 1 2 13 15; do
2377 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2381 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2382 rm -f -r conftest
* confdefs.h
2384 $as_echo "/* confdefs.h */" > confdefs.h
2386 # Predefined preprocessor variables.
2388 cat >>confdefs.h
<<_ACEOF
2389 #define PACKAGE_NAME "$PACKAGE_NAME"
2392 cat >>confdefs.h
<<_ACEOF
2393 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2396 cat >>confdefs.h
<<_ACEOF
2397 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2400 cat >>confdefs.h
<<_ACEOF
2401 #define PACKAGE_STRING "$PACKAGE_STRING"
2404 cat >>confdefs.h
<<_ACEOF
2405 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2408 cat >>confdefs.h
<<_ACEOF
2409 #define PACKAGE_URL "$PACKAGE_URL"
2413 # Let the site file select an alternate cache file if it wants to.
2414 # Prefer an explicitly selected file to automatically selected ones.
2417 if test -n "$CONFIG_SITE"; then
2418 # We do not want a PATH search for config.site.
2419 case $CONFIG_SITE in #((
2420 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2421 */*) ac_site_file1
=$CONFIG_SITE;;
2422 *) ac_site_file1
=.
/$CONFIG_SITE;;
2424 elif test "x$prefix" != xNONE
; then
2425 ac_site_file1
=$prefix/share
/config.site
2426 ac_site_file2
=$prefix/etc
/config.site
2428 ac_site_file1
=$ac_default_prefix/share
/config.site
2429 ac_site_file2
=$ac_default_prefix/etc
/config.site
2431 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2433 test "x$ac_site_file" = xNONE
&& continue
2434 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2436 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2437 sed 's/^/| /' "$ac_site_file" >&5
2439 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2441 as_fn_error $?
"failed to load site script $ac_site_file
2442 See \`config.log' for more details" "$LINENO" 5; }
2446 if test -r "$cache_file"; then
2447 # Some versions of bash will fail to source /dev/null (special files
2448 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2449 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2451 $as_echo "$as_me: loading cache $cache_file" >&6;}
2453 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2454 *) .
"./$cache_file";;
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2459 $as_echo "$as_me: creating cache $cache_file" >&6;}
2463 # Check that the precious variables saved in the cache have kept the same
2465 ac_cache_corrupted
=false
2466 for ac_var
in $ac_precious_vars; do
2467 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2468 eval ac_new_set
=\
$ac_env_${ac_var}_set
2469 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2470 eval ac_new_val
=\
$ac_env_${ac_var}_value
2471 case $ac_old_set,$ac_new_set in
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2474 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2475 ac_cache_corrupted
=: ;;
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2478 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2479 ac_cache_corrupted
=: ;;
2482 if test "x$ac_old_val" != "x$ac_new_val"; then
2483 # differences in whitespace do not lead to failure.
2484 ac_old_val_w
=`echo x $ac_old_val`
2485 ac_new_val_w
=`echo x $ac_new_val`
2486 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2488 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2489 ac_cache_corrupted
=:
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2492 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2493 eval $ac_var=\
$ac_old_val
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2496 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2498 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2501 # Pass precious variables to config.status.
2502 if test "$ac_new_set" = set; then
2504 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2505 *) ac_arg
=$ac_var=$ac_new_val ;;
2507 case " $ac_configure_args " in
2508 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2509 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2513 if $ac_cache_corrupted; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2517 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2518 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2520 ## -------------------- ##
2521 ## Main body of script. ##
2522 ## -------------------- ##
2525 ac_cpp
='$CPP $CPPFLAGS'
2526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2535 for ac_dir
in .
"$srcdir"/.
; do
2536 if test -f "$ac_dir/install-sh"; then
2538 ac_install_sh
="$ac_aux_dir/install-sh -c"
2540 elif test -f "$ac_dir/install.sh"; then
2542 ac_install_sh
="$ac_aux_dir/install.sh -c"
2544 elif test -f "$ac_dir/shtool"; then
2546 ac_install_sh
="$ac_aux_dir/shtool install -c"
2550 if test -z "$ac_aux_dir"; then
2551 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2554 # These three variables are undocumented and unsupported,
2555 # and are intended to be withdrawn in a future Autoconf release.
2556 # They can cause serious problems if a builder's source tree is in a directory
2557 # whose full name contains unusual characters.
2558 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2559 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2560 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2564 ac_config_headers
="$ac_config_headers config.h"
2567 am__api_version
='1.14'
2569 # Find a good install program. We prefer a C program (faster),
2570 # so one script is as good as another. But avoid the broken or
2571 # incompatible versions:
2572 # SysV /etc/install, /usr/sbin/install
2573 # SunOS /usr/etc/install
2574 # IRIX /sbin/install
2576 # AmigaOS /C/install, which installs bootblocks on floppy discs
2577 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2578 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2579 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2580 # OS/2's system install, which has a completely different semantic
2581 # ./install, which can be erroneously created by make from ./install.sh.
2582 # Reject install programs that cannot install multiple files.
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2584 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2585 if test -z "$INSTALL"; then
2586 if ${ac_cv_path_install+:} false
; then :
2587 $as_echo_n "(cached) " >&6
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 # Account for people who put trailing slashes in PATH elements.
2595 case $as_dir/ in #((
2596 .
/ | .
// | /[cC
]/* | \
2597 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2598 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2601 # OSF1 and SCO ODT 3.0 have their own names for install.
2602 # Don't use installbsd from OSF since it installs stuff as root
2604 for ac_prog
in ginstall scoinst
install; do
2605 for ac_exec_ext
in '' $ac_executable_extensions; do
2606 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2607 if test $ac_prog = install &&
2608 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2609 # AIX install. It has an incompatible calling convention.
2611 elif test $ac_prog = install &&
2612 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2613 # program-specific install script used by HP pwplus--don't use.
2616 rm -rf conftest.one conftest.two conftest.dir
2617 echo one
> conftest.one
2618 echo two
> conftest.two
2620 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2621 test -s conftest.one
&& test -s conftest.two
&&
2622 test -s conftest.dir
/conftest.one
&&
2623 test -s conftest.dir
/conftest.two
2625 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2638 rm -rf conftest.one conftest.two conftest.dir
2641 if test "${ac_cv_path_install+set}" = set; then
2642 INSTALL
=$ac_cv_path_install
2644 # As a last resort, use the slow shell script. Don't cache a
2645 # value for INSTALL within a source directory, because that will
2646 # break other packages using the cache if that directory is
2647 # removed, or if the value is a relative name.
2648 INSTALL
=$ac_install_sh
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2652 $as_echo "$INSTALL" >&6; }
2654 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2655 # It thinks the first close brace ends the variable substitution.
2656 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2658 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2660 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2663 $as_echo_n "checking whether build environment is sane... " >&6; }
2664 # Reject unsafe characters in $srcdir or the absolute working directory
2665 # name. Accept space and tab only in the latter.
2669 *[\\\"\#\$\&\'\`$am_lf]*)
2670 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2673 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2674 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2677 # Do 'set' in a subshell so we don't clobber the current shell's
2678 # arguments. Must try -L first in case configure is actually a
2679 # symlink; some systems play weird games with the mod time of symlinks
2680 # (eg FreeBSD returns the mod time of the symlink's containing
2684 for am_try
in 1 2; do
2685 echo "timestamp, slept: $am_has_slept" > conftest.
file
2686 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2687 if test "$*" = "X"; then
2689 set X
`ls -t "$srcdir/configure" conftest.file`
2691 if test "$*" != "X $srcdir/configure conftest.file" \
2692 && test "$*" != "X conftest.file $srcdir/configure"; then
2694 # If neither matched, then we have a broken ls. This can happen
2695 # if, for instance, CONFIG_SHELL is bash and it inherits a
2696 # broken ls alias from the environment. This has actually
2697 # happened. Such a system could not be considered "sane".
2698 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2699 alias in your environment" "$LINENO" 5
2701 if test "$2" = conftest.
file || test $am_try -eq 2; then
2708 test "$2" = conftest.
file
2714 as_fn_error $?
"newly created file is older than distributed files!
2715 Check your system clock" "$LINENO" 5
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2718 $as_echo "yes" >&6; }
2719 # If we didn't sleep, we still need to ensure time stamps of config.status and
2720 # generated files are strictly newer.
2722 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2729 test "$program_prefix" != NONE
&&
2730 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2731 # Use a double $ so make ignores it.
2732 test "$program_suffix" != NONE
&&
2733 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2734 # Double any \ or $.
2735 # By default was `s,x,x', remove it if useless.
2736 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2737 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2739 # expand $ac_aux_dir to an absolute path
2740 am_aux_dir
=`cd $ac_aux_dir && pwd`
2742 if test x
"${MISSING+set}" != xset
; then
2745 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2747 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2750 # Use eval to expand $SHELL
2751 if eval "$MISSING --is-lightweight"; then
2752 am_missing_run
="$MISSING "
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2756 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2759 if test x
"${install_sh}" != xset
; then
2762 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2764 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2768 # Installed binaries are usually stripped using 'strip' when the user
2769 # run "make install-strip". However 'strip' might not be the right
2770 # tool to use in cross-compilation environments, therefore Automake
2771 # will honor the 'STRIP' environment variable to overrule this program.
2772 if test "$cross_compiling" != no
; then
2773 if test -n "$ac_tool_prefix"; then
2774 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2775 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if ${ac_cv_prog_STRIP+:} false
; then :
2779 $as_echo_n "(cached) " >&6
2781 if test -n "$STRIP"; then
2782 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir
=.
2789 for ac_exec_ext
in '' $ac_executable_extensions; do
2790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2791 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 STRIP
=$ac_cv_prog_STRIP
2802 if test -n "$STRIP"; then
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2804 $as_echo "$STRIP" >&6; }
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807 $as_echo "no" >&6; }
2812 if test -z "$ac_cv_prog_STRIP"; then
2814 # Extract the first word of "strip", so it can be a program name with args.
2815 set dummy strip
; ac_word
=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$ac_ct_STRIP"; then
2822 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir
=.
2829 for ac_exec_ext
in '' $ac_executable_extensions; do
2830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2831 ac_cv_prog_ac_ct_STRIP
="strip"
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2842 if test -n "$ac_ct_STRIP"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2844 $as_echo "$ac_ct_STRIP" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2850 if test "x$ac_ct_STRIP" = x
; then
2853 case $cross_compiling:$ac_tool_warned in
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2857 ac_tool_warned
=yes ;;
2862 STRIP
="$ac_cv_prog_STRIP"
2866 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2869 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2870 if test -z "$MKDIR_P"; then
2871 if ${ac_cv_path_mkdir+:} false
; then :
2872 $as_echo_n "(cached) " >&6
2874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2875 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2878 test -z "$as_dir" && as_dir
=.
2879 for ac_prog
in mkdir gmkdir
; do
2880 for ac_exec_ext
in '' $ac_executable_extensions; do
2881 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2882 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2883 'mkdir (GNU coreutils) '* | \
2884 'mkdir (coreutils) '* | \
2885 'mkdir (fileutils) '4.1*)
2886 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2896 test -d .
/--version && rmdir .
/--version
2897 if test "${ac_cv_path_mkdir+set}" = set; then
2898 MKDIR_P
="$ac_cv_path_mkdir -p"
2900 # As a last resort, use the slow shell script. Don't cache a
2901 # value for MKDIR_P within a source directory, because that will
2902 # break other packages using the cache if that directory is
2903 # removed, or if the value is a relative name.
2904 MKDIR_P
="$ac_install_sh -d"
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2908 $as_echo "$MKDIR_P" >&6; }
2910 for ac_prog
in gawk mawk nawk
awk
2912 # Extract the first word of "$ac_prog", so it can be a program name with args.
2913 set dummy
$ac_prog; ac_word
=$2
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915 $as_echo_n "checking for $ac_word... " >&6; }
2916 if ${ac_cv_prog_AWK+:} false
; then :
2917 $as_echo_n "(cached) " >&6
2919 if test -n "$AWK"; then
2920 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir
=.
2927 for ac_exec_ext
in '' $ac_executable_extensions; do
2928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2929 ac_cv_prog_AWK
="$ac_prog"
2930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 if test -n "$AWK"; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2942 $as_echo "$AWK" >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2949 test -n "$AWK" && break
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2953 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2955 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2956 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2957 $as_echo_n "(cached) " >&6
2959 cat >conftest.
make <<\_ACEOF
2962 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2964 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2965 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2967 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2969 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2973 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2975 $as_echo "yes" >&6; }
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2979 $as_echo "no" >&6; }
2980 SET_MAKE
="MAKE=${MAKE-make}"
2983 rm -rf .tst
2>/dev
/null
2984 mkdir .tst
2>/dev
/null
2985 if test -d .tst
; then
2990 rmdir .tst
2>/dev
/null
2992 # Check whether --enable-silent-rules was given.
2993 if test "${enable_silent_rules+set}" = set; then :
2994 enableval
=$enable_silent_rules;
2997 case $enable_silent_rules in # (((
2998 yes) AM_DEFAULT_VERBOSITY
=0;;
2999 no
) AM_DEFAULT_VERBOSITY
=1;;
3000 *) AM_DEFAULT_VERBOSITY
=1;;
3002 am_make
=${MAKE-make}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3004 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3005 if ${am_cv_make_support_nested_variables+:} false
; then :
3006 $as_echo_n "(cached) " >&6
3008 if $as_echo 'TRUE=$(BAR$(V))
3014 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3015 am_cv_make_support_nested_variables
=yes
3017 am_cv_make_support_nested_variables
=no
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3021 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3022 if test $am_cv_make_support_nested_variables = yes; then
3024 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3026 AM_V
=$AM_DEFAULT_VERBOSITY
3027 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3031 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3032 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3033 # is not polluted with repeated "-I."
3034 am__isrc
=' -I$(srcdir)'
3035 # test to see if srcdir already configured
3036 if test -f $srcdir/config.status
; then
3037 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3041 # test whether we have cygpath
3042 if test -z "$CYGPATH_W"; then
3043 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3044 CYGPATH_W
='cygpath -w'
3051 # Define the identity of the package.
3056 cat >>confdefs.h
<<_ACEOF
3057 #define PACKAGE "$PACKAGE"
3061 cat >>confdefs.h
<<_ACEOF
3062 #define VERSION "$VERSION"
3065 # Some tools Automake needs.
3067 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3070 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3073 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3076 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3079 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3081 # For better backward compatibility. To be removed once Automake 1.9.x
3082 # dies out for good. For more background, see:
3083 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3084 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3085 mkdir_p
='$(MKDIR_P)'
3087 # We need awk for the "check" target. The system "awk" is bad on
3089 # Always define AMTAR for backward compatibility. Yes, it's still used
3090 # in the wild :-( We should find a proper way to deprecate it ...
3094 # We'll loop over all known methods to create a tar archive until one works.
3095 _am_tools
='gnutar pax cpio none'
3097 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3104 # POSIX will say in a future version that running "rm -f" with no argument
3105 # is OK; and we want to be able to make that assumption in our Makefile
3106 # recipes. So use an aggressive probe to check that the usage we want is
3107 # actually supported "in the wild" to an acceptable degree.
3108 # See automake bug#10828.
3109 # To make any issue more visible, cause the running configure to be aborted
3110 # by default if the 'rm' program in use doesn't match our expectations; the
3111 # user can still override this though.
3112 if rm -f && rm -fr && rm -rf; then : OK
; else
3116 Your 'rm' program seems unable to run without file operands specified
3117 on the command line, even when the '-f' option is present. This is contrary
3118 to the behaviour of most rm programs out there, and not conforming with
3119 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3121 Please tell bug-automake@gnu.org about your system, including the value
3122 of your $PATH and any error possibly output before this message. This
3123 can help us improve future automake versions.
3126 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3127 echo 'Configuration will proceed anyway, since you have set the' >&2
3128 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3132 Aborting the configuration process, to ensure you take notice of the issue.
3134 You can download and install GNU coreutils to get an 'rm' implementation
3135 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3137 If you want to complete the configuration process using your problematic
3138 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3139 to "yes", and re-run configure.
3142 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3147 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3148 # Check whether --enable-maintainer-mode was given.
3149 if test "${enable_maintainer_mode+set}" = set; then :
3150 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3152 USE_MAINTAINER_MODE
=no
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3156 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3157 if test $USE_MAINTAINER_MODE = yes; then
3158 MAINTAINER_MODE_TRUE
=
3159 MAINTAINER_MODE_FALSE
='#'
3161 MAINTAINER_MODE_TRUE
='#'
3162 MAINTAINER_MODE_FALSE
=
3165 MAINT
=$MAINTAINER_MODE_TRUE
3170 ac_cpp
='$CPP $CPPFLAGS'
3171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3174 if test -n "$ac_tool_prefix"; then
3175 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3176 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if ${ac_cv_prog_CC+:} false
; then :
3180 $as_echo_n "(cached) " >&6
3182 if test -n "$CC"; then
3183 ac_cv_prog_CC
="$CC" # Let the user override the test.
3185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir
=.
3190 for ac_exec_ext
in '' $ac_executable_extensions; do
3191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3192 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 if test -n "$CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3205 $as_echo "$CC" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3213 if test -z "$ac_cv_prog_CC"; then
3215 # Extract the first word of "gcc", so it can be a program name with args.
3216 set dummy gcc
; ac_word
=$2
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218 $as_echo_n "checking for $ac_word... " >&6; }
3219 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3220 $as_echo_n "(cached) " >&6
3222 if test -n "$ac_ct_CC"; then
3223 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3229 test -z "$as_dir" && as_dir
=.
3230 for ac_exec_ext
in '' $ac_executable_extensions; do
3231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3232 ac_cv_prog_ac_ct_CC
="gcc"
3233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3243 if test -n "$ac_ct_CC"; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3245 $as_echo "$ac_ct_CC" >&6; }
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3251 if test "x$ac_ct_CC" = x
; then
3254 case $cross_compiling:$ac_tool_warned in
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3258 ac_tool_warned
=yes ;;
3266 if test -z "$CC"; then
3267 if test -n "$ac_tool_prefix"; then
3268 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3269 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 $as_echo_n "checking for $ac_word... " >&6; }
3272 if ${ac_cv_prog_CC+:} false
; then :
3273 $as_echo_n "(cached) " >&6
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC
="$CC" # Let the user override the test.
3278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3282 test -z "$as_dir" && as_dir
=.
3283 for ac_exec_ext
in '' $ac_executable_extensions; do
3284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3285 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3296 if test -n "$CC"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3298 $as_echo "$CC" >&6; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3307 if test -z "$CC"; then
3308 # Extract the first word of "cc", so it can be a program name with args.
3309 set dummy cc
; ac_word
=$2
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3311 $as_echo_n "checking for $ac_word... " >&6; }
3312 if ${ac_cv_prog_CC+:} false
; then :
3313 $as_echo_n "(cached) " >&6
3315 if test -n "$CC"; then
3316 ac_cv_prog_CC
="$CC" # Let the user override the test.
3319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir
=.
3324 for ac_exec_ext
in '' $ac_executable_extensions; do
3325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3326 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3327 ac_prog_rejected
=yes
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3338 if test $ac_prog_rejected = yes; then
3339 # We found a bogon in the path, so make sure we never use it.
3340 set dummy
$ac_cv_prog_CC
3342 if test $# != 0; then
3343 # We chose a different compiler from the bogus one.
3344 # However, it has the same basename, so the bogon will be chosen
3345 # first if we set CC to just the basename; use the full file name.
3347 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3353 if test -n "$CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3355 $as_echo "$CC" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3363 if test -z "$CC"; then
3364 if test -n "$ac_tool_prefix"; then
3365 for ac_prog
in cl.exe
3367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3368 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 $as_echo_n "checking for $ac_word... " >&6; }
3371 if ${ac_cv_prog_CC+:} false
; then :
3372 $as_echo_n "(cached) " >&6
3374 if test -n "$CC"; then
3375 ac_cv_prog_CC
="$CC" # Let the user override the test.
3377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir
=.
3382 for ac_exec_ext
in '' $ac_executable_extensions; do
3383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3384 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 if test -n "$CC"; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3397 $as_echo "$CC" >&6; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3404 test -n "$CC" && break
3407 if test -z "$CC"; then
3409 for ac_prog
in cl.exe
3411 # Extract the first word of "$ac_prog", so it can be a program name with args.
3412 set dummy
$ac_prog; ac_word
=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3416 $as_echo_n "(cached) " >&6
3418 if test -n "$ac_ct_CC"; then
3419 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3425 test -z "$as_dir" && as_dir
=.
3426 for ac_exec_ext
in '' $ac_executable_extensions; do
3427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3428 ac_cv_prog_ac_ct_CC
="$ac_prog"
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3439 if test -n "$ac_ct_CC"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3441 $as_echo "$ac_ct_CC" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3448 test -n "$ac_ct_CC" && break
3451 if test "x$ac_ct_CC" = x
; then
3454 case $cross_compiling:$ac_tool_warned in
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3458 ac_tool_warned
=yes ;;
3467 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3469 as_fn_error $?
"no acceptable C compiler found in \$PATH
3470 See \`config.log' for more details" "$LINENO" 5; }
3472 # Provide some information about the compiler.
3473 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3476 for ac_option
in --version -v -V -qversion; do
3477 { { ac_try
="$ac_compiler $ac_option >&5"
3479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3486 if test -s conftest.err; then
3488 ... rest of stderr output deleted ...
3489 10q' conftest.err >conftest.er1
3490 cat conftest.er1 >&5
3492 rm -f conftest.er1 conftest.err
3493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494 test $ac_status = 0; }
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3508 ac_clean_files_save=$ac_clean_files
3509 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3510 # Try to create an executable without -o first, disregard a.out.
3511 # It will help us diagnose broken compilers, and finding out an intuition
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3514 $as_echo_n "checking whether the C compiler works... " >&6; }
3515 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3517 # The possible output files:
3518 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3521 for ac_file in $ac_files
3524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3525 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3530 if { { ac_try="$ac_link_default"
3532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3533 *) ac_try_echo
=$ac_try;;
3535 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536 $as_echo "$ac_try_echo"; } >&5
3537 (eval "$ac_link_default") 2>&5
3539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540 test $ac_status = 0; }; then :
3541 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3542 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3543 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3544 # so that the user can short-circuit this test for compilers unknown to
3546 for ac_file
in $ac_files ''
3548 test -f "$ac_file" || continue
3550 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3553 # We found the default executable, but exeext='' is most
3557 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3559 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3561 # We set ac_cv_exeext here because the later test for it is not
3562 # safe: cross compilers may not add the suffix if given an `-o'
3563 # argument, so we may need to know it at that point already.
3564 # Even if this section looks crufty: it has the advantage of
3571 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3576 if test -z "$ac_file"; then :
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3579 $as_echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.
$ac_ext >&5
3582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3584 as_fn_error
77 "C compiler cannot create executables
3585 See \`config.log' for more details" "$LINENO" 5; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3588 $as_echo "yes" >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3591 $as_echo_n "checking for C compiler default output file name... " >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3593 $as_echo "$ac_file" >&6; }
3594 ac_exeext
=$ac_cv_exeext
3596 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3597 ac_clean_files
=$ac_clean_files_save
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3599 $as_echo_n "checking for suffix of executables... " >&6; }
3600 if { { ac_try
="$ac_link"
3602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3603 *) ac_try_echo=$ac_try;;
3605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3606 $as_echo "$ac_try_echo"; } >&5
3607 (eval "$ac_link") 2>&5
3609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3610 test $ac_status = 0; }; then :
3611 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3612 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3613 # work properly (i.e., refer to `conftest.exe'), while it won't with
3615 for ac_file
in conftest.exe conftest conftest.
*; do
3616 test -f "$ac_file" || continue
3618 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3619 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3628 See \`config.log' for more details" "$LINENO" 5; }
3630 rm -f conftest conftest
$ac_cv_exeext
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3632 $as_echo "$ac_cv_exeext" >&6; }
3634 rm -f conftest.
$ac_ext
3635 EXEEXT
=$ac_cv_exeext
3637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h. */
3643 FILE *f = fopen ("conftest.out", "w");
3644 return ferror (f) || fclose (f) != 0;
3650 ac_clean_files
="$ac_clean_files conftest.out"
3651 # Check that the compiler produces executables we can run. If not, either
3652 # the compiler is broken, or we cross compile.
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3654 $as_echo_n "checking whether we are cross compiling... " >&6; }
3655 if test "$cross_compiling" != yes; then
3656 { { ac_try
="$ac_link"
3658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662 $as_echo "$ac_try_echo"; } >&5
3663 (eval "$ac_link") 2>&5
3665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3666 test $ac_status = 0; }
3667 if { ac_try='./conftest$ac_cv_exeext'
3668 { { case "(($ac_try" in
3669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3670 *) ac_try_echo
=$ac_try;;
3672 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3673 $as_echo "$ac_try_echo"; } >&5
3674 (eval "$ac_try") 2>&5
3676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3677 test $ac_status = 0; }; }; then
3680 if test "$cross_compiling" = maybe
; then
3683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685 as_fn_error $?
"cannot run C compiled programs.
3686 If you meant to cross compile, use \`--host'.
3687 See \`config.log' for more details" "$LINENO" 5; }
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3692 $as_echo "$cross_compiling" >&6; }
3694 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3695 ac_clean_files
=$ac_clean_files_save
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3697 $as_echo_n "checking for suffix of object files... " >&6; }
3698 if ${ac_cv_objext+:} false
; then :
3699 $as_echo_n "(cached) " >&6
3701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 rm -f conftest.o conftest.obj
3713 if { { ac_try
="$ac_compile"
3715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3719 $as_echo "$ac_try_echo"; } >&5
3720 (eval "$ac_compile") 2>&5
3722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3723 test $ac_status = 0; }; then :
3724 for ac_file in conftest.o conftest.obj conftest.*; do
3725 test -f "$ac_file" || continue;
3727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3728 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3733 $as_echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3738 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3739 See \
`config.log' for more details" "$LINENO" 5; }
3741 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3744 $as_echo "$ac_cv_objext" >&6; }
3745 OBJEXT=$ac_cv_objext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3748 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3749 if ${ac_cv_c_compiler_gnu+:} false; then :
3750 $as_echo_n "(cached) " >&6
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3766 if ac_fn_c_try_compile "$LINENO"; then :
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3776 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3777 if test $ac_compiler_gnu = yes; then
3782 ac_test_CFLAGS=${CFLAGS+set}
3783 ac_save_CFLAGS=$CFLAGS
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3785 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3786 if ${ac_cv_prog_cc_g+:} false; then :
3787 $as_echo_n "(cached) " >&6
3789 ac_save_c_werror_flag=$ac_c_werror_flag
3790 ac_c_werror_flag=yes
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3804 if ac_fn_c_try_compile "$LINENO"; then :
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3819 if ac_fn_c_try_compile "$LINENO"; then :
3822 ac_c_werror_flag=$ac_save_c_werror_flag
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h. */
3835 if ac_fn_c_try_compile "$LINENO"; then :
3838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 ac_c_werror_flag=$ac_save_c_werror_flag
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3846 $as_echo "$ac_cv_prog_cc_g" >&6; }
3847 if test "$ac_test_CFLAGS" = set; then
3848 CFLAGS=$ac_save_CFLAGS
3849 elif test $ac_cv_prog_cc_g = yes; then
3850 if test "$GCC" = yes; then
3856 if test "$GCC" = yes; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3863 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3864 if ${ac_cv_prog_cc_c89+:} false; then :
3865 $as_echo_n "(cached) " >&6
3867 ac_cv_prog_cc_c89=no
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3875 struct buf { int x; };
3876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3877 static char *e (p, i)
3883 static char *f (char * (*g) (char **, int), char **p, ...)
3888 s = g (p, va_arg (v,int));
3893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3894 function prototypes and stuff, but not '\xHH' hex character constants.
3895 These don't provoke an error unfortunately, instead are silently treated
3896 as 'x'. The following induces an error, until -std is added to get
3897 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3898 array size at least. It's necessary to write '\x00'==0 to get something
3899 that's true only with -std. */
3900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3903 inside strings and character constants. */
3905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3907 int test (int i, double x);
3908 struct s1 {int (*f) (int a);};
3909 struct s2 {int (*f) (double a);};
3910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3924 CC="$ac_save_CC $ac_arg"
3925 if ac_fn_c_try_compile "$LINENO"; then :
3926 ac_cv_prog_cc_c89=$ac_arg
3928 rm -f core conftest.err conftest.$ac_objext
3929 test "x$ac_cv_prog_cc_c89" != "xno" && break
3931 rm -f conftest.$ac_ext
3936 case "x$ac_cv_prog_cc_c89" in
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3939 $as_echo "none needed" >&6; } ;;
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3942 $as_echo "unsupported" >&6; } ;;
3944 CC="$CC $ac_cv_prog_cc_c89"
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3946 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3948 if test "x$ac_cv_prog_cc_c89" != xno; then :
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3964 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3965 if ${am_cv_prog_cc_c_o+:} false; then :
3966 $as_echo_n "(cached) " >&6
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3979 # Make sure it works both with $CC and with simple cc.
3980 # Following AC_PROG_CC_C_O, we do the test twice because some
3981 # compilers refuse to overwrite an existing .o file with -o,
3982 # though they will create one.
3983 am_cv_prog_cc_c_o=yes
3985 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3986 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); } \
3990 && test -f conftest2.$ac_objext; then
3993 am_cv_prog_cc_c_o=no
3997 rm -f core conftest*
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4001 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4002 if test "$am_cv_prog_cc_c_o" != yes; then
4003 # Losing compiler, so override with the script.
4004 # FIXME: It is wrong to rewrite CC.
4005 # But if we don't then we get into trouble of one sort or another.
4006 # A longer-term fix would be to have automake use am__CC in this case,
4007 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4008 CC="$am_aux_dir/compile $CC"
4011 ac_cpp='$CPP $CPPFLAGS'
4012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4016 DEPDIR="${am__leading_dot}deps"
4018 ac_config_commands="$ac_config_commands depfiles"
4021 am_make=${MAKE-make}
4022 cat > confinc << 'END'
4024 @echo this is the am__doit target
4027 # If we don't find an include directive, just comment out the code.
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4029 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4033 # First try GNU make style include.
4034 echo "include confinc" > confmf
4035 # Ignore all kinds of additional output from 'make'.
4036 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4037 *the\ am__doit\ target*)
4043 # Now try BSD make style include.
4044 if test "$am__include" = "#"; then
4045 echo '.include "confinc"' > confmf
4046 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4047 *the\ am__doit\ target*)
4048 am__include=.include
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4057 $as_echo "$_am_result" >&6; }
4058 rm -f confinc confmf
4060 # Check whether --enable-dependency-tracking was given.
4061 if test "${enable_dependency_tracking+set}" = set; then :
4062 enableval=$enable_dependency_tracking;
4065 if test "x$enable_dependency_tracking" != xno; then
4066 am_depcomp="$ac_aux_dir/depcomp"
4070 if test "x$enable_dependency_tracking" != xno; then
4080 depcc="$CC" am_compiler_list=
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4083 $as_echo_n "checking dependency style of $depcc... " >&6; }
4084 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4085 $as_echo_n "(cached) " >&6
4087 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4088 # We make a subdir and do the tests there. Otherwise we can end up
4089 # making bogus files that we don't know about and never remove. For
4090 # instance it was reported that on HP-UX the gcc test will end up
4091 # making a dummy file named 'D' -- because '-MD' means "put the output
4095 # Copy depcomp to subdir because otherwise we won't find it if we're
4096 # using a relative directory.
4097 cp "$am_depcomp" conftest.dir
4099 # We will build objects and dependencies in a subdirectory because
4100 # it helps to detect inapplicable dependency modes. For instance
4101 # both Tru64's cc and ICC support -MD to output dependencies as a
4102 # side effect of compilation, but ICC will put the dependencies in
4103 # the current directory while Tru64 will put them in the object
4107 am_cv_CC_dependencies_compiler_type=none
4108 if test "$am_compiler_list" = ""; then
4109 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4112 case " $depcc " in #(
4113 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4116 for depmode in $am_compiler_list; do
4117 # Setup a source with many dependencies, because some compilers
4118 # like to wrap large dependency lists on column 80 (with \), and
4119 # we should not choose a depcomp mode which is confused by this.
4121 # We need to recreate these files for each test, as the compiler may
4122 # overwrite some of them when testing with obscure command lines.
4123 # This happens at least with the AIX C compiler.
4125 for i in 1 2 3 4 5 6; do
4126 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4127 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4128 # Solaris 10 /bin/sh.
4129 echo '/* dummy */' > sub/conftst$i.h
4131 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4133 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4134 # mode. It turns out that the SunPro C++ compiler does not properly
4135 # handle '-M -o', and we need to detect this. Also, some Intel
4136 # versions had trouble with output in subdirs.
4137 am__obj=sub/conftest.${OBJEXT-o}
4138 am__minus_obj="-o $am__obj"
4141 # This depmode causes a compiler race in universal mode.
4142 test "$am__universal" = false || continue
4145 # After this tag, mechanisms are not by side-effect, so they'll
4146 # only be used when explicitly requested.
4147 if test "x$enable_dependency_tracking" = xyes; then
4153 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4154 # This compiler won't grok '-c -o', but also, the minuso test has
4155 # not run yet. These depmodes are late enough in the game, and
4156 # so weak that their functioning should not be impacted.
4157 am__obj=conftest.${OBJEXT-o}
4162 if depmode=$depmode \
4163 source=sub/conftest.c object=$am__obj \
4164 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4165 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4166 >/dev/null 2>conftest.err &&
4167 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4168 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4169 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4170 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4171 # icc doesn't choke on unknown options, it will just issue warnings
4172 # or remarks (even with -Werror). So we grep stderr for any message
4173 # that says an option was ignored or not supported.
4174 # When given -MP, icc 7.0 and 7.1 complain thusly:
4175 # icc: Command line warning: ignoring option '-M'; no argument required
4176 # The diagnosis changed in icc 8.0:
4177 # icc: Command line remark: option '-MP' not supported
4178 if (grep 'ignoring option' conftest.err ||
4179 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4180 am_cv_CC_dependencies_compiler_type=$depmode
4189 am_cv_CC_dependencies_compiler_type=none
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4194 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4195 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4198 test "x$enable_dependency_tracking" != xno \
4199 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4201 am__fastdepCC_FALSE='#'
4203 am__fastdepCC_TRUE='#'
4204 am__fastdepCC_FALSE=
4209 ac_cpp='$CXXCPP $CPPFLAGS'
4210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4213 if test -z "$CXX"; then
4214 if test -n "$CCC"; then
4217 if test -n "$ac_tool_prefix"; then
4218 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if ${ac_cv_prog_CXX+:} false; then :
4225 $as_echo_n "(cached) " >&6
4227 if test -n "$CXX"; then
4228 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 test -z "$as_dir" && as_dir=.
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 if test -n "$CXX"; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4250 $as_echo "$CXX" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4257 test -n "$CXX" && break
4260 if test -z "$CXX"; then
4262 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4264 # Extract the first word of "$ac_prog", so it can be a program name with args.
4265 set dummy $ac_prog; ac_word=$2
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4267 $as_echo_n "checking for $ac_word... " >&6; }
4268 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4269 $as_echo_n "(cached) " >&6
4271 if test -n "$ac_ct_CXX"; then
4272 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278 test -z "$as_dir" && as_dir=.
4279 for ac_exec_ext in '' $ac_executable_extensions; do
4280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4281 ac_cv_prog_ac_ct_CXX="$ac_prog"
4282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4292 if test -n "$ac_ct_CXX"; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4294 $as_echo "$ac_ct_CXX" >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297 $as_echo "no" >&6; }
4301 test -n "$ac_ct_CXX" && break
4304 if test "x$ac_ct_CXX" = x; then
4307 case $cross_compiling:$ac_tool_warned in
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4311 ac_tool_warned=yes ;;
4319 # Provide some information about the compiler.
4320 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4323 for ac_option in --version -v -V -qversion; do
4324 { { ac_try="$ac_compiler $ac_option >&5"
4326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4327 *) ac_try_echo
=$ac_try;;
4329 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4330 $as_echo "$ac_try_echo"; } >&5
4331 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4333 if test -s conftest.err
; then
4335 ... rest of stderr output deleted ...
4336 10q' conftest.err
>conftest.er1
4337 cat conftest.er1
>&5
4339 rm -f conftest.er1 conftest.err
4340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4341 test $ac_status = 0; }
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4345 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4346 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4347 $as_echo_n "(cached) " >&6
4349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4363 if ac_fn_cxx_try_compile
"$LINENO"; then :
4368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4369 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4373 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4374 if test $ac_compiler_gnu = yes; then
4379 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4380 ac_save_CXXFLAGS
=$CXXFLAGS
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4382 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4383 if ${ac_cv_prog_cxx_g+:} false
; then :
4384 $as_echo_n "(cached) " >&6
4386 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4387 ac_cxx_werror_flag
=yes
4390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4401 if ac_fn_cxx_try_compile
"$LINENO"; then :
4402 ac_cv_prog_cxx_g
=yes
4405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4416 if ac_fn_cxx_try_compile
"$LINENO"; then :
4419 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4432 if ac_fn_cxx_try_compile
"$LINENO"; then :
4433 ac_cv_prog_cxx_g
=yes
4435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4440 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4443 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4444 if test "$ac_test_CXXFLAGS" = set; then
4445 CXXFLAGS
=$ac_save_CXXFLAGS
4446 elif test $ac_cv_prog_cxx_g = yes; then
4447 if test "$GXX" = yes; then
4453 if test "$GXX" = yes; then
4460 ac_cpp
='$CPP $CPPFLAGS'
4461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4465 depcc
="$CXX" am_compiler_list
=
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4468 $as_echo_n "checking dependency style of $depcc... " >&6; }
4469 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4470 $as_echo_n "(cached) " >&6
4472 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4473 # We make a subdir and do the tests there. Otherwise we can end up
4474 # making bogus files that we don't know about and never remove. For
4475 # instance it was reported that on HP-UX the gcc test will end up
4476 # making a dummy file named 'D' -- because '-MD' means "put the output
4480 # Copy depcomp to subdir because otherwise we won't find it if we're
4481 # using a relative directory.
4482 cp "$am_depcomp" conftest.dir
4484 # We will build objects and dependencies in a subdirectory because
4485 # it helps to detect inapplicable dependency modes. For instance
4486 # both Tru64's cc and ICC support -MD to output dependencies as a
4487 # side effect of compilation, but ICC will put the dependencies in
4488 # the current directory while Tru64 will put them in the object
4492 am_cv_CXX_dependencies_compiler_type
=none
4493 if test "$am_compiler_list" = ""; then
4494 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4497 case " $depcc " in #(
4498 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4501 for depmode
in $am_compiler_list; do
4502 # Setup a source with many dependencies, because some compilers
4503 # like to wrap large dependency lists on column 80 (with \), and
4504 # we should not choose a depcomp mode which is confused by this.
4506 # We need to recreate these files for each test, as the compiler may
4507 # overwrite some of them when testing with obscure command lines.
4508 # This happens at least with the AIX C compiler.
4510 for i
in 1 2 3 4 5 6; do
4511 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4512 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4513 # Solaris 10 /bin/sh.
4514 echo '/* dummy */' > sub
/conftst
$i.h
4516 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4518 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4519 # mode. It turns out that the SunPro C++ compiler does not properly
4520 # handle '-M -o', and we need to detect this. Also, some Intel
4521 # versions had trouble with output in subdirs.
4522 am__obj
=sub
/conftest.
${OBJEXT-o}
4523 am__minus_obj
="-o $am__obj"
4526 # This depmode causes a compiler race in universal mode.
4527 test "$am__universal" = false
|| continue
4530 # After this tag, mechanisms are not by side-effect, so they'll
4531 # only be used when explicitly requested.
4532 if test "x$enable_dependency_tracking" = xyes
; then
4538 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4539 # This compiler won't grok '-c -o', but also, the minuso test has
4540 # not run yet. These depmodes are late enough in the game, and
4541 # so weak that their functioning should not be impacted.
4542 am__obj
=conftest.
${OBJEXT-o}
4547 if depmode
=$depmode \
4548 source=sub
/conftest.c object
=$am__obj \
4549 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4550 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4551 >/dev
/null
2>conftest.err
&&
4552 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4553 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4554 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4555 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4556 # icc doesn't choke on unknown options, it will just issue warnings
4557 # or remarks (even with -Werror). So we grep stderr for any message
4558 # that says an option was ignored or not supported.
4559 # When given -MP, icc 7.0 and 7.1 complain thusly:
4560 # icc: Command line warning: ignoring option '-M'; no argument required
4561 # The diagnosis changed in icc 8.0:
4562 # icc: Command line remark: option '-MP' not supported
4563 if (grep 'ignoring option' conftest.err
||
4564 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4565 am_cv_CXX_dependencies_compiler_type
=$depmode
4574 am_cv_CXX_dependencies_compiler_type
=none
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4579 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4580 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4583 test "x$enable_dependency_tracking" != xno \
4584 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4585 am__fastdepCXX_TRUE
=
4586 am__fastdepCXX_FALSE
='#'
4588 am__fastdepCXX_TRUE
='#'
4589 am__fastdepCXX_FALSE
=
4594 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4595 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4598 if test -n "$ac_tool_prefix"; then
4599 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4602 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if ${ac_cv_prog_OBJCXX+:} false
; then :
4606 $as_echo_n "(cached) " >&6
4608 if test -n "$OBJCXX"; then
4609 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4615 test -z "$as_dir" && as_dir
=.
4616 for ac_exec_ext
in '' $ac_executable_extensions; do
4617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4618 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 OBJCXX
=$ac_cv_prog_OBJCXX
4629 if test -n "$OBJCXX"; then
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4631 $as_echo "$OBJCXX" >&6; }
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4638 test -n "$OBJCXX" && break
4641 if test -z "$OBJCXX"; then
4642 ac_ct_OBJCXX
=$OBJCXX
4643 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4645 # Extract the first word of "$ac_prog", so it can be a program name with args.
4646 set dummy
$ac_prog; ac_word
=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4650 $as_echo_n "(cached) " >&6
4652 if test -n "$ac_ct_OBJCXX"; then
4653 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4662 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4673 if test -n "$ac_ct_OBJCXX"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4675 $as_echo "$ac_ct_OBJCXX" >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4682 test -n "$ac_ct_OBJCXX" && break
4685 if test "x$ac_ct_OBJCXX" = x
; then
4688 case $cross_compiling:$ac_tool_warned in
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4692 ac_tool_warned
=yes ;;
4694 OBJCXX
=$ac_ct_OBJCXX
4698 # Provide some information about the compiler.
4699 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4702 for ac_option
in --version -v -V -qversion; do
4703 { { ac_try
="$ac_compiler $ac_option >&5"
4705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4706 *) ac_try_echo=$ac_try;;
4708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4709 $as_echo "$ac_try_echo"; } >&5
4710 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4712 if test -s conftest.err; then
4714 ... rest of stderr output deleted ...
4715 10q' conftest.err >conftest.er1
4716 cat conftest.er1 >&5
4718 rm -f conftest.er1 conftest.err
4719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4720 test $ac_status = 0; }
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4724 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4725 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4726 $as_echo_n "(cached) " >&6
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4742 if ac_fn_objcxx_try_compile "$LINENO"; then :
4747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4752 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4753 if test $ac_compiler_gnu = yes; then
4758 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4759 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4761 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4762 if ${ac_cv_prog_objcxx_g+:} false; then :
4763 $as_echo_n "(cached) " >&6
4765 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4766 ac_objcxx_werror_flag=yes
4767 ac_cv_prog_objcxx_g=no
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4780 if ac_fn_objcxx_try_compile "$LINENO"; then :
4781 ac_cv_prog_objcxx_g=yes
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4795 if ac_fn_objcxx_try_compile "$LINENO"; then :
4798 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4811 if ac_fn_objcxx_try_compile "$LINENO"; then :
4812 ac_cv_prog_objcxx_g=yes
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4822 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4823 if test "$ac_test_OBJCXXFLAGS" = set; then
4824 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4825 elif test $ac_cv_prog_objcxx_g = yes; then
4826 if test "$GOBJCXX" = yes; then
4827 OBJCXXFLAGS="-g -O2"
4832 if test "$GOBJCXX" = yes; then
4839 ac_cpp='$CPP $CPPFLAGS'
4840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4844 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4847 $as_echo_n "checking dependency style of $depcc... " >&6; }
4848 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4849 $as_echo_n "(cached) " >&6
4851 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4852 # We make a subdir and do the tests there. Otherwise we can end up
4853 # making bogus files that we don't know about and never remove. For
4854 # instance it was reported that on HP-UX the gcc test will end up
4855 # making a dummy file named 'D' -- because '-MD' means "put the output
4859 # Copy depcomp to subdir because otherwise we won't find it if we're
4860 # using a relative directory.
4861 cp "$am_depcomp" conftest.dir
4863 # We will build objects and dependencies in a subdirectory because
4864 # it helps to detect inapplicable dependency modes. For instance
4865 # both Tru64's cc and ICC support -MD to output dependencies as a
4866 # side effect of compilation, but ICC will put the dependencies in
4867 # the current directory while Tru64 will put them in the object
4871 am_cv_OBJCXX_dependencies_compiler_type=none
4872 if test "$am_compiler_list" = ""; then
4873 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4878 for depmode in $am_compiler_list; do
4879 # Setup a source with many dependencies, because some compilers
4880 # like to wrap large dependency lists on column 80 (with \), and
4881 # we should not choose a depcomp mode which is confused by this.
4883 # We need to recreate these files for each test, as the compiler may
4884 # overwrite some of them when testing with obscure command lines.
4885 # This happens at least with the AIX C compiler.
4887 for i in 1 2 3 4 5 6; do
4888 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4889 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4890 # Solaris 10 /bin/sh.
4891 echo '/* dummy */' > sub/conftst$i.h
4893 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4895 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4896 # mode. It turns out that the SunPro C++ compiler does not properly
4897 # handle '-M -o', and we need to detect this. Also, some Intel
4898 # versions had trouble with output in subdirs.
4899 am__obj=sub/conftest.${OBJEXT-o}
4900 am__minus_obj="-o $am__obj"
4903 # This depmode causes a compiler race in universal mode.
4904 test "$am__universal" = false || continue
4907 # After this tag, mechanisms are not by side-effect, so they'll
4908 # only be used when explicitly requested.
4909 if test "x$enable_dependency_tracking" = xyes; then
4915 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4916 # This compiler won't grok '-c -o', but also, the minuso test has
4917 # not run yet. These depmodes are late enough in the game, and
4918 # so weak that their functioning should not be impacted.
4919 am__obj=conftest.${OBJEXT-o}
4924 if depmode=$depmode \
4925 source=sub/conftest.c object=$am__obj \
4926 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4927 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4928 >/dev/null 2>conftest.err &&
4929 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4930 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4931 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4932 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4933 # icc doesn't choke on unknown options, it will just issue warnings
4934 # or remarks (even with -Werror). So we grep stderr for any message
4935 # that says an option was ignored or not supported.
4936 # When given -MP, icc 7.0 and 7.1 complain thusly:
4937 # icc: Command line warning: ignoring option '-M'; no argument required
4938 # The diagnosis changed in icc 8.0:
4939 # icc: Command line remark: option '-MP' not supported
4940 if (grep 'ignoring option' conftest.err ||
4941 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4942 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4951 am_cv_OBJCXX_dependencies_compiler_type=none
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4956 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4957 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4960 test "x$enable_dependency_tracking" != xno \
4961 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4962 am__fastdepOBJCXX_TRUE=
4963 am__fastdepOBJCXX_FALSE='#'
4965 am__fastdepOBJCXX_TRUE='#'
4966 am__fastdepOBJCXX_FALSE=
4972 if test -n "$ac_tool_prefix"; then
4973 for ac_prog in ar lib "link -lib"
4975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4976 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if ${ac_cv_prog_AR+:} false; then :
4980 $as_echo_n "(cached) " >&6
4982 if test -n "$AR"; then
4983 ac_cv_prog_AR="$AR" # Let the user override the test.
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir=.
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 if test -n "$AR"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5005 $as_echo "$AR" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5012 test -n "$AR" && break
5015 if test -z "$AR"; then
5017 for ac_prog in ar lib "link -lib"
5019 # Extract the first word of "$ac_prog", so it can be a program name with args.
5020 set dummy $ac_prog; ac_word=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5024 $as_echo_n "(cached) " >&6
5026 if test -n "$ac_ct_AR"; then
5027 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_ac_ct_AR="$ac_prog"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5047 if test -n "$ac_ct_AR"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5049 $as_echo "$ac_ct_AR" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5056 test -n "$ac_ct_AR" && break
5059 if test "x$ac_ct_AR" = x; then
5062 case $cross_compiling:$ac_tool_warned in
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5066 ac_tool_warned=yes ;;
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5075 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5076 if ${am_cv_ar_interface+:} false; then :
5077 $as_echo_n "(cached) " >&6
5080 ac_cpp='$CPP $CPPFLAGS'
5081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5085 am_cv_ar_interface=ar
5086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h. */
5088 int some_variable = 0;
5090 if ac_fn_c_try_compile "$LINENO"; then :
5091 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5092 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5093 (eval $am_ar_try) 2>&5
5095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5096 test $ac_status = 0; }
5097 if test "$ac_status" -eq 0; then
5098 am_cv_ar_interface=ar
5100 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5101 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5102 (eval $am_ar_try) 2>&5
5104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5105 test $ac_status = 0; }
5106 if test "$ac_status" -eq 0; then
5107 am_cv_ar_interface=lib
5109 am_cv_ar_interface=unknown
5112 rm -f conftest.lib libconftest.a
5115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5117 ac_cpp='$CPP $CPPFLAGS'
5118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5124 $as_echo "$am_cv_ar_interface" >&6; }
5126 case $am_cv_ar_interface in
5130 # Microsoft lib, so override with the ar-lib wrapper script.
5131 # FIXME: It is wrong to rewrite AR.
5132 # But if we don't then we get into trouble of one sort or another.
5133 # A longer-term fix would be to have automake use am__AR in this case,
5134 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5136 AR="$am_aux_dir/ar-lib $AR"
5139 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5148 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5153 macro_version='2.4.6'
5154 macro_revision='2.4.6'
5168 ltmain=$ac_aux_dir/ltmain.sh
5170 # Make sure we can run config.sub.
5171 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5172 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5175 $as_echo_n "checking build system type... " >&6; }
5176 if ${ac_cv_build+:} false; then :
5177 $as_echo_n "(cached) " >&6
5179 ac_build_alias=$build_alias
5180 test "x$ac_build_alias" = x &&
5181 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5182 test "x$ac_build_alias" = x &&
5183 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5184 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5185 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5189 $as_echo "$ac_cv_build" >&6; }
5190 case $ac_cv_build in
5192 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5195 ac_save_IFS=$IFS; IFS='-'
5201 # Remember, the first character of IFS is used to create $*,
5202 # except with old shells:
5205 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5209 $as_echo_n "checking host system type... " >&6; }
5210 if ${ac_cv_host+:} false; then :
5211 $as_echo_n "(cached) " >&6
5213 if test "x$host_alias" = x; then
5214 ac_cv_host=$ac_cv_build
5216 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5217 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5222 $as_echo "$ac_cv_host" >&6; }
5225 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5228 ac_save_IFS=$IFS; IFS='-'
5234 # Remember, the first character of IFS is used to create $*,
5235 # except with old shells:
5238 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5241 # Backslashify metacharacters that are still active within
5242 # double-quoted strings.
5243 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5245 # Same as above, but do not quote variable references.
5246 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5248 # Sed substitution to delay expansion of an escaped shell variable in a
5249 # double_quote_subst'ed string.
5250 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5252 # Sed substitution to delay expansion of an escaped single quote.
5253 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5255 # Sed substitution to avoid accidental globbing in evaled expressions
5256 no_glob_subst='s/\*/\\\*/g'
5258 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5259 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5260 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5263 $as_echo_n "checking how to print
strings...
" >&6; }
5264 # Test print first, because it will be a builtin if present.
5265 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5266 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5268 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5271 # Use this function as a fallback that always works.
5272 func_fallback_echo ()
5274 eval 'cat <<_LTECHO_EOF
5278 ECHO='func_fallback_echo'
5281 # func_echo_all arg...
5282 # Invoke $ECHO with all args, space-separated.
5289 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5290 $as_echo "printf" >&6; } ;;
5291 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5292 $as_echo "print
-r" >&6; } ;;
5293 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5294 $as_echo "cat" >&6; } ;;
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5311 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5312 if ${ac_cv_path_SED+:} false; then :
5313 $as_echo_n "(cached
) " >&6
5315 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5316 for ac_i in 1 2 3 4 5 6 7; do
5317 ac_script="$ac_script$as_nl$ac_script"
5319 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5320 { ac_script=; unset ac_script;}
5321 if test -z "$SED"; then
5322 ac_path_SED_found=false
5323 # Loop through the user's path and test for each of PROGNAME-LIST
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 test -z "$as_dir" && as_dir=.
5329 for ac_prog in sed gsed; do
5330 for ac_exec_ext in '' $ac_executable_extensions; do
5331 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5332 as_fn_executable_p "$ac_path_SED" || continue
5333 # Check for GNU ac_path_SED and select it if it is found.
5334 # Check for GNU $ac_path_SED
5335 case `"$ac_path_SED" --version 2>&1` in
5337 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5340 $as_echo_n 0123456789 >"conftest.
in"
5343 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5344 mv "conftest.tmp
" "conftest.
in"
5345 cp "conftest.
in" "conftest.
nl"
5346 $as_echo '' >> "conftest.
nl"
5347 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5348 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5349 as_fn_arith $ac_count + 1 && ac_count=$as_val
5350 if test $ac_count -gt ${ac_path_SED_max-0}; then
5351 # Best one so far, save it but keep looking for a better one
5352 ac_cv_path_SED="$ac_path_SED"
5353 ac_path_SED_max=$ac_count
5355 # 10*(2^10) chars as input seems more than enough
5356 test $ac_count -gt 10 && break
5358 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5361 $ac_path_SED_found && break 3
5366 if test -z "$ac_cv_path_SED"; then
5367 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5375 $as_echo "$ac_cv_path_SED" >&6; }
5376 SED="$ac_cv_path_SED"
5379 test -z "$SED" && SED=sed
5380 Xsed="$SED -e 1s
/^X
//"
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5393 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5394 if ${ac_cv_path_GREP+:} false; then :
5395 $as_echo_n "(cached
) " >&6
5397 if test -z "$GREP"; then
5398 ac_path_GREP_found=false
5399 # Loop through the user's path and test for each of PROGNAME-LIST
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5404 test -z "$as_dir" && as_dir=.
5405 for ac_prog in grep ggrep; do
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5408 as_fn_executable_p "$ac_path_GREP" || continue
5409 # Check for GNU ac_path_GREP and select it if it is found.
5410 # Check for GNU $ac_path_GREP
5411 case `"$ac_path_GREP" --version 2>&1` in
5413 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5416 $as_echo_n 0123456789 >"conftest.
in"
5419 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5420 mv "conftest.tmp
" "conftest.
in"
5421 cp "conftest.
in" "conftest.
nl"
5422 $as_echo 'GREP' >> "conftest.
nl"
5423 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5424 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5425 as_fn_arith $ac_count + 1 && ac_count=$as_val
5426 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5427 # Best one so far, save it but keep looking for a better one
5428 ac_cv_path_GREP="$ac_path_GREP"
5429 ac_path_GREP_max=$ac_count
5431 # 10*(2^10) chars as input seems more than enough
5432 test $ac_count -gt 10 && break
5434 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5437 $ac_path_GREP_found && break 3
5442 if test -z "$ac_cv_path_GREP"; then
5443 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5446 ac_cv_path_GREP=$GREP
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5451 $as_echo "$ac_cv_path_GREP" >&6; }
5452 GREP="$ac_cv_path_GREP"
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5456 $as_echo_n "checking
for egrep...
" >&6; }
5457 if ${ac_cv_path_EGREP+:} false; then :
5458 $as_echo_n "(cached
) " >&6
5460 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5461 then ac_cv_path_EGREP="$GREP -E"
5463 if test -z "$EGREP"; then
5464 ac_path_EGREP_found=false
5465 # Loop through the user's path and test for each of PROGNAME-LIST
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5470 test -z "$as_dir" && as_dir=.
5471 for ac_prog in egrep; do
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5474 as_fn_executable_p "$ac_path_EGREP" || continue
5475 # Check for GNU ac_path_EGREP and select it if it is found.
5476 # Check for GNU $ac_path_EGREP
5477 case `"$ac_path_EGREP" --version 2>&1` in
5479 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5482 $as_echo_n 0123456789 >"conftest.
in"
5485 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5486 mv "conftest.tmp
" "conftest.
in"
5487 cp "conftest.
in" "conftest.
nl"
5488 $as_echo 'EGREP' >> "conftest.
nl"
5489 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5490 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5491 as_fn_arith $ac_count + 1 && ac_count=$as_val
5492 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5493 # Best one so far, save it but keep looking for a better one
5494 ac_cv_path_EGREP="$ac_path_EGREP"
5495 ac_path_EGREP_max=$ac_count
5497 # 10*(2^10) chars as input seems more than enough
5498 test $ac_count -gt 10 && break
5500 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5503 $ac_path_EGREP_found && break 3
5508 if test -z "$ac_cv_path_EGREP"; then
5509 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5512 ac_cv_path_EGREP=$EGREP
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5518 $as_echo "$ac_cv_path_EGREP" >&6; }
5519 EGREP="$ac_cv_path_EGREP"
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5523 $as_echo_n "checking
for fgrep...
" >&6; }
5524 if ${ac_cv_path_FGREP+:} false; then :
5525 $as_echo_n "(cached
) " >&6
5527 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5528 then ac_cv_path_FGREP="$GREP -F"
5530 if test -z "$FGREP"; then
5531 ac_path_FGREP_found=false
5532 # Loop through the user's path and test for each of PROGNAME-LIST
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5537 test -z "$as_dir" && as_dir=.
5538 for ac_prog in fgrep; do
5539 for ac_exec_ext in '' $ac_executable_extensions; do
5540 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5541 as_fn_executable_p "$ac_path_FGREP" || continue
5542 # Check for GNU ac_path_FGREP and select it if it is found.
5543 # Check for GNU $ac_path_FGREP
5544 case `"$ac_path_FGREP" --version 2>&1` in
5546 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5549 $as_echo_n 0123456789 >"conftest.
in"
5552 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5553 mv "conftest.tmp
" "conftest.
in"
5554 cp "conftest.
in" "conftest.
nl"
5555 $as_echo 'FGREP' >> "conftest.
nl"
5556 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5557 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5558 as_fn_arith $ac_count + 1 && ac_count=$as_val
5559 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5560 # Best one so far, save it but keep looking for a better one
5561 ac_cv_path_FGREP="$ac_path_FGREP"
5562 ac_path_FGREP_max=$ac_count
5564 # 10*(2^10) chars as input seems more than enough
5565 test $ac_count -gt 10 && break
5567 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5570 $ac_path_FGREP_found && break 3
5575 if test -z "$ac_cv_path_FGREP"; then
5576 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5579 ac_cv_path_FGREP=$FGREP
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5585 $as_echo "$ac_cv_path_FGREP" >&6; }
5586 FGREP="$ac_cv_path_FGREP"
5589 test -z "$GREP" && GREP=grep
5609 # Check whether --with-gnu-ld was given.
5610 if test "${with_gnu_ld+set}" = set; then :
5611 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5617 if test yes = "$GCC"; then
5618 # Check if gcc -print-prog-name=ld gives a path.
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5620 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5623 # gcc leaves a trailing carriage return, which upsets mingw
5624 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5626 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5629 # Accept absolute paths.
5631 re_direlt='/[^/][^/]*/\.\./'
5632 # Canonicalize the pathname of ld
5633 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5634 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5635 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5637 test -z "$LD" && LD=$ac_prog
5640 # If it fails, then pretend we aren't using GCC.
5644 # If it is relative, then search for the first ld in PATH.
5648 elif test yes = "$with_gnu_ld"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5650 $as_echo_n "checking
for GNU ld...
" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5653 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5655 if ${lt_cv_path_LD+:} false; then :
5656 $as_echo_n "(cached
) " >&6
5658 if test -z "$LD"; then
5659 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5660 for ac_dir in $PATH; do
5662 test -z "$ac_dir" && ac_dir=.
5663 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5664 lt_cv_path_LD=$ac_dir/$ac_prog
5665 # Check to see if the program is GNU ld. I'd rather use --version,
5666 # but apparently some variants of GNU ld only accept -v.
5667 # Break only if it was the GNU/non-GNU ld that we prefer.
5668 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5669 *GNU* | *'with BFD'*)
5670 test no != "$with_gnu_ld" && break
5673 test yes != "$with_gnu_ld" && break
5680 lt_cv_path_LD=$LD # Let the user override the test with a path.
5685 if test -n "$LD"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5687 $as_echo "$LD" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5690 $as_echo "no
" >&6; }
5692 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5694 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5695 if ${lt_cv_prog_gnu_ld+:} false; then :
5696 $as_echo_n "(cached
) " >&6
5698 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5699 case `$LD -v 2>&1 </dev/null` in
5700 *GNU* | *'with BFD'*)
5701 lt_cv_prog_gnu_ld=yes
5704 lt_cv_prog_gnu_ld=no
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5709 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5710 with_gnu_ld=$lt_cv_prog_gnu_ld
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5721 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5722 if ${lt_cv_path_NM+:} false; then :
5723 $as_echo_n "(cached
) " >&6
5725 if test -n "$NM"; then
5726 # Let the user override the test.
5729 lt_nm_to_check=${ac_tool_prefix}nm
5730 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5731 lt_nm_to_check="$lt_nm_to_check nm
"
5733 for lt_tmp_nm in $lt_nm_to_check; do
5734 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5735 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5737 test -z "$ac_dir" && ac_dir=.
5738 tmp_nm=$ac_dir/$lt_tmp_nm
5739 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5740 # Check to see if the nm accepts a BSD-compat flag.
5741 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5742 # nm: unknown option "B
" ignored
5743 # Tru64's nm complains that /dev/null is an invalid object file
5744 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5746 mingw*) lt_bad_file=conftest.nm/nofile ;;
5747 *) lt_bad_file=/dev/null ;;
5749 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5750 *$lt_bad_file* | *'Invalid file or object type'*)
5751 lt_cv_path_NM="$tmp_nm -B"
5755 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5757 lt_cv_path_NM="$tmp_nm -p"
5761 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5762 continue # so that we can try to find one that supports BSD flags
5771 : ${lt_cv_path_NM=no}
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5775 $as_echo "$lt_cv_path_NM" >&6; }
5776 if test no != "$lt_cv_path_NM"; then
5779 # Didn't find any BSD compatible name lister, look for dumpbin.
5780 if test -n "$DUMPBIN"; then :
5781 # Let the user override the test.
5783 if test -n "$ac_tool_prefix"; then
5784 for ac_prog in dumpbin "link
-dump"
5786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5787 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5789 $as_echo_n "checking
for $ac_word...
" >&6; }
5790 if ${ac_cv_prog_DUMPBIN+:} false; then :
5791 $as_echo_n "(cached
) " >&6
5793 if test -n "$DUMPBIN"; then
5794 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5803 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5813 DUMPBIN=$ac_cv_prog_DUMPBIN
5814 if test -n "$DUMPBIN"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5816 $as_echo "$DUMPBIN" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5819 $as_echo "no
" >&6; }
5823 test -n "$DUMPBIN" && break
5826 if test -z "$DUMPBIN"; then
5827 ac_ct_DUMPBIN=$DUMPBIN
5828 for ac_prog in dumpbin "link
-dump"
5830 # Extract the first word of "$ac_prog", so it can be a program name with args.
5831 set dummy $ac_prog; ac_word=$2
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5833 $as_echo_n "checking
for $ac_word...
" >&6; }
5834 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5835 $as_echo_n "(cached
) " >&6
5837 if test -n "$ac_ct_DUMPBIN"; then
5838 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 test -z "$as_dir" && as_dir=.
5845 for ac_exec_ext in '' $ac_executable_extensions; do
5846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5847 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5857 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5858 if test -n "$ac_ct_DUMPBIN"; then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5860 $as_echo "$ac_ct_DUMPBIN" >&6; }
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5863 $as_echo "no
" >&6; }
5867 test -n "$ac_ct_DUMPBIN" && break
5870 if test "x
$ac_ct_DUMPBIN" = x; then
5873 case $cross_compiling:$ac_tool_warned in
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5876 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5877 ac_tool_warned=yes ;;
5879 DUMPBIN=$ac_ct_DUMPBIN
5883 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5885 DUMPBIN="$DUMPBIN -symbols -headers"
5893 if test : != "$DUMPBIN"; then
5897 test -z "$NM" && NM=nm
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5905 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5906 if ${lt_cv_nm_interface+:} false; then :
5907 $as_echo_n "(cached
) " >&6
5909 lt_cv_nm_interface="BSD nm
"
5910 echo "int some_variable
= 0;" > conftest.$ac_ext
5911 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5912 (eval "$ac_compile" 2>conftest.err)
5913 cat conftest.err >&5
5914 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5915 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5916 cat conftest.err >&5
5917 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5918 cat conftest.out >&5
5919 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5920 lt_cv_nm_interface="MS dumpbin
"
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5925 $as_echo "$lt_cv_nm_interface" >&6; }
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5928 $as_echo_n "checking whether
ln -s works...
" >&6; }
5930 if test "$LN_S" = "ln -s"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5932 $as_echo "yes" >&6; }
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5935 $as_echo "no
, using
$LN_S" >&6; }
5938 # find the maximum length of command line arguments
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5940 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5941 if ${lt_cv_sys_max_cmd_len+:} false; then :
5942 $as_echo_n "(cached
) " >&6
5949 # On DJGPP, this test can blow up pretty badly due to problems in libc
5950 # (any single argument exceeding 2000 bytes causes a buffer overrun
5951 # during glob expansion). Even if it were fixed, the result of this
5952 # check would be larger than it should be.
5953 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5957 # Under GNU Hurd, this test is not required because there is
5958 # no limit to the length of command line arguments.
5959 # Libtool will interpret -1 as no limit whatsoever
5960 lt_cv_sys_max_cmd_len=-1;
5963 cygwin* | mingw* | cegcc*)
5964 # On Win9x/ME, this test blows up -- it succeeds, but takes
5965 # about 5 minutes as the teststring grows exponentially.
5966 # Worse, since 9x/ME are not pre-emptively multitasking,
5967 # you end up with a "frozen
" computer, even though with patience
5968 # the test eventually succeeds (with a max line length of 256k).
5969 # Instead, let's just punt: use the minimum linelength reported by
5970 # all of the supported platforms: 8192 (on NT/2K/XP).
5971 lt_cv_sys_max_cmd_len=8192;
5975 # On MiNT this can take a long time and run out of memory.
5976 lt_cv_sys_max_cmd_len=8192;
5980 # On AmigaOS with pdksh, this test takes hours, literally.
5981 # So we just punt and use a minimum line length of 8192.
5982 lt_cv_sys_max_cmd_len=8192;
5985 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5986 # This has been around since 386BSD, at least. Likely further.
5987 if test -x /sbin/sysctl; then
5988 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5989 elif test -x /usr/sbin/sysctl; then
5990 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5992 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5994 # And add a safety zone
5995 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5996 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6000 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6001 lt_cv_sys_max_cmd_len=196608
6005 # The test takes a long time on OS/2.
6006 lt_cv_sys_max_cmd_len=8192
6010 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6011 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6012 # nice to cause kernel panics so lets avoid the loop below.
6013 # First set a reasonable default.
6014 lt_cv_sys_max_cmd_len=16384
6016 if test -x /sbin/sysconfig; then
6017 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6018 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6023 lt_cv_sys_max_cmd_len=102400
6025 sysv5* | sco5v6* | sysv4.2uw2*)
6026 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6027 if test -n "$kargmax"; then
6028 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6030 lt_cv_sys_max_cmd_len=32768
6034 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6035 if test -n "$lt_cv_sys_max_cmd_len" && \
6036 test undefined != "$lt_cv_sys_max_cmd_len"; then
6037 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6038 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6040 # Make teststring a little bigger before we do anything with it.
6041 # a 1K string should be a reasonable start.
6042 for i in 1 2 3 4 5 6 7 8; do
6043 teststring=$teststring$teststring
6045 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6046 # If test is not a shell built-in, we'll probably end up computing a
6047 # maximum length that is only half of the actual maximum length, but
6049 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6050 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6051 test 17 != "$i" # 1/2 MB should be enough
6054 teststring=$teststring$teststring
6056 # Only check the string length outside the loop.
6057 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6059 # Add a significant safety factor because C++ compilers can tack on
6060 # massive amounts of additional arguments before passing them to the
6061 # linker. It appears as though 1/2 is a usable value.
6062 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6069 if test -n "$lt_cv_sys_max_cmd_len"; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6071 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6074 $as_echo "none
" >&6; }
6076 max_cmd_len=$lt_cv_sys_max_cmd_len
6087 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6097 # test EBCDIC or ASCII
6098 case `echo X|tr X '\101'` in
6099 A) # ASCII based system
6100 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6101 lt_SP2NL='tr \040 \012'
6102 lt_NL2SP='tr \015\012 \040\040'
6104 *) # EBCDIC based system
6105 lt_SP2NL='tr \100 \n'
6106 lt_NL2SP='tr \r\n \100\100'
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6119 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6120 if ${lt_cv_to_host_file_cmd+:} false; then :
6121 $as_echo_n "(cached
) " >&6
6126 *-*-mingw* ) # actually msys
6127 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6130 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6132 * ) # otherwise, assume *nix
6133 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6139 *-*-mingw* ) # actually msys
6140 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6143 lt_cv_to_host_file_cmd=func_convert_file_noop
6145 * ) # otherwise, assume *nix
6146 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6150 * ) # unhandled hosts (and "normal
" native builds)
6151 lt_cv_to_host_file_cmd=func_convert_file_noop
6157 to_host_file_cmd=$lt_cv_to_host_file_cmd
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6159 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6166 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6167 if ${lt_cv_to_tool_file_cmd+:} false; then :
6168 $as_echo_n "(cached
) " >&6
6170 #assume ordinary cross tools, or native build.
6171 lt_cv_to_tool_file_cmd=func_convert_file_noop
6175 *-*-mingw* ) # actually msys
6176 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6184 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6186 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6193 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6194 if ${lt_cv_ld_reload_flag+:} false; then :
6195 $as_echo_n "(cached
) " >&6
6197 lt_cv_ld_reload_flag='-r'
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6200 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6201 reload_flag=$lt_cv_ld_reload_flag
6202 case $reload_flag in
6204 *) reload_flag=" $reload_flag" ;;
6206 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6208 cygwin* | mingw* | pw32* | cegcc*)
6209 if test yes != "$GCC"; then
6214 if test yes = "$GCC"; then
6215 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6217 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6230 if test -n "$ac_tool_prefix"; then
6231 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6232 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6234 $as_echo_n "checking
for $ac_word...
" >&6; }
6235 if ${ac_cv_prog_OBJDUMP+:} false; then :
6236 $as_echo_n "(cached
) " >&6
6238 if test -n "$OBJDUMP"; then
6239 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6248 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6258 OBJDUMP=$ac_cv_prog_OBJDUMP
6259 if test -n "$OBJDUMP"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6261 $as_echo "$OBJDUMP" >&6; }
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6264 $as_echo "no
" >&6; }
6269 if test -z "$ac_cv_prog_OBJDUMP"; then
6270 ac_ct_OBJDUMP=$OBJDUMP
6271 # Extract the first word of "objdump
", so it can be a program name with args.
6272 set dummy objdump; ac_word=$2
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6274 $as_echo_n "checking
for $ac_word...
" >&6; }
6275 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6276 $as_echo_n "(cached
) " >&6
6278 if test -n "$ac_ct_OBJDUMP"; then
6279 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 test -z "$as_dir" && as_dir=.
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6288 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6298 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6299 if test -n "$ac_ct_OBJDUMP"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6301 $as_echo "$ac_ct_OBJDUMP" >&6; }
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6304 $as_echo "no
" >&6; }
6307 if test "x
$ac_ct_OBJDUMP" = x; then
6310 case $cross_compiling:$ac_tool_warned in
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6313 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6314 ac_tool_warned=yes ;;
6316 OBJDUMP=$ac_ct_OBJDUMP
6319 OBJDUMP="$ac_cv_prog_OBJDUMP"
6322 test -z "$OBJDUMP" && OBJDUMP=objdump
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6333 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6334 if ${lt_cv_deplibs_check_method+:} false; then :
6335 $as_echo_n "(cached
) " >&6
6337 lt_cv_file_magic_cmd='$MAGIC_CMD'
6338 lt_cv_file_magic_test_file=
6339 lt_cv_deplibs_check_method='unknown'
6340 # Need to set the preceding variable on all platforms that support
6341 # interlibrary dependencies.
6342 # 'none' -- dependencies not supported.
6343 # 'unknown' -- same as none, but documents that we really don't know.
6344 # 'pass_all' -- all dependencies passed with no checks.
6345 # 'test_compile' -- check by making test program.
6346 # 'file_magic [[regex]]' -- check by looking for files in library path
6347 # that responds to the $file_magic_cmd with a given extended regex.
6348 # If you have 'file' or equivalent on your system and you're not sure
6349 # whether 'pass_all' will *always* work, you probably want this one.
6353 lt_cv_deplibs_check_method=pass_all
6357 lt_cv_deplibs_check_method=pass_all
6361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6362 lt_cv_file_magic_cmd='/usr/bin/file -L'
6363 lt_cv_file_magic_test_file=/shlib/libc.so
6367 # func_win32_libid is a shell function defined in ltmain.sh
6368 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6369 lt_cv_file_magic_cmd='func_win32_libid'
6373 # Base MSYS/MinGW do not provide the 'file' command needed by
6374 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6375 # unless we find 'file', for example because we are cross-compiling.
6376 if ( file / ) >/dev/null 2>&1; then
6377 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6378 lt_cv_file_magic_cmd='func_win32_libid'
6380 # Keep this pattern in sync with the one in func_win32_libid.
6381 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6382 lt_cv_file_magic_cmd='$OBJDUMP -f'
6387 # use the weaker test based on 'objdump'. See mingw*.
6388 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6389 lt_cv_file_magic_cmd='$OBJDUMP -f'
6392 darwin* | rhapsody*)
6393 lt_cv_deplibs_check_method=pass_all
6396 freebsd* | dragonfly*)
6397 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6400 # Not sure whether the presence of OpenBSD here was a mistake.
6401 # Let's accept both of them until this is cleared up.
6402 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6403 lt_cv_file_magic_cmd=/usr/bin/file
6404 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6408 lt_cv_deplibs_check_method=pass_all
6413 lt_cv_deplibs_check_method=pass_all
6416 hpux10.20* | hpux11*)
6417 lt_cv_file_magic_cmd=/usr/bin/file
6420 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6421 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6424 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]'
6425 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6428 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6429 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6435 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6436 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6439 irix5* | irix6* | nonstopux*)
6441 *-32|*"-32 ") libmagic=32-bit;;
6442 *-n32|*"-n32 ") libmagic=N32;;
6443 *-64|*"-64 ") libmagic=64-bit;;
6444 *) libmagic=never-match;;
6446 lt_cv_deplibs_check_method=pass_all
6449 # This must be glibc/ELF.
6450 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6451 lt_cv_deplibs_check_method=pass_all
6455 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6456 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6458 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6463 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6464 lt_cv_file_magic_cmd=/usr/bin/file
6465 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6469 lt_cv_deplibs_check_method=pass_all
6473 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6474 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6476 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6480 osf3* | osf4* | osf5*)
6481 lt_cv_deplibs_check_method=pass_all
6485 lt_cv_deplibs_check_method=pass_all
6489 lt_cv_deplibs_check_method=pass_all
6492 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6493 lt_cv_deplibs_check_method=pass_all
6497 case $host_vendor in
6499 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]'
6500 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6503 lt_cv_deplibs_check_method=pass_all
6506 lt_cv_file_magic_cmd='/bin/file'
6507 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6510 lt_cv_file_magic_cmd='/bin/file'
6511 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6512 lt_cv_file_magic_test_file=/lib/libc.so
6515 lt_cv_deplibs_check_method=pass_all
6518 lt_cv_deplibs_check_method=pass_all
6524 lt_cv_deplibs_check_method=pass_all
6527 lt_cv_deplibs_check_method=pass_all
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6533 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6537 if test "$build" = "$host"; then
6540 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6543 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6549 file_magic_cmd=$lt_cv_file_magic_cmd
6550 deplibs_check_method=$lt_cv_deplibs_check_method
6551 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6574 if test -n "$ac_tool_prefix"; then
6575 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6576 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6578 $as_echo_n "checking
for $ac_word...
" >&6; }
6579 if ${ac_cv_prog_DLLTOOL+:} false; then :
6580 $as_echo_n "(cached
) " >&6
6582 if test -n "$DLLTOOL"; then
6583 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6602 DLLTOOL=$ac_cv_prog_DLLTOOL
6603 if test -n "$DLLTOOL"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6605 $as_echo "$DLLTOOL" >&6; }
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6608 $as_echo "no
" >&6; }
6613 if test -z "$ac_cv_prog_DLLTOOL"; then
6614 ac_ct_DLLTOOL=$DLLTOOL
6615 # Extract the first word of "dlltool
", so it can be a program name with args.
6616 set dummy dlltool; ac_word=$2
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6618 $as_echo_n "checking
for $ac_word...
" >&6; }
6619 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6620 $as_echo_n "(cached
) " >&6
6622 if test -n "$ac_ct_DLLTOOL"; then
6623 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6632 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6642 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6643 if test -n "$ac_ct_DLLTOOL"; then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6645 $as_echo "$ac_ct_DLLTOOL" >&6; }
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6648 $as_echo "no
" >&6; }
6651 if test "x
$ac_ct_DLLTOOL" = x; then
6654 case $cross_compiling:$ac_tool_warned in
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6657 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6658 ac_tool_warned=yes ;;
6660 DLLTOOL=$ac_ct_DLLTOOL
6663 DLLTOOL="$ac_cv_prog_DLLTOOL"
6666 test -z "$DLLTOOL" && DLLTOOL=dlltool
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6678 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6679 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6680 $as_echo_n "(cached
) " >&6
6682 lt_cv_sharedlib_from_linklib_cmd='unknown'
6685 cygwin* | mingw* | pw32* | cegcc*)
6686 # two different shell functions defined in ltmain.sh;
6687 # decide which one to use based on capabilities of $DLLTOOL
6688 case `$DLLTOOL --help 2>&1` in
6689 *--identify-strict*)
6690 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6693 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6698 # fallback: assume linklib IS sharedlib
6699 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6705 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6706 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6707 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6715 if test -n "$ac_tool_prefix"; then
6718 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6719 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6721 $as_echo_n "checking
for $ac_word...
" >&6; }
6722 if ${ac_cv_prog_AR+:} false; then :
6723 $as_echo_n "(cached
) " >&6
6725 if test -n "$AR"; then
6726 ac_cv_prog_AR="$AR" # Let the user override the test.
6728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6735 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6746 if test -n "$AR"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6748 $as_echo "$AR" >&6; }
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6751 $as_echo "no
" >&6; }
6755 test -n "$AR" && break
6758 if test -z "$AR"; then
6762 # Extract the first word of "$ac_prog", so it can be a program name with args.
6763 set dummy $ac_prog; ac_word=$2
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6765 $as_echo_n "checking
for $ac_word...
" >&6; }
6766 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6767 $as_echo_n "(cached
) " >&6
6769 if test -n "$ac_ct_AR"; then
6770 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 test -z "$as_dir" && as_dir=.
6777 for ac_exec_ext in '' $ac_executable_extensions; do
6778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6779 ac_cv_prog_ac_ct_AR="$ac_prog"
6780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6789 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6790 if test -n "$ac_ct_AR"; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6792 $as_echo "$ac_ct_AR" >&6; }
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6795 $as_echo "no
" >&6; }
6799 test -n "$ac_ct_AR" && break
6802 if test "x
$ac_ct_AR" = x; then
6805 case $cross_compiling:$ac_tool_warned in
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6808 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6809 ac_tool_warned=yes ;;
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6829 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6830 if ${lt_cv_ar_at_file+:} false; then :
6831 $as_echo_n "(cached
) " >&6
6834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h. */
6845 if ac_fn_c_try_compile "$LINENO"; then :
6846 echo conftest.$ac_objext > conftest.lst
6847 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6848 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6849 (eval $lt_ar_try) 2>&5
6851 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6852 test $ac_status = 0; }
6853 if test 0 -eq "$ac_status"; then
6854 # Ensure the archiver fails upon bogus file names.
6855 rm -f conftest.$ac_objext libconftest.a
6856 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6857 (eval $lt_ar_try) 2>&5
6859 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6860 test $ac_status = 0; }
6861 if test 0 -ne "$ac_status"; then
6865 rm -f conftest.* libconftest.a
6868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6872 $as_echo "$lt_cv_ar_at_file" >&6; }
6874 if test no = "$lt_cv_ar_at_file"; then
6877 archiver_list_spec=$lt_cv_ar_at_file
6886 if test -n "$ac_tool_prefix"; then
6887 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6888 set dummy ${ac_tool_prefix}strip; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6890 $as_echo_n "checking
for $ac_word...
" >&6; }
6891 if ${ac_cv_prog_STRIP+:} false; then :
6892 $as_echo_n "(cached
) " >&6
6894 if test -n "$STRIP"; then
6895 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6904 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6914 STRIP=$ac_cv_prog_STRIP
6915 if test -n "$STRIP"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6917 $as_echo "$STRIP" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6920 $as_echo "no
" >&6; }
6925 if test -z "$ac_cv_prog_STRIP"; then
6927 # Extract the first word of "strip
", so it can be a program name with args.
6928 set dummy strip; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6930 $as_echo_n "checking
for $ac_word...
" >&6; }
6931 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6932 $as_echo_n "(cached
) " >&6
6934 if test -n "$ac_ct_STRIP"; then
6935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941 test -z "$as_dir" && as_dir=.
6942 for ac_exec_ext in '' $ac_executable_extensions; do
6943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944 ac_cv_prog_ac_ct_STRIP="strip
"
6945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6955 if test -n "$ac_ct_STRIP"; then
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6957 $as_echo "$ac_ct_STRIP" >&6; }
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6960 $as_echo "no
" >&6; }
6963 if test "x
$ac_ct_STRIP" = x; then
6966 case $cross_compiling:$ac_tool_warned in
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6969 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6970 ac_tool_warned=yes ;;
6975 STRIP="$ac_cv_prog_STRIP"
6978 test -z "$STRIP" && STRIP=:
6985 if test -n "$ac_tool_prefix"; then
6986 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6987 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6989 $as_echo_n "checking
for $ac_word...
" >&6; }
6990 if ${ac_cv_prog_RANLIB+:} false; then :
6991 $as_echo_n "(cached
) " >&6
6993 if test -n "$RANLIB"; then
6994 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000 test -z "$as_dir" && as_dir=.
7001 for ac_exec_ext in '' $ac_executable_extensions; do
7002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7003 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7013 RANLIB=$ac_cv_prog_RANLIB
7014 if test -n "$RANLIB"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7016 $as_echo "$RANLIB" >&6; }
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7019 $as_echo "no
" >&6; }
7024 if test -z "$ac_cv_prog_RANLIB"; then
7025 ac_ct_RANLIB=$RANLIB
7026 # Extract the first word of "ranlib
", so it can be a program name with args.
7027 set dummy ranlib; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7029 $as_echo_n "checking
for $ac_word...
" >&6; }
7030 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7031 $as_echo_n "(cached
) " >&6
7033 if test -n "$ac_ct_RANLIB"; then
7034 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7053 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7054 if test -n "$ac_ct_RANLIB"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7056 $as_echo "$ac_ct_RANLIB" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7059 $as_echo "no
" >&6; }
7062 if test "x
$ac_ct_RANLIB" = x; then
7065 case $cross_compiling:$ac_tool_warned in
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7068 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7069 ac_tool_warned=yes ;;
7071 RANLIB=$ac_ct_RANLIB
7074 RANLIB="$ac_cv_prog_RANLIB"
7077 test -z "$RANLIB" && RANLIB=:
7084 # Determine commands to create old-style static archives.
7085 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7086 old_postinstall_cmds='chmod 644 $oldlib'
7087 old_postuninstall_cmds=
7089 if test -n "$RANLIB"; then
7092 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7095 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7098 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7103 lock_old_archive_extraction=yes ;;
7105 lock_old_archive_extraction=no ;;
7146 # If no C compiler was specified, use CC.
7149 # If no C compiler flags were specified, use CFLAGS.
7150 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7152 # Allow CC to be a program name with arguments.
7156 # Check for command to grab the raw symbol name followed by C symbol from nm.
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7158 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7159 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7160 $as_echo_n "(cached
) " >&6
7163 # These are sane defaults that work on at least a few old systems.
7164 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7166 # Character class describing NM global symbol codes.
7167 symcode='[BCDEGRST]'
7169 # Regexp to match symbols that can be accessed directly from C.
7170 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7172 # Define system-specific variables.
7177 cygwin* | mingw* | pw32* | cegcc*)
7178 symcode='[ABCDGISTW]'
7181 if test ia64 = "$host_cpu"; then
7182 symcode='[ABCDEGRST]'
7186 symcode='[BCDEGRST]'
7189 symcode='[BCDEGQRST]'
7200 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7208 # If we're using GNU nm, then use its standard symbol codes.
7209 case `$NM -V 2>&1` in
7210 *GNU* | *'with BFD'*)
7211 symcode='[ABCDGIRSTW]' ;;
7214 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7215 # Gets list of data symbols to import.
7216 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7217 # Adjust the below global symbol transforms to fixup imported variables.
7218 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7219 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7220 lt_c_name_lib_hook="\
7221 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7222 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7224 # Disable hooks by default.
7225 lt_cv_sys_global_symbol_to_import=
7231 # Transform an extracted symbol line into a proper C declaration.
7232 # Some systems (esp. on ia64) link data and code symbols differently,
7233 # so use this general approach.
7234 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7236 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7237 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7239 # Transform an extracted symbol line into symbol name and symbol address
7240 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7242 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7243 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7245 # Transform an extracted symbol line into symbol name with lib prefix and
7247 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7248 $lt_c_name_lib_hook\
7249 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7250 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7251 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7253 # Handle CRLF in mingw tool chain
7257 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7261 # Try without a prefix underscore, then with it.
7262 for ac_symprfx in "" "_
"; do
7264 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7265 symxfrm="\\1 $ac_symprfx\\2 \\2"
7267 # Write the raw and C identifiers.
7268 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7269 # Fake it for dumpbin and say T for any non-static function,
7270 # D for any global variable and I for any imported variable.
7271 # Also find C++ and __fastcall symbols from MSVC++,
7272 # which start with @ or ?.
7273 lt_cv_sys_global_symbol_pipe="$AWK '"\
7274 " {last_section=section; section=\$ 3};"\
7275 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7276 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7277 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7278 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7279 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7280 " \$ 0!~/External *\|/{next};"\
7281 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7282 " {if(hide[section]) next};"\
7283 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7284 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7285 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7286 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7287 " ' prfx
=^
$ac_symprfx"
7289 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7291 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7293 # Check to see that the pipe works correctly.
7297 cat > conftest.$ac_ext <<_LT_EOF
7302 void nm_test_func(void);
7303 void nm_test_func(void){}
7307 int main(){nm_test_var='a';nm_test_func();return(0);}
7310 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311 (eval $ac_compile) 2>&5
7313 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7314 test $ac_status = 0; }; then
7315 # Now try to grab the symbols.
7317 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7318 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7320 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7321 test $ac_status = 0; } && test -s "$nlist"; then
7322 # Try sorting and uniquifying the output.
7323 if sort "$nlist" | uniq > "$nlist"T; then
7324 mv -f "$nlist"T "$nlist"
7329 # Make sure that we snagged all the symbols we need.
7330 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7331 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7332 cat <<_LT_EOF > conftest.$ac_ext
7333 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7334 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7335 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7336 relocations are performed -- see ld's documentation on pseudo-relocs. */
7337 # define LT_DLSYM_CONST
7338 #elif defined __osf__
7339 /* This system does not cope well with relocations in const data. */
7340 # define LT_DLSYM_CONST
7342 # define LT_DLSYM_CONST const
7350 # Now generate the symbol file.
7351 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7353 cat <<_LT_EOF >> conftest.$ac_ext
7355 /* The mapping between symbol names and symbols. */
7356 LT_DLSYM_CONST struct {
7360 lt__PROGRAM__LTX_preloaded_symbols[] =
7362 { "@PROGRAM@
", (void *) 0 },
7364 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7365 cat <<\_LT_EOF >> conftest.$ac_ext
7369 /* This works around a problem in FreeBSD linker */
7370 #ifdef FREEBSD_WORKAROUND
7371 static const void *lt_preloaded_setup() {
7372 return lt__PROGRAM__LTX_preloaded_symbols;
7380 # Now try linking the two files.
7381 mv conftest.$ac_objext conftstm.$ac_objext
7382 lt_globsym_save_LIBS=$LIBS
7383 lt_globsym_save_CFLAGS=$CFLAGS
7384 LIBS=conftstm.$ac_objext
7385 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7386 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7387 (eval $ac_link) 2>&5
7389 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7390 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7393 LIBS=$lt_globsym_save_LIBS
7394 CFLAGS=$lt_globsym_save_CFLAGS
7396 echo "cannot
find nm_test_func
in $nlist" >&5
7399 echo "cannot
find nm_test_var
in $nlist" >&5
7402 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7405 echo "$progname: failed program was
:" >&5
7406 cat conftest.$ac_ext >&5
7408 rm -rf conftest* conftst*
7410 # Do not use the global_symbol_pipe unless it works.
7411 if test yes = "$pipe_works"; then
7414 lt_cv_sys_global_symbol_pipe=
7420 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7421 lt_cv_sys_global_symbol_to_cdecl=
7423 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7425 $as_echo "failed
" >&6; }
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7428 $as_echo "ok
" >&6; }
7431 # Response file support.
7432 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7433 nm_file_list_spec='@'
7434 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7435 nm_file_list_spec='@'
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7475 $as_echo_n "checking
for sysroot...
" >&6; }
7477 # Check whether --with-sysroot was given.
7478 if test "${with_sysroot+set}" = set; then :
7479 withval=$with_sysroot;
7486 case $with_sysroot in #(
7488 if test yes = "$GCC"; then
7489 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7493 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7499 $as_echo "$with_sysroot" >&6; }
7500 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7505 $as_echo "${lt_sysroot:-no}" >&6; }
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7512 $as_echo_n "checking
for a working
dd...
" >&6; }
7513 if ${ac_cv_path_lt_DD+:} false; then :
7514 $as_echo_n "(cached
) " >&6
7516 printf 0123456789abcdef0123456789abcdef >conftest.i
7517 cat conftest.i conftest.i >conftest2.i
7519 if test -z "$lt_DD"; then
7520 ac_path_lt_DD_found=false
7521 # Loop through the user's path and test for each of PROGNAME-LIST
7522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7526 test -z "$as_dir" && as_dir=.
7527 for ac_prog in dd; do
7528 for ac_exec_ext in '' $ac_executable_extensions; do
7529 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7530 as_fn_executable_p "$ac_path_lt_DD" || continue
7531 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7532 cmp -s conftest.i conftest.out \
7533 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7535 $ac_path_lt_DD_found && break 3
7540 if test -z "$ac_cv_path_lt_DD"; then
7544 ac_cv_path_lt_DD=$lt_DD
7547 rm -f conftest.i conftest2.i conftest.out
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7550 $as_echo "$ac_cv_path_lt_DD" >&6; }
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7554 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7555 if ${lt_cv_truncate_bin+:} false; then :
7556 $as_echo_n "(cached
) " >&6
7558 printf 0123456789abcdef0123456789abcdef >conftest.i
7559 cat conftest.i conftest.i >conftest2.i
7561 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7562 cmp -s conftest.i conftest.out \
7563 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7565 rm -f conftest.i conftest2.i conftest.out
7566 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7569 $as_echo "$lt_cv_truncate_bin" >&6; }
7577 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7580 for cc_temp in $*""; do
7582 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7583 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7588 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7591 # Check whether --enable-libtool-lock was given.
7592 if test "${enable_libtool_lock+set}" = set; then :
7593 enableval=$enable_libtool_lock;
7596 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7598 # Some flags need to be propagated to the compiler or linker for good
7602 # Find out what ABI is being produced by ac_compile, and set mode
7603 # options accordingly.
7604 echo 'int i;' > conftest.$ac_ext
7605 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7606 (eval $ac_compile) 2>&5
7608 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7609 test $ac_status = 0; }; then
7610 case `/usr/bin/file conftest.$ac_objext` in
7622 # Find out what ABI is being produced by ac_compile, and set linker
7623 # options accordingly.
7624 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7625 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7626 (eval $ac_compile) 2>&5
7628 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7629 test $ac_status = 0; }; then
7630 if test yes = "$lt_cv_prog_gnu_ld"; then
7631 case `/usr/bin/file conftest.$ac_objext` in
7633 LD="${LD-ld} -melf32bsmip"
7636 LD="${LD-ld} -melf32bmipn32"
7639 LD="${LD-ld} -melf64bmip"
7643 case `/usr/bin/file conftest.$ac_objext` in
7660 # Find out what ABI is being produced by ac_compile, and set linker
7661 # options accordingly.
7662 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7663 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7664 (eval $ac_compile) 2>&5
7666 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7667 test $ac_status = 0; }; then
7669 case `/usr/bin/file conftest.$ac_objext` in
7677 case `/usr/bin/file conftest.$ac_objext` in
7679 emul="${emul}btsmip
"
7682 emul="${emul}ltsmip
"
7685 case `/usr/bin/file conftest.$ac_objext` in
7690 LD="${LD-ld} -m $emul"
7695 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7696 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7697 # Find out what ABI is being produced by ac_compile, and set linker
7698 # options accordingly. Note that the listed cases only cover the
7699 # situations where additional linker options are needed (such as when
7700 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7701 # vice versa); the common cases where no linker options are needed do
7702 # not appear in the list.
7703 echo 'int i;' > conftest.$ac_ext
7704 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7705 (eval $ac_compile) 2>&5
7707 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7708 test $ac_status = 0; }; then
7709 case `/usr/bin/file conftest.o` in
7712 x86_64-*kfreebsd*-gnu)
7713 LD="${LD-ld} -m elf_i386_fbsd
"
7716 case `/usr/bin/file conftest.o` in
7718 LD="${LD-ld} -m elf32_x86_64
"
7721 LD="${LD-ld} -m elf_i386
"
7725 powerpc64le-*linux*)
7726 LD="${LD-ld} -m elf32lppclinux
"
7729 LD="${LD-ld} -m elf32ppclinux
"
7732 LD="${LD-ld} -m elf_s390
"
7735 LD="${LD-ld} -m elf32_sparc
"
7741 x86_64-*kfreebsd*-gnu)
7742 LD="${LD-ld} -m elf_x86_64_fbsd
"
7745 LD="${LD-ld} -m elf_x86_64
"
7748 LD="${LD-ld} -m elf64lppc
"
7751 LD="${LD-ld} -m elf64ppc
"
7753 s390*-*linux*|s390*-*tpf*)
7754 LD="${LD-ld} -m elf64_s390
"
7757 LD="${LD-ld} -m elf64_sparc
"
7767 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7769 CFLAGS="$CFLAGS -belf"
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7771 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7772 if ${lt_cv_cc_needs_belf+:} false; then :
7773 $as_echo_n "(cached
) " >&6
7776 ac_cpp='$CPP $CPPFLAGS'
7777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7792 if ac_fn_c_try_link "$LINENO"; then :
7793 lt_cv_cc_needs_belf=yes
7795 lt_cv_cc_needs_belf=no
7797 rm -f core conftest.err conftest.$ac_objext \
7798 conftest$ac_exeext conftest.$ac_ext
7800 ac_cpp='$CPP $CPPFLAGS'
7801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7807 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7808 if test yes != "$lt_cv_cc_needs_belf"; then
7809 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7814 # Find out what ABI is being produced by ac_compile, and set linker
7815 # options accordingly.
7816 echo 'int i;' > conftest.$ac_ext
7817 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7818 (eval $ac_compile) 2>&5
7820 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7821 test $ac_status = 0; }; then
7822 case `/usr/bin/file conftest.o` in
7824 case $lt_cv_prog_gnu_ld in
7827 i?86-*-solaris*|x86_64-*-solaris*)
7828 LD="${LD-ld} -m elf_x86_64
"
7831 LD="${LD-ld} -m elf64_sparc
"
7834 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7835 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7840 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7852 need_locks=$enable_libtool_lock
7854 if test -n "$ac_tool_prefix"; then
7855 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7856 set dummy ${ac_tool_prefix}mt; ac_word=$2
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7858 $as_echo_n "checking
for $ac_word...
" >&6; }
7859 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7860 $as_echo_n "(cached
) " >&6
7862 if test -n "$MANIFEST_TOOL"; then
7863 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7872 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7882 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7883 if test -n "$MANIFEST_TOOL"; then
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7885 $as_echo "$MANIFEST_TOOL" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7888 $as_echo "no
" >&6; }
7893 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7894 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7895 # Extract the first word of "mt
", so it can be a program name with args.
7896 set dummy mt; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7898 $as_echo_n "checking
for $ac_word...
" >&6; }
7899 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7900 $as_echo_n "(cached
) " >&6
7902 if test -n "$ac_ct_MANIFEST_TOOL"; then
7903 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7922 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7923 if test -n "$ac_ct_MANIFEST_TOOL"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7925 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7928 $as_echo "no
" >&6; }
7931 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7934 case $cross_compiling:$ac_tool_warned in
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7937 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7938 ac_tool_warned=yes ;;
7940 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7943 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7946 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7948 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7949 if ${lt_cv_path_mainfest_tool+:} false; then :
7950 $as_echo_n "(cached
) " >&6
7952 lt_cv_path_mainfest_tool=no
7953 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7954 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7955 cat conftest.err >&5
7956 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7957 lt_cv_path_mainfest_tool=yes
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7962 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7963 if test yes != "$lt_cv_path_mainfest_tool"; then
7973 rhapsody* | darwin*)
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7978 $as_echo_n "checking
for $ac_word...
" >&6; }
7979 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7980 $as_echo_n "(cached
) " >&6
7982 if test -n "$DSYMUTIL"; then
7983 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8002 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8003 if test -n "$DSYMUTIL"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8005 $as_echo "$DSYMUTIL" >&6; }
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8008 $as_echo "no
" >&6; }
8013 if test -z "$ac_cv_prog_DSYMUTIL"; then
8014 ac_ct_DSYMUTIL=$DSYMUTIL
8015 # Extract the first word of "dsymutil
", so it can be a program name with args.
8016 set dummy dsymutil; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8018 $as_echo_n "checking
for $ac_word...
" >&6; }
8019 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8020 $as_echo_n "(cached
) " >&6
8022 if test -n "$ac_ct_DSYMUTIL"; then
8023 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8042 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8043 if test -n "$ac_ct_DSYMUTIL"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8045 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8048 $as_echo "no
" >&6; }
8051 if test "x
$ac_ct_DSYMUTIL" = x; then
8054 case $cross_compiling:$ac_tool_warned in
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8057 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8058 ac_tool_warned=yes ;;
8060 DSYMUTIL=$ac_ct_DSYMUTIL
8063 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8066 if test -n "$ac_tool_prefix"; then
8067 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8068 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8070 $as_echo_n "checking
for $ac_word...
" >&6; }
8071 if ${ac_cv_prog_NMEDIT+:} false; then :
8072 $as_echo_n "(cached
) " >&6
8074 if test -n "$NMEDIT"; then
8075 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8084 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8094 NMEDIT=$ac_cv_prog_NMEDIT
8095 if test -n "$NMEDIT"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8097 $as_echo "$NMEDIT" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8100 $as_echo "no
" >&6; }
8105 if test -z "$ac_cv_prog_NMEDIT"; then
8106 ac_ct_NMEDIT=$NMEDIT
8107 # Extract the first word of "nmedit
", so it can be a program name with args.
8108 set dummy nmedit; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8110 $as_echo_n "checking
for $ac_word...
" >&6; }
8111 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8112 $as_echo_n "(cached
) " >&6
8114 if test -n "$ac_ct_NMEDIT"; then
8115 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8134 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8135 if test -n "$ac_ct_NMEDIT"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8137 $as_echo "$ac_ct_NMEDIT" >&6; }
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8140 $as_echo "no
" >&6; }
8143 if test "x
$ac_ct_NMEDIT" = x; then
8146 case $cross_compiling:$ac_tool_warned in
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8149 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8150 ac_tool_warned=yes ;;
8152 NMEDIT=$ac_ct_NMEDIT
8155 NMEDIT="$ac_cv_prog_NMEDIT"
8158 if test -n "$ac_tool_prefix"; then
8159 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8160 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8162 $as_echo_n "checking
for $ac_word...
" >&6; }
8163 if ${ac_cv_prog_LIPO+:} false; then :
8164 $as_echo_n "(cached
) " >&6
8166 if test -n "$LIPO"; then
8167 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8173 test -z "$as_dir" && as_dir=.
8174 for ac_exec_ext in '' $ac_executable_extensions; do
8175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8176 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8177 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8186 LIPO=$ac_cv_prog_LIPO
8187 if test -n "$LIPO"; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8189 $as_echo "$LIPO" >&6; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8192 $as_echo "no
" >&6; }
8197 if test -z "$ac_cv_prog_LIPO"; then
8199 # Extract the first word of "lipo
", so it can be a program name with args.
8200 set dummy lipo; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8202 $as_echo_n "checking
for $ac_word...
" >&6; }
8203 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8204 $as_echo_n "(cached
) " >&6
8206 if test -n "$ac_ct_LIPO"; then
8207 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216 ac_cv_prog_ac_ct_LIPO="lipo
"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8226 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8227 if test -n "$ac_ct_LIPO"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8229 $as_echo "$ac_ct_LIPO" >&6; }
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8232 $as_echo "no
" >&6; }
8235 if test "x
$ac_ct_LIPO" = x; then
8238 case $cross_compiling:$ac_tool_warned in
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8241 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8242 ac_tool_warned=yes ;;
8247 LIPO="$ac_cv_prog_LIPO"
8250 if test -n "$ac_tool_prefix"; then
8251 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8252 set dummy ${ac_tool_prefix}otool; ac_word=$2
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8254 $as_echo_n "checking
for $ac_word...
" >&6; }
8255 if ${ac_cv_prog_OTOOL+:} false; then :
8256 $as_echo_n "(cached
) " >&6
8258 if test -n "$OTOOL"; then
8259 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8265 test -z "$as_dir" && as_dir=.
8266 for ac_exec_ext in '' $ac_executable_extensions; do
8267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8268 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8269 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8278 OTOOL=$ac_cv_prog_OTOOL
8279 if test -n "$OTOOL"; then
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8281 $as_echo "$OTOOL" >&6; }
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8284 $as_echo "no
" >&6; }
8289 if test -z "$ac_cv_prog_OTOOL"; then
8291 # Extract the first word of "otool
", so it can be a program name with args.
8292 set dummy otool; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8294 $as_echo_n "checking
for $ac_word...
" >&6; }
8295 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8296 $as_echo_n "(cached
) " >&6
8298 if test -n "$ac_ct_OTOOL"; then
8299 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308 ac_cv_prog_ac_ct_OTOOL="otool
"
8309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8318 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8319 if test -n "$ac_ct_OTOOL"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8321 $as_echo "$ac_ct_OTOOL" >&6; }
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8324 $as_echo "no
" >&6; }
8327 if test "x
$ac_ct_OTOOL" = x; then
8330 case $cross_compiling:$ac_tool_warned in
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8333 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8334 ac_tool_warned=yes ;;
8339 OTOOL="$ac_cv_prog_OTOOL"
8342 if test -n "$ac_tool_prefix"; then
8343 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8344 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8346 $as_echo_n "checking
for $ac_word...
" >&6; }
8347 if ${ac_cv_prog_OTOOL64+:} false; then :
8348 $as_echo_n "(cached
) " >&6
8350 if test -n "$OTOOL64"; then
8351 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8357 test -z "$as_dir" && as_dir=.
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8360 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8361 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8370 OTOOL64=$ac_cv_prog_OTOOL64
8371 if test -n "$OTOOL64"; then
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8373 $as_echo "$OTOOL64" >&6; }
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8376 $as_echo "no
" >&6; }
8381 if test -z "$ac_cv_prog_OTOOL64"; then
8382 ac_ct_OTOOL64=$OTOOL64
8383 # Extract the first word of "otool64
", so it can be a program name with args.
8384 set dummy otool64; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8386 $as_echo_n "checking
for $ac_word...
" >&6; }
8387 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8388 $as_echo_n "(cached
) " >&6
8390 if test -n "$ac_ct_OTOOL64"; then
8391 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8400 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8410 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8411 if test -n "$ac_ct_OTOOL64"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8413 $as_echo "$ac_ct_OTOOL64" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8416 $as_echo "no
" >&6; }
8419 if test "x
$ac_ct_OTOOL64" = x; then
8422 case $cross_compiling:$ac_tool_warned in
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8425 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8426 ac_tool_warned=yes ;;
8428 OTOOL64=$ac_ct_OTOOL64
8431 OTOOL64="$ac_cv_prog_OTOOL64"
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8461 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8462 if ${lt_cv_apple_cc_single_mod+:} false; then :
8463 $as_echo_n "(cached
) " >&6
8465 lt_cv_apple_cc_single_mod=no
8466 if test -z "$LT_MULTI_MODULE"; then
8467 # By default we will add the -single_module flag. You can override
8468 # by either setting the environment variable LT_MULTI_MODULE
8469 # non-empty at configure time, or by adding -multi_module to the
8471 rm -rf libconftest.dylib*
8472 echo "int foo
(void
){return 1;}" > conftest.c
8473 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8474 -dynamiclib -Wl,-single_module conftest.c
" >&5
8475 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8476 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8478 # If there is a non-empty error log, and "single_module
"
8479 # appears in it, assume the flag caused a linker warning
8480 if test -s conftest.err && $GREP single_module conftest.err; then
8481 cat conftest.err >&5
8482 # Otherwise, if the output was created with a 0 exit code from
8483 # the compiler, it worked.
8484 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8485 lt_cv_apple_cc_single_mod=yes
8487 cat conftest.err >&5
8489 rm -rf libconftest.dylib*
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8494 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8497 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8498 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8499 $as_echo_n "(cached
) " >&6
8501 lt_cv_ld_exported_symbols_list=no
8502 save_LDFLAGS=$LDFLAGS
8503 echo "_main
" > conftest.sym
8504 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8516 if ac_fn_c_try_link "$LINENO"; then :
8517 lt_cv_ld_exported_symbols_list=yes
8519 lt_cv_ld_exported_symbols_list=no
8521 rm -f core conftest.err conftest.$ac_objext \
8522 conftest$ac_exeext conftest.$ac_ext
8523 LDFLAGS=$save_LDFLAGS
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8527 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8530 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8531 if ${lt_cv_ld_force_load+:} false; then :
8532 $as_echo_n "(cached
) " >&6
8534 lt_cv_ld_force_load=no
8535 cat > conftest.c << _LT_EOF
8536 int forced_loaded() { return 2;}
8538 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8539 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8540 echo "$AR cru libconftest.a conftest.o
" >&5
8541 $AR cru libconftest.a conftest.o 2>&5
8542 echo "$RANLIB libconftest.a
" >&5
8543 $RANLIB libconftest.a 2>&5
8544 cat > conftest.c << _LT_EOF
8545 int main() { return 0;}
8547 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8548 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8550 if test -s conftest.err && $GREP force_load conftest.err; then
8551 cat conftest.err >&5
8552 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8553 lt_cv_ld_force_load=yes
8555 cat conftest.err >&5
8557 rm -f conftest.err libconftest.a conftest conftest.c
8558 rm -rf conftest.dSYM
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8562 $as_echo "$lt_cv_ld_force_load" >&6; }
8564 rhapsody* | darwin1.[012])
8565 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8567 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8568 darwin*) # darwin 5.x on
8569 # if running on 10.5 or later, the deployment target defaults
8570 # to the OS version, if on x86, and 10.4, the deployment
8571 # target defaults to 10.4. Don't you love it?
8572 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8573 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8574 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8576 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8578 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8582 if test yes = "$lt_cv_apple_cc_single_mod"; then
8583 _lt_dar_single_mod='$single_module'
8585 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8586 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8588 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8590 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8591 _lt_dsymutil='~$DSYMUTIL $lib || :'
8598 # func_munge_path_list VARIABLE PATH
8599 # -----------------------------------
8600 # VARIABLE is name of variable containing _space_ separated list of
8601 # directories to be munged by the contents of PATH, which is string
8604 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8606 # string "DIR
[ DIR
]" will be appended to VARIABLE
8607 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8608 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8609 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8611 # VARIABLE will be replaced by "DIR
[ DIR
]"
8612 func_munge_path_list ()
8618 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8621 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8624 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8625 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8628 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8634 ac_cpp='$CPP $CPPFLAGS'
8635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8639 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8640 # On Suns, sometimes $CPP names a directory.
8641 if test -n "$CPP" && test -d "$CPP"; then
8644 if test -z "$CPP"; then
8645 if ${ac_cv_prog_CPP+:} false; then :
8646 $as_echo_n "(cached
) " >&6
8648 # Double quotes because CPP needs to be expanded
8649 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8652 for ac_c_preproc_warn_flag in '' yes
8654 # Use a header file that comes with gcc, so configuring glibc
8655 # with a fresh cross-compiler works.
8656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8657 # <limits.h> exists even on freestanding compilers.
8658 # On the NeXT, cc -E runs the code through the compiler's parser,
8659 # not just through cpp. "Syntax error
" is here to catch this case.
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8663 # include <limits.h>
8665 # include <assert.h>
8669 if ac_fn_c_try_cpp "$LINENO"; then :
8672 # Broken: fails on valid input.
8675 rm -f conftest.err conftest.i conftest.$ac_ext
8677 # OK, works on sane cases. Now check whether nonexistent headers
8678 # can be detected and how.
8679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8680 /* end confdefs.h. */
8681 #include <ac_nonexistent.h>
8683 if ac_fn_c_try_cpp "$LINENO"; then :
8684 # Broken: success on invalid input.
8687 # Passes both tests.
8691 rm -f conftest.err conftest.i conftest.$ac_ext
8694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8695 rm -f conftest.i conftest.err conftest.$ac_ext
8696 if $ac_preproc_ok; then :
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8709 $as_echo "$CPP" >&6; }
8711 for ac_c_preproc_warn_flag in '' yes
8713 # Use a header file that comes with gcc, so configuring glibc
8714 # with a fresh cross-compiler works.
8715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8716 # <limits.h> exists even on freestanding compilers.
8717 # On the NeXT, cc -E runs the code through the compiler's parser,
8718 # not just through cpp. "Syntax error
" is here to catch this case.
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8722 # include <limits.h>
8724 # include <assert.h>
8728 if ac_fn_c_try_cpp "$LINENO"; then :
8731 # Broken: fails on valid input.
8734 rm -f conftest.err conftest.i conftest.$ac_ext
8736 # OK, works on sane cases. Now check whether nonexistent headers
8737 # can be detected and how.
8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8740 #include <ac_nonexistent.h>
8742 if ac_fn_c_try_cpp "$LINENO"; then :
8743 # Broken: success on invalid input.
8746 # Passes both tests.
8750 rm -f conftest.err conftest.i conftest.$ac_ext
8753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8754 rm -f conftest.i conftest.err conftest.$ac_ext
8755 if $ac_preproc_ok; then :
8758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8760 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8761 See \`config.log' for more details
" "$LINENO" 5; }
8765 ac_cpp='$CPP $CPPFLAGS'
8766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8772 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8773 if ${ac_cv_header_stdc+:} false; then :
8774 $as_echo_n "(cached
) " >&6
8776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8777 /* end confdefs.h. */
8791 if ac_fn_c_try_compile "$LINENO"; then :
8792 ac_cv_header_stdc=yes
8794 ac_cv_header_stdc=no
8796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8798 if test $ac_cv_header_stdc = yes; then
8799 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8805 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8806 $EGREP "memchr
" >/dev/null 2>&1; then :
8809 ac_cv_header_stdc=no
8815 if test $ac_cv_header_stdc = yes; then
8816 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8822 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8823 $EGREP "free
" >/dev/null 2>&1; then :
8826 ac_cv_header_stdc=no
8832 if test $ac_cv_header_stdc = yes; then
8833 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8834 if test "$cross_compiling" = yes; then :
8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8838 /* end confdefs.h. */
8841 #if ((' ' & 0x0FF) == 0x020)
8842 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8843 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8845 # define ISLOWER(c) \
8846 (('a' <= (c) && (c) <= 'i') \
8847 || ('j' <= (c) && (c) <= 'r') \
8848 || ('s' <= (c) && (c) <= 'z'))
8849 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8852 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8857 for (i = 0; i < 256; i++)
8858 if (XOR (islower (i), ISLOWER (i))
8859 || toupper (i) != TOUPPER (i))
8864 if ac_fn_c_try_run "$LINENO"; then :
8867 ac_cv_header_stdc=no
8869 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8870 conftest.$ac_objext conftest.beam conftest.$ac_ext
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8876 $as_echo "$ac_cv_header_stdc" >&6; }
8877 if test $ac_cv_header_stdc = yes; then
8879 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8883 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8884 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8885 inttypes.h stdint.h unistd.h
8887 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8888 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8890 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8891 cat >>confdefs.h
<<_ACEOF
8892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8900 for ac_header
in dlfcn.h
8902 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8904 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8905 cat >>confdefs.h
<<_ACEOF
8906 #define HAVE_DLFCN_H 1
8916 func_stripname_cnf
()
8919 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8920 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8922 } # func_stripname_cnf
8929 # Check whether --enable-static was given.
8930 if test "${enable_static+set}" = set; then :
8931 enableval
=$enable_static; p
=${PACKAGE-default}
8933 yes) enable_static
=yes ;;
8934 no
) enable_static
=no
;;
8937 # Look at the argument we got. We use all the common list separators.
8938 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8939 for pkg
in $enableval; do
8941 if test "X$pkg" = "X$p"; then
8967 # Check whether --enable-shared was given.
8968 if test "${enable_shared+set}" = set; then :
8969 enableval
=$enable_shared; p
=${PACKAGE-default}
8971 yes) enable_shared
=yes ;;
8972 no
) enable_shared
=no
;;
8975 # Look at the argument we got. We use all the common list separators.
8976 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8977 for pkg
in $enableval; do
8979 if test "X$pkg" = "X$p"; then
9000 # Check whether --with-pic was given.
9001 if test "${with_pic+set}" = set; then :
9002 withval
=$with_pic; lt_p
=${PACKAGE-default}
9004 yes|no
) pic_mode
=$withval ;;
9007 # Look at the argument we got. We use all the common list separators.
9008 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9009 for lt_pkg
in $withval; do
9011 if test "X$lt_pkg" = "X$lt_p"; then
9029 # Check whether --enable-fast-install was given.
9030 if test "${enable_fast_install+set}" = set; then :
9031 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9033 yes) enable_fast_install
=yes ;;
9034 no
) enable_fast_install
=no
;;
9036 enable_fast_install
=no
9037 # Look at the argument we got. We use all the common list separators.
9038 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9039 for pkg
in $enableval; do
9041 if test "X$pkg" = "X$p"; then
9042 enable_fast_install
=yes
9049 enable_fast_install
=yes
9059 shared_archive_member_spec
=
9060 case $host,$enable_shared in
9061 power
*-*-aix[5-9]*,yes)
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9063 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9065 # Check whether --with-aix-soname was given.
9066 if test "${with_aix_soname+set}" = set; then :
9067 withval
=$with_aix_soname; case $withval in
9071 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9074 lt_cv_with_aix_soname
=$with_aix_soname
9076 if ${lt_cv_with_aix_soname+:} false
; then :
9077 $as_echo_n "(cached) " >&6
9079 lt_cv_with_aix_soname
=aix
9082 with_aix_soname
=$lt_cv_with_aix_soname
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9086 $as_echo "$with_aix_soname" >&6; }
9087 if test aix
!= "$with_aix_soname"; then
9088 # For the AIX way of multilib, we name the shared archive member
9089 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9090 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9091 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9092 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9093 if test 64 = "${OBJECT_MODE-32}"; then
9094 shared_archive_member_spec
=shr_64
9096 shared_archive_member_spec
=shr
9114 # This can be used to rebuild libtool when needed
9115 LIBTOOL_DEPS
=$ltmain
9117 # Always use our own libtool.
9118 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9149 test -z "$LN_S" && LN_S
="ln -s"
9164 if test -n "${ZSH_VERSION+set}"; then
9165 setopt NO_GLOB_SUBST
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9169 $as_echo_n "checking for objdir... " >&6; }
9170 if ${lt_cv_objdir+:} false
; then :
9171 $as_echo_n "(cached) " >&6
9173 rm -f .libs
2>/dev
/null
9174 mkdir .libs
2>/dev
/null
9175 if test -d .libs
; then
9178 # MS-DOS does not allow filenames that begin with a dot.
9181 rmdir .libs
2>/dev
/null
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9184 $as_echo "$lt_cv_objdir" >&6; }
9185 objdir
=$lt_cv_objdir
9191 cat >>confdefs.h
<<_ACEOF
9192 #define LT_OBJDIR "$lt_cv_objdir/"
9200 # AIX sometimes has problems with the GCC collect2 program. For some
9201 # reason, if we set the COLLECT_NAMES environment variable, the problems
9202 # vanish in a puff of smoke.
9203 if test set != "${COLLECT_NAMES+set}"; then
9205 export COLLECT_NAMES
9212 can_build_shared
=yes
9214 # All known linkers require a '.a' archive for static linking (except MSVC,
9215 # which needs '.lib').
9218 with_gnu_ld
=$lt_cv_prog_gnu_ld
9223 # Set sane defaults for various variables
9224 test -z "$CC" && CC
=cc
9225 test -z "$LTCC" && LTCC
=$CC
9226 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9227 test -z "$LD" && LD
=ld
9228 test -z "$ac_objext" && ac_objext
=o
9230 func_cc_basename
$compiler
9231 cc_basename
=$func_cc_basename_result
9234 # Only perform the check for file, if the check method requires it
9235 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9236 case $deplibs_check_method in
9238 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9240 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9241 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9242 $as_echo_n "(cached) " >&6
9246 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9249 lt_save_MAGIC_CMD
=$MAGIC_CMD
9250 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9251 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9252 for ac_dir
in $ac_dummy; do
9254 test -z "$ac_dir" && ac_dir
=.
9255 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9256 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9257 if test -n "$file_magic_test_file"; then
9258 case $deplibs_check_method in
9260 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9261 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9262 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9263 $EGREP "$file_magic_regex" > /dev
/null
; then
9268 *** Warning: the command libtool uses to detect shared libraries,
9269 *** $file_magic_cmd, produces output that libtool cannot recognize.
9270 *** The result is that libtool may fail to recognize shared libraries
9271 *** as such. This will affect the creation of libtool libraries that
9272 *** depend on shared libraries, but programs linked with such libtool
9273 *** libraries will work regardless of this problem. Nevertheless, you
9274 *** may want to report the problem to your system manager and/or to
9275 *** bug-libtool@gnu.org
9285 MAGIC_CMD
=$lt_save_MAGIC_CMD
9290 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9291 if test -n "$MAGIC_CMD"; then
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9293 $as_echo "$MAGIC_CMD" >&6; }
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9296 $as_echo "no" >&6; }
9303 if test -z "$lt_cv_path_MAGIC_CMD"; then
9304 if test -n "$ac_tool_prefix"; then
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9306 $as_echo_n "checking for file... " >&6; }
9307 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9308 $as_echo_n "(cached) " >&6
9312 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9315 lt_save_MAGIC_CMD
=$MAGIC_CMD
9316 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9317 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9318 for ac_dir
in $ac_dummy; do
9320 test -z "$ac_dir" && ac_dir
=.
9321 if test -f "$ac_dir/file"; then
9322 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9323 if test -n "$file_magic_test_file"; then
9324 case $deplibs_check_method in
9326 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9327 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9328 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9329 $EGREP "$file_magic_regex" > /dev
/null
; then
9334 *** Warning: the command libtool uses to detect shared libraries,
9335 *** $file_magic_cmd, produces output that libtool cannot recognize.
9336 *** The result is that libtool may fail to recognize shared libraries
9337 *** as such. This will affect the creation of libtool libraries that
9338 *** depend on shared libraries, but programs linked with such libtool
9339 *** libraries will work regardless of this problem. Nevertheless, you
9340 *** may want to report the problem to your system manager and/or to
9341 *** bug-libtool@gnu.org
9351 MAGIC_CMD
=$lt_save_MAGIC_CMD
9356 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9357 if test -n "$MAGIC_CMD"; then
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9359 $as_echo "$MAGIC_CMD" >&6; }
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9362 $as_echo "no" >&6; }
9375 # Use C for the default configuration in the libtool script
9379 ac_cpp
='$CPP $CPPFLAGS'
9380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9385 # Source file extension for C test sources.
9388 # Object file extension for compiled C test sources.
9392 # Code to be used in simple compile tests
9393 lt_simple_compile_test_code
="int some_variable = 0;"
9395 # Code to be used in simple link tests
9396 lt_simple_link_test_code
='int main(){return(0);}'
9404 # If no C compiler was specified, use CC.
9407 # If no C compiler flags were specified, use CFLAGS.
9408 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9410 # Allow CC to be a program name with arguments.
9413 # Save the default compiler, since it gets overwritten when the other
9414 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9415 compiler_DEFAULT
=$CC
9417 # save warnings/boilerplate of simple test code
9418 ac_outfile
=conftest.
$ac_objext
9419 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9420 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9421 _lt_compiler_boilerplate
=`cat conftest.err`
9424 ac_outfile
=conftest.
$ac_objext
9425 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9426 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9427 _lt_linker_boilerplate
=`cat conftest.err`
9432 ## There is no encapsulation within the following macros, do not change
9433 ## the running order or otherwise move them around unless you know exactly
9434 ## what you are doing...
9435 if test -n "$compiler"; then
9437 lt_prog_compiler_no_builtin_flag
=
9439 if test yes = "$GCC"; then
9440 case $cc_basename in
9442 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9444 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9448 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9449 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9450 $as_echo_n "(cached) " >&6
9452 lt_cv_prog_compiler_rtti_exceptions
=no
9453 ac_outfile
=conftest.
$ac_objext
9454 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9455 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9456 # Insert the option either (1) after the last *FLAGS variable, or
9457 # (2) before a word containing "conftest.", or (3) at the end.
9458 # Note that $ac_compile itself does not contain backslashes and begins
9459 # with a dollar sign (not a hyphen), so the echo should work correctly.
9460 # The option is referenced via a variable to avoid confusing sed.
9461 lt_compile
=`echo "$ac_compile" | $SED \
9462 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9463 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9464 -e 's:$: $lt_compiler_flag:'`
9465 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9466 (eval "$lt_compile" 2>conftest.err
)
9468 cat conftest.err
>&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 if (exit $ac_status) && test -s "$ac_outfile"; then
9471 # The compiler can only warn and ignore the option if not recognized
9472 # So say no if there are warnings other than the usual output.
9473 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9474 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9475 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9476 lt_cv_prog_compiler_rtti_exceptions
=yes
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9483 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9485 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9486 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9498 lt_prog_compiler_wl
=
9499 lt_prog_compiler_pic
=
9500 lt_prog_compiler_static
=
9503 if test yes = "$GCC"; then
9504 lt_prog_compiler_wl
='-Wl,'
9505 lt_prog_compiler_static
='-static'
9509 # All AIX code is PIC.
9510 if test ia64
= "$host_cpu"; then
9511 # AIX 5 now supports IA64 processor
9512 lt_prog_compiler_static
='-Bstatic'
9514 lt_prog_compiler_pic
='-fPIC'
9520 # see comment about AmigaOS4 .so support
9521 lt_prog_compiler_pic
='-fPIC'
9524 # FIXME: we need at least 68020 code to build shared libraries, but
9525 # adding the '-m68020' flag to GCC prevents building anything better,
9527 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9532 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9533 # PIC is the default for these OSes.
9536 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9537 # This hack is so that the source file can tell whether it is being
9538 # built for inclusion in a dll (and should export symbols for example).
9539 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9540 # (--disable-auto-import) libraries
9541 lt_prog_compiler_pic
='-DDLL_EXPORT'
9544 lt_prog_compiler_static
='$wl-static'
9549 darwin
* | rhapsody
*)
9550 # PIC is the default on this platform
9551 # Common symbols not allowed in MH_DYLIB files
9552 lt_prog_compiler_pic
='-fno-common'
9556 # PIC is the default for Haiku.
9557 # The "-static" flag exists, but is broken.
9558 lt_prog_compiler_static
=
9562 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9563 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9564 # sets the default TLS model and affects inlining.
9570 lt_prog_compiler_pic
='-fPIC'
9576 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9577 # Instead, we relocate shared libraries at runtime.
9581 # Just because we use GCC doesn't mean we suddenly get shared libraries
9582 # on systems that don't support them.
9583 lt_prog_compiler_can_build_shared
=no
9588 # QNX uses GNU C++, but need to define -shared option too, otherwise
9590 lt_prog_compiler_pic
='-fPIC -shared'
9594 if test -d /usr
/nec
; then
9595 lt_prog_compiler_pic
=-Kconform_pic
9600 lt_prog_compiler_pic
='-fPIC'
9604 case $cc_basename in
9605 nvcc
*) # Cuda Compiler Driver 2.2
9606 lt_prog_compiler_wl
='-Xlinker '
9607 if test -n "$lt_prog_compiler_pic"; then
9608 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9613 # PORTME Check for flag to pass linker flags through the system compiler.
9616 lt_prog_compiler_wl
='-Wl,'
9617 if test ia64
= "$host_cpu"; then
9618 # AIX 5 now supports IA64 processor
9619 lt_prog_compiler_static
='-Bstatic'
9621 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9625 darwin
* | rhapsody
*)
9626 # PIC is the default on this platform
9627 # Common symbols not allowed in MH_DYLIB files
9628 lt_prog_compiler_pic
='-fno-common'
9629 case $cc_basename in
9631 # NAG Fortran compiler
9632 lt_prog_compiler_wl
='-Wl,-Wl,,'
9633 lt_prog_compiler_pic
='-PIC'
9634 lt_prog_compiler_static
='-Bstatic'
9639 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9640 # This hack is so that the source file can tell whether it is being
9641 # built for inclusion in a dll (and should export symbols for example).
9642 lt_prog_compiler_pic
='-DDLL_EXPORT'
9645 lt_prog_compiler_static
='$wl-static'
9650 hpux9
* | hpux10
* | hpux11
*)
9651 lt_prog_compiler_wl
='-Wl,'
9652 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9659 lt_prog_compiler_pic
='+Z'
9662 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9663 lt_prog_compiler_static
='$wl-a ${wl}archive'
9666 irix5
* | irix6
* | nonstopux
*)
9667 lt_prog_compiler_wl
='-Wl,'
9668 # PIC (with -KPIC) is the default.
9669 lt_prog_compiler_static
='-non_shared'
9672 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9673 case $cc_basename in
9674 # old Intel for x86_64, which still supported -KPIC.
9676 lt_prog_compiler_wl
='-Wl,'
9677 lt_prog_compiler_pic
='-KPIC'
9678 lt_prog_compiler_static
='-static'
9680 # icc used to be incompatible with GCC.
9681 # ICC 10 doesn't accept -KPIC any more.
9683 lt_prog_compiler_wl
='-Wl,'
9684 lt_prog_compiler_pic
='-fPIC'
9685 lt_prog_compiler_static
='-static'
9687 # Lahey Fortran 8.1.
9689 lt_prog_compiler_wl
='-Wl,'
9690 lt_prog_compiler_pic
='--shared'
9691 lt_prog_compiler_static
='--static'
9694 # NAG Fortran compiler
9695 lt_prog_compiler_wl
='-Wl,-Wl,,'
9696 lt_prog_compiler_pic
='-PIC'
9697 lt_prog_compiler_static
='-Bstatic'
9700 # Fabrice Bellard et al's Tiny C Compiler
9701 lt_prog_compiler_wl
='-Wl,'
9702 lt_prog_compiler_pic
='-fPIC'
9703 lt_prog_compiler_static
='-static'
9705 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9706 # Portland Group compilers (*not* the Pentium gcc compiler,
9707 # which looks to be a dead project)
9708 lt_prog_compiler_wl
='-Wl,'
9709 lt_prog_compiler_pic
='-fpic'
9710 lt_prog_compiler_static
='-Bstatic'
9713 lt_prog_compiler_wl
='-Wl,'
9714 # All Alpha code is PIC.
9715 lt_prog_compiler_static
='-non_shared'
9717 xl
* | bgxl
* | bgf
* | mpixl
*)
9718 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9719 lt_prog_compiler_wl
='-Wl,'
9720 lt_prog_compiler_pic
='-qpic'
9721 lt_prog_compiler_static
='-qstaticlink'
9724 case `$CC -V 2>&1 | sed 5q` in
9725 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9726 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9727 lt_prog_compiler_pic
='-KPIC'
9728 lt_prog_compiler_static
='-Bstatic'
9729 lt_prog_compiler_wl
=''
9731 *Sun\ F
* | *Sun
*Fortran
*)
9732 lt_prog_compiler_pic
='-KPIC'
9733 lt_prog_compiler_static
='-Bstatic'
9734 lt_prog_compiler_wl
='-Qoption ld '
9738 lt_prog_compiler_pic
='-KPIC'
9739 lt_prog_compiler_static
='-Bstatic'
9740 lt_prog_compiler_wl
='-Wl,'
9742 *Intel
*\
[CF
]*Compiler
*)
9743 lt_prog_compiler_wl
='-Wl,'
9744 lt_prog_compiler_pic
='-fPIC'
9745 lt_prog_compiler_static
='-static'
9748 lt_prog_compiler_wl
='-Wl,'
9749 lt_prog_compiler_pic
='-fpic'
9750 lt_prog_compiler_static
='-Bstatic'
9758 lt_prog_compiler_pic
='-KPIC'
9759 lt_prog_compiler_static
='-Bstatic'
9763 # QNX uses GNU C++, but need to define -shared option too, otherwise
9765 lt_prog_compiler_pic
='-fPIC -shared'
9768 osf3
* | osf4
* | osf5
*)
9769 lt_prog_compiler_wl
='-Wl,'
9770 # All OSF/1 code is PIC.
9771 lt_prog_compiler_static
='-non_shared'
9775 lt_prog_compiler_static
='-non_shared'
9779 lt_prog_compiler_pic
='-KPIC'
9780 lt_prog_compiler_static
='-Bstatic'
9781 case $cc_basename in
9782 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9783 lt_prog_compiler_wl
='-Qoption ld ';;
9785 lt_prog_compiler_wl
='-Wl,';;
9790 lt_prog_compiler_wl
='-Qoption ld '
9791 lt_prog_compiler_pic
='-PIC'
9792 lt_prog_compiler_static
='-Bstatic'
9795 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9796 lt_prog_compiler_wl
='-Wl,'
9797 lt_prog_compiler_pic
='-KPIC'
9798 lt_prog_compiler_static
='-Bstatic'
9802 if test -d /usr
/nec
; then
9803 lt_prog_compiler_pic
='-Kconform_pic'
9804 lt_prog_compiler_static
='-Bstatic'
9808 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9809 lt_prog_compiler_wl
='-Wl,'
9810 lt_prog_compiler_pic
='-KPIC'
9811 lt_prog_compiler_static
='-Bstatic'
9815 lt_prog_compiler_wl
='-Wl,'
9816 lt_prog_compiler_can_build_shared
=no
9820 lt_prog_compiler_pic
='-pic'
9821 lt_prog_compiler_static
='-Bstatic'
9825 lt_prog_compiler_can_build_shared
=no
9831 # For platforms that do not support PIC, -DPIC is meaningless:
9833 lt_prog_compiler_pic
=
9836 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9841 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9842 if ${lt_cv_prog_compiler_pic+:} false
; then :
9843 $as_echo_n "(cached) " >&6
9845 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9848 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9849 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9852 # Check to make sure the PIC flag actually works.
9854 if test -n "$lt_prog_compiler_pic"; then
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9856 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9857 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9858 $as_echo_n "(cached) " >&6
9860 lt_cv_prog_compiler_pic_works
=no
9861 ac_outfile
=conftest.
$ac_objext
9862 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9863 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9864 # Insert the option either (1) after the last *FLAGS variable, or
9865 # (2) before a word containing "conftest.", or (3) at the end.
9866 # Note that $ac_compile itself does not contain backslashes and begins
9867 # with a dollar sign (not a hyphen), so the echo should work correctly.
9868 # The option is referenced via a variable to avoid confusing sed.
9869 lt_compile
=`echo "$ac_compile" | $SED \
9870 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9871 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9872 -e 's:$: $lt_compiler_flag:'`
9873 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9874 (eval "$lt_compile" 2>conftest.err
)
9876 cat conftest.err
>&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 if (exit $ac_status) && test -s "$ac_outfile"; then
9879 # The compiler can only warn and ignore the option if not recognized
9880 # So say no if there are warnings other than the usual output.
9881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9882 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9883 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9884 lt_cv_prog_compiler_pic_works
=yes
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9891 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9893 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9894 case $lt_prog_compiler_pic in
9896 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9899 lt_prog_compiler_pic
=
9900 lt_prog_compiler_can_build_shared
=no
9916 # Check to make sure the static flag actually works.
9918 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9920 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9921 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9922 $as_echo_n "(cached) " >&6
9924 lt_cv_prog_compiler_static_works
=no
9925 save_LDFLAGS
=$LDFLAGS
9926 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9927 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9928 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9929 # The linker can only warn and ignore the option if not recognized
9930 # So say no if there are warnings
9931 if test -s conftest.err
; then
9932 # Append any errors to the config.log.
9933 cat conftest.err
1>&5
9934 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9935 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9936 if diff conftest.exp conftest.er2
>/dev
/null
; then
9937 lt_cv_prog_compiler_static_works
=yes
9940 lt_cv_prog_compiler_static_works
=yes
9944 LDFLAGS
=$save_LDFLAGS
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9948 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9950 if test yes = "$lt_cv_prog_compiler_static_works"; then
9953 lt_prog_compiler_static
=
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9963 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9964 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9965 $as_echo_n "(cached) " >&6
9967 lt_cv_prog_compiler_c_o
=no
9968 $RM -r conftest
2>/dev
/null
9972 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9974 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9975 # Insert the option either (1) after the last *FLAGS variable, or
9976 # (2) before a word containing "conftest.", or (3) at the end.
9977 # Note that $ac_compile itself does not contain backslashes and begins
9978 # with a dollar sign (not a hyphen), so the echo should work correctly.
9979 lt_compile
=`echo "$ac_compile" | $SED \
9980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9982 -e 's:$: $lt_compiler_flag:'`
9983 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9984 (eval "$lt_compile" 2>out
/conftest.err
)
9986 cat out
/conftest.err
>&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9990 # The compiler can only warn and ignore the option if not recognized
9991 # So say no if there are warnings
9992 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9993 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9994 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9995 lt_cv_prog_compiler_c_o
=yes
10000 # SGI C++ compiler will create directory out/ii_files/ for
10001 # template instantiation
10002 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10003 $RM out
/* && rmdir out
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10010 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10018 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10019 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10020 $as_echo_n "(cached) " >&6
10022 lt_cv_prog_compiler_c_o
=no
10023 $RM -r conftest
2>/dev
/null
10027 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10029 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10030 # Insert the option either (1) after the last *FLAGS variable, or
10031 # (2) before a word containing "conftest.", or (3) at the end.
10032 # Note that $ac_compile itself does not contain backslashes and begins
10033 # with a dollar sign (not a hyphen), so the echo should work correctly.
10034 lt_compile
=`echo "$ac_compile" | $SED \
10035 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10036 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10037 -e 's:$: $lt_compiler_flag:'`
10038 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10039 (eval "$lt_compile" 2>out
/conftest.err
)
10041 cat out
/conftest.err
>&5
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10045 # The compiler can only warn and ignore the option if not recognized
10046 # So say no if there are warnings
10047 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10048 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10049 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10050 lt_cv_prog_compiler_c_o
=yes
10055 # SGI C++ compiler will create directory out/ii_files/ for
10056 # template instantiation
10057 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10058 $RM out
/* && rmdir out
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10065 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10070 hard_links
=nottested
10071 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10072 # do not overwrite the value of need_locks provided by the user
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10074 $as_echo_n "checking if we can lock with hard links... " >&6; }
10077 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10079 ln conftest.a conftest.b
2>&5 || hard_links
=no
10080 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10082 $as_echo "$hard_links" >&6; }
10083 if test no
= "$hard_links"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10085 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10098 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10101 allow_undefined_flag
=
10102 always_export_symbols
=no
10104 archive_expsym_cmds
=
10105 compiler_needs_object
=no
10106 enable_shared_with_static_runtimes
=no
10107 export_dynamic_flag_spec
=
10108 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10109 hardcode_automatic
=no
10111 hardcode_direct_absolute
=no
10112 hardcode_libdir_flag_spec
=
10113 hardcode_libdir_separator
=
10114 hardcode_minus_L
=no
10115 hardcode_shlibpath_var
=unsupported
10117 link_all_deplibs
=unknown
10119 module_expsym_cmds
=
10120 old_archive_from_new_cmds
=
10121 old_archive_from_expsyms_cmds
=
10122 thread_safe_flag_spec
=
10123 whole_archive_flag_spec
=
10124 # include_expsyms should be a list of space-separated symbols to be *always*
10125 # included in the symbol list
10127 # exclude_expsyms can be an extended regexp of symbols to exclude
10128 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10129 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10130 # as well as any symbol that contains 'd'.
10131 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10132 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10133 # platforms (ab)use it in PIC code, but their linkers get confused if
10134 # the symbol is explicitly referenced. Since portable code cannot
10135 # rely on this symbol name, it's probably fine to never include it in
10136 # preloaded symbol tables.
10137 # Exclude shared library initialization/finalization symbols.
10138 extract_expsyms_cmds
=
10141 cygwin
* | mingw
* | pw32
* | cegcc
*)
10142 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10143 # When not using gcc, we currently assume that we are using
10144 # Microsoft Visual C++.
10145 if test yes != "$GCC"; then
10150 # we just hope/assume this is gcc and not c89 (= MSVC++)
10153 openbsd
* | bitrig
*)
10160 # On some targets, GNU ld is compatible enough with the native linker
10161 # that we're better off using the native interface for both.
10162 lt_use_gnu_ld_interface
=no
10163 if test yes = "$with_gnu_ld"; then
10166 # The AIX port of GNU ld has always aspired to compatibility
10167 # with the native linker. However, as the warning in the GNU ld
10168 # block says, versions before 2.19.5* couldn't really create working
10169 # shared libraries, regardless of the interface used.
10170 case `$LD -v 2>&1` in
10171 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10172 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10173 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10175 lt_use_gnu_ld_interface
=yes
10180 lt_use_gnu_ld_interface
=yes
10185 if test yes = "$lt_use_gnu_ld_interface"; then
10186 # If archive_cmds runs LD, not CC, wlarc should be empty
10189 # Set some defaults for GNU ld with shared library support. These
10190 # are reset later if shared libraries are not supported. Putting them
10191 # here allows them to be overridden if necessary.
10192 runpath_var
=LD_RUN_PATH
10193 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10194 export_dynamic_flag_spec
='$wl--export-dynamic'
10195 # ancient GNU ld didn't support --whole-archive et. al.
10196 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
10197 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10199 whole_archive_flag_spec
=
10201 supports_anon_versioning
=no
10202 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10203 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10204 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
10205 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10206 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10207 *\
2.11.
*) ;; # other 2.11 versions
10208 *) supports_anon_versioning
=yes ;;
10211 # See if GNU ld supports shared libraries.
10214 # On AIX/PPC, the GNU linker is very broken
10215 if test ia64
!= "$host_cpu"; then
10219 *** Warning: the GNU linker, at least up to release 2.19, is reported
10220 *** to be unable to reliably create shared libraries on AIX.
10221 *** Therefore, libtool is disabling shared libraries support. If you
10222 *** really care for shared libraries, you may want to install binutils
10223 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10224 *** You will then need to restart the configuration process.
10233 # see comment about AmigaOS4 .so support
10234 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10235 archive_expsym_cmds
=''
10238 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)'
10239 hardcode_libdir_flag_spec
='-L$libdir'
10240 hardcode_minus_L
=yes
10246 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10247 allow_undefined_flag
=unsupported
10248 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10249 # support --undefined. This deserves some investigation. FIXME
10250 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10256 cygwin
* | mingw
* | pw32
* | cegcc
*)
10257 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10258 # as there is no search path for DLLs.
10259 hardcode_libdir_flag_spec
='-L$libdir'
10260 export_dynamic_flag_spec
='$wl--export-all-symbols'
10261 allow_undefined_flag
=unsupported
10262 always_export_symbols
=no
10263 enable_shared_with_static_runtimes
=yes
10264 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'
10265 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10267 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
10268 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10269 # If the export-symbols file already is a .def file, use it as
10270 # is; otherwise, prepend EXPORTS...
10271 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10272 cp $export_symbols $output_objdir/$soname.def;
10274 echo EXPORTS > $output_objdir/$soname.def;
10275 cat $export_symbols >> $output_objdir/$soname.def;
10277 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10284 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10285 link_all_deplibs
=yes
10289 hardcode_libdir_flag_spec
='-L$libdir'
10290 hardcode_minus_L
=yes
10291 allow_undefined_flag
=unsupported
10293 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10294 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10295 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10296 $ECHO EXPORTS >> $output_objdir/$libname.def~
10297 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10298 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10299 emximp -o $lib $output_objdir/$libname.def'
10300 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10301 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10302 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10303 $ECHO EXPORTS >> $output_objdir/$libname.def~
10304 prefix_cmds="$SED"~
10305 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10306 prefix_cmds="$prefix_cmds -e 1d";
10308 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10309 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10310 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10311 emximp -o $lib $output_objdir/$libname.def'
10312 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10313 enable_shared_with_static_runtimes
=yes
10318 hardcode_shlibpath_var
=no
10319 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10320 export_dynamic_flag_spec
='$wl-E'
10321 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10322 # Instead, shared libraries are loaded at an image base (0x10000000 by
10323 # default) and relocated if they conflict, which is a slow very memory
10324 # consuming and fragmenting process. To avoid this, we pick a random,
10325 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10326 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10327 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10328 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'
10331 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10333 if test linux
-dietlibc = "$host_os"; then
10334 case $cc_basename in
10335 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10338 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10339 && test no
= "$tmp_diet"
10341 tmp_addflag
=' $pic_flag'
10342 tmp_sharedflag
='-shared'
10343 case $cc_basename,$host_cpu in
10344 pgcc
*) # Portland Group C compiler
10345 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'
10346 tmp_addflag
=' $pic_flag'
10348 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10349 # Portland Group f77 and f90 compilers
10350 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'
10351 tmp_addflag
=' $pic_flag -Mnomain' ;;
10352 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10353 tmp_addflag
=' -i_dynamic' ;;
10354 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10355 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10356 ifc
* | ifort
*) # Intel Fortran compiler
10357 tmp_addflag
=' -nofor_main' ;;
10358 lf95
*) # Lahey Fortran 8.1
10359 whole_archive_flag_spec
=
10360 tmp_sharedflag
='--shared' ;;
10361 nagfor
*) # NAGFOR 5.3
10362 tmp_sharedflag
='-Wl,-shared' ;;
10363 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10364 tmp_sharedflag
='-qmkshrobj'
10366 nvcc
*) # Cuda Compiler Driver 2.2
10367 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'
10368 compiler_needs_object
=yes
10371 case `$CC -V 2>&1 | sed 5q` in
10372 *Sun\ C
*) # Sun C 5.9
10373 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'
10374 compiler_needs_object
=yes
10375 tmp_sharedflag
='-G' ;;
10376 *Sun\ F
*) # Sun Fortran 8.3
10377 tmp_sharedflag
='-G' ;;
10379 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10381 if test yes = "$supports_anon_versioning"; then
10382 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10383 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10384 echo "local: *; };" >> $output_objdir/$libname.ver~
10385 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10388 case $cc_basename in
10390 export_dynamic_flag_spec
='-rdynamic'
10392 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10393 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10394 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10395 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10396 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10397 if test yes = "$supports_anon_versioning"; then
10398 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10399 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10400 echo "local: *; };" >> $output_objdir/$libname.ver~
10401 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10411 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10412 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10415 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10416 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10421 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10425 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10426 *** create shared libraries on Solaris systems. Therefore, libtool
10427 *** is disabling shared libraries support. We urge you to upgrade GNU
10428 *** binutils to release 2.9.1 or newer. Another option is to modify
10429 *** your PATH or compiler configuration so that the native linker is
10430 *** used, and then restart.
10433 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10434 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10435 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10441 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10442 case `$LD -v 2>&1` in
10443 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10447 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10448 *** reliably create shared libraries on SCO systems. Therefore, libtool
10449 *** is disabling shared libraries support. We urge you to upgrade GNU
10450 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10451 *** your PATH or compiler configuration so that the native linker is
10452 *** used, and then restart.
10457 # For security reasons, it is highly recommended that you always
10458 # use absolute paths for naming shared libraries, and exclude the
10459 # DT_RUNPATH tag from executables and libraries. But doing so
10460 # requires that you compile everything twice, which is a pain.
10461 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10462 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10463 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10464 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10473 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10475 hardcode_direct
=yes
10476 hardcode_shlibpath_var
=no
10480 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10481 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10482 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10489 if test no
= "$ld_shlibs"; then
10491 hardcode_libdir_flag_spec
=
10492 export_dynamic_flag_spec
=
10493 whole_archive_flag_spec
=
10496 # PORTME fill in a description of your system's linker (not GNU ld)
10499 allow_undefined_flag
=unsupported
10500 always_export_symbols
=yes
10501 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'
10502 # Note: this linker hardcodes the directories in LIBPATH if there
10503 # are no directories specified by -L.
10504 hardcode_minus_L
=yes
10505 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10506 # Neither direct hardcoding nor static linking is supported with a
10508 hardcode_direct
=unsupported
10513 if test ia64
= "$host_cpu"; then
10514 # On IA64, the linker does run time linking by default, so we don't
10515 # have to do anything special.
10516 aix_use_runtimelinking
=no
10517 exp_sym_flag
='-Bexport'
10520 # If we're using GNU nm, then we don't want the "-C" option.
10521 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10522 # Without the "-l" option, or with the "-B" option, AIX nm treats
10523 # weak defined symbols like other global defined symbols, whereas
10524 # GNU nm marks them as "W".
10525 # While the 'weak' keyword is ignored in the Export File, we need
10526 # it in the Import File for the 'aix-soname' feature, so we have
10527 # to replace the "-B" option with "-P" for AIX nm.
10528 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10529 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'
10531 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'
10533 aix_use_runtimelinking
=no
10535 # Test if we are trying to use run time linking or normal
10536 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10537 # have runtime linking enabled, and use it for executables.
10538 # For shared libraries, we enable/disable runtime linking
10539 # depending on the kind of the shared library created -
10540 # when "with_aix_soname,aix_use_runtimelinking" is:
10541 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10542 # "aix,yes" lib.so shared, rtl:yes, for executables
10543 # lib.a static archive
10544 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10545 # lib.a(lib.so.V) shared, rtl:no, for executables
10546 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10547 # lib.a(lib.so.V) shared, rtl:no
10548 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10549 # lib.a static archive
10550 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10551 for ld_flag
in $LDFLAGS; do
10552 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
10553 aix_use_runtimelinking
=yes
10557 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10558 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10559 # so we don't have lib.a shared libs to link our executables.
10560 # We have to force runtime linking in this case.
10561 aix_use_runtimelinking
=yes
10562 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10567 exp_sym_flag
='-bexport'
10568 no_entry_flag
='-bnoentry'
10571 # When large executables or shared objects are built, AIX ld can
10572 # have problems creating the table of contents. If linking a library
10573 # or program results in "error TOC overflow" add -mminimal-toc to
10574 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10575 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10578 hardcode_direct
=yes
10579 hardcode_direct_absolute
=yes
10580 hardcode_libdir_separator
=':'
10581 link_all_deplibs
=yes
10582 file_list_spec
='$wl-f,'
10583 case $with_aix_soname,$aix_use_runtimelinking in
10584 aix
,*) ;; # traditional, no import file
10585 svr4
,* | *,yes) # use import file
10586 # The Import File defines what to hardcode.
10588 hardcode_direct_absolute
=no
10592 if test yes = "$GCC"; then
10593 case $host_os in aix4.
[012]|aix4.
[012].
*)
10594 # We only want to do this on AIX 4.2 and lower, the check
10595 # below for broken collect2 doesn't work under 4.3+
10596 collect2name
=`$CC -print-prog-name=collect2`
10597 if test -f "$collect2name" &&
10598 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10600 # We have reworked collect2
10603 # We have old collect2
10604 hardcode_direct
=unsupported
10605 # It fails to find uninstalled libraries when the uninstalled
10606 # path is not listed in the libpath. Setting hardcode_minus_L
10607 # to unsupported forces relinking
10608 hardcode_minus_L
=yes
10609 hardcode_libdir_flag_spec
='-L$libdir'
10610 hardcode_libdir_separator
=
10614 shared_flag
='-shared'
10615 if test yes = "$aix_use_runtimelinking"; then
10616 shared_flag
="$shared_flag "'$wl-G'
10618 # Need to ensure runtime linking is disabled for the traditional
10619 # shared library, or the linker may eventually find shared libraries
10620 # /with/ Import File - we do not want to mix them.
10621 shared_flag_aix
='-shared'
10622 shared_flag_svr4
='-shared $wl-G'
10625 if test ia64
= "$host_cpu"; then
10626 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10627 # chokes on -Wl,-G. The following line is correct:
10630 if test yes = "$aix_use_runtimelinking"; then
10631 shared_flag
='$wl-G'
10633 shared_flag
='$wl-bM:SRE'
10635 shared_flag_aix
='$wl-bM:SRE'
10636 shared_flag_svr4
='$wl-G'
10640 export_dynamic_flag_spec
='$wl-bexpall'
10641 # It seems that -bexpall does not export symbols beginning with
10642 # underscore (_), so it is better to generate a list of symbols to export.
10643 always_export_symbols
=yes
10644 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10645 # Warning - without using the other runtime loading flags (-brtl),
10646 # -berok will link without error, but may produce a broken library.
10647 allow_undefined_flag
='-berok'
10648 # Determine the default libpath from the value encoded in an
10649 # empty executable.
10650 if test set = "${lt_cv_aix_libpath+set}"; then
10651 aix_libpath
=$lt_cv_aix_libpath
10653 if ${lt_cv_aix_libpath_+:} false
; then :
10654 $as_echo_n "(cached) " >&6
10656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10667 if ac_fn_c_try_link
"$LINENO"; then :
10669 lt_aix_libpath_sed
='
10670 /Import File Strings/,/^$/ {
10672 s/^0 *\([^ ]*\) *$/\1/
10676 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10677 # Check for a 64-bit object if we didn't find anything.
10678 if test -z "$lt_cv_aix_libpath_"; then
10679 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10682 rm -f core conftest.err conftest.
$ac_objext \
10683 conftest
$ac_exeext conftest.
$ac_ext
10684 if test -z "$lt_cv_aix_libpath_"; then
10685 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10690 aix_libpath
=$lt_cv_aix_libpath_
10693 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10694 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
10696 if test ia64
= "$host_cpu"; then
10697 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10698 allow_undefined_flag
="-z nodefs"
10699 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"
10701 # Determine the default libpath from the value encoded in an
10702 # empty executable.
10703 if test set = "${lt_cv_aix_libpath+set}"; then
10704 aix_libpath
=$lt_cv_aix_libpath
10706 if ${lt_cv_aix_libpath_+:} false
; then :
10707 $as_echo_n "(cached) " >&6
10709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10720 if ac_fn_c_try_link
"$LINENO"; then :
10722 lt_aix_libpath_sed
='
10723 /Import File Strings/,/^$/ {
10725 s/^0 *\([^ ]*\) *$/\1/
10729 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10730 # Check for a 64-bit object if we didn't find anything.
10731 if test -z "$lt_cv_aix_libpath_"; then
10732 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10735 rm -f core conftest.err conftest.
$ac_objext \
10736 conftest
$ac_exeext conftest.
$ac_ext
10737 if test -z "$lt_cv_aix_libpath_"; then
10738 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10743 aix_libpath
=$lt_cv_aix_libpath_
10746 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10747 # Warning - without using the other run time loading flags,
10748 # -berok will link without error, but may produce a broken library.
10749 no_undefined_flag
=' $wl-bernotok'
10750 allow_undefined_flag
=' $wl-berok'
10751 if test yes = "$with_gnu_ld"; then
10752 # We only use this code for GNU lds that support --whole-archive.
10753 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10755 # Exported symbols can be pulled into shared objects from archives
10756 whole_archive_flag_spec
='$convenience'
10758 archive_cmds_need_lc
=yes
10759 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10760 # -brtl affects multiple linker settings, -berok does not and is overridden later
10761 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10762 if test svr4
!= "$with_aix_soname"; then
10763 # This is similar to how AIX traditionally builds its shared libraries.
10764 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'
10766 if test aix
!= "$with_aix_soname"; then
10767 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'
10769 # used by -dlpreopen to get the symbols
10770 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10772 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10780 # see comment about AmigaOS4 .so support
10781 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10782 archive_expsym_cmds
=''
10785 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)'
10786 hardcode_libdir_flag_spec
='-L$libdir'
10787 hardcode_minus_L
=yes
10793 export_dynamic_flag_spec
=-rdynamic
10796 cygwin
* | mingw
* | pw32
* | cegcc
*)
10797 # When not using gcc, we currently assume that we are using
10798 # Microsoft Visual C++.
10799 # hardcode_libdir_flag_spec is actually meaningless, as there is
10800 # no search path for DLLs.
10801 case $cc_basename in
10804 hardcode_libdir_flag_spec
=' '
10805 allow_undefined_flag
=unsupported
10806 always_export_symbols
=yes
10808 # Tell ltmain to make .lib files, not .a files.
10810 # Tell ltmain to make .dll files, not .so files.
10812 # FIXME: Setting linknames here is a bad hack.
10813 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10814 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10815 cp "$export_symbols" "$output_objdir/$soname.def";
10816 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10818 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10820 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10822 # The linker will not automatically build a static lib if we build a DLL.
10823 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10824 enable_shared_with_static_runtimes
=yes
10825 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10826 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10828 old_postinstall_cmds
='chmod 644 $oldlib'
10829 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10830 lt_tool_outputfile="@TOOL_OUTPUT@"~
10831 case $lt_outputfile in
10834 lt_outputfile=$lt_outputfile.exe
10835 lt_tool_outputfile=$lt_tool_outputfile.exe
10838 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10839 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10840 $RM "$lt_outputfile.manifest";
10844 # Assume MSVC wrapper
10845 hardcode_libdir_flag_spec
=' '
10846 allow_undefined_flag
=unsupported
10847 # Tell ltmain to make .lib files, not .a files.
10849 # Tell ltmain to make .dll files, not .so files.
10851 # FIXME: Setting linknames here is a bad hack.
10852 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10853 # The linker will automatically build a .lib file if we build a DLL.
10854 old_archive_from_new_cmds
='true'
10855 # FIXME: Should let the user specify the lib program.
10856 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10857 enable_shared_with_static_runtimes
=yes
10862 darwin
* | rhapsody
*)
10865 archive_cmds_need_lc
=no
10867 hardcode_automatic
=yes
10868 hardcode_shlibpath_var
=unsupported
10869 if test yes = "$lt_cv_ld_force_load"; then
10870 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\"`'
10873 whole_archive_flag_spec
=''
10875 link_all_deplibs
=yes
10876 allow_undefined_flag
=$_lt_dar_allow_undefined
10877 case $cc_basename in
10878 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10879 *) _lt_dar_can_shared
=$GCC ;;
10881 if test yes = "$_lt_dar_can_shared"; then
10882 output_verbose_link_cmd
=func_echo_all
10883 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10884 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10885 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"
10886 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"
10895 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896 hardcode_libdir_flag_spec
='-L$libdir'
10897 hardcode_shlibpath_var
=no
10900 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10901 # support. Future versions do this automatically, but an explicit c++rt0.o
10902 # does not break anything, and helps significantly (at the cost of a little
10905 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10906 hardcode_libdir_flag_spec
='-R$libdir'
10907 hardcode_direct
=yes
10908 hardcode_shlibpath_var
=no
10911 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10913 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10914 hardcode_direct
=yes
10915 hardcode_minus_L
=yes
10916 hardcode_shlibpath_var
=no
10919 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10920 freebsd
* | dragonfly
*)
10921 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10922 hardcode_libdir_flag_spec
='-R$libdir'
10923 hardcode_direct
=yes
10924 hardcode_shlibpath_var
=no
10928 if test yes = "$GCC"; then
10929 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'
10931 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'
10933 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10934 hardcode_libdir_separator
=:
10935 hardcode_direct
=yes
10937 # hardcode_minus_L: Not really in the search PATH,
10938 # but as the default location of the library.
10939 hardcode_minus_L
=yes
10940 export_dynamic_flag_spec
='$wl-E'
10944 if test yes,no
= "$GCC,$with_gnu_ld"; then
10945 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10947 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10949 if test no
= "$with_gnu_ld"; then
10950 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10951 hardcode_libdir_separator
=:
10952 hardcode_direct
=yes
10953 hardcode_direct_absolute
=yes
10954 export_dynamic_flag_spec
='$wl-E'
10955 # hardcode_minus_L: Not really in the search PATH,
10956 # but as the default location of the library.
10957 hardcode_minus_L
=yes
10962 if test yes,no
= "$GCC,$with_gnu_ld"; then
10965 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10968 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10971 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10977 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10980 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10984 # Older versions of the 11.00 compiler do not understand -b yet
10985 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10987 $as_echo_n "checking if $CC understands -b... " >&6; }
10988 if ${lt_cv_prog_compiler__b+:} false
; then :
10989 $as_echo_n "(cached) " >&6
10991 lt_cv_prog_compiler__b
=no
10992 save_LDFLAGS
=$LDFLAGS
10993 LDFLAGS
="$LDFLAGS -b"
10994 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10995 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10996 # The linker can only warn and ignore the option if not recognized
10997 # So say no if there are warnings
10998 if test -s conftest.err
; then
10999 # Append any errors to the config.log.
11000 cat conftest.err
1>&5
11001 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11002 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11003 if diff conftest.exp conftest.er2
>/dev
/null
; then
11004 lt_cv_prog_compiler__b
=yes
11007 lt_cv_prog_compiler__b
=yes
11011 LDFLAGS
=$save_LDFLAGS
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11015 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11017 if test yes = "$lt_cv_prog_compiler__b"; then
11018 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11020 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11026 if test no
= "$with_gnu_ld"; then
11027 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11028 hardcode_libdir_separator
=:
11033 hardcode_shlibpath_var
=no
11036 hardcode_direct
=yes
11037 hardcode_direct_absolute
=yes
11038 export_dynamic_flag_spec
='$wl-E'
11040 # hardcode_minus_L: Not really in the search PATH,
11041 # but as the default location of the library.
11042 hardcode_minus_L
=yes
11048 irix5
* | irix6
* | nonstopux
*)
11049 if test yes = "$GCC"; then
11050 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'
11051 # Try to use the -exported_symbol ld option, if it does not
11052 # work, assume that -exports_file does not work either and
11053 # implicitly export all symbols.
11054 # This should be the same for all languages, so no per-tag cache variable.
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11056 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11057 if ${lt_cv_irix_exported_symbol+:} false
; then :
11058 $as_echo_n "(cached) " >&6
11060 save_LDFLAGS
=$LDFLAGS
11061 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11064 int foo (void) { return 0; }
11066 if ac_fn_c_try_link
"$LINENO"; then :
11067 lt_cv_irix_exported_symbol
=yes
11069 lt_cv_irix_exported_symbol
=no
11071 rm -f core conftest.err conftest.
$ac_objext \
11072 conftest
$ac_exeext conftest.
$ac_ext
11073 LDFLAGS
=$save_LDFLAGS
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11076 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11077 if test yes = "$lt_cv_irix_exported_symbol"; then
11078 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'
11081 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'
11082 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'
11084 archive_cmds_need_lc
='no'
11085 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11086 hardcode_libdir_separator
=:
11088 link_all_deplibs
=yes
11092 case $cc_basename in
11094 # Fabrice Bellard et al's Tiny C Compiler
11096 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11102 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11103 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11105 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11107 hardcode_libdir_flag_spec
='-R$libdir'
11108 hardcode_direct
=yes
11109 hardcode_shlibpath_var
=no
11113 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11114 hardcode_direct
=yes
11115 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11116 hardcode_libdir_separator
=:
11117 hardcode_shlibpath_var
=no
11123 openbsd
* | bitrig
*)
11124 if test -f /usr
/libexec
/ld.so
; then
11125 hardcode_direct
=yes
11126 hardcode_shlibpath_var
=no
11127 hardcode_direct_absolute
=yes
11128 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11129 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11130 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11131 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11132 export_dynamic_flag_spec
='$wl-E'
11134 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11135 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11143 hardcode_libdir_flag_spec
='-L$libdir'
11144 hardcode_minus_L
=yes
11145 allow_undefined_flag
=unsupported
11147 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11148 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11149 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11150 $ECHO EXPORTS >> $output_objdir/$libname.def~
11151 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11152 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11153 emximp -o $lib $output_objdir/$libname.def'
11154 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11155 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11156 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11157 $ECHO EXPORTS >> $output_objdir/$libname.def~
11158 prefix_cmds="$SED"~
11159 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11160 prefix_cmds="$prefix_cmds -e 1d";
11162 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11163 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11164 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11165 emximp -o $lib $output_objdir/$libname.def'
11166 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11167 enable_shared_with_static_runtimes
=yes
11171 if test yes = "$GCC"; then
11172 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11173 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'
11175 allow_undefined_flag
=' -expect_unresolved \*'
11176 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'
11178 archive_cmds_need_lc
='no'
11179 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11180 hardcode_libdir_separator
=:
11183 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11184 if test yes = "$GCC"; then
11185 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11186 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'
11187 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11189 allow_undefined_flag
=' -expect_unresolved \*'
11190 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'
11191 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~
11192 $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'
11194 # Both c and cxx compiler support -rpath directly
11195 hardcode_libdir_flag_spec
='-rpath $libdir'
11197 archive_cmds_need_lc
='no'
11198 hardcode_libdir_separator
=:
11202 no_undefined_flag
=' -z defs'
11203 if test yes = "$GCC"; then
11205 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11206 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11207 $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'
11209 case `$CC -V 2>&1` in
11212 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11213 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11214 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11218 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11219 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11220 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11224 hardcode_libdir_flag_spec
='-R$libdir'
11225 hardcode_shlibpath_var
=no
11227 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11229 # The compiler driver will combine and reorder linker options,
11230 # but understands '-z linker_flag'. GCC discards it without '$wl',
11231 # but is careful enough not to reorder.
11232 # Supported since Solaris 2.6 (maybe 2.5.1?)
11233 if test yes = "$GCC"; then
11234 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11236 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11240 link_all_deplibs
=yes
11244 if test sequent
= "$host_vendor"; then
11245 # Use $CC to link under sequent, because it throws in some extra .o
11246 # files that make .init and .fini sections work.
11247 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11249 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11251 hardcode_libdir_flag_spec
='-L$libdir'
11252 hardcode_direct
=yes
11253 hardcode_minus_L
=yes
11254 hardcode_shlibpath_var
=no
11258 case $host_vendor in
11260 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11261 hardcode_direct
=yes # is this really true???
11264 ## LD is ld it makes a PLAMLIB
11265 ## CC just makes a GrossModule.
11266 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11267 reload_cmds
='$CC -r -o $output$reload_objs'
11271 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11272 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11275 runpath_var
='LD_RUN_PATH'
11276 hardcode_shlibpath_var
=no
11280 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11281 hardcode_shlibpath_var
=no
11282 export_dynamic_flag_spec
='-Bexport'
11286 if test -d /usr
/nec
; then
11287 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11288 hardcode_shlibpath_var
=no
11289 runpath_var
=LD_RUN_PATH
11290 hardcode_runpath_var
=yes
11295 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11296 no_undefined_flag
='$wl-z,text'
11297 archive_cmds_need_lc
=no
11298 hardcode_shlibpath_var
=no
11299 runpath_var
='LD_RUN_PATH'
11301 if test yes = "$GCC"; then
11302 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11303 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11305 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11306 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11310 sysv5
* | sco3.2v5
* | sco5v6
*)
11311 # Note: We CANNOT use -z defs as we might desire, because we do not
11312 # link with -lc, and that would cause any symbols used from libc to
11313 # always be unresolved, which means just about no library would
11314 # ever link correctly. If we're not using GNU ld we use -z text
11315 # though, which does catch some bad symbols but isn't as heavy-handed
11317 no_undefined_flag
='$wl-z,text'
11318 allow_undefined_flag
='$wl-z,nodefs'
11319 archive_cmds_need_lc
=no
11320 hardcode_shlibpath_var
=no
11321 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11322 hardcode_libdir_separator
=':'
11323 link_all_deplibs
=yes
11324 export_dynamic_flag_spec
='$wl-Bexport'
11325 runpath_var
='LD_RUN_PATH'
11327 if test yes = "$GCC"; then
11328 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11329 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11331 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11332 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11337 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11338 hardcode_libdir_flag_spec
='-L$libdir'
11339 hardcode_shlibpath_var
=no
11347 if test sni
= "$host_vendor"; then
11349 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11350 export_dynamic_flag_spec
='$wl-Blargedynsym'
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11357 $as_echo "$ld_shlibs" >&6; }
11358 test no
= "$ld_shlibs" && can_build_shared
=no
11360 with_gnu_ld
=$with_gnu_ld
11377 # Do we need to explicitly link libc?
11379 case "x$archive_cmds_need_lc" in
11381 # Assume -lc should be added
11382 archive_cmds_need_lc
=yes
11384 if test yes,yes = "$GCC,$enable_shared"; then
11385 case $archive_cmds in
11387 # FIXME: we may have to deal with multi-command sequences.
11390 # Test whether the compiler implicitly links with -lc since on some
11391 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11392 # to ld, don't add -lc before -lgcc.
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11394 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11395 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11396 $as_echo_n "(cached) " >&6
11399 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11402 (eval $ac_compile) 2>&5
11404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11405 test $ac_status = 0; } 2>conftest.err
; then
11408 libobjs
=conftest.
$ac_objext
11410 wl
=$lt_prog_compiler_wl
11411 pic_flag
=$lt_prog_compiler_pic
11417 lt_save_allow_undefined_flag
=$allow_undefined_flag
11418 allow_undefined_flag
=
11419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11420 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11423 test $ac_status = 0; }
11425 lt_cv_archive_cmds_need_lc
=no
11427 lt_cv_archive_cmds_need_lc
=yes
11429 allow_undefined_flag
=$lt_save_allow_undefined_flag
11431 cat conftest.err
1>&5
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11437 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11438 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11597 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11599 if test yes = "$GCC"; then
11601 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11602 *) lt_awk_arg
='/^libraries:/' ;;
11605 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11606 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11608 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11609 case $lt_search_path_spec in
11611 # if the path contains ";" then we assume it to be the separator
11612 # otherwise default to the standard path separator (i.e. ":") - it is
11613 # assumed that no part of a normal pathname contains ";" but that should
11614 # okay in the real world where ";" in dirpaths is itself problematic.
11615 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11618 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11621 # Ok, now we have the path, separated by spaces, we can step through it
11622 # and add multilib dir if necessary...
11623 lt_tmp_lt_search_path_spec
=
11624 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11625 # ...but if some path component already ends with the multilib dir we assume
11626 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11627 case "$lt_multi_os_dir; $lt_search_path_spec " in
11628 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11632 for lt_sys_path
in $lt_search_path_spec; do
11633 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11634 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11635 elif test -n "$lt_multi_os_dir"; then
11636 test -d "$lt_sys_path" && \
11637 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11640 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11641 BEGIN {RS = " "; FS = "/|\n";} {
11644 for (lt_i = NF; lt_i > 0; lt_i--) {
11645 if ($lt_i != "" && $lt_i != ".") {
11646 if ($lt_i == "..") {
11649 if (lt_count == 0) {
11650 lt_foo = "/" $lt_i lt_foo;
11657 if (lt_foo != "") { lt_freq[lt_foo]++; }
11658 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11660 # AWK program above erroneously prepends '/' to C:/dos/paths
11663 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11664 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11666 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11668 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11670 library_names_spec
=
11671 libname_spec
='lib$name'
11675 postuninstall_cmds
=
11679 shlibpath_overrides_runpath
=unknown
11681 dynamic_linker
="$host_os ld.so"
11682 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11683 need_lib_prefix
=unknown
11684 hardcode_into_libs
=no
11686 # when you set need_version to no, make sure it does not cause -set_version
11687 # flags to be left without arguments
11688 need_version
=unknown
11694 version_type
=linux
# correct to gnu/linux during the next big refactor
11695 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11696 shlibpath_var
=LIBPATH
11698 # AIX 3 has no versioning support, so we append a major version to the name.
11699 soname_spec
='$libname$release$shared_ext$major'
11703 version_type
=linux
# correct to gnu/linux during the next big refactor
11706 hardcode_into_libs
=yes
11707 if test ia64
= "$host_cpu"; then
11708 # AIX 5 supports IA64
11709 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11710 shlibpath_var
=LD_LIBRARY_PATH
11712 # With GCC up to 2.95.x, collect2 would create an import file
11713 # for dependence libraries. The import file would start with
11714 # the line '#! .'. This would cause the generated library to
11715 # depend on '.', always an invalid library. This was fixed in
11716 # development snapshots of GCC prior to 3.0.
11718 aix4
| aix4.
[01] | aix4.
[01].
*)
11719 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11721 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
11724 can_build_shared
=no
11728 # Using Import Files as archive members, it is possible to support
11729 # filename-based versioning of shared library archives on AIX. While
11730 # this would work for both with and without runtime linking, it will
11731 # prevent static linking of such archives. So we do filename-based
11732 # shared library versioning with .so extension only, which is used
11733 # when both runtime linking and shared linking is enabled.
11734 # Unfortunately, runtime linking may impact performance, so we do
11735 # not want this to be the default eventually. Also, we use the
11736 # versioned .so libs for executables only if there is the -brtl
11737 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11738 # To allow for filename-based versioning support, we need to create
11739 # libNAME.so.V as an archive file, containing:
11740 # *) an Import File, referring to the versioned filename of the
11741 # archive as well as the shared archive member, telling the
11742 # bitwidth (32 or 64) of that shared object, and providing the
11743 # list of exported symbols of that shared object, eventually
11744 # decorated with the 'weak' keyword
11745 # *) the shared object with the F_LOADONLY flag set, to really avoid
11746 # it being seen by the linker.
11747 # At run time we better use the real file rather than another symlink,
11748 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11750 case $with_aix_soname,$aix_use_runtimelinking in
11751 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11752 # soname into executable. Probably we can add versioning support to
11753 # collect2, so additional links can be useful in future.
11754 aix
,yes) # traditional libtool
11755 dynamic_linker
='AIX unversionable lib.so'
11756 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11757 # instead of lib<name>.a to let people know that these are not
11758 # typical AIX shared libraries.
11759 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11761 aix
,no
) # traditional AIX only
11762 dynamic_linker
='AIX lib.a(lib.so.V)'
11763 # We preserve .a as extension for shared libraries through AIX4.2
11764 # and later when we are not doing run time linking.
11765 library_names_spec
='$libname$release.a $libname.a'
11766 soname_spec
='$libname$release$shared_ext$major'
11768 svr4
,*) # full svr4 only
11769 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11770 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11771 # We do not specify a path in Import Files, so LIBPATH fires.
11772 shlibpath_overrides_runpath
=yes
11774 *,yes) # both, prefer svr4
11775 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11776 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11777 # unpreferred sharedlib libNAME.a needs extra handling
11778 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"'
11779 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"'
11780 # We do not specify a path in Import Files, so LIBPATH fires.
11781 shlibpath_overrides_runpath
=yes
11783 *,no
) # both, prefer aix
11784 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11785 library_names_spec
='$libname$release.a $libname.a'
11786 soname_spec
='$libname$release$shared_ext$major'
11787 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11788 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)'
11789 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"'
11792 shlibpath_var
=LIBPATH
11799 # Since July 2007 AmigaOS4 officially supports .so libraries.
11800 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11801 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11804 library_names_spec
='$libname.ixlibrary $libname.a'
11805 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11806 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'
11812 library_names_spec
='$libname$shared_ext'
11813 dynamic_linker
="$host_os ld.so"
11814 shlibpath_var
=LIBRARY_PATH
11818 version_type
=linux
# correct to gnu/linux during the next big refactor
11820 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11821 soname_spec
='$libname$release$shared_ext$major'
11822 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11823 shlibpath_var
=LD_LIBRARY_PATH
11824 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11825 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11826 # the default ld.so.conf also contains /usr/contrib/lib and
11827 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11828 # libtool to hard-code these into programs
11831 cygwin
* | mingw
* | pw32
* | cegcc
*)
11832 version_type
=windows
11837 case $GCC,$cc_basename in
11840 library_names_spec
='$libname.dll.a'
11841 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11842 postinstall_cmds
='base_file=`basename \$file`~
11843 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11844 dldir=$destdir/`dirname \$dlpath`~
11845 test -d \$dldir || mkdir -p \$dldir~
11846 $install_prog $dir/$dlname \$dldir/$dlname~
11847 chmod a+x \$dldir/$dlname~
11848 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11849 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11851 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11852 dlpath=$dir/\$dldll~
11854 shlibpath_overrides_runpath
=yes
11858 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11859 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11861 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11864 # MinGW DLLs use traditional 'lib' prefix
11865 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11868 # pw32 DLLs use 'pw' prefix rather than 'lib'
11869 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11872 dynamic_linker
='Win32 ld.exe'
11877 libname_spec
='$name'
11878 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11879 library_names_spec
='$libname.dll.lib'
11883 sys_lib_search_path_spec
=
11886 for lt_path
in $LIB
11889 # Let DOS variable expansion print the short 8.3 style file name.
11890 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11891 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11894 # Convert to MSYS style.
11895 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11898 # Convert to unix form, then to dos form, then back to unix form
11899 # but this time dos style (no spaces!) so that the unix form looks
11900 # like /cygdrive/c/PROGRA~1:/cygdr...
11901 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11902 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11903 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11906 sys_lib_search_path_spec
=$LIB
11907 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11908 # It is most probably a Windows format PATH.
11909 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11911 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11913 # FIXME: find the short name or the path components, as spaces are
11914 # common. (e.g. "Program Files" -> "PROGRA~1")
11918 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11919 postinstall_cmds
='base_file=`basename \$file`~
11920 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11921 dldir=$destdir/`dirname \$dlpath`~
11922 test -d \$dldir || mkdir -p \$dldir~
11923 $install_prog $dir/$dlname \$dldir/$dlname'
11924 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11925 dlpath=$dir/\$dldll~
11927 shlibpath_overrides_runpath
=yes
11928 dynamic_linker
='Win32 link.exe'
11932 # Assume MSVC wrapper
11933 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11934 dynamic_linker
='Win32 ld.exe'
11937 # FIXME: first we should search . and the directory the executable is in
11941 darwin
* | rhapsody
*)
11942 dynamic_linker
="$host_os dyld"
11943 version_type
=darwin
11946 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11947 soname_spec
='$libname$release$major$shared_ext'
11948 shlibpath_overrides_runpath
=yes
11949 shlibpath_var
=DYLD_LIBRARY_PATH
11950 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11952 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11953 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11957 version_type
=linux
# correct to gnu/linux during the next big refactor
11960 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11961 soname_spec
='$libname$release$shared_ext$major'
11962 shlibpath_var
=LD_LIBRARY_PATH
11965 freebsd
* | dragonfly
*)
11966 # DragonFly does not have aout. When/if they implement a new
11967 # versioning mechanism, adjust this.
11968 if test -x /usr
/bin
/objformat
; then
11969 objformat
=`/usr/bin/objformat`
11972 freebsd
[23].
*) objformat
=aout
;;
11973 *) objformat
=elf
;;
11976 version_type
=freebsd
-$objformat
11977 case $version_type in
11979 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11980 soname_spec
='$libname$release$shared_ext$major'
11985 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11989 shlibpath_var
=LD_LIBRARY_PATH
11992 shlibpath_overrides_runpath
=yes
11994 freebsd3.
[01]* | freebsdelf3.
[01]*)
11995 shlibpath_overrides_runpath
=yes
11996 hardcode_into_libs
=yes
11998 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11999 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12000 shlibpath_overrides_runpath
=no
12001 hardcode_into_libs
=yes
12003 *) # from 4.6 on, and DragonFly
12004 shlibpath_overrides_runpath
=yes
12005 hardcode_into_libs
=yes
12011 version_type
=linux
# correct to gnu/linux during the next big refactor
12014 dynamic_linker
="$host_os runtime_loader"
12015 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12016 soname_spec
='$libname$release$shared_ext$major'
12017 shlibpath_var
=LIBRARY_PATH
12018 shlibpath_overrides_runpath
=no
12019 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12020 hardcode_into_libs
=yes
12023 hpux9
* | hpux10
* | hpux11
*)
12024 # Give a soname corresponding to the major version so that dld.sl refuses to
12025 # link against other versions.
12032 hardcode_into_libs
=yes
12033 dynamic_linker
="$host_os dld.so"
12034 shlibpath_var
=LD_LIBRARY_PATH
12035 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12036 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12037 soname_spec
='$libname$release$shared_ext$major'
12038 if test 32 = "$HPUX_IA64_MODE"; then
12039 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12040 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12042 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12043 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12048 hardcode_into_libs
=yes
12049 dynamic_linker
="$host_os dld.sl"
12050 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12051 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12052 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12053 soname_spec
='$libname$release$shared_ext$major'
12054 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12055 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12059 dynamic_linker
="$host_os dld.sl"
12060 shlibpath_var
=SHLIB_PATH
12061 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12062 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12063 soname_spec
='$libname$release$shared_ext$major'
12066 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12067 postinstall_cmds
='chmod 555 $lib'
12068 # or fails outright, so override atomically:
12069 install_override_mode
=555
12073 version_type
=linux
# correct to gnu/linux during the next big refactor
12076 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12077 soname_spec
='$libname$release$shared_ext$major'
12078 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12079 shlibpath_var
=LD_LIBRARY_PATH
12080 shlibpath_overrides_runpath
=no
12081 hardcode_into_libs
=yes
12084 irix5
* | irix6
* | nonstopux
*)
12086 nonstopux
*) version_type
=nonstopux
;;
12088 if test yes = "$lt_cv_prog_gnu_ld"; then
12089 version_type
=linux
# correct to gnu/linux during the next big refactor
12096 soname_spec
='$libname$release$shared_ext$major'
12097 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12099 irix5
* | nonstopux
*)
12100 libsuff
= shlibsuff
=
12103 case $LD in # libtool.m4 will add one of these switches to LD
12104 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12105 libsuff
= shlibsuff
= libmagic
=32-bit;;
12106 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12107 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12108 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12109 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12110 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
12114 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12115 shlibpath_overrides_runpath
=no
12116 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12117 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12118 hardcode_into_libs
=yes
12121 # No shared lib support for Linux oldld, aout, or coff.
12122 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12127 version_type
=none
# Android doesn't support versioned libraries.
12130 library_names_spec
='$libname$release$shared_ext'
12131 soname_spec
='$libname$release$shared_ext'
12133 shlibpath_var
=LD_LIBRARY_PATH
12134 shlibpath_overrides_runpath
=yes
12136 # This implies no fast_install, which is unacceptable.
12137 # Some rework will be needed to allow for fast_install
12138 # before this can be enabled.
12139 hardcode_into_libs
=yes
12141 dynamic_linker
='Android linker'
12142 # Don't embed -rpath directories since the linker doesn't support them.
12143 hardcode_libdir_flag_spec
='-L$libdir'
12146 # This must be glibc/ELF.
12147 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12148 version_type
=linux
# correct to gnu/linux during the next big refactor
12151 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12152 soname_spec
='$libname$release$shared_ext$major'
12153 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12154 shlibpath_var
=LD_LIBRARY_PATH
12155 shlibpath_overrides_runpath
=no
12157 # Some binutils ld are patched to set DT_RUNPATH
12158 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12159 $as_echo_n "(cached) " >&6
12161 lt_cv_shlibpath_overrides_runpath
=no
12162 save_LDFLAGS
=$LDFLAGS
12163 save_libdir
=$libdir
12164 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12165 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12177 if ac_fn_c_try_link
"$LINENO"; then :
12178 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
12179 lt_cv_shlibpath_overrides_runpath
=yes
12182 rm -f core conftest.err conftest.
$ac_objext \
12183 conftest
$ac_exeext conftest.
$ac_ext
12184 LDFLAGS
=$save_LDFLAGS
12185 libdir
=$save_libdir
12189 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12191 # This implies no fast_install, which is unacceptable.
12192 # Some rework will be needed to allow for fast_install
12193 # before this can be enabled.
12194 hardcode_into_libs
=yes
12196 # Ideally, we could use ldconfig to report *all* directores which are
12197 # searched for libraries, however this is still not possible. Aside from not
12198 # being certain /sbin/ldconfig is available, command
12199 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12200 # even though it is searched at run-time. Try to do the best guess by
12201 # appending ld.so.conf contents (and includes) to the search path.
12202 if test -f /etc
/ld.so.conf
; then
12203 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' ' '`
12204 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12207 # We used to test for /lib/ld.so.1 and disable shared libraries on
12208 # powerpc, because MkLinux only supported shared libraries with the
12209 # GNU dynamic linker. Since this was broken with cross compilers,
12210 # most powerpc-linux boxes support dynamic linking these days and
12211 # people can always --disable-shared, the test was removed, and we
12212 # assume the GNU/Linux dynamic linker is in use.
12213 dynamic_linker
='GNU/Linux ld.so'
12220 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12221 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12222 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12223 dynamic_linker
='NetBSD (a.out) ld.so'
12225 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12226 soname_spec
='$libname$release$shared_ext$major'
12227 dynamic_linker
='NetBSD ld.elf_so'
12229 shlibpath_var
=LD_LIBRARY_PATH
12230 shlibpath_overrides_runpath
=yes
12231 hardcode_into_libs
=yes
12235 version_type
=linux
# correct to gnu/linux during the next big refactor
12236 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12237 shlibpath_var
=LD_LIBRARY_PATH
12238 shlibpath_overrides_runpath
=yes
12245 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12246 soname_spec
='$libname$release$shared_ext$major'
12247 shlibpath_var
=LD_LIBRARY_PATH
12248 shlibpath_overrides_runpath
=no
12249 hardcode_into_libs
=yes
12250 dynamic_linker
='ldqnx.so'
12253 openbsd
* | bitrig
*)
12255 sys_lib_dlsearch_path_spec
=/usr
/lib
12257 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12262 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12263 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12264 shlibpath_var
=LD_LIBRARY_PATH
12265 shlibpath_overrides_runpath
=yes
12269 libname_spec
='$name'
12270 version_type
=windows
12274 # OS/2 can only load a DLL with a base name of 8 characters or less.
12275 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12276 v=$($ECHO $release$versuffix | tr -d .-);
12277 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12278 $ECHO $n$v`$shared_ext'
12279 library_names_spec
='${libname}_dll.$libext'
12280 dynamic_linker
='OS/2 ld.exe'
12281 shlibpath_var
=BEGINLIBPATH
12282 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12283 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12284 postinstall_cmds
='base_file=`basename \$file`~
12285 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12286 dldir=$destdir/`dirname \$dlpath`~
12287 test -d \$dldir || mkdir -p \$dldir~
12288 $install_prog $dir/$dlname \$dldir/$dlname~
12289 chmod a+x \$dldir/$dlname~
12290 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12291 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12293 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12294 dlpath=$dir/\$dldll~
12298 osf3
* | osf4
* | osf5
*)
12302 soname_spec
='$libname$release$shared_ext$major'
12303 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12304 shlibpath_var
=LD_LIBRARY_PATH
12305 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12306 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12314 version_type
=linux
# correct to gnu/linux during the next big refactor
12317 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12318 soname_spec
='$libname$release$shared_ext$major'
12319 shlibpath_var
=LD_LIBRARY_PATH
12320 shlibpath_overrides_runpath
=yes
12321 hardcode_into_libs
=yes
12322 # ldd complains unless libraries are executable
12323 postinstall_cmds
='chmod +x $lib'
12328 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12329 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12330 shlibpath_var
=LD_LIBRARY_PATH
12331 shlibpath_overrides_runpath
=yes
12332 if test yes = "$with_gnu_ld"; then
12339 version_type
=linux
# correct to gnu/linux during the next big refactor
12340 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12341 soname_spec
='$libname$release$shared_ext$major'
12342 shlibpath_var
=LD_LIBRARY_PATH
12343 case $host_vendor in
12345 shlibpath_overrides_runpath
=no
12347 runpath_var
=LD_RUN_PATH
12355 shlibpath_overrides_runpath
=no
12356 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12362 if test -d /usr
/nec
; then
12363 version_type
=linux
# correct to gnu/linux during the next big refactor
12364 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12365 soname_spec
='$libname$shared_ext.$major'
12366 shlibpath_var
=LD_LIBRARY_PATH
12370 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12374 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12375 soname_spec
='$libname$release$shared_ext$major'
12376 shlibpath_var
=LD_LIBRARY_PATH
12377 shlibpath_overrides_runpath
=yes
12378 hardcode_into_libs
=yes
12379 if test yes = "$with_gnu_ld"; then
12380 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12382 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12385 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12389 sys_lib_dlsearch_path_spec
='/usr/lib'
12393 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12394 version_type
=linux
# correct to gnu/linux during the next big refactor
12397 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12398 shlibpath_var
=LD_LIBRARY_PATH
12399 shlibpath_overrides_runpath
=no
12400 hardcode_into_libs
=yes
12404 version_type
=linux
# correct to gnu/linux during the next big refactor
12405 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12406 soname_spec
='$libname$release$shared_ext$major'
12407 shlibpath_var
=LD_LIBRARY_PATH
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12415 $as_echo "$dynamic_linker" >&6; }
12416 test no
= "$dynamic_linker" && can_build_shared
=no
12418 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12419 if test yes = "$GCC"; then
12420 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12423 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12424 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12427 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12428 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12431 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12432 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12434 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12435 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12437 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12438 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12537 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12539 if test -n "$hardcode_libdir_flag_spec" ||
12540 test -n "$runpath_var" ||
12541 test yes = "$hardcode_automatic"; then
12543 # We can hardcode non-existent directories.
12544 if test no
!= "$hardcode_direct" &&
12545 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12546 # have to relink, otherwise we might link with an installed library
12547 # when we should be linking with a yet-to-be-installed one
12548 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12549 test no
!= "$hardcode_minus_L"; then
12550 # Linking always hardcodes the temporary library directory.
12551 hardcode_action
=relink
12553 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12554 hardcode_action
=immediate
12557 # We cannot hardcode anything, or else we can only hardcode existing
12559 hardcode_action
=unsupported
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12562 $as_echo "$hardcode_action" >&6; }
12564 if test relink
= "$hardcode_action" ||
12565 test yes = "$inherit_rpath"; then
12566 # Fast installation is not supported
12567 enable_fast_install
=no
12568 elif test yes = "$shlibpath_overrides_runpath" ||
12569 test no
= "$enable_shared"; then
12570 # Fast installation is not necessary
12571 enable_fast_install
=needless
12579 if test yes != "$enable_dlopen"; then
12580 enable_dlopen
=unknown
12581 enable_dlopen_self
=unknown
12582 enable_dlopen_self_static
=unknown
12589 lt_cv_dlopen
=load_add_on
12591 lt_cv_dlopen_self
=yes
12594 mingw
* | pw32
* | cegcc
*)
12595 lt_cv_dlopen
=LoadLibrary
12600 lt_cv_dlopen
=dlopen
12605 # if libdl is installed we need to link against it
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12607 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12608 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12609 $as_echo_n "(cached) " >&6
12611 ac_check_lib_save_LIBS
=$LIBS
12613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12631 if ac_fn_c_try_link
"$LINENO"; then :
12632 ac_cv_lib_dl_dlopen
=yes
12634 ac_cv_lib_dl_dlopen
=no
12636 rm -f core conftest.err conftest.
$ac_objext \
12637 conftest
$ac_exeext conftest.
$ac_ext
12638 LIBS
=$ac_check_lib_save_LIBS
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12641 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12642 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12643 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12648 lt_cv_dlopen_self
=yes
12655 # Don't try to run any link tests for TPF. We know it's impossible
12656 # because TPF is a cross-compiler, and we know how we open DSOs.
12657 lt_cv_dlopen
=dlopen
12659 lt_cv_dlopen_self
=no
12663 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12664 if test "x$ac_cv_func_shl_load" = xyes
; then :
12665 lt_cv_dlopen
=shl_load
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12668 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12669 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12670 $as_echo_n "(cached) " >&6
12672 ac_check_lib_save_LIBS
=$LIBS
12674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 /* Override any GCC internal prototype to avoid an error.
12678 Use char because int might match the return type of a GCC
12679 builtin and then its argument prototype would still apply. */
12687 return shl_load ();
12692 if ac_fn_c_try_link
"$LINENO"; then :
12693 ac_cv_lib_dld_shl_load
=yes
12695 ac_cv_lib_dld_shl_load
=no
12697 rm -f core conftest.err conftest.
$ac_objext \
12698 conftest
$ac_exeext conftest.
$ac_ext
12699 LIBS
=$ac_check_lib_save_LIBS
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12702 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12703 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12704 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12706 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12707 if test "x$ac_cv_func_dlopen" = xyes
; then :
12708 lt_cv_dlopen
=dlopen
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12711 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12712 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12713 $as_echo_n "(cached) " >&6
12715 ac_check_lib_save_LIBS
=$LIBS
12717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12720 /* Override any GCC internal prototype to avoid an error.
12721 Use char because int might match the return type of a GCC
12722 builtin and then its argument prototype would still apply. */
12735 if ac_fn_c_try_link
"$LINENO"; then :
12736 ac_cv_lib_dl_dlopen
=yes
12738 ac_cv_lib_dl_dlopen
=no
12740 rm -f core conftest.err conftest.
$ac_objext \
12741 conftest
$ac_exeext conftest.
$ac_ext
12742 LIBS
=$ac_check_lib_save_LIBS
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12745 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12746 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12747 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12750 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12751 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12752 $as_echo_n "(cached) " >&6
12754 ac_check_lib_save_LIBS
=$LIBS
12755 LIBS
="-lsvld $LIBS"
12756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12774 if ac_fn_c_try_link
"$LINENO"; then :
12775 ac_cv_lib_svld_dlopen
=yes
12777 ac_cv_lib_svld_dlopen
=no
12779 rm -f core conftest.err conftest.
$ac_objext \
12780 conftest
$ac_exeext conftest.
$ac_ext
12781 LIBS
=$ac_check_lib_save_LIBS
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12784 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12785 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12786 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12789 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12790 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12791 $as_echo_n "(cached) " >&6
12793 ac_check_lib_save_LIBS
=$LIBS
12795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12798 /* Override any GCC internal prototype to avoid an error.
12799 Use char because int might match the return type of a GCC
12800 builtin and then its argument prototype would still apply. */
12808 return dld_link ();
12813 if ac_fn_c_try_link
"$LINENO"; then :
12814 ac_cv_lib_dld_dld_link
=yes
12816 ac_cv_lib_dld_dld_link
=no
12818 rm -f core conftest.err conftest.
$ac_objext \
12819 conftest
$ac_exeext conftest.
$ac_ext
12820 LIBS
=$ac_check_lib_save_LIBS
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12823 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12824 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12825 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12846 if test no
= "$lt_cv_dlopen"; then
12852 case $lt_cv_dlopen in
12854 save_CPPFLAGS
=$CPPFLAGS
12855 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12857 save_LDFLAGS
=$LDFLAGS
12858 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12861 LIBS
="$lt_cv_dlopen_libs $LIBS"
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12864 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12865 if ${lt_cv_dlopen_self+:} false
; then :
12866 $as_echo_n "(cached) " >&6
12868 if test yes = "$cross_compiling"; then :
12869 lt_cv_dlopen_self
=cross
12871 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12872 lt_status
=$lt_dlunknown
12873 cat > conftest.
$ac_ext <<_LT_EOF
12874 #line $LINENO "configure"
12875 #include "confdefs.h"
12884 # define LT_DLGLOBAL RTLD_GLOBAL
12887 # define LT_DLGLOBAL DL_GLOBAL
12889 # define LT_DLGLOBAL 0
12893 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12894 find out it does not work in some platform. */
12895 #ifndef LT_DLLAZY_OR_NOW
12897 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12900 # define LT_DLLAZY_OR_NOW DL_LAZY
12903 # define LT_DLLAZY_OR_NOW RTLD_NOW
12906 # define LT_DLLAZY_OR_NOW DL_NOW
12908 # define LT_DLLAZY_OR_NOW 0
12915 /* When -fvisibility=hidden is used, assume the code has been annotated
12916 correspondingly for the symbols needed. */
12917 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12918 int fnord () __attribute__((visibility("default")));
12921 int fnord () { return 42; }
12924 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12925 int status = $lt_dlunknown;
12929 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12932 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12933 else puts (dlerror ());
12935 /* dlclose (self); */
12943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12944 (eval $ac_link) 2>&5
12946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12947 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12948 (.
/conftest
; exit; ) >&5 2>/dev
/null
12950 case x
$lt_status in
12951 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12952 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12953 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12956 # compilation failed
12957 lt_cv_dlopen_self
=no
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12965 $as_echo "$lt_cv_dlopen_self" >&6; }
12967 if test yes = "$lt_cv_dlopen_self"; then
12968 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12970 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12971 if ${lt_cv_dlopen_self_static+:} false
; then :
12972 $as_echo_n "(cached) " >&6
12974 if test yes = "$cross_compiling"; then :
12975 lt_cv_dlopen_self_static
=cross
12977 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12978 lt_status
=$lt_dlunknown
12979 cat > conftest.
$ac_ext <<_LT_EOF
12980 #line $LINENO "configure"
12981 #include "confdefs.h"
12990 # define LT_DLGLOBAL RTLD_GLOBAL
12993 # define LT_DLGLOBAL DL_GLOBAL
12995 # define LT_DLGLOBAL 0
12999 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13000 find out it does not work in some platform. */
13001 #ifndef LT_DLLAZY_OR_NOW
13003 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13006 # define LT_DLLAZY_OR_NOW DL_LAZY
13009 # define LT_DLLAZY_OR_NOW RTLD_NOW
13012 # define LT_DLLAZY_OR_NOW DL_NOW
13014 # define LT_DLLAZY_OR_NOW 0
13021 /* When -fvisibility=hidden is used, assume the code has been annotated
13022 correspondingly for the symbols needed. */
13023 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13024 int fnord () __attribute__((visibility("default")));
13027 int fnord () { return 42; }
13030 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13031 int status = $lt_dlunknown;
13035 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13038 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13039 else puts (dlerror ());
13041 /* dlclose (self); */
13049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13050 (eval $ac_link) 2>&5
13052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13053 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13054 (.
/conftest
; exit; ) >&5 2>/dev
/null
13056 case x
$lt_status in
13057 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13058 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13059 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13062 # compilation failed
13063 lt_cv_dlopen_self_static
=no
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13071 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13074 CPPFLAGS
=$save_CPPFLAGS
13075 LDFLAGS
=$save_LDFLAGS
13080 case $lt_cv_dlopen_self in
13081 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13082 *) enable_dlopen_self
=unknown
;;
13085 case $lt_cv_dlopen_self_static in
13086 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13087 *) enable_dlopen_self_static
=unknown
;;
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13110 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13111 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
13112 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13113 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13115 $as_echo "yes" >&6; }
13117 # FIXME - insert some real tests, host_os isn't really good enough
13120 if test -n "$STRIP"; then
13121 striplib
="$STRIP -x"
13122 old_striplib
="$STRIP -S"
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13124 $as_echo "yes" >&6; }
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13127 $as_echo "no" >&6; }
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13132 $as_echo "no" >&6; }
13148 # Report what library types will actually be built
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13150 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13152 $as_echo "$can_build_shared" >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13155 $as_echo_n "checking whether to build shared libraries... " >&6; }
13156 test no
= "$can_build_shared" && enable_shared
=no
13158 # On AIX, shared libraries and static libraries use the same namespace, and
13159 # are all built from PIC.
13162 test yes = "$enable_shared" && enable_static
=no
13163 if test -n "$RANLIB"; then
13164 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13165 postinstall_cmds
='$RANLIB $lib'
13170 if test ia64
!= "$host_cpu"; then
13171 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13172 yes,aix
,yes) ;; # shared object as lib.so file only
13173 yes,svr4
,*) ;; # shared object as lib.so archive member only
13174 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13180 $as_echo "$enable_shared" >&6; }
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13183 $as_echo_n "checking whether to build static libraries... " >&6; }
13184 # Make sure either enable_shared or enable_static is yes.
13185 test yes = "$enable_shared" || enable_static
=yes
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13187 $as_echo "$enable_static" >&6; }
13194 ac_cpp
='$CPP $CPPFLAGS'
13195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13201 if test -n "$CXX" && ( test no
!= "$CXX" &&
13202 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13203 (test g
++ != "$CXX"))); then
13205 ac_cpp
='$CXXCPP $CPPFLAGS'
13206 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13207 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13208 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13210 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13211 if test -z "$CXXCPP"; then
13212 if ${ac_cv_prog_CXXCPP+:} false
; then :
13213 $as_echo_n "(cached) " >&6
13215 # Double quotes because CXXCPP needs to be expanded
13216 for CXXCPP
in "$CXX -E" "/lib/cpp"
13218 ac_preproc_ok
=false
13219 for ac_cxx_preproc_warn_flag
in '' yes
13221 # Use a header file that comes with gcc, so configuring glibc
13222 # with a fresh cross-compiler works.
13223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13224 # <limits.h> exists even on freestanding compilers.
13225 # On the NeXT, cc -E runs the code through the compiler's parser,
13226 # not just through cpp. "Syntax error" is here to catch this case.
13227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13228 /* end confdefs.h. */
13230 # include <limits.h>
13232 # include <assert.h>
13236 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13239 # Broken: fails on valid input.
13242 rm -f conftest.err conftest.i conftest.
$ac_ext
13244 # OK, works on sane cases. Now check whether nonexistent headers
13245 # can be detected and how.
13246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13248 #include <ac_nonexistent.h>
13250 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13251 # Broken: success on invalid input.
13254 # Passes both tests.
13258 rm -f conftest.err conftest.i conftest.
$ac_ext
13261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13262 rm -f conftest.i conftest.err conftest.
$ac_ext
13263 if $ac_preproc_ok; then :
13268 ac_cv_prog_CXXCPP
=$CXXCPP
13271 CXXCPP
=$ac_cv_prog_CXXCPP
13273 ac_cv_prog_CXXCPP
=$CXXCPP
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13276 $as_echo "$CXXCPP" >&6; }
13277 ac_preproc_ok
=false
13278 for ac_cxx_preproc_warn_flag
in '' yes
13280 # Use a header file that comes with gcc, so configuring glibc
13281 # with a fresh cross-compiler works.
13282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13283 # <limits.h> exists even on freestanding compilers.
13284 # On the NeXT, cc -E runs the code through the compiler's parser,
13285 # not just through cpp. "Syntax error" is here to catch this case.
13286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13287 /* end confdefs.h. */
13289 # include <limits.h>
13291 # include <assert.h>
13295 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13298 # Broken: fails on valid input.
13301 rm -f conftest.err conftest.i conftest.
$ac_ext
13303 # OK, works on sane cases. Now check whether nonexistent headers
13304 # can be detected and how.
13305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13306 /* end confdefs.h. */
13307 #include <ac_nonexistent.h>
13309 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13310 # Broken: success on invalid input.
13313 # Passes both tests.
13317 rm -f conftest.err conftest.i conftest.
$ac_ext
13320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13321 rm -f conftest.i conftest.err conftest.
$ac_ext
13322 if $ac_preproc_ok; then :
13325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13327 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13328 See \`config.log' for more details" "$LINENO" 5; }
13332 ac_cpp
='$CPP $CPPFLAGS'
13333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13338 _lt_caught_CXX_error
=yes
13342 ac_cpp
='$CXXCPP $CPPFLAGS'
13343 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13344 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13345 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13347 archive_cmds_need_lc_CXX
=no
13348 allow_undefined_flag_CXX
=
13349 always_export_symbols_CXX
=no
13350 archive_expsym_cmds_CXX
=
13351 compiler_needs_object_CXX
=no
13352 export_dynamic_flag_spec_CXX
=
13353 hardcode_direct_CXX
=no
13354 hardcode_direct_absolute_CXX
=no
13355 hardcode_libdir_flag_spec_CXX
=
13356 hardcode_libdir_separator_CXX
=
13357 hardcode_minus_L_CXX
=no
13358 hardcode_shlibpath_var_CXX
=unsupported
13359 hardcode_automatic_CXX
=no
13360 inherit_rpath_CXX
=no
13362 module_expsym_cmds_CXX
=
13363 link_all_deplibs_CXX
=unknown
13364 old_archive_cmds_CXX
=$old_archive_cmds
13365 reload_flag_CXX
=$reload_flag
13366 reload_cmds_CXX
=$reload_cmds
13367 no_undefined_flag_CXX
=
13368 whole_archive_flag_spec_CXX
=
13369 enable_shared_with_static_runtimes_CXX
=no
13371 # Source file extension for C++ test sources.
13374 # Object file extension for compiled C++ test sources.
13378 # No sense in running all these tests if we already determined that
13379 # the CXX compiler isn't working. Some variables (like enable_shared)
13380 # are currently assumed to apply to all compilers on this platform,
13381 # and will be corrupted by setting them based on a non-working compiler.
13382 if test yes != "$_lt_caught_CXX_error"; then
13383 # Code to be used in simple compile tests
13384 lt_simple_compile_test_code
="int some_variable = 0;"
13386 # Code to be used in simple link tests
13387 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13389 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13396 # If no C compiler was specified, use CC.
13399 # If no C compiler flags were specified, use CFLAGS.
13400 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13402 # Allow CC to be a program name with arguments.
13406 # save warnings/boilerplate of simple test code
13407 ac_outfile
=conftest.
$ac_objext
13408 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13409 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13410 _lt_compiler_boilerplate
=`cat conftest.err`
13413 ac_outfile
=conftest.
$ac_objext
13414 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13415 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13416 _lt_linker_boilerplate
=`cat conftest.err`
13420 # Allow CC to be a program name with arguments.
13422 lt_save_CFLAGS
=$CFLAGS
13426 lt_save_with_gnu_ld
=$with_gnu_ld
13427 lt_save_path_LD
=$lt_cv_path_LD
13428 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13429 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13431 $as_unset lt_cv_prog_gnu_ld
13433 if test -n "${lt_cv_path_LDCXX+set}"; then
13434 lt_cv_path_LD
=$lt_cv_path_LDCXX
13436 $as_unset lt_cv_path_LD
13438 test -z "${LDCXX+set}" || LD
=$LDCXX
13443 func_cc_basename
$compiler
13444 cc_basename
=$func_cc_basename_result
13447 if test -n "$compiler"; then
13448 # We don't want -fno-exception when compiling C++ code, so set the
13449 # no_builtin_flag separately
13450 if test yes = "$GXX"; then
13451 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13453 lt_prog_compiler_no_builtin_flag_CXX
=
13456 if test yes = "$GXX"; then
13457 # Set up default GNU C++ configuration
13461 # Check whether --with-gnu-ld was given.
13462 if test "${with_gnu_ld+set}" = set; then :
13463 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
13469 if test yes = "$GCC"; then
13470 # Check if gcc -print-prog-name=ld gives a path.
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13472 $as_echo_n "checking for ld used by $CC... " >&6; }
13475 # gcc leaves a trailing carriage return, which upsets mingw
13476 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13478 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13481 # Accept absolute paths.
13483 re_direlt
='/[^/][^/]*/\.\./'
13484 # Canonicalize the pathname of ld
13485 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13486 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13487 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13489 test -z "$LD" && LD
=$ac_prog
13492 # If it fails, then pretend we aren't using GCC.
13496 # If it is relative, then search for the first ld in PATH.
13497 with_gnu_ld
=unknown
13500 elif test yes = "$with_gnu_ld"; then
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13502 $as_echo_n "checking for GNU ld... " >&6; }
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13505 $as_echo_n "checking for non-GNU ld... " >&6; }
13507 if ${lt_cv_path_LD+:} false
; then :
13508 $as_echo_n "(cached) " >&6
13510 if test -z "$LD"; then
13511 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
13512 for ac_dir
in $PATH; do
13514 test -z "$ac_dir" && ac_dir
=.
13515 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13516 lt_cv_path_LD
=$ac_dir/$ac_prog
13517 # Check to see if the program is GNU ld. I'd rather use --version,
13518 # but apparently some variants of GNU ld only accept -v.
13519 # Break only if it was the GNU/non-GNU ld that we prefer.
13520 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13521 *GNU
* | *'with BFD'*)
13522 test no
!= "$with_gnu_ld" && break
13525 test yes != "$with_gnu_ld" && break
13532 lt_cv_path_LD
=$LD # Let the user override the test with a path.
13537 if test -n "$LD"; then
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13539 $as_echo "$LD" >&6; }
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13542 $as_echo "no" >&6; }
13544 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13546 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13547 if ${lt_cv_prog_gnu_ld+:} false
; then :
13548 $as_echo_n "(cached) " >&6
13550 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13551 case `$LD -v 2>&1 </dev/null` in
13552 *GNU
* | *'with BFD'*)
13553 lt_cv_prog_gnu_ld
=yes
13556 lt_cv_prog_gnu_ld
=no
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13561 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13562 with_gnu_ld
=$lt_cv_prog_gnu_ld
13570 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13571 # archiving commands below assume that GNU ld is being used.
13572 if test yes = "$with_gnu_ld"; then
13573 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13574 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'
13576 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
13577 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13579 # If archive_cmds runs LD, not CC, wlarc should be empty
13580 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13581 # investigate it a little bit more. (MM)
13584 # ancient GNU ld didn't support --whole-archive et. al.
13585 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13586 $GREP 'no-whole-archive' > /dev
/null
; then
13587 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13589 whole_archive_flag_spec_CXX
=
13595 # A generic and very simple default shared library creation
13596 # command for GNU C++ for the case where it uses the native
13597 # linker, instead of GNU ld. If possible, this setting should
13598 # overridden to take advantage of the native linker features on
13599 # the platform it is being used on.
13600 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13603 # Commands to make compiler produce verbose output that lists
13604 # what "hidden" libraries, object files and flags are used when
13605 # linking a shared library.
13606 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13614 # PORTME: fill in a description of your system's C++ link characteristics
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13616 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13620 # FIXME: insert proper C++ library support
13624 if test ia64
= "$host_cpu"; then
13625 # On IA64, the linker does run time linking by default, so we don't
13626 # have to do anything special.
13627 aix_use_runtimelinking
=no
13628 exp_sym_flag
='-Bexport'
13631 aix_use_runtimelinking
=no
13633 # Test if we are trying to use run time linking or normal
13634 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13635 # have runtime linking enabled, and use it for executables.
13636 # For shared libraries, we enable/disable runtime linking
13637 # depending on the kind of the shared library created -
13638 # when "with_aix_soname,aix_use_runtimelinking" is:
13639 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13640 # "aix,yes" lib.so shared, rtl:yes, for executables
13641 # lib.a static archive
13642 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13643 # lib.a(lib.so.V) shared, rtl:no, for executables
13644 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13645 # lib.a(lib.so.V) shared, rtl:no
13646 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13647 # lib.a static archive
13648 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13649 for ld_flag
in $LDFLAGS; do
13652 aix_use_runtimelinking
=yes
13657 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
13658 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13659 # so we don't have lib.a shared libs to link our executables.
13660 # We have to force runtime linking in this case.
13661 aix_use_runtimelinking
=yes
13662 LDFLAGS
="$LDFLAGS -Wl,-brtl"
13667 exp_sym_flag
='-bexport'
13668 no_entry_flag
='-bnoentry'
13671 # When large executables or shared objects are built, AIX ld can
13672 # have problems creating the table of contents. If linking a library
13673 # or program results in "error TOC overflow" add -mminimal-toc to
13674 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13675 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13677 archive_cmds_CXX
=''
13678 hardcode_direct_CXX
=yes
13679 hardcode_direct_absolute_CXX
=yes
13680 hardcode_libdir_separator_CXX
=':'
13681 link_all_deplibs_CXX
=yes
13682 file_list_spec_CXX
='$wl-f,'
13683 case $with_aix_soname,$aix_use_runtimelinking in
13684 aix
,*) ;; # no import file
13685 svr4
,* | *,yes) # use import file
13686 # The Import File defines what to hardcode.
13687 hardcode_direct_CXX
=no
13688 hardcode_direct_absolute_CXX
=no
13692 if test yes = "$GXX"; then
13693 case $host_os in aix4.
[012]|aix4.
[012].
*)
13694 # We only want to do this on AIX 4.2 and lower, the check
13695 # below for broken collect2 doesn't work under 4.3+
13696 collect2name
=`$CC -print-prog-name=collect2`
13697 if test -f "$collect2name" &&
13698 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13700 # We have reworked collect2
13703 # We have old collect2
13704 hardcode_direct_CXX
=unsupported
13705 # It fails to find uninstalled libraries when the uninstalled
13706 # path is not listed in the libpath. Setting hardcode_minus_L
13707 # to unsupported forces relinking
13708 hardcode_minus_L_CXX
=yes
13709 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13710 hardcode_libdir_separator_CXX
=
13713 shared_flag
='-shared'
13714 if test yes = "$aix_use_runtimelinking"; then
13715 shared_flag
=$shared_flag' $wl-G'
13717 # Need to ensure runtime linking is disabled for the traditional
13718 # shared library, or the linker may eventually find shared libraries
13719 # /with/ Import File - we do not want to mix them.
13720 shared_flag_aix
='-shared'
13721 shared_flag_svr4
='-shared $wl-G'
13724 if test ia64
= "$host_cpu"; then
13725 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13726 # chokes on -Wl,-G. The following line is correct:
13729 if test yes = "$aix_use_runtimelinking"; then
13730 shared_flag
='$wl-G'
13732 shared_flag
='$wl-bM:SRE'
13734 shared_flag_aix
='$wl-bM:SRE'
13735 shared_flag_svr4
='$wl-G'
13739 export_dynamic_flag_spec_CXX
='$wl-bexpall'
13740 # It seems that -bexpall does not export symbols beginning with
13741 # underscore (_), so it is better to generate a list of symbols to
13743 always_export_symbols_CXX
=yes
13744 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13745 # Warning - without using the other runtime loading flags (-brtl),
13746 # -berok will link without error, but may produce a broken library.
13747 # The "-G" linker flag allows undefined symbols.
13748 no_undefined_flag_CXX
='-bernotok'
13749 # Determine the default libpath from the value encoded in an empty
13751 if test set = "${lt_cv_aix_libpath+set}"; then
13752 aix_libpath
=$lt_cv_aix_libpath
13754 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13755 $as_echo_n "(cached) " >&6
13757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13768 if ac_fn_cxx_try_link
"$LINENO"; then :
13770 lt_aix_libpath_sed
='
13771 /Import File Strings/,/^$/ {
13773 s/^0 *\([^ ]*\) *$/\1/
13777 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13778 # Check for a 64-bit object if we didn't find anything.
13779 if test -z "$lt_cv_aix_libpath__CXX"; then
13780 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13783 rm -f core conftest.err conftest.
$ac_objext \
13784 conftest
$ac_exeext conftest.
$ac_ext
13785 if test -z "$lt_cv_aix_libpath__CXX"; then
13786 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13791 aix_libpath
=$lt_cv_aix_libpath__CXX
13794 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13796 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
13798 if test ia64
= "$host_cpu"; then
13799 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
13800 allow_undefined_flag_CXX
="-z nodefs"
13801 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"
13803 # Determine the default libpath from the value encoded in an
13804 # empty executable.
13805 if test set = "${lt_cv_aix_libpath+set}"; then
13806 aix_libpath
=$lt_cv_aix_libpath
13808 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13809 $as_echo_n "(cached) " >&6
13811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13822 if ac_fn_cxx_try_link
"$LINENO"; then :
13824 lt_aix_libpath_sed
='
13825 /Import File Strings/,/^$/ {
13827 s/^0 *\([^ ]*\) *$/\1/
13831 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13832 # Check for a 64-bit object if we didn't find anything.
13833 if test -z "$lt_cv_aix_libpath__CXX"; then
13834 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13837 rm -f core conftest.err conftest.
$ac_objext \
13838 conftest
$ac_exeext conftest.
$ac_ext
13839 if test -z "$lt_cv_aix_libpath__CXX"; then
13840 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13845 aix_libpath
=$lt_cv_aix_libpath__CXX
13848 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13849 # Warning - without using the other run time loading flags,
13850 # -berok will link without error, but may produce a broken library.
13851 no_undefined_flag_CXX
=' $wl-bernotok'
13852 allow_undefined_flag_CXX
=' $wl-berok'
13853 if test yes = "$with_gnu_ld"; then
13854 # We only use this code for GNU lds that support --whole-archive.
13855 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
13857 # Exported symbols can be pulled into shared objects from archives
13858 whole_archive_flag_spec_CXX
='$convenience'
13860 archive_cmds_need_lc_CXX
=yes
13861 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13862 # -brtl affects multiple linker settings, -berok does not and is overridden later
13863 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13864 if test svr4
!= "$with_aix_soname"; then
13865 # This is similar to how AIX traditionally builds its shared
13866 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13867 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'
13869 if test aix
!= "$with_aix_soname"; then
13870 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'
13872 # used by -dlpreopen to get the symbols
13873 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13875 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13881 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13882 allow_undefined_flag_CXX
=unsupported
13883 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13884 # support --undefined. This deserves some investigation. FIXME
13885 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13892 case $cc_basename in
13894 # FIXME: insert proper C++ library support
13900 cygwin
* | mingw
* | pw32
* | cegcc
*)
13901 case $GXX,$cc_basename in
13904 # hardcode_libdir_flag_spec is actually meaningless, as there is
13905 # no search path for DLLs.
13906 hardcode_libdir_flag_spec_CXX
=' '
13907 allow_undefined_flag_CXX
=unsupported
13908 always_export_symbols_CXX
=yes
13909 file_list_spec_CXX
='@'
13910 # Tell ltmain to make .lib files, not .a files.
13912 # Tell ltmain to make .dll files, not .so files.
13914 # FIXME: Setting linknames here is a bad hack.
13915 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13916 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13917 cp "$export_symbols" "$output_objdir/$soname.def";
13918 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13920 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13922 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13924 # The linker will not automatically build a static lib if we build a DLL.
13925 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13926 enable_shared_with_static_runtimes_CXX
=yes
13928 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13929 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13930 lt_tool_outputfile="@TOOL_OUTPUT@"~
13931 case $lt_outputfile in
13934 lt_outputfile=$lt_outputfile.exe
13935 lt_tool_outputfile=$lt_tool_outputfile.exe
13938 func_to_tool_file "$lt_outputfile"~
13939 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13940 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13941 $RM "$lt_outputfile.manifest";
13946 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13947 # as there is no search path for DLLs.
13948 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13949 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
13950 allow_undefined_flag_CXX
=unsupported
13951 always_export_symbols_CXX
=no
13952 enable_shared_with_static_runtimes_CXX
=yes
13954 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13955 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'
13956 # If the export-symbols file already is a .def file, use it as
13957 # is; otherwise, prepend EXPORTS...
13958 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13959 cp $export_symbols $output_objdir/$soname.def;
13961 echo EXPORTS > $output_objdir/$soname.def;
13962 cat $export_symbols >> $output_objdir/$soname.def;
13964 $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'
13971 darwin
* | rhapsody
*)
13974 archive_cmds_need_lc_CXX
=no
13975 hardcode_direct_CXX
=no
13976 hardcode_automatic_CXX
=yes
13977 hardcode_shlibpath_var_CXX
=unsupported
13978 if test yes = "$lt_cv_ld_force_load"; then
13979 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\"`'
13982 whole_archive_flag_spec_CXX
=''
13984 link_all_deplibs_CXX
=yes
13985 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
13986 case $cc_basename in
13987 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
13988 *) _lt_dar_can_shared
=$GCC ;;
13990 if test yes = "$_lt_dar_can_shared"; then
13991 output_verbose_link_cmd
=func_echo_all
13992 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"
13993 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13994 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"
13995 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"
13996 if test yes != "$lt_cv_apple_cc_single_mod"; then
13997 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"
13998 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"
14008 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14009 hardcode_minus_L_CXX
=yes
14010 allow_undefined_flag_CXX
=unsupported
14012 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14013 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14014 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14015 $ECHO EXPORTS >> $output_objdir/$libname.def~
14016 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14017 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14018 emximp -o $lib $output_objdir/$libname.def'
14019 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14020 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14021 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14022 $ECHO EXPORTS >> $output_objdir/$libname.def~
14023 prefix_cmds="$SED"~
14024 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14025 prefix_cmds="$prefix_cmds -e 1d";
14027 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14028 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14029 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14030 emximp -o $lib $output_objdir/$libname.def'
14031 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14032 enable_shared_with_static_runtimes_CXX
=yes
14036 case $cc_basename in
14038 # FIXME: insert proper C++ library support
14042 # Green Hills C++ Compiler
14043 # FIXME: insert proper C++ library support
14047 # FIXME: insert proper C++ library support
14054 # C++ shared libraries reported to be fairly broken before
14060 archive_cmds_need_lc_CXX
=no
14063 freebsd
* | dragonfly
*)
14064 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14070 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14071 link_all_deplibs_CXX
=yes
14075 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14076 hardcode_libdir_separator_CXX
=:
14077 export_dynamic_flag_spec_CXX
='$wl-E'
14078 hardcode_direct_CXX
=yes
14079 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14080 # but as the default
14081 # location of the library.
14083 case $cc_basename in
14085 # FIXME: insert proper C++ library support
14089 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'
14090 # Commands to make compiler produce verbose output that lists
14091 # what "hidden" libraries, object files and flags are used when
14092 # linking a shared library.
14094 # There doesn't appear to be a way to prevent this compiler from
14095 # explicitly linking system object files so we need to strip them
14096 # from the output so that they don't get included in the library
14098 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"'
14101 if test yes = "$GXX"; then
14102 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'
14104 # FIXME: insert proper C++ library support
14112 if test no
= "$with_gnu_ld"; then
14113 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14114 hardcode_libdir_separator_CXX
=:
14120 export_dynamic_flag_spec_CXX
='$wl-E'
14126 hardcode_direct_CXX
=no
14127 hardcode_shlibpath_var_CXX
=no
14130 hardcode_direct_CXX
=yes
14131 hardcode_direct_absolute_CXX
=yes
14132 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14133 # but as the default
14134 # location of the library.
14138 case $cc_basename in
14140 # FIXME: insert proper C++ library support
14146 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14149 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14152 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14155 # Commands to make compiler produce verbose output that lists
14156 # what "hidden" libraries, object files and flags are used when
14157 # linking a shared library.
14159 # There doesn't appear to be a way to prevent this compiler from
14160 # explicitly linking system object files so we need to strip them
14161 # from the output so that they don't get included in the library
14163 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"'
14166 if test yes = "$GXX"; then
14167 if test no
= "$with_gnu_ld"; then
14170 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14173 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14176 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'
14181 # FIXME: insert proper C++ library support
14189 hardcode_direct_CXX
=no
14190 hardcode_shlibpath_var_CXX
=no
14191 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14192 export_dynamic_flag_spec_CXX
='$wl-E'
14193 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14194 # Instead, shared libraries are loaded at an image base (0x10000000 by
14195 # default) and relocated if they conflict, which is a slow very memory
14196 # consuming and fragmenting process. To avoid this, we pick a random,
14197 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14198 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14199 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'
14200 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'
14203 case $cc_basename in
14206 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'
14208 # Archives containing C++ object files must be created using
14209 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14210 # necessary to make sure instantiated templates are included
14212 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14215 if test yes = "$GXX"; then
14216 if test no
= "$with_gnu_ld"; then
14217 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'
14219 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'
14222 link_all_deplibs_CXX
=yes
14225 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14226 hardcode_libdir_separator_CXX
=:
14227 inherit_rpath_CXX
=yes
14230 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14231 case $cc_basename in
14233 # Kuck and Associates, Inc. (KAI) C++ Compiler
14235 # KCC will only create a shared library if the output file
14236 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14237 # to its proper name (with version) after linking.
14238 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'
14239 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'
14240 # Commands to make compiler produce verbose output that lists
14241 # what "hidden" libraries, object files and flags are used when
14242 # linking a shared library.
14244 # There doesn't appear to be a way to prevent this compiler from
14245 # explicitly linking system object files so we need to strip them
14246 # from the output so that they don't get included in the library
14248 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"'
14250 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14251 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14253 # Archives containing C++ object files must be created using
14254 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14255 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14260 # version 8.0 and above of icpc choke on multiply defined symbols
14261 # if we add $predep_objects and $postdep_objects, however 7.1 and
14262 # earlier do not add the objects themselves.
14263 case `$CC -V 2>&1` in
14265 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14266 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'
14268 *) # Version 8.0 or newer
14271 ia64
*) tmp_idyn
=' -i_dynamic';;
14273 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14274 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'
14277 archive_cmds_need_lc_CXX
=no
14278 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14279 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14280 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14283 # Portland Group C++ compiler
14285 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
14286 prelink_cmds_CXX
='tpldir=Template.dir~
14288 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14289 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14290 old_archive_cmds_CXX
='tpldir=Template.dir~
14292 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14293 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14295 archive_cmds_CXX
='tpldir=Template.dir~
14297 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14298 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14299 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14301 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14302 $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'
14304 *) # Version 6 and above use weak symbols
14305 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14306 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'
14310 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
14311 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14312 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'
14316 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14317 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'
14319 runpath_var
=LD_RUN_PATH
14320 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14321 hardcode_libdir_separator_CXX
=:
14323 # Commands to make compiler produce verbose output that lists
14324 # what "hidden" libraries, object files and flags are used when
14325 # linking a shared library.
14327 # There doesn't appear to be a way to prevent this compiler from
14328 # explicitly linking system object files so we need to strip them
14329 # from the output so that they don't get included in the library
14331 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'
14333 xl
* | mpixl
* | bgxl
*)
14334 # IBM XL 8.0 on PPC, with GNU ld
14335 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14336 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14337 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14338 if test yes = "$supports_anon_versioning"; then
14339 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14340 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14341 echo "local: *; };" >> $output_objdir/$libname.ver~
14342 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14346 case `$CC -V 2>&1 | sed 5q` in
14349 no_undefined_flag_CXX
=' -zdefs'
14350 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14351 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'
14352 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14353 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'
14354 compiler_needs_object_CXX
=yes
14356 # Not sure whether something based on
14357 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14359 output_verbose_link_cmd
='func_echo_all'
14361 # Archives containing C++ object files must be created using
14362 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14363 # necessary to make sure instantiated templates are included
14365 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14373 # FIXME: insert proper C++ library support
14378 # FIXME: insert proper C++ library support
14383 case $cc_basename in
14385 # FIXME: insert proper C++ library support
14389 # FIXME: insert proper C++ library support
14396 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14397 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14399 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14400 hardcode_direct_CXX
=yes
14401 hardcode_shlibpath_var_CXX
=no
14403 # Workaround some broken pre-1.5 toolchains
14404 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14411 openbsd
* | bitrig
*)
14412 if test -f /usr
/libexec
/ld.so
; then
14413 hardcode_direct_CXX
=yes
14414 hardcode_shlibpath_var_CXX
=no
14415 hardcode_direct_absolute_CXX
=yes
14416 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14417 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14418 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14419 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14420 export_dynamic_flag_spec_CXX
='$wl-E'
14421 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14423 output_verbose_link_cmd
=func_echo_all
14429 osf3
* | osf4
* | osf5
*)
14430 case $cc_basename in
14432 # Kuck and Associates, Inc. (KAI) C++ Compiler
14434 # KCC will only create a shared library if the output file
14435 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14436 # to its proper name (with version) after linking.
14437 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'
14439 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14440 hardcode_libdir_separator_CXX
=:
14442 # Archives containing C++ object files must be created using
14443 # the KAI C++ compiler.
14445 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14446 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14450 # Rational C++ 2.4.1
14451 # FIXME: insert proper C++ library support
14457 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14458 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'
14459 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14462 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14463 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'
14464 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14465 echo "-hidden">> $lib.exp~
14466 $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~
14468 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14472 hardcode_libdir_separator_CXX
=:
14474 # Commands to make compiler produce verbose output that lists
14475 # what "hidden" libraries, object files and flags are used when
14476 # linking a shared library.
14478 # There doesn't appear to be a way to prevent this compiler from
14479 # explicitly linking system object files so we need to strip them
14480 # from the output so that they don't get included in the library
14482 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"'
14485 if test yes,no
= "$GXX,$with_gnu_ld"; then
14486 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14489 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'
14492 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'
14496 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14497 hardcode_libdir_separator_CXX
=:
14499 # Commands to make compiler produce verbose output that lists
14500 # what "hidden" libraries, object files and flags are used when
14501 # linking a shared library.
14502 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14505 # FIXME: insert proper C++ library support
14513 # FIXME: insert proper C++ library support
14518 case $cc_basename in
14521 # FIXME: insert proper C++ library support
14526 # FIXME: insert proper C++ library support
14530 # FIXME: insert proper C++ library support
14537 case $cc_basename in
14539 # Sun C++ 4.2, 5.x and Centerline C++
14540 archive_cmds_need_lc_CXX
=yes
14541 no_undefined_flag_CXX
=' -zdefs'
14542 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14543 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14544 $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'
14546 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14547 hardcode_shlibpath_var_CXX
=no
14549 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14551 # The compiler driver will combine and reorder linker options,
14552 # but understands '-z linker_flag'.
14553 # Supported since Solaris 2.6 (maybe 2.5.1?)
14554 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14557 link_all_deplibs_CXX
=yes
14559 output_verbose_link_cmd
='func_echo_all'
14561 # Archives containing C++ object files must be created using
14562 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14563 # necessary to make sure instantiated templates are included
14565 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14568 # Green Hills C++ Compiler
14569 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14571 # The C++ compiler must be used to create the archive.
14572 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14575 # GNU C++ compiler with Solaris linker
14576 if test yes,no
= "$GXX,$with_gnu_ld"; then
14577 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
14578 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14579 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14580 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14581 $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'
14583 # Commands to make compiler produce verbose output that lists
14584 # what "hidden" libraries, object files and flags are used when
14585 # linking a shared library.
14586 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14588 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14590 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14591 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14592 $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'
14594 # Commands to make compiler produce verbose output that lists
14595 # what "hidden" libraries, object files and flags are used when
14596 # linking a shared library.
14597 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14600 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
14602 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14604 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14612 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14613 no_undefined_flag_CXX
='$wl-z,text'
14614 archive_cmds_need_lc_CXX
=no
14615 hardcode_shlibpath_var_CXX
=no
14616 runpath_var
='LD_RUN_PATH'
14618 case $cc_basename in
14620 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14621 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14624 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14625 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14630 sysv5
* | sco3.2v5
* | sco5v6
*)
14631 # Note: We CANNOT use -z defs as we might desire, because we do not
14632 # link with -lc, and that would cause any symbols used from libc to
14633 # always be unresolved, which means just about no library would
14634 # ever link correctly. If we're not using GNU ld we use -z text
14635 # though, which does catch some bad symbols but isn't as heavy-handed
14637 no_undefined_flag_CXX
='$wl-z,text'
14638 allow_undefined_flag_CXX
='$wl-z,nodefs'
14639 archive_cmds_need_lc_CXX
=no
14640 hardcode_shlibpath_var_CXX
=no
14641 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
14642 hardcode_libdir_separator_CXX
=':'
14643 link_all_deplibs_CXX
=yes
14644 export_dynamic_flag_spec_CXX
='$wl-Bexport'
14645 runpath_var
='LD_RUN_PATH'
14647 case $cc_basename in
14649 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14650 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14651 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14652 '"$old_archive_cmds_CXX"
14653 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14654 '"$reload_cmds_CXX"
14657 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14658 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14664 case $cc_basename in
14666 # NonStop-UX NCC 3.20
14667 # FIXME: insert proper C++ library support
14671 # FIXME: insert proper C++ library support
14678 # FIXME: insert proper C++ library support
14683 # FIXME: insert proper C++ library support
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14689 $as_echo "$ld_shlibs_CXX" >&6; }
14690 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
14696 ## There is no encapsulation within the following macros, do not change
14697 ## the running order or otherwise move them around unless you know exactly
14698 ## what you are doing...
14699 # Dependencies to place before and after the object being linked:
14700 predep_objects_CXX
=
14701 postdep_objects_CXX
=
14704 compiler_lib_search_path_CXX
=
14706 cat > conftest.
$ac_ext <<_LT_EOF
14710 Foo (void) { a = 0; }
14717 _lt_libdeps_save_CFLAGS
=$CFLAGS
14718 case "$CC $CFLAGS " in #(
14719 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14720 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14721 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14725 (eval $ac_compile) 2>&5
14727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14728 test $ac_status = 0; }; then
14729 # Parse the compiler output and extract the necessary
14730 # objects, libraries and library flags.
14732 # Sentinel used to keep track of whether or not we are before
14733 # the conftest object file.
14734 pre_test_object_deps_done
=no
14736 for p
in `eval "$output_verbose_link_cmd"`; do
14740 # Some compilers place space between "-{L,R}" and the path.
14741 # Remove the space.
14742 if test x
-L = "$p" ||
14743 test x
-R = "$p"; then
14748 # Expand the sysroot to ease extracting the directories later.
14749 if test -z "$prev"; then
14751 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14752 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14753 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14757 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14759 if test no
= "$pre_test_object_deps_done"; then
14762 # Internal compiler library paths should come after those
14763 # provided the user. The postdeps already come after the
14764 # user supplied libs so there is no need to process them.
14765 if test -z "$compiler_lib_search_path_CXX"; then
14766 compiler_lib_search_path_CXX
=$prev$p
14768 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
14771 # The "-l" case would never come before the object being
14772 # linked, so don't bother handling this case.
14775 if test -z "$postdeps_CXX"; then
14776 postdeps_CXX
=$prev$p
14778 postdeps_CXX
="${postdeps_CXX} $prev$p"
14784 *.lto.
$objext) ;; # Ignore GCC LTO objects
14786 # This assumes that the test object file only shows up
14787 # once in the compiler output.
14788 if test "$p" = "conftest.$objext"; then
14789 pre_test_object_deps_done
=yes
14793 if test no
= "$pre_test_object_deps_done"; then
14794 if test -z "$predep_objects_CXX"; then
14795 predep_objects_CXX
=$p
14797 predep_objects_CXX
="$predep_objects_CXX $p"
14800 if test -z "$postdep_objects_CXX"; then
14801 postdep_objects_CXX
=$p
14803 postdep_objects_CXX
="$postdep_objects_CXX $p"
14808 *) ;; # Ignore the rest.
14816 echo "libtool.m4: error: problem compiling CXX test program"
14819 $RM -f confest.
$objext
14820 CFLAGS
=$_lt_libdeps_save_CFLAGS
14822 # PORTME: override above test on systems where it is broken
14825 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14826 # hack all around it, let's just trust "g++" to DTRT.
14827 predep_objects_CXX
=
14828 postdep_objects_CXX
=
14834 case " $postdeps_CXX " in
14835 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14837 compiler_lib_search_dirs_CXX
=
14838 if test -n "${compiler_lib_search_path_CXX}"; then
14839 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14872 lt_prog_compiler_wl_CXX
=
14873 lt_prog_compiler_pic_CXX
=
14874 lt_prog_compiler_static_CXX
=
14877 # C++ specific cases for pic, static, wl, etc.
14878 if test yes = "$GXX"; then
14879 lt_prog_compiler_wl_CXX
='-Wl,'
14880 lt_prog_compiler_static_CXX
='-static'
14884 # All AIX code is PIC.
14885 if test ia64
= "$host_cpu"; then
14886 # AIX 5 now supports IA64 processor
14887 lt_prog_compiler_static_CXX
='-Bstatic'
14889 lt_prog_compiler_pic_CXX
='-fPIC'
14895 # see comment about AmigaOS4 .so support
14896 lt_prog_compiler_pic_CXX
='-fPIC'
14899 # FIXME: we need at least 68020 code to build shared libraries, but
14900 # adding the '-m68020' flag to GCC prevents building anything better,
14902 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14907 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14908 # PIC is the default for these OSes.
14910 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14911 # This hack is so that the source file can tell whether it is being
14912 # built for inclusion in a dll (and should export symbols for example).
14913 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14914 # (--disable-auto-import) libraries
14915 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14918 lt_prog_compiler_static_CXX
='$wl-static'
14922 darwin
* | rhapsody
*)
14923 # PIC is the default on this platform
14924 # Common symbols not allowed in MH_DYLIB files
14925 lt_prog_compiler_pic_CXX
='-fno-common'
14928 # DJGPP does not support shared libraries at all
14929 lt_prog_compiler_pic_CXX
=
14932 # PIC is the default for Haiku.
14933 # The "-static" flag exists, but is broken.
14934 lt_prog_compiler_static_CXX
=
14937 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14938 # Instead, we relocate shared libraries at runtime.
14941 if test -d /usr
/nec
; then
14942 lt_prog_compiler_pic_CXX
=-Kconform_pic
14946 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14947 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14948 # sets the default TLS model and affects inlining.
14953 lt_prog_compiler_pic_CXX
='-fPIC'
14958 # QNX uses GNU C++, but need to define -shared option too, otherwise
14959 # it will coredump.
14960 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14963 lt_prog_compiler_pic_CXX
='-fPIC'
14969 # All AIX code is PIC.
14970 if test ia64
= "$host_cpu"; then
14971 # AIX 5 now supports IA64 processor
14972 lt_prog_compiler_static_CXX
='-Bstatic'
14974 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14978 case $cc_basename in
14980 # Green Hills C++ Compiler
14981 # _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"
14985 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14986 # This hack is so that the source file can tell whether it is being
14987 # built for inclusion in a dll (and should export symbols for example).
14988 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14991 case $cc_basename in
14993 lt_prog_compiler_pic_CXX
='-KPIC'
14996 # Green Hills C++ Compiler
14997 lt_prog_compiler_pic_CXX
='-pic'
15003 freebsd
* | dragonfly
*)
15004 # FreeBSD uses GNU C++
15006 hpux9
* | hpux10
* | hpux11
*)
15007 case $cc_basename in
15009 lt_prog_compiler_wl_CXX
='-Wl,'
15010 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15011 if test ia64
!= "$host_cpu"; then
15012 lt_prog_compiler_pic_CXX
='+Z'
15016 lt_prog_compiler_wl_CXX
='-Wl,'
15017 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15023 lt_prog_compiler_pic_CXX
='+Z'
15032 # This is c89, which is MS Visual C++ (no shared libs)
15033 # Anyone wants to do a port?
15035 irix5
* | irix6
* | nonstopux
*)
15036 case $cc_basename in
15038 lt_prog_compiler_wl_CXX
='-Wl,'
15039 lt_prog_compiler_static_CXX
='-non_shared'
15040 # CC pic flag -KPIC is the default.
15046 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15047 case $cc_basename in
15050 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15051 lt_prog_compiler_pic_CXX
='-fPIC'
15054 # old Intel C++ for x86_64, which still supported -KPIC.
15055 lt_prog_compiler_wl_CXX
='-Wl,'
15056 lt_prog_compiler_pic_CXX
='-KPIC'
15057 lt_prog_compiler_static_CXX
='-static'
15060 # Intel C++, used to be incompatible with GCC.
15061 # ICC 10 doesn't accept -KPIC any more.
15062 lt_prog_compiler_wl_CXX
='-Wl,'
15063 lt_prog_compiler_pic_CXX
='-fPIC'
15064 lt_prog_compiler_static_CXX
='-static'
15067 # Portland Group C++ compiler
15068 lt_prog_compiler_wl_CXX
='-Wl,'
15069 lt_prog_compiler_pic_CXX
='-fpic'
15070 lt_prog_compiler_static_CXX
='-Bstatic'
15074 # Make sure the PIC flag is empty. It appears that all Alpha
15075 # Linux and Compaq Tru64 Unix objects are PIC.
15076 lt_prog_compiler_pic_CXX
=
15077 lt_prog_compiler_static_CXX
='-non_shared'
15079 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15080 # IBM XL 8.0, 9.0 on PPC and BlueGene
15081 lt_prog_compiler_wl_CXX
='-Wl,'
15082 lt_prog_compiler_pic_CXX
='-qpic'
15083 lt_prog_compiler_static_CXX
='-qstaticlink'
15086 case `$CC -V 2>&1 | sed 5q` in
15089 lt_prog_compiler_pic_CXX
='-KPIC'
15090 lt_prog_compiler_static_CXX
='-Bstatic'
15091 lt_prog_compiler_wl_CXX
='-Qoption ld '
15102 case $cc_basename in
15104 lt_prog_compiler_pic_CXX
='-W c,exportall'
15113 # QNX uses GNU C++, but need to define -shared option too, otherwise
15114 # it will coredump.
15115 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15117 osf3
* | osf4
* | osf5
*)
15118 case $cc_basename in
15120 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15123 # Rational C++ 2.4.1
15124 lt_prog_compiler_pic_CXX
='-pic'
15127 # Digital/Compaq C++
15128 lt_prog_compiler_wl_CXX
='-Wl,'
15129 # Make sure the PIC flag is empty. It appears that all Alpha
15130 # Linux and Compaq Tru64 Unix objects are PIC.
15131 lt_prog_compiler_pic_CXX
=
15132 lt_prog_compiler_static_CXX
='-non_shared'
15141 case $cc_basename in
15143 # Sun C++ 4.2, 5.x and Centerline C++
15144 lt_prog_compiler_pic_CXX
='-KPIC'
15145 lt_prog_compiler_static_CXX
='-Bstatic'
15146 lt_prog_compiler_wl_CXX
='-Qoption ld '
15149 # Green Hills C++ Compiler
15150 lt_prog_compiler_pic_CXX
='-PIC'
15157 case $cc_basename in
15160 lt_prog_compiler_pic_CXX
='-pic'
15161 lt_prog_compiler_static_CXX
='-Bstatic'
15165 lt_prog_compiler_pic_CXX
='-pic'
15171 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15172 case $cc_basename in
15174 lt_prog_compiler_wl_CXX
='-Wl,'
15175 lt_prog_compiler_pic_CXX
='-KPIC'
15176 lt_prog_compiler_static_CXX
='-Bstatic'
15181 case $cc_basename in
15183 # NonStop-UX NCC 3.20
15184 lt_prog_compiler_pic_CXX
='-KPIC'
15193 lt_prog_compiler_can_build_shared_CXX
=no
15199 # For platforms that do not support PIC, -DPIC is meaningless:
15201 lt_prog_compiler_pic_CXX
=
15204 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15209 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15210 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
15211 $as_echo_n "(cached) " >&6
15213 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15216 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15217 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
15220 # Check to make sure the PIC flag actually works.
15222 if test -n "$lt_prog_compiler_pic_CXX"; then
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15224 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15225 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
15226 $as_echo_n "(cached) " >&6
15228 lt_cv_prog_compiler_pic_works_CXX
=no
15229 ac_outfile
=conftest.
$ac_objext
15230 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15231 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15232 # Insert the option either (1) after the last *FLAGS variable, or
15233 # (2) before a word containing "conftest.", or (3) at the end.
15234 # Note that $ac_compile itself does not contain backslashes and begins
15235 # with a dollar sign (not a hyphen), so the echo should work correctly.
15236 # The option is referenced via a variable to avoid confusing sed.
15237 lt_compile
=`echo "$ac_compile" | $SED \
15238 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15239 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15240 -e 's:$: $lt_compiler_flag:'`
15241 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15242 (eval "$lt_compile" 2>conftest.err
)
15244 cat conftest.err
>&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 if (exit $ac_status) && test -s "$ac_outfile"; then
15247 # The compiler can only warn and ignore the option if not recognized
15248 # So say no if there are warnings other than the usual output.
15249 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15250 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15251 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15252 lt_cv_prog_compiler_pic_works_CXX
=yes
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15259 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15261 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15262 case $lt_prog_compiler_pic_CXX in
15264 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15267 lt_prog_compiler_pic_CXX
=
15268 lt_prog_compiler_can_build_shared_CXX
=no
15278 # Check to make sure the static flag actually works.
15280 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15282 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15283 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
15284 $as_echo_n "(cached) " >&6
15286 lt_cv_prog_compiler_static_works_CXX
=no
15287 save_LDFLAGS
=$LDFLAGS
15288 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15289 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15290 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15291 # The linker can only warn and ignore the option if not recognized
15292 # So say no if there are warnings
15293 if test -s conftest.err
; then
15294 # Append any errors to the config.log.
15295 cat conftest.err
1>&5
15296 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15297 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15298 if diff conftest.exp conftest.er2
>/dev
/null
; then
15299 lt_cv_prog_compiler_static_works_CXX
=yes
15302 lt_cv_prog_compiler_static_works_CXX
=yes
15306 LDFLAGS
=$save_LDFLAGS
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15310 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15312 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15315 lt_prog_compiler_static_CXX
=
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15322 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15323 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15324 $as_echo_n "(cached) " >&6
15326 lt_cv_prog_compiler_c_o_CXX
=no
15327 $RM -r conftest
2>/dev
/null
15331 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15333 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15334 # Insert the option either (1) after the last *FLAGS variable, or
15335 # (2) before a word containing "conftest.", or (3) at the end.
15336 # Note that $ac_compile itself does not contain backslashes and begins
15337 # with a dollar sign (not a hyphen), so the echo should work correctly.
15338 lt_compile
=`echo "$ac_compile" | $SED \
15339 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15340 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15341 -e 's:$: $lt_compiler_flag:'`
15342 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15343 (eval "$lt_compile" 2>out
/conftest.err
)
15345 cat out
/conftest.err
>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15349 # The compiler can only warn and ignore the option if not recognized
15350 # So say no if there are warnings
15351 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15352 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15353 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15354 lt_cv_prog_compiler_c_o_CXX
=yes
15359 # SGI C++ compiler will create directory out/ii_files/ for
15360 # template instantiation
15361 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15362 $RM out
/* && rmdir out
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15369 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15374 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15375 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15376 $as_echo_n "(cached) " >&6
15378 lt_cv_prog_compiler_c_o_CXX
=no
15379 $RM -r conftest
2>/dev
/null
15383 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15385 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15386 # Insert the option either (1) after the last *FLAGS variable, or
15387 # (2) before a word containing "conftest.", or (3) at the end.
15388 # Note that $ac_compile itself does not contain backslashes and begins
15389 # with a dollar sign (not a hyphen), so the echo should work correctly.
15390 lt_compile
=`echo "$ac_compile" | $SED \
15391 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15392 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15393 -e 's:$: $lt_compiler_flag:'`
15394 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15395 (eval "$lt_compile" 2>out
/conftest.err
)
15397 cat out
/conftest.err
>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15401 # The compiler can only warn and ignore the option if not recognized
15402 # So say no if there are warnings
15403 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15404 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15405 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15406 lt_cv_prog_compiler_c_o_CXX
=yes
15411 # SGI C++ compiler will create directory out/ii_files/ for
15412 # template instantiation
15413 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15414 $RM out
/* && rmdir out
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15421 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15426 hard_links
=nottested
15427 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
15428 # do not overwrite the value of need_locks provided by the user
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15430 $as_echo_n "checking if we can lock with hard links... " >&6; }
15433 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15435 ln conftest.a conftest.b
2>&5 || hard_links
=no
15436 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15438 $as_echo "$hard_links" >&6; }
15439 if test no
= "$hard_links"; then
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15441 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15451 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15453 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15454 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15457 # If we're using GNU nm, then we don't want the "-C" option.
15458 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15459 # Without the "-l" option, or with the "-B" option, AIX nm treats
15460 # weak defined symbols like other global defined symbols, whereas
15461 # GNU nm marks them as "W".
15462 # While the 'weak' keyword is ignored in the Export File, we need
15463 # it in the Import File for the 'aix-soname' feature, so we have
15464 # to replace the "-B" option with "-P" for AIX nm.
15465 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
15466 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'
15468 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'
15472 export_symbols_cmds_CXX
=$ltdll_cmds
15474 cygwin
* | mingw
* | cegcc
*)
15475 case $cc_basename in
15477 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15480 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'
15481 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15486 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15491 $as_echo "$ld_shlibs_CXX" >&6; }
15492 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15494 with_gnu_ld_CXX
=$with_gnu_ld
15502 # Do we need to explicitly link libc?
15504 case "x$archive_cmds_need_lc_CXX" in
15506 # Assume -lc should be added
15507 archive_cmds_need_lc_CXX
=yes
15509 if test yes,yes = "$GCC,$enable_shared"; then
15510 case $archive_cmds_CXX in
15512 # FIXME: we may have to deal with multi-command sequences.
15515 # Test whether the compiler implicitly links with -lc since on some
15516 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15517 # to ld, don't add -lc before -lgcc.
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15519 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15520 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15521 $as_echo_n "(cached) " >&6
15524 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15527 (eval $ac_compile) 2>&5
15529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15530 test $ac_status = 0; } 2>conftest.err
; then
15533 libobjs
=conftest.
$ac_objext
15535 wl
=$lt_prog_compiler_wl_CXX
15536 pic_flag
=$lt_prog_compiler_pic_CXX
15542 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15543 allow_undefined_flag_CXX
=
15544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15545 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15548 test $ac_status = 0; }
15550 lt_cv_archive_cmds_need_lc_CXX
=no
15552 lt_cv_archive_cmds_need_lc_CXX
=yes
15554 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15556 cat conftest.err
1>&5
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15562 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15563 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15632 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15634 library_names_spec
=
15635 libname_spec
='lib$name'
15639 postuninstall_cmds
=
15643 shlibpath_overrides_runpath
=unknown
15645 dynamic_linker
="$host_os ld.so"
15646 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15647 need_lib_prefix
=unknown
15648 hardcode_into_libs
=no
15650 # when you set need_version to no, make sure it does not cause -set_version
15651 # flags to be left without arguments
15652 need_version
=unknown
15658 version_type
=linux
# correct to gnu/linux during the next big refactor
15659 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
15660 shlibpath_var
=LIBPATH
15662 # AIX 3 has no versioning support, so we append a major version to the name.
15663 soname_spec
='$libname$release$shared_ext$major'
15667 version_type
=linux
# correct to gnu/linux during the next big refactor
15670 hardcode_into_libs
=yes
15671 if test ia64
= "$host_cpu"; then
15672 # AIX 5 supports IA64
15673 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15674 shlibpath_var
=LD_LIBRARY_PATH
15676 # With GCC up to 2.95.x, collect2 would create an import file
15677 # for dependence libraries. The import file would start with
15678 # the line '#! .'. This would cause the generated library to
15679 # depend on '.', always an invalid library. This was fixed in
15680 # development snapshots of GCC prior to 3.0.
15682 aix4
| aix4.
[01] | aix4.
[01].
*)
15683 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15685 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
15688 can_build_shared
=no
15692 # Using Import Files as archive members, it is possible to support
15693 # filename-based versioning of shared library archives on AIX. While
15694 # this would work for both with and without runtime linking, it will
15695 # prevent static linking of such archives. So we do filename-based
15696 # shared library versioning with .so extension only, which is used
15697 # when both runtime linking and shared linking is enabled.
15698 # Unfortunately, runtime linking may impact performance, so we do
15699 # not want this to be the default eventually. Also, we use the
15700 # versioned .so libs for executables only if there is the -brtl
15701 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15702 # To allow for filename-based versioning support, we need to create
15703 # libNAME.so.V as an archive file, containing:
15704 # *) an Import File, referring to the versioned filename of the
15705 # archive as well as the shared archive member, telling the
15706 # bitwidth (32 or 64) of that shared object, and providing the
15707 # list of exported symbols of that shared object, eventually
15708 # decorated with the 'weak' keyword
15709 # *) the shared object with the F_LOADONLY flag set, to really avoid
15710 # it being seen by the linker.
15711 # At run time we better use the real file rather than another symlink,
15712 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15714 case $with_aix_soname,$aix_use_runtimelinking in
15715 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15716 # soname into executable. Probably we can add versioning support to
15717 # collect2, so additional links can be useful in future.
15718 aix
,yes) # traditional libtool
15719 dynamic_linker
='AIX unversionable lib.so'
15720 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15721 # instead of lib<name>.a to let people know that these are not
15722 # typical AIX shared libraries.
15723 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15725 aix
,no
) # traditional AIX only
15726 dynamic_linker
='AIX lib.a(lib.so.V)'
15727 # We preserve .a as extension for shared libraries through AIX4.2
15728 # and later when we are not doing run time linking.
15729 library_names_spec
='$libname$release.a $libname.a'
15730 soname_spec
='$libname$release$shared_ext$major'
15732 svr4
,*) # full svr4 only
15733 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
15734 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15735 # We do not specify a path in Import Files, so LIBPATH fires.
15736 shlibpath_overrides_runpath
=yes
15738 *,yes) # both, prefer svr4
15739 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15740 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15741 # unpreferred sharedlib libNAME.a needs extra handling
15742 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"'
15743 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"'
15744 # We do not specify a path in Import Files, so LIBPATH fires.
15745 shlibpath_overrides_runpath
=yes
15747 *,no
) # both, prefer aix
15748 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15749 library_names_spec
='$libname$release.a $libname.a'
15750 soname_spec
='$libname$release$shared_ext$major'
15751 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15752 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)'
15753 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"'
15756 shlibpath_var
=LIBPATH
15763 # Since July 2007 AmigaOS4 officially supports .so libraries.
15764 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15765 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15768 library_names_spec
='$libname.ixlibrary $libname.a'
15769 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15770 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'
15776 library_names_spec
='$libname$shared_ext'
15777 dynamic_linker
="$host_os ld.so"
15778 shlibpath_var
=LIBRARY_PATH
15782 version_type
=linux
# correct to gnu/linux during the next big refactor
15784 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15785 soname_spec
='$libname$release$shared_ext$major'
15786 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15787 shlibpath_var
=LD_LIBRARY_PATH
15788 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15789 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15790 # the default ld.so.conf also contains /usr/contrib/lib and
15791 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15792 # libtool to hard-code these into programs
15795 cygwin
* | mingw
* | pw32
* | cegcc
*)
15796 version_type
=windows
15801 case $GCC,$cc_basename in
15804 library_names_spec
='$libname.dll.a'
15805 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15806 postinstall_cmds
='base_file=`basename \$file`~
15807 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15808 dldir=$destdir/`dirname \$dlpath`~
15809 test -d \$dldir || mkdir -p \$dldir~
15810 $install_prog $dir/$dlname \$dldir/$dlname~
15811 chmod a+x \$dldir/$dlname~
15812 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15813 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15815 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15816 dlpath=$dir/\$dldll~
15818 shlibpath_overrides_runpath
=yes
15822 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15823 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15827 # MinGW DLLs use traditional 'lib' prefix
15828 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15831 # pw32 DLLs use 'pw' prefix rather than 'lib'
15832 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15835 dynamic_linker
='Win32 ld.exe'
15840 libname_spec
='$name'
15841 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15842 library_names_spec
='$libname.dll.lib'
15846 sys_lib_search_path_spec
=
15849 for lt_path
in $LIB
15852 # Let DOS variable expansion print the short 8.3 style file name.
15853 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15854 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15857 # Convert to MSYS style.
15858 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15861 # Convert to unix form, then to dos form, then back to unix form
15862 # but this time dos style (no spaces!) so that the unix form looks
15863 # like /cygdrive/c/PROGRA~1:/cygdr...
15864 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15865 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15866 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15869 sys_lib_search_path_spec
=$LIB
15870 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15871 # It is most probably a Windows format PATH.
15872 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15874 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15876 # FIXME: find the short name or the path components, as spaces are
15877 # common. (e.g. "Program Files" -> "PROGRA~1")
15881 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15882 postinstall_cmds
='base_file=`basename \$file`~
15883 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15884 dldir=$destdir/`dirname \$dlpath`~
15885 test -d \$dldir || mkdir -p \$dldir~
15886 $install_prog $dir/$dlname \$dldir/$dlname'
15887 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15888 dlpath=$dir/\$dldll~
15890 shlibpath_overrides_runpath
=yes
15891 dynamic_linker
='Win32 link.exe'
15895 # Assume MSVC wrapper
15896 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
15897 dynamic_linker
='Win32 ld.exe'
15900 # FIXME: first we should search . and the directory the executable is in
15904 darwin
* | rhapsody
*)
15905 dynamic_linker
="$host_os dyld"
15906 version_type
=darwin
15909 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
15910 soname_spec
='$libname$release$major$shared_ext'
15911 shlibpath_overrides_runpath
=yes
15912 shlibpath_var
=DYLD_LIBRARY_PATH
15913 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15915 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15919 version_type
=linux
# correct to gnu/linux during the next big refactor
15922 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15923 soname_spec
='$libname$release$shared_ext$major'
15924 shlibpath_var
=LD_LIBRARY_PATH
15927 freebsd
* | dragonfly
*)
15928 # DragonFly does not have aout. When/if they implement a new
15929 # versioning mechanism, adjust this.
15930 if test -x /usr
/bin
/objformat
; then
15931 objformat
=`/usr/bin/objformat`
15934 freebsd
[23].
*) objformat
=aout
;;
15935 *) objformat
=elf
;;
15938 version_type
=freebsd
-$objformat
15939 case $version_type in
15941 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15942 soname_spec
='$libname$release$shared_ext$major'
15947 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15951 shlibpath_var
=LD_LIBRARY_PATH
15954 shlibpath_overrides_runpath
=yes
15956 freebsd3.
[01]* | freebsdelf3.
[01]*)
15957 shlibpath_overrides_runpath
=yes
15958 hardcode_into_libs
=yes
15960 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15961 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15962 shlibpath_overrides_runpath
=no
15963 hardcode_into_libs
=yes
15965 *) # from 4.6 on, and DragonFly
15966 shlibpath_overrides_runpath
=yes
15967 hardcode_into_libs
=yes
15973 version_type
=linux
# correct to gnu/linux during the next big refactor
15976 dynamic_linker
="$host_os runtime_loader"
15977 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15978 soname_spec
='$libname$release$shared_ext$major'
15979 shlibpath_var
=LIBRARY_PATH
15980 shlibpath_overrides_runpath
=no
15981 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15982 hardcode_into_libs
=yes
15985 hpux9
* | hpux10
* | hpux11
*)
15986 # Give a soname corresponding to the major version so that dld.sl refuses to
15987 # link against other versions.
15994 hardcode_into_libs
=yes
15995 dynamic_linker
="$host_os dld.so"
15996 shlibpath_var
=LD_LIBRARY_PATH
15997 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15998 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15999 soname_spec
='$libname$release$shared_ext$major'
16000 if test 32 = "$HPUX_IA64_MODE"; then
16001 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16002 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
16004 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16005 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
16010 hardcode_into_libs
=yes
16011 dynamic_linker
="$host_os dld.sl"
16012 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16013 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16014 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16015 soname_spec
='$libname$release$shared_ext$major'
16016 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16017 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16021 dynamic_linker
="$host_os dld.sl"
16022 shlibpath_var
=SHLIB_PATH
16023 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16024 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16025 soname_spec
='$libname$release$shared_ext$major'
16028 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16029 postinstall_cmds
='chmod 555 $lib'
16030 # or fails outright, so override atomically:
16031 install_override_mode
=555
16035 version_type
=linux
# correct to gnu/linux during the next big refactor
16038 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16039 soname_spec
='$libname$release$shared_ext$major'
16040 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16041 shlibpath_var
=LD_LIBRARY_PATH
16042 shlibpath_overrides_runpath
=no
16043 hardcode_into_libs
=yes
16046 irix5
* | irix6
* | nonstopux
*)
16048 nonstopux
*) version_type
=nonstopux
;;
16050 if test yes = "$lt_cv_prog_gnu_ld"; then
16051 version_type
=linux
# correct to gnu/linux during the next big refactor
16058 soname_spec
='$libname$release$shared_ext$major'
16059 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16061 irix5
* | nonstopux
*)
16062 libsuff
= shlibsuff
=
16065 case $LD in # libtool.m4 will add one of these switches to LD
16066 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16067 libsuff
= shlibsuff
= libmagic
=32-bit;;
16068 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16069 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16070 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16071 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16072 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
16076 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16077 shlibpath_overrides_runpath
=no
16078 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16079 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
16080 hardcode_into_libs
=yes
16083 # No shared lib support for Linux oldld, aout, or coff.
16084 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16089 version_type
=none
# Android doesn't support versioned libraries.
16092 library_names_spec
='$libname$release$shared_ext'
16093 soname_spec
='$libname$release$shared_ext'
16095 shlibpath_var
=LD_LIBRARY_PATH
16096 shlibpath_overrides_runpath
=yes
16098 # This implies no fast_install, which is unacceptable.
16099 # Some rework will be needed to allow for fast_install
16100 # before this can be enabled.
16101 hardcode_into_libs
=yes
16103 dynamic_linker
='Android linker'
16104 # Don't embed -rpath directories since the linker doesn't support them.
16105 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16108 # This must be glibc/ELF.
16109 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16110 version_type
=linux
# correct to gnu/linux during the next big refactor
16113 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16114 soname_spec
='$libname$release$shared_ext$major'
16115 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16116 shlibpath_var
=LD_LIBRARY_PATH
16117 shlibpath_overrides_runpath
=no
16119 # Some binutils ld are patched to set DT_RUNPATH
16120 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
16121 $as_echo_n "(cached) " >&6
16123 lt_cv_shlibpath_overrides_runpath
=no
16124 save_LDFLAGS
=$LDFLAGS
16125 save_libdir
=$libdir
16126 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16127 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16129 /* end confdefs.h. */
16139 if ac_fn_cxx_try_link
"$LINENO"; then :
16140 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
16141 lt_cv_shlibpath_overrides_runpath
=yes
16144 rm -f core conftest.err conftest.
$ac_objext \
16145 conftest
$ac_exeext conftest.
$ac_ext
16146 LDFLAGS
=$save_LDFLAGS
16147 libdir
=$save_libdir
16151 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16153 # This implies no fast_install, which is unacceptable.
16154 # Some rework will be needed to allow for fast_install
16155 # before this can be enabled.
16156 hardcode_into_libs
=yes
16158 # Ideally, we could use ldconfig to report *all* directores which are
16159 # searched for libraries, however this is still not possible. Aside from not
16160 # being certain /sbin/ldconfig is available, command
16161 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16162 # even though it is searched at run-time. Try to do the best guess by
16163 # appending ld.so.conf contents (and includes) to the search path.
16164 if test -f /etc
/ld.so.conf
; then
16165 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' ' '`
16166 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16169 # We used to test for /lib/ld.so.1 and disable shared libraries on
16170 # powerpc, because MkLinux only supported shared libraries with the
16171 # GNU dynamic linker. Since this was broken with cross compilers,
16172 # most powerpc-linux boxes support dynamic linking these days and
16173 # people can always --disable-shared, the test was removed, and we
16174 # assume the GNU/Linux dynamic linker is in use.
16175 dynamic_linker
='GNU/Linux ld.so'
16182 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16183 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16184 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16185 dynamic_linker
='NetBSD (a.out) ld.so'
16187 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16188 soname_spec
='$libname$release$shared_ext$major'
16189 dynamic_linker
='NetBSD ld.elf_so'
16191 shlibpath_var
=LD_LIBRARY_PATH
16192 shlibpath_overrides_runpath
=yes
16193 hardcode_into_libs
=yes
16197 version_type
=linux
# correct to gnu/linux during the next big refactor
16198 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16199 shlibpath_var
=LD_LIBRARY_PATH
16200 shlibpath_overrides_runpath
=yes
16207 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16208 soname_spec
='$libname$release$shared_ext$major'
16209 shlibpath_var
=LD_LIBRARY_PATH
16210 shlibpath_overrides_runpath
=no
16211 hardcode_into_libs
=yes
16212 dynamic_linker
='ldqnx.so'
16215 openbsd
* | bitrig
*)
16217 sys_lib_dlsearch_path_spec
=/usr
/lib
16219 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16224 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16225 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16226 shlibpath_var
=LD_LIBRARY_PATH
16227 shlibpath_overrides_runpath
=yes
16231 libname_spec
='$name'
16232 version_type
=windows
16236 # OS/2 can only load a DLL with a base name of 8 characters or less.
16237 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
16238 v=$($ECHO $release$versuffix | tr -d .-);
16239 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16240 $ECHO $n$v`$shared_ext'
16241 library_names_spec
='${libname}_dll.$libext'
16242 dynamic_linker
='OS/2 ld.exe'
16243 shlibpath_var
=BEGINLIBPATH
16244 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16245 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16246 postinstall_cmds
='base_file=`basename \$file`~
16247 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16248 dldir=$destdir/`dirname \$dlpath`~
16249 test -d \$dldir || mkdir -p \$dldir~
16250 $install_prog $dir/$dlname \$dldir/$dlname~
16251 chmod a+x \$dldir/$dlname~
16252 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16253 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16255 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16256 dlpath=$dir/\$dldll~
16260 osf3
* | osf4
* | osf5
*)
16264 soname_spec
='$libname$release$shared_ext$major'
16265 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16266 shlibpath_var
=LD_LIBRARY_PATH
16267 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16268 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16276 version_type
=linux
# correct to gnu/linux during the next big refactor
16279 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16280 soname_spec
='$libname$release$shared_ext$major'
16281 shlibpath_var
=LD_LIBRARY_PATH
16282 shlibpath_overrides_runpath
=yes
16283 hardcode_into_libs
=yes
16284 # ldd complains unless libraries are executable
16285 postinstall_cmds
='chmod +x $lib'
16290 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16291 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16292 shlibpath_var
=LD_LIBRARY_PATH
16293 shlibpath_overrides_runpath
=yes
16294 if test yes = "$with_gnu_ld"; then
16301 version_type
=linux
# correct to gnu/linux during the next big refactor
16302 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16303 soname_spec
='$libname$release$shared_ext$major'
16304 shlibpath_var
=LD_LIBRARY_PATH
16305 case $host_vendor in
16307 shlibpath_overrides_runpath
=no
16309 runpath_var
=LD_RUN_PATH
16317 shlibpath_overrides_runpath
=no
16318 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16324 if test -d /usr
/nec
; then
16325 version_type
=linux
# correct to gnu/linux during the next big refactor
16326 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16327 soname_spec
='$libname$shared_ext.$major'
16328 shlibpath_var
=LD_LIBRARY_PATH
16332 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16336 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16337 soname_spec
='$libname$release$shared_ext$major'
16338 shlibpath_var
=LD_LIBRARY_PATH
16339 shlibpath_overrides_runpath
=yes
16340 hardcode_into_libs
=yes
16341 if test yes = "$with_gnu_ld"; then
16342 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16344 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16347 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16351 sys_lib_dlsearch_path_spec
='/usr/lib'
16355 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16356 version_type
=linux
# correct to gnu/linux during the next big refactor
16359 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16360 shlibpath_var
=LD_LIBRARY_PATH
16361 shlibpath_overrides_runpath
=no
16362 hardcode_into_libs
=yes
16366 version_type
=linux
# correct to gnu/linux during the next big refactor
16367 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16368 soname_spec
='$libname$release$shared_ext$major'
16369 shlibpath_var
=LD_LIBRARY_PATH
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16377 $as_echo "$dynamic_linker" >&6; }
16378 test no
= "$dynamic_linker" && can_build_shared
=no
16380 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16381 if test yes = "$GCC"; then
16382 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16385 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16386 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
16389 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16390 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
16393 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16394 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
16396 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16397 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
16399 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16400 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16442 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16443 hardcode_action_CXX
=
16444 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16445 test -n "$runpath_var_CXX" ||
16446 test yes = "$hardcode_automatic_CXX"; then
16448 # We can hardcode non-existent directories.
16449 if test no
!= "$hardcode_direct_CXX" &&
16450 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16451 # have to relink, otherwise we might link with an installed library
16452 # when we should be linking with a yet-to-be-installed one
16453 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16454 test no
!= "$hardcode_minus_L_CXX"; then
16455 # Linking always hardcodes the temporary library directory.
16456 hardcode_action_CXX
=relink
16458 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16459 hardcode_action_CXX
=immediate
16462 # We cannot hardcode anything, or else we can only hardcode existing
16464 hardcode_action_CXX
=unsupported
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16467 $as_echo "$hardcode_action_CXX" >&6; }
16469 if test relink
= "$hardcode_action_CXX" ||
16470 test yes = "$inherit_rpath_CXX"; then
16471 # Fast installation is not supported
16472 enable_fast_install
=no
16473 elif test yes = "$shlibpath_overrides_runpath" ||
16474 test no
= "$enable_shared"; then
16475 # Fast installation is not necessary
16476 enable_fast_install
=needless
16485 fi # test -n "$compiler"
16488 CFLAGS
=$lt_save_CFLAGS
16492 with_gnu_ld
=$lt_save_with_gnu_ld
16493 lt_cv_path_LDCXX
=$lt_cv_path_LD
16494 lt_cv_path_LD
=$lt_save_path_LD
16495 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16496 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16497 fi # test yes != "$_lt_caught_CXX_error"
16500 ac_cpp
='$CPP $CPPFLAGS'
16501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16519 ac_config_commands
="$ac_config_commands libtool"
16524 # Only expand once:
16529 ac_cpp
='$CXXCPP $CPPFLAGS'
16530 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16531 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16532 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16535 ax_cxx_compile_cxx11_required
=true
16537 ac_cpp
='$CXXCPP $CPPFLAGS'
16538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
16543 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
16544 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
16545 $as_echo_n "(cached) " >&6
16547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16550 template <typename T>
16553 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16557 virtual void f() {}
16559 struct Child : public Base {
16560 virtual void f() override {}
16563 typedef check<check<bool>> right_angle_brackets;
16568 typedef check<int> check_type;
16570 check_type&& cr = static_cast<check_type&&>(c);
16576 if ac_fn_cxx_try_compile
"$LINENO"; then :
16577 ax_cv_cxx_compile_cxx11
=yes
16579 ax_cv_cxx_compile_cxx11
=no
16581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
16584 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
16585 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
16589 if test x
$ac_success = xno
; then
16590 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
16591 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
16593 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
16594 if eval \
${$cachevar+:} false
; then :
16595 $as_echo_n "(cached) " >&6
16597 ac_save_CXXFLAGS
="$CXXFLAGS"
16598 CXXFLAGS
="$CXXFLAGS $switch"
16599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16602 template <typename T>
16605 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16609 virtual void f() {}
16611 struct Child : public Base {
16612 virtual void f() override {}
16615 typedef check<check<bool>> right_angle_brackets;
16620 typedef check<int> check_type;
16622 check_type&& cr = static_cast<check_type&&>(c);
16628 if ac_fn_cxx_try_compile
"$LINENO"; then :
16633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16634 CXXFLAGS
="$ac_save_CXXFLAGS"
16636 eval ac_res
=\$
$cachevar
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16638 $as_echo "$ac_res" >&6; }
16639 if eval test x\$
$cachevar = xyes
; then
16640 CXXFLAGS
="$CXXFLAGS $switch"
16649 ac_cpp
='$CXXCPP $CPPFLAGS'
16650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16654 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
16655 if test x
$ac_success = xno
; then
16656 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
16659 if test x
$ac_success = xno
; then
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
16662 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
16666 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
16673 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
16682 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16683 if test -n "$ac_tool_prefix"; then
16684 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16685 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16687 $as_echo_n "checking for $ac_word... " >&6; }
16688 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16689 $as_echo_n "(cached) " >&6
16691 case $PKG_CONFIG in
16693 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16697 for as_dir
in $PATH
16700 test -z "$as_dir" && as_dir
=.
16701 for ac_exec_ext
in '' $ac_executable_extensions; do
16702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16703 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16714 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16715 if test -n "$PKG_CONFIG"; then
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16717 $as_echo "$PKG_CONFIG" >&6; }
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16720 $as_echo "no" >&6; }
16725 if test -z "$ac_cv_path_PKG_CONFIG"; then
16726 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16727 # Extract the first word of "pkg-config", so it can be a program name with args.
16728 set dummy pkg
-config; ac_word
=$2
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16730 $as_echo_n "checking for $ac_word... " >&6; }
16731 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16732 $as_echo_n "(cached) " >&6
16734 case $ac_pt_PKG_CONFIG in
16736 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16740 for as_dir
in $PATH
16743 test -z "$as_dir" && as_dir
=.
16744 for ac_exec_ext
in '' $ac_executable_extensions; do
16745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16746 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16757 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16758 if test -n "$ac_pt_PKG_CONFIG"; then
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16760 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16763 $as_echo "no" >&6; }
16766 if test "x$ac_pt_PKG_CONFIG" = x
; then
16769 case $cross_compiling:$ac_tool_warned in
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16773 ac_tool_warned
=yes ;;
16775 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16778 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16782 if test -n "$PKG_CONFIG"; then
16783 _pkg_min_version
=0.22
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16785 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16786 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16788 $as_echo "yes" >&6; }
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16791 $as_echo "no" >&6; }
16796 # Extract the first word of "git", so it can be a program name with args.
16797 set dummy git
; ac_word
=$2
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16799 $as_echo_n "checking for $ac_word... " >&6; }
16800 if ${ac_cv_path_GIT+:} false
; then :
16801 $as_echo_n "(cached) " >&6
16805 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16809 for as_dir
in $PATH
16812 test -z "$as_dir" && as_dir
=.
16813 for ac_exec_ext
in '' $ac_executable_extensions; do
16814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16815 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16826 GIT
=$ac_cv_path_GIT
16827 if test -n "$GIT"; then
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16829 $as_echo "$GIT" >&6; }
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16832 $as_echo "no" >&6; }
16836 # Extract the first word of "time", so it can be a program name with args.
16837 set dummy
time; ac_word
=$2
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16839 $as_echo_n "checking for $ac_word... " >&6; }
16840 if ${ac_cv_path_TIME+:} false
; then :
16841 $as_echo_n "(cached) " >&6
16845 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16849 for as_dir
in $PATH
16852 test -z "$as_dir" && as_dir
=.
16853 for ac_exec_ext
in '' $ac_executable_extensions; do
16854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16855 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16866 TIME
=$ac_cv_path_TIME
16867 if test -n "$TIME"; then
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16869 $as_echo "$TIME" >&6; }
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16872 $as_echo "no" >&6; }
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
16882 $as_echo_n "checking for bison >= 3.0... " >&6; }
16883 if test -z "$BISON"; then
16884 ac_path_BISON_found
=false
16885 # Loop through the user's path and test for each of PROGNAME-LIST
16886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16887 for as_dir
in $PATH
16890 test -z "$as_dir" && as_dir
=.
16891 for ac_prog
in bison
; do
16892 for ac_exec_ext
in '' $ac_executable_extensions; do
16893 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16894 as_fn_executable_p
"$ac_path_BISON" || continue
16895 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16896 if ${version:+false} :; then :
16899 as_awk_strverscmp
='
16900 # Use only awk features that work with 7th edition Unix awk (1978).
16901 # My, what an old awk you have, Mr. Solaris!
16903 while (length(v1) && length(v2)) {
16904 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16905 # Normally this is a single character, but if v1 and v2 contain digits,
16906 # compare them as integers and fractions as strverscmp does.
16907 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16908 # Split v1 and v2 into their leading digit string components d1 and d2,
16909 # and advance v1 and v2 past the leading digit strings.
16910 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16911 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16912 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16913 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16916 # Compare two fractions.
16917 while (d1 ~ /^0/ && d2 ~ /^0/) {
16918 d1 = substr(d1, 2); len1--
16919 d2 = substr(d2, 2); len2--
16921 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16922 # The two components differ in length, and the common prefix
16923 # contains only leading zeros. Consider the longer to be less.
16927 # Otherwise, compare as strings.
16932 # A fraction is less than an integer.
16937 # An integer is greater than a fraction.
16940 # Compare two integers.
16946 # The normal case, without worrying about digits.
16947 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16948 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16950 if (d1 < d2) exit 1
16951 if (d1 > d2) exit 2
16953 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16954 # which mishandles some comparisons of empty strings to integers.
16955 if (length(v2)) exit 1
16956 if (length(v1)) exit 2
16961 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16966 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16968 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16974 $ac_path_BISON_found && break 3
16979 if test -z "$ac_cv_path_BISON"; then
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16981 $as_echo "no" >&6; }
16984 ac_cv_path_BISON
=$BISON
16990 BISON
=$ac_cv_path_BISON
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16993 $as_echo "$BISON" >&6; }
16998 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17005 $as_echo "no" >&6; }
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
17014 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
17015 if test -z "$FLEX"; then
17016 ac_path_FLEX_found
=false
17017 # Loop through the user's path and test for each of PROGNAME-LIST
17018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17019 for as_dir
in $PATH
17022 test -z "$as_dir" && as_dir
=.
17023 for ac_prog
in flex
; do
17024 for ac_exec_ext
in '' $ac_executable_extensions; do
17025 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
17026 as_fn_executable_p
"$ac_path_FLEX" || continue
17027 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
17028 if ${version:+false} :; then :
17033 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17038 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17040 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17046 $ac_path_FLEX_found && break 3
17051 if test -z "$ac_cv_path_FLEX"; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17053 $as_echo "no" >&6; }
17056 ac_cv_path_FLEX
=$FLEX
17062 FLEX
=$ac_cv_path_FLEX
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17065 $as_echo "$FLEX" >&6; }
17070 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17077 $as_echo "no" >&6; }
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
17086 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
17087 if test -z "$GPERF"; then
17088 ac_path_GPERF_found
=false
17089 # Loop through the user's path and test for each of PROGNAME-LIST
17090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17091 for as_dir
in $PATH
17094 test -z "$as_dir" && as_dir
=.
17095 for ac_prog
in gperf
; do
17096 for ac_exec_ext
in '' $ac_executable_extensions; do
17097 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
17098 as_fn_executable_p
"$ac_path_GPERF" || continue
17099 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
17100 if ${version:+false} :; then :
17105 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17110 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17112 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17118 $ac_path_GPERF_found && break 3
17123 if test -z "$ac_cv_path_GPERF"; then
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17125 $as_echo "no" >&6; }
17128 ac_cv_path_GPERF
=$GPERF
17134 GPERF
=$ac_cv_path_GPERF
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17137 $as_echo "$GPERF" >&6; }
17142 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17149 $as_echo "no" >&6; }
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
17158 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
17159 if test -z "$GNUTAR"; then
17160 ac_path_GNUTAR_found
=false
17161 # Loop through the user's path and test for each of PROGNAME-LIST
17162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17163 for as_dir
in $PATH
17166 test -z "$as_dir" && as_dir
=.
17167 for ac_prog
in tar gtar gnutar
; do
17168 for ac_exec_ext
in '' $ac_executable_extensions; do
17169 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
17170 as_fn_executable_p
"$ac_path_GNUTAR" || continue
17171 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
17172 if ${version:+false} :; then :
17177 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17182 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17184 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17190 $ac_path_GNUTAR_found && break 3
17195 if test -z "$ac_cv_path_GNUTAR"; then
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17197 $as_echo "no" >&6; }
17200 ac_cv_path_GNUTAR
=$GNUTAR
17206 GNUTAR
=$ac_cv_path_GNUTAR
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
17209 $as_echo "$GNUTAR" >&6; }
17214 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17221 $as_echo "no" >&6; }
17236 ac_cpp
='$CPP $CPPFLAGS'
17237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
17242 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
17243 if ${ac_cv_cflags_warn_all+:} false
; then :
17244 $as_echo_n "(cached) " >&6
17246 ac_cv_cflags_warn_all
="no, unknown"
17247 ac_save_CFLAGS
="$CFLAGS"
17248 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" #
17249 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17261 if ac_fn_c_try_compile
"$LINENO"; then :
17262 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17266 CFLAGS
="$ac_save_CFLAGS"
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
17270 $as_echo "$ac_cv_cflags_warn_all" >&6; }
17273 case ".$ac_cv_cflags_warn_all" in
17276 *) if ${CFLAGS+:} false
; then :
17277 case " $CFLAGS " in
17278 *" $ac_cv_cflags_warn_all "*)
17279 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
17280 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
17282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17283 test $ac_status = 0; }
17286 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
17287 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
17289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17290 test $ac_status = 0; }
17291 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
17295 CFLAGS
="$ac_cv_cflags_warn_all"
17301 ac_cpp
='$CXXCPP $CPPFLAGS'
17302 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17303 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17304 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17308 ac_cpp
='$CXXCPP $CPPFLAGS'
17309 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17310 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17311 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17314 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17315 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17316 $as_echo_n "(cached) " >&6
17318 ac_cv_cxxflags_warn_all
="no, unknown"
17319 ac_save_CXXFLAGS
="$CXXFLAGS"
17320 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" #
17321 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17333 if ac_fn_cxx_try_compile
"$LINENO"; then :
17334 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17338 CXXFLAGS
="$ac_save_CXXFLAGS"
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17342 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17345 case ".$ac_cv_cxxflags_warn_all" in
17348 *) if ${CXXFLAGS+:} false
; then :
17349 case " $CXXFLAGS " in
17350 *" $ac_cv_cxxflags_warn_all "*)
17351 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17352 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17355 test $ac_status = 0; }
17358 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17359 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17362 test $ac_status = 0; }
17363 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17367 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17373 ac_cpp
='$CXXCPP $CPPFLAGS'
17374 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17375 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17376 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17380 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17381 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17382 $as_echo_n "(cached) " >&6
17384 ac_cv_cxxflags_warn_all
="no, unknown"
17385 ac_save_CXXFLAGS
="$CXXFLAGS"
17386 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" #
17387 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17389 /* end confdefs.h. */
17399 if ac_fn_cxx_try_compile
"$LINENO"; then :
17400 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17404 CXXFLAGS
="$ac_save_CXXFLAGS"
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17408 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17411 case ".$ac_cv_cxxflags_warn_all" in
17414 *) if ${CXXFLAGS+:} false
; then :
17415 case " $CXXFLAGS " in
17416 *" $ac_cv_cxxflags_warn_all "*)
17417 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17418 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17421 test $ac_status = 0; }
17424 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17425 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17428 test $ac_status = 0; }
17429 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17433 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17443 ac_cpp
='$CPP $CPPFLAGS'
17444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
17449 $as_echo_n "checking for cc -Werror... " >&6; }
17453 for element
in -Werror; do
17455 for x
in $CFLAGS; do
17457 acl_save_prefix
="$prefix"
17458 prefix
="$acl_final_prefix"
17459 acl_save_exec_prefix
="$exec_prefix"
17460 exec_prefix
="$acl_final_exec_prefix"
17462 exec_prefix
="$acl_save_exec_prefix"
17463 prefix
="$acl_save_prefix"
17465 if test "X$x" = "X$element"; then
17470 if test -z "$haveit"; then
17471 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17480 if ac_fn_c_try_compile
"$LINENO"; then :
17485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17488 if test "x$cy_good" = x1
; then :
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17490 $as_echo "yes" >&6; }
17492 for element
in -Werror; do
17494 for x
in $CFLAGS; do
17496 acl_save_prefix
="$prefix"
17497 prefix
="$acl_final_prefix"
17498 acl_save_exec_prefix
="$exec_prefix"
17499 exec_prefix
="$acl_final_exec_prefix"
17501 exec_prefix
="$acl_save_exec_prefix"
17502 prefix
="$acl_save_prefix"
17504 if test "X$x" = "X$element"; then
17509 if test -z "$haveit"; then
17510 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17517 $as_echo "no" >&6; }
17521 ac_cpp
='$CXXCPP $CPPFLAGS'
17522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17529 ac_cpp
='$CXXCPP $CPPFLAGS'
17530 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17531 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17532 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
17535 $as_echo_n "checking for c++ -Werror... " >&6; }
17539 for element
in -Werror; do
17541 for x
in $CXXFLAGS; do
17543 acl_save_prefix
="$prefix"
17544 prefix
="$acl_final_prefix"
17545 acl_save_exec_prefix
="$exec_prefix"
17546 exec_prefix
="$acl_final_exec_prefix"
17548 exec_prefix
="$acl_save_exec_prefix"
17549 prefix
="$acl_save_prefix"
17551 if test "X$x" = "X$element"; then
17556 if test -z "$haveit"; then
17557 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17566 if ac_fn_cxx_try_compile
"$LINENO"; then :
17571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17574 if test "x$cy_good" = x1
; then :
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17576 $as_echo "yes" >&6; }
17578 for element
in -Werror; do
17580 for x
in $CXXFLAGS; do
17582 acl_save_prefix
="$prefix"
17583 prefix
="$acl_final_prefix"
17584 acl_save_exec_prefix
="$exec_prefix"
17585 exec_prefix
="$acl_final_exec_prefix"
17587 exec_prefix
="$acl_save_exec_prefix"
17588 prefix
="$acl_save_prefix"
17590 if test "X$x" = "X$element"; then
17595 if test -z "$haveit"; then
17596 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17603 $as_echo "no" >&6; }
17607 ac_cpp
='$CXXCPP $CPPFLAGS'
17608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17615 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17616 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
17621 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
17623 cy_save
=$OBJCXXFLAGS
17625 for element
in -Werror; do
17627 for x
in $OBJCXXFLAGS; do
17629 acl_save_prefix
="$prefix"
17630 prefix
="$acl_final_prefix"
17631 acl_save_exec_prefix
="$exec_prefix"
17632 exec_prefix
="$acl_final_exec_prefix"
17634 exec_prefix
="$acl_save_exec_prefix"
17635 prefix
="$acl_save_prefix"
17637 if test "X$x" = "X$element"; then
17642 if test -z "$haveit"; then
17643 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17649 /* end confdefs.h. */
17652 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17659 OBJCXXFLAGS
=$cy_save
17660 if test "x$cy_good" = x1
; then :
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17662 $as_echo "yes" >&6; }
17664 for element
in -Werror; do
17666 for x
in $OBJCXXFLAGS; do
17668 acl_save_prefix
="$prefix"
17669 prefix
="$acl_final_prefix"
17670 acl_save_exec_prefix
="$exec_prefix"
17671 exec_prefix
="$acl_final_exec_prefix"
17673 exec_prefix
="$acl_save_exec_prefix"
17674 prefix
="$acl_save_prefix"
17676 if test "X$x" = "X$element"; then
17681 if test -z "$haveit"; then
17682 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17689 $as_echo "no" >&6; }
17693 ac_cpp
='$CXXCPP $CPPFLAGS'
17694 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17695 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17696 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17704 ac_cpp
='$CPP $CPPFLAGS'
17705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17710 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17714 for element
in -Wno-deprecated-declarations; do
17716 for x
in $CFLAGS; do
17718 acl_save_prefix
="$prefix"
17719 prefix
="$acl_final_prefix"
17720 acl_save_exec_prefix
="$exec_prefix"
17721 exec_prefix
="$acl_final_exec_prefix"
17723 exec_prefix
="$acl_save_exec_prefix"
17724 prefix
="$acl_save_prefix"
17726 if test "X$x" = "X$element"; then
17731 if test -z "$haveit"; then
17732 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17741 if ac_fn_c_try_compile
"$LINENO"; then :
17746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17749 if test "x$cy_good" = x1
; then :
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17751 $as_echo "yes" >&6; }
17753 for element
in -Wno-deprecated-declarations; do
17755 for x
in $CFLAGS; do
17757 acl_save_prefix
="$prefix"
17758 prefix
="$acl_final_prefix"
17759 acl_save_exec_prefix
="$exec_prefix"
17760 exec_prefix
="$acl_final_exec_prefix"
17762 exec_prefix
="$acl_save_exec_prefix"
17763 prefix
="$acl_save_prefix"
17765 if test "X$x" = "X$element"; then
17770 if test -z "$haveit"; then
17771 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17778 $as_echo "no" >&6; }
17782 ac_cpp
='$CXXCPP $CPPFLAGS'
17783 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17784 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17785 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17790 ac_cpp
='$CXXCPP $CPPFLAGS'
17791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17796 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17800 for element
in -Wno-deprecated-declarations; do
17802 for x
in $CXXFLAGS; do
17804 acl_save_prefix
="$prefix"
17805 prefix
="$acl_final_prefix"
17806 acl_save_exec_prefix
="$exec_prefix"
17807 exec_prefix
="$acl_final_exec_prefix"
17809 exec_prefix
="$acl_save_exec_prefix"
17810 prefix
="$acl_save_prefix"
17812 if test "X$x" = "X$element"; then
17817 if test -z "$haveit"; then
17818 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17824 /* end confdefs.h. */
17827 if ac_fn_cxx_try_compile
"$LINENO"; then :
17832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17835 if test "x$cy_good" = x1
; then :
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17837 $as_echo "yes" >&6; }
17839 for element
in -Wno-deprecated-declarations; do
17841 for x
in $CXXFLAGS; do
17843 acl_save_prefix
="$prefix"
17844 prefix
="$acl_final_prefix"
17845 acl_save_exec_prefix
="$exec_prefix"
17846 exec_prefix
="$acl_final_exec_prefix"
17848 exec_prefix
="$acl_save_exec_prefix"
17849 prefix
="$acl_save_prefix"
17851 if test "X$x" = "X$element"; then
17856 if test -z "$haveit"; then
17857 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17864 $as_echo "no" >&6; }
17868 ac_cpp
='$CXXCPP $CPPFLAGS'
17869 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17876 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17877 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17882 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17884 cy_save
=$OBJCXXFLAGS
17886 for element
in -Wno-deprecated-declarations; do
17888 for x
in $OBJCXXFLAGS; do
17890 acl_save_prefix
="$prefix"
17891 prefix
="$acl_final_prefix"
17892 acl_save_exec_prefix
="$exec_prefix"
17893 exec_prefix
="$acl_final_exec_prefix"
17895 exec_prefix
="$acl_save_exec_prefix"
17896 prefix
="$acl_save_prefix"
17898 if test "X$x" = "X$element"; then
17903 if test -z "$haveit"; then
17904 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h. */
17913 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17920 OBJCXXFLAGS
=$cy_save
17921 if test "x$cy_good" = x1
; then :
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17923 $as_echo "yes" >&6; }
17925 for element
in -Wno-deprecated-declarations; do
17927 for x
in $OBJCXXFLAGS; do
17929 acl_save_prefix
="$prefix"
17930 prefix
="$acl_final_prefix"
17931 acl_save_exec_prefix
="$exec_prefix"
17932 exec_prefix
="$acl_final_exec_prefix"
17934 exec_prefix
="$acl_save_exec_prefix"
17935 prefix
="$acl_save_prefix"
17937 if test "X$x" = "X$element"; then
17942 if test -z "$haveit"; then
17943 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17950 $as_echo "no" >&6; }
17954 ac_cpp
='$CXXCPP $CPPFLAGS'
17955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17965 ac_cpp
='$CPP $CPPFLAGS'
17966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17971 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17975 for element
in -Wno-dangling-else; do
17977 for x
in $CFLAGS; do
17979 acl_save_prefix
="$prefix"
17980 prefix
="$acl_final_prefix"
17981 acl_save_exec_prefix
="$exec_prefix"
17982 exec_prefix
="$acl_final_exec_prefix"
17984 exec_prefix
="$acl_save_exec_prefix"
17985 prefix
="$acl_save_prefix"
17987 if test "X$x" = "X$element"; then
17992 if test -z "$haveit"; then
17993 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h. */
18002 if ac_fn_c_try_compile
"$LINENO"; then :
18007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18010 if test "x$cy_good" = x1
; then :
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18012 $as_echo "yes" >&6; }
18014 for element
in -Wno-dangling-else; do
18016 for x
in $CFLAGS; do
18018 acl_save_prefix
="$prefix"
18019 prefix
="$acl_final_prefix"
18020 acl_save_exec_prefix
="$exec_prefix"
18021 exec_prefix
="$acl_final_exec_prefix"
18023 exec_prefix
="$acl_save_exec_prefix"
18024 prefix
="$acl_save_prefix"
18026 if test "X$x" = "X$element"; then
18031 if test -z "$haveit"; then
18032 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18039 $as_echo "no" >&6; }
18043 ac_cpp
='$CXXCPP $CPPFLAGS'
18044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18051 ac_cpp
='$CXXCPP $CPPFLAGS'
18052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
18057 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
18061 for element
in -Wno-dangling-else; do
18063 for x
in $CXXFLAGS; do
18065 acl_save_prefix
="$prefix"
18066 prefix
="$acl_final_prefix"
18067 acl_save_exec_prefix
="$exec_prefix"
18068 exec_prefix
="$acl_final_exec_prefix"
18070 exec_prefix
="$acl_save_exec_prefix"
18071 prefix
="$acl_save_prefix"
18073 if test "X$x" = "X$element"; then
18078 if test -z "$haveit"; then
18079 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18085 /* end confdefs.h. */
18088 if ac_fn_cxx_try_compile
"$LINENO"; then :
18093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18096 if test "x$cy_good" = x1
; then :
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18098 $as_echo "yes" >&6; }
18100 for element
in -Wno-dangling-else; do
18102 for x
in $CXXFLAGS; do
18104 acl_save_prefix
="$prefix"
18105 prefix
="$acl_final_prefix"
18106 acl_save_exec_prefix
="$exec_prefix"
18107 exec_prefix
="$acl_final_exec_prefix"
18109 exec_prefix
="$acl_save_exec_prefix"
18110 prefix
="$acl_save_prefix"
18112 if test "X$x" = "X$element"; then
18117 if test -z "$haveit"; then
18118 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18125 $as_echo "no" >&6; }
18129 ac_cpp
='$CXXCPP $CPPFLAGS'
18130 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18137 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18138 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18139 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18140 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
18143 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
18145 cy_save
=$OBJCXXFLAGS
18147 for element
in -Wno-dangling-else; do
18149 for x
in $OBJCXXFLAGS; do
18151 acl_save_prefix
="$prefix"
18152 prefix
="$acl_final_prefix"
18153 acl_save_exec_prefix
="$exec_prefix"
18154 exec_prefix
="$acl_final_exec_prefix"
18156 exec_prefix
="$acl_save_exec_prefix"
18157 prefix
="$acl_save_prefix"
18159 if test "X$x" = "X$element"; then
18164 if test -z "$haveit"; then
18165 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18174 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18181 OBJCXXFLAGS
=$cy_save
18182 if test "x$cy_good" = x1
; then :
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18184 $as_echo "yes" >&6; }
18186 for element
in -Wno-dangling-else; do
18188 for x
in $OBJCXXFLAGS; do
18190 acl_save_prefix
="$prefix"
18191 prefix
="$acl_final_prefix"
18192 acl_save_exec_prefix
="$exec_prefix"
18193 exec_prefix
="$acl_final_exec_prefix"
18195 exec_prefix
="$acl_save_exec_prefix"
18196 prefix
="$acl_save_prefix"
18198 if test "X$x" = "X$element"; then
18203 if test -z "$haveit"; then
18204 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18211 $as_echo "no" >&6; }
18215 ac_cpp
='$CXXCPP $CPPFLAGS'
18216 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18217 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18218 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18225 ac_cpp
='$CPP $CPPFLAGS'
18226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
18231 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
18235 for element
in -Wno-overloaded-virtual; do
18237 for x
in $CFLAGS; do
18239 acl_save_prefix
="$prefix"
18240 prefix
="$acl_final_prefix"
18241 acl_save_exec_prefix
="$exec_prefix"
18242 exec_prefix
="$acl_final_exec_prefix"
18244 exec_prefix
="$acl_save_exec_prefix"
18245 prefix
="$acl_save_prefix"
18247 if test "X$x" = "X$element"; then
18252 if test -z "$haveit"; then
18253 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18262 if ac_fn_c_try_compile
"$LINENO"; then :
18267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18270 if test "x$cy_good" = x1
; then :
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18272 $as_echo "yes" >&6; }
18274 for element
in -Wno-overloaded-virtual; do
18276 for x
in $CFLAGS; do
18278 acl_save_prefix
="$prefix"
18279 prefix
="$acl_final_prefix"
18280 acl_save_exec_prefix
="$exec_prefix"
18281 exec_prefix
="$acl_final_exec_prefix"
18283 exec_prefix
="$acl_save_exec_prefix"
18284 prefix
="$acl_save_prefix"
18286 if test "X$x" = "X$element"; then
18291 if test -z "$haveit"; then
18292 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18299 $as_echo "no" >&6; }
18303 ac_cpp
='$CXXCPP $CPPFLAGS'
18304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18311 ac_cpp
='$CXXCPP $CPPFLAGS'
18312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
18317 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
18321 for element
in -Wno-overloaded-virtual; do
18323 for x
in $CXXFLAGS; do
18325 acl_save_prefix
="$prefix"
18326 prefix
="$acl_final_prefix"
18327 acl_save_exec_prefix
="$exec_prefix"
18328 exec_prefix
="$acl_final_exec_prefix"
18330 exec_prefix
="$acl_save_exec_prefix"
18331 prefix
="$acl_save_prefix"
18333 if test "X$x" = "X$element"; then
18338 if test -z "$haveit"; then
18339 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18348 if ac_fn_cxx_try_compile
"$LINENO"; then :
18353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18356 if test "x$cy_good" = x1
; then :
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18358 $as_echo "yes" >&6; }
18360 for element
in -Wno-overloaded-virtual; do
18362 for x
in $CXXFLAGS; do
18364 acl_save_prefix
="$prefix"
18365 prefix
="$acl_final_prefix"
18366 acl_save_exec_prefix
="$exec_prefix"
18367 exec_prefix
="$acl_final_exec_prefix"
18369 exec_prefix
="$acl_save_exec_prefix"
18370 prefix
="$acl_save_prefix"
18372 if test "X$x" = "X$element"; then
18377 if test -z "$haveit"; then
18378 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18385 $as_echo "no" >&6; }
18389 ac_cpp
='$CXXCPP $CPPFLAGS'
18390 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18391 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18392 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18397 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18398 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
18403 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
18405 cy_save
=$OBJCXXFLAGS
18407 for element
in -Wno-overloaded-virtual; do
18409 for x
in $OBJCXXFLAGS; do
18411 acl_save_prefix
="$prefix"
18412 prefix
="$acl_final_prefix"
18413 acl_save_exec_prefix
="$exec_prefix"
18414 exec_prefix
="$acl_final_exec_prefix"
18416 exec_prefix
="$acl_save_exec_prefix"
18417 prefix
="$acl_save_prefix"
18419 if test "X$x" = "X$element"; then
18424 if test -z "$haveit"; then
18425 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18431 /* end confdefs.h. */
18434 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18441 OBJCXXFLAGS
=$cy_save
18442 if test "x$cy_good" = x1
; then :
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18444 $as_echo "yes" >&6; }
18446 for element
in -Wno-overloaded-virtual; do
18448 for x
in $OBJCXXFLAGS; do
18450 acl_save_prefix
="$prefix"
18451 prefix
="$acl_final_prefix"
18452 acl_save_exec_prefix
="$exec_prefix"
18453 exec_prefix
="$acl_final_exec_prefix"
18455 exec_prefix
="$acl_save_exec_prefix"
18456 prefix
="$acl_save_prefix"
18458 if test "X$x" = "X$element"; then
18463 if test -z "$haveit"; then
18464 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18471 $as_echo "no" >&6; }
18475 ac_cpp
='$CXXCPP $CPPFLAGS'
18476 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18477 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18478 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18485 ac_cpp
='$CPP $CPPFLAGS'
18486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
18491 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
18495 for element
in -Wno-parentheses; do
18497 for x
in $CFLAGS; do
18499 acl_save_prefix
="$prefix"
18500 prefix
="$acl_final_prefix"
18501 acl_save_exec_prefix
="$exec_prefix"
18502 exec_prefix
="$acl_final_exec_prefix"
18504 exec_prefix
="$acl_save_exec_prefix"
18505 prefix
="$acl_save_prefix"
18507 if test "X$x" = "X$element"; then
18512 if test -z "$haveit"; then
18513 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18522 if ac_fn_c_try_compile
"$LINENO"; then :
18527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18530 if test "x$cy_good" = x1
; then :
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18532 $as_echo "yes" >&6; }
18534 for element
in -Wno-parentheses; do
18536 for x
in $CFLAGS; do
18538 acl_save_prefix
="$prefix"
18539 prefix
="$acl_final_prefix"
18540 acl_save_exec_prefix
="$exec_prefix"
18541 exec_prefix
="$acl_final_exec_prefix"
18543 exec_prefix
="$acl_save_exec_prefix"
18544 prefix
="$acl_save_prefix"
18546 if test "X$x" = "X$element"; then
18551 if test -z "$haveit"; then
18552 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18559 $as_echo "no" >&6; }
18563 ac_cpp
='$CXXCPP $CPPFLAGS'
18564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18571 ac_cpp
='$CXXCPP $CPPFLAGS'
18572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
18577 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
18581 for element
in -Wno-parentheses; do
18583 for x
in $CXXFLAGS; do
18585 acl_save_prefix
="$prefix"
18586 prefix
="$acl_final_prefix"
18587 acl_save_exec_prefix
="$exec_prefix"
18588 exec_prefix
="$acl_final_exec_prefix"
18590 exec_prefix
="$acl_save_exec_prefix"
18591 prefix
="$acl_save_prefix"
18593 if test "X$x" = "X$element"; then
18598 if test -z "$haveit"; then
18599 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18608 if ac_fn_cxx_try_compile
"$LINENO"; then :
18613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18616 if test "x$cy_good" = x1
; then :
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18618 $as_echo "yes" >&6; }
18620 for element
in -Wno-parentheses; do
18622 for x
in $CXXFLAGS; do
18624 acl_save_prefix
="$prefix"
18625 prefix
="$acl_final_prefix"
18626 acl_save_exec_prefix
="$exec_prefix"
18627 exec_prefix
="$acl_final_exec_prefix"
18629 exec_prefix
="$acl_save_exec_prefix"
18630 prefix
="$acl_save_prefix"
18632 if test "X$x" = "X$element"; then
18637 if test -z "$haveit"; then
18638 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18645 $as_echo "no" >&6; }
18649 ac_cpp
='$CXXCPP $CPPFLAGS'
18650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18657 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18658 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18659 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18660 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
18663 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
18665 cy_save
=$OBJCXXFLAGS
18667 for element
in -Wno-parentheses; do
18669 for x
in $OBJCXXFLAGS; do
18671 acl_save_prefix
="$prefix"
18672 prefix
="$acl_final_prefix"
18673 acl_save_exec_prefix
="$exec_prefix"
18674 exec_prefix
="$acl_final_exec_prefix"
18676 exec_prefix
="$acl_save_exec_prefix"
18677 prefix
="$acl_save_prefix"
18679 if test "X$x" = "X$element"; then
18684 if test -z "$haveit"; then
18685 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18694 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18701 OBJCXXFLAGS
=$cy_save
18702 if test "x$cy_good" = x1
; then :
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18704 $as_echo "yes" >&6; }
18706 for element
in -Wno-parentheses; do
18708 for x
in $OBJCXXFLAGS; do
18710 acl_save_prefix
="$prefix"
18711 prefix
="$acl_final_prefix"
18712 acl_save_exec_prefix
="$exec_prefix"
18713 exec_prefix
="$acl_final_exec_prefix"
18715 exec_prefix
="$acl_save_exec_prefix"
18716 prefix
="$acl_save_prefix"
18718 if test "X$x" = "X$element"; then
18723 if test -z "$haveit"; then
18724 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18731 $as_echo "no" >&6; }
18735 ac_cpp
='$CXXCPP $CPPFLAGS'
18736 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18737 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18738 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18745 ac_cpp
='$CPP $CPPFLAGS'
18746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
18751 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
18755 for element
in -Wno-unneeded-internal-declaration; do
18757 for x
in $CFLAGS; do
18759 acl_save_prefix
="$prefix"
18760 prefix
="$acl_final_prefix"
18761 acl_save_exec_prefix
="$exec_prefix"
18762 exec_prefix
="$acl_final_exec_prefix"
18764 exec_prefix
="$acl_save_exec_prefix"
18765 prefix
="$acl_save_prefix"
18767 if test "X$x" = "X$element"; then
18772 if test -z "$haveit"; then
18773 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18779 /* end confdefs.h. */
18782 if ac_fn_c_try_compile
"$LINENO"; then :
18787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18790 if test "x$cy_good" = x1
; then :
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18792 $as_echo "yes" >&6; }
18794 for element
in -Wno-unneeded-internal-declaration; do
18796 for x
in $CFLAGS; do
18798 acl_save_prefix
="$prefix"
18799 prefix
="$acl_final_prefix"
18800 acl_save_exec_prefix
="$exec_prefix"
18801 exec_prefix
="$acl_final_exec_prefix"
18803 exec_prefix
="$acl_save_exec_prefix"
18804 prefix
="$acl_save_prefix"
18806 if test "X$x" = "X$element"; then
18811 if test -z "$haveit"; then
18812 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18819 $as_echo "no" >&6; }
18823 ac_cpp
='$CXXCPP $CPPFLAGS'
18824 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18825 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18826 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18831 ac_cpp
='$CXXCPP $CPPFLAGS'
18832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18837 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18841 for element
in -Wno-unneeded-internal-declaration; do
18843 for x
in $CXXFLAGS; do
18845 acl_save_prefix
="$prefix"
18846 prefix
="$acl_final_prefix"
18847 acl_save_exec_prefix
="$exec_prefix"
18848 exec_prefix
="$acl_final_exec_prefix"
18850 exec_prefix
="$acl_save_exec_prefix"
18851 prefix
="$acl_save_prefix"
18853 if test "X$x" = "X$element"; then
18858 if test -z "$haveit"; then
18859 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18868 if ac_fn_cxx_try_compile
"$LINENO"; then :
18873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18876 if test "x$cy_good" = x1
; then :
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18878 $as_echo "yes" >&6; }
18880 for element
in -Wno-unneeded-internal-declaration; do
18882 for x
in $CXXFLAGS; do
18884 acl_save_prefix
="$prefix"
18885 prefix
="$acl_final_prefix"
18886 acl_save_exec_prefix
="$exec_prefix"
18887 exec_prefix
="$acl_final_exec_prefix"
18889 exec_prefix
="$acl_save_exec_prefix"
18890 prefix
="$acl_save_prefix"
18892 if test "X$x" = "X$element"; then
18897 if test -z "$haveit"; then
18898 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18905 $as_echo "no" >&6; }
18909 ac_cpp
='$CXXCPP $CPPFLAGS'
18910 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18911 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18912 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18917 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18918 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18919 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18920 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18923 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18925 cy_save
=$OBJCXXFLAGS
18927 for element
in -Wno-unneeded-internal-declaration; do
18929 for x
in $OBJCXXFLAGS; do
18931 acl_save_prefix
="$prefix"
18932 prefix
="$acl_final_prefix"
18933 acl_save_exec_prefix
="$exec_prefix"
18934 exec_prefix
="$acl_final_exec_prefix"
18936 exec_prefix
="$acl_save_exec_prefix"
18937 prefix
="$acl_save_prefix"
18939 if test "X$x" = "X$element"; then
18944 if test -z "$haveit"; then
18945 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18954 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18961 OBJCXXFLAGS
=$cy_save
18962 if test "x$cy_good" = x1
; then :
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18964 $as_echo "yes" >&6; }
18966 for element
in -Wno-unneeded-internal-declaration; do
18968 for x
in $OBJCXXFLAGS; do
18970 acl_save_prefix
="$prefix"
18971 prefix
="$acl_final_prefix"
18972 acl_save_exec_prefix
="$exec_prefix"
18973 exec_prefix
="$acl_final_exec_prefix"
18975 exec_prefix
="$acl_save_exec_prefix"
18976 prefix
="$acl_save_prefix"
18978 if test "X$x" = "X$element"; then
18983 if test -z "$haveit"; then
18984 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18991 $as_echo "no" >&6; }
18995 ac_cpp
='$CXXCPP $CPPFLAGS'
18996 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18997 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18998 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19007 ac_cpp
='$CPP $CPPFLAGS'
19008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19014 # We used to check for pthread.h first, but this fails if pthread.h
19015 # requires special compiler flags (e.g. on Tru64 or Sequent).
19016 # It gets checked for in the link test anyway.
19018 # First of all, check if the user has set any of the PTHREAD_LIBS,
19019 # etcetera environment variables, and if threads linking works using
19021 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19022 save_CFLAGS
="$CFLAGS"
19023 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19025 LIBS
="$PTHREAD_LIBS $LIBS"
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
19027 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
19028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h. */
19031 /* Override any GCC internal prototype to avoid an error.
19032 Use char because int might match the return type of a GCC
19033 builtin and then its argument prototype would still apply. */
19037 char pthread_join ();
19041 return pthread_join ();
19046 if ac_fn_c_try_link
"$LINENO"; then :
19049 rm -f core conftest.err conftest.
$ac_objext \
19050 conftest
$ac_exeext conftest.
$ac_ext
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19052 $as_echo "$ax_pthread_ok" >&6; }
19053 if test x
"$ax_pthread_ok" = xno
; then
19058 CFLAGS
="$save_CFLAGS"
19061 # We must check for the threads library under a number of different
19062 # names; the ordering is very important because some systems
19063 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19064 # libraries is broken (non-POSIX).
19066 # Create a list of thread flags to try. Items starting with a "-" are
19067 # C compiler flags, and other items are library names, except for "none"
19068 # which indicates that we try without any flags at all, and "pthread-config"
19069 # which is a program returning the flags for the Pth emulation library.
19071 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
19073 # The ordering *is* (sometimes) important. Some notes on the
19074 # individual items follow:
19076 # pthreads: AIX (must check this before -lpthread)
19077 # none: in case threads are in libc; should be tried before -Kthread and
19078 # other compiler flags to prevent continual compiler warnings
19079 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19080 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19081 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19082 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
19083 # -pthreads: Solaris/gcc
19084 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19085 # doesn't hurt to check since this sometimes defines pthreads and
19086 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
19087 # is present but should not be used directly)
19088 # -mthreads: Mingw32/gcc, Lynx/gcc
19089 # pthread: Linux, etcetera
19090 # --thread-safe: KAI C++
19091 # pthread-config: use pthread-config program (for GNU Pth library)
19097 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
19098 # multi-threading and also sets -lpthread."
19100 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
19105 # IBM z/OS requires a feature-test macro to be defined in order to
19106 # enable POSIX threads at all, so give the user a hint if this is
19107 # not set. (We don't define these ourselves, as they can affect
19108 # other portions of the system API in unpredictable ways.)
19110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19111 /* end confdefs.h. */
19113 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
19114 AX_PTHREAD_ZOS_MISSING
19118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19119 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
19121 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
19129 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
19130 # check that first. On some older versions, libc contains stubbed
19131 # (non-functional) versions of the pthreads routines, so link-based
19132 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19133 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19134 # a function called by this macro, so we could check for that, but
19135 # who knows whether they'll stub that too in a future libc.) So
19136 # we'll look for -pthreads and -lpthread shortly thereafter.
19138 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
19142 # Older versions of Clang only give a warning instead of an error for an
19143 # unrecognized option, unless we specify -Werror. (We throw in some extra
19144 # Clang warning flags for good measure.)
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
19147 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
19148 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
19149 $as_echo_n "(cached) " >&6
19151 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
19152 save_CFLAGS
="$CFLAGS"
19153 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
19154 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
19155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19156 /* end confdefs.h. */
19166 if ac_fn_c_try_compile
"$LINENO"; then :
19167 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
19169 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
19171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19172 CFLAGS
="$save_CFLAGS"
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
19176 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
19177 ax_pthread_extra_flags
=
19178 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
19179 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
19182 if test x
"$ax_pthread_ok" = xno
; then
19183 for flag
in $ax_pthread_flags; do
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19188 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
19193 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
19194 PTHREAD_CFLAGS
="-mt"
19195 PTHREAD_LIBS
="-lpthread"
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19200 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19201 PTHREAD_CFLAGS
="$flag"
19205 # Extract the first word of "pthread-config", so it can be a program name with args.
19206 set dummy pthread
-config; ac_word
=$2
19207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19208 $as_echo_n "checking for $ac_word... " >&6; }
19209 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
19210 $as_echo_n "(cached) " >&6
19212 if test -n "$ax_pthread_config"; then
19213 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
19215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19216 for as_dir
in $PATH
19219 test -z "$as_dir" && as_dir
=.
19220 for ac_exec_ext
in '' $ac_executable_extensions; do
19221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19222 ac_cv_prog_ax_pthread_config
="yes"
19223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19230 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
19233 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
19234 if test -n "$ax_pthread_config"; then
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
19236 $as_echo "$ax_pthread_config" >&6; }
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19239 $as_echo "no" >&6; }
19243 if test x
"$ax_pthread_config" = xno
; then continue; fi
19244 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19245 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19250 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19251 PTHREAD_LIBS
="-l$flag"
19256 save_CFLAGS
="$CFLAGS"
19257 LIBS
="$PTHREAD_LIBS $LIBS"
19258 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
19260 # Check for various functions. We must include pthread.h,
19261 # since some functions may be macros. (On the Sequent, we
19262 # need a special flag -Kthread to make this header compile.)
19263 # We check for pthread_join because it is in -lpthread on IRIX
19264 # while pthread_create is in libc. We check for pthread_attr_init
19265 # due to DEC craziness with -lpthreads. We check for
19266 # pthread_cleanup_push because it is one of the few pthread
19267 # functions on Solaris that doesn't have a non-functional libc stub.
19268 # We try pthread_create on general principles.
19269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19271 #include <pthread.h>
19272 static void routine(void *a) { a = 0; }
19273 static void *start_routine(void *a) { return a; }
19277 pthread_t th; pthread_attr_t attr;
19278 pthread_create(&th, 0, start_routine, 0);
19279 pthread_join(th, 0);
19280 pthread_attr_init(&attr);
19281 pthread_cleanup_push(routine, 0);
19282 pthread_cleanup_pop(0) /* ; */
19287 if ac_fn_c_try_link
"$LINENO"; then :
19290 rm -f core conftest.err conftest.
$ac_objext \
19291 conftest
$ac_exeext conftest.
$ac_ext
19294 CFLAGS
="$save_CFLAGS"
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19297 $as_echo "$ax_pthread_ok" >&6; }
19298 if test "x$ax_pthread_ok" = xyes
; then
19307 # Various other checks:
19308 if test "x$ax_pthread_ok" = xyes
; then
19310 LIBS
="$PTHREAD_LIBS $LIBS"
19311 save_CFLAGS
="$CFLAGS"
19312 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19314 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19316 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19317 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
19318 $as_echo_n "(cached) " >&6
19320 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
19321 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h. */
19324 #include <pthread.h>
19328 int attr = $attr; return attr /* ; */
19333 if ac_fn_c_try_link
"$LINENO"; then :
19334 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
19336 rm -f core conftest.err conftest.
$ac_objext \
19337 conftest
$ac_exeext conftest.
$ac_ext
19341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
19342 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
19343 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
19344 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
19346 cat >>confdefs.h
<<_ACEOF
19347 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19353 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19354 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
19355 $as_echo_n "(cached) " >&6
19357 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
19358 ax_pthread_special_flags_added
=no
19359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19362 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
19363 AX_PTHREAD_NEED_SPECIAL_FLAG
19367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19368 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
19371 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
19373 darwin
* | hpux
* | osf
* | solaris
*)
19374 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
19384 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
19385 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
19386 test "x$ax_pthread_special_flags_added" != "xyes"; then :
19387 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
19388 ax_pthread_special_flags_added
=yes
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
19392 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
19393 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
19394 $as_echo_n "(cached) " >&6
19396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 #include <pthread.h>
19402 int i = PTHREAD_PRIO_INHERIT;
19407 if ac_fn_c_try_link
"$LINENO"; then :
19408 ax_cv_PTHREAD_PRIO_INHERIT
=yes
19410 ax_cv_PTHREAD_PRIO_INHERIT
=no
19412 rm -f core conftest.err conftest.
$ac_objext \
19413 conftest
$ac_exeext conftest.
$ac_ext
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
19417 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
19418 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
19420 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
19425 CFLAGS
="$save_CFLAGS"
19427 # More AIX lossage: compile with *_r variant
19428 if test "x$GCC" != xyes
; then
19432 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
19433 #handle absolute path differently from PATH based program lookup
19436 if as_fn_executable_p
${CC}_r
; then :
19437 PTHREAD_CC
="${CC}_r"
19440 for ac_prog
in ${CC}_r
19442 # Extract the first word of "$ac_prog", so it can be a program name with args.
19443 set dummy
$ac_prog; ac_word
=$2
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19445 $as_echo_n "checking for $ac_word... " >&6; }
19446 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19447 $as_echo_n "(cached) " >&6
19449 if test -n "$PTHREAD_CC"; then
19450 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19453 for as_dir
in $PATH
19456 test -z "$as_dir" && as_dir
=.
19457 for ac_exec_ext
in '' $ac_executable_extensions; do
19458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19459 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19469 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19470 if test -n "$PTHREAD_CC"; then
19471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19472 $as_echo "$PTHREAD_CC" >&6; }
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19475 $as_echo "no" >&6; }
19479 test -n "$PTHREAD_CC" && break
19481 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
19492 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
19498 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19499 if test x
"$ax_pthread_ok" = xyes
; then
19501 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
19509 ac_cpp
='$CXXCPP $CPPFLAGS'
19510 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19511 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19512 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19518 for cy_arch
in ppc ppc64 i386 x86_64 armv6 arm64
; do
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
19520 $as_echo_n "checking for -arch $cy_arch... " >&6; }
19524 for element
in "-arch $cy_arch"; do
19526 for x
in $CXXFLAGS; do
19528 acl_save_prefix
="$prefix"
19529 prefix
="$acl_final_prefix"
19530 acl_save_exec_prefix
="$exec_prefix"
19531 exec_prefix
="$acl_final_exec_prefix"
19533 exec_prefix
="$acl_save_exec_prefix"
19534 prefix
="$acl_save_prefix"
19536 if test "X$x" = "X$element"; then
19541 if test -z "$haveit"; then
19542 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19558 if ac_fn_cxx_try_link
"$LINENO"; then :
19563 rm -f core conftest.err conftest.
$ac_objext \
19564 conftest
$ac_exeext conftest.
$ac_ext
19567 if test "x$cy_good" = x1
; then :
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19569 $as_echo "yes" >&6; }
19571 for element
in "-arch $cy_arch"; do
19573 for x
in $CY_ARCH; do
19575 acl_save_prefix
="$prefix"
19576 prefix
="$acl_final_prefix"
19577 acl_save_exec_prefix
="$exec_prefix"
19578 exec_prefix
="$acl_final_exec_prefix"
19580 exec_prefix
="$acl_save_exec_prefix"
19581 prefix
="$acl_save_prefix"
19583 if test "X$x" = "X$element"; then
19588 if test -z "$haveit"; then
19589 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19596 $as_echo "no" >&6; }
19606 # Check whether --enable-javascript was given.
19607 if test "${enable_javascript+set}" = set; then :
19608 enableval
=$enable_javascript;
19609 case $enableval in #(
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19618 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19619 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19620 $as_echo_n "(cached) " >&6
19622 ac_func_search_save_LIBS
=$LIBS
19623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19626 /* Override any GCC internal prototype to avoid an error.
19627 Use char because int might match the return type of a GCC
19628 builtin and then its argument prototype would still apply. */
19632 char JSEvaluateScript ();
19636 return JSEvaluateScript ();
19641 for ac_lib
in '' JavaScriptCore
; do
19642 if test -z "$ac_lib"; then
19643 ac_res
="none required"
19646 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19648 if ac_fn_cxx_try_link
"$LINENO"; then :
19649 ac_cv_search_JSEvaluateScript
=$ac_res
19651 rm -f core conftest.err conftest.
$ac_objext \
19653 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19657 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19660 ac_cv_search_JSEvaluateScript
=no
19662 rm conftest.
$ac_ext
19663 LIBS
=$ac_func_search_save_LIBS
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19666 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19667 ac_res
=$ac_cv_search_JSEvaluateScript
19668 if test "$ac_res" != no
; then :
19669 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19677 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19678 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19679 $as_echo_n "(cached) " >&6
19682 ac_check_framework_save_LIBS
=$LIBS
19683 LIBS
="-framework JavaScriptCore $LIBS"
19684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19685 /* end confdefs.h. */
19687 #include <JavaScriptCore/JSBase.h>
19693 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19699 if ac_fn_cxx_try_link
"$LINENO"; then :
19701 ac_cv_framework_JavaScriptCore
=yes
19704 ac_cv_framework_JavaScriptCore
=no
19706 rm -f core conftest.err conftest.
$ac_objext \
19707 conftest
$ac_exeext conftest.
$ac_ext
19708 LIBS
=$ac_check_framework_save_LIBS
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19712 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19713 if test $ac_cv_framework_JavaScriptCore = yes; then :
19716 for element
in "-framework JavaScriptCore"; do
19720 acl_save_prefix
="$prefix"
19721 prefix
="$acl_final_prefix"
19722 acl_save_exec_prefix
="$exec_prefix"
19723 exec_prefix
="$acl_final_exec_prefix"
19725 exec_prefix
="$acl_save_exec_prefix"
19726 prefix
="$acl_save_prefix"
19728 if test "X$x" = "X$element"; then
19733 if test -z "$haveit"; then
19734 LIBS
="${LIBS}${LIBS:+ }$element"
19745 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
19749 $as_echo_n "checking for WEBKIT... " >&6; }
19751 if test -n "$WEBKIT_CFLAGS"; then
19752 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
19753 elif test -n "$PKG_CONFIG"; then
19754 if test -n "$PKG_CONFIG" && \
19755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19756 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19759 test $ac_status = 0; }; then
19760 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
19761 test "x$?" != "x0" && pkg_failed
=yes
19768 if test -n "$WEBKIT_LIBS"; then
19769 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
19770 elif test -n "$PKG_CONFIG"; then
19771 if test -n "$PKG_CONFIG" && \
19772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19773 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19776 test $ac_status = 0; }; then
19777 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19778 test "x$?" != "x0" && pkg_failed
=yes
19788 if test $pkg_failed = yes; then
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19790 $as_echo "no" >&6; }
19792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19793 _pkg_short_errors_supported
=yes
19795 _pkg_short_errors_supported
=no
19797 if test $_pkg_short_errors_supported = yes; then
19798 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19800 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19802 # Put the nasty error message in config.log where it belongs
19803 echo "$WEBKIT_PKG_ERRORS" >&5
19806 elif test $pkg_failed = untried
; then
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19808 $as_echo "no" >&6; }
19811 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19812 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19814 $as_echo "yes" >&6; }
19819 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19821 for x
in $CPPFLAGS; do
19823 acl_save_prefix
="$prefix"
19824 prefix
="$acl_final_prefix"
19825 acl_save_exec_prefix
="$exec_prefix"
19826 exec_prefix
="$acl_final_exec_prefix"
19828 exec_prefix
="$acl_save_exec_prefix"
19829 prefix
="$acl_save_prefix"
19831 if test "X$x" = "X$element"; then
19836 if test -z "$haveit"; then
19837 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19842 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19846 acl_save_prefix
="$prefix"
19847 prefix
="$acl_final_prefix"
19848 acl_save_exec_prefix
="$exec_prefix"
19849 exec_prefix
="$acl_final_exec_prefix"
19851 exec_prefix
="$acl_save_exec_prefix"
19852 prefix
="$acl_save_prefix"
19854 if test "X$x" = "X$element"; then
19859 if test -z "$haveit"; then
19860 LIBS
="${LIBS}${LIBS:+ }$element"
19865 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19871 LTJAVASCRIPTCORE
=$LIBS
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19887 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19888 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19889 $as_echo_n "(cached) " >&6
19891 ac_func_search_save_LIBS
=$LIBS
19892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19895 /* Override any GCC internal prototype to avoid an error.
19896 Use char because int might match the return type of a GCC
19897 builtin and then its argument prototype would still apply. */
19901 char JSEvaluateScript ();
19905 return JSEvaluateScript ();
19910 for ac_lib
in '' JavaScriptCore
; do
19911 if test -z "$ac_lib"; then
19912 ac_res
="none required"
19915 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19917 if ac_fn_cxx_try_link
"$LINENO"; then :
19918 ac_cv_search_JSEvaluateScript
=$ac_res
19920 rm -f core conftest.err conftest.
$ac_objext \
19922 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19926 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19929 ac_cv_search_JSEvaluateScript
=no
19931 rm conftest.
$ac_ext
19932 LIBS
=$ac_func_search_save_LIBS
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19935 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19936 ac_res
=$ac_cv_search_JSEvaluateScript
19937 if test "$ac_res" != no
; then :
19938 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19946 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19947 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19948 $as_echo_n "(cached) " >&6
19951 ac_check_framework_save_LIBS
=$LIBS
19952 LIBS
="-framework JavaScriptCore $LIBS"
19953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19956 #include <JavaScriptCore/JSBase.h>
19962 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19968 if ac_fn_cxx_try_link
"$LINENO"; then :
19970 ac_cv_framework_JavaScriptCore
=yes
19973 ac_cv_framework_JavaScriptCore
=no
19975 rm -f core conftest.err conftest.
$ac_objext \
19976 conftest
$ac_exeext conftest.
$ac_ext
19977 LIBS
=$ac_check_framework_save_LIBS
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19981 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19982 if test $ac_cv_framework_JavaScriptCore = yes; then :
19985 for element
in "-framework JavaScriptCore"; do
19989 acl_save_prefix
="$prefix"
19990 prefix
="$acl_final_prefix"
19991 acl_save_exec_prefix
="$exec_prefix"
19992 exec_prefix
="$acl_final_exec_prefix"
19994 exec_prefix
="$acl_save_exec_prefix"
19995 prefix
="$acl_save_prefix"
19997 if test "X$x" = "X$element"; then
20002 if test -z "$haveit"; then
20003 LIBS
="${LIBS}${LIBS:+ }$element"
20014 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
20017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20018 $as_echo_n "checking for WEBKIT... " >&6; }
20020 if test -n "$WEBKIT_CFLAGS"; then
20021 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20022 elif test -n "$PKG_CONFIG"; then
20023 if test -n "$PKG_CONFIG" && \
20024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20025 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20028 test $ac_status = 0; }; then
20029 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20030 test "x$?" != "x0" && pkg_failed
=yes
20037 if test -n "$WEBKIT_LIBS"; then
20038 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20039 elif test -n "$PKG_CONFIG"; then
20040 if test -n "$PKG_CONFIG" && \
20041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20042 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20045 test $ac_status = 0; }; then
20046 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20047 test "x$?" != "x0" && pkg_failed
=yes
20057 if test $pkg_failed = yes; then
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20059 $as_echo "no" >&6; }
20061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20062 _pkg_short_errors_supported
=yes
20064 _pkg_short_errors_supported
=no
20066 if test $_pkg_short_errors_supported = yes; then
20067 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20069 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20071 # Put the nasty error message in config.log where it belongs
20072 echo "$WEBKIT_PKG_ERRORS" >&5
20075 elif test $pkg_failed = untried
; then
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20077 $as_echo "no" >&6; }
20080 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20081 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20083 $as_echo "yes" >&6; }
20088 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20090 for x
in $CPPFLAGS; do
20092 acl_save_prefix
="$prefix"
20093 prefix
="$acl_final_prefix"
20094 acl_save_exec_prefix
="$exec_prefix"
20095 exec_prefix
="$acl_final_exec_prefix"
20097 exec_prefix
="$acl_save_exec_prefix"
20098 prefix
="$acl_save_prefix"
20100 if test "X$x" = "X$element"; then
20105 if test -z "$haveit"; then
20106 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20111 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20115 acl_save_prefix
="$prefix"
20116 prefix
="$acl_final_prefix"
20117 acl_save_exec_prefix
="$exec_prefix"
20118 exec_prefix
="$acl_final_exec_prefix"
20120 exec_prefix
="$acl_save_exec_prefix"
20121 prefix
="$acl_save_prefix"
20123 if test "X$x" = "X$element"; then
20128 if test -z "$haveit"; then
20129 LIBS
="${LIBS}${LIBS:+ }$element"
20134 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20140 LTJAVASCRIPTCORE
=$LIBS
20146 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20156 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20157 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20158 $as_echo_n "(cached) " >&6
20160 ac_func_search_save_LIBS
=$LIBS
20161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20162 /* end confdefs.h. */
20164 /* Override any GCC internal prototype to avoid an error.
20165 Use char because int might match the return type of a GCC
20166 builtin and then its argument prototype would still apply. */
20170 char JSEvaluateScript ();
20174 return JSEvaluateScript ();
20179 for ac_lib
in '' JavaScriptCore
; do
20180 if test -z "$ac_lib"; then
20181 ac_res
="none required"
20184 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20186 if ac_fn_cxx_try_link
"$LINENO"; then :
20187 ac_cv_search_JSEvaluateScript
=$ac_res
20189 rm -f core conftest.err conftest.
$ac_objext \
20191 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20195 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20198 ac_cv_search_JSEvaluateScript
=no
20200 rm conftest.
$ac_ext
20201 LIBS
=$ac_func_search_save_LIBS
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20204 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20205 ac_res
=$ac_cv_search_JSEvaluateScript
20206 if test "$ac_res" != no
; then :
20207 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20215 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20216 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20217 $as_echo_n "(cached) " >&6
20220 ac_check_framework_save_LIBS
=$LIBS
20221 LIBS
="-framework JavaScriptCore $LIBS"
20222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20225 #include <JavaScriptCore/JSBase.h>
20231 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20237 if ac_fn_cxx_try_link
"$LINENO"; then :
20239 ac_cv_framework_JavaScriptCore
=yes
20242 ac_cv_framework_JavaScriptCore
=no
20244 rm -f core conftest.err conftest.
$ac_objext \
20245 conftest
$ac_exeext conftest.
$ac_ext
20246 LIBS
=$ac_check_framework_save_LIBS
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20250 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20251 if test $ac_cv_framework_JavaScriptCore = yes; then :
20254 for element
in "-framework JavaScriptCore"; do
20258 acl_save_prefix
="$prefix"
20259 prefix
="$acl_final_prefix"
20260 acl_save_exec_prefix
="$exec_prefix"
20261 exec_prefix
="$acl_final_exec_prefix"
20263 exec_prefix
="$acl_save_exec_prefix"
20264 prefix
="$acl_save_prefix"
20266 if test "X$x" = "X$element"; then
20271 if test -z "$haveit"; then
20272 LIBS
="${LIBS}${LIBS:+ }$element"
20283 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20287 $as_echo_n "checking for WEBKIT... " >&6; }
20289 if test -n "$WEBKIT_CFLAGS"; then
20290 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20291 elif test -n "$PKG_CONFIG"; then
20292 if test -n "$PKG_CONFIG" && \
20293 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20294 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20297 test $ac_status = 0; }; then
20298 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20299 test "x$?" != "x0" && pkg_failed
=yes
20306 if test -n "$WEBKIT_LIBS"; then
20307 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20308 elif test -n "$PKG_CONFIG"; then
20309 if test -n "$PKG_CONFIG" && \
20310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20311 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20314 test $ac_status = 0; }; then
20315 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20316 test "x$?" != "x0" && pkg_failed
=yes
20326 if test $pkg_failed = yes; then
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20328 $as_echo "no" >&6; }
20330 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20331 _pkg_short_errors_supported
=yes
20333 _pkg_short_errors_supported
=no
20335 if test $_pkg_short_errors_supported = yes; then
20336 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20338 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20340 # Put the nasty error message in config.log where it belongs
20341 echo "$WEBKIT_PKG_ERRORS" >&5
20344 elif test $pkg_failed = untried
; then
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20346 $as_echo "no" >&6; }
20349 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20350 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20352 $as_echo "yes" >&6; }
20357 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20359 for x
in $CPPFLAGS; do
20361 acl_save_prefix
="$prefix"
20362 prefix
="$acl_final_prefix"
20363 acl_save_exec_prefix
="$exec_prefix"
20364 exec_prefix
="$acl_final_exec_prefix"
20366 exec_prefix
="$acl_save_exec_prefix"
20367 prefix
="$acl_save_prefix"
20369 if test "X$x" = "X$element"; then
20374 if test -z "$haveit"; then
20375 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20380 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20384 acl_save_prefix
="$prefix"
20385 prefix
="$acl_final_prefix"
20386 acl_save_exec_prefix
="$exec_prefix"
20387 exec_prefix
="$acl_final_exec_prefix"
20389 exec_prefix
="$acl_save_exec_prefix"
20390 prefix
="$acl_save_prefix"
20392 if test "X$x" = "X$element"; then
20397 if test -z "$haveit"; then
20398 LIBS
="${LIBS}${LIBS:+ }$element"
20403 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20409 LTJAVASCRIPTCORE
=$LIBS
20417 # Check whether --enable-console was given.
20418 if test "${enable_console+set}" = set; then :
20419 enableval
=$enable_console;
20422 if test "x$enable_console" != "xno"; then
20424 CY_CONSOLE_FALSE
='#'
20426 CY_CONSOLE_TRUE
='#'
20431 # Check whether --enable-attach was given.
20432 if test "${enable_attach+set}" = set; then :
20433 enableval
=$enable_attach;
20436 if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1
; then
20438 CY_ATTACH_FALSE
='#'
20447 if test "x$CY_EXECUTE" = x1
; then
20449 CY_EXECUTE_FALSE
='#'
20451 CY_EXECUTE_TRUE
='#'
20457 case $CY_EXECUTE in #(
20460 for ac_header
in ffi.h ffi
/ffi.h
20462 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20463 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20464 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20465 cat >>confdefs.h
<<_ACEOF
20466 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20477 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
20481 C compiler flags
for LIBFFI
, overriding pkg
-config
20482 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
20486 $as_echo_n "checking for LIBFFI... " >&6; }
20488 if test -n "$LIBFFI_CFLAGS"; then
20489 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
20490 elif test -n "$PKG_CONFIG"; then
20491 if test -n "$PKG_CONFIG" && \
20492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20493 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20496 test $ac_status = 0; }; then
20497 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
20498 test "x$?" != "x0" && pkg_failed
=yes
20505 if test -n "$LIBFFI_LIBS"; then
20506 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
20507 elif test -n "$PKG_CONFIG"; then
20508 if test -n "$PKG_CONFIG" && \
20509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20510 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20513 test $ac_status = 0; }; then
20514 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
20515 test "x$?" != "x0" && pkg_failed
=yes
20525 if test $pkg_failed = yes; then
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20527 $as_echo "no" >&6; }
20529 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20530 _pkg_short_errors_supported
=yes
20532 _pkg_short_errors_supported
=no
20534 if test $_pkg_short_errors_supported = yes; then
20535 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20537 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20539 # Put the nasty error message in config.log where it belongs
20540 echo "$LIBFFI_PKG_ERRORS" >&5
20542 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20543 elif test $pkg_failed = untried
; then
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20545 $as_echo "no" >&6; }
20546 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20548 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20549 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20551 $as_echo "yes" >&6; }
20554 for element
in `$PKG_CONFIG --cflags libffi`; do
20556 for x
in $CPPFLAGS; do
20558 acl_save_prefix
="$prefix"
20559 prefix
="$acl_final_prefix"
20560 acl_save_exec_prefix
="$exec_prefix"
20561 exec_prefix
="$acl_final_exec_prefix"
20563 exec_prefix
="$acl_save_exec_prefix"
20564 prefix
="$acl_save_prefix"
20566 if test "X$x" = "X$element"; then
20571 if test -z "$haveit"; then
20572 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20577 for element
in `$PKG_CONFIG --libs libffi`; do
20581 acl_save_prefix
="$prefix"
20582 prefix
="$acl_final_prefix"
20583 acl_save_exec_prefix
="$exec_prefix"
20584 exec_prefix
="$acl_final_exec_prefix"
20586 exec_prefix
="$acl_save_exec_prefix"
20587 prefix
="$acl_save_prefix"
20589 if test "X$x" = "X$element"; then
20594 if test -z "$haveit"; then
20595 LIBS
="${LIBS}${LIBS:+ }$element"
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
20605 $as_echo_n "checking for library containing ffi_call... " >&6; }
20606 if ${ac_cv_search_ffi_call+:} false
; then :
20607 $as_echo_n "(cached) " >&6
20609 ac_func_search_save_LIBS
=$LIBS
20610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20611 /* end confdefs.h. */
20613 /* Override any GCC internal prototype to avoid an error.
20614 Use char because int might match the return type of a GCC
20615 builtin and then its argument prototype would still apply. */
20623 return ffi_call ();
20628 for ac_lib
in '' ffi
; do
20629 if test -z "$ac_lib"; then
20630 ac_res
="none required"
20633 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20635 if ac_fn_cxx_try_link
"$LINENO"; then :
20636 ac_cv_search_ffi_call
=$ac_res
20638 rm -f core conftest.err conftest.
$ac_objext \
20640 if ${ac_cv_search_ffi_call+:} false
; then :
20644 if ${ac_cv_search_ffi_call+:} false
; then :
20647 ac_cv_search_ffi_call
=no
20649 rm conftest.
$ac_ext
20650 LIBS
=$ac_func_search_save_LIBS
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
20653 $as_echo "$ac_cv_search_ffi_call" >&6; }
20654 ac_res
=$ac_cv_search_ffi_call
20655 if test "$ac_res" != no
; then :
20656 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20660 case $ac_cv_search_ffi_call in #(
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
20666 $as_echo_n "checking for LIBFFI... " >&6; }
20668 if test -n "$LIBFFI_CFLAGS"; then
20669 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
20670 elif test -n "$PKG_CONFIG"; then
20671 if test -n "$PKG_CONFIG" && \
20672 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20673 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20676 test $ac_status = 0; }; then
20677 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
20678 test "x$?" != "x0" && pkg_failed
=yes
20685 if test -n "$LIBFFI_LIBS"; then
20686 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
20687 elif test -n "$PKG_CONFIG"; then
20688 if test -n "$PKG_CONFIG" && \
20689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20690 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20693 test $ac_status = 0; }; then
20694 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
20695 test "x$?" != "x0" && pkg_failed
=yes
20705 if test $pkg_failed = yes; then
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20707 $as_echo "no" >&6; }
20709 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20710 _pkg_short_errors_supported
=yes
20712 _pkg_short_errors_supported
=no
20714 if test $_pkg_short_errors_supported = yes; then
20715 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20717 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20719 # Put the nasty error message in config.log where it belongs
20720 echo "$LIBFFI_PKG_ERRORS" >&5
20722 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20723 elif test $pkg_failed = untried
; then
20724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20725 $as_echo "no" >&6; }
20726 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20728 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20729 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20731 $as_echo "yes" >&6; }
20734 for element
in `$PKG_CONFIG --cflags libffi`; do
20736 for x
in $CPPFLAGS; do
20738 acl_save_prefix
="$prefix"
20739 prefix
="$acl_final_prefix"
20740 acl_save_exec_prefix
="$exec_prefix"
20741 exec_prefix
="$acl_final_exec_prefix"
20743 exec_prefix
="$acl_save_exec_prefix"
20744 prefix
="$acl_save_prefix"
20746 if test "X$x" = "X$element"; then
20751 if test -z "$haveit"; then
20752 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20757 for element
in `$PKG_CONFIG --libs libffi`; do
20761 acl_save_prefix
="$prefix"
20762 prefix
="$acl_final_prefix"
20763 acl_save_exec_prefix
="$exec_prefix"
20764 exec_prefix
="$acl_final_exec_prefix"
20766 exec_prefix
="$acl_save_exec_prefix"
20767 prefix
="$acl_save_prefix"
20769 if test "X$x" = "X$element"; then
20774 if test -z "$haveit"; then
20775 LIBS
="${LIBS}${LIBS:+ }$element"
20791 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
20792 if test "x$ac_cv_header_jni_h" = xyes
; then :
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
20800 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
20801 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20802 $as_echo_n "(cached) " >&6
20804 ac_func_search_save_LIBS
=$LIBS
20805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h. */
20808 /* Override any GCC internal prototype to avoid an error.
20809 Use char because int might match the return type of a GCC
20810 builtin and then its argument prototype would still apply. */
20814 char JNI_GetCreatedJavaVMs ();
20818 return JNI_GetCreatedJavaVMs ();
20823 for ac_lib
in '' dvm
; do
20824 if test -z "$ac_lib"; then
20825 ac_res
="none required"
20828 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20830 if ac_fn_cxx_try_link
"$LINENO"; then :
20831 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
20833 rm -f core conftest.err conftest.
$ac_objext \
20835 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20839 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20842 ac_cv_search_JNI_GetCreatedJavaVMs
=no
20844 rm conftest.
$ac_ext
20845 LIBS
=$ac_func_search_save_LIBS
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
20848 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
20849 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
20850 if test "$ac_res" != no
; then :
20851 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20871 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20872 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20873 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20874 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
20878 $as_echo_n "checking if we really have Objective C++... " >&6; }
20879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20883 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20887 $as_echo "yes" >&6; }
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20891 $as_echo "no" >&6; }
20893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20895 if test "x$CY_OBJECTIVEC" = x1
; then :
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
20902 $as_echo_n "checking for framework CoreFoundation... " >&6; }
20903 if ${ac_cv_framework_CoreFoundation+:} false
; then :
20904 $as_echo_n "(cached) " >&6
20907 ac_check_framework_save_LIBS
=$LIBS
20908 LIBS
="-framework CoreFoundation $LIBS"
20909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20910 /* end confdefs.h. */
20912 #include <CoreFoundation/CFBase.h>
20917 CFAllocatorGetDefault();
20922 if ac_fn_objcxx_try_link
"$LINENO"; then :
20924 ac_cv_framework_CoreFoundation
=yes
20927 ac_cv_framework_CoreFoundation
=no
20929 rm -f core conftest.err conftest.
$ac_objext \
20930 conftest
$ac_exeext conftest.
$ac_ext
20931 LIBS
=$ac_check_framework_save_LIBS
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
20935 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
20936 if test $ac_cv_framework_CoreFoundation = yes; then :
20939 for element
in "-framework CoreFoundation"; do
20943 acl_save_prefix
="$prefix"
20944 prefix
="$acl_final_prefix"
20945 acl_save_exec_prefix
="$exec_prefix"
20946 exec_prefix
="$acl_final_exec_prefix"
20948 exec_prefix
="$acl_save_exec_prefix"
20949 prefix
="$acl_save_prefix"
20951 if test "X$x" = "X$element"; then
20956 if test -z "$haveit"; then
20957 LIBS
="${LIBS}${LIBS:+ }$element"
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
20967 $as_echo_n "checking for framework Foundation... " >&6; }
20968 if ${ac_cv_framework_Foundation+:} false
; then :
20969 $as_echo_n "(cached) " >&6
20972 ac_check_framework_save_LIBS
=$LIBS
20973 LIBS
="-framework Foundation $LIBS"
20974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20975 /* end confdefs.h. */
20977 #include <Foundation/NSObject.h>
20982 [[NSObject alloc] init];
20987 if ac_fn_objcxx_try_link
"$LINENO"; then :
20989 ac_cv_framework_Foundation
=yes
20992 ac_cv_framework_Foundation
=no
20994 rm -f core conftest.err conftest.
$ac_objext \
20995 conftest
$ac_exeext conftest.
$ac_ext
20996 LIBS
=$ac_check_framework_save_LIBS
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
21000 $as_echo "$ac_cv_framework_Foundation" >&6; }
21001 if test $ac_cv_framework_Foundation = yes; then :
21004 for element
in "-framework Foundation"; do
21008 acl_save_prefix
="$prefix"
21009 prefix
="$acl_final_prefix"
21010 acl_save_exec_prefix
="$exec_prefix"
21011 exec_prefix
="$acl_final_exec_prefix"
21013 exec_prefix
="$acl_save_exec_prefix"
21014 prefix
="$acl_save_prefix"
21016 if test "X$x" = "X$element"; then
21021 if test -z "$haveit"; then
21022 LIBS
="${LIBS}${LIBS:+ }$element"
21026 cat >>confdefs.h
<<_ACEOF
21027 #define HAVE_FRAMEWORK_FOUNDATION 1
21037 for ac_prog
in gnustep
-config
21039 # Extract the first word of "$ac_prog", so it can be a program name with args.
21040 set dummy
$ac_prog; ac_word
=$2
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21042 $as_echo_n "checking for $ac_word... " >&6; }
21043 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
21044 $as_echo_n "(cached) " >&6
21046 if test -n "$GNUSTEP_CONFIG"; then
21047 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
21049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21050 for as_dir
in $PATH
21053 test -z "$as_dir" && as_dir
=.
21054 for ac_exec_ext
in '' $ac_executable_extensions; do
21055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21056 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
21057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21066 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
21067 if test -n "$GNUSTEP_CONFIG"; then
21068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
21069 $as_echo "$GNUSTEP_CONFIG" >&6; }
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21072 $as_echo "no" >&6; }
21076 test -n "$GNUSTEP_CONFIG" && break
21080 if test "x$GNUSTEP_CONFIG" != x
; then :
21084 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
21086 for x
in $OBJCXXFLAGS; do
21088 acl_save_prefix
="$prefix"
21089 prefix
="$acl_final_prefix"
21090 acl_save_exec_prefix
="$exec_prefix"
21091 exec_prefix
="$acl_final_exec_prefix"
21093 exec_prefix
="$acl_save_exec_prefix"
21094 prefix
="$acl_save_prefix"
21096 if test "X$x" = "X$element"; then
21101 if test -z "$haveit"; then
21102 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21107 for element
in `$GNUSTEP_CONFIG --base-libs`; do
21111 acl_save_prefix
="$prefix"
21112 prefix
="$acl_final_prefix"
21113 acl_save_exec_prefix
="$exec_prefix"
21114 exec_prefix
="$acl_final_exec_prefix"
21116 exec_prefix
="$acl_save_exec_prefix"
21117 prefix
="$acl_save_prefix"
21119 if test "X$x" = "X$element"; then
21124 if test -z "$haveit"; then
21125 LIBS
="${LIBS}${LIBS:+ }$element"
21144 ac_cpp
='$CXXCPP $CPPFLAGS'
21145 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21146 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21147 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21154 if test "x$CY_JAVA" = x1
; then
21162 if test "x$CY_OBJECTIVEC" = x1
; then
21163 CY_OBJECTIVEC_TRUE
=
21164 CY_OBJECTIVEC_FALSE
='#'
21166 CY_OBJECTIVEC_TRUE
='#'
21167 CY_OBJECTIVEC_FALSE
=
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
21176 $as_echo_n "checking for a readline compatible library... " >&6; }
21177 if ${ax_cv_lib_readline+:} false
; then :
21178 $as_echo_n "(cached) " >&6
21182 for readline_lib
in readline edit editline
; do
21183 for termcap_lib
in "" termcap curses ncurses
; do
21184 if test -z "$termcap_lib"; then
21185 TRY_LIB
="-l$readline_lib"
21187 TRY_LIB
="-l$readline_lib -l$termcap_lib"
21189 LIBS
="$ORIG_LIBS $TRY_LIB"
21190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21191 /* end confdefs.h. */
21193 /* Override any GCC internal prototype to avoid an error.
21194 Use char because int might match the return type of a GCC
21195 builtin and then its argument prototype would still apply. */
21203 return readline ();
21208 if ac_fn_cxx_try_link
"$LINENO"; then :
21209 ax_cv_lib_readline
="$TRY_LIB"
21211 rm -f core conftest.err conftest.
$ac_objext \
21212 conftest
$ac_exeext conftest.
$ac_ext
21213 if test -n "$ax_cv_lib_readline"; then
21217 if test -n "$ax_cv_lib_readline"; then
21221 if test -z "$ax_cv_lib_readline"; then
21222 ax_cv_lib_readline
="no"
21227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
21228 $as_echo "$ax_cv_lib_readline" >&6; }
21230 if test "$ax_cv_lib_readline" != "no"; then
21231 LIBS
="$LIBS $ax_cv_lib_readline"
21233 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
21235 for ac_header
in readline.h readline
/readline.h
21237 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21238 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21239 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21240 cat >>confdefs.h
<<_ACEOF
21241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
21249 $as_echo_n "checking whether readline supports history... " >&6; }
21250 if ${ax_cv_lib_readline_history+:} false
; then :
21251 $as_echo_n "(cached) " >&6
21254 ax_cv_lib_readline_history
="no"
21255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21256 /* end confdefs.h. */
21258 /* Override any GCC internal prototype to avoid an error.
21259 Use char because int might match the return type of a GCC
21260 builtin and then its argument prototype would still apply. */
21264 char add_history ();
21268 return add_history ();
21273 if ac_fn_cxx_try_link
"$LINENO"; then :
21274 ax_cv_lib_readline_history
="yes"
21276 rm -f core conftest.err conftest.
$ac_objext \
21277 conftest
$ac_exeext conftest.
$ac_ext
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
21281 $as_echo "$ax_cv_lib_readline_history" >&6; }
21282 if test "$ax_cv_lib_readline_history" = "yes"; then
21284 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
21286 for ac_header
in history.h readline
/history.h
21288 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21289 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21290 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21291 cat >>confdefs.h
<<_ACEOF
21292 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21302 LTLIBREADLINE
=$LIBS
21306 case $ax_cv_lib_readline in #(
21308 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
21316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
21317 $as_echo_n "checking for library containing cur_term... " >&6; }
21318 if ${ac_cv_search_cur_term+:} false
; then :
21319 $as_echo_n "(cached) " >&6
21321 ac_func_search_save_LIBS
=$LIBS
21322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21323 /* end confdefs.h. */
21325 /* Override any GCC internal prototype to avoid an error.
21326 Use char because int might match the return type of a GCC
21327 builtin and then its argument prototype would still apply. */
21335 return cur_term ();
21340 for ac_lib
in '' termcap ncurses
; do
21341 if test -z "$ac_lib"; then
21342 ac_res
="none required"
21345 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21347 if ac_fn_cxx_try_link
"$LINENO"; then :
21348 ac_cv_search_cur_term
=$ac_res
21350 rm -f core conftest.err conftest.
$ac_objext \
21352 if ${ac_cv_search_cur_term+:} false
; then :
21356 if ${ac_cv_search_cur_term+:} false
; then :
21359 ac_cv_search_cur_term
=no
21361 rm conftest.
$ac_ext
21362 LIBS
=$ac_func_search_save_LIBS
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
21365 $as_echo "$ac_cv_search_cur_term" >&6; }
21366 ac_res
=$ac_cv_search_cur_term
21367 if test "$ac_res" != no
; then :
21368 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21383 ac_config_files
="$ac_config_files Makefile"
21385 cat >confcache
<<\_ACEOF
21386 # This file is a shell script that caches the results of configure
21387 # tests run on this system so they can be shared between configure
21388 # scripts and configure runs, see configure's option --config-cache.
21389 # It is not useful on other systems. If it contains results you don't
21390 # want to keep, you may remove or edit it.
21392 # config.status only pays attention to the cache file if you give it
21393 # the --recheck option to rerun configure.
21395 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21396 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21397 # following values.
21401 # The following way of writing the cache mishandles newlines in values,
21402 # but we know of no workaround that is simple, portable, and efficient.
21403 # So, we kill variables containing newlines.
21404 # Ultrix sh set writes to stderr and can't be redirected directly,
21405 # and sets the high bit in the cache file unless we assign to the vars.
21407 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21408 eval ac_val
=\$
$ac_var
21412 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21413 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21416 _
| IFS
| as_nl
) ;; #(
21417 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21418 *) { eval $ac_var=; unset $ac_var;} ;;
21424 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21425 *${as_nl}ac_space
=\
*)
21426 # `set' does not quote correctly, so add quotes: double-quote
21427 # substitution turns \\\\ into \\, and sed turns \\ into \.
21430 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21433 # `set' quotes correctly as required by POSIX, so do not add quotes.
21434 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21443 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21445 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21447 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21448 if test -w "$cache_file"; then
21449 if test "x$cache_file" != "x/dev/null"; then
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21451 $as_echo "$as_me: updating cache $cache_file" >&6;}
21452 if test ! -f "$cache_file" || test -h "$cache_file"; then
21453 cat confcache
>"$cache_file"
21455 case $cache_file in #(
21457 mv -f confcache
"$cache_file"$$
&&
21458 mv -f "$cache_file"$$
"$cache_file" ;; #(
21460 mv -f confcache
"$cache_file" ;;
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21466 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21471 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21472 # Let make expand exec_prefix.
21473 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21475 DEFS
=-DHAVE_CONFIG_H
21480 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21481 # 1. Remove the extension, and $U if already installed.
21482 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21483 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21484 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21485 # will be set to the directory where LIBOBJS objects are built.
21486 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21487 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21489 LIBOBJS
=$ac_libobjs
21491 LTLIBOBJS
=$ac_ltlibobjs
21494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21495 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21496 if test -n "$am_sleep_pid"; then
21497 # Hide warnings about reused PIDs.
21498 wait $am_sleep_pid 2>/dev
/null
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21501 $as_echo "done" >&6; }
21502 if test -n "$EXEEXT"; then
21504 am__EXEEXT_FALSE
='#'
21506 am__EXEEXT_TRUE
='#'
21510 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21511 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
21512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21514 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21515 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21518 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21519 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21522 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21523 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
21524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21526 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
21527 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
21528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21530 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
21531 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
21532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21534 if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then
21535 as_fn_error $?
"conditional \"CY_ATTACH\" was never defined.
21536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21538 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
21539 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
21540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21542 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
21543 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
21544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21546 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
21547 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
21548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21551 : "${CONFIG_STATUS=./config.status}"
21553 ac_clean_files_save
=$ac_clean_files
21554 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21556 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21558 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21560 # Generated by $as_me.
21561 # Run this file to recreate the current configuration.
21562 # Compiler output produced by configure, useful for debugging
21563 # configure, is in config.log if it exists.
21566 ac_cs_recheck=false
21569 SHELL=\${CONFIG_SHELL-$SHELL}
21572 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
21573 ## -------------------- ##
21574 ## M4sh Initialization. ##
21575 ## -------------------- ##
21577 # Be more Bourne compatible
21578 DUALCASE
=1; export DUALCASE
# for MKS sh
21579 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21582 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21583 # is contrary to our usage. Disable this feature.
21584 alias -g '${1+"$@"}'='"$@"'
21585 setopt NO_GLOB_SUBST
21587 case `(set -o) 2>/dev/null` in #(
21599 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21600 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21601 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21602 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21603 # Prefer a ksh shell builtin over an external printf program on Solaris,
21604 # but without wasting forks for bash or zsh.
21605 if test -z "$BASH_VERSION$ZSH_VERSION" \
21606 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21607 as_echo='print
-r --'
21608 as_echo_n='print
-rn --'
21609 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21610 as_echo='printf %s
\n'
21611 as_echo_n='printf %s
'
21613 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21614 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21615 as_echo_n='/usr
/ucb
/echo -n'
21617 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21618 as_echo_n_body='eval
21622 expr "X$arg" : "X\\(.*\\)$as_nl";
21623 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21625 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21627 export as_echo_n_body
21628 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21630 export as_echo_body
21631 as_echo='sh
-c $as_echo_body as_echo
'
21634 # The user is always right.
21635 if test "${PATH_SEPARATOR+set}" != set; then
21637 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21638 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21645 # We need space, tab and new line, in precisely that order. Quoting is
21646 # there to prevent editors from complaining about space-tab.
21647 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21648 # splitting by setting IFS to empty value.)
21651 # Find who we are. Look in the path if we contain no directory separator.
21654 *[\\/]* ) as_myself=$0 ;;
21655 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21656 for as_dir in $PATH
21659 test -z "$as_dir" && as_dir=.
21660 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21666 # We did not find ourselves, most probably we were run as `sh COMMAND'
21667 # in which case we are not to be found in the path.
21668 if test "x$as_myself" = x
; then
21671 if test ! -f "$as_myself"; then
21672 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21676 # Unset variables that we do not need and which cause bugs (e.g. in
21677 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21678 # suppresses any "Segmentation fault" message there. '((' could
21679 # trigger a bug in pdksh 5.2.14.
21680 for as_var
in BASH_ENV ENV MAIL MAILPATH
21681 do eval test x\
${$as_var+set} = xset \
21682 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
21695 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
21698 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21699 # ----------------------------------------
21700 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21701 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21702 # script with STATUS, using 1 if that was 0.
21705 as_status
=$1; test $as_status -eq 0 && as_status
=1
21707 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21708 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21710 $as_echo "$as_me: error: $2" >&2
21711 as_fn_exit
$as_status
21715 # as_fn_set_status STATUS
21716 # -----------------------
21717 # Set $? to STATUS, without forking.
21718 as_fn_set_status
()
21721 } # as_fn_set_status
21723 # as_fn_exit STATUS
21724 # -----------------
21725 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21729 as_fn_set_status
$1
21735 # Portably unset VAR.
21738 { eval $1=; unset $1;}
21740 as_unset
=as_fn_unset
21741 # as_fn_append VAR VALUE
21742 # ----------------------
21743 # Append the text in VALUE to the end of the definition contained in VAR. Take
21744 # advantage of any shell optimizations that allow amortized linear growth over
21745 # repeated appends, instead of the typical quadratic growth present in naive
21747 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21748 eval 'as_fn_append ()
21759 # as_fn_arith ARG...
21760 # ------------------
21761 # Perform arithmetic evaluation on the ARGs, and store the result in the
21762 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21763 # must be portable across $(()) and expr.
21764 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
21765 eval 'as_fn_arith ()
21772 as_val
=`expr "$@" || test $? -eq 1`
21777 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21778 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21784 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21785 as_basename
=basename
21790 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21796 as_me
=`$as_basename -- "$0" ||
21797 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21798 X"$0" : 'X\(//\)$' \| \
21799 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21801 sed '/^.*\/\([^/][^/]*\)\/*$/{
21815 # Avoid depending upon Character Ranges.
21816 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21817 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21818 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21819 as_cr_digits
='0123456789'
21820 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21822 ECHO_C
= ECHO_N
= ECHO_T
=
21823 case `echo -n x` in #(((((
21825 case `echo 'xy\c'` in
21826 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21828 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21835 rm -f conf$$ conf$$.exe conf$$.
file
21836 if test -d conf$$.dir
; then
21837 rm -f conf$$.dir
/conf$$.
file
21840 mkdir conf$$.dir
2>/dev
/null
21842 if (echo >conf$$.
file) 2>/dev
/null
; then
21843 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21845 # ... but there are two gotchas:
21846 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21847 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21848 # In both cases, we have to default to `cp -pR'.
21849 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
21851 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21859 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21860 rmdir conf$$.dir
2>/dev
/null
21865 # Create "$as_dir" as a directory, including parents if necessary.
21870 -*) as_dir
=.
/$as_dir;;
21872 test -d "$as_dir" || eval $as_mkdir_p || {
21876 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21877 *) as_qdir
=$as_dir;;
21879 as_dirs
="'$as_qdir' $as_dirs"
21880 as_dir
=`$as_dirname -- "$as_dir" ||
21881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21882 X"$as_dir" : 'X\(//\)[^/]' \| \
21883 X"$as_dir" : 'X\(//\)$' \| \
21884 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21885 $as_echo X"$as_dir" |
21886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21890 /^X\(\/\/\)[^/].*/{
21903 test -d "$as_dir" && break
21905 test -z "$as_dirs" || eval "mkdir $as_dirs"
21906 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21910 if mkdir -p .
2>/dev
/null
; then
21911 as_mkdir_p
='mkdir -p "$as_dir"'
21913 test -d .
/-p && rmdir .
/-p
21918 # as_fn_executable_p FILE
21919 # -----------------------
21920 # Test if FILE is an executable regular file.
21921 as_fn_executable_p
()
21923 test -f "$1" && test -x "$1"
21924 } # as_fn_executable_p
21925 as_test_x
='test -x'
21926 as_executable_p
=as_fn_executable_p
21928 # Sed expression to map a string onto a valid CPP name.
21929 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21931 # Sed expression to map a string onto a valid variable name.
21932 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21936 ## ----------------------------------- ##
21937 ## Main body of $CONFIG_STATUS script. ##
21938 ## ----------------------------------- ##
21940 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21942 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21943 # Save the log message, to keep $0 and so on meaningful, and to
21944 # report actual input values of CONFIG_FILES etc. instead of their
21945 # values after options handling.
21947 This file was extended by Cycript $as_me 0.9, which was
21948 generated by GNU Autoconf 2.69. Invocation command line was
21950 CONFIG_FILES = $CONFIG_FILES
21951 CONFIG_HEADERS = $CONFIG_HEADERS
21952 CONFIG_LINKS = $CONFIG_LINKS
21953 CONFIG_COMMANDS = $CONFIG_COMMANDS
21956 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21961 case $ac_config_files in *"
21962 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21965 case $ac_config_headers in *"
21966 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21971 # Files that config.status was made for.
21972 config_files="$ac_config_files"
21973 config_headers="$ac_config_headers"
21974 config_commands="$ac_config_commands"
21978 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21980 \`$as_me' instantiates files and other configuration actions
21981 from templates according to the current configuration. Unless the files
21982 and actions are specified as TAGs, all are instantiated by default.
21984 Usage: $0 [OPTION]... [TAG]...
21986 -h, --help print this help, then exit
21987 -V, --version print version number and configuration settings, then exit
21988 --config print configuration, then exit
21989 -q, --quiet, --silent
21990 do not print progress messages
21991 -d, --debug don't remove temporary files
21992 --recheck update $as_me by reconfiguring in the same conditions
21993 --file=FILE[:TEMPLATE]
21994 instantiate the configuration file FILE
21995 --header=FILE[:TEMPLATE]
21996 instantiate the configuration header FILE
21998 Configuration files:
22001 Configuration headers:
22004 Configuration commands:
22007 Report bugs to <saurik@saurik.com>.
22008 Cycript home page: <http://www.cycript.org/>."
22011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22012 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22014 Cycript config.status 0.9
22015 configured by $0, generated by GNU Autoconf 2.69,
22016 with options \\"\$ac_cs_config\\"
22018 Copyright (C) 2012 Free Software Foundation, Inc.
22019 This config.status script is free software; the Free Software Foundation
22020 gives unlimited permission to copy, distribute and modify it."
22027 test -n "\$AWK" || AWK=awk
22030 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22031 # The default lists apply if the user does not specify any file.
22037 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22038 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22042 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22054 # Handling of the options.
22055 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22057 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22058 $as_echo "$ac_cs_version"; exit ;;
22059 --config | --confi | --conf | --con | --co | --c )
22060 $as_echo "$ac_cs_config"; exit ;;
22061 --debug | --debu | --deb | --de | --d | -d )
22063 --file | --fil | --fi | --f )
22066 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22067 '') as_fn_error $?
"missing file argument" ;;
22069 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22070 ac_need_defaults
=false
;;
22071 --header | --heade | --head | --hea )
22074 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22076 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22077 ac_need_defaults
=false
;;
22079 # Conflict between --help and --header
22080 as_fn_error $?
"ambiguous option: \`$1'
22081 Try \`$0 --help' for more information.";;
22082 --help | --hel | -h )
22083 $as_echo "$ac_cs_usage"; exit ;;
22084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22085 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22088 # This is an error.
22089 -*) as_fn_error $?
"unrecognized option: \`$1'
22090 Try \`$0 --help' for more information." ;;
22092 *) as_fn_append ac_config_targets
" $1"
22093 ac_need_defaults
=false
;;
22099 ac_configure_extra_args
=
22101 if $ac_cs_silent; then
22103 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22108 if \$ac_cs_recheck; then
22109 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22111 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22112 CONFIG_SHELL='$SHELL'
22113 export CONFIG_SHELL
22118 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22122 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22123 ## Running $as_me. ##
22129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22133 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22136 # The HP-UX ksh and POSIX shell print the target directory to stdout
22137 # if CDPATH is set.
22138 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22140 sed_quote_subst='$sed_quote_subst'
22141 double_quote_subst='$double_quote_subst'
22142 delay_variable_subst='$delay_variable_subst'
22143 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22144 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22145 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22146 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22147 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22148 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22149 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22150 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22151 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22152 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22153 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22154 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22155 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22156 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22157 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22158 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22159 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22160 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22161 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22162 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22163 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22164 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22165 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22166 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22167 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22168 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22169 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22170 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22171 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22172 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22173 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22174 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22175 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22176 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22177 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22178 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22179 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22180 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22181 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22182 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22183 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22184 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22185 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22186 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22187 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22188 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22189 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22190 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22191 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22192 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22193 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22194 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22195 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22196 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22197 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22198 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22199 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22200 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22201 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"`'
22202 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22203 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22204 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22205 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22206 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22207 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22208 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22209 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22210 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22211 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22212 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22213 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22214 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22215 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22216 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22217 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22218 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22219 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22220 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22221 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22222 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22223 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22224 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22225 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22226 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22227 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22228 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22229 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22230 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22231 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22232 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22233 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22234 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22235 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22236 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22237 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22238 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22239 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22240 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22241 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22242 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22243 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22244 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22245 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22246 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22247 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22248 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22249 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22250 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22251 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22252 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22253 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22254 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22255 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22256 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22257 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22258 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22259 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22260 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22261 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22262 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22263 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22264 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22265 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22266 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22267 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22268 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22269 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22270 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22271 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22272 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22273 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22274 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22275 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22276 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22277 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22278 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22279 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22280 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22281 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22282 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22283 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22284 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22285 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22286 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22287 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22288 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22289 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22290 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22291 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22292 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22293 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22294 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22295 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22296 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22297 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22298 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22299 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22300 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22301 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22302 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22303 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22304 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22305 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22306 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22307 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22308 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22309 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22310 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22311 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22312 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22313 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22314 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22315 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22316 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22317 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22318 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22319 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22320 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22321 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22322 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22323 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22324 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22325 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22326 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22327 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22328 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22329 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22330 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22331 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22334 LTCFLAGS='$LTCFLAGS'
22335 compiler='$compiler_DEFAULT'
22337 # A function that is used when there is no print builtin or printf.
22338 func_fallback_echo ()
22340 eval 'cat <<_LTECHO_EOF
22345 # Quote evaled strings.
22360 deplibs_check_method \
22365 sharedlib_from_linklib_cmd \
22368 archiver_list_spec \
22374 lt_cv_sys_global_symbol_pipe \
22375 lt_cv_sys_global_symbol_to_cdecl \
22376 lt_cv_sys_global_symbol_to_import \
22377 lt_cv_sys_global_symbol_to_c_name_address \
22378 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22379 lt_cv_nm_interface \
22380 nm_file_list_spec \
22381 lt_cv_truncate_bin \
22382 lt_prog_compiler_no_builtin_flag \
22383 lt_prog_compiler_pic \
22384 lt_prog_compiler_wl \
22385 lt_prog_compiler_static \
22386 lt_cv_prog_compiler_c_o \
22395 export_dynamic_flag_spec \
22396 whole_archive_flag_spec \
22397 compiler_needs_object \
22399 allow_undefined_flag \
22400 no_undefined_flag \
22401 hardcode_libdir_flag_spec \
22402 hardcode_libdir_separator \
22406 variables_saved_for_relink \
22408 library_names_spec \
22410 install_override_mode \
22414 compiler_lib_search_dirs \
22419 compiler_lib_search_path \
22423 lt_prog_compiler_no_builtin_flag_CXX \
22424 lt_prog_compiler_pic_CXX \
22425 lt_prog_compiler_wl_CXX \
22426 lt_prog_compiler_static_CXX \
22427 lt_cv_prog_compiler_c_o_CXX \
22428 export_dynamic_flag_spec_CXX \
22429 whole_archive_flag_spec_CXX \
22430 compiler_needs_object_CXX \
22432 allow_undefined_flag_CXX \
22433 no_undefined_flag_CXX \
22434 hardcode_libdir_flag_spec_CXX \
22435 hardcode_libdir_separator_CXX \
22436 exclude_expsyms_CXX \
22437 include_expsyms_CXX \
22438 file_list_spec_CXX \
22439 compiler_lib_search_dirs_CXX \
22440 predep_objects_CXX \
22441 postdep_objects_CXX \
22444 compiler_lib_search_path_CXX; do
22445 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22446 *[\\\\\\\`\\"\\\$]*)
22447 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22450 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22455 # Double-quote double-evaled strings.
22456 for var in reload_cmds \
22457 old_postinstall_cmds \
22458 old_postuninstall_cmds \
22460 extract_expsyms_cmds \
22461 old_archive_from_new_cmds \
22462 old_archive_from_expsyms_cmds \
22464 archive_expsym_cmds \
22466 module_expsym_cmds \
22467 export_symbols_cmds \
22471 postuninstall_cmds \
22473 sys_lib_search_path_spec \
22474 configure_time_dlsearch_path \
22475 configure_time_lt_sys_library_path \
22477 old_archive_cmds_CXX \
22478 old_archive_from_new_cmds_CXX \
22479 old_archive_from_expsyms_cmds_CXX \
22481 archive_expsym_cmds_CXX \
22483 module_expsym_cmds_CXX \
22484 export_symbols_cmds_CXX \
22486 postlink_cmds_CXX; do
22487 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22488 *[\\\\\\\`\\"\\\$]*)
22489 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22492 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22497 ac_aux_dir='$ac_aux_dir'
22499 # See if we are running on zsh, and set the options that allow our
22500 # commands through without removal of \ escapes INIT.
22501 if test -n "\${ZSH_VERSION+set}"; then
22502 setopt NO_GLOB_SUBST
22518 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22520 # Handling of arguments.
22521 for ac_config_target
in $ac_config_targets
22523 case $ac_config_target in
22524 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22525 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22526 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22527 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22529 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22534 # If the user did not use the arguments to specify the items to instantiate,
22535 # then the envvar interface is used. Set only those that are not.
22536 # We use the long form for the default assignment because of an extremely
22537 # bizarre bug on SunOS 4.1.3.
22538 if $ac_need_defaults; then
22539 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22540 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22541 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22544 # Have a temporary directory for convenience. Make it in the build tree
22545 # simply because there is no reason against having it here, and in addition,
22546 # creating and moving files from /tmp can sometimes cause problems.
22547 # Hook for its removal unless debugging.
22548 # Note that there is a small window in which the directory will not be cleaned:
22549 # after its creation but before its name has been assigned to `$tmp'.
22553 trap 'exit_status=$?
22554 : "${ac_tmp:=$tmp}"
22555 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22557 trap 'as_fn_exit 1' 1 2 13 15
22559 # Create a (secure) tmp directory for tmp files.
22562 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22566 tmp
=.
/conf$$
-$RANDOM
22567 (umask 077 && mkdir "$tmp")
22568 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22571 # Set up the scripts for CONFIG_FILES section.
22572 # No need to generate them if there are no CONFIG_FILES.
22573 # This happens for instance with `./config.status config.h'.
22574 if test -n "$CONFIG_FILES"; then
22577 ac_cr
=`echo X | tr X '\015'`
22578 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22579 # But we know of no other shell where ac_cr would be empty at this
22580 # point, so we can use a bashism as a fallback.
22581 if test "x$ac_cr" = x
; then
22582 eval ac_cr
=\$
\'\\r
\'
22584 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22585 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22588 ac_cs_awk_cr
=$ac_cr
22591 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22596 echo "cat >conf$$subs.awk <<_ACEOF" &&
22597 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22599 } >conf$$subs.sh ||
22600 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22601 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22603 for ac_last_try in false false false false false :; do
22604 . ./conf$$subs.sh ||
22605 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22607 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22608 if test $ac_delim_n = $ac_delim_num; then
22610 elif $ac_last_try; then
22611 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22613 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22616 rm -f conf$$subs.sh
22618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22619 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22623 s/^/S["/; s
/!.
*/"]=/
22633 s/\(.\{148\}\)..*/\1/
22635 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22640 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22647 s/\(.\{148\}\)..*/\1/
22649 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22653 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22658 ' <conf$$subs.awk | sed '
22663 ' >>$CONFIG_STATUS || ac_write_fail=1
22664 rm -f conf$$subs.awk
22665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22667 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22668 for (key in S) S_is_set[key] = 1
22674 nfields = split(line, field, "@
")
22676 len = length(field[1])
22677 for (i = 2; i < nfields; i++) {
22679 keylen = length(key)
22680 if (S_is_set[key]) {
22682 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22683 len += length(value) + length(field[++i])
22694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22695 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22696 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22699 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22700 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22703 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22704 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22705 # trailing colons and then remove the whole line if VPATH becomes empty
22706 # (actually we leave an empty line to preserve line numbers).
22707 if test "x
$srcdir" = x.; then
22708 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22727 fi # test -n "$CONFIG_FILES"
22729 # Set up the scripts for CONFIG_HEADERS section.
22730 # No need to generate them if there are no CONFIG_HEADERS.
22731 # This happens for instance with `./config.status Makefile'.
22732 if test -n "$CONFIG_HEADERS"; then
22733 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22737 # Transform confdefs.h into an awk script `defines.awk', embedded as
22738 # here-document in config.status, that substitutes the proper values into
22739 # config.h.in to produce config.h.
22741 # Create a delimiter string that does not exist in confdefs.h, to ease
22742 # handling of long lines.
22744 for ac_last_try in false false :; do
22745 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22746 if test -z "$ac_tt"; then
22748 elif $ac_last_try; then
22749 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22751 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22755 # For the awk script, D is an array of macro values keyed by name,
22756 # likewise P contains macro parameters if any. Preserve backslash
22757 # newline sequences.
22759 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22761 s/.\{148\}/&'"$ac_delim"'/g
22764 s/^[ ]*#[ ]*define[ ][ ]*/ /
22771 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22773 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22777 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22778 D["\
1"]=" \
3\\\\\\n
"\\/p
22780 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22785 s/.\{148\}/&'"$ac_delim"'/g
22790 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22793 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22795 ' <confdefs.h | sed '
22796 s/'"$ac_delim"'/"\\\
22797 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22800 for (key in D) D_is_set[key] = 1
22803 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22805 split(line, arg, " ")
22806 if (arg[1] == "#") {
22810 defundef
= substr
(arg
[1], 2)
22813 split(mac1
, mac2
, "(") #)
22815 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22816 if (D_is_set
[macro
]) {
22817 # Preserve the white space surrounding the "#".
22818 print prefix
"define", macro P
[macro
] D
[macro
]
22821 # Replace #undef with comments. This is necessary, for example,
22822 # in the case of _POSIX_SOURCE, which is predefined and required
22823 # on some systems where configure will not decide to define it.
22824 if (defundef
== "undef") {
22825 print
"/*", prefix defundef
, macro
, "*/"
22833 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22834 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22835 fi # test -n "$CONFIG_HEADERS"
22838 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22843 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22845 case $ac_mode$ac_tag in
22847 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22848 :[FH
]-) ac_tag
=-:-;;
22849 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22866 -) ac_f
="$ac_tmp/stdin";;
22867 *) # Look for the file first in the build tree, then in the source tree
22868 # (if the path is not absolute). The absolute path cannot be DOS-style,
22869 # because $ac_f cannot contain `:'.
22873 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22875 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22877 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22878 as_fn_append ac_file_inputs
" '$ac_f'"
22881 # Let's still pretend it is `configure' which instantiates (i.e., don't
22882 # use $as_me), people would be surprised to read:
22883 # /* config.h. Generated by config.status. */
22884 configure_input
='Generated from '`
22885 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22887 if test x
"$ac_file" != x
-; then
22888 configure_input
="$ac_file. $configure_input"
22889 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22890 $as_echo "$as_me: creating $ac_file" >&6;}
22892 # Neutralize special characters interpreted by sed in replacement strings.
22893 case $configure_input in #(
22894 *\
&* | *\
|* | *\\* )
22895 ac_sed_conf_input
=`$as_echo "$configure_input" |
22896 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22897 *) ac_sed_conf_input
=$configure_input;;
22901 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22902 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22907 ac_dir
=`$as_dirname -- "$ac_file" ||
22908 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22909 X"$ac_file" : 'X\(//\)[^/]' \| \
22910 X"$ac_file" : 'X\(//\)$' \| \
22911 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22912 $as_echo X"$ac_file" |
22913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22917 /^X\(\/\/\)[^/].*/{
22930 as_dir
="$ac_dir"; as_fn_mkdir_p
22934 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22936 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22937 # A ".." for each directory in $ac_dir_suffix.
22938 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22939 case $ac_top_builddir_sub in
22940 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22941 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22944 ac_abs_top_builddir
=$ac_pwd
22945 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22946 # for backward compatibility:
22947 ac_top_builddir
=$ac_top_build_prefix
22950 .
) # We are building in place.
22952 ac_top_srcdir
=$ac_top_builddir_sub
22953 ac_abs_top_srcdir
=$ac_pwd ;;
22954 [\\/]* | ?
:[\\/]* ) # Absolute name.
22955 ac_srcdir
=$srcdir$ac_dir_suffix;
22956 ac_top_srcdir
=$srcdir
22957 ac_abs_top_srcdir
=$srcdir ;;
22958 *) # Relative name.
22959 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22960 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22961 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22963 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22973 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22974 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22976 ac_MKDIR_P
=$MKDIR_P
22978 [\\/$
]* | ?
:[\\/]* ) ;;
22979 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22983 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22984 # If the template does not know about datarootdir, expand it.
22985 # FIXME: This hack should be removed a few years after 2.60.
22986 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22997 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22998 *datarootdir
*) ac_datarootdir_seen
=yes;;
22999 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
23000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23001 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23004 ac_datarootdir_hack='
23005 s&@datadir@&$datadir&g
23006 s&@docdir@&$docdir&g
23007 s&@infodir@&$infodir&g
23008 s&@localedir@&$localedir&g
23009 s&@mandir@&$mandir&g
23010 s&\\\${datarootdir}&$datarootdir&g' ;;
23014 # Neutralize VPATH when `$srcdir' = `.'.
23015 # Shell code in configure.ac might set extrasub.
23016 # FIXME: do we really want to maintain this feature?
23017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23018 ac_sed_extra="$ac_vpsub
23021 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23023 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
23024 s
|@configure_input@
|$ac_sed_conf_input|;t t
23025 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23026 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23027 s
&@srcdir@
&$ac_srcdir&;t t
23028 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23029 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23030 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23031 s
&@builddir@
&$ac_builddir&;t t
23032 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23033 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23034 s
&@INSTALL@
&$ac_INSTALL&;t t
23035 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23036 $ac_datarootdir_hack
23038 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23039 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23041 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23042 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23043 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23044 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23046 which seems to be undefined. Please make sure it is defined" >&5
23047 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23048 which seems to be undefined. Please make sure it is defined" >&2;}
23050 rm -f "$ac_tmp/stdin"
23052 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23053 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23055 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23061 if test x"$ac_file" != x-; then
23063 $as_echo "/* $configure_input */" \
23064 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23065 } >"$ac_tmp/config.h" \
23066 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23067 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23069 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23072 mv "$ac_tmp/config.h" "$ac_file" \
23073 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23076 $as_echo "/* $configure_input */" \
23077 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23078 || as_fn_error $? "could not create -" "$LINENO" 5
23080 # Compute "$ac_file"'s index
in $config_headers.
23083 for _am_header
in $config_headers :; do
23084 case $_am_header in
23085 $_am_arg | $_am_arg:* )
23088 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23091 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23092 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23093 X"$_am_arg" : 'X\(//\)[^/]' \| \
23094 X"$_am_arg" : 'X\(//\)$' \| \
23095 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23096 $as_echo X"$_am_arg" |
23097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23101 /^X\(\/\/\)[^/].*/{
23113 s/.*/./; q'`/stamp
-h$_am_stamp_count
23116 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23117 $as_echo "$as_me: executing $ac_file commands" >&6;}
23122 case $ac_file$ac_mode in
23123 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
23124 # Older Autoconf quotes --file arguments for eval, but not when files
23125 # are listed without --file. Let's play safe and only enable the eval
23126 # if we detect the quoting.
23127 case $CONFIG_FILES in
23128 *\'*) eval set x
"$CONFIG_FILES" ;;
23129 *) set x
$CONFIG_FILES ;;
23134 # Strip MF so we end up with the name of the file.
23135 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23136 # Check whether this is an Automake generated Makefile or not.
23137 # We used to match only the files named 'Makefile.in', but
23138 # some people rename them; so instead we look at the file content.
23139 # Grep'ing the first line is not enough: some people post-process
23140 # each Makefile.in and add a new line on top of each file to say so.
23141 # Grep'ing the whole file is not good either: AIX grep has a line
23142 # limit of 2048, but all sed's we know have understand at least 4000.
23143 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23144 dirpart
=`$as_dirname -- "$mf" ||
23145 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23146 X"$mf" : 'X\(//\)[^/]' \| \
23147 X"$mf" : 'X\(//\)$' \| \
23148 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23154 /^X\(\/\/\)[^/].*/{
23170 # Extract the definition of DEPDIR, am__include, and am__quote
23171 # from the Makefile without running 'make'.
23172 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23173 test -z "$DEPDIR" && continue
23174 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23175 test -z "$am__include" && continue
23176 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23177 # Find all dependency output files, they are included files with
23178 # $(DEPDIR) in their names. We invoke sed twice because it is the
23179 # simplest approach to changing $(DEPDIR) to its actual value in the
23181 for file in `sed -n "
23182 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23183 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23184 # Make sure the directory exists.
23185 test -f "$dirpart/$file" && continue
23186 fdir
=`$as_dirname -- "$file" ||
23187 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23188 X"$file" : 'X\(//\)[^/]' \| \
23189 X"$file" : 'X\(//\)$' \| \
23190 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23191 $as_echo X"$file" |
23192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23196 /^X\(\/\/\)[^/].*/{
23209 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23210 # echo "creating $dirpart/$file"
23211 echo '# dummy' > "$dirpart/$file"
23218 # See if we are running on zsh, and set the options that allow our
23219 # commands through without removal of \ escapes.
23220 if test -n "${ZSH_VERSION+set}"; then
23221 setopt NO_GLOB_SUBST
23225 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23228 cat <<_LT_EOF >> "$cfgfile"
23230 # Generated automatically by $as_me ($PACKAGE) $VERSION
23231 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23232 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23234 # Provide generalized library-building support services.
23235 # Written by Gordon Matzigkeit, 1996
23237 # Copyright (C) 2014 Free Software Foundation, Inc.
23238 # This is free software; see the source for copying conditions. There is NO
23239 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23241 # GNU Libtool is free software; you can redistribute it and/or modify
23242 # it under the terms of the GNU General Public License as published by
23243 # the Free Software Foundation; either version 2 of of the License, or
23244 # (at your option) any later version.
23246 # As a special exception to the GNU General Public License, if you
23247 # distribute this file as part of a program or library that is built
23248 # using GNU Libtool, you may include this file under the same
23249 # distribution terms that you use for the rest of that program.
23251 # GNU Libtool is distributed in the hope that it will be useful, but
23252 # WITHOUT ANY WARRANTY; without even the implied warranty of
23253 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23254 # GNU General Public License for more details.
23256 # You should have received a copy of the GNU General Public License
23257 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23260 # The names of the tagged configurations supported by this script.
23261 available_tags='CXX '
23263 # Configured defaults for sys_lib_dlsearch_path munging.
23264 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23266 # ### BEGIN LIBTOOL CONFIG
23268 # Which release of libtool.m4 was used?
23269 macro_version=$macro_version
23270 macro_revision=$macro_revision
23272 # Whether or not to build static libraries.
23273 build_old_libs=$enable_static
23275 # Whether or not to build shared libraries.
23276 build_libtool_libs=$enable_shared
23278 # What type of objects to build.
23281 # Whether or not to optimize for fast installation.
23282 fast_install=$enable_fast_install
23284 # Shared archive member basename,for filename based shared library versioning on AIX.
23285 shared_archive_member_spec=$shared_archive_member_spec
23287 # Shell to use when invoking shell scripts.
23290 # An echo program that protects backslashes.
23293 # The PATH separator for the build system.
23294 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23297 host_alias=$host_alias
23301 # The build system.
23302 build_alias=$build_alias
23306 # A sed program that does not truncate output.
23309 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23310 Xsed="\$SED -e 1s/^X//"
23312 # A grep program that handles long lines.
23318 # A literal string matcher.
23321 # A BSD- or MS-compatible name lister.
23324 # Whether we need soft or hard links.
23327 # What is the maximum length of a command?
23328 max_cmd_len=$max_cmd_len
23330 # Object file suffix (normally "o").
23333 # Executable file suffix (normally "").
23336 # whether the shell understands "unset".
23339 # turn spaces into newlines.
23342 # turn newlines into spaces.
23345 # convert \$build file names to \$host format.
23346 to_host_file_cmd=$lt_cv_to_host_file_cmd
23348 # convert \$build files to toolchain format.
23349 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23351 # An object symbol dumper.
23352 OBJDUMP=$lt_OBJDUMP
23354 # Method to check whether dependent libraries are shared objects.
23355 deplibs_check_method=$lt_deplibs_check_method
23357 # Command to use when deplibs_check_method = "file_magic".
23358 file_magic_cmd=$lt_file_magic_cmd
23360 # How to find potential files when deplibs_check_method = "file_magic".
23361 file_magic_glob=$lt_file_magic_glob
23363 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23364 want_nocaseglob=$lt_want_nocaseglob
23366 # DLL creation program.
23367 DLLTOOL=$lt_DLLTOOL
23369 # Command to associate shared and link libraries.
23370 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23375 # Flags to create an archive.
23376 AR_FLAGS=$lt_AR_FLAGS
23378 # How to feed a file listing to the archiver.
23379 archiver_list_spec=$lt_archiver_list_spec
23381 # A symbol stripping program.
23384 # Commands used to install an old-style archive.
23386 old_postinstall_cmds=$lt_old_postinstall_cmds
23387 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23389 # Whether to use a lock for old archive extraction.
23390 lock_old_archive_extraction=$lock_old_archive_extraction
23395 # LTCC compiler flags.
23396 LTCFLAGS=$lt_CFLAGS
23398 # Take the output of nm and produce a listing of raw symbols and C names.
23399 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23401 # Transform the output of nm in a proper C declaration.
23402 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23404 # Transform the output of nm into a list of symbols to manually relocate.
23405 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23407 # Transform the output of nm in a C name address pair.
23408 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23410 # Transform the output of nm in a C name address pair when lib prefix is needed.
23411 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23413 # The name lister interface.
23414 nm_interface=$lt_lt_cv_nm_interface
23416 # Specify filename containing input files for \$NM.
23417 nm_file_list_spec=$lt_nm_file_list_spec
23419 # The root where to search for dependent libraries,and where our libraries should be installed.
23420 lt_sysroot=$lt_sysroot
23422 # Command to truncate a binary pipe.
23423 lt_truncate_bin=$lt_lt_cv_truncate_bin
23425 # The name of the directory that contains temporary libtool files.
23428 # Used to examine libraries when file_magic_cmd begins with "file".
23429 MAGIC_CMD=$MAGIC_CMD
23431 # Must we lock files when doing compilation?
23432 need_locks=$lt_need_locks
23435 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23437 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23438 DSYMUTIL=$lt_DSYMUTIL
23440 # Tool to change global to local symbols on Mac OS X.
23443 # Tool to manipulate fat objects and archives on Mac OS X.
23446 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23449 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23450 OTOOL64=$lt_OTOOL64
23452 # Old archive suffix (normally "a").
23455 # Shared library suffix (normally ".so").
23456 shrext_cmds=$lt_shrext_cmds
23458 # The commands to extract the exported symbol list from a shared archive.
23459 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23461 # Variables whose values should be saved in libtool wrapper scripts and
23462 # restored at link time.
23463 variables_saved_for_relink=$lt_variables_saved_for_relink
23465 # Do we need the "lib" prefix for modules?
23466 need_lib_prefix=$need_lib_prefix
23468 # Do we need a version for libraries?
23469 need_version=$need_version
23471 # Library versioning type.
23472 version_type=$version_type
23474 # Shared library runtime path variable.
23475 runpath_var=$runpath_var
23477 # Shared library path variable.
23478 shlibpath_var=$shlibpath_var
23480 # Is shlibpath searched before the hard-coded library search path?
23481 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23483 # Format of library name prefix.
23484 libname_spec=$lt_libname_spec
23486 # List of archive names. First name is the real one, the rest are links.
23487 # The last name is the one that the linker finds with -lNAME
23488 library_names_spec=$lt_library_names_spec
23490 # The coded name of the library, if different from the real name.
23491 soname_spec=$lt_soname_spec
23493 # Permission mode override for installation of shared libraries.
23494 install_override_mode=$lt_install_override_mode
23496 # Command to use after installation of a shared archive.
23497 postinstall_cmds=$lt_postinstall_cmds
23499 # Command to use after uninstallation of a shared archive.
23500 postuninstall_cmds=$lt_postuninstall_cmds
23502 # Commands used to finish a libtool library installation in a directory.
23503 finish_cmds=$lt_finish_cmds
23505 # As "finish_cmds", except a single script fragment to be evaled but
23507 finish_eval=$lt_finish_eval
23509 # Whether we should hardcode library paths into libraries.
23510 hardcode_into_libs=$hardcode_into_libs
23512 # Compile-time system search path for libraries.
23513 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23515 # Detected run-time system search path for libraries.
23516 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23518 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23519 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23521 # Whether dlopen is supported.
23522 dlopen_support=$enable_dlopen
23524 # Whether dlopen of programs is supported.
23525 dlopen_self=$enable_dlopen_self
23527 # Whether dlopen of statically linked programs is supported.
23528 dlopen_self_static=$enable_dlopen_self_static
23530 # Commands to strip libraries.
23531 old_striplib=$lt_old_striplib
23532 striplib=$lt_striplib
23535 # The linker used to build libraries.
23538 # How to create reloadable object files.
23539 reload_flag=$lt_reload_flag
23540 reload_cmds=$lt_reload_cmds
23542 # Commands used to build an old-style archive.
23543 old_archive_cmds=$lt_old_archive_cmds
23545 # A language specific compiler.
23548 # Is the compiler the GNU compiler?
23551 # Compiler flag to turn off builtin functions.
23552 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23554 # Additional compiler flags for building library objects.
23555 pic_flag=$lt_lt_prog_compiler_pic
23557 # How to pass a linker flag through the compiler.
23558 wl=$lt_lt_prog_compiler_wl
23560 # Compiler flag to prevent dynamic linking.
23561 link_static_flag=$lt_lt_prog_compiler_static
23563 # Does compiler simultaneously support -c and -o options?
23564 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23566 # Whether or not to add -lc for building shared libraries.
23567 build_libtool_need_lc=$archive_cmds_need_lc
23569 # Whether or not to disallow shared libs when runtime libs are static.
23570 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23572 # Compiler flag to allow reflexive dlopens.
23573 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23575 # Compiler flag to generate shared objects directly from archives.
23576 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23578 # Whether the compiler copes with passing no objects directly.
23579 compiler_needs_object=$lt_compiler_needs_object
23581 # Create an old-style archive from a shared archive.
23582 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23584 # Create a temporary old-style archive to link instead of a shared archive.
23585 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23587 # Commands used to build a shared archive.
23588 archive_cmds=$lt_archive_cmds
23589 archive_expsym_cmds=$lt_archive_expsym_cmds
23591 # Commands used to build a loadable module if different from building
23592 # a shared archive.
23593 module_cmds=$lt_module_cmds
23594 module_expsym_cmds=$lt_module_expsym_cmds
23596 # Whether we are building with GNU ld or not.
23597 with_gnu_ld=$lt_with_gnu_ld
23599 # Flag that allows shared libraries with undefined symbols to be built.
23600 allow_undefined_flag=$lt_allow_undefined_flag
23602 # Flag that enforces no undefined symbols.
23603 no_undefined_flag=$lt_no_undefined_flag
23605 # Flag to hardcode \$libdir into a binary during linking.
23606 # This must work even if \$libdir does not exist
23607 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23609 # Whether we need a single "-rpath" flag with a separated argument.
23610 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23612 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23613 # DIR into the resulting binary.
23614 hardcode_direct=$hardcode_direct
23616 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23617 # DIR into the resulting binary and the resulting library dependency is
23618 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23619 # library is relocated.
23620 hardcode_direct_absolute=$hardcode_direct_absolute
23622 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23623 # into the resulting binary.
23624 hardcode_minus_L=$hardcode_minus_L
23626 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23627 # into the resulting binary.
23628 hardcode_shlibpath_var=$hardcode_shlibpath_var
23630 # Set to "yes" if building a shared library automatically hardcodes DIR
23631 # into the library and all subsequent libraries and executables linked
23633 hardcode_automatic=$hardcode_automatic
23635 # Set to yes if linker adds runtime paths of dependent libraries
23636 # to runtime path list.
23637 inherit_rpath=$inherit_rpath
23639 # Whether libtool must link a program against all its dependency libraries.
23640 link_all_deplibs=$link_all_deplibs
23642 # Set to "yes" if exported symbols are required.
23643 always_export_symbols=$always_export_symbols
23645 # The commands to list exported symbols.
23646 export_symbols_cmds=$lt_export_symbols_cmds
23648 # Symbols that should not be listed in the preloaded symbols.
23649 exclude_expsyms=$lt_exclude_expsyms
23651 # Symbols that must always be exported.
23652 include_expsyms=$lt_include_expsyms
23654 # Commands necessary for linking programs (against libraries) with templates.
23655 prelink_cmds=$lt_prelink_cmds
23657 # Commands necessary for finishing linking programs.
23658 postlink_cmds=$lt_postlink_cmds
23660 # Specify filename containing input files.
23661 file_list_spec=$lt_file_list_spec
23663 # How to hardcode a shared library path into an executable.
23664 hardcode_action=$hardcode_action
23666 # The directories searched by this compiler when creating a shared library.
23667 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23669 # Dependencies to place before and after the objects being linked to
23670 # create a shared library.
23671 predep_objects=$lt_predep_objects
23672 postdep_objects=$lt_postdep_objects
23673 predeps=$lt_predeps
23674 postdeps=$lt_postdeps
23676 # The library search path used internally by the compiler when linking
23677 # a shared library.
23678 compiler_lib_search_path=$lt_compiler_lib_search_path
23680 # ### END LIBTOOL CONFIG
23684 cat <<'_LT_EOF' >> "$cfgfile"
23686 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23688 # func_munge_path_list VARIABLE PATH
23689 # -----------------------------------
23690 # VARIABLE is name of variable containing _space_ separated list of
23691 # directories to be munged by the contents of PATH, which is string
23694 # string "DIR[ DIR]" will be prepended to VARIABLE
23696 # string "DIR[ DIR]" will be appended to VARIABLE
23697 # "DIRP[:DIRP]::[DIRA:]DIRA"
23698 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23699 # "DIRA[ DIRA]" will be appended to VARIABLE
23701 # VARIABLE will be replaced by "DIR[ DIR]"
23702 func_munge_path_list ()
23708 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23711 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23714 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23715 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23718 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23724 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
23725 func_cc_basename ()
23727 for cc_temp in $*""; do
23729 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23730 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23735 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23739 # ### END FUNCTIONS SHARED WITH CONFIGURE
23745 cat <<\_LT_EOF
>> "$cfgfile"
23746 # AIX sometimes has problems with the GCC collect2 program. For some
23747 # reason, if we set the COLLECT_NAMES environment variable, the problems
23748 # vanish in a puff of smoke.
23749 if test set != "${COLLECT_NAMES+set}"; then
23751 export COLLECT_NAMES
23758 ltmain
=$ac_aux_dir/ltmain.sh
23761 # We use sed instead of cat because bash on DJGPP gets confused if
23762 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23763 # text mode, it properly converts lines to CR/LF. This bash problem
23764 # is reportedly fixed, but why not run on old versions too?
23765 sed '$q' "$ltmain" >> "$cfgfile" \
23766 || (rm -f "$cfgfile"; exit 1)
23768 mv -f "$cfgfile" "$ofile" ||
23769 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23773 cat <<_LT_EOF >> "$ofile"
23775 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23777 # The linker used to build libraries.
23780 # How to create reloadable object files.
23781 reload_flag=$lt_reload_flag_CXX
23782 reload_cmds=$lt_reload_cmds_CXX
23784 # Commands used to build an old-style archive.
23785 old_archive_cmds=$lt_old_archive_cmds_CXX
23787 # A language specific compiler.
23788 CC=$lt_compiler_CXX
23790 # Is the compiler the GNU compiler?
23793 # Compiler flag to turn off builtin functions.
23794 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23796 # Additional compiler flags for building library objects.
23797 pic_flag=$lt_lt_prog_compiler_pic_CXX
23799 # How to pass a linker flag through the compiler.
23800 wl=$lt_lt_prog_compiler_wl_CXX
23802 # Compiler flag to prevent dynamic linking.
23803 link_static_flag=$lt_lt_prog_compiler_static_CXX
23805 # Does compiler simultaneously support -c and -o options?
23806 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23808 # Whether or not to add -lc for building shared libraries.
23809 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23811 # Whether or not to disallow shared libs when runtime libs are static.
23812 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23814 # Compiler flag to allow reflexive dlopens.
23815 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23817 # Compiler flag to generate shared objects directly from archives.
23818 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23820 # Whether the compiler copes with passing no objects directly.
23821 compiler_needs_object=$lt_compiler_needs_object_CXX
23823 # Create an old-style archive from a shared archive.
23824 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23826 # Create a temporary old-style archive to link instead of a shared archive.
23827 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23829 # Commands used to build a shared archive.
23830 archive_cmds=$lt_archive_cmds_CXX
23831 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23833 # Commands used to build a loadable module if different from building
23834 # a shared archive.
23835 module_cmds=$lt_module_cmds_CXX
23836 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23838 # Whether we are building with GNU ld or not.
23839 with_gnu_ld=$lt_with_gnu_ld_CXX
23841 # Flag that allows shared libraries with undefined symbols to be built.
23842 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23844 # Flag that enforces no undefined symbols.
23845 no_undefined_flag=$lt_no_undefined_flag_CXX
23847 # Flag to hardcode \$libdir into a binary during linking.
23848 # This must work even if \$libdir does not exist
23849 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23851 # Whether we need a single "-rpath" flag with a separated argument.
23852 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23854 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23855 # DIR into the resulting binary.
23856 hardcode_direct=$hardcode_direct_CXX
23858 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23859 # DIR into the resulting binary and the resulting library dependency is
23860 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23861 # library is relocated.
23862 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23864 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23865 # into the resulting binary.
23866 hardcode_minus_L=$hardcode_minus_L_CXX
23868 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23869 # into the resulting binary.
23870 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23872 # Set to "yes" if building a shared library automatically hardcodes DIR
23873 # into the library and all subsequent libraries and executables linked
23875 hardcode_automatic=$hardcode_automatic_CXX
23877 # Set to yes if linker adds runtime paths of dependent libraries
23878 # to runtime path list.
23879 inherit_rpath=$inherit_rpath_CXX
23881 # Whether libtool must link a program against all its dependency libraries.
23882 link_all_deplibs=$link_all_deplibs_CXX
23884 # Set to "yes" if exported symbols are required.
23885 always_export_symbols=$always_export_symbols_CXX
23887 # The commands to list exported symbols.
23888 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23890 # Symbols that should not be listed in the preloaded symbols.
23891 exclude_expsyms=$lt_exclude_expsyms_CXX
23893 # Symbols that must always be exported.
23894 include_expsyms=$lt_include_expsyms_CXX
23896 # Commands necessary for linking programs (against libraries) with templates.
23897 prelink_cmds=$lt_prelink_cmds_CXX
23899 # Commands necessary for finishing linking programs.
23900 postlink_cmds=$lt_postlink_cmds_CXX
23902 # Specify filename containing input files.
23903 file_list_spec=$lt_file_list_spec_CXX
23905 # How to hardcode a shared library path into an executable.
23906 hardcode_action=$hardcode_action_CXX
23908 # The directories searched by this compiler when creating a shared library.
23909 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23911 # Dependencies to place before and after the objects being linked to
23912 # create a shared library.
23913 predep_objects=$lt_predep_objects_CXX
23914 postdep_objects=$lt_postdep_objects_CXX
23915 predeps=$lt_predeps_CXX
23916 postdeps=$lt_postdeps_CXX
23918 # The library search path used internally by the compiler when linking
23919 # a shared library.
23920 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23922 # ### END LIBTOOL TAG CONFIG: CXX
23933 ac_clean_files
=$ac_clean_files_save
23935 test $ac_write_fail = 0 ||
23936 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23939 # configure is writing to config.log, and then calls config.status.
23940 # config.status does its own redirection, appending to config.log.
23941 # Unfortunately, on DOS this fails, as config.log is still kept open
23942 # by configure, so config.status won't be able to write to it; its
23943 # output is simply discarded. So we exec the FD to /dev/null,
23944 # effectively closing config.log, so it can be properly (re)opened and
23945 # appended to by config.status. When coming back to configure, we
23946 # need to make the FD available again.
23947 if test "$no_create" != yes; then
23949 ac_config_status_args
=
23950 test "$silent" = yes &&
23951 ac_config_status_args
="$ac_config_status_args --quiet"
23953 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23955 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23956 # would make configure fail if this is the last instruction.
23957 $ac_cs_success || as_fn_exit
1
23959 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23961 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}