2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for unicode 0.10.
5 # Report bugs to <courier-maildrop@lists.sourceforge.net>.
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.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: courier-maildrop@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='unicode'
592 PACKAGE_TARNAME
='unicode'
593 PACKAGE_VERSION
='0.10'
594 PACKAGE_STRING
='unicode 0.10'
595 PACKAGE_BUGREPORT
='courier-maildrop@lists.sourceforge.net'
598 ac_unique_file
="unicodecpp.C"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
708 INSTALL_STRIP_PROGRAM
750 program_transform_name
763 enable_option_checking
769 enable_dependency_tracking
776 ac_precious_vars
='build_alias
791 # Initialize some variables set by options.
793 ac_init_version
=false
794 ac_unrecognized_opts
=
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
805 program_transform_name
=s
,x
,x
,
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir
='${exec_prefix}/bin'
820 sbindir
='${exec_prefix}/sbin'
821 libexecdir
='${exec_prefix}/libexec'
822 datarootdir
='${prefix}/share'
823 datadir
='${datarootdir}'
824 sysconfdir
='${prefix}/etc'
825 sharedstatedir
='${prefix}/com'
826 localstatedir
='${prefix}/var'
827 includedir
='${prefix}/include'
828 oldincludedir
='/usr/include'
829 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir
='${datarootdir}/info'
835 libdir
='${exec_prefix}/lib'
836 localedir
='${datarootdir}/locale'
837 mandir
='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\
$ac_option
851 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
864 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
867 -build |
--build |
--buil |
--bui |
--bu)
868 ac_prev
=build_alias
;;
869 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
870 build_alias
=$ac_optarg ;;
872 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
873 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
874 ac_prev
=cache_file
;;
875 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
876 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
877 cache_file
=$ac_optarg ;;
880 cache_file
=config.cache
;;
882 -datadir |
--datadir |
--datadi |
--datad)
884 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
885 datadir
=$ac_optarg ;;
887 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
888 |
--dataroo |
--dataro |
--datar)
889 ac_prev
=datarootdir
;;
890 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
891 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
892 datarootdir
=$ac_optarg ;;
894 -disable-* |
--disable-*)
895 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
898 as_fn_error $?
"invalid feature name: $ac_useropt"
899 ac_useropt_orig
=$ac_useropt
900 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
906 ac_unrecognized_sep
=', ';;
908 eval enable_
$ac_useropt=no
;;
910 -docdir |
--docdir |
--docdi |
--doc |
--do)
912 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
915 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
917 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
920 -enable-* |
--enable-*)
921 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
924 as_fn_error $?
"invalid feature name: $ac_useropt"
925 ac_useropt_orig
=$ac_useropt
926 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 case $ac_user_opts in
931 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
932 ac_unrecognized_sep
=', ';;
934 eval enable_
$ac_useropt=\
$ac_optarg ;;
936 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
937 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
938 |
--exec |
--exe |
--ex)
939 ac_prev
=exec_prefix
;;
940 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
941 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
942 |
--exec=* |
--exe=* |
--ex=*)
943 exec_prefix
=$ac_optarg ;;
945 -gas |
--gas |
--ga |
--g)
946 # Obsolete; use --with-gas.
949 -help |
--help |
--hel |
--he |
-h)
951 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
952 ac_init_help
=recursive
;;
953 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
954 ac_init_help
=short
;;
956 -host |
--host |
--hos |
--ho)
957 ac_prev
=host_alias
;;
958 -host=* |
--host=* |
--hos=* |
--ho=*)
959 host_alias
=$ac_optarg ;;
961 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
963 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
965 htmldir
=$ac_optarg ;;
967 -includedir |
--includedir |
--includedi |
--included |
--include \
968 |
--includ |
--inclu |
--incl |
--inc)
969 ac_prev
=includedir
;;
970 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
971 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
972 includedir
=$ac_optarg ;;
974 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
976 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
977 infodir
=$ac_optarg ;;
979 -libdir |
--libdir |
--libdi |
--libd)
981 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
984 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
985 |
--libexe |
--libex |
--libe)
986 ac_prev
=libexecdir
;;
987 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
988 |
--libexe=* |
--libex=* |
--libe=*)
989 libexecdir
=$ac_optarg ;;
991 -localedir |
--localedir |
--localedi |
--localed |
--locale)
993 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
994 localedir
=$ac_optarg ;;
996 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
997 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
998 ac_prev
=localstatedir
;;
999 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1000 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1001 localstatedir
=$ac_optarg ;;
1003 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1005 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1006 mandir
=$ac_optarg ;;
1008 -nfp |
--nfp |
--nf)
1009 # Obsolete; use --without-fp.
1012 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1013 |
--no-cr |
--no-c |
-n)
1016 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1017 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1020 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1021 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1022 |
--oldin |
--oldi |
--old |
--ol |
--o)
1023 ac_prev
=oldincludedir
;;
1024 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1025 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1026 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1027 oldincludedir
=$ac_optarg ;;
1029 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1031 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1032 prefix
=$ac_optarg ;;
1034 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1035 |
--program-pre |
--program-pr |
--program-p)
1036 ac_prev
=program_prefix
;;
1037 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1038 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1039 program_prefix
=$ac_optarg ;;
1041 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1042 |
--program-suf |
--program-su |
--program-s)
1043 ac_prev
=program_suffix
;;
1044 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1045 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1046 program_suffix
=$ac_optarg ;;
1048 -program-transform-name |
--program-transform-name \
1049 |
--program-transform-nam |
--program-transform-na \
1050 |
--program-transform-n |
--program-transform- \
1051 |
--program-transform |
--program-transfor \
1052 |
--program-transfo |
--program-transf \
1053 |
--program-trans |
--program-tran \
1054 |
--progr-tra |
--program-tr |
--program-t)
1055 ac_prev
=program_transform_name
;;
1056 -program-transform-name=* |
--program-transform-name=* \
1057 |
--program-transform-nam=* |
--program-transform-na=* \
1058 |
--program-transform-n=* |
--program-transform-=* \
1059 |
--program-transform=* |
--program-transfor=* \
1060 |
--program-transfo=* |
--program-transf=* \
1061 |
--program-trans=* |
--program-tran=* \
1062 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1063 program_transform_name
=$ac_optarg ;;
1065 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1067 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1068 pdfdir
=$ac_optarg ;;
1070 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1072 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1075 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1076 |
-silent |
--silent |
--silen |
--sile |
--sil)
1079 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1081 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1083 sbindir
=$ac_optarg ;;
1085 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1086 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1087 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1089 ac_prev
=sharedstatedir
;;
1090 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1091 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1092 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1094 sharedstatedir
=$ac_optarg ;;
1096 -site |
--site |
--sit)
1098 -site=* |
--site=* |
--sit=*)
1101 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1103 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1104 srcdir
=$ac_optarg ;;
1106 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1107 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1108 ac_prev
=sysconfdir
;;
1109 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1110 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1111 sysconfdir
=$ac_optarg ;;
1113 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1114 ac_prev
=target_alias
;;
1115 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1116 target_alias
=$ac_optarg ;;
1118 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1121 -version |
--version |
--versio |
--versi |
--vers |
-V)
1122 ac_init_version
=: ;;
1125 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1128 as_fn_error $?
"invalid package name: $ac_useropt"
1129 ac_useropt_orig
=$ac_useropt
1130 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1135 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1136 ac_unrecognized_sep
=', ';;
1138 eval with_
$ac_useropt=\
$ac_optarg ;;
1140 -without-* |
--without-*)
1141 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1144 as_fn_error $?
"invalid package name: $ac_useropt"
1145 ac_useropt_orig
=$ac_useropt
1146 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1151 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1152 ac_unrecognized_sep
=', ';;
1154 eval with_
$ac_useropt=no
;;
1157 # Obsolete; use --with-x.
1160 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1161 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1162 ac_prev
=x_includes
;;
1163 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1164 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1165 x_includes
=$ac_optarg ;;
1167 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1168 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1169 ac_prev
=x_libraries
;;
1170 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1171 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1172 x_libraries
=$ac_optarg ;;
1174 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1175 Try \`$0 --help' for more information"
1179 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1180 # Reject names that are not valid shell variable names.
1181 case $ac_envvar in #(
1182 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1183 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1185 eval $ac_envvar=\
$ac_optarg
1186 export $ac_envvar ;;
1189 # FIXME: should be removed in autoconf 3.0.
1190 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1192 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1199 if test -n "$ac_prev"; then
1200 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1201 as_fn_error $?
"missing argument to $ac_option"
1204 if test -n "$ac_unrecognized_opts"; then
1205 case $enable_option_checking in
1207 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1208 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1212 # Check all directory arguments for consistency.
1213 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1214 datadir sysconfdir sharedstatedir localstatedir includedir \
1215 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1216 libdir localedir mandir
1218 eval ac_val
=\$
$ac_var
1219 # Remove trailing slashes.
1222 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1223 eval $ac_var=\
$ac_val;;
1225 # Be sure to have absolute directory names.
1227 [\\/$
]* | ?
:[\\/]* ) continue;;
1228 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1230 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1233 # There might be people who depend on the old broken behavior: `$host'
1234 # used to hold the argument of --host etc.
1235 # FIXME: To remove some day.
1238 target
=$target_alias
1240 # FIXME: To remove some day.
1241 if test "x$host_alias" != x
; then
1242 if test "x$build_alias" = x
; then
1243 cross_compiling
=maybe
1244 elif test "x$build_alias" != "x$host_alias"; then
1250 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1252 test "$silent" = yes && exec 6>/dev
/null
1255 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1256 ac_ls_di
=`ls -di .` &&
1257 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1258 as_fn_error $?
"working directory cannot be determined"
1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1260 as_fn_error $?
"pwd does not report name of working directory"
1263 # Find the source files, if location was not specified.
1264 if test -z "$srcdir"; then
1265 ac_srcdir_defaulted
=yes
1266 # Try the directory containing this script, then the parent directory.
1267 ac_confdir
=`$as_dirname -- "$as_myself" ||
1268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1269 X"$as_myself" : 'X\(//\)[^/]' \| \
1270 X"$as_myself" : 'X\(//\)$' \| \
1271 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1272 $as_echo X"$as_myself" |
1273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1295 ac_srcdir_defaulted
=no
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1298 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1299 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1301 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1303 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305 # When building in place, set srcdir=.
1306 if test "$ac_abs_confdir" = "$ac_pwd"; then
1309 # Remove unnecessary trailing slashes from srcdir.
1310 # Double slashes in file names in object file debugging info
1311 # mess up M-x gdb in Emacs.
1313 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315 for ac_var
in $ac_precious_vars; do
1316 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1317 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1318 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1319 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1323 # Report the --help message.
1325 if test "$ac_init_help" = "long"; then
1326 # Omit some internal or obsolete options to make the list less imposing.
1327 # This message is too long to be a string in the A/UX 3.1 sh.
1329 \`configure' configures unicode 0.10 to adapt to many kinds of systems.
1331 Usage: $0 [OPTION]... [VAR=VALUE]...
1333 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1334 VAR=VALUE. See below for descriptions of some of the useful variables.
1336 Defaults for the options are specified in brackets.
1339 -h, --help display this help and exit
1340 --help=short display options specific to this package
1341 --help=recursive display the short help of all the included packages
1342 -V, --version display version information and exit
1343 -q, --quiet, --silent do not print \`checking ...' messages
1344 --cache-file=FILE cache test results in FILE [disabled]
1345 -C, --config-cache alias for \`--cache-file=config.cache'
1346 -n, --no-create do not create output files
1347 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1349 Installation directories:
1350 --prefix=PREFIX install architecture-independent files in PREFIX
1351 [$ac_default_prefix]
1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1355 By default, \`make install' will install all the files in
1356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1357 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1358 for instance \`--prefix=\$HOME'.
1360 For better control, use the options below.
1362 Fine tuning of the installation directories:
1363 --bindir=DIR user executables [EPREFIX/bin]
1364 --sbindir=DIR system admin executables [EPREFIX/sbin]
1365 --libexecdir=DIR program executables [EPREFIX/libexec]
1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1369 --libdir=DIR object code libraries [EPREFIX/lib]
1370 --includedir=DIR C header files [PREFIX/include]
1371 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1374 --infodir=DIR info documentation [DATAROOTDIR/info]
1375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1376 --mandir=DIR man documentation [DATAROOTDIR/man]
1377 --docdir=DIR documentation root [DATAROOTDIR/doc/unicode]
1378 --htmldir=DIR html documentation [DOCDIR]
1379 --dvidir=DIR dvi documentation [DOCDIR]
1380 --pdfdir=DIR pdf documentation [DOCDIR]
1381 --psdir=DIR ps documentation [DOCDIR]
1387 --program-prefix=PREFIX prepend PREFIX to installed program names
1388 --program-suffix=SUFFIX append SUFFIX to installed program names
1389 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1392 --build=BUILD configure
for building on BUILD
[guessed
]
1393 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1397 if test -n "$ac_init_help"; then
1398 case $ac_init_help in
1399 short | recursive
) echo "Configuration of unicode 0.10:";;
1404 --disable-option-checking ignore unrecognized
--enable/--with options
1405 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1406 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1407 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1408 --disable-silent-rules verbose build output
(undo
: "make V=0")
1409 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1410 --enable-static[=PKGS
] build static libraries
[default
=yes]
1411 --enable-fast-install[=PKGS
]
1412 optimize
for fast installation
[default
=yes]
1413 --enable-dependency-tracking
1414 do not reject slow dependency extractors
1415 --disable-dependency-tracking
1416 speeds up one-time build
1417 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1418 --disable-largefile omit support
for large files
1421 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1422 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1423 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1425 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1426 --with-sysroot=DIR Search
for dependent libraries within DIR
1427 (or the compiler
's sysroot if not specified).
1428 --with-libcharset Use the libcharset library
1430 Some influential environment variables:
1431 CC C compiler command
1432 CFLAGS C compiler flags
1433 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1434 nonstandard directory <lib dir>
1435 LIBS libraries to pass to the linker, e.g. -l<library>
1436 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1437 you have headers in a nonstandard directory <include dir>
1439 CXX C++ compiler command
1440 CXXFLAGS C++ compiler flags
1441 CXXCPP C++ preprocessor
1443 Use these variables to override the choices made by `configure' or to
help
1444 it to
find libraries and programs with nonstandard names
/locations.
1446 Report bugs to
<courier-maildrop@lists.sourceforge.net
>.
1451 if test "$ac_init_help" = "recursive"; then
1452 # If there are subdirs, report their specific --help.
1453 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1454 test -d "$ac_dir" ||
1455 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1460 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1462 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1463 # A ".." for each directory in $ac_dir_suffix.
1464 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1465 case $ac_top_builddir_sub in
1466 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1467 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1470 ac_abs_top_builddir
=$ac_pwd
1471 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1472 # for backward compatibility:
1473 ac_top_builddir
=$ac_top_build_prefix
1476 .
) # We are building in place.
1478 ac_top_srcdir
=$ac_top_builddir_sub
1479 ac_abs_top_srcdir
=$ac_pwd ;;
1480 [\\/]* | ?
:[\\/]* ) # Absolute name.
1481 ac_srcdir
=$srcdir$ac_dir_suffix;
1482 ac_top_srcdir
=$srcdir
1483 ac_abs_top_srcdir
=$srcdir ;;
1485 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1486 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1487 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1489 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1491 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1492 # Check for guested configure.
1493 if test -f "$ac_srcdir/configure.gnu"; then
1495 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1496 elif test -f "$ac_srcdir/configure"; then
1498 $SHELL "$ac_srcdir/configure" --help=recursive
1500 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1502 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1506 test -n "$ac_init_help" && exit $ac_status
1507 if $ac_init_version; then
1509 unicode configure
0.10
1510 generated by GNU Autoconf
2.69
1512 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1513 This configure
script is free software
; the Free Software Foundation
1514 gives unlimited permission to copy
, distribute and modify it.
1519 ## ------------------------ ##
1520 ## Autoconf initialization. ##
1521 ## ------------------------ ##
1523 # ac_fn_c_try_compile LINENO
1524 # --------------------------
1525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1526 ac_fn_c_try_compile
()
1528 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1529 rm -f conftest.
$ac_objext
1530 if { { ac_try
="$ac_compile"
1532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1533 *) ac_try_echo=$ac_try;;
1535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536 $as_echo "$ac_try_echo"; } >&5
1537 (eval "$ac_compile") 2>conftest.err
1539 if test -s conftest.err; then
1540 grep -v '^ *+' conftest.err >conftest.er1
1541 cat conftest.er1 >&5
1542 mv -f conftest.er1 conftest.err
1544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1545 test $ac_status = 0; } && {
1546 test -z "$ac_c_werror_flag" ||
1547 test ! -s conftest.err
1548 } && test -s conftest.$ac_objext; then :
1551 $as_echo "$as_me: failed program was:" >&5
1552 sed 's/^/| /' conftest.$ac_ext >&5
1556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1557 as_fn_set_status $ac_retval
1559 } # ac_fn_c_try_compile
1561 # ac_fn_c_try_link LINENO
1562 # -----------------------
1563 # Try to link conftest.$ac_ext, and return whether this succeeded.
1566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1567 rm -f conftest.$ac_objext conftest$ac_exeext
1568 if { { ac_try="$ac_link"
1570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1571 *) ac_try_echo
=$ac_try;;
1573 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574 $as_echo "$ac_try_echo"; } >&5
1575 (eval "$ac_link") 2>conftest.err
1577 if test -s conftest.err
; then
1578 grep -v '^ *+' conftest.err
>conftest.er1
1579 cat conftest.er1
>&5
1580 mv -f conftest.er1 conftest.err
1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583 test $ac_status = 0; } && {
1584 test -z "$ac_c_werror_flag" ||
1585 test ! -s conftest.err
1586 } && test -s conftest
$ac_exeext && {
1587 test "$cross_compiling" = yes ||
1588 test -x conftest
$ac_exeext
1592 $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.
$ac_ext >&5
1597 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1598 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1599 # interfere with the next link command; also delete a directory that is
1600 # left behind by Apple's compiler. We do this before executing the actions.
1601 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603 as_fn_set_status
$ac_retval
1605 } # ac_fn_c_try_link
1607 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1608 # -------------------------------------------------------
1609 # Tests whether HEADER exists and can be compiled using the include files in
1610 # INCLUDES, setting the cache variable VAR accordingly.
1611 ac_fn_c_check_header_compile
()
1613 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1615 $as_echo_n "checking for $2... " >&6; }
1616 if eval \
${$3+:} false
; then :
1617 $as_echo_n "(cached) " >&6
1619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1620 /* end confdefs.h. */
1624 if ac_fn_c_try_compile
"$LINENO"; then :
1629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1633 $as_echo "$ac_res" >&6; }
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 } # ac_fn_c_check_header_compile
1638 # ac_fn_c_try_cpp LINENO
1639 # ----------------------
1640 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1643 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1644 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1647 *) ac_try_echo=$ac_try;;
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1653 if test -s conftest.err; then
1654 grep -v '^ *+' conftest.err >conftest.er1
1655 cat conftest.er1 >&5
1656 mv -f conftest.er1 conftest.err
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; } > conftest.i && {
1660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1661 test ! -s conftest.err
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 as_fn_set_status $ac_retval
1675 # ac_fn_c_try_run LINENO
1676 # ----------------------
1677 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1678 # that executables *can* be run.
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 if { { ac_try="$ac_link"
1684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1685 *) ac_try_echo
=$ac_try;;
1687 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_link") 2>&5
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1693 { { case "(($ac_try" in
1694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_try") 2>&5
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; }; }; then :
1705 $as_echo "$as_me: program exited with status $ac_status" >&5
1706 $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.$ac_ext >&5
1709 ac_retval=$ac_status
1711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status $ac_retval
1717 # ac_fn_c_check_func LINENO FUNC VAR
1718 # ----------------------------------
1719 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1720 ac_fn_c_check_func ()
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1724 $as_echo_n "checking for $2... " >&6; }
1725 if eval \${$3+:} false; then :
1726 $as_echo_n "(cached) " >&6
1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1729 /* end confdefs.h. */
1730 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1732 #define $2 innocuous_$2
1734 /* System header to define __stub macros and hopefully few prototypes,
1735 which can conflict with char $2 (); below.
1736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1737 <limits.h> exists even on freestanding compilers. */
1740 # include <limits.h>
1742 # include <assert.h>
1747 /* Override any GCC internal prototype to avoid an error.
1748 Use char because int might match the return type of a GCC
1749 builtin and then its argument prototype would still apply. */
1754 /* The GNU C library defines this for functions which it implements
1755 to always fail with ENOSYS. Some functions are actually named
1756 something starting with __ and the normal name is an alias. */
1757 #if defined __stub_$2 || defined __stub___$2
1769 if ac_fn_c_try_link "$LINENO"; then :
1774 rm -f core conftest.err conftest.$ac_objext \
1775 conftest$ac_exeext conftest.$ac_ext
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779 $as_echo "$ac_res" >&6; }
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 } # ac_fn_c_check_func
1784 # ac_fn_cxx_try_compile LINENO
1785 # ----------------------------
1786 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1787 ac_fn_cxx_try_compile ()
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 rm -f conftest.$ac_objext
1791 if { { ac_try="$ac_compile"
1793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1794 *) ac_try_echo
=$ac_try;;
1796 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_compile") 2>conftest.err
1800 if test -s conftest.err
; then
1801 grep -v '^ *+' conftest.err
>conftest.er1
1802 cat conftest.er1
>&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } && {
1807 test -z "$ac_cxx_werror_flag" ||
1808 test ! -s conftest.err
1809 } && test -s conftest.
$ac_objext; then :
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.
$ac_ext >&5
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818 as_fn_set_status
$ac_retval
1820 } # ac_fn_cxx_try_compile
1822 # ac_fn_cxx_try_cpp LINENO
1823 # ------------------------
1824 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1825 ac_fn_cxx_try_cpp
()
1827 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1828 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1837 if test -s conftest.err; then
1838 grep -v '^ *+' conftest.err >conftest.er1
1839 cat conftest.er1 >&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } > conftest.i && {
1844 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1845 test ! -s conftest.err
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.$ac_ext >&5
1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 as_fn_set_status $ac_retval
1857 } # ac_fn_cxx_try_cpp
1859 # ac_fn_cxx_try_link LINENO
1860 # -------------------------
1861 # Try to link conftest.$ac_ext, and return whether this succeeded.
1862 ac_fn_cxx_try_link ()
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 rm -f conftest.$ac_objext conftest$ac_exeext
1866 if { { ac_try="$ac_link"
1868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1869 *) ac_try_echo
=$ac_try;;
1871 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_link") 2>conftest.err
1875 if test -s conftest.err
; then
1876 grep -v '^ *+' conftest.err
>conftest.er1
1877 cat conftest.er1
>&5
1878 mv -f conftest.er1 conftest.err
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && {
1882 test -z "$ac_cxx_werror_flag" ||
1883 test ! -s conftest.err
1884 } && test -s conftest
$ac_exeext && {
1885 test "$cross_compiling" = yes ||
1886 test -x conftest
$ac_exeext
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.
$ac_ext >&5
1895 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1896 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1897 # interfere with the next link command; also delete a directory that is
1898 # left behind by Apple's compiler. We do this before executing the actions.
1899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901 as_fn_set_status
$ac_retval
1903 } # ac_fn_cxx_try_link
1905 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1906 # -------------------------------------------------------
1907 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1908 # the include files in INCLUDES and setting the cache variable VAR
1910 ac_fn_c_check_header_mongrel
()
1912 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1913 if eval \
${$3+:} false
; then :
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1915 $as_echo_n "checking for $2... " >&6; }
1916 if eval \
${$3+:} false
; then :
1917 $as_echo_n "(cached) " >&6
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921 $as_echo "$ac_res" >&6; }
1923 # Is the header compilable?
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1925 $as_echo_n "checking $2 usability... " >&6; }
1926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1931 if ac_fn_c_try_compile
"$LINENO"; then :
1932 ac_header_compiler
=yes
1934 ac_header_compiler
=no
1936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1938 $as_echo "$ac_header_compiler" >&6; }
1940 # Is the header present?
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1942 $as_echo_n "checking $2 presence... " >&6; }
1943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1947 if ac_fn_c_try_cpp
"$LINENO"; then :
1948 ac_header_preproc
=yes
1950 ac_header_preproc
=no
1952 rm -f conftest.err conftest.i conftest.
$ac_ext
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1954 $as_echo "$ac_header_preproc" >&6; }
1956 # So? What about this header?
1957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1960 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1962 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1966 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1968 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1970 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1972 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1974 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1975 ( $as_echo "## ----------------------------------------------------- ##
1976 ## Report this to courier-maildrop@lists.sourceforge.net ##
1977 ## ----------------------------------------------------- ##"
1978 ) |
sed "s/^/$as_me: WARNING: /" >&2
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if eval \
${$3+:} false
; then :
1984 $as_echo_n "(cached) " >&6
1986 eval "$3=\$ac_header_compiler"
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1992 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1994 } # ac_fn_c_check_header_mongrel
1995 cat >config.log
<<_ACEOF
1996 This file contains any messages produced by compilers while
1997 running configure, to aid debugging if configure makes a mistake.
1999 It was created by unicode $as_me 0.10, which was
2000 generated by GNU Autoconf 2.69. Invocation command line was
2012 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2013 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2014 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2015 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2016 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2018 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2019 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2021 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2022 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2023 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2024 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2025 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2026 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2027 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir
=.
2036 $as_echo "PATH: $as_dir"
2052 # Keep a trace of the command line.
2053 # Strip out --no-create and --no-recursion so they do not pile up.
2054 # Strip out --silent because we don't want to record it for future runs.
2055 # Also quote any args containing shell meta-characters.
2056 # Make two passes to allow for proper duplicate-argument suppression.
2060 ac_must_keep_next
=false
2066 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2067 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2068 |
-silent |
--silent |
--silen |
--sile |
--sil)
2071 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2074 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2076 as_fn_append ac_configure_args1
" '$ac_arg'"
2077 if test $ac_must_keep_next = true
; then
2078 ac_must_keep_next
=false
# Got value, back to normal.
2081 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2082 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2083 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2084 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2085 case "$ac_configure_args0 " in
2086 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2089 -* ) ac_must_keep_next
=true
;;
2092 as_fn_append ac_configure_args
" '$ac_arg'"
2097 { ac_configure_args0
=; unset ac_configure_args0
;}
2098 { ac_configure_args1
=; unset ac_configure_args1
;}
2100 # When interrupted or exit'd, cleanup temporary files, and complete
2101 # config.log. We remove comments because anyway the quotes in there
2102 # would cause problems or look ugly.
2103 # WARNING: Use '\'' to represent an apostrophe within the trap.
2104 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2105 trap 'exit_status=$?
2106 # Save into config.log some information that might help in debugging.
2110 $as_echo "## ---------------- ##
2111 ## Cache variables. ##
2112 ## ---------------- ##"
2114 # The following way of writing the cache mishandles newlines in values,
2116 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2117 eval ac_val=\$$ac_var
2121 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2122 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2125 _ | IFS | as_nl) ;; #(
2126 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2127 *) { eval $ac_var=; unset $ac_var;} ;;
2132 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2133 *${as_nl}ac_space=\ *)
2135 "s/'\''/'\''\\\\'\'''\''/g;
2136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2139 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2146 $as_echo "## ----------------- ##
2147 ## Output variables. ##
2148 ## ----------------- ##"
2150 for ac_var in $ac_subst_vars
2152 eval ac_val=\$$ac_var
2154 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2156 $as_echo "$ac_var='\''$ac_val'\''"
2160 if test -n "$ac_subst_files"; then
2161 $as_echo "## ------------------- ##
2162 ## File substitutions. ##
2163 ## ------------------- ##"
2165 for ac_var
in $ac_subst_files
2167 eval ac_val
=\$
$ac_var
2169 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171 $as_echo "$ac_var='\''$ac_val'\''"
2176 if test -s confdefs.h; then
2177 $as_echo "## ----------- ##
2184 test "$ac_signal" != 0 &&
2185 $as_echo "$as_me: caught signal $ac_signal"
2186 $as_echo "$as_me: exit $exit_status"
2188 rm -f core *.core core.conftest.* &&
2189 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2192 for ac_signal
in 1 2 13 15; do
2193 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2197 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2198 rm -f -r conftest
* confdefs.h
2200 $as_echo "/* confdefs.h */" > confdefs.h
2202 # Predefined preprocessor variables.
2204 cat >>confdefs.h
<<_ACEOF
2205 #define PACKAGE_NAME "$PACKAGE_NAME"
2208 cat >>confdefs.h
<<_ACEOF
2209 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2212 cat >>confdefs.h
<<_ACEOF
2213 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2216 cat >>confdefs.h
<<_ACEOF
2217 #define PACKAGE_STRING "$PACKAGE_STRING"
2220 cat >>confdefs.h
<<_ACEOF
2221 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2224 cat >>confdefs.h
<<_ACEOF
2225 #define PACKAGE_URL "$PACKAGE_URL"
2229 # Let the site file select an alternate cache file if it wants to.
2230 # Prefer an explicitly selected file to automatically selected ones.
2233 if test -n "$CONFIG_SITE"; then
2234 # We do not want a PATH search for config.site.
2235 case $CONFIG_SITE in #((
2236 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2237 */*) ac_site_file1
=$CONFIG_SITE;;
2238 *) ac_site_file1
=.
/$CONFIG_SITE;;
2240 elif test "x$prefix" != xNONE
; then
2241 ac_site_file1
=$prefix/share
/config.site
2242 ac_site_file2
=$prefix/etc
/config.site
2244 ac_site_file1
=$ac_default_prefix/share
/config.site
2245 ac_site_file2
=$ac_default_prefix/etc
/config.site
2247 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2249 test "x$ac_site_file" = xNONE
&& continue
2250 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2252 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2253 sed 's/^/| /' "$ac_site_file" >&5
2255 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2257 as_fn_error $?
"failed to load site script $ac_site_file
2258 See \`config.log' for more details" "$LINENO" 5; }
2262 if test -r "$cache_file"; then
2263 # Some versions of bash will fail to source /dev/null (special files
2264 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2265 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2267 $as_echo "$as_me: loading cache $cache_file" >&6;}
2269 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2270 *) .
"./$cache_file";;
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2275 $as_echo "$as_me: creating cache $cache_file" >&6;}
2279 # Check that the precious variables saved in the cache have kept the same
2281 ac_cache_corrupted
=false
2282 for ac_var
in $ac_precious_vars; do
2283 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2284 eval ac_new_set
=\
$ac_env_${ac_var}_set
2285 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2286 eval ac_new_val
=\
$ac_env_${ac_var}_value
2287 case $ac_old_set,$ac_new_set in
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2290 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2291 ac_cache_corrupted
=: ;;
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2294 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2295 ac_cache_corrupted
=: ;;
2298 if test "x$ac_old_val" != "x$ac_new_val"; then
2299 # differences in whitespace do not lead to failure.
2300 ac_old_val_w
=`echo x $ac_old_val`
2301 ac_new_val_w
=`echo x $ac_new_val`
2302 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2304 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2305 ac_cache_corrupted
=:
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2308 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2309 eval $ac_var=\
$ac_old_val
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2312 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2314 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2317 # Pass precious variables to config.status.
2318 if test "$ac_new_set" = set; then
2320 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2321 *) ac_arg
=$ac_var=$ac_new_val ;;
2323 case " $ac_configure_args " in
2324 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2325 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2329 if $ac_cache_corrupted; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2333 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2334 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2336 ## -------------------- ##
2337 ## Main body of script. ##
2338 ## -------------------- ##
2341 ac_cpp
='$CPP $CPPFLAGS'
2342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2348 >confdefs.h
# Kill PACKAGE_ macros
2352 for ac_dir
in ..
/..
"$srcdir"/..
/..
; do
2353 if test -f "$ac_dir/install-sh"; then
2355 ac_install_sh
="$ac_aux_dir/install-sh -c"
2357 elif test -f "$ac_dir/install.sh"; then
2359 ac_install_sh
="$ac_aux_dir/install.sh -c"
2361 elif test -f "$ac_dir/shtool"; then
2363 ac_install_sh
="$ac_aux_dir/shtool install -c"
2367 if test -z "$ac_aux_dir"; then
2368 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2371 # These three variables are undocumented and unsupported,
2372 # and are intended to be withdrawn in a future Autoconf release.
2373 # They can cause serious problems if a builder's source tree is in a directory
2374 # whose full name contains unusual characters.
2375 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2376 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2377 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2381 LPATH
="$PATH:/usr/local/bin"
2383 ac_config_headers
="$ac_config_headers unicode_config.h"
2385 am__api_version
='1.13'
2387 # Find a good install program. We prefer a C program (faster),
2388 # so one script is as good as another. But avoid the broken or
2389 # incompatible versions:
2390 # SysV /etc/install, /usr/sbin/install
2391 # SunOS /usr/etc/install
2392 # IRIX /sbin/install
2394 # AmigaOS /C/install, which installs bootblocks on floppy discs
2395 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2398 # OS/2's system install, which has a completely different semantic
2399 # ./install, which can be erroneously created by make from ./install.sh.
2400 # Reject install programs that cannot install multiple files.
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2402 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2403 if test -z "$INSTALL"; then
2404 if ${ac_cv_path_install+:} false
; then :
2405 $as_echo_n "(cached) " >&6
2407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir
=.
2412 # Account for people who put trailing slashes in PATH elements.
2413 case $as_dir/ in #((
2414 .
/ | .
// |
/[cC
]/* | \
2415 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2416 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2419 # OSF1 and SCO ODT 3.0 have their own names for install.
2420 # Don't use installbsd from OSF since it installs stuff as root
2422 for ac_prog
in ginstall scoinst
install; do
2423 for ac_exec_ext
in '' $ac_executable_extensions; do
2424 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2425 if test $ac_prog = install &&
2426 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2427 # AIX install. It has an incompatible calling convention.
2429 elif test $ac_prog = install &&
2430 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2431 # program-specific install script used by HP pwplus--don't use.
2434 rm -rf conftest.one conftest.two conftest.dir
2435 echo one
> conftest.one
2436 echo two
> conftest.two
2438 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2439 test -s conftest.one
&& test -s conftest.two
&&
2440 test -s conftest.dir
/conftest.one
&&
2441 test -s conftest.dir
/conftest.two
2443 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2456 rm -rf conftest.one conftest.two conftest.dir
2459 if test "${ac_cv_path_install+set}" = set; then
2460 INSTALL
=$ac_cv_path_install
2462 # As a last resort, use the slow shell script. Don't cache a
2463 # value for INSTALL within a source directory, because that will
2464 # break other packages using the cache if that directory is
2465 # removed, or if the value is a relative name.
2466 INSTALL
=$ac_install_sh
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2470 $as_echo "$INSTALL" >&6; }
2472 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2473 # It thinks the first close brace ends the variable substitution.
2474 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2476 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2478 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2481 $as_echo_n "checking whether build environment is sane... " >&6; }
2482 # Reject unsafe characters in $srcdir or the absolute working directory
2483 # name. Accept space and tab only in the latter.
2487 *[\\\"\
#\$\&\'\`$am_lf]*)
2488 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2491 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2492 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2495 # Do 'set' in a subshell so we don't clobber the current shell's
2496 # arguments. Must try -L first in case configure is actually a
2497 # symlink; some systems play weird games with the mod time of symlinks
2498 # (eg FreeBSD returns the mod time of the symlink's containing
2502 for am_try
in 1 2; do
2503 echo "timestamp, slept: $am_has_slept" > conftest.
file
2504 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2505 if test "$*" = "X"; then
2507 set X
`ls -t "$srcdir/configure" conftest.file`
2509 if test "$*" != "X $srcdir/configure conftest.file" \
2510 && test "$*" != "X conftest.file $srcdir/configure"; then
2512 # If neither matched, then we have a broken ls. This can happen
2513 # if, for instance, CONFIG_SHELL is bash and it inherits a
2514 # broken ls alias from the environment. This has actually
2515 # happened. Such a system could not be considered "sane".
2516 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2517 alias in your environment" "$LINENO" 5
2519 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2526 test "$2" = conftest.
file
2532 as_fn_error $?
"newly created file is older than distributed files!
2533 Check your system clock" "$LINENO" 5
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2536 $as_echo "yes" >&6; }
2537 # If we didn't sleep, we still need to ensure time stamps of config.status and
2538 # generated files are strictly newer.
2540 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2547 test "$program_prefix" != NONE
&&
2548 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2549 # Use a double $ so make ignores it.
2550 test "$program_suffix" != NONE
&&
2551 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2552 # Double any \ or $.
2553 # By default was `s,x,x', remove it if useless.
2554 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2555 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2557 # expand $ac_aux_dir to an absolute path
2558 am_aux_dir
=`cd $ac_aux_dir && pwd`
2560 if test x
"${MISSING+set}" != xset
; then
2563 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2565 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2568 # Use eval to expand $SHELL
2569 if eval "$MISSING --is-lightweight"; then
2570 am_missing_run
="$MISSING "
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2574 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2577 if test x
"${install_sh}" != xset
; then
2580 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2582 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2586 # Installed binaries are usually stripped using 'strip' when the user
2587 # run "make install-strip". However 'strip' might not be the right
2588 # tool to use in cross-compilation environments, therefore Automake
2589 # will honor the 'STRIP' environment variable to overrule this program.
2590 if test "$cross_compiling" != no
; then
2591 if test -n "$ac_tool_prefix"; then
2592 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2593 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if ${ac_cv_prog_STRIP+:} false
; then :
2597 $as_echo_n "(cached) " >&6
2599 if test -n "$STRIP"; then
2600 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir
=.
2607 for ac_exec_ext
in '' $ac_executable_extensions; do
2608 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2609 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2619 STRIP
=$ac_cv_prog_STRIP
2620 if test -n "$STRIP"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2622 $as_echo "$STRIP" >&6; }
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2625 $as_echo "no" >&6; }
2630 if test -z "$ac_cv_prog_STRIP"; then
2632 # Extract the first word of "strip", so it can be a program name with args.
2633 set dummy strip
; ac_word
=$2
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635 $as_echo_n "checking for $ac_word... " >&6; }
2636 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2637 $as_echo_n "(cached) " >&6
2639 if test -n "$ac_ct_STRIP"; then
2640 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir
=.
2647 for ac_exec_ext
in '' $ac_executable_extensions; do
2648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2649 ac_cv_prog_ac_ct_STRIP
="strip"
2650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2660 if test -n "$ac_ct_STRIP"; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2662 $as_echo "$ac_ct_STRIP" >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2668 if test "x$ac_ct_STRIP" = x
; then
2671 case $cross_compiling:$ac_tool_warned in
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2675 ac_tool_warned
=yes ;;
2680 STRIP
="$ac_cv_prog_STRIP"
2684 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2687 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2688 if test -z "$MKDIR_P"; then
2689 if ${ac_cv_path_mkdir+:} false
; then :
2690 $as_echo_n "(cached) " >&6
2692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2693 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2696 test -z "$as_dir" && as_dir
=.
2697 for ac_prog
in mkdir gmkdir
; do
2698 for ac_exec_ext
in '' $ac_executable_extensions; do
2699 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2700 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2701 'mkdir (GNU coreutils) '* | \
2702 'mkdir (coreutils) '* | \
2703 'mkdir (fileutils) '4.1*)
2704 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2714 test -d .
/--version && rmdir .
/--version
2715 if test "${ac_cv_path_mkdir+set}" = set; then
2716 MKDIR_P
="$ac_cv_path_mkdir -p"
2718 # As a last resort, use the slow shell script. Don't cache a
2719 # value for MKDIR_P within a source directory, because that will
2720 # break other packages using the cache if that directory is
2721 # removed, or if the value is a relative name.
2722 MKDIR_P
="$ac_install_sh -d"
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2726 $as_echo "$MKDIR_P" >&6; }
2728 for ac_prog
in gawk mawk nawk
awk
2730 # Extract the first word of "$ac_prog", so it can be a program name with args.
2731 set dummy
$ac_prog; ac_word
=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_AWK+:} false
; then :
2735 $as_echo_n "(cached) " >&6
2737 if test -n "$AWK"; then
2738 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2744 test -z "$as_dir" && as_dir
=.
2745 for ac_exec_ext
in '' $ac_executable_extensions; do
2746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2747 ac_cv_prog_AWK
="$ac_prog"
2748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 if test -n "$AWK"; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2760 $as_echo "$AWK" >&6; }
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2767 test -n "$AWK" && break
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2771 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2773 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2774 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2775 $as_echo_n "(cached) " >&6
2777 cat >conftest.
make <<\_ACEOF
2780 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2782 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2783 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2785 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2787 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2791 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2793 $as_echo "yes" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2798 SET_MAKE
="MAKE=${MAKE-make}"
2801 rm -rf .tst
2>/dev
/null
2802 mkdir .tst
2>/dev
/null
2803 if test -d .tst
; then
2808 rmdir .tst
2>/dev
/null
2810 # Check whether --enable-silent-rules was given.
2811 if test "${enable_silent_rules+set}" = set; then :
2812 enableval
=$enable_silent_rules;
2815 case $enable_silent_rules in # (((
2816 yes) AM_DEFAULT_VERBOSITY
=0;;
2817 no
) AM_DEFAULT_VERBOSITY
=1;;
2818 *) AM_DEFAULT_VERBOSITY
=1;;
2820 am_make
=${MAKE-make}
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2822 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2823 if ${am_cv_make_support_nested_variables+:} false
; then :
2824 $as_echo_n "(cached) " >&6
2826 if $as_echo 'TRUE=$(BAR$(V))
2832 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2833 am_cv_make_support_nested_variables
=yes
2835 am_cv_make_support_nested_variables
=no
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2839 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2840 if test $am_cv_make_support_nested_variables = yes; then
2842 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2844 AM_V
=$AM_DEFAULT_VERBOSITY
2845 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2849 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2850 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2851 # is not polluted with repeated "-I."
2852 am__isrc
=' -I$(srcdir)'
2853 # test to see if srcdir already configured
2854 if test -f $srcdir/config.status
; then
2855 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2859 # test whether we have cygpath
2860 if test -z "$CYGPATH_W"; then
2861 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2862 CYGPATH_W
='cygpath -w'
2869 # Define the identity of the package.
2874 # Some tools Automake needs.
2876 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2879 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2882 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2885 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2888 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2890 # For better backward compatibility. To be removed once Automake 1.9.x
2891 # dies out for good. For more background, see:
2892 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2893 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2894 mkdir_p
='$(MKDIR_P)'
2896 # We need awk for the "check" target. The system "awk" is bad on
2898 # Always define AMTAR for backward compatibility. Yes, it's still used
2899 # in the wild :-( We should find a proper way to deprecate it ...
2903 # We'll loop over all known methods to create a tar archive until one works.
2904 _am_tools
='gnutar pax cpio none'
2906 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2915 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2917 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2918 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2919 $as_echo_n "(cached) " >&6
2921 cat >conftest.
make <<\_ACEOF
2924 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2926 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2927 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2929 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2931 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2935 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2937 $as_echo "yes" >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2942 SET_MAKE
="MAKE=${MAKE-make}"
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2948 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2953 macro_version
='2.4.2'
2954 macro_revision
='1.3337'
2968 ltmain
="$ac_aux_dir/ltmain.sh"
2970 # Make sure we can run config.sub.
2971 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2972 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2975 $as_echo_n "checking build system type... " >&6; }
2976 if ${ac_cv_build+:} false
; then :
2977 $as_echo_n "(cached) " >&6
2979 ac_build_alias
=$build_alias
2980 test "x$ac_build_alias" = x
&&
2981 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2982 test "x$ac_build_alias" = x
&&
2983 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2984 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2985 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2989 $as_echo "$ac_cv_build" >&6; }
2990 case $ac_cv_build in
2992 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2995 ac_save_IFS
=$IFS; IFS
='-'
3001 # Remember, the first character of IFS is used to create $*,
3002 # except with old shells:
3005 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3009 $as_echo_n "checking host system type... " >&6; }
3010 if ${ac_cv_host+:} false
; then :
3011 $as_echo_n "(cached) " >&6
3013 if test "x$host_alias" = x
; then
3014 ac_cv_host
=$ac_cv_build
3016 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3017 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3022 $as_echo "$ac_cv_host" >&6; }
3025 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3028 ac_save_IFS
=$IFS; IFS
='-'
3034 # Remember, the first character of IFS is used to create $*,
3035 # except with old shells:
3038 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3041 # Backslashify metacharacters that are still active within
3042 # double-quoted strings.
3043 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
3045 # Same as above, but do not quote variable references.
3046 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
3048 # Sed substitution to delay expansion of an escaped shell variable in a
3049 # double_quote_subst'ed string.
3050 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
3052 # Sed substitution to delay expansion of an escaped single quote.
3053 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
3055 # Sed substitution to avoid accidental globbing in evaled expressions
3056 no_glob_subst
='s/\*/\\\*/g'
3058 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3059 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3060 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3063 $as_echo_n "checking how to print strings... " >&6; }
3064 # Test print first, because it will be a builtin if present.
3065 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3066 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3068 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3071 # Use this function as a fallback that always works.
3072 func_fallback_echo ()
3074 eval 'cat <<_LTECHO_EOF
3078 ECHO='func_fallback_echo
'
3081 # func_echo_all arg...
3082 # Invoke $ECHO with all args, space-separated.
3089 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3090 $as_echo "printf" >&6; } ;;
3091 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3092 $as_echo "print -r" >&6; } ;;
3093 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3094 $as_echo "cat" >&6; } ;;
3110 DEPDIR="${am__leading_dot}deps"
3112 ac_config_commands="$ac_config_commands depfiles"
3115 am_make=${MAKE-make}
3116 cat > confinc << 'END
'
3118 @echo this is the am__doit target
3121 # If we don't
find an include directive
, just comment out the code.
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3123 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3127 # First try GNU make style include.
3128 echo "include confinc" > confmf
3129 # Ignore all kinds of additional output from 'make'.
3130 case `$am_make -s -f confmf 2> /dev/null` in #(
3131 *the\ am__doit\ target
*)
3137 # Now try BSD make style include.
3138 if test "$am__include" = "#"; then
3139 echo '.include "confinc"' > confmf
3140 case `$am_make -s -f confmf 2> /dev/null` in #(
3141 *the\ am__doit\ target
*)
3142 am__include
=.include
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3151 $as_echo "$_am_result" >&6; }
3152 rm -f confinc confmf
3154 # Check whether --enable-dependency-tracking was given.
3155 if test "${enable_dependency_tracking+set}" = set; then :
3156 enableval
=$enable_dependency_tracking;
3159 if test "x$enable_dependency_tracking" != xno
; then
3160 am_depcomp
="$ac_aux_dir/depcomp"
3164 if test "x$enable_dependency_tracking" != xno; then
3174 ac_cpp
='$CPP $CPPFLAGS'
3175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3178 if test -n "$ac_tool_prefix"; then
3179 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3180 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3182 $as_echo_n "checking for $ac_word... " >&6; }
3183 if ${ac_cv_prog_CC+:} false
; then :
3184 $as_echo_n "(cached) " >&6
3186 if test -n "$CC"; then
3187 ac_cv_prog_CC
="$CC" # Let the user override the test.
3189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3193 test -z "$as_dir" && as_dir
=.
3194 for ac_exec_ext
in '' $ac_executable_extensions; do
3195 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3196 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 if test -n "$CC"; then
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3209 $as_echo "$CC" >&6; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3212 $as_echo "no" >&6; }
3217 if test -z "$ac_cv_prog_CC"; then
3219 # Extract the first word of "gcc", so it can be a program name with args.
3220 set dummy gcc
; ac_word
=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3224 $as_echo_n "(cached) " >&6
3226 if test -n "$ac_ct_CC"; then
3227 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir
=.
3234 for ac_exec_ext
in '' $ac_executable_extensions; do
3235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3236 ac_cv_prog_ac_ct_CC
="gcc"
3237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3246 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3247 if test -n "$ac_ct_CC"; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3249 $as_echo "$ac_ct_CC" >&6; }
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3255 if test "x$ac_ct_CC" = x
; then
3258 case $cross_compiling:$ac_tool_warned in
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3262 ac_tool_warned
=yes ;;
3270 if test -z "$CC"; then
3271 if test -n "$ac_tool_prefix"; then
3272 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3273 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3275 $as_echo_n "checking for $ac_word... " >&6; }
3276 if ${ac_cv_prog_CC+:} false
; then :
3277 $as_echo_n "(cached) " >&6
3279 if test -n "$CC"; then
3280 ac_cv_prog_CC
="$CC" # Let the user override the test.
3282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3286 test -z "$as_dir" && as_dir
=.
3287 for ac_exec_ext
in '' $ac_executable_extensions; do
3288 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3289 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3300 if test -n "$CC"; then
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3302 $as_echo "$CC" >&6; }
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3305 $as_echo "no" >&6; }
3311 if test -z "$CC"; then
3312 # Extract the first word of "cc", so it can be a program name with args.
3313 set dummy cc
; ac_word
=$2
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3315 $as_echo_n "checking for $ac_word... " >&6; }
3316 if ${ac_cv_prog_CC+:} false
; then :
3317 $as_echo_n "(cached) " >&6
3319 if test -n "$CC"; then
3320 ac_cv_prog_CC
="$CC" # Let the user override the test.
3323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3327 test -z "$as_dir" && as_dir
=.
3328 for ac_exec_ext
in '' $ac_executable_extensions; do
3329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3330 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3331 ac_prog_rejected
=yes
3335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 if test $ac_prog_rejected = yes; then
3343 # We found a bogon in the path, so make sure we never use it.
3344 set dummy
$ac_cv_prog_CC
3346 if test $# != 0; then
3347 # We chose a different compiler from the bogus one.
3348 # However, it has the same basename, so the bogon will be chosen
3349 # first if we set CC to just the basename; use the full file name.
3351 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3357 if test -n "$CC"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3359 $as_echo "$CC" >&6; }
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3367 if test -z "$CC"; then
3368 if test -n "$ac_tool_prefix"; then
3369 for ac_prog
in cl.exe
3371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3372 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3374 $as_echo_n "checking for $ac_word... " >&6; }
3375 if ${ac_cv_prog_CC+:} false
; then :
3376 $as_echo_n "(cached) " >&6
3378 if test -n "$CC"; then
3379 ac_cv_prog_CC
="$CC" # Let the user override the test.
3381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3385 test -z "$as_dir" && as_dir
=.
3386 for ac_exec_ext
in '' $ac_executable_extensions; do
3387 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3388 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3399 if test -n "$CC"; then
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3401 $as_echo "$CC" >&6; }
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3404 $as_echo "no" >&6; }
3408 test -n "$CC" && break
3411 if test -z "$CC"; then
3413 for ac_prog
in cl.exe
3415 # Extract the first word of "$ac_prog", so it can be a program name with args.
3416 set dummy
$ac_prog; ac_word
=$2
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3418 $as_echo_n "checking for $ac_word... " >&6; }
3419 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3420 $as_echo_n "(cached) " >&6
3422 if test -n "$ac_ct_CC"; then
3423 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3429 test -z "$as_dir" && as_dir
=.
3430 for ac_exec_ext
in '' $ac_executable_extensions; do
3431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3432 ac_cv_prog_ac_ct_CC
="$ac_prog"
3433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3443 if test -n "$ac_ct_CC"; then
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3445 $as_echo "$ac_ct_CC" >&6; }
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448 $as_echo "no" >&6; }
3452 test -n "$ac_ct_CC" && break
3455 if test "x$ac_ct_CC" = x
; then
3458 case $cross_compiling:$ac_tool_warned in
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3462 ac_tool_warned
=yes ;;
3471 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473 as_fn_error $?
"no acceptable C compiler found in \$PATH
3474 See \`config.log' for more details" "$LINENO" 5; }
3476 # Provide some information about the compiler.
3477 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3480 for ac_option
in --version -v -V -qversion; do
3481 { { ac_try
="$ac_compiler $ac_option >&5"
3483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3484 *) ac_try_echo=$ac_try;;
3486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3487 $as_echo "$ac_try_echo"; } >&5
3488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3490 if test -s conftest.err; then
3492 ... rest of stderr output deleted ...
3493 10q' conftest.err >conftest.er1
3494 cat conftest.er1 >&5
3496 rm -f conftest.er1 conftest.err
3497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498 test $ac_status = 0; }
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3512 ac_clean_files_save=$ac_clean_files
3513 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3514 # Try to create an executable without -o first, disregard a.out.
3515 # It will help us diagnose broken compilers, and finding out an intuition
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3518 $as_echo_n "checking whether the C compiler works... " >&6; }
3519 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3521 # The possible output files:
3522 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3525 for ac_file in $ac_files
3528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3529 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3534 if { { ac_try="$ac_link_default"
3536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3537 *) ac_try_echo
=$ac_try;;
3539 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3540 $as_echo "$ac_try_echo"; } >&5
3541 (eval "$ac_link_default") 2>&5
3543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3544 test $ac_status = 0; }; then :
3545 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3546 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3547 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3548 # so that the user can short-circuit this test for compilers unknown to
3550 for ac_file
in $ac_files ''
3552 test -f "$ac_file" ||
continue
3554 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3557 # We found the default executable, but exeext='' is most
3561 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3563 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3565 # We set ac_cv_exeext here because the later test for it is not
3566 # safe: cross compilers may not add the suffix if given an `-o'
3567 # argument, so we may need to know it at that point already.
3568 # Even if this section looks crufty: it has the advantage of
3575 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3580 if test -z "$ac_file"; then :
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3582 $as_echo "no" >&6; }
3583 $as_echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.
$ac_ext >&5
3586 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3588 as_fn_error
77 "C compiler cannot create executables
3589 See \`config.log' for more details" "$LINENO" 5; }
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3592 $as_echo "yes" >&6; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3595 $as_echo_n "checking for C compiler default output file name... " >&6; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3597 $as_echo "$ac_file" >&6; }
3598 ac_exeext
=$ac_cv_exeext
3600 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3601 ac_clean_files
=$ac_clean_files_save
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3603 $as_echo_n "checking for suffix of executables... " >&6; }
3604 if { { ac_try
="$ac_link"
3606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3607 *) ac_try_echo=$ac_try;;
3609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3610 $as_echo "$ac_try_echo"; } >&5
3611 (eval "$ac_link") 2>&5
3613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614 test $ac_status = 0; }; then :
3615 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3616 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3617 # work properly (i.e., refer to `conftest.exe'), while it won't with
3619 for ac_file
in conftest.exe conftest conftest.
*; do
3620 test -f "$ac_file" ||
continue
3622 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3623 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3632 See \`config.log' for more details" "$LINENO" 5; }
3634 rm -f conftest conftest
$ac_cv_exeext
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3636 $as_echo "$ac_cv_exeext" >&6; }
3638 rm -f conftest.
$ac_ext
3639 EXEEXT
=$ac_cv_exeext
3641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3647 FILE *f = fopen ("conftest.out", "w");
3648 return ferror (f) || fclose (f) != 0;
3654 ac_clean_files
="$ac_clean_files conftest.out"
3655 # Check that the compiler produces executables we can run. If not, either
3656 # the compiler is broken, or we cross compile.
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3658 $as_echo_n "checking whether we are cross compiling... " >&6; }
3659 if test "$cross_compiling" != yes; then
3660 { { ac_try
="$ac_link"
3662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3663 *) ac_try_echo=$ac_try;;
3665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3666 $as_echo "$ac_try_echo"; } >&5
3667 (eval "$ac_link") 2>&5
3669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3670 test $ac_status = 0; }
3671 if { ac_try='./conftest$ac_cv_exeext'
3672 { { case "(($ac_try" in
3673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3674 *) ac_try_echo
=$ac_try;;
3676 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3677 $as_echo "$ac_try_echo"; } >&5
3678 (eval "$ac_try") 2>&5
3680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3681 test $ac_status = 0; }; }; then
3684 if test "$cross_compiling" = maybe
; then
3687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3689 as_fn_error $?
"cannot run C compiled programs.
3690 If you meant to cross compile, use \`--host'.
3691 See \`config.log' for more details" "$LINENO" 5; }
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3696 $as_echo "$cross_compiling" >&6; }
3698 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3699 ac_clean_files
=$ac_clean_files_save
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3701 $as_echo_n "checking for suffix of object files... " >&6; }
3702 if ${ac_cv_objext+:} false
; then :
3703 $as_echo_n "(cached) " >&6
3705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3716 rm -f conftest.o conftest.obj
3717 if { { ac_try
="$ac_compile"
3719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3720 *) ac_try_echo=$ac_try;;
3722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3723 $as_echo "$ac_try_echo"; } >&5
3724 (eval "$ac_compile") 2>&5
3726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3727 test $ac_status = 0; }; then :
3728 for ac_file in conftest.o conftest.obj conftest.*; do
3729 test -f "$ac_file" || continue;
3731 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3732 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3737 $as_echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3742 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3743 See \
`config.log' for more details" "$LINENO" 5; }
3745 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3748 $as_echo "$ac_cv_objext" >&6; }
3749 OBJEXT=$ac_cv_objext
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3752 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3753 if ${ac_cv_c_compiler_gnu+:} false; then :
3754 $as_echo_n "(cached) " >&6
3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3770 if ac_fn_c_try_compile "$LINENO"; then :
3775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3776 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3780 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3781 if test $ac_compiler_gnu = yes; then
3786 ac_test_CFLAGS=${CFLAGS+set}
3787 ac_save_CFLAGS=$CFLAGS
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3789 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3790 if ${ac_cv_prog_cc_g+:} false; then :
3791 $as_echo_n "(cached) " >&6
3793 ac_save_c_werror_flag=$ac_c_werror_flag
3794 ac_c_werror_flag=yes
3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3798 /* end confdefs.h. */
3808 if ac_fn_c_try_compile "$LINENO"; then :
3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3823 if ac_fn_c_try_compile "$LINENO"; then :
3826 ac_c_werror_flag=$ac_save_c_werror_flag
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3839 if ac_fn_c_try_compile "$LINENO"; then :
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 ac_c_werror_flag=$ac_save_c_werror_flag
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3850 $as_echo "$ac_cv_prog_cc_g" >&6; }
3851 if test "$ac_test_CFLAGS" = set; then
3852 CFLAGS=$ac_save_CFLAGS
3853 elif test $ac_cv_prog_cc_g = yes; then
3854 if test "$GCC" = yes; then
3860 if test "$GCC" = yes; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3867 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3868 if ${ac_cv_prog_cc_c89+:} false; then :
3869 $as_echo_n "(cached) " >&6
3871 ac_cv_prog_cc_c89=no
3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3878 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3879 struct buf { int x; };
3880 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3881 static char *e (p, i)
3887 static char *f (char * (*g) (char **, int), char **p, ...)
3892 s = g (p, va_arg (v,int));
3897 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3898 function prototypes and stuff, but not '\xHH' hex character constants.
3899 These don't provoke an error unfortunately, instead are silently treated
3900 as 'x'. The following induces an error, until -std is added to get
3901 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3902 array size at least. It's necessary to write '\x00'==0 to get something
3903 that's true only with -std. */
3904 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3906 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3907 inside strings and character constants. */
3909 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3911 int test (int i, double x);
3912 struct s1 {int (*f) (int a);};
3913 struct s2 {int (*f) (double a);};
3914 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3920 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3925 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3926 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3928 CC="$ac_save_CC $ac_arg"
3929 if ac_fn_c_try_compile "$LINENO"; then :
3930 ac_cv_prog_cc_c89=$ac_arg
3932 rm -f core conftest.err conftest.$ac_objext
3933 test "x$ac_cv_prog_cc_c89" != "xno" && break
3935 rm -f conftest.$ac_ext
3940 case "x$ac_cv_prog_cc_c89" in
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3943 $as_echo "none needed" >&6; } ;;
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3946 $as_echo "unsupported" >&6; } ;;
3948 CC="$CC $ac_cv_prog_cc_c89"
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3950 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3952 if test "x$ac_cv_prog_cc_c89" != xno; then :
3957 ac_cpp='$CPP $CPPFLAGS'
3958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3962 depcc="$CC" am_compiler_list=
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3965 $as_echo_n "checking dependency style of $depcc... " >&6; }
3966 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3967 $as_echo_n "(cached) " >&6
3969 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3970 # We make a subdir and do the tests there. Otherwise we can end up
3971 # making bogus files that we don't know about and never remove. For
3972 # instance it was reported that on HP-UX the gcc test will end up
3973 # making a dummy file named 'D' -- because '-MD' means "put the output
3977 # Copy depcomp to subdir because otherwise we won't find it if we're
3978 # using a relative directory.
3979 cp "$am_depcomp" conftest.dir
3981 # We will build objects and dependencies in a subdirectory because
3982 # it helps to detect inapplicable dependency modes. For instance
3983 # both Tru64's cc and ICC support -MD to output dependencies as a
3984 # side effect of compilation, but ICC will put the dependencies in
3985 # the current directory while Tru64 will put them in the object
3989 am_cv_CC_dependencies_compiler_type=none
3990 if test "$am_compiler_list" = ""; then
3991 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3994 case " $depcc " in #(
3995 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3998 for depmode in $am_compiler_list; do
3999 # Setup a source with many dependencies, because some compilers
4000 # like to wrap large dependency lists on column 80 (with \), and
4001 # we should not choose a depcomp mode which is confused by this.
4003 # We need to recreate these files for each test, as the compiler may
4004 # overwrite some of them when testing with obscure command lines.
4005 # This happens at least with the AIX C compiler.
4007 for i in 1 2 3 4 5 6; do
4008 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4009 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4010 # Solaris 10 /bin/sh.
4011 echo '/* dummy */' > sub/conftst$i.h
4013 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4015 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4016 # mode. It turns out that the SunPro C++ compiler does not properly
4017 # handle '-M -o', and we need to detect this. Also, some Intel
4018 # versions had trouble with output in subdirs.
4019 am__obj=sub/conftest.${OBJEXT-o}
4020 am__minus_obj="-o $am__obj"
4023 # This depmode causes a compiler race in universal mode.
4024 test "$am__universal" = false || continue
4027 # After this tag, mechanisms are not by side-effect, so they'll
4028 # only be used when explicitly requested.
4029 if test "x$enable_dependency_tracking" = xyes; then
4035 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4036 # This compiler won't grok '-c -o', but also, the minuso test has
4037 # not run yet. These depmodes are late enough in the game, and
4038 # so weak that their functioning should not be impacted.
4039 am__obj=conftest.${OBJEXT-o}
4044 if depmode=$depmode \
4045 source=sub/conftest.c object=$am__obj \
4046 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4047 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4048 >/dev/null 2>conftest.err &&
4049 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4050 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4051 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4052 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4053 # icc doesn't choke on unknown options, it will just issue warnings
4054 # or remarks (even with -Werror). So we grep stderr for any message
4055 # that says an option was ignored or not supported.
4056 # When given -MP, icc 7.0 and 7.1 complain thusly:
4057 # icc: Command line warning: ignoring option '-M'; no argument required
4058 # The diagnosis changed in icc 8.0:
4059 # icc: Command line remark: option '-MP' not supported
4060 if (grep 'ignoring option' conftest.err ||
4061 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4062 am_cv_CC_dependencies_compiler_type=$depmode
4071 am_cv_CC_dependencies_compiler_type=none
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4076 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4077 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4080 test "x$enable_dependency_tracking" != xno \
4081 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4083 am__fastdepCC_FALSE='#'
4085 am__fastdepCC_TRUE='#'
4086 am__fastdepCC_FALSE=
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4091 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4092 if ${ac_cv_path_SED+:} false; then :
4093 $as_echo_n "(cached) " >&6
4095 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4096 for ac_i in 1 2 3 4 5 6 7; do
4097 ac_script="$ac_script$as_nl$ac_script"
4099 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4100 { ac_script=; unset ac_script;}
4101 if test -z "$SED"; then
4102 ac_path_SED_found=false
4103 # Loop through the user's path and test for each of PROGNAME-LIST
4104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4108 test -z "$as_dir" && as_dir=.
4109 for ac_prog in sed gsed; do
4110 for ac_exec_ext in '' $ac_executable_extensions; do
4111 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4112 as_fn_executable_p "$ac_path_SED" || continue
4113 # Check for GNU ac_path_SED and select it if it is found.
4114 # Check for GNU $ac_path_SED
4115 case `"$ac_path_SED" --version 2>&1` in
4117 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4120 $as_echo_n 0123456789 >"conftest.in"
4123 cat "conftest.in" "conftest.in" >"conftest.tmp"
4124 mv "conftest.tmp" "conftest.in"
4125 cp "conftest.in" "conftest.nl"
4126 $as_echo '' >> "conftest.nl"
4127 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4128 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4129 as_fn_arith $ac_count + 1 && ac_count=$as_val
4130 if test $ac_count -gt ${ac_path_SED_max-0}; then
4131 # Best one so far, save it but keep looking for a better one
4132 ac_cv_path_SED="$ac_path_SED"
4133 ac_path_SED_max=$ac_count
4135 # 10*(2^10) chars as input seems more than enough
4136 test $ac_count -gt 10 && break
4138 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4141 $ac_path_SED_found && break 3
4146 if test -z "$ac_cv_path_SED"; then
4147 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4155 $as_echo "$ac_cv_path_SED" >&6; }
4156 SED="$ac_cv_path_SED"
4159 test -z "$SED" && SED=sed
4160 Xsed="$SED -e 1s/^X//"
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4173 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4174 if ${ac_cv_path_GREP+:} false; then :
4175 $as_echo_n "(cached) " >&6
4177 if test -z "$GREP"; then
4178 ac_path_GREP_found=false
4179 # Loop through the user's path and test for each of PROGNAME-LIST
4180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4181 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4184 test -z "$as_dir" && as_dir=.
4185 for ac_prog in grep ggrep; do
4186 for ac_exec_ext in '' $ac_executable_extensions; do
4187 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4188 as_fn_executable_p "$ac_path_GREP" || continue
4189 # Check for GNU ac_path_GREP and select it if it is found.
4190 # Check for GNU $ac_path_GREP
4191 case `"$ac_path_GREP" --version 2>&1` in
4193 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4196 $as_echo_n 0123456789 >"conftest.in"
4199 cat "conftest.in" "conftest.in" >"conftest.tmp"
4200 mv "conftest.tmp" "conftest.in"
4201 cp "conftest.in" "conftest.nl"
4202 $as_echo 'GREP' >> "conftest.nl"
4203 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4204 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4205 as_fn_arith $ac_count + 1 && ac_count=$as_val
4206 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4207 # Best one so far, save it but keep looking for a better one
4208 ac_cv_path_GREP="$ac_path_GREP"
4209 ac_path_GREP_max=$ac_count
4211 # 10*(2^10) chars as input seems more than enough
4212 test $ac_count -gt 10 && break
4214 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4217 $ac_path_GREP_found && break 3
4222 if test -z "$ac_cv_path_GREP"; then
4223 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4226 ac_cv_path_GREP=$GREP
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4231 $as_echo "$ac_cv_path_GREP" >&6; }
4232 GREP="$ac_cv_path_GREP"
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4236 $as_echo_n "checking for egrep... " >&6; }
4237 if ${ac_cv_path_EGREP+:} false; then :
4238 $as_echo_n "(cached) " >&6
4240 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4241 then ac_cv_path_EGREP="$GREP -E"
4243 if test -z "$EGREP"; then
4244 ac_path_EGREP_found=false
4245 # Loop through the user's path and test for each of PROGNAME-LIST
4246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4250 test -z "$as_dir" && as_dir=.
4251 for ac_prog in egrep; do
4252 for ac_exec_ext in '' $ac_executable_extensions; do
4253 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4254 as_fn_executable_p "$ac_path_EGREP" || continue
4255 # Check for GNU ac_path_EGREP and select it if it is found.
4256 # Check for GNU $ac_path_EGREP
4257 case `"$ac_path_EGREP" --version 2>&1` in
4259 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4262 $as_echo_n 0123456789 >"conftest.in"
4265 cat "conftest.in" "conftest.in" >"conftest.tmp"
4266 mv "conftest.tmp" "conftest.in"
4267 cp "conftest.in" "conftest.nl"
4268 $as_echo 'EGREP' >> "conftest.nl"
4269 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4270 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4271 as_fn_arith $ac_count + 1 && ac_count=$as_val
4272 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4273 # Best one so far, save it but keep looking for a better one
4274 ac_cv_path_EGREP="$ac_path_EGREP"
4275 ac_path_EGREP_max=$ac_count
4277 # 10*(2^10) chars as input seems more than enough
4278 test $ac_count -gt 10 && break
4280 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4283 $ac_path_EGREP_found && break 3
4288 if test -z "$ac_cv_path_EGREP"; then
4289 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4292 ac_cv_path_EGREP=$EGREP
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4298 $as_echo "$ac_cv_path_EGREP" >&6; }
4299 EGREP="$ac_cv_path_EGREP"
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4303 $as_echo_n "checking for fgrep... " >&6; }
4304 if ${ac_cv_path_FGREP+:} false; then :
4305 $as_echo_n "(cached) " >&6
4307 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4308 then ac_cv_path_FGREP="$GREP -F"
4310 if test -z "$FGREP"; then
4311 ac_path_FGREP_found=false
4312 # Loop through the user's path and test for each of PROGNAME-LIST
4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4317 test -z "$as_dir" && as_dir=.
4318 for ac_prog in fgrep; do
4319 for ac_exec_ext in '' $ac_executable_extensions; do
4320 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4321 as_fn_executable_p "$ac_path_FGREP" || continue
4322 # Check for GNU ac_path_FGREP and select it if it is found.
4323 # Check for GNU $ac_path_FGREP
4324 case `"$ac_path_FGREP" --version 2>&1` in
4326 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4329 $as_echo_n 0123456789 >"conftest.in"
4332 cat "conftest.in" "conftest.in" >"conftest.tmp"
4333 mv "conftest.tmp" "conftest.in"
4334 cp "conftest.in" "conftest.nl"
4335 $as_echo 'FGREP' >> "conftest.nl"
4336 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4337 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4338 as_fn_arith $ac_count + 1 && ac_count=$as_val
4339 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4340 # Best one so far, save it but keep looking for a better one
4341 ac_cv_path_FGREP="$ac_path_FGREP"
4342 ac_path_FGREP_max=$ac_count
4344 # 10*(2^10) chars as input seems more than enough
4345 test $ac_count -gt 10 && break
4347 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4350 $ac_path_FGREP_found && break 3
4355 if test -z "$ac_cv_path_FGREP"; then
4356 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4359 ac_cv_path_FGREP=$FGREP
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4365 $as_echo "$ac_cv_path_FGREP" >&6; }
4366 FGREP="$ac_cv_path_FGREP"
4369 test -z "$GREP" && GREP=grep
4389 # Check whether --with-gnu-ld was given.
4390 if test "${with_gnu_ld+set}" = set; then :
4391 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4397 if test "$GCC" = yes; then
4398 # Check if gcc -print-prog-name=ld gives a path.
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4400 $as_echo_n "checking for ld used by $CC... " >&6; }
4403 # gcc leaves a trailing carriage return which upsets mingw
4404 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4406 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4409 # Accept absolute paths.
4411 re_direlt='/[^/][^/]*/\.\./'
4412 # Canonicalize the pathname of ld
4413 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4414 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4415 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4417 test -z "$LD" && LD="$ac_prog"
4420 # If it fails, then pretend we aren't using GCC.
4424 # If it is relative, then search for the first ld in PATH.
4428 elif test "$with_gnu_ld" = yes; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4430 $as_echo_n "checking for GNU ld... " >&6; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4433 $as_echo_n "checking for non-GNU ld... " >&6; }
4435 if ${lt_cv_path_LD+:} false; then :
4436 $as_echo_n "(cached) " >&6
4438 if test -z "$LD"; then
4439 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4440 for ac_dir in $PATH; do
4442 test -z "$ac_dir" && ac_dir=.
4443 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4444 lt_cv_path_LD="$ac_dir/$ac_prog"
4445 # Check to see if the program is GNU ld. I'd rather use --version,
4446 # but apparently some variants of GNU ld only accept -v.
4447 # Break only if it was the GNU/non-GNU ld that we prefer.
4448 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4449 *GNU* | *'with BFD'*)
4450 test "$with_gnu_ld" != no && break
4453 test "$with_gnu_ld" != yes && break
4460 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4465 if test -n "$LD"; then
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4467 $as_echo "$LD" >&6; }
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4470 $as_echo "no" >&6; }
4472 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4474 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4475 if ${lt_cv_prog_gnu_ld+:} false; then :
4476 $as_echo_n "(cached) " >&6
4478 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4479 case `$LD -v 2>&1 </dev
/null
` in
4480 *GNU* | *'with BFD'*)
4481 lt_cv_prog_gnu_ld=yes
4484 lt_cv_prog_gnu_ld=no
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4489 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4490 with_gnu_ld=$lt_cv_prog_gnu_ld
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4501 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4502 if ${lt_cv_path_NM+:} false; then :
4503 $as_echo_n "(cached) " >&6
4505 if test -n "$NM"; then
4506 # Let the user override the test.
4509 lt_nm_to_check="${ac_tool_prefix}nm"
4510 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4511 lt_nm_to_check="$lt_nm_to_check nm"
4513 for lt_tmp_nm in $lt_nm_to_check; do
4514 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4515 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4517 test -z "$ac_dir" && ac_dir=.
4518 tmp_nm="$ac_dir/$lt_tmp_nm"
4519 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4520 # Check to see if the nm accepts a BSD-compat flag.
4521 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
4522 # nm: unknown option "B" ignored
4523 # Tru64's nm complains that
/dev
/null is an invalid object
file
4524 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4525 */dev
/null
* |
*'Invalid file or object type'*)
4526 lt_cv_path_NM
="$tmp_nm -B"
4530 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4532 lt_cv_path_NM
="$tmp_nm -p"
4536 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4537 continue # so that we can try to find one that supports BSD flags
4546 : ${lt_cv_path_NM=no}
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4550 $as_echo "$lt_cv_path_NM" >&6; }
4551 if test "$lt_cv_path_NM" != "no"; then
4554 # Didn't find any BSD compatible name lister, look for dumpbin.
4555 if test -n "$DUMPBIN"; then :
4556 # Let the user override the test.
4558 if test -n "$ac_tool_prefix"; then
4559 for ac_prog
in dumpbin
"link -dump"
4561 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4562 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4564 $as_echo_n "checking for $ac_word... " >&6; }
4565 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4566 $as_echo_n "(cached) " >&6
4568 if test -n "$DUMPBIN"; then
4569 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir
=.
4576 for ac_exec_ext
in '' $ac_executable_extensions; do
4577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4578 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 DUMPBIN
=$ac_cv_prog_DUMPBIN
4589 if test -n "$DUMPBIN"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4591 $as_echo "$DUMPBIN" >&6; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4598 test -n "$DUMPBIN" && break
4601 if test -z "$DUMPBIN"; then
4602 ac_ct_DUMPBIN
=$DUMPBIN
4603 for ac_prog
in dumpbin
"link -dump"
4605 # Extract the first word of "$ac_prog", so it can be a program name with args.
4606 set dummy
$ac_prog; ac_word
=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4610 $as_echo_n "(cached) " >&6
4612 if test -n "$ac_ct_DUMPBIN"; then
4613 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir
=.
4620 for ac_exec_ext
in '' $ac_executable_extensions; do
4621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4622 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4633 if test -n "$ac_ct_DUMPBIN"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4635 $as_echo "$ac_ct_DUMPBIN" >&6; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4642 test -n "$ac_ct_DUMPBIN" && break
4645 if test "x$ac_ct_DUMPBIN" = x
; then
4648 case $cross_compiling:$ac_tool_warned in
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4652 ac_tool_warned
=yes ;;
4654 DUMPBIN
=$ac_ct_DUMPBIN
4658 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4660 DUMPBIN
="$DUMPBIN -symbols"
4668 if test "$DUMPBIN" != ":"; then
4672 test -z "$NM" && NM
=nm
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4680 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4681 if ${lt_cv_nm_interface+:} false
; then :
4682 $as_echo_n "(cached) " >&6
4684 lt_cv_nm_interface
="BSD nm"
4685 echo "int some_variable = 0;" > conftest.
$ac_ext
4686 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4687 (eval "$ac_compile" 2>conftest.err
)
4688 cat conftest.err
>&5
4689 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4690 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4691 cat conftest.err
>&5
4692 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4693 cat conftest.out
>&5
4694 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4695 lt_cv_nm_interface
="MS dumpbin"
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4700 $as_echo "$lt_cv_nm_interface" >&6; }
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4703 $as_echo_n "checking whether ln -s works... " >&6; }
4705 if test "$LN_S" = "ln -s"; then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4707 $as_echo "yes" >&6; }
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4710 $as_echo "no, using $LN_S" >&6; }
4713 # find the maximum length of command line arguments
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4715 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4716 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4717 $as_echo_n "(cached) " >&6
4724 # On DJGPP, this test can blow up pretty badly due to problems in libc
4725 # (any single argument exceeding 2000 bytes causes a buffer overrun
4726 # during glob expansion). Even if it were fixed, the result of this
4727 # check would be larger than it should be.
4728 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4732 # Under GNU Hurd, this test is not required because there is
4733 # no limit to the length of command line arguments.
4734 # Libtool will interpret -1 as no limit whatsoever
4735 lt_cv_sys_max_cmd_len
=-1;
4738 cygwin
* | mingw
* | cegcc
*)
4739 # On Win9x/ME, this test blows up -- it succeeds, but takes
4740 # about 5 minutes as the teststring grows exponentially.
4741 # Worse, since 9x/ME are not pre-emptively multitasking,
4742 # you end up with a "frozen" computer, even though with patience
4743 # the test eventually succeeds (with a max line length of 256k).
4744 # Instead, let's just punt: use the minimum linelength reported by
4745 # all of the supported platforms: 8192 (on NT/2K/XP).
4746 lt_cv_sys_max_cmd_len
=8192;
4750 # On MiNT this can take a long time and run out of memory.
4751 lt_cv_sys_max_cmd_len
=8192;
4755 # On AmigaOS with pdksh, this test takes hours, literally.
4756 # So we just punt and use a minimum line length of 8192.
4757 lt_cv_sys_max_cmd_len
=8192;
4760 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4761 # This has been around since 386BSD, at least. Likely further.
4762 if test -x /sbin
/sysctl
; then
4763 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4764 elif test -x /usr
/sbin
/sysctl
; then
4765 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4767 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4769 # And add a safety zone
4770 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4771 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4775 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4776 lt_cv_sys_max_cmd_len
=196608
4780 # The test takes a long time on OS/2.
4781 lt_cv_sys_max_cmd_len
=8192
4785 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4786 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4787 # nice to cause kernel panics so lets avoid the loop below.
4788 # First set a reasonable default.
4789 lt_cv_sys_max_cmd_len
=16384
4791 if test -x /sbin
/sysconfig
; then
4792 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4793 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4798 lt_cv_sys_max_cmd_len
=102400
4800 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4801 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4802 if test -n "$kargmax"; then
4803 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4805 lt_cv_sys_max_cmd_len
=32768
4809 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4810 if test -n "$lt_cv_sys_max_cmd_len"; then
4811 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4812 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4814 # Make teststring a little bigger before we do anything with it.
4815 # a 1K string should be a reasonable start.
4816 for i
in 1 2 3 4 5 6 7 8 ; do
4817 teststring
=$teststring$teststring
4819 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4820 # If test is not a shell built-in, we'll probably end up computing a
4821 # maximum length that is only half of the actual maximum length, but
4823 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4824 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4825 test $i != 17 # 1/2 MB should be enough
4828 teststring
=$teststring$teststring
4830 # Only check the string length outside the loop.
4831 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4833 # Add a significant safety factor because C++ compilers can tack on
4834 # massive amounts of additional arguments before passing them to the
4835 # linker. It appears as though 1/2 is a usable value.
4836 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4843 if test -n $lt_cv_sys_max_cmd_len ; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4845 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4848 $as_echo "none" >&6; }
4850 max_cmd_len
=$lt_cv_sys_max_cmd_len
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4862 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4863 # Try some XSI features
4866 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4868 && eval 'test $(( 1 + 1 )) -eq 2 \
4869 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4872 $as_echo "$xsi_shell" >&6; }
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4876 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4878 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4880 && lt_shell_append=yes
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4882 $as_echo "$lt_shell_append" >&6; }
4885 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4895 # test EBCDIC or ASCII
4896 case `echo X|tr X '\101'` in
4897 A) # ASCII based system
4898 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4899 lt_SP2NL='tr \040 \012'
4900 lt_NL2SP='tr \015\012 \040\040'
4902 *) # EBCDIC based system
4903 lt_SP2NL='tr \100 \n'
4904 lt_NL2SP='tr \r\n \100\100'
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4917 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4918 if ${lt_cv_to_host_file_cmd+:} false; then :
4919 $as_echo_n "(cached
) " >&6
4924 *-*-mingw* ) # actually msys
4925 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4928 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4930 * ) # otherwise, assume *nix
4931 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4937 *-*-mingw* ) # actually msys
4938 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4941 lt_cv_to_host_file_cmd=func_convert_file_noop
4943 * ) # otherwise, assume *nix
4944 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4948 * ) # unhandled hosts (and "normal
" native builds)
4949 lt_cv_to_host_file_cmd=func_convert_file_noop
4955 to_host_file_cmd=$lt_cv_to_host_file_cmd
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4957 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4964 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4965 if ${lt_cv_to_tool_file_cmd+:} false; then :
4966 $as_echo_n "(cached
) " >&6
4968 #assume ordinary cross tools, or native build.
4969 lt_cv_to_tool_file_cmd=func_convert_file_noop
4973 *-*-mingw* ) # actually msys
4974 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4982 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
4984 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4991 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4992 if ${lt_cv_ld_reload_flag+:} false; then :
4993 $as_echo_n "(cached
) " >&6
4995 lt_cv_ld_reload_flag='-r'
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4998 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4999 reload_flag=$lt_cv_ld_reload_flag
5000 case $reload_flag in
5002 *) reload_flag=" $reload_flag" ;;
5004 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5006 cygwin* | mingw* | pw32* | cegcc*)
5007 if test "$GCC" != yes; then
5012 if test "$GCC" = yes; then
5013 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5015 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5028 if test -n "$ac_tool_prefix"; then
5029 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5030 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5032 $as_echo_n "checking
for $ac_word...
" >&6; }
5033 if ${ac_cv_prog_OBJDUMP+:} false; then :
5034 $as_echo_n "(cached
) " >&6
5036 if test -n "$OBJDUMP"; then
5037 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5056 OBJDUMP=$ac_cv_prog_OBJDUMP
5057 if test -n "$OBJDUMP"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5059 $as_echo "$OBJDUMP" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5062 $as_echo "no
" >&6; }
5067 if test -z "$ac_cv_prog_OBJDUMP"; then
5068 ac_ct_OBJDUMP=$OBJDUMP
5069 # Extract the first word of "objdump
", so it can be a program name with args.
5070 set dummy objdump; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5072 $as_echo_n "checking
for $ac_word...
" >&6; }
5073 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5074 $as_echo_n "(cached
) " >&6
5076 if test -n "$ac_ct_OBJDUMP"; then
5077 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5086 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5096 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5097 if test -n "$ac_ct_OBJDUMP"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5099 $as_echo "$ac_ct_OBJDUMP" >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5102 $as_echo "no
" >&6; }
5105 if test "x
$ac_ct_OBJDUMP" = x; then
5108 case $cross_compiling:$ac_tool_warned in
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5111 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5112 ac_tool_warned=yes ;;
5114 OBJDUMP=$ac_ct_OBJDUMP
5117 OBJDUMP="$ac_cv_prog_OBJDUMP"
5120 test -z "$OBJDUMP" && OBJDUMP=objdump
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5131 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5132 if ${lt_cv_deplibs_check_method+:} false; then :
5133 $as_echo_n "(cached
) " >&6
5135 lt_cv_file_magic_cmd='$MAGIC_CMD'
5136 lt_cv_file_magic_test_file=
5137 lt_cv_deplibs_check_method='unknown'
5138 # Need to set the preceding variable on all platforms that support
5139 # interlibrary dependencies.
5140 # 'none' -- dependencies not supported.
5141 # `unknown' -- same as none, but documents that we really don't know.
5142 # 'pass_all' -- all dependencies passed with no checks.
5143 # 'test_compile' -- check by making test program.
5144 # 'file_magic [[regex]]' -- check by looking for files in library path
5145 # which responds to the $file_magic_cmd with a given extended regex.
5146 # If you have `file' or equivalent on your system and you're not sure
5147 # whether `pass_all' will *always* work, you probably want this one.
5151 lt_cv_deplibs_check_method=pass_all
5155 lt_cv_deplibs_check_method=pass_all
5159 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5160 lt_cv_file_magic_cmd='/usr/bin/file -L'
5161 lt_cv_file_magic_test_file=/shlib/libc.so
5165 # func_win32_libid is a shell function defined in ltmain.sh
5166 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5167 lt_cv_file_magic_cmd='func_win32_libid'
5171 # Base MSYS/MinGW do not provide the 'file' command needed by
5172 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5173 # unless we find 'file', for example because we are cross-compiling.
5174 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5175 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5176 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5177 lt_cv_file_magic_cmd='func_win32_libid'
5179 # Keep this pattern in sync with the one in func_win32_libid.
5180 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5181 lt_cv_file_magic_cmd='$OBJDUMP -f'
5186 # use the weaker test based on 'objdump'. See mingw*.
5187 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5188 lt_cv_file_magic_cmd='$OBJDUMP -f'
5191 darwin* | rhapsody*)
5192 lt_cv_deplibs_check_method=pass_all
5195 freebsd* | dragonfly*)
5196 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5199 # Not sure whether the presence of OpenBSD here was a mistake.
5200 # Let's accept both of them until this is cleared up.
5201 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5202 lt_cv_file_magic_cmd=/usr/bin/file
5203 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5207 lt_cv_deplibs_check_method=pass_all
5212 lt_cv_deplibs_check_method=pass_all
5216 lt_cv_deplibs_check_method=pass_all
5219 hpux10.20* | hpux11*)
5220 lt_cv_file_magic_cmd=/usr/bin/file
5223 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5224 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5227 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]'
5228 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5231 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5232 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5238 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5239 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5242 irix5* | irix6* | nonstopux*)
5244 *-32|*"-32 ") libmagic=32-bit;;
5245 *-n32|*"-n32 ") libmagic=N32;;
5246 *-64|*"-64 ") libmagic=64-bit;;
5247 *) libmagic=never-match;;
5249 lt_cv_deplibs_check_method=pass_all
5252 # This must be glibc/ELF.
5253 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5254 lt_cv_deplibs_check_method=pass_all
5258 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5259 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5261 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5266 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5267 lt_cv_file_magic_cmd=/usr/bin/file
5268 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5272 lt_cv_deplibs_check_method=pass_all
5276 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5279 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5283 osf3* | osf4* | osf5*)
5284 lt_cv_deplibs_check_method=pass_all
5288 lt_cv_deplibs_check_method=pass_all
5292 lt_cv_deplibs_check_method=pass_all
5295 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5296 lt_cv_deplibs_check_method=pass_all
5300 case $host_vendor in
5302 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]'
5303 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5306 lt_cv_deplibs_check_method=pass_all
5309 lt_cv_file_magic_cmd='/bin/file'
5310 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5313 lt_cv_file_magic_cmd='/bin/file'
5314 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5315 lt_cv_file_magic_test_file=/lib/libc.so
5318 lt_cv_deplibs_check_method=pass_all
5321 lt_cv_deplibs_check_method=pass_all
5327 lt_cv_deplibs_check_method=pass_all
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5333 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5337 if test "$build" = "$host"; then
5340 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5343 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5349 file_magic_cmd=$lt_cv_file_magic_cmd
5350 deplibs_check_method=$lt_cv_deplibs_check_method
5351 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5374 if test -n "$ac_tool_prefix"; then
5375 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5376 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5378 $as_echo_n "checking
for $ac_word...
" >&6; }
5379 if ${ac_cv_prog_DLLTOOL+:} false; then :
5380 $as_echo_n "(cached
) " >&6
5382 if test -n "$DLLTOOL"; then
5383 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5402 DLLTOOL=$ac_cv_prog_DLLTOOL
5403 if test -n "$DLLTOOL"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5405 $as_echo "$DLLTOOL" >&6; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5408 $as_echo "no
" >&6; }
5413 if test -z "$ac_cv_prog_DLLTOOL"; then
5414 ac_ct_DLLTOOL=$DLLTOOL
5415 # Extract the first word of "dlltool
", so it can be a program name with args.
5416 set dummy dlltool; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5418 $as_echo_n "checking
for $ac_word...
" >&6; }
5419 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5420 $as_echo_n "(cached
) " >&6
5422 if test -n "$ac_ct_DLLTOOL"; then
5423 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5442 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5443 if test -n "$ac_ct_DLLTOOL"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5445 $as_echo "$ac_ct_DLLTOOL" >&6; }
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5448 $as_echo "no
" >&6; }
5451 if test "x
$ac_ct_DLLTOOL" = x; then
5454 case $cross_compiling:$ac_tool_warned in
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5457 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5458 ac_tool_warned=yes ;;
5460 DLLTOOL=$ac_ct_DLLTOOL
5463 DLLTOOL="$ac_cv_prog_DLLTOOL"
5466 test -z "$DLLTOOL" && DLLTOOL=dlltool
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5478 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5479 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5480 $as_echo_n "(cached
) " >&6
5482 lt_cv_sharedlib_from_linklib_cmd='unknown'
5485 cygwin* | mingw* | pw32* | cegcc*)
5486 # two different shell functions defined in ltmain.sh
5487 # decide which to use based on capabilities of $DLLTOOL
5488 case `$DLLTOOL --help 2>&1` in
5489 *--identify-strict*)
5490 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5493 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5498 # fallback: assume linklib IS sharedlib
5499 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5505 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5506 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5507 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5516 if test -n "$ac_tool_prefix"; then
5519 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5520 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5522 $as_echo_n "checking
for $ac_word...
" >&6; }
5523 if ${ac_cv_prog_AR+:} false; then :
5524 $as_echo_n "(cached
) " >&6
5526 if test -n "$AR"; then
5527 ac_cv_prog_AR="$AR" # Let the user override the test.
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5547 if test -n "$AR"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5549 $as_echo "$AR" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5552 $as_echo "no
" >&6; }
5556 test -n "$AR" && break
5559 if test -z "$AR"; then
5563 # Extract the first word of "$ac_prog", so it can be a program name with args.
5564 set dummy $ac_prog; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5566 $as_echo_n "checking
for $ac_word...
" >&6; }
5567 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5568 $as_echo_n "(cached
) " >&6
5570 if test -n "$ac_ct_AR"; then
5571 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_ac_ct_AR="$ac_prog"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5590 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5591 if test -n "$ac_ct_AR"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5593 $as_echo "$ac_ct_AR" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5596 $as_echo "no
" >&6; }
5600 test -n "$ac_ct_AR" && break
5603 if test "x
$ac_ct_AR" = x; then
5606 case $cross_compiling:$ac_tool_warned in
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5609 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5610 ac_tool_warned=yes ;;
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5630 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5631 if ${lt_cv_ar_at_file+:} false; then :
5632 $as_echo_n "(cached
) " >&6
5635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h. */
5646 if ac_fn_c_try_compile "$LINENO"; then :
5647 echo conftest.$ac_objext > conftest.lst
5648 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5649 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5650 (eval $lt_ar_try) 2>&5
5652 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5653 test $ac_status = 0; }
5654 if test "$ac_status" -eq 0; then
5655 # Ensure the archiver fails upon bogus file names.
5656 rm -f conftest.$ac_objext libconftest.a
5657 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5658 (eval $lt_ar_try) 2>&5
5660 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5661 test $ac_status = 0; }
5662 if test "$ac_status" -ne 0; then
5666 rm -f conftest.* libconftest.a
5669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5673 $as_echo "$lt_cv_ar_at_file" >&6; }
5675 if test "x
$lt_cv_ar_at_file" = xno; then
5678 archiver_list_spec=$lt_cv_ar_at_file
5687 if test -n "$ac_tool_prefix"; then
5688 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5689 set dummy ${ac_tool_prefix}strip; ac_word=$2
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5691 $as_echo_n "checking
for $ac_word...
" >&6; }
5692 if ${ac_cv_prog_STRIP+:} false; then :
5693 $as_echo_n "(cached
) " >&6
5695 if test -n "$STRIP"; then
5696 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5705 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5715 STRIP=$ac_cv_prog_STRIP
5716 if test -n "$STRIP"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5718 $as_echo "$STRIP" >&6; }
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5721 $as_echo "no
" >&6; }
5726 if test -z "$ac_cv_prog_STRIP"; then
5728 # Extract the first word of "strip
", so it can be a program name with args.
5729 set dummy strip; ac_word=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5731 $as_echo_n "checking
for $ac_word...
" >&6; }
5732 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5733 $as_echo_n "(cached
) " >&6
5735 if test -n "$ac_ct_STRIP"; then
5736 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 test -z "$as_dir" && as_dir=.
5743 for ac_exec_ext in '' $ac_executable_extensions; do
5744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_prog_ac_ct_STRIP="strip
"
5746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5755 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5756 if test -n "$ac_ct_STRIP"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5758 $as_echo "$ac_ct_STRIP" >&6; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5761 $as_echo "no
" >&6; }
5764 if test "x
$ac_ct_STRIP" = x; then
5767 case $cross_compiling:$ac_tool_warned in
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5770 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5771 ac_tool_warned=yes ;;
5776 STRIP="$ac_cv_prog_STRIP"
5779 test -z "$STRIP" && STRIP=:
5786 if test -n "$ac_tool_prefix"; then
5787 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5788 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5790 $as_echo_n "checking
for $ac_word...
" >&6; }
5791 if ${ac_cv_prog_RANLIB+:} false; then :
5792 $as_echo_n "(cached
) " >&6
5794 if test -n "$RANLIB"; then
5795 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 test -z "$as_dir" && as_dir=.
5802 for ac_exec_ext in '' $ac_executable_extensions; do
5803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5804 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5805 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5814 RANLIB=$ac_cv_prog_RANLIB
5815 if test -n "$RANLIB"; then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5817 $as_echo "$RANLIB" >&6; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5820 $as_echo "no
" >&6; }
5825 if test -z "$ac_cv_prog_RANLIB"; then
5826 ac_ct_RANLIB=$RANLIB
5827 # Extract the first word of "ranlib
", so it can be a program name with args.
5828 set dummy ranlib; ac_word=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5830 $as_echo_n "checking
for $ac_word...
" >&6; }
5831 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5832 $as_echo_n "(cached
) " >&6
5834 if test -n "$ac_ct_RANLIB"; then
5835 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841 test -z "$as_dir" && as_dir=.
5842 for ac_exec_ext in '' $ac_executable_extensions; do
5843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5854 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5855 if test -n "$ac_ct_RANLIB"; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5857 $as_echo "$ac_ct_RANLIB" >&6; }
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5860 $as_echo "no
" >&6; }
5863 if test "x
$ac_ct_RANLIB" = x; then
5866 case $cross_compiling:$ac_tool_warned in
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5869 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5870 ac_tool_warned=yes ;;
5872 RANLIB=$ac_ct_RANLIB
5875 RANLIB="$ac_cv_prog_RANLIB"
5878 test -z "$RANLIB" && RANLIB=:
5885 # Determine commands to create old-style static archives.
5886 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5887 old_postinstall_cmds='chmod 644 $oldlib'
5888 old_postuninstall_cmds=
5890 if test -n "$RANLIB"; then
5893 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5896 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5899 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
5904 lock_old_archive_extraction=yes ;;
5906 lock_old_archive_extraction=no ;;
5947 # If no C compiler was specified, use CC.
5950 # If no C compiler flags were specified, use CFLAGS.
5951 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5953 # Allow CC to be a program name with arguments.
5957 # Check for command to grab the raw symbol name followed by C symbol from nm.
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5959 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5960 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5961 $as_echo_n "(cached
) " >&6
5964 # These are sane defaults that work on at least a few old systems.
5965 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5967 # Character class describing NM global symbol codes.
5968 symcode='[BCDEGRST]'
5970 # Regexp to match symbols that can be accessed directly from C.
5971 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5973 # Define system-specific variables.
5978 cygwin* | mingw* | pw32* | cegcc*)
5979 symcode='[ABCDGISTW]'
5982 if test "$host_cpu" = ia64; then
5983 symcode='[ABCDEGRST]'
5987 symcode='[BCDEGRST]'
5990 symcode='[BCDEGQRST]'
6001 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6009 # If we're using GNU nm, then use its standard symbol codes.
6010 case `$NM -V 2>&1` in
6011 *GNU* | *'with BFD'*)
6012 symcode='[ABCDGIRSTW]' ;;
6015 # Transform an extracted symbol line into a proper C declaration.
6016 # Some systems (esp. on ia64) link data and code symbols differently,
6017 # so use this general approach.
6018 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6020 # Transform an extracted symbol line into symbol name and symbol address
6021 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6022 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6024 # Handle CRLF in mingw tool chain
6028 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6032 # Try without a prefix underscore, then with it.
6033 for ac_symprfx in "" "_
"; do
6035 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6036 symxfrm="\\1 $ac_symprfx\\2 \\2"
6038 # Write the raw and C identifiers.
6039 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6040 # Fake it for dumpbin and say T for any non-static function
6041 # and D for any global variable.
6042 # Also find C++ and __fastcall symbols from MSVC++,
6043 # which start with @ or ?.
6044 lt_cv_sys_global_symbol_pipe="$AWK '"\
6045 " {last_section=section; section=\$ 3};"\
6046 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6047 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6048 " \$ 0!~/External *\|/{next};"\
6049 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6050 " {if(hide[section]) next};"\
6051 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6052 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6053 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6054 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6055 " ' prfx
=^
$ac_symprfx"
6057 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6059 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6061 # Check to see that the pipe works correctly.
6065 cat > conftest.$ac_ext <<_LT_EOF
6070 void nm_test_func(void);
6071 void nm_test_func(void){}
6075 int main(){nm_test_var='a';nm_test_func();return(0);}
6078 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6079 (eval $ac_compile) 2>&5
6081 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6082 test $ac_status = 0; }; then
6083 # Now try to grab the symbols.
6085 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6086 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6088 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6089 test $ac_status = 0; } && test -s "$nlist"; then
6090 # Try sorting and uniquifying the output.
6091 if sort "$nlist" | uniq > "$nlist"T; then
6092 mv -f "$nlist"T "$nlist"
6097 # Make sure that we snagged all the symbols we need.
6098 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6099 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6100 cat <<_LT_EOF > conftest.$ac_ext
6101 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6102 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6103 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6104 relocations are performed -- see ld's documentation on pseudo-relocs. */
6105 # define LT_DLSYM_CONST
6106 #elif defined(__osf__)
6107 /* This system does not cope well with relocations in const data. */
6108 # define LT_DLSYM_CONST
6110 # define LT_DLSYM_CONST const
6118 # Now generate the symbol file.
6119 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6121 cat <<_LT_EOF >> conftest.$ac_ext
6123 /* The mapping between symbol names and symbols. */
6124 LT_DLSYM_CONST struct {
6128 lt__PROGRAM__LTX_preloaded_symbols[] =
6130 { "@PROGRAM@
", (void *) 0 },
6132 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6133 cat <<\_LT_EOF >> conftest.$ac_ext
6137 /* This works around a problem in FreeBSD linker */
6138 #ifdef FREEBSD_WORKAROUND
6139 static const void *lt_preloaded_setup() {
6140 return lt__PROGRAM__LTX_preloaded_symbols;
6148 # Now try linking the two files.
6149 mv conftest.$ac_objext conftstm.$ac_objext
6150 lt_globsym_save_LIBS=$LIBS
6151 lt_globsym_save_CFLAGS=$CFLAGS
6152 LIBS="conftstm.
$ac_objext"
6153 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6154 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6155 (eval $ac_link) 2>&5
6157 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6158 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6161 LIBS=$lt_globsym_save_LIBS
6162 CFLAGS=$lt_globsym_save_CFLAGS
6164 echo "cannot
find nm_test_func
in $nlist" >&5
6167 echo "cannot
find nm_test_var
in $nlist" >&5
6170 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6173 echo "$progname: failed program was
:" >&5
6174 cat conftest.$ac_ext >&5
6176 rm -rf conftest* conftst*
6178 # Do not use the global_symbol_pipe unless it works.
6179 if test "$pipe_works" = yes; then
6182 lt_cv_sys_global_symbol_pipe=
6188 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6189 lt_cv_sys_global_symbol_to_cdecl=
6191 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6193 $as_echo "failed
" >&6; }
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6196 $as_echo "ok
" >&6; }
6199 # Response file support.
6200 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6201 nm_file_list_spec='@'
6202 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6203 nm_file_list_spec='@'
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6233 $as_echo_n "checking
for sysroot...
" >&6; }
6235 # Check whether --with-sysroot was given.
6236 if test "${with_sysroot+set}" = set; then :
6237 withval=$with_sysroot;
6244 case ${with_sysroot} in #(
6246 if test "$GCC" = yes; then
6247 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6251 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6257 $as_echo "${with_sysroot}" >&6; }
6258 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6263 $as_echo "${lt_sysroot:-no}" >&6; }
6269 # Check whether --enable-libtool-lock was given.
6270 if test "${enable_libtool_lock+set}" = set; then :
6271 enableval=$enable_libtool_lock;
6274 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6276 # Some flags need to be propagated to the compiler or linker for good
6280 # Find out which ABI we are using.
6281 echo 'int i;' > conftest.$ac_ext
6282 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6283 (eval $ac_compile) 2>&5
6285 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6286 test $ac_status = 0; }; then
6287 case `/usr/bin/file conftest.$ac_objext` in
6299 # Find out which ABI we are using.
6300 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6301 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6302 (eval $ac_compile) 2>&5
6304 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6305 test $ac_status = 0; }; then
6306 if test "$lt_cv_prog_gnu_ld" = yes; then
6307 case `/usr/bin/file conftest.$ac_objext` in
6309 LD="${LD-ld} -melf32bsmip"
6312 LD="${LD-ld} -melf32bmipn32"
6315 LD="${LD-ld} -melf64bmip"
6319 case `/usr/bin/file conftest.$ac_objext` in
6335 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6336 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6337 # Find out which ABI we are using.
6338 echo 'int i;' > conftest.$ac_ext
6339 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6340 (eval $ac_compile) 2>&5
6342 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6343 test $ac_status = 0; }; then
6344 case `/usr/bin/file conftest.o` in
6347 x86_64-*kfreebsd*-gnu)
6348 LD="${LD-ld} -m elf_i386_fbsd
"
6351 LD="${LD-ld} -m elf_i386
"
6353 ppc64-*linux*|powerpc64-*linux*)
6354 LD="${LD-ld} -m elf32ppclinux
"
6357 LD="${LD-ld} -m elf_s390
"
6360 LD="${LD-ld} -m elf32_sparc
"
6366 x86_64-*kfreebsd*-gnu)
6367 LD="${LD-ld} -m elf_x86_64_fbsd
"
6370 LD="${LD-ld} -m elf_x86_64
"
6372 ppc*-*linux*|powerpc*-*linux*)
6373 LD="${LD-ld} -m elf64ppc
"
6375 s390*-*linux*|s390*-*tpf*)
6376 LD="${LD-ld} -m elf64_s390
"
6379 LD="${LD-ld} -m elf64_sparc
"
6389 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6390 SAVE_CFLAGS="$CFLAGS"
6391 CFLAGS="$CFLAGS -belf"
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6393 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6394 if ${lt_cv_cc_needs_belf+:} false; then :
6395 $as_echo_n "(cached
) " >&6
6398 ac_cpp='$CPP $CPPFLAGS'
6399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6404 /* end confdefs.h. */
6414 if ac_fn_c_try_link "$LINENO"; then :
6415 lt_cv_cc_needs_belf=yes
6417 lt_cv_cc_needs_belf=no
6419 rm -f core conftest.err conftest.$ac_objext \
6420 conftest$ac_exeext conftest.$ac_ext
6422 ac_cpp='$CPP $CPPFLAGS'
6423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6429 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6430 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6431 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6432 CFLAGS="$SAVE_CFLAGS"
6436 # Find out which ABI we are using.
6437 echo 'int i;' > conftest.$ac_ext
6438 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6439 (eval $ac_compile) 2>&5
6441 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6442 test $ac_status = 0; }; then
6443 case `/usr/bin/file conftest.o` in
6445 case $lt_cv_prog_gnu_ld in
6449 LD="${LD-ld} -m elf_x86_64
"
6452 LD="${LD-ld} -m elf64_sparc
"
6455 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6456 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6461 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6473 need_locks="$enable_libtool_lock"
6475 if test -n "$ac_tool_prefix"; then
6476 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6477 set dummy ${ac_tool_prefix}mt; ac_word=$2
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6479 $as_echo_n "checking
for $ac_word...
" >&6; }
6480 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6481 $as_echo_n "(cached
) " >&6
6483 if test -n "$MANIFEST_TOOL"; then
6484 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6503 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6504 if test -n "$MANIFEST_TOOL"; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6506 $as_echo "$MANIFEST_TOOL" >&6; }
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6509 $as_echo "no
" >&6; }
6514 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6515 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6516 # Extract the first word of "mt
", so it can be a program name with args.
6517 set dummy mt; ac_word=$2
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6519 $as_echo_n "checking
for $ac_word...
" >&6; }
6520 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6521 $as_echo_n "(cached
) " >&6
6523 if test -n "$ac_ct_MANIFEST_TOOL"; then
6524 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530 test -z "$as_dir" && as_dir=.
6531 for ac_exec_ext in '' $ac_executable_extensions; do
6532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6533 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6534 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6543 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6544 if test -n "$ac_ct_MANIFEST_TOOL"; then
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6546 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6549 $as_echo "no
" >&6; }
6552 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6555 case $cross_compiling:$ac_tool_warned in
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6558 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6559 ac_tool_warned=yes ;;
6561 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6564 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6567 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6569 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6570 if ${lt_cv_path_mainfest_tool+:} false; then :
6571 $as_echo_n "(cached
) " >&6
6573 lt_cv_path_mainfest_tool=no
6574 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6575 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6576 cat conftest.err >&5
6577 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6578 lt_cv_path_mainfest_tool=yes
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6583 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6584 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6594 rhapsody* | darwin*)
6595 if test -n "$ac_tool_prefix"; then
6596 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6597 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6599 $as_echo_n "checking
for $ac_word...
" >&6; }
6600 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6601 $as_echo_n "(cached
) " >&6
6603 if test -n "$DSYMUTIL"; then
6604 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 test -z "$as_dir" && as_dir=.
6611 for ac_exec_ext in '' $ac_executable_extensions; do
6612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6613 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6614 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6623 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6624 if test -n "$DSYMUTIL"; then
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6626 $as_echo "$DSYMUTIL" >&6; }
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6629 $as_echo "no
" >&6; }
6634 if test -z "$ac_cv_prog_DSYMUTIL"; then
6635 ac_ct_DSYMUTIL=$DSYMUTIL
6636 # Extract the first word of "dsymutil
", so it can be a program name with args.
6637 set dummy dsymutil; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6639 $as_echo_n "checking
for $ac_word...
" >&6; }
6640 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6641 $as_echo_n "(cached
) " >&6
6643 if test -n "$ac_ct_DSYMUTIL"; then
6644 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6653 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6663 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6664 if test -n "$ac_ct_DSYMUTIL"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6666 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6669 $as_echo "no
" >&6; }
6672 if test "x
$ac_ct_DSYMUTIL" = x; then
6675 case $cross_compiling:$ac_tool_warned in
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6678 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6679 ac_tool_warned=yes ;;
6681 DSYMUTIL=$ac_ct_DSYMUTIL
6684 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6687 if test -n "$ac_tool_prefix"; then
6688 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6689 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6691 $as_echo_n "checking
for $ac_word...
" >&6; }
6692 if ${ac_cv_prog_NMEDIT+:} false; then :
6693 $as_echo_n "(cached
) " >&6
6695 if test -n "$NMEDIT"; then
6696 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 test -z "$as_dir" && as_dir=.
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6705 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6715 NMEDIT=$ac_cv_prog_NMEDIT
6716 if test -n "$NMEDIT"; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6718 $as_echo "$NMEDIT" >&6; }
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6721 $as_echo "no
" >&6; }
6726 if test -z "$ac_cv_prog_NMEDIT"; then
6727 ac_ct_NMEDIT=$NMEDIT
6728 # Extract the first word of "nmedit
", so it can be a program name with args.
6729 set dummy nmedit; ac_word=$2
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6731 $as_echo_n "checking
for $ac_word...
" >&6; }
6732 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6733 $as_echo_n "(cached
) " >&6
6735 if test -n "$ac_ct_NMEDIT"; then
6736 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 test -z "$as_dir" && as_dir=.
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6755 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6756 if test -n "$ac_ct_NMEDIT"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6758 $as_echo "$ac_ct_NMEDIT" >&6; }
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6761 $as_echo "no
" >&6; }
6764 if test "x
$ac_ct_NMEDIT" = x; then
6767 case $cross_compiling:$ac_tool_warned in
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6770 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6771 ac_tool_warned=yes ;;
6773 NMEDIT=$ac_ct_NMEDIT
6776 NMEDIT="$ac_cv_prog_NMEDIT"
6779 if test -n "$ac_tool_prefix"; then
6780 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6781 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6783 $as_echo_n "checking
for $ac_word...
" >&6; }
6784 if ${ac_cv_prog_LIPO+:} false; then :
6785 $as_echo_n "(cached
) " >&6
6787 if test -n "$LIPO"; then
6788 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 test -z "$as_dir" && as_dir=.
6795 for ac_exec_ext in '' $ac_executable_extensions; do
6796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6797 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6807 LIPO=$ac_cv_prog_LIPO
6808 if test -n "$LIPO"; then
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6810 $as_echo "$LIPO" >&6; }
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6813 $as_echo "no
" >&6; }
6818 if test -z "$ac_cv_prog_LIPO"; then
6820 # Extract the first word of "lipo
", so it can be a program name with args.
6821 set dummy lipo; ac_word=$2
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6823 $as_echo_n "checking
for $ac_word...
" >&6; }
6824 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6825 $as_echo_n "(cached
) " >&6
6827 if test -n "$ac_ct_LIPO"; then
6828 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 test -z "$as_dir" && as_dir=.
6835 for ac_exec_ext in '' $ac_executable_extensions; do
6836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6837 ac_cv_prog_ac_ct_LIPO="lipo
"
6838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6847 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6848 if test -n "$ac_ct_LIPO"; then
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6850 $as_echo "$ac_ct_LIPO" >&6; }
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6853 $as_echo "no
" >&6; }
6856 if test "x
$ac_ct_LIPO" = x; then
6859 case $cross_compiling:$ac_tool_warned in
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6862 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6863 ac_tool_warned=yes ;;
6868 LIPO="$ac_cv_prog_LIPO"
6871 if test -n "$ac_tool_prefix"; then
6872 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6873 set dummy ${ac_tool_prefix}otool; ac_word=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6875 $as_echo_n "checking
for $ac_word...
" >&6; }
6876 if ${ac_cv_prog_OTOOL+:} false; then :
6877 $as_echo_n "(cached
) " >&6
6879 if test -n "$OTOOL"; then
6880 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6886 test -z "$as_dir" && as_dir=.
6887 for ac_exec_ext in '' $ac_executable_extensions; do
6888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6889 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6899 OTOOL=$ac_cv_prog_OTOOL
6900 if test -n "$OTOOL"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6902 $as_echo "$OTOOL" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6905 $as_echo "no
" >&6; }
6910 if test -z "$ac_cv_prog_OTOOL"; then
6912 # Extract the first word of "otool
", so it can be a program name with args.
6913 set dummy otool; ac_word=$2
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6915 $as_echo_n "checking
for $ac_word...
" >&6; }
6916 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6917 $as_echo_n "(cached
) " >&6
6919 if test -n "$ac_ct_OTOOL"; then
6920 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926 test -z "$as_dir" && as_dir=.
6927 for ac_exec_ext in '' $ac_executable_extensions; do
6928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6929 ac_cv_prog_ac_ct_OTOOL="otool
"
6930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6939 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6940 if test -n "$ac_ct_OTOOL"; then
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6942 $as_echo "$ac_ct_OTOOL" >&6; }
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6945 $as_echo "no
" >&6; }
6948 if test "x
$ac_ct_OTOOL" = x; then
6951 case $cross_compiling:$ac_tool_warned in
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6954 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6955 ac_tool_warned=yes ;;
6960 OTOOL="$ac_cv_prog_OTOOL"
6963 if test -n "$ac_tool_prefix"; then
6964 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6965 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6967 $as_echo_n "checking
for $ac_word...
" >&6; }
6968 if ${ac_cv_prog_OTOOL64+:} false; then :
6969 $as_echo_n "(cached
) " >&6
6971 if test -n "$OTOOL64"; then
6972 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 test -z "$as_dir" && as_dir=.
6979 for ac_exec_ext in '' $ac_executable_extensions; do
6980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6981 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6991 OTOOL64=$ac_cv_prog_OTOOL64
6992 if test -n "$OTOOL64"; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6994 $as_echo "$OTOOL64" >&6; }
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6997 $as_echo "no
" >&6; }
7002 if test -z "$ac_cv_prog_OTOOL64"; then
7003 ac_ct_OTOOL64=$OTOOL64
7004 # Extract the first word of "otool64
", so it can be a program name with args.
7005 set dummy otool64; ac_word=$2
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7007 $as_echo_n "checking
for $ac_word...
" >&6; }
7008 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7009 $as_echo_n "(cached
) " >&6
7011 if test -n "$ac_ct_OTOOL64"; then
7012 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018 test -z "$as_dir" && as_dir=.
7019 for ac_exec_ext in '' $ac_executable_extensions; do
7020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7021 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7031 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7032 if test -n "$ac_ct_OTOOL64"; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7034 $as_echo "$ac_ct_OTOOL64" >&6; }
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7037 $as_echo "no
" >&6; }
7040 if test "x
$ac_ct_OTOOL64" = x; then
7043 case $cross_compiling:$ac_tool_warned in
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7046 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7047 ac_tool_warned=yes ;;
7049 OTOOL64=$ac_ct_OTOOL64
7052 OTOOL64="$ac_cv_prog_OTOOL64"
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7082 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7083 if ${lt_cv_apple_cc_single_mod+:} false; then :
7084 $as_echo_n "(cached
) " >&6
7086 lt_cv_apple_cc_single_mod=no
7087 if test -z "${LT_MULTI_MODULE}"; then
7088 # By default we will add the -single_module flag. You can override
7089 # by either setting the environment variable LT_MULTI_MODULE
7090 # non-empty at configure time, or by adding -multi_module to the
7092 rm -rf libconftest.dylib*
7093 echo "int foo
(void
){return 1;}" > conftest.c
7094 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7095 -dynamiclib -Wl,-single_module conftest.c
" >&5
7096 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7097 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7099 # If there is a non-empty error log, and "single_module
"
7100 # appears in it, assume the flag caused a linker warning
7101 if test -s conftest.err && $GREP single_module conftest.err; then
7102 cat conftest.err >&5
7103 # Otherwise, if the output was created with a 0 exit code from
7104 # the compiler, it worked.
7105 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7106 lt_cv_apple_cc_single_mod=yes
7108 cat conftest.err >&5
7110 rm -rf libconftest.dylib*
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7115 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7118 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7119 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7120 $as_echo_n "(cached
) " >&6
7122 lt_cv_ld_exported_symbols_list=no
7123 save_LDFLAGS=$LDFLAGS
7124 echo "_main
" > conftest.sym
7125 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7137 if ac_fn_c_try_link "$LINENO"; then :
7138 lt_cv_ld_exported_symbols_list=yes
7140 lt_cv_ld_exported_symbols_list=no
7142 rm -f core conftest.err conftest.$ac_objext \
7143 conftest$ac_exeext conftest.$ac_ext
7144 LDFLAGS="$save_LDFLAGS"
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7148 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7151 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7152 if ${lt_cv_ld_force_load+:} false; then :
7153 $as_echo_n "(cached
) " >&6
7155 lt_cv_ld_force_load=no
7156 cat > conftest.c << _LT_EOF
7157 int forced_loaded() { return 2;}
7159 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7160 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7161 echo "$AR cru libconftest.a conftest.o
" >&5
7162 $AR cru libconftest.a conftest.o 2>&5
7163 echo "$RANLIB libconftest.a
" >&5
7164 $RANLIB libconftest.a 2>&5
7165 cat > conftest.c << _LT_EOF
7166 int main() { return 0;}
7168 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7169 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7171 if test -s conftest.err && $GREP force_load conftest.err; then
7172 cat conftest.err >&5
7173 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7174 lt_cv_ld_force_load=yes
7176 cat conftest.err >&5
7178 rm -f conftest.err libconftest.a conftest conftest.c
7179 rm -rf conftest.dSYM
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7183 $as_echo "$lt_cv_ld_force_load" >&6; }
7185 rhapsody* | darwin1.[012])
7186 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7188 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7189 darwin*) # darwin 5.x on
7190 # if running on 10.5 or later, the deployment target defaults
7191 # to the OS version, if on x86, and 10.4, the deployment
7192 # target defaults to 10.4. Don't you love it?
7193 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7194 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7195 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7197 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7199 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7203 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7204 _lt_dar_single_mod='$single_module'
7206 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7207 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7209 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7211 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7212 _lt_dsymutil='~$DSYMUTIL $lib || :'
7220 ac_cpp='$CPP $CPPFLAGS'
7221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7225 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7226 # On Suns, sometimes $CPP names a directory.
7227 if test -n "$CPP" && test -d "$CPP"; then
7230 if test -z "$CPP"; then
7231 if ${ac_cv_prog_CPP+:} false; then :
7232 $as_echo_n "(cached
) " >&6
7234 # Double quotes because CPP needs to be expanded
7235 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7238 for ac_c_preproc_warn_flag in '' yes
7240 # Use a header file that comes with gcc, so configuring glibc
7241 # with a fresh cross-compiler works.
7242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7243 # <limits.h> exists even on freestanding compilers.
7244 # On the NeXT, cc -E runs the code through the compiler's parser,
7245 # not just through cpp. "Syntax error
" is here to catch this case.
7246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7247 /* end confdefs.h. */
7249 # include <limits.h>
7251 # include <assert.h>
7255 if ac_fn_c_try_cpp "$LINENO"; then :
7258 # Broken: fails on valid input.
7261 rm -f conftest.err conftest.i conftest.$ac_ext
7263 # OK, works on sane cases. Now check whether nonexistent headers
7264 # can be detected and how.
7265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266 /* end confdefs.h. */
7267 #include <ac_nonexistent.h>
7269 if ac_fn_c_try_cpp "$LINENO"; then :
7270 # Broken: success on invalid input.
7273 # Passes both tests.
7277 rm -f conftest.err conftest.i conftest.$ac_ext
7280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7281 rm -f conftest.i conftest.err conftest.$ac_ext
7282 if $ac_preproc_ok; then :
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7295 $as_echo "$CPP" >&6; }
7297 for ac_c_preproc_warn_flag in '' yes
7299 # Use a header file that comes with gcc, so configuring glibc
7300 # with a fresh cross-compiler works.
7301 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7302 # <limits.h> exists even on freestanding compilers.
7303 # On the NeXT, cc -E runs the code through the compiler's parser,
7304 # not just through cpp. "Syntax error
" is here to catch this case.
7305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7306 /* end confdefs.h. */
7308 # include <limits.h>
7310 # include <assert.h>
7314 if ac_fn_c_try_cpp "$LINENO"; then :
7317 # Broken: fails on valid input.
7320 rm -f conftest.err conftest.i conftest.$ac_ext
7322 # OK, works on sane cases. Now check whether nonexistent headers
7323 # can be detected and how.
7324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7325 /* end confdefs.h. */
7326 #include <ac_nonexistent.h>
7328 if ac_fn_c_try_cpp "$LINENO"; then :
7329 # Broken: success on invalid input.
7332 # Passes both tests.
7336 rm -f conftest.err conftest.i conftest.$ac_ext
7339 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7340 rm -f conftest.i conftest.err conftest.$ac_ext
7341 if $ac_preproc_ok; then :
7344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7346 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7347 See \`config.log' for more details
" "$LINENO" 5; }
7351 ac_cpp='$CPP $CPPFLAGS'
7352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7358 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7359 if ${ac_cv_header_stdc+:} false; then :
7360 $as_echo_n "(cached
) " >&6
7362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7363 /* end confdefs.h. */
7377 if ac_fn_c_try_compile "$LINENO"; then :
7378 ac_cv_header_stdc=yes
7380 ac_cv_header_stdc=no
7382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7384 if test $ac_cv_header_stdc = yes; then
7385 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7387 /* end confdefs.h. */
7391 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7392 $EGREP "memchr
" >/dev/null 2>&1; then :
7395 ac_cv_header_stdc=no
7401 if test $ac_cv_header_stdc = yes; then
7402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7404 /* end confdefs.h. */
7408 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7409 $EGREP "free
" >/dev/null 2>&1; then :
7412 ac_cv_header_stdc=no
7418 if test $ac_cv_header_stdc = yes; then
7419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7420 if test "$cross_compiling" = yes; then :
7423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7424 /* end confdefs.h. */
7427 #if ((' ' & 0x0FF) == 0x020)
7428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7431 # define ISLOWER(c) \
7432 (('a' <= (c) && (c) <= 'i') \
7433 || ('j' <= (c) && (c) <= 'r') \
7434 || ('s' <= (c) && (c) <= 'z'))
7435 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7438 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7443 for (i = 0; i < 256; i++)
7444 if (XOR (islower (i), ISLOWER (i))
7445 || toupper (i) != TOUPPER (i))
7450 if ac_fn_c_try_run "$LINENO"; then :
7453 ac_cv_header_stdc=no
7455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7456 conftest.$ac_objext conftest.beam conftest.$ac_ext
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7462 $as_echo "$ac_cv_header_stdc" >&6; }
7463 if test $ac_cv_header_stdc = yes; then
7465 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7469 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7470 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7471 inttypes.h stdint.h unistd.h
7473 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7474 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7476 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7477 cat >>confdefs.h
<<_ACEOF
7478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7486 for ac_header
in dlfcn.h
7488 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7490 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7491 cat >>confdefs.h
<<_ACEOF
7492 #define HAVE_DLFCN_H 1
7513 # Check whether --enable-shared was given.
7514 if test "${enable_shared+set}" = set; then :
7515 enableval
=$enable_shared; p
=${PACKAGE-default}
7517 yes) enable_shared
=yes ;;
7518 no
) enable_shared
=no
;;
7521 # Look at the argument we got. We use all the common list separators.
7522 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7523 for pkg
in $enableval; do
7525 if test "X$pkg" = "X$p"; then
7544 # Check whether --enable-static was given.
7545 if test "${enable_static+set}" = set; then :
7546 enableval
=$enable_static; p
=${PACKAGE-default}
7548 yes) enable_static
=yes ;;
7549 no
) enable_static
=no
;;
7552 # Look at the argument we got. We use all the common list separators.
7553 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7554 for pkg
in $enableval; do
7556 if test "X$pkg" = "X$p"; then
7576 # Check whether --with-pic was given.
7577 if test "${with_pic+set}" = set; then :
7578 withval
=$with_pic; lt_p
=${PACKAGE-default}
7580 yes|no
) pic_mode
=$withval ;;
7583 # Look at the argument we got. We use all the common list separators.
7584 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7585 for lt_pkg
in $withval; do
7587 if test "X$lt_pkg" = "X$lt_p"; then
7599 test -z "$pic_mode" && pic_mode
=default
7607 # Check whether --enable-fast-install was given.
7608 if test "${enable_fast_install+set}" = set; then :
7609 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7611 yes) enable_fast_install
=yes ;;
7612 no
) enable_fast_install
=no
;;
7614 enable_fast_install
=no
7615 # Look at the argument we got. We use all the common list separators.
7616 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7617 for pkg
in $enableval; do
7619 if test "X$pkg" = "X$p"; then
7620 enable_fast_install
=yes
7627 enable_fast_install
=yes
7640 # This can be used to rebuild libtool when needed
7641 LIBTOOL_DEPS
="$ltmain"
7643 # Always use our own libtool.
7644 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7675 test -z "$LN_S" && LN_S
="ln -s"
7690 if test -n "${ZSH_VERSION+set}" ; then
7691 setopt NO_GLOB_SUBST
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7695 $as_echo_n "checking for objdir... " >&6; }
7696 if ${lt_cv_objdir+:} false
; then :
7697 $as_echo_n "(cached) " >&6
7699 rm -f .libs
2>/dev
/null
7700 mkdir .libs
2>/dev
/null
7701 if test -d .libs
; then
7704 # MS-DOS does not allow filenames that begin with a dot.
7707 rmdir .libs
2>/dev
/null
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7710 $as_echo "$lt_cv_objdir" >&6; }
7711 objdir
=$lt_cv_objdir
7717 cat >>confdefs.h
<<_ACEOF
7718 #define LT_OBJDIR "$lt_cv_objdir/"
7726 # AIX sometimes has problems with the GCC collect2 program. For some
7727 # reason, if we set the COLLECT_NAMES environment variable, the problems
7728 # vanish in a puff of smoke.
7729 if test "X${COLLECT_NAMES+set}" != Xset
; then
7731 export COLLECT_NAMES
7738 can_build_shared
=yes
7740 # All known linkers require a `.a' archive for static linking (except MSVC,
7741 # which needs '.lib').
7744 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7747 old_CFLAGS
="$CFLAGS"
7749 # Set sane defaults for various variables
7750 test -z "$CC" && CC
=cc
7751 test -z "$LTCC" && LTCC
=$CC
7752 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7753 test -z "$LD" && LD
=ld
7754 test -z "$ac_objext" && ac_objext
=o
7756 for cc_temp
in $compiler""; do
7758 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7759 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7764 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7767 # Only perform the check for file, if the check method requires it
7768 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7769 case $deplibs_check_method in
7771 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7773 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7774 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7775 $as_echo_n "(cached) " >&6
7779 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7782 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7783 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7784 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7785 for ac_dir
in $ac_dummy; do
7787 test -z "$ac_dir" && ac_dir
=.
7788 if test -f $ac_dir/${ac_tool_prefix}file; then
7789 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7790 if test -n "$file_magic_test_file"; then
7791 case $deplibs_check_method in
7793 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7794 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7795 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7796 $EGREP "$file_magic_regex" > /dev
/null
; then
7801 *** Warning: the command libtool uses to detect shared libraries,
7802 *** $file_magic_cmd, produces output that libtool cannot recognize.
7803 *** The result is that libtool may fail to recognize shared libraries
7804 *** as such. This will affect the creation of libtool libraries that
7805 *** depend on shared libraries, but programs linked with such libtool
7806 *** libraries will work regardless of this problem. Nevertheless, you
7807 *** may want to report the problem to your system manager and/or to
7808 *** bug-libtool@gnu.org
7818 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7823 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7824 if test -n "$MAGIC_CMD"; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7826 $as_echo "$MAGIC_CMD" >&6; }
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7829 $as_echo "no" >&6; }
7836 if test -z "$lt_cv_path_MAGIC_CMD"; then
7837 if test -n "$ac_tool_prefix"; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7839 $as_echo_n "checking for file... " >&6; }
7840 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7841 $as_echo_n "(cached) " >&6
7845 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7848 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7849 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7850 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7851 for ac_dir
in $ac_dummy; do
7853 test -z "$ac_dir" && ac_dir
=.
7854 if test -f $ac_dir/file; then
7855 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7856 if test -n "$file_magic_test_file"; then
7857 case $deplibs_check_method in
7859 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7860 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7861 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7862 $EGREP "$file_magic_regex" > /dev
/null
; then
7867 *** Warning: the command libtool uses to detect shared libraries,
7868 *** $file_magic_cmd, produces output that libtool cannot recognize.
7869 *** The result is that libtool may fail to recognize shared libraries
7870 *** as such. This will affect the creation of libtool libraries that
7871 *** depend on shared libraries, but programs linked with such libtool
7872 *** libraries will work regardless of this problem. Nevertheless, you
7873 *** may want to report the problem to your system manager and/or to
7874 *** bug-libtool@gnu.org
7884 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7889 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7890 if test -n "$MAGIC_CMD"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7892 $as_echo "$MAGIC_CMD" >&6; }
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7895 $as_echo "no" >&6; }
7908 # Use C for the default configuration in the libtool script
7912 ac_cpp
='$CPP $CPPFLAGS'
7913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7918 # Source file extension for C test sources.
7921 # Object file extension for compiled C test sources.
7925 # Code to be used in simple compile tests
7926 lt_simple_compile_test_code
="int some_variable = 0;"
7928 # Code to be used in simple link tests
7929 lt_simple_link_test_code
='int main(){return(0);}'
7937 # If no C compiler was specified, use CC.
7940 # If no C compiler flags were specified, use CFLAGS.
7941 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7943 # Allow CC to be a program name with arguments.
7946 # Save the default compiler, since it gets overwritten when the other
7947 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7948 compiler_DEFAULT
=$CC
7950 # save warnings/boilerplate of simple test code
7951 ac_outfile
=conftest.
$ac_objext
7952 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7953 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7954 _lt_compiler_boilerplate
=`cat conftest.err`
7957 ac_outfile
=conftest.
$ac_objext
7958 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7959 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7960 _lt_linker_boilerplate
=`cat conftest.err`
7964 if test -n "$compiler"; then
7966 lt_prog_compiler_no_builtin_flag
=
7968 if test "$GCC" = yes; then
7969 case $cc_basename in
7971 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7973 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7977 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7978 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7979 $as_echo_n "(cached) " >&6
7981 lt_cv_prog_compiler_rtti_exceptions
=no
7982 ac_outfile
=conftest.
$ac_objext
7983 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7984 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7985 # Insert the option either (1) after the last *FLAGS variable, or
7986 # (2) before a word containing "conftest.", or (3) at the end.
7987 # Note that $ac_compile itself does not contain backslashes and begins
7988 # with a dollar sign (not a hyphen), so the echo should work correctly.
7989 # The option is referenced via a variable to avoid confusing sed.
7990 lt_compile
=`echo "$ac_compile" | $SED \
7991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7993 -e 's:$: $lt_compiler_flag:'`
7994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7995 (eval "$lt_compile" 2>conftest.err
)
7997 cat conftest.err
>&5
7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 if (exit $ac_status) && test -s "$ac_outfile"; then
8000 # The compiler can only warn and ignore the option if not recognized
8001 # So say no if there are warnings other than the usual output.
8002 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8003 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8004 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8005 lt_cv_prog_compiler_rtti_exceptions
=yes
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8012 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8014 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8015 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8027 lt_prog_compiler_wl
=
8028 lt_prog_compiler_pic
=
8029 lt_prog_compiler_static
=
8032 if test "$GCC" = yes; then
8033 lt_prog_compiler_wl
='-Wl,'
8034 lt_prog_compiler_static
='-static'
8038 # All AIX code is PIC.
8039 if test "$host_cpu" = ia64
; then
8040 # AIX 5 now supports IA64 processor
8041 lt_prog_compiler_static
='-Bstatic'
8048 # see comment about AmigaOS4 .so support
8049 lt_prog_compiler_pic
='-fPIC'
8052 # FIXME: we need at least 68020 code to build shared libraries, but
8053 # adding the `-m68020' flag to GCC prevents building anything better,
8055 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8060 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8061 # PIC is the default for these OSes.
8064 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8065 # This hack is so that the source file can tell whether it is being
8066 # built for inclusion in a dll (and should export symbols for example).
8067 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8068 # (--disable-auto-import) libraries
8069 lt_prog_compiler_pic
='-DDLL_EXPORT'
8072 darwin
* | rhapsody
*)
8073 # PIC is the default on this platform
8074 # Common symbols not allowed in MH_DYLIB files
8075 lt_prog_compiler_pic
='-fno-common'
8079 # PIC is the default for Haiku.
8080 # The "-static" flag exists, but is broken.
8081 lt_prog_compiler_static
=
8085 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8086 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8087 # sets the default TLS model and affects inlining.
8093 lt_prog_compiler_pic
='-fPIC'
8099 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8100 # Instead, we relocate shared libraries at runtime.
8104 # Just because we use GCC doesn't mean we suddenly get shared libraries
8105 # on systems that don't support them.
8106 lt_prog_compiler_can_build_shared
=no
8111 # QNX uses GNU C++, but need to define -shared option too, otherwise
8113 lt_prog_compiler_pic
='-fPIC -shared'
8117 if test -d /usr
/nec
; then
8118 lt_prog_compiler_pic
=-Kconform_pic
8123 lt_prog_compiler_pic
='-fPIC'
8127 case $cc_basename in
8128 nvcc
*) # Cuda Compiler Driver 2.2
8129 lt_prog_compiler_wl
='-Xlinker '
8130 if test -n "$lt_prog_compiler_pic"; then
8131 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8136 # PORTME Check for flag to pass linker flags through the system compiler.
8139 lt_prog_compiler_wl
='-Wl,'
8140 if test "$host_cpu" = ia64
; then
8141 # AIX 5 now supports IA64 processor
8142 lt_prog_compiler_static
='-Bstatic'
8144 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8148 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8149 # This hack is so that the source file can tell whether it is being
8150 # built for inclusion in a dll (and should export symbols for example).
8151 lt_prog_compiler_pic
='-DDLL_EXPORT'
8154 hpux9
* | hpux10
* | hpux11
*)
8155 lt_prog_compiler_wl
='-Wl,'
8156 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8163 lt_prog_compiler_pic
='+Z'
8166 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8167 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8170 irix5
* | irix6
* | nonstopux
*)
8171 lt_prog_compiler_wl
='-Wl,'
8172 # PIC (with -KPIC) is the default.
8173 lt_prog_compiler_static
='-non_shared'
8176 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8177 case $cc_basename in
8178 # old Intel for x86_64 which still supported -KPIC.
8180 lt_prog_compiler_wl
='-Wl,'
8181 lt_prog_compiler_pic
='-KPIC'
8182 lt_prog_compiler_static
='-static'
8184 # icc used to be incompatible with GCC.
8185 # ICC 10 doesn't accept -KPIC any more.
8187 lt_prog_compiler_wl
='-Wl,'
8188 lt_prog_compiler_pic
='-fPIC'
8189 lt_prog_compiler_static
='-static'
8191 # Lahey Fortran 8.1.
8193 lt_prog_compiler_wl
='-Wl,'
8194 lt_prog_compiler_pic
='--shared'
8195 lt_prog_compiler_static
='--static'
8198 # NAG Fortran compiler
8199 lt_prog_compiler_wl
='-Wl,-Wl,,'
8200 lt_prog_compiler_pic
='-PIC'
8201 lt_prog_compiler_static
='-Bstatic'
8203 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8204 # Portland Group compilers (*not* the Pentium gcc compiler,
8205 # which looks to be a dead project)
8206 lt_prog_compiler_wl
='-Wl,'
8207 lt_prog_compiler_pic
='-fpic'
8208 lt_prog_compiler_static
='-Bstatic'
8211 lt_prog_compiler_wl
='-Wl,'
8212 # All Alpha code is PIC.
8213 lt_prog_compiler_static
='-non_shared'
8215 xl
* | bgxl
* | bgf
* | mpixl
*)
8216 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8217 lt_prog_compiler_wl
='-Wl,'
8218 lt_prog_compiler_pic
='-qpic'
8219 lt_prog_compiler_static
='-qstaticlink'
8222 case `$CC -V 2>&1 | sed 5q` in
8223 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8224 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8225 lt_prog_compiler_pic
='-KPIC'
8226 lt_prog_compiler_static
='-Bstatic'
8227 lt_prog_compiler_wl
=''
8229 *Sun\ F
* |
*Sun
*Fortran
*)
8230 lt_prog_compiler_pic
='-KPIC'
8231 lt_prog_compiler_static
='-Bstatic'
8232 lt_prog_compiler_wl
='-Qoption ld '
8236 lt_prog_compiler_pic
='-KPIC'
8237 lt_prog_compiler_static
='-Bstatic'
8238 lt_prog_compiler_wl
='-Wl,'
8240 *Intel
*\
[CF
]*Compiler
*)
8241 lt_prog_compiler_wl
='-Wl,'
8242 lt_prog_compiler_pic
='-fPIC'
8243 lt_prog_compiler_static
='-static'
8246 lt_prog_compiler_wl
='-Wl,'
8247 lt_prog_compiler_pic
='-fpic'
8248 lt_prog_compiler_static
='-Bstatic'
8256 lt_prog_compiler_pic
='-KPIC'
8257 lt_prog_compiler_static
='-Bstatic'
8261 # QNX uses GNU C++, but need to define -shared option too, otherwise
8263 lt_prog_compiler_pic
='-fPIC -shared'
8266 osf3
* | osf4
* | osf5
*)
8267 lt_prog_compiler_wl
='-Wl,'
8268 # All OSF/1 code is PIC.
8269 lt_prog_compiler_static
='-non_shared'
8273 lt_prog_compiler_static
='-non_shared'
8277 lt_prog_compiler_pic
='-KPIC'
8278 lt_prog_compiler_static
='-Bstatic'
8279 case $cc_basename in
8280 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8281 lt_prog_compiler_wl
='-Qoption ld ';;
8283 lt_prog_compiler_wl
='-Wl,';;
8288 lt_prog_compiler_wl
='-Qoption ld '
8289 lt_prog_compiler_pic
='-PIC'
8290 lt_prog_compiler_static
='-Bstatic'
8293 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8294 lt_prog_compiler_wl
='-Wl,'
8295 lt_prog_compiler_pic
='-KPIC'
8296 lt_prog_compiler_static
='-Bstatic'
8300 if test -d /usr
/nec
;then
8301 lt_prog_compiler_pic
='-Kconform_pic'
8302 lt_prog_compiler_static
='-Bstatic'
8306 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8307 lt_prog_compiler_wl
='-Wl,'
8308 lt_prog_compiler_pic
='-KPIC'
8309 lt_prog_compiler_static
='-Bstatic'
8313 lt_prog_compiler_wl
='-Wl,'
8314 lt_prog_compiler_can_build_shared
=no
8318 lt_prog_compiler_pic
='-pic'
8319 lt_prog_compiler_static
='-Bstatic'
8323 lt_prog_compiler_can_build_shared
=no
8329 # For platforms which do not support PIC, -DPIC is meaningless:
8331 lt_prog_compiler_pic
=
8334 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8339 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8340 if ${lt_cv_prog_compiler_pic+:} false
; then :
8341 $as_echo_n "(cached) " >&6
8343 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8346 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8347 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8350 # Check to make sure the PIC flag actually works.
8352 if test -n "$lt_prog_compiler_pic"; then
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8354 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8355 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8356 $as_echo_n "(cached) " >&6
8358 lt_cv_prog_compiler_pic_works
=no
8359 ac_outfile
=conftest.
$ac_objext
8360 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8361 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8362 # Insert the option either (1) after the last *FLAGS variable, or
8363 # (2) before a word containing "conftest.", or (3) at the end.
8364 # Note that $ac_compile itself does not contain backslashes and begins
8365 # with a dollar sign (not a hyphen), so the echo should work correctly.
8366 # The option is referenced via a variable to avoid confusing sed.
8367 lt_compile
=`echo "$ac_compile" | $SED \
8368 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8369 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8370 -e 's:$: $lt_compiler_flag:'`
8371 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8372 (eval "$lt_compile" 2>conftest.err
)
8374 cat conftest.err
>&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 if (exit $ac_status) && test -s "$ac_outfile"; then
8377 # The compiler can only warn and ignore the option if not recognized
8378 # So say no if there are warnings other than the usual output.
8379 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8380 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8381 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8382 lt_cv_prog_compiler_pic_works
=yes
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8389 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8391 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8392 case $lt_prog_compiler_pic in
8394 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8397 lt_prog_compiler_pic
=
8398 lt_prog_compiler_can_build_shared
=no
8414 # Check to make sure the static flag actually works.
8416 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8418 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8419 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8420 $as_echo_n "(cached) " >&6
8422 lt_cv_prog_compiler_static_works
=no
8423 save_LDFLAGS
="$LDFLAGS"
8424 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8425 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8426 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8427 # The linker can only warn and ignore the option if not recognized
8428 # So say no if there are warnings
8429 if test -s conftest.err
; then
8430 # Append any errors to the config.log.
8431 cat conftest.err
1>&5
8432 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8433 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8434 if diff conftest.exp conftest.er2
>/dev
/null
; then
8435 lt_cv_prog_compiler_static_works
=yes
8438 lt_cv_prog_compiler_static_works
=yes
8442 LDFLAGS
="$save_LDFLAGS"
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8446 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8448 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8451 lt_prog_compiler_static
=
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8461 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8462 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8463 $as_echo_n "(cached) " >&6
8465 lt_cv_prog_compiler_c_o
=no
8466 $RM -r conftest
2>/dev
/null
8470 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8472 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8473 # Insert the option either (1) after the last *FLAGS variable, or
8474 # (2) before a word containing "conftest.", or (3) at the end.
8475 # Note that $ac_compile itself does not contain backslashes and begins
8476 # with a dollar sign (not a hyphen), so the echo should work correctly.
8477 lt_compile
=`echo "$ac_compile" | $SED \
8478 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8479 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8480 -e 's:$: $lt_compiler_flag:'`
8481 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8482 (eval "$lt_compile" 2>out
/conftest.err
)
8484 cat out
/conftest.err
>&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8488 # The compiler can only warn and ignore the option if not recognized
8489 # So say no if there are warnings
8490 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8491 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8492 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8493 lt_cv_prog_compiler_c_o
=yes
8498 # SGI C++ compiler will create directory out/ii_files/ for
8499 # template instantiation
8500 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8501 $RM out
/* && rmdir out
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8508 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8516 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8517 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8518 $as_echo_n "(cached) " >&6
8520 lt_cv_prog_compiler_c_o
=no
8521 $RM -r conftest
2>/dev
/null
8525 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8527 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8528 # Insert the option either (1) after the last *FLAGS variable, or
8529 # (2) before a word containing "conftest.", or (3) at the end.
8530 # Note that $ac_compile itself does not contain backslashes and begins
8531 # with a dollar sign (not a hyphen), so the echo should work correctly.
8532 lt_compile
=`echo "$ac_compile" | $SED \
8533 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8534 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8535 -e 's:$: $lt_compiler_flag:'`
8536 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8537 (eval "$lt_compile" 2>out
/conftest.err
)
8539 cat out
/conftest.err
>&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8543 # The compiler can only warn and ignore the option if not recognized
8544 # So say no if there are warnings
8545 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8546 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8547 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8548 lt_cv_prog_compiler_c_o
=yes
8553 # SGI C++ compiler will create directory out/ii_files/ for
8554 # template instantiation
8555 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8556 $RM out
/* && rmdir out
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8563 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8568 hard_links
="nottested"
8569 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8570 # do not overwrite the value of need_locks provided by the user
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8572 $as_echo_n "checking if we can lock with hard links... " >&6; }
8575 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8577 ln conftest.a conftest.b
2>&5 || hard_links
=no
8578 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8580 $as_echo "$hard_links" >&6; }
8581 if test "$hard_links" = no
; then
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8583 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8596 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8599 allow_undefined_flag
=
8600 always_export_symbols
=no
8602 archive_expsym_cmds
=
8603 compiler_needs_object
=no
8604 enable_shared_with_static_runtimes
=no
8605 export_dynamic_flag_spec
=
8606 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8607 hardcode_automatic
=no
8609 hardcode_direct_absolute
=no
8610 hardcode_libdir_flag_spec
=
8611 hardcode_libdir_separator
=
8613 hardcode_shlibpath_var
=unsupported
8615 link_all_deplibs
=unknown
8618 old_archive_from_new_cmds
=
8619 old_archive_from_expsyms_cmds
=
8620 thread_safe_flag_spec
=
8621 whole_archive_flag_spec
=
8622 # include_expsyms should be a list of space-separated symbols to be *always*
8623 # included in the symbol list
8625 # exclude_expsyms can be an extended regexp of symbols to exclude
8626 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8627 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8628 # as well as any symbol that contains `d'.
8629 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8630 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8631 # platforms (ab)use it in PIC code, but their linkers get confused if
8632 # the symbol is explicitly referenced. Since portable code cannot
8633 # rely on this symbol name, it's probably fine to never include it in
8634 # preloaded symbol tables.
8635 # Exclude shared library initialization/finalization symbols.
8636 extract_expsyms_cmds
=
8639 cygwin
* | mingw
* | pw32
* | cegcc
*)
8640 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8641 # When not using gcc, we currently assume that we are using
8642 # Microsoft Visual C++.
8643 if test "$GCC" != yes; then
8648 # we just hope/assume this is gcc and not c89 (= MSVC++)
8658 # On some targets, GNU ld is compatible enough with the native linker
8659 # that we're better off using the native interface for both.
8660 lt_use_gnu_ld_interface
=no
8661 if test "$with_gnu_ld" = yes; then
8664 # The AIX port of GNU ld has always aspired to compatibility
8665 # with the native linker. However, as the warning in the GNU ld
8666 # block says, versions before 2.19.5* couldn't really create working
8667 # shared libraries, regardless of the interface used.
8668 case `$LD -v 2>&1` in
8669 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8670 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8671 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8673 lt_use_gnu_ld_interface
=yes
8678 lt_use_gnu_ld_interface
=yes
8683 if test "$lt_use_gnu_ld_interface" = yes; then
8684 # If archive_cmds runs LD, not CC, wlarc should be empty
8687 # Set some defaults for GNU ld with shared library support. These
8688 # are reset later if shared libraries are not supported. Putting them
8689 # here allows them to be overridden if necessary.
8690 runpath_var
=LD_RUN_PATH
8691 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8692 export_dynamic_flag_spec
='${wl}--export-dynamic'
8693 # ancient GNU ld didn't support --whole-archive et. al.
8694 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8695 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8697 whole_archive_flag_spec
=
8699 supports_anon_versioning
=no
8700 case `$LD -v 2>&1` in
8701 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8702 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8703 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8704 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8705 *\
2.11.
*) ;; # other 2.11 versions
8706 *) supports_anon_versioning
=yes ;;
8709 # See if GNU ld supports shared libraries.
8712 # On AIX/PPC, the GNU linker is very broken
8713 if test "$host_cpu" != ia64
; then
8717 *** Warning: the GNU linker, at least up to release 2.19, is reported
8718 *** to be unable to reliably create shared libraries on AIX.
8719 *** Therefore, libtool is disabling shared libraries support. If you
8720 *** really care for shared libraries, you may want to install binutils
8721 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8722 *** You will then need to restart the configuration process.
8731 # see comment about AmigaOS4 .so support
8732 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8733 archive_expsym_cmds
=''
8736 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)'
8737 hardcode_libdir_flag_spec
='-L$libdir'
8738 hardcode_minus_L
=yes
8744 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8745 allow_undefined_flag
=unsupported
8746 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8747 # support --undefined. This deserves some investigation. FIXME
8748 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8754 cygwin
* | mingw
* | pw32
* | cegcc
*)
8755 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8756 # as there is no search path for DLLs.
8757 hardcode_libdir_flag_spec
='-L$libdir'
8758 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8759 allow_undefined_flag
=unsupported
8760 always_export_symbols
=no
8761 enable_shared_with_static_runtimes
=yes
8762 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'
8763 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8765 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8766 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8767 # If the export-symbols file already is a .def file (1st line
8768 # is EXPORTS), use it as is; otherwise, prepend...
8769 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8770 cp $export_symbols $output_objdir/$soname.def;
8772 echo EXPORTS > $output_objdir/$soname.def;
8773 cat $export_symbols >> $output_objdir/$soname.def;
8775 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8782 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8783 link_all_deplibs
=yes
8788 hardcode_shlibpath_var
=no
8789 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8790 export_dynamic_flag_spec
='${wl}-E'
8791 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8792 # Instead, shared libraries are loaded at an image base (0x10000000 by
8793 # default) and relocated if they conflict, which is a slow very memory
8794 # consuming and fragmenting process. To avoid this, we pick a random,
8795 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8796 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8797 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8798 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'
8801 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8803 if test "$host_os" = linux-dietlibc
; then
8804 case $cc_basename in
8805 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8808 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8809 && test "$tmp_diet" = no
8811 tmp_addflag
=' $pic_flag'
8812 tmp_sharedflag
='-shared'
8813 case $cc_basename,$host_cpu in
8814 pgcc
*) # Portland Group C compiler
8815 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'
8816 tmp_addflag
=' $pic_flag'
8818 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8819 # Portland Group f77 and f90 compilers
8820 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'
8821 tmp_addflag
=' $pic_flag -Mnomain' ;;
8822 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8823 tmp_addflag
=' -i_dynamic' ;;
8824 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8825 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8826 ifc
* | ifort
*) # Intel Fortran compiler
8827 tmp_addflag
=' -nofor_main' ;;
8828 lf95
*) # Lahey Fortran 8.1
8829 whole_archive_flag_spec
=
8830 tmp_sharedflag
='--shared' ;;
8831 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8832 tmp_sharedflag
='-qmkshrobj'
8834 nvcc
*) # Cuda Compiler Driver 2.2
8835 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'
8836 compiler_needs_object
=yes
8839 case `$CC -V 2>&1 | sed 5q` in
8840 *Sun\ C
*) # Sun C 5.9
8841 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'
8842 compiler_needs_object
=yes
8843 tmp_sharedflag
='-G' ;;
8844 *Sun\ F
*) # Sun Fortran 8.3
8845 tmp_sharedflag
='-G' ;;
8847 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8849 if test "x$supports_anon_versioning" = xyes
; then
8850 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8851 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8852 echo "local: *; };" >> $output_objdir/$libname.ver~
8853 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8856 case $cc_basename in
8857 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8858 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8859 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8860 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8861 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8862 if test "x$supports_anon_versioning" = xyes
; then
8863 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8864 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8865 echo "local: *; };" >> $output_objdir/$libname.ver~
8866 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8876 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8877 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8880 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8881 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8886 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8890 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8891 *** create shared libraries on Solaris systems. Therefore, libtool
8892 *** is disabling shared libraries support. We urge you to upgrade GNU
8893 *** binutils to release 2.9.1 or newer. Another option is to modify
8894 *** your PATH or compiler configuration so that the native linker is
8895 *** used, and then restart.
8898 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8899 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8900 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8906 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8907 case `$LD -v 2>&1` in
8908 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8912 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8913 *** reliably create shared libraries on SCO systems. Therefore, libtool
8914 *** is disabling shared libraries support. We urge you to upgrade GNU
8915 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8916 *** your PATH or compiler configuration so that the native linker is
8917 *** used, and then restart.
8922 # For security reasons, it is highly recommended that you always
8923 # use absolute paths for naming shared libraries, and exclude the
8924 # DT_RUNPATH tag from executables and libraries. But doing so
8925 # requires that you compile everything twice, which is a pain.
8926 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8927 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8928 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8929 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8938 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8941 hardcode_shlibpath_var
=no
8945 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8946 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8947 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8954 if test "$ld_shlibs" = no
; then
8956 hardcode_libdir_flag_spec
=
8957 export_dynamic_flag_spec
=
8958 whole_archive_flag_spec
=
8961 # PORTME fill in a description of your system's linker (not GNU ld)
8964 allow_undefined_flag
=unsupported
8965 always_export_symbols
=yes
8966 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'
8967 # Note: this linker hardcodes the directories in LIBPATH if there
8968 # are no directories specified by -L.
8969 hardcode_minus_L
=yes
8970 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8971 # Neither direct hardcoding nor static linking is supported with a
8973 hardcode_direct
=unsupported
8978 if test "$host_cpu" = ia64
; then
8979 # On IA64, the linker does run time linking by default, so we don't
8980 # have to do anything special.
8981 aix_use_runtimelinking
=no
8982 exp_sym_flag
='-Bexport'
8985 # If we're using GNU nm, then we don't want the "-C" option.
8986 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8987 # Also, AIX nm treats weak defined symbols like other global
8988 # defined symbols, whereas GNU nm marks them as "W".
8989 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8990 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8992 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8994 aix_use_runtimelinking
=no
8996 # Test if we are trying to use run time linking or normal
8997 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8998 # need to do runtime linking.
8999 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9000 for ld_flag
in $LDFLAGS; do
9001 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9002 aix_use_runtimelinking
=yes
9009 exp_sym_flag
='-bexport'
9010 no_entry_flag
='-bnoentry'
9013 # When large executables or shared objects are built, AIX ld can
9014 # have problems creating the table of contents. If linking a library
9015 # or program results in "error TOC overflow" add -mminimal-toc to
9016 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9017 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9021 hardcode_direct_absolute
=yes
9022 hardcode_libdir_separator
=':'
9023 link_all_deplibs
=yes
9024 file_list_spec
='${wl}-f,'
9026 if test "$GCC" = yes; then
9027 case $host_os in aix4.
[012]|aix4.
[012].
*)
9028 # We only want to do this on AIX 4.2 and lower, the check
9029 # below for broken collect2 doesn't work under 4.3+
9030 collect2name
=`${CC} -print-prog-name=collect2`
9031 if test -f "$collect2name" &&
9032 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9034 # We have reworked collect2
9037 # We have old collect2
9038 hardcode_direct
=unsupported
9039 # It fails to find uninstalled libraries when the uninstalled
9040 # path is not listed in the libpath. Setting hardcode_minus_L
9041 # to unsupported forces relinking
9042 hardcode_minus_L
=yes
9043 hardcode_libdir_flag_spec
='-L$libdir'
9044 hardcode_libdir_separator
=
9048 shared_flag
='-shared'
9049 if test "$aix_use_runtimelinking" = yes; then
9050 shared_flag
="$shared_flag "'${wl}-G'
9054 if test "$host_cpu" = ia64
; then
9055 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9056 # chokes on -Wl,-G. The following line is correct:
9059 if test "$aix_use_runtimelinking" = yes; then
9060 shared_flag
='${wl}-G'
9062 shared_flag
='${wl}-bM:SRE'
9067 export_dynamic_flag_spec
='${wl}-bexpall'
9068 # It seems that -bexpall does not export symbols beginning with
9069 # underscore (_), so it is better to generate a list of symbols to export.
9070 always_export_symbols
=yes
9071 if test "$aix_use_runtimelinking" = yes; then
9072 # Warning - without using the other runtime loading flags (-brtl),
9073 # -berok will link without error, but may produce a broken library.
9074 allow_undefined_flag
='-berok'
9075 # Determine the default libpath from the value encoded in an
9077 if test "${lt_cv_aix_libpath+set}" = set; then
9078 aix_libpath
=$lt_cv_aix_libpath
9080 if ${lt_cv_aix_libpath_+:} false
; then :
9081 $as_echo_n "(cached) " >&6
9083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9094 if ac_fn_c_try_link
"$LINENO"; then :
9096 lt_aix_libpath_sed
='
9097 /Import File Strings/,/^$/ {
9099 s/^0 *\([^ ]*\) *$/\1/
9103 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9104 # Check for a 64-bit object if we didn't find anything.
9105 if test -z "$lt_cv_aix_libpath_"; then
9106 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9109 rm -f core conftest.err conftest.
$ac_objext \
9110 conftest
$ac_exeext conftest.
$ac_ext
9111 if test -z "$lt_cv_aix_libpath_"; then
9112 lt_cv_aix_libpath_
="/usr/lib:/lib"
9117 aix_libpath
=$lt_cv_aix_libpath_
9120 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9121 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9123 if test "$host_cpu" = ia64
; then
9124 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9125 allow_undefined_flag
="-z nodefs"
9126 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"
9128 # Determine the default libpath from the value encoded in an
9130 if test "${lt_cv_aix_libpath+set}" = set; then
9131 aix_libpath
=$lt_cv_aix_libpath
9133 if ${lt_cv_aix_libpath_+:} false
; then :
9134 $as_echo_n "(cached) " >&6
9136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9137 /* end confdefs.h. */
9147 if ac_fn_c_try_link
"$LINENO"; then :
9149 lt_aix_libpath_sed
='
9150 /Import File Strings/,/^$/ {
9152 s/^0 *\([^ ]*\) *$/\1/
9156 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9157 # Check for a 64-bit object if we didn't find anything.
9158 if test -z "$lt_cv_aix_libpath_"; then
9159 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9162 rm -f core conftest.err conftest.
$ac_objext \
9163 conftest
$ac_exeext conftest.
$ac_ext
9164 if test -z "$lt_cv_aix_libpath_"; then
9165 lt_cv_aix_libpath_
="/usr/lib:/lib"
9170 aix_libpath
=$lt_cv_aix_libpath_
9173 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9174 # Warning - without using the other run time loading flags,
9175 # -berok will link without error, but may produce a broken library.
9176 no_undefined_flag
=' ${wl}-bernotok'
9177 allow_undefined_flag
=' ${wl}-berok'
9178 if test "$with_gnu_ld" = yes; then
9179 # We only use this code for GNU lds that support --whole-archive.
9180 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9182 # Exported symbols can be pulled into shared objects from archives
9183 whole_archive_flag_spec
='$convenience'
9185 archive_cmds_need_lc
=yes
9186 # This is similar to how AIX traditionally builds its shared libraries.
9187 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9195 # see comment about AmigaOS4 .so support
9196 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9197 archive_expsym_cmds
=''
9200 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)'
9201 hardcode_libdir_flag_spec
='-L$libdir'
9202 hardcode_minus_L
=yes
9208 export_dynamic_flag_spec
=-rdynamic
9211 cygwin
* | mingw
* | pw32
* | cegcc
*)
9212 # When not using gcc, we currently assume that we are using
9213 # Microsoft Visual C++.
9214 # hardcode_libdir_flag_spec is actually meaningless, as there is
9215 # no search path for DLLs.
9216 case $cc_basename in
9219 hardcode_libdir_flag_spec
=' '
9220 allow_undefined_flag
=unsupported
9221 always_export_symbols
=yes
9223 # Tell ltmain to make .lib files, not .a files.
9225 # Tell ltmain to make .dll files, not .so files.
9227 # FIXME: Setting linknames here is a bad hack.
9228 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9229 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9230 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9232 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9234 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9236 # The linker will not automatically build a static lib if we build a DLL.
9237 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9238 enable_shared_with_static_runtimes
=yes
9239 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9240 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9242 old_postinstall_cmds
='chmod 644 $oldlib'
9243 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9244 lt_tool_outputfile="@TOOL_OUTPUT@"~
9245 case $lt_outputfile in
9248 lt_outputfile="$lt_outputfile.exe"
9249 lt_tool_outputfile="$lt_tool_outputfile.exe"
9252 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9253 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9254 $RM "$lt_outputfile.manifest";
9258 # Assume MSVC wrapper
9259 hardcode_libdir_flag_spec
=' '
9260 allow_undefined_flag
=unsupported
9261 # Tell ltmain to make .lib files, not .a files.
9263 # Tell ltmain to make .dll files, not .so files.
9265 # FIXME: Setting linknames here is a bad hack.
9266 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9267 # The linker will automatically build a .lib file if we build a DLL.
9268 old_archive_from_new_cmds
='true'
9269 # FIXME: Should let the user specify the lib program.
9270 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9271 enable_shared_with_static_runtimes
=yes
9276 darwin
* | rhapsody
*)
9279 archive_cmds_need_lc
=no
9281 hardcode_automatic
=yes
9282 hardcode_shlibpath_var
=unsupported
9283 if test "$lt_cv_ld_force_load" = "yes"; then
9284 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\"`'
9287 whole_archive_flag_spec
=''
9289 link_all_deplibs
=yes
9290 allow_undefined_flag
="$_lt_dar_allow_undefined"
9291 case $cc_basename in
9292 ifort
*) _lt_dar_can_shared
=yes ;;
9293 *) _lt_dar_can_shared
=$GCC ;;
9295 if test "$_lt_dar_can_shared" = "yes"; then
9296 output_verbose_link_cmd
=func_echo_all
9297 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9298 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9299 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}"
9300 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}"
9309 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9310 hardcode_libdir_flag_spec
='-L$libdir'
9311 hardcode_shlibpath_var
=no
9314 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9315 # support. Future versions do this automatically, but an explicit c++rt0.o
9316 # does not break anything, and helps significantly (at the cost of a little
9319 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9320 hardcode_libdir_flag_spec
='-R$libdir'
9322 hardcode_shlibpath_var
=no
9325 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9327 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9329 hardcode_minus_L
=yes
9330 hardcode_shlibpath_var
=no
9333 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9334 freebsd
* | dragonfly
*)
9335 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9336 hardcode_libdir_flag_spec
='-R$libdir'
9338 hardcode_shlibpath_var
=no
9342 if test "$GCC" = yes; then
9343 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9345 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9347 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9348 hardcode_libdir_separator
=:
9351 # hardcode_minus_L: Not really in the search PATH,
9352 # but as the default location of the library.
9353 hardcode_minus_L
=yes
9354 export_dynamic_flag_spec
='${wl}-E'
9358 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9359 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9361 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9363 if test "$with_gnu_ld" = no
; then
9364 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9365 hardcode_libdir_separator
=:
9367 hardcode_direct_absolute
=yes
9368 export_dynamic_flag_spec
='${wl}-E'
9369 # hardcode_minus_L: Not really in the search PATH,
9370 # but as the default location of the library.
9371 hardcode_minus_L
=yes
9376 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9379 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9382 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9385 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9391 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9394 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9398 # Older versions of the 11.00 compiler do not understand -b yet
9399 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9401 $as_echo_n "checking if $CC understands -b... " >&6; }
9402 if ${lt_cv_prog_compiler__b+:} false
; then :
9403 $as_echo_n "(cached) " >&6
9405 lt_cv_prog_compiler__b
=no
9406 save_LDFLAGS
="$LDFLAGS"
9407 LDFLAGS
="$LDFLAGS -b"
9408 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9409 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9410 # The linker can only warn and ignore the option if not recognized
9411 # So say no if there are warnings
9412 if test -s conftest.err
; then
9413 # Append any errors to the config.log.
9414 cat conftest.err
1>&5
9415 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9416 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9417 if diff conftest.exp conftest.er2
>/dev
/null
; then
9418 lt_cv_prog_compiler__b
=yes
9421 lt_cv_prog_compiler__b
=yes
9425 LDFLAGS
="$save_LDFLAGS"
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9429 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9431 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9432 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9434 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9440 if test "$with_gnu_ld" = no
; then
9441 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9442 hardcode_libdir_separator
=:
9447 hardcode_shlibpath_var
=no
9451 hardcode_direct_absolute
=yes
9452 export_dynamic_flag_spec
='${wl}-E'
9454 # hardcode_minus_L: Not really in the search PATH,
9455 # but as the default location of the library.
9456 hardcode_minus_L
=yes
9462 irix5
* | irix6
* | nonstopux
*)
9463 if test "$GCC" = yes; then
9464 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'
9465 # Try to use the -exported_symbol ld option, if it does not
9466 # work, assume that -exports_file does not work either and
9467 # implicitly export all symbols.
9468 # This should be the same for all languages, so no per-tag cache variable.
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9470 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9471 if ${lt_cv_irix_exported_symbol+:} false
; then :
9472 $as_echo_n "(cached) " >&6
9474 save_LDFLAGS
="$LDFLAGS"
9475 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9478 int foo (void) { return 0; }
9480 if ac_fn_c_try_link
"$LINENO"; then :
9481 lt_cv_irix_exported_symbol
=yes
9483 lt_cv_irix_exported_symbol
=no
9485 rm -f core conftest.err conftest.
$ac_objext \
9486 conftest
$ac_exeext conftest.
$ac_ext
9487 LDFLAGS
="$save_LDFLAGS"
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9490 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9491 if test "$lt_cv_irix_exported_symbol" = yes; then
9492 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'
9495 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'
9496 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'
9498 archive_cmds_need_lc
='no'
9499 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9500 hardcode_libdir_separator
=:
9502 link_all_deplibs
=yes
9506 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9507 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9509 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9511 hardcode_libdir_flag_spec
='-R$libdir'
9513 hardcode_shlibpath_var
=no
9517 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9519 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9520 hardcode_libdir_separator
=:
9521 hardcode_shlibpath_var
=no
9528 if test -f /usr
/libexec
/ld.so
; then
9530 hardcode_shlibpath_var
=no
9531 hardcode_direct_absolute
=yes
9532 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9533 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9534 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9535 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9536 export_dynamic_flag_spec
='${wl}-E'
9539 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9540 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9541 hardcode_libdir_flag_spec
='-R$libdir'
9544 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9545 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9555 hardcode_libdir_flag_spec
='-L$libdir'
9556 hardcode_minus_L
=yes
9557 allow_undefined_flag
=unsupported
9558 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9559 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9563 if test "$GCC" = yes; then
9564 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9565 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'
9567 allow_undefined_flag
=' -expect_unresolved \*'
9568 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'
9570 archive_cmds_need_lc
='no'
9571 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9572 hardcode_libdir_separator
=:
9575 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9576 if test "$GCC" = yes; then
9577 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9578 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'
9579 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9581 allow_undefined_flag
=' -expect_unresolved \*'
9582 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'
9583 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~
9584 $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'
9586 # Both c and cxx compiler support -rpath directly
9587 hardcode_libdir_flag_spec
='-rpath $libdir'
9589 archive_cmds_need_lc
='no'
9590 hardcode_libdir_separator
=:
9594 no_undefined_flag
=' -z defs'
9595 if test "$GCC" = yes; then
9597 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9598 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9599 $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'
9601 case `$CC -V 2>&1` in
9604 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9605 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9606 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9610 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9612 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9616 hardcode_libdir_flag_spec
='-R$libdir'
9617 hardcode_shlibpath_var
=no
9619 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9621 # The compiler driver will combine and reorder linker options,
9622 # but understands `-z linker_flag'. GCC discards it without `$wl',
9623 # but is careful enough not to reorder.
9624 # Supported since Solaris 2.6 (maybe 2.5.1?)
9625 if test "$GCC" = yes; then
9626 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9628 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9632 link_all_deplibs
=yes
9636 if test "x$host_vendor" = xsequent
; then
9637 # Use $CC to link under sequent, because it throws in some extra .o
9638 # files that make .init and .fini sections work.
9639 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9641 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9643 hardcode_libdir_flag_spec
='-L$libdir'
9645 hardcode_minus_L
=yes
9646 hardcode_shlibpath_var
=no
9650 case $host_vendor in
9652 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9653 hardcode_direct
=yes # is this really true???
9656 ## LD is ld it makes a PLAMLIB
9657 ## CC just makes a GrossModule.
9658 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9659 reload_cmds
='$CC -r -o $output$reload_objs'
9663 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9664 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9667 runpath_var
='LD_RUN_PATH'
9668 hardcode_shlibpath_var
=no
9672 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9673 hardcode_shlibpath_var
=no
9674 export_dynamic_flag_spec
='-Bexport'
9678 if test -d /usr
/nec
; then
9679 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9680 hardcode_shlibpath_var
=no
9681 runpath_var
=LD_RUN_PATH
9682 hardcode_runpath_var
=yes
9687 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9688 no_undefined_flag
='${wl}-z,text'
9689 archive_cmds_need_lc
=no
9690 hardcode_shlibpath_var
=no
9691 runpath_var
='LD_RUN_PATH'
9693 if test "$GCC" = yes; then
9694 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9695 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9697 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9698 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9702 sysv5
* | sco3.2v5
* | sco5v6
*)
9703 # Note: We can NOT use -z defs as we might desire, because we do not
9704 # link with -lc, and that would cause any symbols used from libc to
9705 # always be unresolved, which means just about no library would
9706 # ever link correctly. If we're not using GNU ld we use -z text
9707 # though, which does catch some bad symbols but isn't as heavy-handed
9709 no_undefined_flag
='${wl}-z,text'
9710 allow_undefined_flag
='${wl}-z,nodefs'
9711 archive_cmds_need_lc
=no
9712 hardcode_shlibpath_var
=no
9713 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9714 hardcode_libdir_separator
=':'
9715 link_all_deplibs
=yes
9716 export_dynamic_flag_spec
='${wl}-Bexport'
9717 runpath_var
='LD_RUN_PATH'
9719 if test "$GCC" = yes; then
9720 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9721 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9723 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9724 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9729 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9730 hardcode_libdir_flag_spec
='-L$libdir'
9731 hardcode_shlibpath_var
=no
9739 if test x
$host_vendor = xsni
; then
9741 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9742 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9749 $as_echo "$ld_shlibs" >&6; }
9750 test "$ld_shlibs" = no
&& can_build_shared
=no
9752 with_gnu_ld
=$with_gnu_ld
9769 # Do we need to explicitly link libc?
9771 case "x$archive_cmds_need_lc" in
9773 # Assume -lc should be added
9774 archive_cmds_need_lc
=yes
9776 if test "$enable_shared" = yes && test "$GCC" = yes; then
9777 case $archive_cmds in
9779 # FIXME: we may have to deal with multi-command sequences.
9782 # Test whether the compiler implicitly links with -lc since on some
9783 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9784 # to ld, don't add -lc before -lgcc.
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9786 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9787 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9788 $as_echo_n "(cached) " >&6
9791 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9793 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9794 (eval $ac_compile) 2>&5
9796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9797 test $ac_status = 0; } 2>conftest.err
; then
9800 libobjs
=conftest.
$ac_objext
9802 wl
=$lt_prog_compiler_wl
9803 pic_flag
=$lt_prog_compiler_pic
9809 lt_save_allow_undefined_flag
=$allow_undefined_flag
9810 allow_undefined_flag
=
9811 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9812 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9815 test $ac_status = 0; }
9817 lt_cv_archive_cmds_need_lc
=no
9819 lt_cv_archive_cmds_need_lc
=yes
9821 allow_undefined_flag
=$lt_save_allow_undefined_flag
9823 cat conftest.err
1>&5
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9829 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9830 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9989 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9991 if test "$GCC" = yes; then
9993 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9994 *) lt_awk_arg
="/^libraries:/" ;;
9997 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9998 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10000 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10001 case $lt_search_path_spec in
10003 # if the path contains ";" then we assume it to be the separator
10004 # otherwise default to the standard path separator (i.e. ":") - it is
10005 # assumed that no part of a normal pathname contains ";" but that should
10006 # okay in the real world where ";" in dirpaths is itself problematic.
10007 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10010 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10013 # Ok, now we have the path, separated by spaces, we can step through it
10014 # and add multilib dir if necessary.
10015 lt_tmp_lt_search_path_spec
=
10016 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10017 for lt_sys_path
in $lt_search_path_spec; do
10018 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10019 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10021 test -d "$lt_sys_path" && \
10022 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10025 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10026 BEGIN {RS=" "; FS="/|\n";} {
10029 for (lt_i = NF; lt_i > 0; lt_i--) {
10030 if ($lt_i != "" && $lt_i != ".") {
10031 if ($lt_i == "..") {
10034 if (lt_count == 0) {
10035 lt_foo="/" $lt_i lt_foo;
10042 if (lt_foo != "") { lt_freq[lt_foo]++; }
10043 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10045 # AWK program above erroneously prepends '/' to C:/dos/paths
10048 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10049 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10051 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10053 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10055 library_names_spec
=
10056 libname_spec
='lib$name'
10060 postuninstall_cmds
=
10064 shlibpath_overrides_runpath
=unknown
10066 dynamic_linker
="$host_os ld.so"
10067 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10068 need_lib_prefix
=unknown
10069 hardcode_into_libs
=no
10071 # when you set need_version to no, make sure it does not cause -set_version
10072 # flags to be left without arguments
10073 need_version
=unknown
10077 version_type
=linux
# correct to gnu/linux during the next big refactor
10078 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10079 shlibpath_var
=LIBPATH
10081 # AIX 3 has no versioning support, so we append a major version to the name.
10082 soname_spec
='${libname}${release}${shared_ext}$major'
10086 version_type
=linux
# correct to gnu/linux during the next big refactor
10089 hardcode_into_libs
=yes
10090 if test "$host_cpu" = ia64
; then
10091 # AIX 5 supports IA64
10092 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10093 shlibpath_var
=LD_LIBRARY_PATH
10095 # With GCC up to 2.95.x, collect2 would create an import file
10096 # for dependence libraries. The import file would start with
10097 # the line `#! .'. This would cause the generated library to
10098 # depend on `.', always an invalid library. This was fixed in
10099 # development snapshots of GCC prior to 3.0.
10101 aix4 | aix4.
[01] | aix4.
[01].
*)
10102 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10104 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10107 can_build_shared
=no
10111 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10112 # soname into executable. Probably we can add versioning support to
10113 # collect2, so additional links can be useful in future.
10114 if test "$aix_use_runtimelinking" = yes; then
10115 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10116 # instead of lib<name>.a to let people know that these are not
10117 # typical AIX shared libraries.
10118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10120 # We preserve .a as extension for shared libraries through AIX4.2
10121 # and later when we are not doing run time linking.
10122 library_names_spec
='${libname}${release}.a $libname.a'
10123 soname_spec
='${libname}${release}${shared_ext}$major'
10125 shlibpath_var
=LIBPATH
10132 # Since July 2007 AmigaOS4 officially supports .so libraries.
10133 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10137 library_names_spec
='$libname.ixlibrary $libname.a'
10138 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10139 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10145 library_names_spec
='${libname}${shared_ext}'
10146 dynamic_linker
="$host_os ld.so"
10147 shlibpath_var
=LIBRARY_PATH
10151 version_type
=linux
# correct to gnu/linux during the next big refactor
10153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10154 soname_spec
='${libname}${release}${shared_ext}$major'
10155 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10156 shlibpath_var
=LD_LIBRARY_PATH
10157 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10158 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10159 # the default ld.so.conf also contains /usr/contrib/lib and
10160 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10161 # libtool to hard-code these into programs
10164 cygwin
* | mingw
* | pw32
* | cegcc
*)
10165 version_type
=windows
10170 case $GCC,$cc_basename in
10173 library_names_spec
='$libname.dll.a'
10174 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10175 postinstall_cmds
='base_file=`basename \${file}`~
10176 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10177 dldir=$destdir/`dirname \$dlpath`~
10178 test -d \$dldir || mkdir -p \$dldir~
10179 $install_prog $dir/$dlname \$dldir/$dlname~
10180 chmod a+x \$dldir/$dlname~
10181 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10182 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10184 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10185 dlpath=$dir/\$dldll~
10187 shlibpath_overrides_runpath
=yes
10191 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10192 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10194 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10197 # MinGW DLLs use traditional 'lib' prefix
10198 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10201 # pw32 DLLs use 'pw' prefix rather than 'lib'
10202 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10205 dynamic_linker
='Win32 ld.exe'
10210 libname_spec
='$name'
10211 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10212 library_names_spec
='${libname}.dll.lib'
10216 sys_lib_search_path_spec
=
10219 for lt_path
in $LIB
10222 # Let DOS variable expansion print the short 8.3 style file name.
10223 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10224 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10227 # Convert to MSYS style.
10228 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10231 # Convert to unix form, then to dos form, then back to unix form
10232 # but this time dos style (no spaces!) so that the unix form looks
10233 # like /cygdrive/c/PROGRA~1:/cygdr...
10234 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10235 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10236 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10239 sys_lib_search_path_spec
="$LIB"
10240 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10241 # It is most probably a Windows format PATH.
10242 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10244 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10246 # FIXME: find the short name or the path components, as spaces are
10247 # common. (e.g. "Program Files" -> "PROGRA~1")
10251 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10252 postinstall_cmds
='base_file=`basename \${file}`~
10253 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10254 dldir=$destdir/`dirname \$dlpath`~
10255 test -d \$dldir || mkdir -p \$dldir~
10256 $install_prog $dir/$dlname \$dldir/$dlname'
10257 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10258 dlpath=$dir/\$dldll~
10260 shlibpath_overrides_runpath
=yes
10261 dynamic_linker
='Win32 link.exe'
10265 # Assume MSVC wrapper
10266 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10267 dynamic_linker
='Win32 ld.exe'
10270 # FIXME: first we should search . and the directory the executable is in
10274 darwin
* | rhapsody
*)
10275 dynamic_linker
="$host_os dyld"
10276 version_type
=darwin
10279 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10280 soname_spec
='${libname}${release}${major}$shared_ext'
10281 shlibpath_overrides_runpath
=yes
10282 shlibpath_var
=DYLD_LIBRARY_PATH
10283 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10285 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10286 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10290 version_type
=linux
# correct to gnu/linux during the next big refactor
10293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10294 soname_spec
='${libname}${release}${shared_ext}$major'
10295 shlibpath_var
=LD_LIBRARY_PATH
10298 freebsd
* | dragonfly
*)
10299 # DragonFly does not have aout. When/if they implement a new
10300 # versioning mechanism, adjust this.
10301 if test -x /usr
/bin
/objformat
; then
10302 objformat
=`/usr/bin/objformat`
10305 freebsd
[23].
*) objformat
=aout
;;
10306 *) objformat
=elf
;;
10309 version_type
=freebsd-
$objformat
10310 case $version_type in
10312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10317 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10321 shlibpath_var
=LD_LIBRARY_PATH
10324 shlibpath_overrides_runpath
=yes
10326 freebsd3.
[01]* | freebsdelf3.
[01]*)
10327 shlibpath_overrides_runpath
=yes
10328 hardcode_into_libs
=yes
10330 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10331 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10332 shlibpath_overrides_runpath
=no
10333 hardcode_into_libs
=yes
10335 *) # from 4.6 on, and DragonFly
10336 shlibpath_overrides_runpath
=yes
10337 hardcode_into_libs
=yes
10343 version_type
=linux
# correct to gnu/linux during the next big refactor
10346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10347 soname_spec
='${libname}${release}${shared_ext}$major'
10348 shlibpath_var
=LD_LIBRARY_PATH
10349 shlibpath_overrides_runpath
=no
10350 hardcode_into_libs
=yes
10354 version_type
=linux
# correct to gnu/linux during the next big refactor
10357 dynamic_linker
="$host_os runtime_loader"
10358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10359 soname_spec
='${libname}${release}${shared_ext}$major'
10360 shlibpath_var
=LIBRARY_PATH
10361 shlibpath_overrides_runpath
=yes
10362 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10363 hardcode_into_libs
=yes
10366 hpux9
* | hpux10
* | hpux11
*)
10367 # Give a soname corresponding to the major version so that dld.sl refuses to
10368 # link against other versions.
10375 hardcode_into_libs
=yes
10376 dynamic_linker
="$host_os dld.so"
10377 shlibpath_var
=LD_LIBRARY_PATH
10378 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10380 soname_spec
='${libname}${release}${shared_ext}$major'
10381 if test "X$HPUX_IA64_MODE" = X32
; then
10382 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10384 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10386 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10390 hardcode_into_libs
=yes
10391 dynamic_linker
="$host_os dld.sl"
10392 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10393 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10395 soname_spec
='${libname}${release}${shared_ext}$major'
10396 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10397 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10401 dynamic_linker
="$host_os dld.sl"
10402 shlibpath_var
=SHLIB_PATH
10403 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10405 soname_spec
='${libname}${release}${shared_ext}$major'
10408 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10409 postinstall_cmds
='chmod 555 $lib'
10410 # or fails outright, so override atomically:
10411 install_override_mode
=555
10415 version_type
=linux
# correct to gnu/linux during the next big refactor
10418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10419 soname_spec
='${libname}${release}${shared_ext}$major'
10420 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10421 shlibpath_var
=LD_LIBRARY_PATH
10422 shlibpath_overrides_runpath
=no
10423 hardcode_into_libs
=yes
10426 irix5
* | irix6
* | nonstopux
*)
10428 nonstopux
*) version_type
=nonstopux
;;
10430 if test "$lt_cv_prog_gnu_ld" = yes; then
10431 version_type
=linux
# correct to gnu/linux during the next big refactor
10438 soname_spec
='${libname}${release}${shared_ext}$major'
10439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10441 irix5
* | nonstopux
*)
10442 libsuff
= shlibsuff
=
10445 case $LD in # libtool.m4 will add one of these switches to LD
10446 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10447 libsuff
= shlibsuff
= libmagic
=32-bit;;
10448 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10449 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10450 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10451 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10452 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10456 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10457 shlibpath_overrides_runpath
=no
10458 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10459 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10460 hardcode_into_libs
=yes
10463 # No shared lib support for Linux oldld, aout, or coff.
10464 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10468 # This must be glibc/ELF.
10469 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10470 version_type
=linux
# correct to gnu/linux during the next big refactor
10473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10474 soname_spec
='${libname}${release}${shared_ext}$major'
10475 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10476 shlibpath_var
=LD_LIBRARY_PATH
10477 shlibpath_overrides_runpath
=no
10479 # Some binutils ld are patched to set DT_RUNPATH
10480 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10481 $as_echo_n "(cached) " >&6
10483 lt_cv_shlibpath_overrides_runpath
=no
10484 save_LDFLAGS
=$LDFLAGS
10485 save_libdir
=$libdir
10486 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10487 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10489 /* end confdefs.h. */
10499 if ac_fn_c_try_link
"$LINENO"; then :
10500 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10501 lt_cv_shlibpath_overrides_runpath
=yes
10504 rm -f core conftest.err conftest.
$ac_objext \
10505 conftest
$ac_exeext conftest.
$ac_ext
10506 LDFLAGS
=$save_LDFLAGS
10507 libdir
=$save_libdir
10511 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10513 # This implies no fast_install, which is unacceptable.
10514 # Some rework will be needed to allow for fast_install
10515 # before this can be enabled.
10516 hardcode_into_libs
=yes
10518 # Add ABI-specific directories to the system library path.
10519 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
10521 # Append ld.so.conf contents to the search path
10522 if test -f /etc
/ld.so.conf
; then
10523 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' ' '`
10524 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10528 # We used to test for /lib/ld.so.1 and disable shared libraries on
10529 # powerpc, because MkLinux only supported shared libraries with the
10530 # GNU dynamic linker. Since this was broken with cross compilers,
10531 # most powerpc-linux boxes support dynamic linking these days and
10532 # people can always --disable-shared, the test was removed, and we
10533 # assume the GNU/Linux dynamic linker is in use.
10534 dynamic_linker
='GNU/Linux ld.so'
10541 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10543 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10544 dynamic_linker
='NetBSD (a.out) ld.so'
10546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10547 soname_spec
='${libname}${release}${shared_ext}$major'
10548 dynamic_linker
='NetBSD ld.elf_so'
10550 shlibpath_var
=LD_LIBRARY_PATH
10551 shlibpath_overrides_runpath
=yes
10552 hardcode_into_libs
=yes
10556 version_type
=linux
# correct to gnu/linux during the next big refactor
10557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10558 shlibpath_var
=LD_LIBRARY_PATH
10559 shlibpath_overrides_runpath
=yes
10566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec
='${libname}${release}${shared_ext}$major'
10568 shlibpath_var
=LD_LIBRARY_PATH
10569 shlibpath_overrides_runpath
=no
10570 hardcode_into_libs
=yes
10571 dynamic_linker
='ldqnx.so'
10576 sys_lib_dlsearch_path_spec
="/usr/lib"
10578 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10580 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10581 *) need_version
=no
;;
10583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10584 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10585 shlibpath_var
=LD_LIBRARY_PATH
10586 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10588 openbsd2.
[89] | openbsd2.
[89].
*)
10589 shlibpath_overrides_runpath
=no
10592 shlibpath_overrides_runpath
=yes
10596 shlibpath_overrides_runpath
=yes
10601 libname_spec
='$name'
10604 library_names_spec
='$libname${shared_ext} $libname.a'
10605 dynamic_linker
='OS/2 ld.exe'
10606 shlibpath_var
=LIBPATH
10609 osf3
* | osf4
* | osf5
*)
10613 soname_spec
='${libname}${release}${shared_ext}$major'
10614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10615 shlibpath_var
=LD_LIBRARY_PATH
10616 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10617 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10625 version_type
=linux
# correct to gnu/linux during the next big refactor
10628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629 soname_spec
='${libname}${release}${shared_ext}$major'
10630 shlibpath_var
=LD_LIBRARY_PATH
10631 shlibpath_overrides_runpath
=yes
10632 hardcode_into_libs
=yes
10633 # ldd complains unless libraries are executable
10634 postinstall_cmds
='chmod +x $lib'
10639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10640 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10641 shlibpath_var
=LD_LIBRARY_PATH
10642 shlibpath_overrides_runpath
=yes
10643 if test "$with_gnu_ld" = yes; then
10650 version_type
=linux
# correct to gnu/linux during the next big refactor
10651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10652 soname_spec
='${libname}${release}${shared_ext}$major'
10653 shlibpath_var
=LD_LIBRARY_PATH
10654 case $host_vendor in
10656 shlibpath_overrides_runpath
=no
10658 runpath_var
=LD_RUN_PATH
10666 shlibpath_overrides_runpath
=no
10667 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10673 if test -d /usr
/nec
;then
10674 version_type
=linux
# correct to gnu/linux during the next big refactor
10675 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10676 soname_spec
='$libname${shared_ext}.$major'
10677 shlibpath_var
=LD_LIBRARY_PATH
10681 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10682 version_type
=freebsd-elf
10685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10686 soname_spec
='${libname}${release}${shared_ext}$major'
10687 shlibpath_var
=LD_LIBRARY_PATH
10688 shlibpath_overrides_runpath
=yes
10689 hardcode_into_libs
=yes
10690 if test "$with_gnu_ld" = yes; then
10691 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10693 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10696 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10700 sys_lib_dlsearch_path_spec
='/usr/lib'
10704 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10705 version_type
=linux
# correct to gnu/linux during the next big refactor
10708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10709 shlibpath_var
=LD_LIBRARY_PATH
10710 shlibpath_overrides_runpath
=no
10711 hardcode_into_libs
=yes
10715 version_type
=linux
# correct to gnu/linux during the next big refactor
10716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10717 soname_spec
='${libname}${release}${shared_ext}$major'
10718 shlibpath_var
=LD_LIBRARY_PATH
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10726 $as_echo "$dynamic_linker" >&6; }
10727 test "$dynamic_linker" = no
&& can_build_shared
=no
10729 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10730 if test "$GCC" = yes; then
10731 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10734 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10735 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10737 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10738 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10833 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10835 if test -n "$hardcode_libdir_flag_spec" ||
10836 test -n "$runpath_var" ||
10837 test "X$hardcode_automatic" = "Xyes" ; then
10839 # We can hardcode non-existent directories.
10840 if test "$hardcode_direct" != no
&&
10841 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10842 # have to relink, otherwise we might link with an installed library
10843 # when we should be linking with a yet-to-be-installed one
10844 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10845 test "$hardcode_minus_L" != no
; then
10846 # Linking always hardcodes the temporary library directory.
10847 hardcode_action
=relink
10849 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10850 hardcode_action
=immediate
10853 # We cannot hardcode anything, or else we can only hardcode existing
10855 hardcode_action
=unsupported
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10858 $as_echo "$hardcode_action" >&6; }
10860 if test "$hardcode_action" = relink ||
10861 test "$inherit_rpath" = yes; then
10862 # Fast installation is not supported
10863 enable_fast_install
=no
10864 elif test "$shlibpath_overrides_runpath" = yes ||
10865 test "$enable_shared" = no
; then
10866 # Fast installation is not necessary
10867 enable_fast_install
=needless
10875 if test "x$enable_dlopen" != xyes
; then
10876 enable_dlopen
=unknown
10877 enable_dlopen_self
=unknown
10878 enable_dlopen_self_static
=unknown
10885 lt_cv_dlopen
="load_add_on"
10887 lt_cv_dlopen_self
=yes
10890 mingw
* | pw32
* | cegcc
*)
10891 lt_cv_dlopen
="LoadLibrary"
10896 lt_cv_dlopen
="dlopen"
10901 # if libdl is installed we need to link against it
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10903 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10904 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10905 $as_echo_n "(cached) " >&6
10907 ac_check_lib_save_LIBS
=$LIBS
10909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10910 /* end confdefs.h. */
10912 /* Override any GCC internal prototype to avoid an error.
10913 Use char because int might match the return type of a GCC
10914 builtin and then its argument prototype would still apply. */
10927 if ac_fn_c_try_link
"$LINENO"; then :
10928 ac_cv_lib_dl_dlopen
=yes
10930 ac_cv_lib_dl_dlopen
=no
10932 rm -f core conftest.err conftest.
$ac_objext \
10933 conftest
$ac_exeext conftest.
$ac_ext
10934 LIBS
=$ac_check_lib_save_LIBS
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10937 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10938 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10939 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10942 lt_cv_dlopen
="dyld"
10944 lt_cv_dlopen_self
=yes
10951 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10952 if test "x$ac_cv_func_shl_load" = xyes
; then :
10953 lt_cv_dlopen
="shl_load"
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10956 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10957 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10958 $as_echo_n "(cached) " >&6
10960 ac_check_lib_save_LIBS
=$LIBS
10962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10975 return shl_load ();
10980 if ac_fn_c_try_link
"$LINENO"; then :
10981 ac_cv_lib_dld_shl_load
=yes
10983 ac_cv_lib_dld_shl_load
=no
10985 rm -f core conftest.err conftest.
$ac_objext \
10986 conftest
$ac_exeext conftest.
$ac_ext
10987 LIBS
=$ac_check_lib_save_LIBS
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10990 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10991 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10992 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10994 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10995 if test "x$ac_cv_func_dlopen" = xyes
; then :
10996 lt_cv_dlopen
="dlopen"
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10999 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11000 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11001 $as_echo_n "(cached) " >&6
11003 ac_check_lib_save_LIBS
=$LIBS
11005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11023 if ac_fn_c_try_link
"$LINENO"; then :
11024 ac_cv_lib_dl_dlopen
=yes
11026 ac_cv_lib_dl_dlopen
=no
11028 rm -f core conftest.err conftest.
$ac_objext \
11029 conftest
$ac_exeext conftest.
$ac_ext
11030 LIBS
=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11033 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11034 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11035 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11038 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11039 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11040 $as_echo_n "(cached) " >&6
11042 ac_check_lib_save_LIBS
=$LIBS
11043 LIBS
="-lsvld $LIBS"
11044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11047 /* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
11062 if ac_fn_c_try_link
"$LINENO"; then :
11063 ac_cv_lib_svld_dlopen
=yes
11065 ac_cv_lib_svld_dlopen
=no
11067 rm -f core conftest.err conftest.
$ac_objext \
11068 conftest
$ac_exeext conftest.
$ac_ext
11069 LIBS
=$ac_check_lib_save_LIBS
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11072 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11073 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11074 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11077 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11078 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11079 $as_echo_n "(cached) " >&6
11081 ac_check_lib_save_LIBS
=$LIBS
11083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11096 return dld_link ();
11101 if ac_fn_c_try_link
"$LINENO"; then :
11102 ac_cv_lib_dld_dld_link
=yes
11104 ac_cv_lib_dld_dld_link
=no
11106 rm -f core conftest.err conftest.
$ac_objext \
11107 conftest
$ac_exeext conftest.
$ac_ext
11108 LIBS
=$ac_check_lib_save_LIBS
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11111 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11112 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11113 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11134 if test "x$lt_cv_dlopen" != xno
; then
11140 case $lt_cv_dlopen in
11142 save_CPPFLAGS
="$CPPFLAGS"
11143 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11145 save_LDFLAGS
="$LDFLAGS"
11146 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11149 LIBS
="$lt_cv_dlopen_libs $LIBS"
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11152 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11153 if ${lt_cv_dlopen_self+:} false
; then :
11154 $as_echo_n "(cached) " >&6
11156 if test "$cross_compiling" = yes; then :
11157 lt_cv_dlopen_self
=cross
11159 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11160 lt_status
=$lt_dlunknown
11161 cat > conftest.
$ac_ext <<_LT_EOF
11162 #line $LINENO "configure"
11163 #include "confdefs.h"
11172 # define LT_DLGLOBAL RTLD_GLOBAL
11175 # define LT_DLGLOBAL DL_GLOBAL
11177 # define LT_DLGLOBAL 0
11181 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11182 find out it does not work in some platform. */
11183 #ifndef LT_DLLAZY_OR_NOW
11185 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11188 # define LT_DLLAZY_OR_NOW DL_LAZY
11191 # define LT_DLLAZY_OR_NOW RTLD_NOW
11194 # define LT_DLLAZY_OR_NOW DL_NOW
11196 # define LT_DLLAZY_OR_NOW 0
11203 /* When -fvisbility=hidden is used, assume the code has been annotated
11204 correspondingly for the symbols needed. */
11205 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11206 int fnord () __attribute__((visibility("default")));
11209 int fnord () { return 42; }
11212 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11213 int status = $lt_dlunknown;
11217 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11220 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11221 else puts (dlerror ());
11223 /* dlclose (self); */
11231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11232 (eval $ac_link) 2>&5
11234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11235 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11236 (.
/conftest
; exit; ) >&5 2>/dev
/null
11238 case x
$lt_status in
11239 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11240 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11241 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11244 # compilation failed
11245 lt_cv_dlopen_self
=no
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11253 $as_echo "$lt_cv_dlopen_self" >&6; }
11255 if test "x$lt_cv_dlopen_self" = xyes
; then
11256 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11258 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11259 if ${lt_cv_dlopen_self_static+:} false
; then :
11260 $as_echo_n "(cached) " >&6
11262 if test "$cross_compiling" = yes; then :
11263 lt_cv_dlopen_self_static
=cross
11265 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11266 lt_status
=$lt_dlunknown
11267 cat > conftest.
$ac_ext <<_LT_EOF
11268 #line $LINENO "configure"
11269 #include "confdefs.h"
11278 # define LT_DLGLOBAL RTLD_GLOBAL
11281 # define LT_DLGLOBAL DL_GLOBAL
11283 # define LT_DLGLOBAL 0
11287 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11288 find out it does not work in some platform. */
11289 #ifndef LT_DLLAZY_OR_NOW
11291 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11294 # define LT_DLLAZY_OR_NOW DL_LAZY
11297 # define LT_DLLAZY_OR_NOW RTLD_NOW
11300 # define LT_DLLAZY_OR_NOW DL_NOW
11302 # define LT_DLLAZY_OR_NOW 0
11309 /* When -fvisbility=hidden is used, assume the code has been annotated
11310 correspondingly for the symbols needed. */
11311 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11312 int fnord () __attribute__((visibility("default")));
11315 int fnord () { return 42; }
11318 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11319 int status = $lt_dlunknown;
11323 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11326 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11327 else puts (dlerror ());
11329 /* dlclose (self); */
11337 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11338 (eval $ac_link) 2>&5
11340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11341 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11342 (.
/conftest
; exit; ) >&5 2>/dev
/null
11344 case x
$lt_status in
11345 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11346 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11347 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11350 # compilation failed
11351 lt_cv_dlopen_self_static
=no
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11359 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11362 CPPFLAGS
="$save_CPPFLAGS"
11363 LDFLAGS
="$save_LDFLAGS"
11368 case $lt_cv_dlopen_self in
11369 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11370 *) enable_dlopen_self
=unknown
;;
11373 case $lt_cv_dlopen_self_static in
11374 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11375 *) enable_dlopen_self_static
=unknown
;;
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11398 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11399 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11400 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11401 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11403 $as_echo "yes" >&6; }
11405 # FIXME - insert some real tests, host_os isn't really good enough
11408 if test -n "$STRIP" ; then
11409 striplib
="$STRIP -x"
11410 old_striplib
="$STRIP -S"
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11412 $as_echo "yes" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11415 $as_echo "no" >&6; }
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11420 $as_echo "no" >&6; }
11436 # Report which library types will actually be built
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11438 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11440 $as_echo "$can_build_shared" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11443 $as_echo_n "checking whether to build shared libraries... " >&6; }
11444 test "$can_build_shared" = "no" && enable_shared
=no
11446 # On AIX, shared libraries and static libraries use the same namespace, and
11447 # are all built from PIC.
11450 test "$enable_shared" = yes && enable_static
=no
11451 if test -n "$RANLIB"; then
11452 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11453 postinstall_cmds
='$RANLIB $lib'
11458 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11459 test "$enable_shared" = yes && enable_static
=no
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11464 $as_echo "$enable_shared" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11467 $as_echo_n "checking whether to build static libraries... " >&6; }
11468 # Make sure either enable_shared or enable_static is yes.
11469 test "$enable_shared" = yes || enable_static
=yes
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11471 $as_echo "$enable_static" >&6; }
11478 ac_cpp
='$CPP $CPPFLAGS'
11479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11499 ac_config_commands
="$ac_config_commands libtool"
11504 # Only expand once:
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
11509 $as_echo_n "checking whether ln -s works... " >&6; }
11511 if test "$LN_S" = "ln -s"; then
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11513 $as_echo "yes" >&6; }
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
11516 $as_echo "no, using $LN_S" >&6; }
11520 ac_cpp
='$CPP $CPPFLAGS'
11521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11524 if test -n "$ac_tool_prefix"; then
11525 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11526 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11528 $as_echo_n "checking for $ac_word... " >&6; }
11529 if ${ac_cv_prog_CC+:} false
; then :
11530 $as_echo_n "(cached) " >&6
11532 if test -n "$CC"; then
11533 ac_cv_prog_CC
="$CC" # Let the user override the test.
11535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11536 for as_dir
in $PATH
11539 test -z "$as_dir" && as_dir
=.
11540 for ac_exec_ext
in '' $ac_executable_extensions; do
11541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11542 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11553 if test -n "$CC"; then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11555 $as_echo "$CC" >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11558 $as_echo "no" >&6; }
11563 if test -z "$ac_cv_prog_CC"; then
11565 # Extract the first word of "gcc", so it can be a program name with args.
11566 set dummy gcc
; ac_word
=$2
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11568 $as_echo_n "checking for $ac_word... " >&6; }
11569 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11570 $as_echo_n "(cached) " >&6
11572 if test -n "$ac_ct_CC"; then
11573 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11576 for as_dir
in $PATH
11579 test -z "$as_dir" && as_dir
=.
11580 for ac_exec_ext
in '' $ac_executable_extensions; do
11581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11582 ac_cv_prog_ac_ct_CC
="gcc"
11583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11592 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11593 if test -n "$ac_ct_CC"; then
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11595 $as_echo "$ac_ct_CC" >&6; }
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11598 $as_echo "no" >&6; }
11601 if test "x$ac_ct_CC" = x
; then
11604 case $cross_compiling:$ac_tool_warned in
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11608 ac_tool_warned
=yes ;;
11613 CC
="$ac_cv_prog_CC"
11616 if test -z "$CC"; then
11617 if test -n "$ac_tool_prefix"; then
11618 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11619 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11621 $as_echo_n "checking for $ac_word... " >&6; }
11622 if ${ac_cv_prog_CC+:} false
; then :
11623 $as_echo_n "(cached) " >&6
11625 if test -n "$CC"; then
11626 ac_cv_prog_CC
="$CC" # Let the user override the test.
11628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11629 for as_dir
in $PATH
11632 test -z "$as_dir" && as_dir
=.
11633 for ac_exec_ext
in '' $ac_executable_extensions; do
11634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11635 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11646 if test -n "$CC"; then
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11648 $as_echo "$CC" >&6; }
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11651 $as_echo "no" >&6; }
11657 if test -z "$CC"; then
11658 # Extract the first word of "cc", so it can be a program name with args.
11659 set dummy cc
; ac_word
=$2
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11661 $as_echo_n "checking for $ac_word... " >&6; }
11662 if ${ac_cv_prog_CC+:} false
; then :
11663 $as_echo_n "(cached) " >&6
11665 if test -n "$CC"; then
11666 ac_cv_prog_CC
="$CC" # Let the user override the test.
11668 ac_prog_rejected
=no
11669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11670 for as_dir
in $PATH
11673 test -z "$as_dir" && as_dir
=.
11674 for ac_exec_ext
in '' $ac_executable_extensions; do
11675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11676 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11677 ac_prog_rejected
=yes
11681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11688 if test $ac_prog_rejected = yes; then
11689 # We found a bogon in the path, so make sure we never use it.
11690 set dummy
$ac_cv_prog_CC
11692 if test $# != 0; then
11693 # We chose a different compiler from the bogus one.
11694 # However, it has the same basename, so the bogon will be chosen
11695 # first if we set CC to just the basename; use the full file name.
11697 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11703 if test -n "$CC"; then
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11705 $as_echo "$CC" >&6; }
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11708 $as_echo "no" >&6; }
11713 if test -z "$CC"; then
11714 if test -n "$ac_tool_prefix"; then
11715 for ac_prog
in cl.exe
11717 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11718 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11720 $as_echo_n "checking for $ac_word... " >&6; }
11721 if ${ac_cv_prog_CC+:} false
; then :
11722 $as_echo_n "(cached) " >&6
11724 if test -n "$CC"; then
11725 ac_cv_prog_CC
="$CC" # Let the user override the test.
11727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11728 for as_dir
in $PATH
11731 test -z "$as_dir" && as_dir
=.
11732 for ac_exec_ext
in '' $ac_executable_extensions; do
11733 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11734 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11745 if test -n "$CC"; then
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11747 $as_echo "$CC" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11750 $as_echo "no" >&6; }
11754 test -n "$CC" && break
11757 if test -z "$CC"; then
11759 for ac_prog
in cl.exe
11761 # Extract the first word of "$ac_prog", so it can be a program name with args.
11762 set dummy
$ac_prog; ac_word
=$2
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11764 $as_echo_n "checking for $ac_word... " >&6; }
11765 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11766 $as_echo_n "(cached) " >&6
11768 if test -n "$ac_ct_CC"; then
11769 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11772 for as_dir
in $PATH
11775 test -z "$as_dir" && as_dir
=.
11776 for ac_exec_ext
in '' $ac_executable_extensions; do
11777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11778 ac_cv_prog_ac_ct_CC
="$ac_prog"
11779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11788 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11789 if test -n "$ac_ct_CC"; then
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11791 $as_echo "$ac_ct_CC" >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11794 $as_echo "no" >&6; }
11798 test -n "$ac_ct_CC" && break
11801 if test "x$ac_ct_CC" = x
; then
11804 case $cross_compiling:$ac_tool_warned in
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11808 ac_tool_warned
=yes ;;
11817 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11819 as_fn_error $?
"no acceptable C compiler found in \$PATH
11820 See \`config.log' for more details" "$LINENO" 5; }
11822 # Provide some information about the compiler.
11823 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11826 for ac_option
in --version -v -V -qversion; do
11827 { { ac_try
="$ac_compiler $ac_option >&5"
11828 case "(($ac_try" in
11829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11830 *) ac_try_echo=$ac_try;;
11832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11833 $as_echo "$ac_try_echo"; } >&5
11834 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11836 if test -s conftest.err; then
11838 ... rest of stderr output deleted ...
11839 10q' conftest.err >conftest.er1
11840 cat conftest.er1 >&5
11842 rm -f conftest.er1 conftest.err
11843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11844 test $ac_status = 0; }
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11848 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11849 if ${ac_cv_c_compiler_gnu+:} false; then :
11850 $as_echo_n "(cached) " >&6
11852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11866 if ac_fn_c_try_compile "$LINENO"; then :
11867 ac_compiler_gnu=yes
11871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11872 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11876 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11877 if test $ac_compiler_gnu = yes; then
11882 ac_test_CFLAGS=${CFLAGS+set}
11883 ac_save_CFLAGS=$CFLAGS
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11885 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11886 if ${ac_cv_prog_cc_g+:} false; then :
11887 $as_echo_n "(cached) " >&6
11889 ac_save_c_werror_flag=$ac_c_werror_flag
11890 ac_c_werror_flag=yes
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11904 if ac_fn_c_try_compile "$LINENO"; then :
11905 ac_cv_prog_cc_g=yes
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11919 if ac_fn_c_try_compile "$LINENO"; then :
11922 ac_c_werror_flag=$ac_save_c_werror_flag
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11935 if ac_fn_c_try_compile "$LINENO"; then :
11936 ac_cv_prog_cc_g=yes
11938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11943 ac_c_werror_flag=$ac_save_c_werror_flag
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11946 $as_echo "$ac_cv_prog_cc_g" >&6; }
11947 if test "$ac_test_CFLAGS" = set; then
11948 CFLAGS=$ac_save_CFLAGS
11949 elif test $ac_cv_prog_cc_g = yes; then
11950 if test "$GCC" = yes; then
11956 if test "$GCC" = yes; then
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11963 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11964 if ${ac_cv_prog_cc_c89+:} false; then :
11965 $as_echo_n "(cached) " >&6
11967 ac_cv_prog_cc_c89=no
11969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11971 #include <stdarg.h>
11974 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11975 struct buf { int x; };
11976 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11977 static char *e (p, i)
11983 static char *f (char * (*g) (char **, int), char **p, ...)
11988 s = g (p, va_arg (v,int));
11993 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11994 function prototypes and stuff, but not '\xHH' hex character constants.
11995 These don't provoke an error unfortunately, instead are silently treated
11996 as 'x'. The following induces an error, until -std is added to get
11997 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11998 array size at least. It's necessary to write '\x00'==0 to get something
11999 that's true only with -std. */
12000 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12002 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12003 inside strings and character constants. */
12005 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12007 int test (int i, double x);
12008 struct s1 {int (*f) (int a);};
12009 struct s2 {int (*f) (double a);};
12010 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12016 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12021 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12022 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12024 CC="$ac_save_CC $ac_arg"
12025 if ac_fn_c_try_compile "$LINENO"; then :
12026 ac_cv_prog_cc_c89=$ac_arg
12028 rm -f core conftest.err conftest.$ac_objext
12029 test "x$ac_cv_prog_cc_c89" != "xno" && break
12031 rm -f conftest.$ac_ext
12036 case "x$ac_cv_prog_cc_c89" in
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12039 $as_echo "none needed" >&6; } ;;
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12042 $as_echo "unsupported" >&6; } ;;
12044 CC="$CC $ac_cv_prog_cc_c89"
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12046 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12048 if test "x$ac_cv_prog_cc_c89" != xno; then :
12053 ac_cpp='$CPP $CPPFLAGS'
12054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058 depcc="$CC" am_compiler_list=
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12061 $as_echo_n "checking dependency style of $depcc... " >&6; }
12062 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12063 $as_echo_n "(cached) " >&6
12065 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12066 # We make a subdir and do the tests there. Otherwise we can end up
12067 # making bogus files that we don't know about and never remove. For
12068 # instance it was reported that on HP-UX the gcc test will end up
12069 # making a dummy file named 'D' -- because '-MD' means "put the output
12071 rm -rf conftest.dir
12073 # Copy depcomp to subdir because otherwise we won't find it if we're
12074 # using a relative directory.
12075 cp "$am_depcomp" conftest.dir
12077 # We will build objects and dependencies in a subdirectory because
12078 # it helps to detect inapplicable dependency modes. For instance
12079 # both Tru64's cc and ICC support -MD to output dependencies as a
12080 # side effect of compilation, but ICC will put the dependencies in
12081 # the current directory while Tru64 will put them in the object
12085 am_cv_CC_dependencies_compiler_type=none
12086 if test "$am_compiler_list" = ""; then
12087 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12089 am__universal=false
12090 case " $depcc " in #(
12091 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12094 for depmode in $am_compiler_list; do
12095 # Setup a source with many dependencies, because some compilers
12096 # like to wrap large dependency lists on column 80 (with \), and
12097 # we should not choose a depcomp mode which is confused by this.
12099 # We need to recreate these files for each test, as the compiler may
12100 # overwrite some of them when testing with obscure command lines.
12101 # This happens at least with the AIX C compiler.
12103 for i in 1 2 3 4 5 6; do
12104 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12105 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12106 # Solaris 10 /bin/sh.
12107 echo '/* dummy */' > sub/conftst$i.h
12109 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12111 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12112 # mode. It turns out that the SunPro C++ compiler does not properly
12113 # handle '-M -o', and we need to detect this. Also, some Intel
12114 # versions had trouble with output in subdirs.
12115 am__obj=sub/conftest.${OBJEXT-o}
12116 am__minus_obj="-o $am__obj"
12119 # This depmode causes a compiler race in universal mode.
12120 test "$am__universal" = false || continue
12123 # After this tag, mechanisms are not by side-effect, so they'll
12124 # only be used when explicitly requested.
12125 if test "x$enable_dependency_tracking" = xyes; then
12131 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12132 # This compiler won't grok '-c -o', but also, the minuso test has
12133 # not run yet. These depmodes are late enough in the game, and
12134 # so weak that their functioning should not be impacted.
12135 am__obj=conftest.${OBJEXT-o}
12140 if depmode=$depmode \
12141 source=sub/conftest.c object=$am__obj \
12142 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12143 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12144 >/dev/null 2>conftest.err &&
12145 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12146 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12147 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12148 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12149 # icc doesn't choke on unknown options, it will just issue warnings
12150 # or remarks (even with -Werror). So we grep stderr for any message
12151 # that says an option was ignored or not supported.
12152 # When given -MP, icc 7.0 and 7.1 complain thusly:
12153 # icc: Command line warning: ignoring option '-M'; no argument required
12154 # The diagnosis changed in icc 8.0:
12155 # icc: Command line remark: option '-MP' not supported
12156 if (grep 'ignoring option' conftest.err ||
12157 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12158 am_cv_CC_dependencies_compiler_type=$depmode
12165 rm -rf conftest.dir
12167 am_cv_CC_dependencies_compiler_type=none
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12172 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12173 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12176 test "x$enable_dependency_tracking" != xno \
12177 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12178 am__fastdepCC_TRUE=
12179 am__fastdepCC_FALSE='#'
12181 am__fastdepCC_TRUE='#'
12182 am__fastdepCC_FALSE=
12187 ac_cpp='$CXXCPP $CPPFLAGS'
12188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12191 if test -z "$CXX"; then
12192 if test -n "$CCC"; then
12195 if test -n "$ac_tool_prefix"; then
12196 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12201 $as_echo_n "checking for $ac_word... " >&6; }
12202 if ${ac_cv_prog_CXX+:} false; then :
12203 $as_echo_n "(cached) " >&6
12205 if test -n "$CXX"; then
12206 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12209 for as_dir in $PATH
12212 test -z "$as_dir" && as_dir=.
12213 for ac_exec_ext in '' $ac_executable_extensions; do
12214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12215 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12225 CXX=$ac_cv_prog_CXX
12226 if test -n "$CXX"; then
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12228 $as_echo "$CXX" >&6; }
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12231 $as_echo "no" >&6; }
12235 test -n "$CXX" && break
12238 if test -z "$CXX"; then
12240 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12242 # Extract the first word of "$ac_prog", so it can be a program name with args.
12243 set dummy $ac_prog; ac_word=$2
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12245 $as_echo_n "checking for $ac_word... " >&6; }
12246 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12247 $as_echo_n "(cached) " >&6
12249 if test -n "$ac_ct_CXX"; then
12250 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12253 for as_dir in $PATH
12256 test -z "$as_dir" && as_dir=.
12257 for ac_exec_ext in '' $ac_executable_extensions; do
12258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12259 ac_cv_prog_ac_ct_CXX="$ac_prog"
12260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12269 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12270 if test -n "$ac_ct_CXX"; then
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12272 $as_echo "$ac_ct_CXX" >&6; }
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12275 $as_echo "no" >&6; }
12279 test -n "$ac_ct_CXX" && break
12282 if test "x$ac_ct_CXX" = x; then
12285 case $cross_compiling:$ac_tool_warned in
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12289 ac_tool_warned=yes ;;
12297 # Provide some information about the compiler.
12298 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12301 for ac_option in --version -v -V -qversion; do
12302 { { ac_try="$ac_compiler $ac_option >&5"
12303 case "(($ac_try" in
12304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12305 *) ac_try_echo
=$ac_try;;
12307 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12308 $as_echo "$ac_try_echo"; } >&5
12309 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12311 if test -s conftest.err
; then
12313 ... rest of stderr output deleted ...
12314 10q' conftest.err
>conftest.er1
12315 cat conftest.er1
>&5
12317 rm -f conftest.er1 conftest.err
12318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12319 test $ac_status = 0; }
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12323 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12324 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
12325 $as_echo_n "(cached) " >&6
12327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12341 if ac_fn_cxx_try_compile
"$LINENO"; then :
12342 ac_compiler_gnu
=yes
12346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12347 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12351 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12352 if test $ac_compiler_gnu = yes; then
12357 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12358 ac_save_CXXFLAGS
=$CXXFLAGS
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12360 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12361 if ${ac_cv_prog_cxx_g+:} false
; then :
12362 $as_echo_n "(cached) " >&6
12364 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
12365 ac_cxx_werror_flag
=yes
12366 ac_cv_prog_cxx_g
=no
12368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12369 /* end confdefs.h. */
12379 if ac_fn_cxx_try_compile
"$LINENO"; then :
12380 ac_cv_prog_cxx_g
=yes
12383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12394 if ac_fn_cxx_try_compile
"$LINENO"; then :
12397 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12410 if ac_fn_cxx_try_compile
"$LINENO"; then :
12411 ac_cv_prog_cxx_g
=yes
12413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12418 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12421 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12422 if test "$ac_test_CXXFLAGS" = set; then
12423 CXXFLAGS
=$ac_save_CXXFLAGS
12424 elif test $ac_cv_prog_cxx_g = yes; then
12425 if test "$GXX" = yes; then
12431 if test "$GXX" = yes; then
12438 ac_cpp
='$CPP $CPPFLAGS'
12439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12443 depcc
="$CXX" am_compiler_list
=
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12446 $as_echo_n "checking dependency style of $depcc... " >&6; }
12447 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
12448 $as_echo_n "(cached) " >&6
12450 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12451 # We make a subdir and do the tests there. Otherwise we can end up
12452 # making bogus files that we don't know about and never remove. For
12453 # instance it was reported that on HP-UX the gcc test will end up
12454 # making a dummy file named 'D' -- because '-MD' means "put the output
12456 rm -rf conftest.dir
12458 # Copy depcomp to subdir because otherwise we won't find it if we're
12459 # using a relative directory.
12460 cp "$am_depcomp" conftest.dir
12462 # We will build objects and dependencies in a subdirectory because
12463 # it helps to detect inapplicable dependency modes. For instance
12464 # both Tru64's cc and ICC support -MD to output dependencies as a
12465 # side effect of compilation, but ICC will put the dependencies in
12466 # the current directory while Tru64 will put them in the object
12470 am_cv_CXX_dependencies_compiler_type
=none
12471 if test "$am_compiler_list" = ""; then
12472 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12474 am__universal
=false
12475 case " $depcc " in #(
12476 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
12479 for depmode
in $am_compiler_list; do
12480 # Setup a source with many dependencies, because some compilers
12481 # like to wrap large dependency lists on column 80 (with \), and
12482 # we should not choose a depcomp mode which is confused by this.
12484 # We need to recreate these files for each test, as the compiler may
12485 # overwrite some of them when testing with obscure command lines.
12486 # This happens at least with the AIX C compiler.
12488 for i
in 1 2 3 4 5 6; do
12489 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12490 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12491 # Solaris 10 /bin/sh.
12492 echo '/* dummy */' > sub
/conftst
$i.h
12494 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12496 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12497 # mode. It turns out that the SunPro C++ compiler does not properly
12498 # handle '-M -o', and we need to detect this. Also, some Intel
12499 # versions had trouble with output in subdirs.
12500 am__obj
=sub
/conftest.
${OBJEXT-o}
12501 am__minus_obj
="-o $am__obj"
12504 # This depmode causes a compiler race in universal mode.
12505 test "$am__universal" = false ||
continue
12508 # After this tag, mechanisms are not by side-effect, so they'll
12509 # only be used when explicitly requested.
12510 if test "x$enable_dependency_tracking" = xyes
; then
12516 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
12517 # This compiler won't grok '-c -o', but also, the minuso test has
12518 # not run yet. These depmodes are late enough in the game, and
12519 # so weak that their functioning should not be impacted.
12520 am__obj
=conftest.
${OBJEXT-o}
12525 if depmode
=$depmode \
12526 source=sub
/conftest.c object
=$am__obj \
12527 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12528 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12529 >/dev
/null
2>conftest.err
&&
12530 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12531 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12532 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12533 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12534 # icc doesn't choke on unknown options, it will just issue warnings
12535 # or remarks (even with -Werror). So we grep stderr for any message
12536 # that says an option was ignored or not supported.
12537 # When given -MP, icc 7.0 and 7.1 complain thusly:
12538 # icc: Command line warning: ignoring option '-M'; no argument required
12539 # The diagnosis changed in icc 8.0:
12540 # icc: Command line remark: option '-MP' not supported
12541 if (grep 'ignoring option' conftest.err ||
12542 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12543 am_cv_CXX_dependencies_compiler_type
=$depmode
12550 rm -rf conftest.dir
12552 am_cv_CXX_dependencies_compiler_type
=none
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12557 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12558 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12561 test "x$enable_dependency_tracking" != xno \
12562 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12563 am__fastdepCXX_TRUE
=
12564 am__fastdepCXX_FALSE
='#'
12566 am__fastdepCXX_TRUE
='#'
12567 am__fastdepCXX_FALSE
=
12573 func_stripname_cnf
()
12576 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12577 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12579 } # func_stripname_cnf
12581 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12582 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12583 (test "X$CXX" != "Xg++"))) ; then
12585 ac_cpp
='$CXXCPP $CPPFLAGS'
12586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12590 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12591 if test -z "$CXXCPP"; then
12592 if ${ac_cv_prog_CXXCPP+:} false
; then :
12593 $as_echo_n "(cached) " >&6
12595 # Double quotes because CXXCPP needs to be expanded
12596 for CXXCPP
in "$CXX -E" "/lib/cpp"
12598 ac_preproc_ok
=false
12599 for ac_cxx_preproc_warn_flag
in '' yes
12601 # Use a header file that comes with gcc, so configuring glibc
12602 # with a fresh cross-compiler works.
12603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12604 # <limits.h> exists even on freestanding compilers.
12605 # On the NeXT, cc -E runs the code through the compiler's parser,
12606 # not just through cpp. "Syntax error" is here to catch this case.
12607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12610 # include <limits.h>
12612 # include <assert.h>
12616 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12619 # Broken: fails on valid input.
12622 rm -f conftest.err conftest.i conftest.
$ac_ext
12624 # OK, works on sane cases. Now check whether nonexistent headers
12625 # can be detected and how.
12626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12628 #include <ac_nonexistent.h>
12630 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12631 # Broken: success on invalid input.
12634 # Passes both tests.
12638 rm -f conftest.err conftest.i conftest.
$ac_ext
12641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12642 rm -f conftest.i conftest.err conftest.
$ac_ext
12643 if $ac_preproc_ok; then :
12648 ac_cv_prog_CXXCPP
=$CXXCPP
12651 CXXCPP
=$ac_cv_prog_CXXCPP
12653 ac_cv_prog_CXXCPP
=$CXXCPP
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12656 $as_echo "$CXXCPP" >&6; }
12657 ac_preproc_ok
=false
12658 for ac_cxx_preproc_warn_flag
in '' yes
12660 # Use a header file that comes with gcc, so configuring glibc
12661 # with a fresh cross-compiler works.
12662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12663 # <limits.h> exists even on freestanding compilers.
12664 # On the NeXT, cc -E runs the code through the compiler's parser,
12665 # not just through cpp. "Syntax error" is here to catch this case.
12666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12669 # include <limits.h>
12671 # include <assert.h>
12675 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12678 # Broken: fails on valid input.
12681 rm -f conftest.err conftest.i conftest.
$ac_ext
12683 # OK, works on sane cases. Now check whether nonexistent headers
12684 # can be detected and how.
12685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12687 #include <ac_nonexistent.h>
12689 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12690 # Broken: success on invalid input.
12693 # Passes both tests.
12697 rm -f conftest.err conftest.i conftest.
$ac_ext
12700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12701 rm -f conftest.i conftest.err conftest.
$ac_ext
12702 if $ac_preproc_ok; then :
12705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12707 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12708 See \`config.log' for more details" "$LINENO" 5; }
12712 ac_cpp
='$CPP $CPPFLAGS'
12713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12718 _lt_caught_CXX_error
=yes
12722 ac_cpp
='$CXXCPP $CPPFLAGS'
12723 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12724 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12725 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12727 archive_cmds_need_lc_CXX
=no
12728 allow_undefined_flag_CXX
=
12729 always_export_symbols_CXX
=no
12730 archive_expsym_cmds_CXX
=
12731 compiler_needs_object_CXX
=no
12732 export_dynamic_flag_spec_CXX
=
12733 hardcode_direct_CXX
=no
12734 hardcode_direct_absolute_CXX
=no
12735 hardcode_libdir_flag_spec_CXX
=
12736 hardcode_libdir_separator_CXX
=
12737 hardcode_minus_L_CXX
=no
12738 hardcode_shlibpath_var_CXX
=unsupported
12739 hardcode_automatic_CXX
=no
12740 inherit_rpath_CXX
=no
12742 module_expsym_cmds_CXX
=
12743 link_all_deplibs_CXX
=unknown
12744 old_archive_cmds_CXX
=$old_archive_cmds
12745 reload_flag_CXX
=$reload_flag
12746 reload_cmds_CXX
=$reload_cmds
12747 no_undefined_flag_CXX
=
12748 whole_archive_flag_spec_CXX
=
12749 enable_shared_with_static_runtimes_CXX
=no
12751 # Source file extension for C++ test sources.
12754 # Object file extension for compiled C++ test sources.
12758 # No sense in running all these tests if we already determined that
12759 # the CXX compiler isn't working. Some variables (like enable_shared)
12760 # are currently assumed to apply to all compilers on this platform,
12761 # and will be corrupted by setting them based on a non-working compiler.
12762 if test "$_lt_caught_CXX_error" != yes; then
12763 # Code to be used in simple compile tests
12764 lt_simple_compile_test_code
="int some_variable = 0;"
12766 # Code to be used in simple link tests
12767 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12769 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12776 # If no C compiler was specified, use CC.
12779 # If no C compiler flags were specified, use CFLAGS.
12780 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12782 # Allow CC to be a program name with arguments.
12786 # save warnings/boilerplate of simple test code
12787 ac_outfile
=conftest.
$ac_objext
12788 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12789 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12790 _lt_compiler_boilerplate
=`cat conftest.err`
12793 ac_outfile
=conftest.
$ac_objext
12794 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12795 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12796 _lt_linker_boilerplate
=`cat conftest.err`
12800 # Allow CC to be a program name with arguments.
12802 lt_save_CFLAGS
=$CFLAGS
12806 lt_save_with_gnu_ld
=$with_gnu_ld
12807 lt_save_path_LD
=$lt_cv_path_LD
12808 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12809 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12811 $as_unset lt_cv_prog_gnu_ld
12813 if test -n "${lt_cv_path_LDCXX+set}"; then
12814 lt_cv_path_LD
=$lt_cv_path_LDCXX
12816 $as_unset lt_cv_path_LD
12818 test -z "${LDCXX+set}" || LD
=$LDCXX
12823 for cc_temp
in $compiler""; do
12825 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12826 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12831 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12834 if test -n "$compiler"; then
12835 # We don't want -fno-exception when compiling C++ code, so set the
12836 # no_builtin_flag separately
12837 if test "$GXX" = yes; then
12838 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12840 lt_prog_compiler_no_builtin_flag_CXX
=
12843 if test "$GXX" = yes; then
12844 # Set up default GNU C++ configuration
12848 # Check whether --with-gnu-ld was given.
12849 if test "${with_gnu_ld+set}" = set; then :
12850 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12856 if test "$GCC" = yes; then
12857 # Check if gcc -print-prog-name=ld gives a path.
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12859 $as_echo_n "checking for ld used by $CC... " >&6; }
12862 # gcc leaves a trailing carriage return which upsets mingw
12863 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12865 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12868 # Accept absolute paths.
12870 re_direlt
='/[^/][^/]*/\.\./'
12871 # Canonicalize the pathname of ld
12872 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12873 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12874 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12876 test -z "$LD" && LD
="$ac_prog"
12879 # If it fails, then pretend we aren't using GCC.
12883 # If it is relative, then search for the first ld in PATH.
12884 with_gnu_ld
=unknown
12887 elif test "$with_gnu_ld" = yes; then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12889 $as_echo_n "checking for GNU ld... " >&6; }
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12892 $as_echo_n "checking for non-GNU ld... " >&6; }
12894 if ${lt_cv_path_LD+:} false
; then :
12895 $as_echo_n "(cached) " >&6
12897 if test -z "$LD"; then
12898 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12899 for ac_dir
in $PATH; do
12901 test -z "$ac_dir" && ac_dir
=.
12902 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12903 lt_cv_path_LD
="$ac_dir/$ac_prog"
12904 # Check to see if the program is GNU ld. I'd rather use --version,
12905 # but apparently some variants of GNU ld only accept -v.
12906 # Break only if it was the GNU/non-GNU ld that we prefer.
12907 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12908 *GNU
* |
*'with BFD'*)
12909 test "$with_gnu_ld" != no
&& break
12912 test "$with_gnu_ld" != yes && break
12919 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12923 LD
="$lt_cv_path_LD"
12924 if test -n "$LD"; then
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12926 $as_echo "$LD" >&6; }
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929 $as_echo "no" >&6; }
12931 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12933 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12934 if ${lt_cv_prog_gnu_ld+:} false
; then :
12935 $as_echo_n "(cached) " >&6
12937 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12938 case `$LD -v 2>&1 </dev/null` in
12939 *GNU
* |
*'with BFD'*)
12940 lt_cv_prog_gnu_ld
=yes
12943 lt_cv_prog_gnu_ld
=no
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12948 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12949 with_gnu_ld
=$lt_cv_prog_gnu_ld
12957 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12958 # archiving commands below assume that GNU ld is being used.
12959 if test "$with_gnu_ld" = yes; then
12960 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12961 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'
12963 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12964 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12966 # If archive_cmds runs LD, not CC, wlarc should be empty
12967 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12968 # investigate it a little bit more. (MM)
12971 # ancient GNU ld didn't support --whole-archive et. al.
12972 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12973 $GREP 'no-whole-archive' > /dev
/null
; then
12974 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12976 whole_archive_flag_spec_CXX
=
12982 # A generic and very simple default shared library creation
12983 # command for GNU C++ for the case where it uses the native
12984 # linker, instead of GNU ld. If possible, this setting should
12985 # overridden to take advantage of the native linker features on
12986 # the platform it is being used on.
12987 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12990 # Commands to make compiler produce verbose output that lists
12991 # what "hidden" libraries, object files and flags are used when
12992 # linking a shared library.
12993 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13001 # PORTME: fill in a description of your system's C++ link characteristics
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13003 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13007 # FIXME: insert proper C++ library support
13011 if test "$host_cpu" = ia64
; then
13012 # On IA64, the linker does run time linking by default, so we don't
13013 # have to do anything special.
13014 aix_use_runtimelinking
=no
13015 exp_sym_flag
='-Bexport'
13018 aix_use_runtimelinking
=no
13020 # Test if we are trying to use run time linking or normal
13021 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13022 # need to do runtime linking.
13023 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13024 for ld_flag
in $LDFLAGS; do
13027 aix_use_runtimelinking
=yes
13035 exp_sym_flag
='-bexport'
13036 no_entry_flag
='-bnoentry'
13039 # When large executables or shared objects are built, AIX ld can
13040 # have problems creating the table of contents. If linking a library
13041 # or program results in "error TOC overflow" add -mminimal-toc to
13042 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13043 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13045 archive_cmds_CXX
=''
13046 hardcode_direct_CXX
=yes
13047 hardcode_direct_absolute_CXX
=yes
13048 hardcode_libdir_separator_CXX
=':'
13049 link_all_deplibs_CXX
=yes
13050 file_list_spec_CXX
='${wl}-f,'
13052 if test "$GXX" = yes; then
13053 case $host_os in aix4.
[012]|aix4.
[012].
*)
13054 # We only want to do this on AIX 4.2 and lower, the check
13055 # below for broken collect2 doesn't work under 4.3+
13056 collect2name
=`${CC} -print-prog-name=collect2`
13057 if test -f "$collect2name" &&
13058 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13060 # We have reworked collect2
13063 # We have old collect2
13064 hardcode_direct_CXX
=unsupported
13065 # It fails to find uninstalled libraries when the uninstalled
13066 # path is not listed in the libpath. Setting hardcode_minus_L
13067 # to unsupported forces relinking
13068 hardcode_minus_L_CXX
=yes
13069 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13070 hardcode_libdir_separator_CXX
=
13073 shared_flag
='-shared'
13074 if test "$aix_use_runtimelinking" = yes; then
13075 shared_flag
="$shared_flag "'${wl}-G'
13079 if test "$host_cpu" = ia64
; then
13080 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13081 # chokes on -Wl,-G. The following line is correct:
13084 if test "$aix_use_runtimelinking" = yes; then
13085 shared_flag
='${wl}-G'
13087 shared_flag
='${wl}-bM:SRE'
13092 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13093 # It seems that -bexpall does not export symbols beginning with
13094 # underscore (_), so it is better to generate a list of symbols to
13096 always_export_symbols_CXX
=yes
13097 if test "$aix_use_runtimelinking" = yes; then
13098 # Warning - without using the other runtime loading flags (-brtl),
13099 # -berok will link without error, but may produce a broken library.
13100 allow_undefined_flag_CXX
='-berok'
13101 # Determine the default libpath from the value encoded in an empty
13103 if test "${lt_cv_aix_libpath+set}" = set; then
13104 aix_libpath
=$lt_cv_aix_libpath
13106 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13107 $as_echo_n "(cached) " >&6
13109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13120 if ac_fn_cxx_try_link
"$LINENO"; then :
13122 lt_aix_libpath_sed
='
13123 /Import File Strings/,/^$/ {
13125 s/^0 *\([^ ]*\) *$/\1/
13129 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13130 # Check for a 64-bit object if we didn't find anything.
13131 if test -z "$lt_cv_aix_libpath__CXX"; then
13132 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13135 rm -f core conftest.err conftest.
$ac_objext \
13136 conftest
$ac_exeext conftest.
$ac_ext
13137 if test -z "$lt_cv_aix_libpath__CXX"; then
13138 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13143 aix_libpath
=$lt_cv_aix_libpath__CXX
13146 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13148 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13150 if test "$host_cpu" = ia64
; then
13151 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13152 allow_undefined_flag_CXX
="-z nodefs"
13153 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"
13155 # Determine the default libpath from the value encoded in an
13156 # empty executable.
13157 if test "${lt_cv_aix_libpath+set}" = set; then
13158 aix_libpath
=$lt_cv_aix_libpath
13160 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13161 $as_echo_n "(cached) " >&6
13163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13174 if ac_fn_cxx_try_link
"$LINENO"; then :
13176 lt_aix_libpath_sed
='
13177 /Import File Strings/,/^$/ {
13179 s/^0 *\([^ ]*\) *$/\1/
13183 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13184 # Check for a 64-bit object if we didn't find anything.
13185 if test -z "$lt_cv_aix_libpath__CXX"; then
13186 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13189 rm -f core conftest.err conftest.
$ac_objext \
13190 conftest
$ac_exeext conftest.
$ac_ext
13191 if test -z "$lt_cv_aix_libpath__CXX"; then
13192 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13197 aix_libpath
=$lt_cv_aix_libpath__CXX
13200 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13201 # Warning - without using the other run time loading flags,
13202 # -berok will link without error, but may produce a broken library.
13203 no_undefined_flag_CXX
=' ${wl}-bernotok'
13204 allow_undefined_flag_CXX
=' ${wl}-berok'
13205 if test "$with_gnu_ld" = yes; then
13206 # We only use this code for GNU lds that support --whole-archive.
13207 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13209 # Exported symbols can be pulled into shared objects from archives
13210 whole_archive_flag_spec_CXX
='$convenience'
13212 archive_cmds_need_lc_CXX
=yes
13213 # This is similar to how AIX traditionally builds its shared
13215 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13221 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13222 allow_undefined_flag_CXX
=unsupported
13223 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13224 # support --undefined. This deserves some investigation. FIXME
13225 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13232 case $cc_basename in
13234 # FIXME: insert proper C++ library support
13240 cygwin
* | mingw
* | pw32
* | cegcc
*)
13241 case $GXX,$cc_basename in
13244 # hardcode_libdir_flag_spec is actually meaningless, as there is
13245 # no search path for DLLs.
13246 hardcode_libdir_flag_spec_CXX
=' '
13247 allow_undefined_flag_CXX
=unsupported
13248 always_export_symbols_CXX
=yes
13249 file_list_spec_CXX
='@'
13250 # Tell ltmain to make .lib files, not .a files.
13252 # Tell ltmain to make .dll files, not .so files.
13254 # FIXME: Setting linknames here is a bad hack.
13255 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13256 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13257 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13259 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13261 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13263 # The linker will not automatically build a static lib if we build a DLL.
13264 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13265 enable_shared_with_static_runtimes_CXX
=yes
13267 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13268 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13269 lt_tool_outputfile="@TOOL_OUTPUT@"~
13270 case $lt_outputfile in
13273 lt_outputfile="$lt_outputfile.exe"
13274 lt_tool_outputfile="$lt_tool_outputfile.exe"
13277 func_to_tool_file "$lt_outputfile"~
13278 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13279 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13280 $RM "$lt_outputfile.manifest";
13285 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13286 # as there is no search path for DLLs.
13287 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13288 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13289 allow_undefined_flag_CXX
=unsupported
13290 always_export_symbols_CXX
=no
13291 enable_shared_with_static_runtimes_CXX
=yes
13293 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13294 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'
13295 # If the export-symbols file already is a .def file (1st line
13296 # is EXPORTS), use it as is; otherwise, prepend...
13297 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13298 cp $export_symbols $output_objdir/$soname.def;
13300 echo EXPORTS > $output_objdir/$soname.def;
13301 cat $export_symbols >> $output_objdir/$soname.def;
13303 $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'
13310 darwin
* | rhapsody
*)
13313 archive_cmds_need_lc_CXX
=no
13314 hardcode_direct_CXX
=no
13315 hardcode_automatic_CXX
=yes
13316 hardcode_shlibpath_var_CXX
=unsupported
13317 if test "$lt_cv_ld_force_load" = "yes"; then
13318 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\"`'
13321 whole_archive_flag_spec_CXX
=''
13323 link_all_deplibs_CXX
=yes
13324 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13325 case $cc_basename in
13326 ifort
*) _lt_dar_can_shared
=yes ;;
13327 *) _lt_dar_can_shared
=$GCC ;;
13329 if test "$_lt_dar_can_shared" = "yes"; then
13330 output_verbose_link_cmd
=func_echo_all
13331 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}"
13332 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13333 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}"
13334 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}"
13335 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13336 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}"
13337 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}"
13347 case $cc_basename in
13349 # FIXME: insert proper C++ library support
13353 # Green Hills C++ Compiler
13354 # FIXME: insert proper C++ library support
13358 # FIXME: insert proper C++ library support
13365 # C++ shared libraries reported to be fairly broken before
13371 archive_cmds_need_lc_CXX
=no
13374 freebsd
* | dragonfly
*)
13375 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13384 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13385 link_all_deplibs_CXX
=yes
13389 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13390 hardcode_libdir_separator_CXX
=:
13391 export_dynamic_flag_spec_CXX
='${wl}-E'
13392 hardcode_direct_CXX
=yes
13393 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13394 # but as the default
13395 # location of the library.
13397 case $cc_basename in
13399 # FIXME: insert proper C++ library support
13403 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13404 # Commands to make compiler produce verbose output that lists
13405 # what "hidden" libraries, object files and flags are used when
13406 # linking a shared library.
13408 # There doesn't appear to be a way to prevent this compiler from
13409 # explicitly linking system object files so we need to strip them
13410 # from the output so that they don't get included in the library
13412 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"'
13415 if test "$GXX" = yes; then
13416 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13418 # FIXME: insert proper C++ library support
13426 if test $with_gnu_ld = no
; then
13427 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13428 hardcode_libdir_separator_CXX
=:
13434 export_dynamic_flag_spec_CXX
='${wl}-E'
13440 hardcode_direct_CXX
=no
13441 hardcode_shlibpath_var_CXX
=no
13444 hardcode_direct_CXX
=yes
13445 hardcode_direct_absolute_CXX
=yes
13446 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13447 # but as the default
13448 # location of the library.
13452 case $cc_basename in
13454 # FIXME: insert proper C++ library support
13460 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13463 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13466 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13469 # Commands to make compiler produce verbose output that lists
13470 # what "hidden" libraries, object files and flags are used when
13471 # linking a shared library.
13473 # There doesn't appear to be a way to prevent this compiler from
13474 # explicitly linking system object files so we need to strip them
13475 # from the output so that they don't get included in the library
13477 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"'
13480 if test "$GXX" = yes; then
13481 if test $with_gnu_ld = no
; then
13484 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13487 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13490 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'
13495 # FIXME: insert proper C++ library support
13503 hardcode_direct_CXX
=no
13504 hardcode_shlibpath_var_CXX
=no
13505 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13506 export_dynamic_flag_spec_CXX
='${wl}-E'
13507 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13508 # Instead, shared libraries are loaded at an image base (0x10000000 by
13509 # default) and relocated if they conflict, which is a slow very memory
13510 # consuming and fragmenting process. To avoid this, we pick a random,
13511 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13512 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13513 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'
13514 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'
13517 case $cc_basename in
13520 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'
13522 # Archives containing C++ object files must be created using
13523 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13524 # necessary to make sure instantiated templates are included
13526 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13529 if test "$GXX" = yes; then
13530 if test "$with_gnu_ld" = no
; then
13531 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'
13533 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'
13536 link_all_deplibs_CXX
=yes
13539 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13540 hardcode_libdir_separator_CXX
=:
13541 inherit_rpath_CXX
=yes
13544 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13545 case $cc_basename in
13547 # Kuck and Associates, Inc. (KAI) C++ Compiler
13549 # KCC will only create a shared library if the output file
13550 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13551 # to its proper name (with version) after linking.
13552 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'
13553 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'
13554 # Commands to make compiler produce verbose output that lists
13555 # what "hidden" libraries, object files and flags are used when
13556 # linking a shared library.
13558 # There doesn't appear to be a way to prevent this compiler from
13559 # explicitly linking system object files so we need to strip them
13560 # from the output so that they don't get included in the library
13562 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"'
13564 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13565 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13567 # Archives containing C++ object files must be created using
13568 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13569 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13574 # version 8.0 and above of icpc choke on multiply defined symbols
13575 # if we add $predep_objects and $postdep_objects, however 7.1 and
13576 # earlier do not add the objects themselves.
13577 case `$CC -V 2>&1` in
13579 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13580 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'
13582 *) # Version 8.0 or newer
13585 ia64
*) tmp_idyn
=' -i_dynamic';;
13587 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13588 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'
13591 archive_cmds_need_lc_CXX
=no
13592 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13593 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13594 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13597 # Portland Group C++ compiler
13599 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13600 prelink_cmds_CXX
='tpldir=Template.dir~
13602 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13603 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13604 old_archive_cmds_CXX
='tpldir=Template.dir~
13606 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13607 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13609 archive_cmds_CXX
='tpldir=Template.dir~
13611 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13612 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13613 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13615 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13616 $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'
13618 *) # Version 6 and above use weak symbols
13619 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13620 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'
13624 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13625 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13626 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'
13630 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13631 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'
13633 runpath_var
=LD_RUN_PATH
13634 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13635 hardcode_libdir_separator_CXX
=:
13637 # Commands to make compiler produce verbose output that lists
13638 # what "hidden" libraries, object files and flags are used when
13639 # linking a shared library.
13641 # There doesn't appear to be a way to prevent this compiler from
13642 # explicitly linking system object files so we need to strip them
13643 # from the output so that they don't get included in the library
13645 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'
13647 xl
* | mpixl
* | bgxl
*)
13648 # IBM XL 8.0 on PPC, with GNU ld
13649 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13650 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13651 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13652 if test "x$supports_anon_versioning" = xyes
; then
13653 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13654 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13655 echo "local: *; };" >> $output_objdir/$libname.ver~
13656 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13660 case `$CC -V 2>&1 | sed 5q` in
13663 no_undefined_flag_CXX
=' -zdefs'
13664 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13665 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'
13666 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13667 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'
13668 compiler_needs_object_CXX
=yes
13670 # Not sure whether something based on
13671 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13673 output_verbose_link_cmd
='func_echo_all'
13675 # Archives containing C++ object files must be created using
13676 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13677 # necessary to make sure instantiated templates are included
13679 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13687 # FIXME: insert proper C++ library support
13692 # FIXME: insert proper C++ library support
13697 case $cc_basename in
13699 # FIXME: insert proper C++ library support
13703 # FIXME: insert proper C++ library support
13710 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13711 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13713 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13714 hardcode_direct_CXX
=yes
13715 hardcode_shlibpath_var_CXX
=no
13717 # Workaround some broken pre-1.5 toolchains
13718 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13726 # C++ shared libraries are fairly broken
13731 if test -f /usr
/libexec
/ld.so
; then
13732 hardcode_direct_CXX
=yes
13733 hardcode_shlibpath_var_CXX
=no
13734 hardcode_direct_absolute_CXX
=yes
13735 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13736 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13737 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13738 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13739 export_dynamic_flag_spec_CXX
='${wl}-E'
13740 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13742 output_verbose_link_cmd
=func_echo_all
13748 osf3
* | osf4
* | osf5
*)
13749 case $cc_basename in
13751 # Kuck and Associates, Inc. (KAI) C++ Compiler
13753 # KCC will only create a shared library if the output file
13754 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13755 # to its proper name (with version) after linking.
13756 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'
13758 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13759 hardcode_libdir_separator_CXX
=:
13761 # Archives containing C++ object files must be created using
13762 # the KAI C++ compiler.
13764 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13765 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13769 # Rational C++ 2.4.1
13770 # FIXME: insert proper C++ library support
13776 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13777 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'
13778 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13781 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13782 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'
13783 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13784 echo "-hidden">> $lib.exp~
13785 $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~
13787 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13791 hardcode_libdir_separator_CXX
=:
13793 # Commands to make compiler produce verbose output that lists
13794 # what "hidden" libraries, object files and flags are used when
13795 # linking a shared library.
13797 # There doesn't appear to be a way to prevent this compiler from
13798 # explicitly linking system object files so we need to strip them
13799 # from the output so that they don't get included in the library
13801 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"'
13804 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13805 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13808 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'
13811 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'
13815 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13816 hardcode_libdir_separator_CXX
=:
13818 # Commands to make compiler produce verbose output that lists
13819 # what "hidden" libraries, object files and flags are used when
13820 # linking a shared library.
13821 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13824 # FIXME: insert proper C++ library support
13832 # FIXME: insert proper C++ library support
13837 case $cc_basename in
13840 # FIXME: insert proper C++ library support
13845 # FIXME: insert proper C++ library support
13849 # FIXME: insert proper C++ library support
13856 case $cc_basename in
13858 # Sun C++ 4.2, 5.x and Centerline C++
13859 archive_cmds_need_lc_CXX
=yes
13860 no_undefined_flag_CXX
=' -zdefs'
13861 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13862 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13863 $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'
13865 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13866 hardcode_shlibpath_var_CXX
=no
13868 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13870 # The compiler driver will combine and reorder linker options,
13871 # but understands `-z linker_flag'.
13872 # Supported since Solaris 2.6 (maybe 2.5.1?)
13873 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13876 link_all_deplibs_CXX
=yes
13878 output_verbose_link_cmd
='func_echo_all'
13880 # Archives containing C++ object files must be created using
13881 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13882 # necessary to make sure instantiated templates are included
13884 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13887 # Green Hills C++ Compiler
13888 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13890 # The C++ compiler must be used to create the archive.
13891 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13894 # GNU C++ compiler with Solaris linker
13895 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13896 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13897 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13898 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13899 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13900 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13902 # Commands to make compiler produce verbose output that lists
13903 # what "hidden" libraries, object files and flags are used when
13904 # linking a shared library.
13905 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13907 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13909 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13910 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13911 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13913 # Commands to make compiler produce verbose output that lists
13914 # what "hidden" libraries, object files and flags are used when
13915 # linking a shared library.
13916 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13919 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13921 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13923 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13931 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13932 no_undefined_flag_CXX
='${wl}-z,text'
13933 archive_cmds_need_lc_CXX
=no
13934 hardcode_shlibpath_var_CXX
=no
13935 runpath_var
='LD_RUN_PATH'
13937 case $cc_basename in
13939 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13940 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13943 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13944 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13949 sysv5
* | sco3.2v5
* | sco5v6
*)
13950 # Note: We can NOT use -z defs as we might desire, because we do not
13951 # link with -lc, and that would cause any symbols used from libc to
13952 # always be unresolved, which means just about no library would
13953 # ever link correctly. If we're not using GNU ld we use -z text
13954 # though, which does catch some bad symbols but isn't as heavy-handed
13956 no_undefined_flag_CXX
='${wl}-z,text'
13957 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13958 archive_cmds_need_lc_CXX
=no
13959 hardcode_shlibpath_var_CXX
=no
13960 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13961 hardcode_libdir_separator_CXX
=':'
13962 link_all_deplibs_CXX
=yes
13963 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13964 runpath_var
='LD_RUN_PATH'
13966 case $cc_basename in
13968 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13969 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13970 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13971 '"$old_archive_cmds_CXX"
13972 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13973 '"$reload_cmds_CXX"
13976 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13977 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13983 case $cc_basename in
13985 # NonStop-UX NCC 3.20
13986 # FIXME: insert proper C++ library support
13990 # FIXME: insert proper C++ library support
13997 # FIXME: insert proper C++ library support
14002 # FIXME: insert proper C++ library support
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14008 $as_echo "$ld_shlibs_CXX" >&6; }
14009 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14015 ## There is no encapsulation within the following macros, do not change
14016 ## the running order or otherwise move them around unless you know exactly
14017 ## what you are doing...
14018 # Dependencies to place before and after the object being linked:
14019 predep_objects_CXX
=
14020 postdep_objects_CXX
=
14023 compiler_lib_search_path_CXX
=
14025 cat > conftest.
$ac_ext <<_LT_EOF
14029 Foo (void) { a = 0; }
14036 _lt_libdeps_save_CFLAGS
=$CFLAGS
14037 case "$CC $CFLAGS " in #(
14038 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14039 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14040 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14044 (eval $ac_compile) 2>&5
14046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14047 test $ac_status = 0; }; then
14048 # Parse the compiler output and extract the necessary
14049 # objects, libraries and library flags.
14051 # Sentinel used to keep track of whether or not we are before
14052 # the conftest object file.
14053 pre_test_object_deps_done
=no
14055 for p
in `eval "$output_verbose_link_cmd"`; do
14056 case ${prev}${p} in
14059 # Some compilers place space between "-{L,R}" and the path.
14060 # Remove the space.
14061 if test $p = "-L" ||
14062 test $p = "-R"; then
14067 # Expand the sysroot to ease extracting the directories later.
14068 if test -z "$prev"; then
14070 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14071 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14072 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14076 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14078 if test "$pre_test_object_deps_done" = no
; then
14081 # Internal compiler library paths should come after those
14082 # provided the user. The postdeps already come after the
14083 # user supplied libs so there is no need to process them.
14084 if test -z "$compiler_lib_search_path_CXX"; then
14085 compiler_lib_search_path_CXX
="${prev}${p}"
14087 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14090 # The "-l" case would never come before the object being
14091 # linked, so don't bother handling this case.
14094 if test -z "$postdeps_CXX"; then
14095 postdeps_CXX
="${prev}${p}"
14097 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14103 *.lto.
$objext) ;; # Ignore GCC LTO objects
14105 # This assumes that the test object file only shows up
14106 # once in the compiler output.
14107 if test "$p" = "conftest.$objext"; then
14108 pre_test_object_deps_done
=yes
14112 if test "$pre_test_object_deps_done" = no
; then
14113 if test -z "$predep_objects_CXX"; then
14114 predep_objects_CXX
="$p"
14116 predep_objects_CXX
="$predep_objects_CXX $p"
14119 if test -z "$postdep_objects_CXX"; then
14120 postdep_objects_CXX
="$p"
14122 postdep_objects_CXX
="$postdep_objects_CXX $p"
14127 *) ;; # Ignore the rest.
14135 echo "libtool.m4: error: problem compiling CXX test program"
14138 $RM -f confest.
$objext
14139 CFLAGS
=$_lt_libdeps_save_CFLAGS
14141 # PORTME: override above test on systems where it is broken
14144 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14145 # hack all around it, let's just trust "g++" to DTRT.
14146 predep_objects_CXX
=
14147 postdep_objects_CXX
=
14152 case `$CC -V 2>&1 | sed 5q` in
14156 # The more standards-conforming stlport4 library is
14157 # incompatible with the Cstd library. Avoid specifying
14158 # it if it's in CXXFLAGS. Ignore libCrun as
14159 # -library=stlport4 depends on it.
14160 case " $CXX $CXXFLAGS " in
14161 *" -library=stlport4 "*)
14162 solaris_use_stlport4
=yes
14166 if test "$solaris_use_stlport4" != yes; then
14167 postdeps_CXX
='-library=Cstd -library=Crun'
14174 case $cc_basename in
14176 # The more standards-conforming stlport4 library is
14177 # incompatible with the Cstd library. Avoid specifying
14178 # it if it's in CXXFLAGS. Ignore libCrun as
14179 # -library=stlport4 depends on it.
14180 case " $CXX $CXXFLAGS " in
14181 *" -library=stlport4 "*)
14182 solaris_use_stlport4
=yes
14186 # Adding this requires a known-good setup of shared libraries for
14187 # Sun compiler versions before 5.6, else PIC objects from an old
14188 # archive will be linked into the output, leading to subtle bugs.
14189 if test "$solaris_use_stlport4" != yes; then
14190 postdeps_CXX
='-library=Cstd -library=Crun'
14198 case " $postdeps_CXX " in
14199 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14201 compiler_lib_search_dirs_CXX
=
14202 if test -n "${compiler_lib_search_path_CXX}"; then
14203 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14236 lt_prog_compiler_wl_CXX
=
14237 lt_prog_compiler_pic_CXX
=
14238 lt_prog_compiler_static_CXX
=
14241 # C++ specific cases for pic, static, wl, etc.
14242 if test "$GXX" = yes; then
14243 lt_prog_compiler_wl_CXX
='-Wl,'
14244 lt_prog_compiler_static_CXX
='-static'
14248 # All AIX code is PIC.
14249 if test "$host_cpu" = ia64
; then
14250 # AIX 5 now supports IA64 processor
14251 lt_prog_compiler_static_CXX
='-Bstatic'
14258 # see comment about AmigaOS4 .so support
14259 lt_prog_compiler_pic_CXX
='-fPIC'
14262 # FIXME: we need at least 68020 code to build shared libraries, but
14263 # adding the `-m68020' flag to GCC prevents building anything better,
14265 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14270 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14271 # PIC is the default for these OSes.
14273 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14274 # This hack is so that the source file can tell whether it is being
14275 # built for inclusion in a dll (and should export symbols for example).
14276 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14277 # (--disable-auto-import) libraries
14278 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14280 darwin
* | rhapsody
*)
14281 # PIC is the default on this platform
14282 # Common symbols not allowed in MH_DYLIB files
14283 lt_prog_compiler_pic_CXX
='-fno-common'
14286 # DJGPP does not support shared libraries at all
14287 lt_prog_compiler_pic_CXX
=
14290 # PIC is the default for Haiku.
14291 # The "-static" flag exists, but is broken.
14292 lt_prog_compiler_static_CXX
=
14295 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14296 # Instead, we relocate shared libraries at runtime.
14299 if test -d /usr
/nec
; then
14300 lt_prog_compiler_pic_CXX
=-Kconform_pic
14304 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14305 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14306 # sets the default TLS model and affects inlining.
14311 lt_prog_compiler_pic_CXX
='-fPIC'
14316 # QNX uses GNU C++, but need to define -shared option too, otherwise
14317 # it will coredump.
14318 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14321 lt_prog_compiler_pic_CXX
='-fPIC'
14327 # All AIX code is PIC.
14328 if test "$host_cpu" = ia64
; then
14329 # AIX 5 now supports IA64 processor
14330 lt_prog_compiler_static_CXX
='-Bstatic'
14332 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14336 case $cc_basename in
14338 # Green Hills C++ Compiler
14339 # _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"
14343 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14344 # This hack is so that the source file can tell whether it is being
14345 # built for inclusion in a dll (and should export symbols for example).
14346 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14349 case $cc_basename in
14351 lt_prog_compiler_pic_CXX
='-KPIC'
14354 # Green Hills C++ Compiler
14355 lt_prog_compiler_pic_CXX
='-pic'
14361 freebsd
* | dragonfly
*)
14362 # FreeBSD uses GNU C++
14364 hpux9
* | hpux10
* | hpux11
*)
14365 case $cc_basename in
14367 lt_prog_compiler_wl_CXX
='-Wl,'
14368 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14369 if test "$host_cpu" != ia64
; then
14370 lt_prog_compiler_pic_CXX
='+Z'
14374 lt_prog_compiler_wl_CXX
='-Wl,'
14375 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14381 lt_prog_compiler_pic_CXX
='+Z'
14390 # This is c89, which is MS Visual C++ (no shared libs)
14391 # Anyone wants to do a port?
14393 irix5
* | irix6
* | nonstopux
*)
14394 case $cc_basename in
14396 lt_prog_compiler_wl_CXX
='-Wl,'
14397 lt_prog_compiler_static_CXX
='-non_shared'
14398 # CC pic flag -KPIC is the default.
14404 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14405 case $cc_basename in
14408 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14409 lt_prog_compiler_pic_CXX
='-fPIC'
14412 # old Intel C++ for x86_64 which still supported -KPIC.
14413 lt_prog_compiler_wl_CXX
='-Wl,'
14414 lt_prog_compiler_pic_CXX
='-KPIC'
14415 lt_prog_compiler_static_CXX
='-static'
14418 # Intel C++, used to be incompatible with GCC.
14419 # ICC 10 doesn't accept -KPIC any more.
14420 lt_prog_compiler_wl_CXX
='-Wl,'
14421 lt_prog_compiler_pic_CXX
='-fPIC'
14422 lt_prog_compiler_static_CXX
='-static'
14425 # Portland Group C++ compiler
14426 lt_prog_compiler_wl_CXX
='-Wl,'
14427 lt_prog_compiler_pic_CXX
='-fpic'
14428 lt_prog_compiler_static_CXX
='-Bstatic'
14432 # Make sure the PIC flag is empty. It appears that all Alpha
14433 # Linux and Compaq Tru64 Unix objects are PIC.
14434 lt_prog_compiler_pic_CXX
=
14435 lt_prog_compiler_static_CXX
='-non_shared'
14437 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14438 # IBM XL 8.0, 9.0 on PPC and BlueGene
14439 lt_prog_compiler_wl_CXX
='-Wl,'
14440 lt_prog_compiler_pic_CXX
='-qpic'
14441 lt_prog_compiler_static_CXX
='-qstaticlink'
14444 case `$CC -V 2>&1 | sed 5q` in
14447 lt_prog_compiler_pic_CXX
='-KPIC'
14448 lt_prog_compiler_static_CXX
='-Bstatic'
14449 lt_prog_compiler_wl_CXX
='-Qoption ld '
14460 case $cc_basename in
14462 lt_prog_compiler_pic_CXX
='-W c,exportall'
14471 # QNX uses GNU C++, but need to define -shared option too, otherwise
14472 # it will coredump.
14473 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14475 osf3
* | osf4
* | osf5
*)
14476 case $cc_basename in
14478 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14481 # Rational C++ 2.4.1
14482 lt_prog_compiler_pic_CXX
='-pic'
14485 # Digital/Compaq C++
14486 lt_prog_compiler_wl_CXX
='-Wl,'
14487 # Make sure the PIC flag is empty. It appears that all Alpha
14488 # Linux and Compaq Tru64 Unix objects are PIC.
14489 lt_prog_compiler_pic_CXX
=
14490 lt_prog_compiler_static_CXX
='-non_shared'
14499 case $cc_basename in
14501 # Sun C++ 4.2, 5.x and Centerline C++
14502 lt_prog_compiler_pic_CXX
='-KPIC'
14503 lt_prog_compiler_static_CXX
='-Bstatic'
14504 lt_prog_compiler_wl_CXX
='-Qoption ld '
14507 # Green Hills C++ Compiler
14508 lt_prog_compiler_pic_CXX
='-PIC'
14515 case $cc_basename in
14518 lt_prog_compiler_pic_CXX
='-pic'
14519 lt_prog_compiler_static_CXX
='-Bstatic'
14523 lt_prog_compiler_pic_CXX
='-pic'
14529 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14530 case $cc_basename in
14532 lt_prog_compiler_wl_CXX
='-Wl,'
14533 lt_prog_compiler_pic_CXX
='-KPIC'
14534 lt_prog_compiler_static_CXX
='-Bstatic'
14539 case $cc_basename in
14541 # NonStop-UX NCC 3.20
14542 lt_prog_compiler_pic_CXX
='-KPIC'
14551 lt_prog_compiler_can_build_shared_CXX
=no
14557 # For platforms which do not support PIC, -DPIC is meaningless:
14559 lt_prog_compiler_pic_CXX
=
14562 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14567 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14568 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14569 $as_echo_n "(cached) " >&6
14571 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14574 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14575 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14578 # Check to make sure the PIC flag actually works.
14580 if test -n "$lt_prog_compiler_pic_CXX"; then
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14582 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14583 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14584 $as_echo_n "(cached) " >&6
14586 lt_cv_prog_compiler_pic_works_CXX
=no
14587 ac_outfile
=conftest.
$ac_objext
14588 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14589 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14590 # Insert the option either (1) after the last *FLAGS variable, or
14591 # (2) before a word containing "conftest.", or (3) at the end.
14592 # Note that $ac_compile itself does not contain backslashes and begins
14593 # with a dollar sign (not a hyphen), so the echo should work correctly.
14594 # The option is referenced via a variable to avoid confusing sed.
14595 lt_compile
=`echo "$ac_compile" | $SED \
14596 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14597 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14598 -e 's:$: $lt_compiler_flag:'`
14599 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14600 (eval "$lt_compile" 2>conftest.err
)
14602 cat conftest.err
>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 if (exit $ac_status) && test -s "$ac_outfile"; then
14605 # The compiler can only warn and ignore the option if not recognized
14606 # So say no if there are warnings other than the usual output.
14607 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14608 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14609 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14610 lt_cv_prog_compiler_pic_works_CXX
=yes
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14617 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14619 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14620 case $lt_prog_compiler_pic_CXX in
14622 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14625 lt_prog_compiler_pic_CXX
=
14626 lt_prog_compiler_can_build_shared_CXX
=no
14636 # Check to make sure the static flag actually works.
14638 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14640 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14641 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14642 $as_echo_n "(cached) " >&6
14644 lt_cv_prog_compiler_static_works_CXX
=no
14645 save_LDFLAGS
="$LDFLAGS"
14646 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14647 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14648 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14649 # The linker can only warn and ignore the option if not recognized
14650 # So say no if there are warnings
14651 if test -s conftest.err
; then
14652 # Append any errors to the config.log.
14653 cat conftest.err
1>&5
14654 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14655 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14656 if diff conftest.exp conftest.er2
>/dev
/null
; then
14657 lt_cv_prog_compiler_static_works_CXX
=yes
14660 lt_cv_prog_compiler_static_works_CXX
=yes
14664 LDFLAGS
="$save_LDFLAGS"
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14668 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14670 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14673 lt_prog_compiler_static_CXX
=
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14680 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14681 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14682 $as_echo_n "(cached) " >&6
14684 lt_cv_prog_compiler_c_o_CXX
=no
14685 $RM -r conftest
2>/dev
/null
14689 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14691 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14692 # Insert the option either (1) after the last *FLAGS variable, or
14693 # (2) before a word containing "conftest.", or (3) at the end.
14694 # Note that $ac_compile itself does not contain backslashes and begins
14695 # with a dollar sign (not a hyphen), so the echo should work correctly.
14696 lt_compile
=`echo "$ac_compile" | $SED \
14697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14699 -e 's:$: $lt_compiler_flag:'`
14700 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14701 (eval "$lt_compile" 2>out
/conftest.err
)
14703 cat out
/conftest.err
>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14707 # The compiler can only warn and ignore the option if not recognized
14708 # So say no if there are warnings
14709 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14710 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14711 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14712 lt_cv_prog_compiler_c_o_CXX
=yes
14717 # SGI C++ compiler will create directory out/ii_files/ for
14718 # template instantiation
14719 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14720 $RM out
/* && rmdir out
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14727 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14732 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14733 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14734 $as_echo_n "(cached) " >&6
14736 lt_cv_prog_compiler_c_o_CXX
=no
14737 $RM -r conftest
2>/dev
/null
14741 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14743 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14744 # Insert the option either (1) after the last *FLAGS variable, or
14745 # (2) before a word containing "conftest.", or (3) at the end.
14746 # Note that $ac_compile itself does not contain backslashes and begins
14747 # with a dollar sign (not a hyphen), so the echo should work correctly.
14748 lt_compile
=`echo "$ac_compile" | $SED \
14749 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14750 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14751 -e 's:$: $lt_compiler_flag:'`
14752 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14753 (eval "$lt_compile" 2>out
/conftest.err
)
14755 cat out
/conftest.err
>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14759 # The compiler can only warn and ignore the option if not recognized
14760 # So say no if there are warnings
14761 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14762 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14763 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14764 lt_cv_prog_compiler_c_o_CXX
=yes
14769 # SGI C++ compiler will create directory out/ii_files/ for
14770 # template instantiation
14771 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14772 $RM out
/* && rmdir out
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14779 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14784 hard_links
="nottested"
14785 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14786 # do not overwrite the value of need_locks provided by the user
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14788 $as_echo_n "checking if we can lock with hard links... " >&6; }
14791 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14793 ln conftest.a conftest.b
2>&5 || hard_links
=no
14794 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14796 $as_echo "$hard_links" >&6; }
14797 if test "$hard_links" = no
; then
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14799 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14809 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14811 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14812 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14815 # If we're using GNU nm, then we don't want the "-C" option.
14816 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14817 # Also, AIX nm treats weak defined symbols like other global defined
14818 # symbols, whereas GNU nm marks them as "W".
14819 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14820 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14822 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14826 export_symbols_cmds_CXX
="$ltdll_cmds"
14828 cygwin
* | mingw
* | cegcc
*)
14829 case $cc_basename in
14831 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14834 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'
14835 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14840 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14845 $as_echo "$ld_shlibs_CXX" >&6; }
14846 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14848 with_gnu_ld_CXX
=$with_gnu_ld
14856 # Do we need to explicitly link libc?
14858 case "x$archive_cmds_need_lc_CXX" in
14860 # Assume -lc should be added
14861 archive_cmds_need_lc_CXX
=yes
14863 if test "$enable_shared" = yes && test "$GCC" = yes; then
14864 case $archive_cmds_CXX in
14866 # FIXME: we may have to deal with multi-command sequences.
14869 # Test whether the compiler implicitly links with -lc since on some
14870 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14871 # to ld, don't add -lc before -lgcc.
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14873 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14874 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14875 $as_echo_n "(cached) " >&6
14878 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14881 (eval $ac_compile) 2>&5
14883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14884 test $ac_status = 0; } 2>conftest.err
; then
14887 libobjs
=conftest.
$ac_objext
14889 wl
=$lt_prog_compiler_wl_CXX
14890 pic_flag
=$lt_prog_compiler_pic_CXX
14896 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14897 allow_undefined_flag_CXX
=
14898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14899 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14902 test $ac_status = 0; }
14904 lt_cv_archive_cmds_need_lc_CXX
=no
14906 lt_cv_archive_cmds_need_lc_CXX
=yes
14908 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14910 cat conftest.err
1>&5
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14916 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14917 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14986 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14988 library_names_spec
=
14989 libname_spec
='lib$name'
14993 postuninstall_cmds
=
14997 shlibpath_overrides_runpath
=unknown
14999 dynamic_linker
="$host_os ld.so"
15000 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15001 need_lib_prefix
=unknown
15002 hardcode_into_libs
=no
15004 # when you set need_version to no, make sure it does not cause -set_version
15005 # flags to be left without arguments
15006 need_version
=unknown
15010 version_type
=linux
# correct to gnu/linux during the next big refactor
15011 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15012 shlibpath_var
=LIBPATH
15014 # AIX 3 has no versioning support, so we append a major version to the name.
15015 soname_spec
='${libname}${release}${shared_ext}$major'
15019 version_type
=linux
# correct to gnu/linux during the next big refactor
15022 hardcode_into_libs
=yes
15023 if test "$host_cpu" = ia64
; then
15024 # AIX 5 supports IA64
15025 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15026 shlibpath_var
=LD_LIBRARY_PATH
15028 # With GCC up to 2.95.x, collect2 would create an import file
15029 # for dependence libraries. The import file would start with
15030 # the line `#! .'. This would cause the generated library to
15031 # depend on `.', always an invalid library. This was fixed in
15032 # development snapshots of GCC prior to 3.0.
15034 aix4 | aix4.
[01] | aix4.
[01].
*)
15035 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15037 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15040 can_build_shared
=no
15044 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15045 # soname into executable. Probably we can add versioning support to
15046 # collect2, so additional links can be useful in future.
15047 if test "$aix_use_runtimelinking" = yes; then
15048 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15049 # instead of lib<name>.a to let people know that these are not
15050 # typical AIX shared libraries.
15051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15053 # We preserve .a as extension for shared libraries through AIX4.2
15054 # and later when we are not doing run time linking.
15055 library_names_spec
='${libname}${release}.a $libname.a'
15056 soname_spec
='${libname}${release}${shared_ext}$major'
15058 shlibpath_var
=LIBPATH
15065 # Since July 2007 AmigaOS4 officially supports .so libraries.
15066 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15070 library_names_spec
='$libname.ixlibrary $libname.a'
15071 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15072 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15078 library_names_spec
='${libname}${shared_ext}'
15079 dynamic_linker
="$host_os ld.so"
15080 shlibpath_var
=LIBRARY_PATH
15084 version_type
=linux
# correct to gnu/linux during the next big refactor
15086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15087 soname_spec
='${libname}${release}${shared_ext}$major'
15088 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15089 shlibpath_var
=LD_LIBRARY_PATH
15090 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15091 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15092 # the default ld.so.conf also contains /usr/contrib/lib and
15093 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15094 # libtool to hard-code these into programs
15097 cygwin
* | mingw
* | pw32
* | cegcc
*)
15098 version_type
=windows
15103 case $GCC,$cc_basename in
15106 library_names_spec
='$libname.dll.a'
15107 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15108 postinstall_cmds
='base_file=`basename \${file}`~
15109 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15110 dldir=$destdir/`dirname \$dlpath`~
15111 test -d \$dldir || mkdir -p \$dldir~
15112 $install_prog $dir/$dlname \$dldir/$dlname~
15113 chmod a+x \$dldir/$dlname~
15114 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15115 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15117 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15118 dlpath=$dir/\$dldll~
15120 shlibpath_overrides_runpath
=yes
15124 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15125 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15129 # MinGW DLLs use traditional 'lib' prefix
15130 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15133 # pw32 DLLs use 'pw' prefix rather than 'lib'
15134 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15137 dynamic_linker
='Win32 ld.exe'
15142 libname_spec
='$name'
15143 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15144 library_names_spec
='${libname}.dll.lib'
15148 sys_lib_search_path_spec
=
15151 for lt_path
in $LIB
15154 # Let DOS variable expansion print the short 8.3 style file name.
15155 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15156 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15159 # Convert to MSYS style.
15160 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15163 # Convert to unix form, then to dos form, then back to unix form
15164 # but this time dos style (no spaces!) so that the unix form looks
15165 # like /cygdrive/c/PROGRA~1:/cygdr...
15166 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15167 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15168 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15171 sys_lib_search_path_spec
="$LIB"
15172 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15173 # It is most probably a Windows format PATH.
15174 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15176 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15178 # FIXME: find the short name or the path components, as spaces are
15179 # common. (e.g. "Program Files" -> "PROGRA~1")
15183 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15184 postinstall_cmds
='base_file=`basename \${file}`~
15185 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15186 dldir=$destdir/`dirname \$dlpath`~
15187 test -d \$dldir || mkdir -p \$dldir~
15188 $install_prog $dir/$dlname \$dldir/$dlname'
15189 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15190 dlpath=$dir/\$dldll~
15192 shlibpath_overrides_runpath
=yes
15193 dynamic_linker
='Win32 link.exe'
15197 # Assume MSVC wrapper
15198 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15199 dynamic_linker
='Win32 ld.exe'
15202 # FIXME: first we should search . and the directory the executable is in
15206 darwin
* | rhapsody
*)
15207 dynamic_linker
="$host_os dyld"
15208 version_type
=darwin
15211 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15212 soname_spec
='${libname}${release}${major}$shared_ext'
15213 shlibpath_overrides_runpath
=yes
15214 shlibpath_var
=DYLD_LIBRARY_PATH
15215 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15217 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15221 version_type
=linux
# correct to gnu/linux during the next big refactor
15224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15225 soname_spec
='${libname}${release}${shared_ext}$major'
15226 shlibpath_var
=LD_LIBRARY_PATH
15229 freebsd
* | dragonfly
*)
15230 # DragonFly does not have aout. When/if they implement a new
15231 # versioning mechanism, adjust this.
15232 if test -x /usr
/bin
/objformat
; then
15233 objformat
=`/usr/bin/objformat`
15236 freebsd
[23].
*) objformat
=aout
;;
15237 *) objformat
=elf
;;
15240 version_type
=freebsd-
$objformat
15241 case $version_type in
15243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15248 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15252 shlibpath_var
=LD_LIBRARY_PATH
15255 shlibpath_overrides_runpath
=yes
15257 freebsd3.
[01]* | freebsdelf3.
[01]*)
15258 shlibpath_overrides_runpath
=yes
15259 hardcode_into_libs
=yes
15261 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15262 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15263 shlibpath_overrides_runpath
=no
15264 hardcode_into_libs
=yes
15266 *) # from 4.6 on, and DragonFly
15267 shlibpath_overrides_runpath
=yes
15268 hardcode_into_libs
=yes
15274 version_type
=linux
# correct to gnu/linux during the next big refactor
15277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15278 soname_spec
='${libname}${release}${shared_ext}$major'
15279 shlibpath_var
=LD_LIBRARY_PATH
15280 shlibpath_overrides_runpath
=no
15281 hardcode_into_libs
=yes
15285 version_type
=linux
# correct to gnu/linux during the next big refactor
15288 dynamic_linker
="$host_os runtime_loader"
15289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15290 soname_spec
='${libname}${release}${shared_ext}$major'
15291 shlibpath_var
=LIBRARY_PATH
15292 shlibpath_overrides_runpath
=yes
15293 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15294 hardcode_into_libs
=yes
15297 hpux9
* | hpux10
* | hpux11
*)
15298 # Give a soname corresponding to the major version so that dld.sl refuses to
15299 # link against other versions.
15306 hardcode_into_libs
=yes
15307 dynamic_linker
="$host_os dld.so"
15308 shlibpath_var
=LD_LIBRARY_PATH
15309 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15311 soname_spec
='${libname}${release}${shared_ext}$major'
15312 if test "X$HPUX_IA64_MODE" = X32
; then
15313 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15315 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15317 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15321 hardcode_into_libs
=yes
15322 dynamic_linker
="$host_os dld.sl"
15323 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15324 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15326 soname_spec
='${libname}${release}${shared_ext}$major'
15327 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15328 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15332 dynamic_linker
="$host_os dld.sl"
15333 shlibpath_var
=SHLIB_PATH
15334 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15336 soname_spec
='${libname}${release}${shared_ext}$major'
15339 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15340 postinstall_cmds
='chmod 555 $lib'
15341 # or fails outright, so override atomically:
15342 install_override_mode
=555
15346 version_type
=linux
# correct to gnu/linux during the next big refactor
15349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15350 soname_spec
='${libname}${release}${shared_ext}$major'
15351 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15352 shlibpath_var
=LD_LIBRARY_PATH
15353 shlibpath_overrides_runpath
=no
15354 hardcode_into_libs
=yes
15357 irix5
* | irix6
* | nonstopux
*)
15359 nonstopux
*) version_type
=nonstopux
;;
15361 if test "$lt_cv_prog_gnu_ld" = yes; then
15362 version_type
=linux
# correct to gnu/linux during the next big refactor
15369 soname_spec
='${libname}${release}${shared_ext}$major'
15370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15372 irix5
* | nonstopux
*)
15373 libsuff
= shlibsuff
=
15376 case $LD in # libtool.m4 will add one of these switches to LD
15377 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15378 libsuff
= shlibsuff
= libmagic
=32-bit;;
15379 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15380 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15381 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15382 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15383 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15387 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15388 shlibpath_overrides_runpath
=no
15389 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15390 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15391 hardcode_into_libs
=yes
15394 # No shared lib support for Linux oldld, aout, or coff.
15395 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15399 # This must be glibc/ELF.
15400 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15401 version_type
=linux
# correct to gnu/linux during the next big refactor
15404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15405 soname_spec
='${libname}${release}${shared_ext}$major'
15406 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15407 shlibpath_var
=LD_LIBRARY_PATH
15408 shlibpath_overrides_runpath
=no
15410 # Some binutils ld are patched to set DT_RUNPATH
15411 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15412 $as_echo_n "(cached) " >&6
15414 lt_cv_shlibpath_overrides_runpath
=no
15415 save_LDFLAGS
=$LDFLAGS
15416 save_libdir
=$libdir
15417 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15418 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15420 /* end confdefs.h. */
15430 if ac_fn_cxx_try_link
"$LINENO"; then :
15431 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15432 lt_cv_shlibpath_overrides_runpath
=yes
15435 rm -f core conftest.err conftest.
$ac_objext \
15436 conftest
$ac_exeext conftest.
$ac_ext
15437 LDFLAGS
=$save_LDFLAGS
15438 libdir
=$save_libdir
15442 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15444 # This implies no fast_install, which is unacceptable.
15445 # Some rework will be needed to allow for fast_install
15446 # before this can be enabled.
15447 hardcode_into_libs
=yes
15449 # Add ABI-specific directories to the system library path.
15450 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
15452 # Append ld.so.conf contents to the search path
15453 if test -f /etc
/ld.so.conf
; then
15454 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' ' '`
15455 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15459 # We used to test for /lib/ld.so.1 and disable shared libraries on
15460 # powerpc, because MkLinux only supported shared libraries with the
15461 # GNU dynamic linker. Since this was broken with cross compilers,
15462 # most powerpc-linux boxes support dynamic linking these days and
15463 # people can always --disable-shared, the test was removed, and we
15464 # assume the GNU/Linux dynamic linker is in use.
15465 dynamic_linker
='GNU/Linux ld.so'
15472 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15474 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15475 dynamic_linker
='NetBSD (a.out) ld.so'
15477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15478 soname_spec
='${libname}${release}${shared_ext}$major'
15479 dynamic_linker
='NetBSD ld.elf_so'
15481 shlibpath_var
=LD_LIBRARY_PATH
15482 shlibpath_overrides_runpath
=yes
15483 hardcode_into_libs
=yes
15487 version_type
=linux
# correct to gnu/linux during the next big refactor
15488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15489 shlibpath_var
=LD_LIBRARY_PATH
15490 shlibpath_overrides_runpath
=yes
15497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15498 soname_spec
='${libname}${release}${shared_ext}$major'
15499 shlibpath_var
=LD_LIBRARY_PATH
15500 shlibpath_overrides_runpath
=no
15501 hardcode_into_libs
=yes
15502 dynamic_linker
='ldqnx.so'
15507 sys_lib_dlsearch_path_spec
="/usr/lib"
15509 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15511 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15512 *) need_version
=no
;;
15514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15515 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15516 shlibpath_var
=LD_LIBRARY_PATH
15517 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15519 openbsd2.
[89] | openbsd2.
[89].
*)
15520 shlibpath_overrides_runpath
=no
15523 shlibpath_overrides_runpath
=yes
15527 shlibpath_overrides_runpath
=yes
15532 libname_spec
='$name'
15535 library_names_spec
='$libname${shared_ext} $libname.a'
15536 dynamic_linker
='OS/2 ld.exe'
15537 shlibpath_var
=LIBPATH
15540 osf3
* | osf4
* | osf5
*)
15544 soname_spec
='${libname}${release}${shared_ext}$major'
15545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15546 shlibpath_var
=LD_LIBRARY_PATH
15547 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15548 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15556 version_type
=linux
# correct to gnu/linux during the next big refactor
15559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15560 soname_spec
='${libname}${release}${shared_ext}$major'
15561 shlibpath_var
=LD_LIBRARY_PATH
15562 shlibpath_overrides_runpath
=yes
15563 hardcode_into_libs
=yes
15564 # ldd complains unless libraries are executable
15565 postinstall_cmds
='chmod +x $lib'
15570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15571 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15572 shlibpath_var
=LD_LIBRARY_PATH
15573 shlibpath_overrides_runpath
=yes
15574 if test "$with_gnu_ld" = yes; then
15581 version_type
=linux
# correct to gnu/linux during the next big refactor
15582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15583 soname_spec
='${libname}${release}${shared_ext}$major'
15584 shlibpath_var
=LD_LIBRARY_PATH
15585 case $host_vendor in
15587 shlibpath_overrides_runpath
=no
15589 runpath_var
=LD_RUN_PATH
15597 shlibpath_overrides_runpath
=no
15598 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15604 if test -d /usr
/nec
;then
15605 version_type
=linux
# correct to gnu/linux during the next big refactor
15606 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15607 soname_spec
='$libname${shared_ext}.$major'
15608 shlibpath_var
=LD_LIBRARY_PATH
15612 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15613 version_type
=freebsd-elf
15616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15617 soname_spec
='${libname}${release}${shared_ext}$major'
15618 shlibpath_var
=LD_LIBRARY_PATH
15619 shlibpath_overrides_runpath
=yes
15620 hardcode_into_libs
=yes
15621 if test "$with_gnu_ld" = yes; then
15622 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15624 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15627 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15631 sys_lib_dlsearch_path_spec
='/usr/lib'
15635 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15636 version_type
=linux
# correct to gnu/linux during the next big refactor
15639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15640 shlibpath_var
=LD_LIBRARY_PATH
15641 shlibpath_overrides_runpath
=no
15642 hardcode_into_libs
=yes
15646 version_type
=linux
# correct to gnu/linux during the next big refactor
15647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15648 soname_spec
='${libname}${release}${shared_ext}$major'
15649 shlibpath_var
=LD_LIBRARY_PATH
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15657 $as_echo "$dynamic_linker" >&6; }
15658 test "$dynamic_linker" = no
&& can_build_shared
=no
15660 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15661 if test "$GCC" = yes; then
15662 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15665 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15666 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15668 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15669 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15710 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15711 hardcode_action_CXX
=
15712 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15713 test -n "$runpath_var_CXX" ||
15714 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15716 # We can hardcode non-existent directories.
15717 if test "$hardcode_direct_CXX" != no
&&
15718 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15719 # have to relink, otherwise we might link with an installed library
15720 # when we should be linking with a yet-to-be-installed one
15721 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15722 test "$hardcode_minus_L_CXX" != no
; then
15723 # Linking always hardcodes the temporary library directory.
15724 hardcode_action_CXX
=relink
15726 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15727 hardcode_action_CXX
=immediate
15730 # We cannot hardcode anything, or else we can only hardcode existing
15732 hardcode_action_CXX
=unsupported
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15735 $as_echo "$hardcode_action_CXX" >&6; }
15737 if test "$hardcode_action_CXX" = relink ||
15738 test "$inherit_rpath_CXX" = yes; then
15739 # Fast installation is not supported
15740 enable_fast_install
=no
15741 elif test "$shlibpath_overrides_runpath" = yes ||
15742 test "$enable_shared" = no
; then
15743 # Fast installation is not necessary
15744 enable_fast_install
=needless
15753 fi # test -n "$compiler"
15756 CFLAGS
=$lt_save_CFLAGS
15760 with_gnu_ld
=$lt_save_with_gnu_ld
15761 lt_cv_path_LDCXX
=$lt_cv_path_LD
15762 lt_cv_path_LD
=$lt_save_path_LD
15763 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15764 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15765 fi # test "$_lt_caught_CXX_error" != yes
15768 ac_cpp
='$CPP $CPPFLAGS'
15769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15774 for ac_prog
in perl5 perl
15776 # Extract the first word of "$ac_prog", so it can be a program name with args.
15777 set dummy
$ac_prog; ac_word
=$2
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15779 $as_echo_n "checking for $ac_word... " >&6; }
15780 if ${ac_cv_path_PERL+:} false
; then :
15781 $as_echo_n "(cached) " >&6
15785 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
15788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15789 for as_dir
in $LPATH
15792 test -z "$as_dir" && as_dir
=.
15793 for ac_exec_ext
in '' $ac_executable_extensions; do
15794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15795 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
15796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15806 PERL
=$ac_cv_path_PERL
15807 if test -n "$PERL"; then
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
15809 $as_echo "$PERL" >&6; }
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15812 $as_echo "no" >&6; }
15816 test -n "$PERL" && break
15818 test -n "$PERL" || PERL
="perl"
15821 if test "$PERL" = "perl"
15823 as_fn_error $?
"Perl not found." "$LINENO" 5
15828 for ac_header
in stddef.h wchar.h locale.h
15830 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15831 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15832 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15833 cat >>confdefs.h
<<_ACEOF
15834 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15844 for ac_func
in setlocale
15846 ac_fn_c_check_func
"$LINENO" "setlocale" "ac_cv_func_setlocale"
15847 if test "x$ac_cv_func_setlocale" = xyes
; then :
15848 cat >>confdefs.h
<<_ACEOF
15849 #define HAVE_SETLOCALE 1
15856 if test -f ${srcdir}/UnicodeData.txt
; then
15857 UPDATE_UNICODE_TRUE
=
15858 UPDATE_UNICODE_FALSE
='#'
15860 UPDATE_UNICODE_TRUE
='#'
15861 UPDATE_UNICODE_FALSE
=
15865 # Check whether --enable-largefile was given.
15866 if test "${enable_largefile+set}" = set; then :
15867 enableval
=$enable_largefile;
15870 if test "$enable_largefile" != no
; then
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15873 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15874 if ${ac_cv_sys_largefile_CC+:} false
; then :
15875 $as_echo_n "(cached) " >&6
15877 ac_cv_sys_largefile_CC
=no
15878 if test "$GCC" != yes; then
15881 # IRIX 6.2 and later do not support large files by default,
15882 # so use the C compiler's -n32 option if that helps.
15883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15885 #include <sys/types.h>
15886 /* Check that off_t can represent 2**63 - 1 correctly.
15887 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15888 since some C++ compilers masquerading as C compilers
15889 incorrectly reject 9223372036854775807. */
15890 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15891 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15892 && LARGE_OFF_T % 2147483647 == 1)
15902 if ac_fn_c_try_compile
"$LINENO"; then :
15905 rm -f core conftest.err conftest.
$ac_objext
15907 if ac_fn_c_try_compile
"$LINENO"; then :
15908 ac_cv_sys_largefile_CC
=' -n32'; break
15910 rm -f core conftest.err conftest.
$ac_objext
15914 rm -f conftest.
$ac_ext
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15918 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15919 if test "$ac_cv_sys_largefile_CC" != no
; then
15920 CC
=$CC$ac_cv_sys_largefile_CC
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15924 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15925 if ${ac_cv_sys_file_offset_bits+:} false
; then :
15926 $as_echo_n "(cached) " >&6
15929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 #include <sys/types.h>
15932 /* Check that off_t can represent 2**63 - 1 correctly.
15933 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15934 since some C++ compilers masquerading as C compilers
15935 incorrectly reject 9223372036854775807. */
15936 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15937 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15938 && LARGE_OFF_T % 2147483647 == 1)
15948 if ac_fn_c_try_compile
"$LINENO"; then :
15949 ac_cv_sys_file_offset_bits
=no
; break
15951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15953 /* end confdefs.h. */
15954 #define _FILE_OFFSET_BITS 64
15955 #include <sys/types.h>
15956 /* Check that off_t can represent 2**63 - 1 correctly.
15957 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15958 since some C++ compilers masquerading as C compilers
15959 incorrectly reject 9223372036854775807. */
15960 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15961 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15962 && LARGE_OFF_T % 2147483647 == 1)
15972 if ac_fn_c_try_compile
"$LINENO"; then :
15973 ac_cv_sys_file_offset_bits
=64; break
15975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15976 ac_cv_sys_file_offset_bits
=unknown
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15981 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15982 case $ac_cv_sys_file_offset_bits in #(
15985 cat >>confdefs.h
<<_ACEOF
15986 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15991 if test $ac_cv_sys_file_offset_bits = unknown
; then
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15993 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15994 if ${ac_cv_sys_large_files+:} false
; then :
15995 $as_echo_n "(cached) " >&6
15998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15999 /* end confdefs.h. */
16000 #include <sys/types.h>
16001 /* Check that off_t can represent 2**63 - 1 correctly.
16002 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16003 since some C++ compilers masquerading as C compilers
16004 incorrectly reject 9223372036854775807. */
16005 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16006 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16007 && LARGE_OFF_T % 2147483647 == 1)
16017 if ac_fn_c_try_compile
"$LINENO"; then :
16018 ac_cv_sys_large_files
=no
; break
16020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16022 /* end confdefs.h. */
16023 #define _LARGE_FILES 1
16024 #include <sys/types.h>
16025 /* Check that off_t can represent 2**63 - 1 correctly.
16026 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16027 since some C++ compilers masquerading as C compilers
16028 incorrectly reject 9223372036854775807. */
16029 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16030 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16031 && LARGE_OFF_T % 2147483647 == 1)
16041 if ac_fn_c_try_compile
"$LINENO"; then :
16042 ac_cv_sys_large_files
=1; break
16044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16045 ac_cv_sys_large_files
=unknown
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16050 $as_echo "$ac_cv_sys_large_files" >&6; }
16051 case $ac_cv_sys_large_files in #(
16054 cat >>confdefs.h
<<_ACEOF
16055 #define _LARGE_FILES $ac_cv_sys_large_files
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16067 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16068 if ${ac_cv_c_bigendian+:} false
; then :
16069 $as_echo_n "(cached) " >&6
16071 ac_cv_c_bigendian
=unknown
16072 # See if we're dealing with a universal compiler.
16073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16074 /* end confdefs.h. */
16075 #ifndef __APPLE_CC__
16076 not a universal capable compiler
16081 if ac_fn_c_try_compile
"$LINENO"; then :
16083 # Check for potential -arch flags. It is not universal unless
16084 # there are at least two -arch flags with different values.
16087 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16088 if test -n "$ac_prev"; then
16090 i?
86 | x86_64 | ppc | ppc64
)
16091 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
16094 ac_cv_c_bigendian
=universal
16100 elif test "x$ac_word" = "x-arch"; then
16105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16106 if test $ac_cv_c_bigendian = unknown
; then
16107 # See if sys/param.h defines the BYTE_ORDER macro.
16108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16110 #include <sys/types.h>
16111 #include <sys/param.h>
16116 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16117 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16119 bogus endian macros
16126 if ac_fn_c_try_compile
"$LINENO"; then :
16127 # It does; now see whether it defined to BIG_ENDIAN or not.
16128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16129 /* end confdefs.h. */
16130 #include <sys/types.h>
16131 #include <sys/param.h>
16136 #if BYTE_ORDER != BIG_ENDIAN
16144 if ac_fn_c_try_compile
"$LINENO"; then :
16145 ac_cv_c_bigendian
=yes
16147 ac_cv_c_bigendian
=no
16149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16153 if test $ac_cv_c_bigendian = unknown
; then
16154 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16156 /* end confdefs.h. */
16157 #include <limits.h>
16162 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16163 bogus endian macros
16170 if ac_fn_c_try_compile
"$LINENO"; then :
16171 # It does; now see whether it defined to _BIG_ENDIAN or not.
16172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16173 /* end confdefs.h. */
16174 #include <limits.h>
16179 #ifndef _BIG_ENDIAN
16187 if ac_fn_c_try_compile
"$LINENO"; then :
16188 ac_cv_c_bigendian
=yes
16190 ac_cv_c_bigendian
=no
16192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16196 if test $ac_cv_c_bigendian = unknown
; then
16197 # Compile a test program.
16198 if test "$cross_compiling" = yes; then :
16199 # Try to guess by grepping values from an object file.
16200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16201 /* end confdefs.h. */
16202 short int ascii_mm[] =
16203 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16204 short int ascii_ii[] =
16205 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16206 int use_ascii (int i) {
16207 return ascii_mm[i] + ascii_ii[i];
16209 short int ebcdic_ii[] =
16210 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16211 short int ebcdic_mm[] =
16212 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16213 int use_ebcdic (int i) {
16214 return ebcdic_mm[i] + ebcdic_ii[i];
16221 return use_ascii (foo) == use_ebcdic (foo);
16226 if ac_fn_c_try_compile
"$LINENO"; then :
16227 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
16228 ac_cv_c_bigendian
=yes
16230 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
16231 if test "$ac_cv_c_bigendian" = unknown
; then
16232 ac_cv_c_bigendian
=no
16234 # finding both strings is unlikely to happen, but who knows?
16235 ac_cv_c_bigendian
=unknown
16239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16242 /* end confdefs.h. */
16243 $ac_includes_default
16248 /* Are we little or big endian? From Harbison&Steele. */
16252 char c[sizeof (long int)];
16255 return u.c[sizeof (long int) - 1] == 1;
16261 if ac_fn_c_try_run
"$LINENO"; then :
16262 ac_cv_c_bigendian
=no
16264 ac_cv_c_bigendian
=yes
16266 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16267 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16273 $as_echo "$ac_cv_c_bigendian" >&6; }
16274 case $ac_cv_c_bigendian in #(
16276 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16282 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16286 as_fn_error $?
"unknown endianness
16287 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcharset is used" >&5
16292 $as_echo_n "checking whether libcharset is used... " >&6; }
16294 # Check whether --with-libcharset was given.
16295 if test "${with_libcharset+set}" = set; then :
16296 withval
=$with_libcharset; unicode_with_libcharset
=$withval
16298 unicode_with_libcharset
=no
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $unicode_with_libcharset" >&5
16302 $as_echo "$unicode_with_libcharset" >&6; }
16303 if test "$unicode_with_libcharset" = "yes"; then
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locale_charset in -lcharset" >&5
16305 $as_echo_n "checking for locale_charset in -lcharset... " >&6; }
16306 if ${ac_cv_lib_charset_locale_charset+:} false
; then :
16307 $as_echo_n "(cached) " >&6
16309 ac_check_lib_save_LIBS
=$LIBS
16310 LIBS
="-lcharset $LIBS"
16311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16312 /* end confdefs.h. */
16314 /* Override any GCC internal prototype to avoid an error.
16315 Use char because int might match the return type of a GCC
16316 builtin and then its argument prototype would still apply. */
16320 char locale_charset ();
16324 return locale_charset ();
16329 if ac_fn_c_try_link
"$LINENO"; then :
16330 ac_cv_lib_charset_locale_charset
=yes
16332 ac_cv_lib_charset_locale_charset
=no
16334 rm -f core conftest.err conftest.
$ac_objext \
16335 conftest
$ac_exeext conftest.
$ac_ext
16336 LIBS
=$ac_check_lib_save_LIBS
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_charset_locale_charset" >&5
16339 $as_echo "$ac_cv_lib_charset_locale_charset" >&6; }
16340 if test "x$ac_cv_lib_charset_locale_charset" = xyes
; then :
16341 cat >>confdefs.h
<<_ACEOF
16342 #define HAVE_LIBCHARSET 1
16345 LIBS
="-lcharset $LIBS"
16349 if test "$ac_cv_lib_charset_locale_charset" = "yes"; then
16350 for ac_header
in localcharset.h libcharset.h
16352 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16353 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16354 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16355 cat >>confdefs.h
<<_ACEOF
16356 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16364 as_fn_error $?
"libcharset was not found. Install libcharset package." "$LINENO" 5
16367 cat >>confdefs.h
<<_ACEOF
16368 #define UNICODE_USE_LIBCHARSET 1
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
16374 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
16375 if ${am_cv_langinfo_codeset+:} false
; then :
16376 $as_echo_n "(cached) " >&6
16378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16380 #include <langinfo.h>
16384 char* cs = nl_langinfo(CODESET); return !cs;
16389 if ac_fn_c_try_link
"$LINENO"; then :
16390 am_cv_langinfo_codeset
=yes
16392 am_cv_langinfo_codeset
=no
16394 rm -f core conftest.err conftest.
$ac_objext \
16395 conftest
$ac_exeext conftest.
$ac_ext
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
16399 $as_echo "$am_cv_langinfo_codeset" >&6; }
16400 if test $am_cv_langinfo_codeset = yes; then
16402 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
16410 LIBS
="$LIBS -liconv"
16412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16413 /* end confdefs.h. */
16428 if ac_fn_c_try_link
"$LINENO"; then :
16433 rm -f core conftest.err conftest.
$ac_objext \
16434 conftest
$ac_exeext conftest.
$ac_ext
16436 if test "$GCC" = "yes"
16438 CFLAGS
="$CFLAGS -Wall -fexceptions"
16440 CFLAGS
="-I.. -I$srcdir/.. $CFLAGS"
16441 CXXFLAGS
="-I.. -I$srcdir/.. $CXXFLAGS"
16442 ac_config_files
="$ac_config_files Makefile"
16444 cat >confcache
<<\_ACEOF
16445 # This file is a shell script that caches the results of configure
16446 # tests run on this system so they can be shared between configure
16447 # scripts and configure runs, see configure's option --config-cache.
16448 # It is not useful on other systems. If it contains results you don't
16449 # want to keep, you may remove or edit it.
16451 # config.status only pays attention to the cache file if you give it
16452 # the --recheck option to rerun configure.
16454 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16455 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16456 # following values.
16460 # The following way of writing the cache mishandles newlines in values,
16461 # but we know of no workaround that is simple, portable, and efficient.
16462 # So, we kill variables containing newlines.
16463 # Ultrix sh set writes to stderr and can't be redirected directly,
16464 # and sets the high bit in the cache file unless we assign to the vars.
16466 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16467 eval ac_val
=\$
$ac_var
16471 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16472 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16475 _ | IFS | as_nl
) ;; #(
16476 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16477 *) { eval $ac_var=; unset $ac_var;} ;;
16483 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16484 *${as_nl}ac_space
=\
*)
16485 # `set' does not quote correctly, so add quotes: double-quote
16486 # substitution turns \\\\ into \\, and sed turns \\ into \.
16489 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16492 # `set' quotes correctly as required by POSIX, so do not add quotes.
16493 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16502 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16504 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16506 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16507 if test -w "$cache_file"; then
16508 if test "x$cache_file" != "x/dev/null"; then
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16510 $as_echo "$as_me: updating cache $cache_file" >&6;}
16511 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16512 cat confcache
>"$cache_file"
16514 case $cache_file in #(
16516 mv -f confcache
"$cache_file"$$
&&
16517 mv -f "$cache_file"$$
"$cache_file" ;; #(
16519 mv -f confcache
"$cache_file" ;;
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16525 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16530 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16531 # Let make expand exec_prefix.
16532 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16534 DEFS
=-DHAVE_CONFIG_H
16538 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16539 # 1. Remove the extension, and $U if already installed.
16540 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16541 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16542 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16543 # will be set to the directory where LIBOBJS objects are built.
16544 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16545 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16547 LIBOBJS
=$ac_libobjs
16549 LTLIBOBJS
=$ac_ltlibobjs
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16553 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16554 if test -n "$am_sleep_pid"; then
16555 # Hide warnings about reused PIDs.
16556 wait $am_sleep_pid 2>/dev
/null
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16559 $as_echo "done" >&6; }
16560 if test -n "$EXEEXT"; then
16562 am__EXEEXT_FALSE
='#'
16564 am__EXEEXT_TRUE
='#'
16568 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16569 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16572 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16573 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16576 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16577 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16580 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16581 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
16582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16584 if test -z "${UPDATE_UNICODE_TRUE}" && test -z "${UPDATE_UNICODE_FALSE}"; then
16585 as_fn_error $?
"conditional \"UPDATE_UNICODE\" was never defined.
16586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16590 : "${CONFIG_STATUS=./config.status}"
16592 ac_clean_files_save
=$ac_clean_files
16593 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16595 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16597 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16599 # Generated by $as_me.
16600 # Run this file to recreate the current configuration.
16601 # Compiler output produced by configure, useful for debugging
16602 # configure, is in config.log if it exists.
16605 ac_cs_recheck=false
16608 SHELL=\${CONFIG_SHELL-$SHELL}
16611 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16612 ## -------------------- ##
16613 ## M4sh Initialization. ##
16614 ## -------------------- ##
16616 # Be more Bourne compatible
16617 DUALCASE
=1; export DUALCASE
# for MKS sh
16618 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16621 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16622 # is contrary to our usage. Disable this feature.
16623 alias -g '${1+"$@"}'='"$@"'
16624 setopt NO_GLOB_SUBST
16626 case `(set -o) 2>/dev/null` in #(
16638 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16639 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16640 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16641 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16642 # Prefer a ksh shell builtin over an external printf program on Solaris,
16643 # but without wasting forks for bash or zsh.
16644 if test -z "$BASH_VERSION$ZSH_VERSION" \
16645 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16646 as_echo='print
-r --'
16647 as_echo_n='print
-rn --'
16648 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16649 as_echo='printf %s
\n'
16650 as_echo_n='printf %s
'
16652 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16653 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16654 as_echo_n='/usr
/ucb
/echo -n'
16656 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16657 as_echo_n_body='eval
16661 expr "X$arg" : "X\\(.*\\)$as_nl";
16662 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16664 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16666 export as_echo_n_body
16667 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16669 export as_echo_body
16670 as_echo='sh
-c $as_echo_body as_echo
'
16673 # The user is always right.
16674 if test "${PATH_SEPARATOR+set}" != set; then
16676 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16677 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16684 # We need space, tab and new line, in precisely that order. Quoting is
16685 # there to prevent editors from complaining about space-tab.
16686 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16687 # splitting by setting IFS to empty value.)
16690 # Find who we are. Look in the path if we contain no directory separator.
16693 *[\\/]* ) as_myself=$0 ;;
16694 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16695 for as_dir in $PATH
16698 test -z "$as_dir" && as_dir=.
16699 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16705 # We did not find ourselves, most probably we were run as `sh COMMAND'
16706 # in which case we are not to be found in the path.
16707 if test "x$as_myself" = x
; then
16710 if test ! -f "$as_myself"; then
16711 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16715 # Unset variables that we do not need and which cause bugs (e.g. in
16716 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16717 # suppresses any "Segmentation fault" message there. '((' could
16718 # trigger a bug in pdksh 5.2.14.
16719 for as_var
in BASH_ENV ENV MAIL MAILPATH
16720 do eval test x\
${$as_var+set} = xset \
16721 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16734 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16737 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16738 # ----------------------------------------
16739 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16740 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16741 # script with STATUS, using 1 if that was 0.
16744 as_status
=$1; test $as_status -eq 0 && as_status
=1
16746 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16747 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16749 $as_echo "$as_me: error: $2" >&2
16750 as_fn_exit
$as_status
16754 # as_fn_set_status STATUS
16755 # -----------------------
16756 # Set $? to STATUS, without forking.
16757 as_fn_set_status
()
16760 } # as_fn_set_status
16762 # as_fn_exit STATUS
16763 # -----------------
16764 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16768 as_fn_set_status
$1
16774 # Portably unset VAR.
16777 { eval $1=; unset $1;}
16779 as_unset
=as_fn_unset
16780 # as_fn_append VAR VALUE
16781 # ----------------------
16782 # Append the text in VALUE to the end of the definition contained in VAR. Take
16783 # advantage of any shell optimizations that allow amortized linear growth over
16784 # repeated appends, instead of the typical quadratic growth present in naive
16786 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16787 eval 'as_fn_append ()
16798 # as_fn_arith ARG...
16799 # ------------------
16800 # Perform arithmetic evaluation on the ARGs, and store the result in the
16801 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16802 # must be portable across $(()) and expr.
16803 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16804 eval 'as_fn_arith ()
16811 as_val
=`expr "$@" || test $? -eq 1`
16816 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16817 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16823 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16824 as_basename
=basename
16829 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16835 as_me
=`$as_basename -- "$0" ||
16836 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16837 X"$0" : 'X\(//\)$' \| \
16838 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16840 sed '/^.*\/\([^/][^/]*\)\/*$/{
16854 # Avoid depending upon Character Ranges.
16855 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16856 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16857 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16858 as_cr_digits
='0123456789'
16859 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16861 ECHO_C
= ECHO_N
= ECHO_T
=
16862 case `echo -n x` in #(((((
16864 case `echo 'xy\c'` in
16865 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16867 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16874 rm -f conf$$ conf$$.exe conf$$.
file
16875 if test -d conf$$.dir
; then
16876 rm -f conf$$.dir
/conf$$.
file
16879 mkdir conf$$.dir
2>/dev
/null
16881 if (echo >conf$$.
file) 2>/dev
/null
; then
16882 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16884 # ... but there are two gotchas:
16885 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16886 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16887 # In both cases, we have to default to `cp -pR'.
16888 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16890 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16898 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16899 rmdir conf$$.dir
2>/dev
/null
16904 # Create "$as_dir" as a directory, including parents if necessary.
16909 -*) as_dir
=.
/$as_dir;;
16911 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16915 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16916 *) as_qdir
=$as_dir;;
16918 as_dirs
="'$as_qdir' $as_dirs"
16919 as_dir
=`$as_dirname -- "$as_dir" ||
16920 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16921 X"$as_dir" : 'X\(//\)[^/]' \| \
16922 X"$as_dir" : 'X\(//\)$' \| \
16923 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16924 $as_echo X"$as_dir" |
16925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16929 /^X\(\/\/\)[^/].*/{
16942 test -d "$as_dir" && break
16944 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16945 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16949 if mkdir
-p .
2>/dev
/null
; then
16950 as_mkdir_p
='mkdir -p "$as_dir"'
16952 test -d .
/-p && rmdir .
/-p
16957 # as_fn_executable_p FILE
16958 # -----------------------
16959 # Test if FILE is an executable regular file.
16960 as_fn_executable_p
()
16962 test -f "$1" && test -x "$1"
16963 } # as_fn_executable_p
16964 as_test_x
='test -x'
16965 as_executable_p
=as_fn_executable_p
16967 # Sed expression to map a string onto a valid CPP name.
16968 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16970 # Sed expression to map a string onto a valid variable name.
16971 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16975 ## ----------------------------------- ##
16976 ## Main body of $CONFIG_STATUS script. ##
16977 ## ----------------------------------- ##
16979 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16982 # Save the log message, to keep $0 and so on meaningful, and to
16983 # report actual input values of CONFIG_FILES etc. instead of their
16984 # values after options handling.
16986 This file was extended by unicode $as_me 0.10, which was
16987 generated by GNU Autoconf 2.69. Invocation command line was
16989 CONFIG_FILES = $CONFIG_FILES
16990 CONFIG_HEADERS = $CONFIG_HEADERS
16991 CONFIG_LINKS = $CONFIG_LINKS
16992 CONFIG_COMMANDS = $CONFIG_COMMANDS
16995 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17000 case $ac_config_files in *"
17001 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17004 case $ac_config_headers in *"
17005 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17010 # Files that config.status was made for.
17011 config_files="$ac_config_files"
17012 config_headers="$ac_config_headers"
17013 config_commands="$ac_config_commands"
17017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17019 \`$as_me' instantiates files and other configuration actions
17020 from templates according to the current configuration. Unless the files
17021 and actions are specified as TAGs, all are instantiated by default.
17023 Usage: $0 [OPTION]... [TAG]...
17025 -h, --help print this help, then exit
17026 -V, --version print version number and configuration settings, then exit
17027 --config print configuration, then exit
17028 -q, --quiet, --silent
17029 do not print progress messages
17030 -d, --debug don't remove temporary files
17031 --recheck update $as_me by reconfiguring in the same conditions
17032 --file=FILE[:TEMPLATE]
17033 instantiate the configuration file FILE
17034 --header=FILE[:TEMPLATE]
17035 instantiate the configuration header FILE
17037 Configuration files:
17040 Configuration headers:
17043 Configuration commands:
17046 Report bugs to <courier-maildrop@lists.sourceforge.net>."
17049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17050 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17052 unicode config.status 0.10
17053 configured by $0, generated by GNU Autoconf 2.69,
17054 with options \\"\$ac_cs_config\\"
17056 Copyright (C) 2012 Free Software Foundation, Inc.
17057 This config.status script is free software; the Free Software Foundation
17058 gives unlimited permission to copy, distribute and modify it."
17065 test -n "\$AWK" || AWK=awk
17068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17069 # The default lists apply if the user does not specify any file.
17075 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17076 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17080 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17092 # Handling of the options.
17093 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17095 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17096 $as_echo "$ac_cs_version"; exit ;;
17097 --config |
--confi |
--conf |
--con |
--co |
--c )
17098 $as_echo "$ac_cs_config"; exit ;;
17099 --debug |
--debu |
--deb |
--de |
--d |
-d )
17101 --file |
--fil |
--fi |
--f )
17104 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17105 '') as_fn_error $?
"missing file argument" ;;
17107 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17108 ac_need_defaults
=false
;;
17109 --header |
--heade |
--head |
--hea )
17112 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17114 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17115 ac_need_defaults
=false
;;
17117 # Conflict between --help and --header
17118 as_fn_error $?
"ambiguous option: \`$1'
17119 Try \`$0 --help' for more information.";;
17120 --help |
--hel |
-h )
17121 $as_echo "$ac_cs_usage"; exit ;;
17122 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17123 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17126 # This is an error.
17127 -*) as_fn_error $?
"unrecognized option: \`$1'
17128 Try \`$0 --help' for more information." ;;
17130 *) as_fn_append ac_config_targets
" $1"
17131 ac_need_defaults
=false
;;
17137 ac_configure_extra_args
=
17139 if $ac_cs_silent; then
17141 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17146 if \$ac_cs_recheck; then
17147 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17149 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17150 CONFIG_SHELL='$SHELL'
17151 export CONFIG_SHELL
17156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17160 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17161 ## Running $as_me. ##
17167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17171 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17174 # The HP-UX ksh and POSIX shell print the target directory to stdout
17175 # if CDPATH is set.
17176 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17178 sed_quote_subst='$sed_quote_subst'
17179 double_quote_subst='$double_quote_subst'
17180 delay_variable_subst='$delay_variable_subst'
17181 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17182 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17183 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17184 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17185 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17186 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17187 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17188 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17189 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17190 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17191 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17192 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17193 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17194 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17195 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17196 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17197 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17198 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17199 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17200 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17201 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17202 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17203 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17204 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17205 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17206 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17207 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17208 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17209 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17210 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17211 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17212 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17213 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17214 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17215 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17216 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17217 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17218 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17219 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17220 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17221 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17222 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17223 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17224 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17225 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17226 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17227 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17228 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17229 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17230 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17231 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17232 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17233 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17234 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17235 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17236 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17237 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"`'
17238 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17239 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17240 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17241 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17242 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17243 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17244 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17245 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17246 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17247 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17248 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17249 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17250 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17251 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17252 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17253 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17254 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17255 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17256 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17257 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17258 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17259 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17260 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17261 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17262 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17263 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17264 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17265 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17266 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17267 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17268 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17269 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17270 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17271 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17272 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17273 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17274 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17275 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17276 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17277 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17278 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17279 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17280 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17281 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17282 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17283 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17284 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17285 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17286 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17287 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17288 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17289 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17290 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17291 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17292 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17293 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17294 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17295 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17296 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17297 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17298 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17299 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17300 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17301 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17302 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17303 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17304 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17305 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17306 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17307 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17308 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17309 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17310 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17311 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17312 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17313 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17314 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17315 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17316 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17317 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17318 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17319 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17320 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17321 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17322 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17323 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17324 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17325 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17326 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17327 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17328 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17329 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17330 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17331 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17332 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17333 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17334 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17335 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17336 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17337 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17338 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17339 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17340 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17341 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17342 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17343 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17344 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17345 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17346 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17347 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17348 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17349 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17350 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17351 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17352 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17353 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17354 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17355 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17356 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17357 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17358 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17359 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17360 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17361 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17362 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17363 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17364 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17367 LTCFLAGS='$LTCFLAGS'
17368 compiler='$compiler_DEFAULT'
17370 # A function that is used when there is no print builtin or printf.
17371 func_fallback_echo ()
17373 eval 'cat <<_LTECHO_EOF
17378 # Quote evaled strings.
17393 deplibs_check_method \
17398 sharedlib_from_linklib_cmd \
17401 archiver_list_spec \
17407 lt_cv_sys_global_symbol_pipe \
17408 lt_cv_sys_global_symbol_to_cdecl \
17409 lt_cv_sys_global_symbol_to_c_name_address \
17410 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17411 nm_file_list_spec \
17412 lt_prog_compiler_no_builtin_flag \
17413 lt_prog_compiler_pic \
17414 lt_prog_compiler_wl \
17415 lt_prog_compiler_static \
17416 lt_cv_prog_compiler_c_o \
17425 export_dynamic_flag_spec \
17426 whole_archive_flag_spec \
17427 compiler_needs_object \
17429 allow_undefined_flag \
17430 no_undefined_flag \
17431 hardcode_libdir_flag_spec \
17432 hardcode_libdir_separator \
17436 variables_saved_for_relink \
17438 library_names_spec \
17440 install_override_mode \
17444 compiler_lib_search_dirs \
17449 compiler_lib_search_path \
17453 lt_prog_compiler_no_builtin_flag_CXX \
17454 lt_prog_compiler_pic_CXX \
17455 lt_prog_compiler_wl_CXX \
17456 lt_prog_compiler_static_CXX \
17457 lt_cv_prog_compiler_c_o_CXX \
17458 export_dynamic_flag_spec_CXX \
17459 whole_archive_flag_spec_CXX \
17460 compiler_needs_object_CXX \
17462 allow_undefined_flag_CXX \
17463 no_undefined_flag_CXX \
17464 hardcode_libdir_flag_spec_CXX \
17465 hardcode_libdir_separator_CXX \
17466 exclude_expsyms_CXX \
17467 include_expsyms_CXX \
17468 file_list_spec_CXX \
17469 compiler_lib_search_dirs_CXX \
17470 predep_objects_CXX \
17471 postdep_objects_CXX \
17474 compiler_lib_search_path_CXX; do
17475 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17476 *[\\\\\\\`\\"\\\$]*)
17477 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17480 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17485 # Double-quote double-evaled strings.
17486 for var in reload_cmds \
17487 old_postinstall_cmds \
17488 old_postuninstall_cmds \
17490 extract_expsyms_cmds \
17491 old_archive_from_new_cmds \
17492 old_archive_from_expsyms_cmds \
17494 archive_expsym_cmds \
17496 module_expsym_cmds \
17497 export_symbols_cmds \
17501 postuninstall_cmds \
17503 sys_lib_search_path_spec \
17504 sys_lib_dlsearch_path_spec \
17506 old_archive_cmds_CXX \
17507 old_archive_from_new_cmds_CXX \
17508 old_archive_from_expsyms_cmds_CXX \
17510 archive_expsym_cmds_CXX \
17512 module_expsym_cmds_CXX \
17513 export_symbols_cmds_CXX \
17515 postlink_cmds_CXX; do
17516 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17517 *[\\\\\\\`\\"\\\$]*)
17518 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17521 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17526 ac_aux_dir='$ac_aux_dir'
17527 xsi_shell='$xsi_shell'
17528 lt_shell_append='$lt_shell_append'
17530 # See if we are running on zsh, and set the options which allow our
17531 # commands through without removal of \ escapes INIT.
17532 if test -n "\${ZSH_VERSION+set}" ; then
17533 setopt NO_GLOB_SUBST
17539 TIMESTAMP='$TIMESTAMP'
17550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17552 # Handling of arguments.
17553 for ac_config_target
in $ac_config_targets
17555 case $ac_config_target in
17556 "unicode_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS unicode_config.h" ;;
17557 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17558 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17559 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17561 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17566 # If the user did not use the arguments to specify the items to instantiate,
17567 # then the envvar interface is used. Set only those that are not.
17568 # We use the long form for the default assignment because of an extremely
17569 # bizarre bug on SunOS 4.1.3.
17570 if $ac_need_defaults; then
17571 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17572 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17573 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17576 # Have a temporary directory for convenience. Make it in the build tree
17577 # simply because there is no reason against having it here, and in addition,
17578 # creating and moving files from /tmp can sometimes cause problems.
17579 # Hook for its removal unless debugging.
17580 # Note that there is a small window in which the directory will not be cleaned:
17581 # after its creation but before its name has been assigned to `$tmp'.
17585 trap 'exit_status=$?
17586 : "${ac_tmp:=$tmp}"
17587 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17589 trap 'as_fn_exit 1' 1 2 13 15
17591 # Create a (secure) tmp directory for tmp files.
17594 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17598 tmp
=.
/conf$$
-$RANDOM
17599 (umask 077 && mkdir
"$tmp")
17600 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17603 # Set up the scripts for CONFIG_FILES section.
17604 # No need to generate them if there are no CONFIG_FILES.
17605 # This happens for instance with `./config.status config.h'.
17606 if test -n "$CONFIG_FILES"; then
17609 ac_cr
=`echo X | tr X '\015'`
17610 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17611 # But we know of no other shell where ac_cr would be empty at this
17612 # point, so we can use a bashism as a fallback.
17613 if test "x$ac_cr" = x
; then
17614 eval ac_cr
=\$
\'\\r
\'
17616 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17617 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17620 ac_cs_awk_cr
=$ac_cr
17623 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17628 echo "cat >conf$$subs.awk <<_ACEOF" &&
17629 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17631 } >conf$$subs.sh ||
17632 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17633 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17635 for ac_last_try in false false false false false :; do
17636 . ./conf$$subs.sh ||
17637 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17639 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17640 if test $ac_delim_n = $ac_delim_num; then
17642 elif $ac_last_try; then
17643 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17645 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17648 rm -f conf$$subs.sh
17650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17651 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17655 s/^/S["/; s
/!.
*/"]=/
17665 s/\(.\{148\}\)..*/\1/
17667 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17672 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17679 s/\(.\{148\}\)..*/\1/
17681 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17685 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17690 ' <conf$$subs.awk | sed '
17695 ' >>$CONFIG_STATUS || ac_write_fail=1
17696 rm -f conf$$subs.awk
17697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17699 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17700 for (key in S) S_is_set[key] = 1
17706 nfields = split(line, field, "@
")
17708 len = length(field[1])
17709 for (i = 2; i < nfields; i++) {
17711 keylen = length(key)
17712 if (S_is_set[key]) {
17714 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17715 len += length(value) + length(field[++i])
17726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17727 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17728 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17731 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17732 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17735 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17736 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17737 # trailing colons and then remove the whole line if VPATH becomes empty
17738 # (actually we leave an empty line to preserve line numbers).
17739 if test "x
$srcdir" = x.; then
17740 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17759 fi # test -n "$CONFIG_FILES"
17761 # Set up the scripts for CONFIG_HEADERS section.
17762 # No need to generate them if there are no CONFIG_HEADERS.
17763 # This happens for instance with `./config.status Makefile'.
17764 if test -n "$CONFIG_HEADERS"; then
17765 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17769 # Transform confdefs.h into an awk script `defines.awk', embedded as
17770 # here-document in config.status, that substitutes the proper values into
17771 # config.h.in to produce config.h.
17773 # Create a delimiter string that does not exist in confdefs.h, to ease
17774 # handling of long lines.
17776 for ac_last_try in false false :; do
17777 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17778 if test -z "$ac_tt"; then
17780 elif $ac_last_try; then
17781 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17783 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17787 # For the awk script, D is an array of macro values keyed by name,
17788 # likewise P contains macro parameters if any. Preserve backslash
17789 # newline sequences.
17791 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17793 s/.\{148\}/&'"$ac_delim"'/g
17796 s/^[ ]*#[ ]*define[ ][ ]*/ /
17803 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17805 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17809 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17810 D["\
1"]=" \
3\\\\\\n
"\\/p
17812 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17817 s/.\{148\}/&'"$ac_delim"'/g
17822 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17825 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17827 ' <confdefs.h | sed '
17828 s/'"$ac_delim"'/"\\\
17829 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17832 for (key in D) D_is_set[key] = 1
17835 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17837 split(line, arg, " ")
17838 if (arg[1] == "#") {
17842 defundef
= substr
(arg
[1], 2)
17845 split(mac1
, mac2
, "(") #)
17847 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17848 if (D_is_set
[macro
]) {
17849 # Preserve the white space surrounding the "#".
17850 print prefix
"define", macro P
[macro
] D
[macro
]
17853 # Replace #undef with comments. This is necessary, for example,
17854 # in the case of _POSIX_SOURCE, which is predefined and required
17855 # on some systems where configure will not decide to define it.
17856 if (defundef
== "undef") {
17857 print
"/*", prefix defundef
, macro
, "*/"
17865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17866 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17867 fi # test -n "$CONFIG_HEADERS"
17870 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17875 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17877 case $ac_mode$ac_tag in
17879 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17880 :[FH
]-) ac_tag
=-:-;;
17881 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17898 -) ac_f
="$ac_tmp/stdin";;
17899 *) # Look for the file first in the build tree, then in the source tree
17900 # (if the path is not absolute). The absolute path cannot be DOS-style,
17901 # because $ac_f cannot contain `:'.
17905 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17907 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17909 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17910 as_fn_append ac_file_inputs
" '$ac_f'"
17913 # Let's still pretend it is `configure' which instantiates (i.e., don't
17914 # use $as_me), people would be surprised to read:
17915 # /* config.h. Generated by config.status. */
17916 configure_input
='Generated from '`
17917 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17919 if test x
"$ac_file" != x-
; then
17920 configure_input
="$ac_file. $configure_input"
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17922 $as_echo "$as_me: creating $ac_file" >&6;}
17924 # Neutralize special characters interpreted by sed in replacement strings.
17925 case $configure_input in #(
17926 *\
&* |
*\|
* |
*\\* )
17927 ac_sed_conf_input
=`$as_echo "$configure_input" |
17928 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17929 *) ac_sed_conf_input
=$configure_input;;
17933 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17934 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17939 ac_dir
=`$as_dirname -- "$ac_file" ||
17940 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17941 X"$ac_file" : 'X\(//\)[^/]' \| \
17942 X"$ac_file" : 'X\(//\)$' \| \
17943 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17944 $as_echo X"$ac_file" |
17945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17949 /^X\(\/\/\)[^/].*/{
17962 as_dir
="$ac_dir"; as_fn_mkdir_p
17966 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17968 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17969 # A ".." for each directory in $ac_dir_suffix.
17970 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17971 case $ac_top_builddir_sub in
17972 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17973 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17976 ac_abs_top_builddir
=$ac_pwd
17977 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17978 # for backward compatibility:
17979 ac_top_builddir
=$ac_top_build_prefix
17982 .
) # We are building in place.
17984 ac_top_srcdir
=$ac_top_builddir_sub
17985 ac_abs_top_srcdir
=$ac_pwd ;;
17986 [\\/]* | ?
:[\\/]* ) # Absolute name.
17987 ac_srcdir
=$srcdir$ac_dir_suffix;
17988 ac_top_srcdir
=$srcdir
17989 ac_abs_top_srcdir
=$srcdir ;;
17990 *) # Relative name.
17991 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17992 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17993 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17995 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18005 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18006 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18008 ac_MKDIR_P
=$MKDIR_P
18010 [\\/$
]* | ?
:[\\/]* ) ;;
18011 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18016 # If the template does not know about datarootdir, expand it.
18017 # FIXME: This hack should be removed a few years after 2.60.
18018 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18029 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18030 *datarootdir
*) ac_datarootdir_seen
=yes;;
18031 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18033 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18036 ac_datarootdir_hack='
18037 s&@datadir@&$datadir&g
18038 s&@docdir@&$docdir&g
18039 s&@infodir@&$infodir&g
18040 s&@localedir@&$localedir&g
18041 s&@mandir@&$mandir&g
18042 s&\\\${datarootdir}&$datarootdir&g' ;;
18046 # Neutralize VPATH when `$srcdir' = `.'.
18047 # Shell code in configure.ac might set extrasub.
18048 # FIXME: do we really want to maintain this feature?
18049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18050 ac_sed_extra="$ac_vpsub
18053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18055 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18056 s|@configure_input@|
$ac_sed_conf_input|
;t t
18057 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18058 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18059 s
&@srcdir@
&$ac_srcdir&;t t
18060 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18061 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18062 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18063 s
&@builddir@
&$ac_builddir&;t t
18064 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18065 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18066 s
&@INSTALL@
&$ac_INSTALL&;t t
18067 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18068 $ac_datarootdir_hack
18070 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18071 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18073 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18074 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18075 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18076 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18078 which seems to be undefined. Please make sure it is defined" >&5
18079 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18080 which seems to be undefined. Please make sure it is defined" >&2;}
18082 rm -f "$ac_tmp/stdin"
18084 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18085 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18087 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18093 if test x"$ac_file" != x-; then
18095 $as_echo "/* $configure_input */" \
18096 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18097 } >"$ac_tmp/config.h" \
18098 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18099 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18101 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18104 mv "$ac_tmp/config.h" "$ac_file" \
18105 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18108 $as_echo "/* $configure_input */" \
18109 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18110 || as_fn_error $? "could not create -" "$LINENO" 5
18112 # Compute "$ac_file"'s index
in $config_headers.
18115 for _am_header
in $config_headers :; do
18116 case $_am_header in
18117 $_am_arg |
$_am_arg:* )
18120 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18123 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18124 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18125 X"$_am_arg" : 'X\(//\)[^/]' \| \
18126 X"$_am_arg" : 'X\(//\)$' \| \
18127 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18128 $as_echo X"$_am_arg" |
18129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18133 /^X\(\/\/\)[^/].*/{
18145 s/.*/./; q'`/stamp-h
$_am_stamp_count
18148 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18149 $as_echo "$as_me: executing $ac_file commands" >&6;}
18154 case $ac_file$ac_mode in
18155 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18156 # Older Autoconf quotes --file arguments for eval, but not when files
18157 # are listed without --file. Let's play safe and only enable the eval
18158 # if we detect the quoting.
18159 case $CONFIG_FILES in
18160 *\'*) eval set x
"$CONFIG_FILES" ;;
18161 *) set x
$CONFIG_FILES ;;
18166 # Strip MF so we end up with the name of the file.
18167 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18168 # Check whether this is an Automake generated Makefile or not.
18169 # We used to match only the files named 'Makefile.in', but
18170 # some people rename them; so instead we look at the file content.
18171 # Grep'ing the first line is not enough: some people post-process
18172 # each Makefile.in and add a new line on top of each file to say so.
18173 # Grep'ing the whole file is not good either: AIX grep has a line
18174 # limit of 2048, but all sed's we know have understand at least 4000.
18175 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18176 dirpart
=`$as_dirname -- "$mf" ||
18177 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18178 X"$mf" : 'X\(//\)[^/]' \| \
18179 X"$mf" : 'X\(//\)$' \| \
18180 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18186 /^X\(\/\/\)[^/].*/{
18202 # Extract the definition of DEPDIR, am__include, and am__quote
18203 # from the Makefile without running 'make'.
18204 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18205 test -z "$DEPDIR" && continue
18206 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18207 test -z "$am__include" && continue
18208 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18209 # Find all dependency output files, they are included files with
18210 # $(DEPDIR) in their names. We invoke sed twice because it is the
18211 # simplest approach to changing $(DEPDIR) to its actual value in the
18213 for file in `sed -n "
18214 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18215 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18216 # Make sure the directory exists.
18217 test -f "$dirpart/$file" && continue
18218 fdir
=`$as_dirname -- "$file" ||
18219 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18220 X"$file" : 'X\(//\)[^/]' \| \
18221 X"$file" : 'X\(//\)$' \| \
18222 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18223 $as_echo X"$file" |
18224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18228 /^X\(\/\/\)[^/].*/{
18241 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18242 # echo "creating $dirpart/$file"
18243 echo '# dummy' > "$dirpart/$file"
18250 # See if we are running on zsh, and set the options which allow our
18251 # commands through without removal of \ escapes.
18252 if test -n "${ZSH_VERSION+set}" ; then
18253 setopt NO_GLOB_SUBST
18256 cfgfile
="${ofile}T"
18257 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18260 cat <<_LT_EOF >> "$cfgfile"
18263 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18264 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18265 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18266 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18268 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18269 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18271 # Written by Gordon Matzigkeit, 1996
18273 # This file is part of GNU Libtool.
18275 # GNU Libtool is free software; you can redistribute it and/or
18276 # modify it under the terms of the GNU General Public License as
18277 # published by the Free Software Foundation; either version 2 of
18278 # the License, or (at your option) any later version.
18280 # As a special exception to the GNU General Public License,
18281 # if you distribute this file as part of a program or library that
18282 # is built using GNU Libtool, you may include this file under the
18283 # same distribution terms that you use for the rest of that program.
18285 # GNU Libtool is distributed in the hope that it will be useful,
18286 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18287 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18288 # GNU General Public License for more details.
18290 # You should have received a copy of the GNU General Public License
18291 # along with GNU Libtool; see the file COPYING. If not, a copy
18292 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18293 # obtained by writing to the Free Software Foundation, Inc.,
18294 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18297 # The names of the tagged configurations supported by this script.
18298 available_tags="CXX "
18300 # ### BEGIN LIBTOOL CONFIG
18302 # Which release of libtool.m4 was used?
18303 macro_version=$macro_version
18304 macro_revision=$macro_revision
18306 # Whether or not to build shared libraries.
18307 build_libtool_libs=$enable_shared
18309 # Whether or not to build static libraries.
18310 build_old_libs=$enable_static
18312 # What type of objects to build.
18315 # Whether or not to optimize for fast installation.
18316 fast_install=$enable_fast_install
18318 # Shell to use when invoking shell scripts.
18321 # An echo program that protects backslashes.
18324 # The PATH separator for the build system.
18325 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18328 host_alias=$host_alias
18332 # The build system.
18333 build_alias=$build_alias
18337 # A sed program that does not truncate output.
18340 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18341 Xsed="\$SED -e 1s/^X//"
18343 # A grep program that handles long lines.
18349 # A literal string matcher.
18352 # A BSD- or MS-compatible name lister.
18355 # Whether we need soft or hard links.
18358 # What is the maximum length of a command?
18359 max_cmd_len=$max_cmd_len
18361 # Object file suffix (normally "o").
18364 # Executable file suffix (normally "").
18367 # whether the shell understands "unset".
18370 # turn spaces into newlines.
18373 # turn newlines into spaces.
18376 # convert \$build file names to \$host format.
18377 to_host_file_cmd=$lt_cv_to_host_file_cmd
18379 # convert \$build files to toolchain format.
18380 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18382 # An object symbol dumper.
18383 OBJDUMP=$lt_OBJDUMP
18385 # Method to check whether dependent libraries are shared objects.
18386 deplibs_check_method=$lt_deplibs_check_method
18388 # Command to use when deplibs_check_method = "file_magic".
18389 file_magic_cmd=$lt_file_magic_cmd
18391 # How to find potential files when deplibs_check_method = "file_magic".
18392 file_magic_glob=$lt_file_magic_glob
18394 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18395 want_nocaseglob=$lt_want_nocaseglob
18397 # DLL creation program.
18398 DLLTOOL=$lt_DLLTOOL
18400 # Command to associate shared and link libraries.
18401 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18406 # Flags to create an archive.
18407 AR_FLAGS=$lt_AR_FLAGS
18409 # How to feed a file listing to the archiver.
18410 archiver_list_spec=$lt_archiver_list_spec
18412 # A symbol stripping program.
18415 # Commands used to install an old-style archive.
18417 old_postinstall_cmds=$lt_old_postinstall_cmds
18418 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18420 # Whether to use a lock for old archive extraction.
18421 lock_old_archive_extraction=$lock_old_archive_extraction
18426 # LTCC compiler flags.
18427 LTCFLAGS=$lt_CFLAGS
18429 # Take the output of nm and produce a listing of raw symbols and C names.
18430 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18432 # Transform the output of nm in a proper C declaration.
18433 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18435 # Transform the output of nm in a C name address pair.
18436 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18438 # Transform the output of nm in a C name address pair when lib prefix is needed.
18439 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18441 # Specify filename containing input files for \$NM.
18442 nm_file_list_spec=$lt_nm_file_list_spec
18444 # The root where to search for dependent libraries,and in which our libraries should be installed.
18445 lt_sysroot=$lt_sysroot
18447 # The name of the directory that contains temporary libtool files.
18450 # Used to examine libraries when file_magic_cmd begins with "file".
18451 MAGIC_CMD=$MAGIC_CMD
18453 # Must we lock files when doing compilation?
18454 need_locks=$lt_need_locks
18457 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18459 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18460 DSYMUTIL=$lt_DSYMUTIL
18462 # Tool to change global to local symbols on Mac OS X.
18465 # Tool to manipulate fat objects and archives on Mac OS X.
18468 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18471 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18472 OTOOL64=$lt_OTOOL64
18474 # Old archive suffix (normally "a").
18477 # Shared library suffix (normally ".so").
18478 shrext_cmds=$lt_shrext_cmds
18480 # The commands to extract the exported symbol list from a shared archive.
18481 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18483 # Variables whose values should be saved in libtool wrapper scripts and
18484 # restored at link time.
18485 variables_saved_for_relink=$lt_variables_saved_for_relink
18487 # Do we need the "lib" prefix for modules?
18488 need_lib_prefix=$need_lib_prefix
18490 # Do we need a version for libraries?
18491 need_version=$need_version
18493 # Library versioning type.
18494 version_type=$version_type
18496 # Shared library runtime path variable.
18497 runpath_var=$runpath_var
18499 # Shared library path variable.
18500 shlibpath_var=$shlibpath_var
18502 # Is shlibpath searched before the hard-coded library search path?
18503 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18505 # Format of library name prefix.
18506 libname_spec=$lt_libname_spec
18508 # List of archive names. First name is the real one, the rest are links.
18509 # The last name is the one that the linker finds with -lNAME
18510 library_names_spec=$lt_library_names_spec
18512 # The coded name of the library, if different from the real name.
18513 soname_spec=$lt_soname_spec
18515 # Permission mode override for installation of shared libraries.
18516 install_override_mode=$lt_install_override_mode
18518 # Command to use after installation of a shared archive.
18519 postinstall_cmds=$lt_postinstall_cmds
18521 # Command to use after uninstallation of a shared archive.
18522 postuninstall_cmds=$lt_postuninstall_cmds
18524 # Commands used to finish a libtool library installation in a directory.
18525 finish_cmds=$lt_finish_cmds
18527 # As "finish_cmds", except a single script fragment to be evaled but
18529 finish_eval=$lt_finish_eval
18531 # Whether we should hardcode library paths into libraries.
18532 hardcode_into_libs=$hardcode_into_libs
18534 # Compile-time system search path for libraries.
18535 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18537 # Run-time system search path for libraries.
18538 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18540 # Whether dlopen is supported.
18541 dlopen_support=$enable_dlopen
18543 # Whether dlopen of programs is supported.
18544 dlopen_self=$enable_dlopen_self
18546 # Whether dlopen of statically linked programs is supported.
18547 dlopen_self_static=$enable_dlopen_self_static
18549 # Commands to strip libraries.
18550 old_striplib=$lt_old_striplib
18551 striplib=$lt_striplib
18554 # The linker used to build libraries.
18557 # How to create reloadable object files.
18558 reload_flag=$lt_reload_flag
18559 reload_cmds=$lt_reload_cmds
18561 # Commands used to build an old-style archive.
18562 old_archive_cmds=$lt_old_archive_cmds
18564 # A language specific compiler.
18567 # Is the compiler the GNU compiler?
18570 # Compiler flag to turn off builtin functions.
18571 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18573 # Additional compiler flags for building library objects.
18574 pic_flag=$lt_lt_prog_compiler_pic
18576 # How to pass a linker flag through the compiler.
18577 wl=$lt_lt_prog_compiler_wl
18579 # Compiler flag to prevent dynamic linking.
18580 link_static_flag=$lt_lt_prog_compiler_static
18582 # Does compiler simultaneously support -c and -o options?
18583 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18585 # Whether or not to add -lc for building shared libraries.
18586 build_libtool_need_lc=$archive_cmds_need_lc
18588 # Whether or not to disallow shared libs when runtime libs are static.
18589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18591 # Compiler flag to allow reflexive dlopens.
18592 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18594 # Compiler flag to generate shared objects directly from archives.
18595 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18597 # Whether the compiler copes with passing no objects directly.
18598 compiler_needs_object=$lt_compiler_needs_object
18600 # Create an old-style archive from a shared archive.
18601 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18603 # Create a temporary old-style archive to link instead of a shared archive.
18604 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18606 # Commands used to build a shared archive.
18607 archive_cmds=$lt_archive_cmds
18608 archive_expsym_cmds=$lt_archive_expsym_cmds
18610 # Commands used to build a loadable module if different from building
18611 # a shared archive.
18612 module_cmds=$lt_module_cmds
18613 module_expsym_cmds=$lt_module_expsym_cmds
18615 # Whether we are building with GNU ld or not.
18616 with_gnu_ld=$lt_with_gnu_ld
18618 # Flag that allows shared libraries with undefined symbols to be built.
18619 allow_undefined_flag=$lt_allow_undefined_flag
18621 # Flag that enforces no undefined symbols.
18622 no_undefined_flag=$lt_no_undefined_flag
18624 # Flag to hardcode \$libdir into a binary during linking.
18625 # This must work even if \$libdir does not exist
18626 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18628 # Whether we need a single "-rpath" flag with a separated argument.
18629 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18631 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18632 # DIR into the resulting binary.
18633 hardcode_direct=$hardcode_direct
18635 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18636 # DIR into the resulting binary and the resulting library dependency is
18637 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18638 # library is relocated.
18639 hardcode_direct_absolute=$hardcode_direct_absolute
18641 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18642 # into the resulting binary.
18643 hardcode_minus_L=$hardcode_minus_L
18645 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18646 # into the resulting binary.
18647 hardcode_shlibpath_var=$hardcode_shlibpath_var
18649 # Set to "yes" if building a shared library automatically hardcodes DIR
18650 # into the library and all subsequent libraries and executables linked
18652 hardcode_automatic=$hardcode_automatic
18654 # Set to yes if linker adds runtime paths of dependent libraries
18655 # to runtime path list.
18656 inherit_rpath=$inherit_rpath
18658 # Whether libtool must link a program against all its dependency libraries.
18659 link_all_deplibs=$link_all_deplibs
18661 # Set to "yes" if exported symbols are required.
18662 always_export_symbols=$always_export_symbols
18664 # The commands to list exported symbols.
18665 export_symbols_cmds=$lt_export_symbols_cmds
18667 # Symbols that should not be listed in the preloaded symbols.
18668 exclude_expsyms=$lt_exclude_expsyms
18670 # Symbols that must always be exported.
18671 include_expsyms=$lt_include_expsyms
18673 # Commands necessary for linking programs (against libraries) with templates.
18674 prelink_cmds=$lt_prelink_cmds
18676 # Commands necessary for finishing linking programs.
18677 postlink_cmds=$lt_postlink_cmds
18679 # Specify filename containing input files.
18680 file_list_spec=$lt_file_list_spec
18682 # How to hardcode a shared library path into an executable.
18683 hardcode_action=$hardcode_action
18685 # The directories searched by this compiler when creating a shared library.
18686 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18688 # Dependencies to place before and after the objects being linked to
18689 # create a shared library.
18690 predep_objects=$lt_predep_objects
18691 postdep_objects=$lt_postdep_objects
18692 predeps=$lt_predeps
18693 postdeps=$lt_postdeps
18695 # The library search path used internally by the compiler when linking
18696 # a shared library.
18697 compiler_lib_search_path=$lt_compiler_lib_search_path
18699 # ### END LIBTOOL CONFIG
18705 cat <<\_LT_EOF
>> "$cfgfile"
18706 # AIX sometimes has problems with the GCC collect2 program. For some
18707 # reason, if we set the COLLECT_NAMES environment variable, the problems
18708 # vanish in a puff of smoke.
18709 if test "X${COLLECT_NAMES+set}" != Xset
; then
18711 export COLLECT_NAMES
18718 ltmain
="$ac_aux_dir/ltmain.sh"
18721 # We use sed instead of cat because bash on DJGPP gets confused if
18722 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18723 # text mode, it properly converts lines to CR/LF. This bash problem
18724 # is reportedly fixed, but why not run on old versions too?
18725 sed '$q' "$ltmain" >> "$cfgfile" \
18726 ||
(rm -f "$cfgfile"; exit 1)
18728 if test x
"$xsi_shell" = xyes
; then
18729 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18733 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18734 \ * ) func_dirname_result="${3}" ;;\
18736 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18737 && mv -f "$cfgfile.tmp" "$cfgfile" \
18738 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18739 test 0 -eq $? || _lt_function_replace_fail
=:
18742 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18745 \ func_basename_result="${1##*/}"\
18746 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18747 && mv -f "$cfgfile.tmp" "$cfgfile" \
18748 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18749 test 0 -eq $? || _lt_function_replace_fail
=:
18752 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18753 func_dirname_and_basename ()\
18756 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18757 \ * ) func_dirname_result="${3}" ;;\
18759 \ func_basename_result="${1##*/}"\
18760 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18761 && mv -f "$cfgfile.tmp" "$cfgfile" \
18762 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18763 test 0 -eq $? || _lt_function_replace_fail
=:
18766 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18769 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18770 \ # positional parameters, so assign one to ordinary parameter first.\
18771 \ func_stripname_result=${3}\
18772 \ func_stripname_result=${func_stripname_result#"${1}"}\
18773 \ func_stripname_result=${func_stripname_result%"${2}"}\
18774 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18775 && mv -f "$cfgfile.tmp" "$cfgfile" \
18776 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18777 test 0 -eq $? || _lt_function_replace_fail
=:
18780 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18781 func_split_long_opt ()\
18783 \ func_split_long_opt_name=${1%%=*}\
18784 \ func_split_long_opt_arg=${1#*=}\
18785 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18786 && mv -f "$cfgfile.tmp" "$cfgfile" \
18787 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18788 test 0 -eq $? || _lt_function_replace_fail
=:
18791 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18792 func_split_short_opt ()\
18794 \ func_split_short_opt_arg=${1#??}\
18795 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18796 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18797 && mv -f "$cfgfile.tmp" "$cfgfile" \
18798 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18799 test 0 -eq $? || _lt_function_replace_fail
=:
18802 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18806 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18807 \ *) func_lo2o_result=${1} ;;\
18809 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18810 && mv -f "$cfgfile.tmp" "$cfgfile" \
18811 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18812 test 0 -eq $? || _lt_function_replace_fail
=:
18815 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18818 func_xform_result=${1%.*}.lo\
18819 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18820 && mv -f "$cfgfile.tmp" "$cfgfile" \
18821 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18822 test 0 -eq $? || _lt_function_replace_fail
=:
18825 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18828 func_arith_result=$(( $* ))\
18829 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18830 && mv -f "$cfgfile.tmp" "$cfgfile" \
18831 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18832 test 0 -eq $? || _lt_function_replace_fail
=:
18835 sed -e '/^func_len ()$/,/^} # func_len /c\
18838 func_len_result=${#1}\
18839 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18840 && mv -f "$cfgfile.tmp" "$cfgfile" \
18841 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18842 test 0 -eq $? || _lt_function_replace_fail
=:
18846 if test x
"$lt_shell_append" = xyes
; then
18847 sed -e '/^func_append ()$/,/^} # func_append /c\
18850 eval "${1}+=\\${2}"\
18851 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18852 && mv -f "$cfgfile.tmp" "$cfgfile" \
18853 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18854 test 0 -eq $? || _lt_function_replace_fail
=:
18857 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18858 func_append_quoted ()\
18860 \ func_quote_for_eval "${2}"\
18861 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18862 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18863 && mv -f "$cfgfile.tmp" "$cfgfile" \
18864 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18865 test 0 -eq $? || _lt_function_replace_fail
=:
18868 # Save a `func_append' function call where possible by direct use of '+='
18869 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18870 && mv -f "$cfgfile.tmp" "$cfgfile" \
18871 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18872 test 0 -eq $? || _lt_function_replace_fail
=:
18874 # Save a `func_append' function call even when '+=' is not available
18875 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18876 && mv -f "$cfgfile.tmp" "$cfgfile" \
18877 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18878 test 0 -eq $? || _lt_function_replace_fail
=:
18881 if test x
"$_lt_function_replace_fail" = x
":"; then
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18883 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18887 mv -f "$cfgfile" "$ofile" ||
18888 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18892 cat <<_LT_EOF >> "$ofile"
18894 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18896 # The linker used to build libraries.
18899 # How to create reloadable object files.
18900 reload_flag=$lt_reload_flag_CXX
18901 reload_cmds=$lt_reload_cmds_CXX
18903 # Commands used to build an old-style archive.
18904 old_archive_cmds=$lt_old_archive_cmds_CXX
18906 # A language specific compiler.
18907 CC=$lt_compiler_CXX
18909 # Is the compiler the GNU compiler?
18912 # Compiler flag to turn off builtin functions.
18913 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18915 # Additional compiler flags for building library objects.
18916 pic_flag=$lt_lt_prog_compiler_pic_CXX
18918 # How to pass a linker flag through the compiler.
18919 wl=$lt_lt_prog_compiler_wl_CXX
18921 # Compiler flag to prevent dynamic linking.
18922 link_static_flag=$lt_lt_prog_compiler_static_CXX
18924 # Does compiler simultaneously support -c and -o options?
18925 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18927 # Whether or not to add -lc for building shared libraries.
18928 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18930 # Whether or not to disallow shared libs when runtime libs are static.
18931 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18933 # Compiler flag to allow reflexive dlopens.
18934 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18936 # Compiler flag to generate shared objects directly from archives.
18937 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18939 # Whether the compiler copes with passing no objects directly.
18940 compiler_needs_object=$lt_compiler_needs_object_CXX
18942 # Create an old-style archive from a shared archive.
18943 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18945 # Create a temporary old-style archive to link instead of a shared archive.
18946 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18948 # Commands used to build a shared archive.
18949 archive_cmds=$lt_archive_cmds_CXX
18950 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18952 # Commands used to build a loadable module if different from building
18953 # a shared archive.
18954 module_cmds=$lt_module_cmds_CXX
18955 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18957 # Whether we are building with GNU ld or not.
18958 with_gnu_ld=$lt_with_gnu_ld_CXX
18960 # Flag that allows shared libraries with undefined symbols to be built.
18961 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18963 # Flag that enforces no undefined symbols.
18964 no_undefined_flag=$lt_no_undefined_flag_CXX
18966 # Flag to hardcode \$libdir into a binary during linking.
18967 # This must work even if \$libdir does not exist
18968 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18970 # Whether we need a single "-rpath" flag with a separated argument.
18971 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18973 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18974 # DIR into the resulting binary.
18975 hardcode_direct=$hardcode_direct_CXX
18977 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18978 # DIR into the resulting binary and the resulting library dependency is
18979 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18980 # library is relocated.
18981 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18983 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18984 # into the resulting binary.
18985 hardcode_minus_L=$hardcode_minus_L_CXX
18987 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18988 # into the resulting binary.
18989 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18991 # Set to "yes" if building a shared library automatically hardcodes DIR
18992 # into the library and all subsequent libraries and executables linked
18994 hardcode_automatic=$hardcode_automatic_CXX
18996 # Set to yes if linker adds runtime paths of dependent libraries
18997 # to runtime path list.
18998 inherit_rpath=$inherit_rpath_CXX
19000 # Whether libtool must link a program against all its dependency libraries.
19001 link_all_deplibs=$link_all_deplibs_CXX
19003 # Set to "yes" if exported symbols are required.
19004 always_export_symbols=$always_export_symbols_CXX
19006 # The commands to list exported symbols.
19007 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19009 # Symbols that should not be listed in the preloaded symbols.
19010 exclude_expsyms=$lt_exclude_expsyms_CXX
19012 # Symbols that must always be exported.
19013 include_expsyms=$lt_include_expsyms_CXX
19015 # Commands necessary for linking programs (against libraries) with templates.
19016 prelink_cmds=$lt_prelink_cmds_CXX
19018 # Commands necessary for finishing linking programs.
19019 postlink_cmds=$lt_postlink_cmds_CXX
19021 # Specify filename containing input files.
19022 file_list_spec=$lt_file_list_spec_CXX
19024 # How to hardcode a shared library path into an executable.
19025 hardcode_action=$hardcode_action_CXX
19027 # The directories searched by this compiler when creating a shared library.
19028 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19030 # Dependencies to place before and after the objects being linked to
19031 # create a shared library.
19032 predep_objects=$lt_predep_objects_CXX
19033 postdep_objects=$lt_postdep_objects_CXX
19034 predeps=$lt_predeps_CXX
19035 postdeps=$lt_postdeps_CXX
19037 # The library search path used internally by the compiler when linking
19038 # a shared library.
19039 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19041 # ### END LIBTOOL TAG CONFIG: CXX
19052 ac_clean_files
=$ac_clean_files_save
19054 test $ac_write_fail = 0 ||
19055 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19058 # configure is writing to config.log, and then calls config.status.
19059 # config.status does its own redirection, appending to config.log.
19060 # Unfortunately, on DOS this fails, as config.log is still kept open
19061 # by configure, so config.status won't be able to write to it; its
19062 # output is simply discarded. So we exec the FD to /dev/null,
19063 # effectively closing config.log, so it can be properly (re)opened and
19064 # appended to by config.status. When coming back to configure, we
19065 # need to make the FD available again.
19066 if test "$no_create" != yes; then
19068 ac_config_status_args
=
19069 test "$silent" = yes &&
19070 ac_config_status_args
="$ac_config_status_args --quiet"
19072 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19074 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19075 # would make configure fail if this is the last instruction.
19076 $ac_cs_success || as_fn_exit
1
19078 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19080 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}