2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for unicode 0.10.
5 # Report bugs to <courier-maildrop@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (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 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL
=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec
; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo
; then
592 # Avoid inline document here, it may be left over
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $ECHO works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo
; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
615 if test -z "$lt_ECHO"; then
616 if test "X${echo_test_string+set}" != Xset
; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # The Solaris, AIX, and Digital Unix default echo programs unquote
634 # backslashes. This makes it impossible to quote backslashes using
635 # echo "$something" | sed 's/\\/\\\\/g'
637 # So, first we look for a working echo in the user's PATH.
639 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
640 for dir
in $PATH /usr
/ucb
; do
642 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
652 if test "X$ECHO" = Xecho
; then
653 # We didn't find a better echo, so look for alternatives.
654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 # This shell has a builtin print -r that does the trick.
659 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
660 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
661 # If we have ksh, try running configure again with it.
662 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
663 export ORIGINAL_CONFIG_SHELL
664 CONFIG_SHELL
=/bin
/ksh
666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
675 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676 test "X$echo_testing_string" = 'X\t' &&
677 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678 test "X$echo_testing_string" = "X$echo_test_string"; then
679 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
681 SHELL
="$CONFIG_SHELL"
683 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
684 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685 test "X$echo_testing_string" = 'X\t' &&
686 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687 test "X$echo_testing_string" = "X$echo_test_string"; then
688 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
690 # maybe with a smaller string...
693 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
701 if test "$prev" != 'sed 50q "$0"'; then
702 echo_test_string
=`eval $prev`
703 export echo_test_string
704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706 # Oops. We lost completely, so just stick with echo.
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725 exec 7<&0 </dev
/null
6>&1
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
735 ac_default_prefix
=/usr
/local
737 ac_config_libobj_dir
=.
743 SHELL
=${CONFIG_SHELL-/bin/sh}
745 # Identity of this package.
746 PACKAGE_NAME
='unicode'
747 PACKAGE_TARNAME
='unicode'
748 PACKAGE_VERSION
='0.10'
749 PACKAGE_STRING
='unicode 0.10'
750 PACKAGE_BUGREPORT
='courier-maildrop@lists.sourceforge.net'
752 ac_unique_file
="mkiso8859.pl"
753 # Factoring default headers for most tests.
754 ac_includes_default
="\
756 #ifdef HAVE_SYS_TYPES_H
757 # include <sys/types.h>
759 #ifdef HAVE_SYS_STAT_H
760 # include <sys/stat.h>
766 # ifdef HAVE_STDLIB_H
771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776 #ifdef HAVE_STRINGS_H
777 # include <strings.h>
779 #ifdef HAVE_INTTYPES_H
780 # include <inttypes.h>
789 ac_subst_vars
='am__EXEEXT_FALSE
850 INSTALL_STRIP_PROGRAM
892 program_transform_name
904 enable_option_checking
909 enable_dependency_tracking
916 ac_precious_vars
='build_alias
927 # Initialize some variables set by options.
929 ac_init_version
=false
930 ac_unrecognized_opts
=
932 # The variables have the same names as the options, with
933 # dashes changed to underlines.
941 program_transform_name
=s
,x
,x
,
949 # Installation directory options.
950 # These are left unexpanded so users can "make install exec_prefix=/foo"
951 # and all the variables that are supposed to be based on exec_prefix
952 # by default will actually change.
953 # Use braces instead of parens because sh, perl, etc. also accept them.
954 # (The list follows the same order as the GNU Coding Standards.)
955 bindir
='${exec_prefix}/bin'
956 sbindir
='${exec_prefix}/sbin'
957 libexecdir
='${exec_prefix}/libexec'
958 datarootdir
='${prefix}/share'
959 datadir
='${datarootdir}'
960 sysconfdir
='${prefix}/etc'
961 sharedstatedir
='${prefix}/com'
962 localstatedir
='${prefix}/var'
963 includedir
='${prefix}/include'
964 oldincludedir
='/usr/include'
965 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
966 infodir
='${datarootdir}/info'
971 libdir
='${exec_prefix}/lib'
972 localedir
='${datarootdir}/locale'
973 mandir
='${datarootdir}/man'
979 # If the previous option needs an argument, assign it.
980 if test -n "$ac_prev"; then
981 eval $ac_prev=\
$ac_option
987 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
991 # Accept the important Cygnus configure options, so we can diagnose typos.
993 case $ac_dashdash$ac_option in
997 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
999 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1000 bindir
=$ac_optarg ;;
1002 -build |
--build |
--buil |
--bui |
--bu)
1003 ac_prev
=build_alias
;;
1004 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1005 build_alias
=$ac_optarg ;;
1007 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1008 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1009 ac_prev
=cache_file
;;
1010 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1011 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1012 cache_file
=$ac_optarg ;;
1014 --config-cache |
-C)
1015 cache_file
=config.cache
;;
1017 -datadir |
--datadir |
--datadi |
--datad)
1019 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1020 datadir
=$ac_optarg ;;
1022 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1023 |
--dataroo |
--dataro |
--datar)
1024 ac_prev
=datarootdir
;;
1025 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1026 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1027 datarootdir
=$ac_optarg ;;
1029 -disable-* |
--disable-*)
1030 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1033 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1034 { (exit 1); exit 1; }; }
1035 ac_useropt_orig
=$ac_useropt
1036 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1039 "enable_
$ac_useropt"
1041 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1042 ac_unrecognized_sep
=', ';;
1044 eval enable_
$ac_useropt=no
;;
1046 -docdir |
--docdir |
--docdi |
--doc |
--do)
1048 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1049 docdir
=$ac_optarg ;;
1051 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1053 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1054 dvidir
=$ac_optarg ;;
1056 -enable-* |
--enable-*)
1057 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1060 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1061 { (exit 1); exit 1; }; }
1062 ac_useropt_orig
=$ac_useropt
1063 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "enable_
$ac_useropt"
1068 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1069 ac_unrecognized_sep
=', ';;
1071 eval enable_
$ac_useropt=\
$ac_optarg ;;
1073 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1074 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1075 |
--exec |
--exe |
--ex)
1076 ac_prev
=exec_prefix
;;
1077 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1078 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1079 |
--exec=* |
--exe=* |
--ex=*)
1080 exec_prefix
=$ac_optarg ;;
1082 -gas |
--gas |
--ga |
--g)
1083 # Obsolete; use --with-gas.
1086 -help |
--help |
--hel |
--he |
-h)
1087 ac_init_help
=long
;;
1088 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1089 ac_init_help
=recursive
;;
1090 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1091 ac_init_help
=short
;;
1093 -host |
--host |
--hos |
--ho)
1094 ac_prev
=host_alias
;;
1095 -host=* |
--host=* |
--hos=* |
--ho=*)
1096 host_alias
=$ac_optarg ;;
1098 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1100 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1102 htmldir
=$ac_optarg ;;
1104 -includedir |
--includedir |
--includedi |
--included |
--include \
1105 |
--includ |
--inclu |
--incl |
--inc)
1106 ac_prev
=includedir
;;
1107 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1108 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1109 includedir
=$ac_optarg ;;
1111 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1113 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1114 infodir
=$ac_optarg ;;
1116 -libdir |
--libdir |
--libdi |
--libd)
1118 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1119 libdir
=$ac_optarg ;;
1121 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1122 |
--libexe |
--libex |
--libe)
1123 ac_prev
=libexecdir
;;
1124 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1125 |
--libexe=* |
--libex=* |
--libe=*)
1126 libexecdir
=$ac_optarg ;;
1128 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1129 ac_prev
=localedir
;;
1130 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1131 localedir
=$ac_optarg ;;
1133 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1134 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1135 ac_prev
=localstatedir
;;
1136 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1137 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1138 localstatedir
=$ac_optarg ;;
1140 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1142 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1143 mandir
=$ac_optarg ;;
1145 -nfp |
--nfp |
--nf)
1146 # Obsolete; use --without-fp.
1149 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1150 |
--no-cr |
--no-c |
-n)
1153 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1154 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1157 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1158 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1159 |
--oldin |
--oldi |
--old |
--ol |
--o)
1160 ac_prev
=oldincludedir
;;
1161 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1162 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1163 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1164 oldincludedir
=$ac_optarg ;;
1166 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1168 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1169 prefix
=$ac_optarg ;;
1171 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1172 |
--program-pre |
--program-pr |
--program-p)
1173 ac_prev
=program_prefix
;;
1174 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1175 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1176 program_prefix
=$ac_optarg ;;
1178 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1179 |
--program-suf |
--program-su |
--program-s)
1180 ac_prev
=program_suffix
;;
1181 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1182 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1183 program_suffix
=$ac_optarg ;;
1185 -program-transform-name |
--program-transform-name \
1186 |
--program-transform-nam |
--program-transform-na \
1187 |
--program-transform-n |
--program-transform- \
1188 |
--program-transform |
--program-transfor \
1189 |
--program-transfo |
--program-transf \
1190 |
--program-trans |
--program-tran \
1191 |
--progr-tra |
--program-tr |
--program-t)
1192 ac_prev
=program_transform_name
;;
1193 -program-transform-name=* |
--program-transform-name=* \
1194 |
--program-transform-nam=* |
--program-transform-na=* \
1195 |
--program-transform-n=* |
--program-transform-=* \
1196 |
--program-transform=* |
--program-transfor=* \
1197 |
--program-transfo=* |
--program-transf=* \
1198 |
--program-trans=* |
--program-tran=* \
1199 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1200 program_transform_name
=$ac_optarg ;;
1202 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1204 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1205 pdfdir
=$ac_optarg ;;
1207 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1209 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1212 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1213 |
-silent |
--silent |
--silen |
--sile |
--sil)
1216 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1218 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1220 sbindir
=$ac_optarg ;;
1222 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1223 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1224 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1226 ac_prev
=sharedstatedir
;;
1227 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1228 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1229 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1231 sharedstatedir
=$ac_optarg ;;
1233 -site |
--site |
--sit)
1235 -site=* |
--site=* |
--sit=*)
1238 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1240 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1241 srcdir
=$ac_optarg ;;
1243 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1244 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1245 ac_prev
=sysconfdir
;;
1246 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1247 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1248 sysconfdir
=$ac_optarg ;;
1250 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1251 ac_prev
=target_alias
;;
1252 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1253 target_alias
=$ac_optarg ;;
1255 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1258 -version |
--version |
--versio |
--versi |
--vers |
-V)
1259 ac_init_version
=: ;;
1262 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1265 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1266 { (exit 1); exit 1; }; }
1267 ac_useropt_orig
=$ac_useropt
1268 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1273 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1274 ac_unrecognized_sep
=', ';;
1276 eval with_
$ac_useropt=\
$ac_optarg ;;
1278 -without-* |
--without-*)
1279 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1280 # Reject names that are not valid shell variable names.
1281 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1282 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1283 { (exit 1); exit 1; }; }
1284 ac_useropt_orig
=$ac_useropt
1285 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1286 case $ac_user_opts in
1290 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1291 ac_unrecognized_sep
=', ';;
1293 eval with_
$ac_useropt=no
;;
1296 # Obsolete; use --with-x.
1299 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1300 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1301 ac_prev
=x_includes
;;
1302 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1303 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1304 x_includes
=$ac_optarg ;;
1306 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1307 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1308 ac_prev
=x_libraries
;;
1309 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1310 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1311 x_libraries
=$ac_optarg ;;
1313 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1314 Try \`$0 --help' for more information." >&2
1315 { (exit 1); exit 1; }; }
1319 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1320 # Reject names that are not valid shell variable names.
1321 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1322 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1323 { (exit 1); exit 1; }; }
1324 eval $ac_envvar=\
$ac_optarg
1325 export $ac_envvar ;;
1328 # FIXME: should be removed in autoconf 3.0.
1329 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1330 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1331 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1332 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1338 if test -n "$ac_prev"; then
1339 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1340 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1341 { (exit 1); exit 1; }; }
1344 if test -n "$ac_unrecognized_opts"; then
1345 case $enable_option_checking in
1347 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1348 { (exit 1); exit 1; }; } ;;
1349 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1353 # Check all directory arguments for consistency.
1354 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1355 datadir sysconfdir sharedstatedir localstatedir includedir \
1356 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1357 libdir localedir mandir
1359 eval ac_val
=\$
$ac_var
1360 # Remove trailing slashes.
1363 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1364 eval $ac_var=\
$ac_val;;
1366 # Be sure to have absolute directory names.
1368 [\\/$
]* | ?
:[\\/]* ) continue;;
1369 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1371 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1372 { (exit 1); exit 1; }; }
1375 # There might be people who depend on the old broken behavior: `$host'
1376 # used to hold the argument of --host etc.
1377 # FIXME: To remove some day.
1380 target
=$target_alias
1382 # FIXME: To remove some day.
1383 if test "x$host_alias" != x
; then
1384 if test "x$build_alias" = x
; then
1385 cross_compiling
=maybe
1386 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1387 If a cross compiler is detected then cross compile mode will be used." >&2
1388 elif test "x$build_alias" != "x$host_alias"; then
1394 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1396 test "$silent" = yes && exec 6>/dev
/null
1399 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1400 ac_ls_di
=`ls -di .` &&
1401 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1402 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1403 { (exit 1); exit 1; }; }
1404 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1405 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1406 { (exit 1); exit 1; }; }
1409 # Find the source files, if location was not specified.
1410 if test -z "$srcdir"; then
1411 ac_srcdir_defaulted
=yes
1412 # Try the directory containing this script, then the parent directory.
1413 ac_confdir
=`$as_dirname -- "$as_myself" ||
1414 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1415 X"$as_myself" : 'X\(//\)[^/]' \| \
1416 X"$as_myself" : 'X\(//\)$' \| \
1417 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1418 $as_echo X"$as_myself" |
1419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1437 if test ! -r "$srcdir/$ac_unique_file"; then
1441 ac_srcdir_defaulted
=no
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1444 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1445 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1446 { (exit 1); exit 1; }; }
1448 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1450 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1451 { (exit 1); exit 1; }; }
1453 # When building in place, set srcdir=.
1454 if test "$ac_abs_confdir" = "$ac_pwd"; then
1457 # Remove unnecessary trailing slashes from srcdir.
1458 # Double slashes in file names in object file debugging info
1459 # mess up M-x gdb in Emacs.
1461 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1463 for ac_var
in $ac_precious_vars; do
1464 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1465 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1466 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1467 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1471 # Report the --help message.
1473 if test "$ac_init_help" = "long"; then
1474 # Omit some internal or obsolete options to make the list less imposing.
1475 # This message is too long to be a string in the A/UX 3.1 sh.
1477 \`configure' configures unicode 0.10 to adapt to many kinds of systems.
1479 Usage: $0 [OPTION]... [VAR=VALUE]...
1481 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1482 VAR=VALUE. See below for descriptions of some of the useful variables.
1484 Defaults for the options are specified in brackets.
1487 -h, --help display this help and exit
1488 --help=short display options specific to this package
1489 --help=recursive display the short help of all the included packages
1490 -V, --version display version information and exit
1491 -q, --quiet, --silent do not print \`checking...' messages
1492 --cache-file=FILE cache test results in FILE [disabled]
1493 -C, --config-cache alias for \`--cache-file=config.cache'
1494 -n, --no-create do not create output files
1495 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1497 Installation directories:
1498 --prefix=PREFIX install architecture-independent files in PREFIX
1499 [$ac_default_prefix]
1500 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1503 By default, \`make install' will install all the files in
1504 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1505 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1506 for instance \`--prefix=\$HOME'.
1508 For better control, use the options below.
1510 Fine tuning of the installation directories:
1511 --bindir=DIR user executables [EPREFIX/bin]
1512 --sbindir=DIR system admin executables [EPREFIX/sbin]
1513 --libexecdir=DIR program executables [EPREFIX/libexec]
1514 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1515 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1516 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1517 --libdir=DIR object code libraries [EPREFIX/lib]
1518 --includedir=DIR C header files [PREFIX/include]
1519 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1520 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1521 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1522 --infodir=DIR info documentation [DATAROOTDIR/info]
1523 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1524 --mandir=DIR man documentation [DATAROOTDIR/man]
1525 --docdir=DIR documentation root [DATAROOTDIR/doc/unicode]
1526 --htmldir=DIR html documentation [DOCDIR]
1527 --dvidir=DIR dvi documentation [DOCDIR]
1528 --pdfdir=DIR pdf documentation [DOCDIR]
1529 --psdir=DIR ps documentation [DOCDIR]
1535 --program-prefix=PREFIX prepend PREFIX to installed program names
1536 --program-suffix=SUFFIX append SUFFIX to installed program names
1537 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1540 --build=BUILD configure
for building on BUILD
[guessed
]
1541 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1545 if test -n "$ac_init_help"; then
1546 case $ac_init_help in
1547 short | recursive
) echo "Configuration of unicode 0.10:";;
1552 --disable-option-checking ignore unrecognized
--enable/--with options
1553 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1554 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1555 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1556 --enable-static[=PKGS
] build static libraries
[default
=yes]
1557 --enable-fast-install[=PKGS
]
1558 optimize
for fast installation
[default
=yes]
1559 --disable-dependency-tracking speeds up one-time build
1560 --enable-dependency-tracking do not reject slow dependency extractors
1561 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1562 --enable-mimecharset=charset Default MIME charset to
set on new messages
1563 --disable-unicode Disable all of unicode except iso-8859-1
1564 --enable-unicode=chset
,chset Comma-sep list of unicode charsets to use
1568 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1569 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1570 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1572 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1574 Some influential environment variables
:
1575 CC C compiler
command
1576 CFLAGS C compiler flags
1577 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1578 nonstandard directory
<lib dir
>
1579 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1580 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1581 you have headers
in a nonstandard directory
<include dir
>
1584 Use these variables to override the choices made by
`configure' or to help
1585 it to find libraries and programs with nonstandard names/locations.
1587 Report bugs to <courier-maildrop@lists.sourceforge.net>.
1592 if test "$ac_init_help" = "recursive"; then
1593 # If there are subdirs, report their specific --help.
1594 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1595 test -d "$ac_dir" ||
1596 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1603 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1604 # A ".." for each directory in $ac_dir_suffix.
1605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1606 case $ac_top_builddir_sub in
1607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1611 ac_abs_top_builddir=$ac_pwd
1612 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1613 # for backward compatibility:
1614 ac_top_builddir=$ac_top_build_prefix
1617 .) # We are building in place.
1619 ac_top_srcdir=$ac_top_builddir_sub
1620 ac_abs_top_srcdir=$ac_pwd ;;
1621 [\\/]* | ?:[\\/]* ) # Absolute name.
1622 ac_srcdir=$srcdir$ac_dir_suffix;
1623 ac_top_srcdir=$srcdir
1624 ac_abs_top_srcdir=$srcdir ;;
1626 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1627 ac_top_srcdir=$ac_top_build_prefix$srcdir
1628 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1632 cd "$ac_dir" || { ac_status=$?; continue; }
1633 # Check for guested configure.
1634 if test -f "$ac_srcdir/configure.gnu"; then
1636 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1637 elif test -f "$ac_srcdir/configure"; then
1639 $SHELL "$ac_srcdir/configure" --help=recursive
1641 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1643 cd "$ac_pwd" || { ac_status=$?; break; }
1647 test -n "$ac_init_help" && exit $ac_status
1648 if $ac_init_version; then
1650 unicode configure 0.10
1651 generated by GNU Autoconf 2.63
1653 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1654 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1655 This configure script is free software; the Free Software Foundation
1656 gives unlimited permission to copy, distribute and modify it.
1660 cat >config.log <<_ACEOF
1661 This file contains any messages produced by compilers while
1662 running configure, to aid debugging if configure makes a mistake.
1664 It was created by unicode $as_me 0.10, which was
1665 generated by GNU Autoconf 2.63. Invocation command line was
1677 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1678 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1679 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1680 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1681 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1683 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1684 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1686 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1687 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1688 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1689 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1690 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1691 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1692 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700 test -z "$as_dir" && as_dir=.
1701 $as_echo "PATH: $as_dir"
1717 # Keep a trace of the command line.
1718 # Strip out --no-create and --no-recursion so they do not pile up.
1719 # Strip out --silent because we don't want to record it for future runs.
1720 # Also quote any args containing shell meta-characters.
1721 # Make two passes to allow for proper duplicate-argument suppression.
1725 ac_must_keep_next=false
1731 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1732 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1733 | -silent | --silent | --silen | --sile | --sil)
1736 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1739 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1741 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1742 if test $ac_must_keep_next = true; then
1743 ac_must_keep_next=false # Got value, back to normal.
1746 *=* | --config-cache | -C | -disable-* | --disable-* \
1747 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1748 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1749 | -with-* | --with-* | -without-* | --without-* | --x)
1750 case "$ac_configure_args0 " in
1751 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1754 -* ) ac_must_keep_next=true ;;
1757 ac_configure_args="$ac_configure_args '$ac_arg'"
1762 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1763 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1765 # When interrupted or exit'd, cleanup temporary files, and complete
1766 # config.log. We remove comments because anyway the quotes in there
1767 # would cause problems or look ugly.
1768 # WARNING: Use '\'' to represent an apostrophe within the trap.
1769 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1770 trap 'exit_status=$?
1771 # Save into config.log some information that might help in debugging.
1776 ## ---------------- ##
1777 ## Cache variables. ##
1778 ## ---------------- ##
1781 # The following way of writing the cache mishandles newlines in values,
1783 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1784 eval ac_val=\$$ac_var
1788 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1789 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1792 _ | IFS | as_nl) ;; #(
1793 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1794 *) $as_unset $ac_var ;;
1799 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1800 *${as_nl}ac_space=\ *)
1802 "s/'\''/'\''\\\\'\'''\''/g;
1803 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1806 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1814 ## ----------------- ##
1815 ## Output variables. ##
1816 ## ----------------- ##
1819 for ac_var in $ac_subst_vars
1821 eval ac_val=\$$ac_var
1823 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1825 $as_echo "$ac_var='\''$ac_val'\''"
1829 if test -n "$ac_subst_files"; then
1831 ## ------------------- ##
1832 ## File substitutions. ##
1833 ## ------------------- ##
1836 for ac_var in $ac_subst_files
1838 eval ac_val=\$$ac_var
1840 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1842 $as_echo "$ac_var='\''$ac_val'\''"
1847 if test -s confdefs.h; then
1857 test "$ac_signal" != 0 &&
1858 $as_echo "$as_me: caught signal $ac_signal"
1859 $as_echo "$as_me: exit $exit_status"
1861 rm -f core *.core core.conftest.* &&
1862 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1865 for ac_signal in 1 2 13 15; do
1866 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1870 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1871 rm -f -r conftest* confdefs.h
1873 # Predefined preprocessor variables.
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_NAME "$PACKAGE_NAME"
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_STRING "$PACKAGE_STRING"
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1900 # Let the site file select an alternate cache file if it wants to.
1901 # Prefer an explicitly selected file to automatically selected ones.
1904 if test -n "$CONFIG_SITE"; then
1905 ac_site_file1=$CONFIG_SITE
1906 elif test "x$prefix" != xNONE; then
1907 ac_site_file1=$prefix/share/config.site
1908 ac_site_file2=$prefix/etc/config.site
1910 ac_site_file1=$ac_default_prefix/share/config.site
1911 ac_site_file2=$ac_default_prefix/etc/config.site
1913 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1915 test "x$ac_site_file" = xNONE && continue
1916 if test -r "$ac_site_file"; then
1917 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1918 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1919 sed 's/^/| /' "$ac_site_file" >&5
1924 if test -r "$cache_file"; then
1925 # Some versions of bash will fail to source /dev/null (special
1926 # files actually), so we avoid doing that.
1927 if test -f "$cache_file"; then
1928 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1929 $as_echo "$as_me: loading cache $cache_file" >&6;}
1931 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1932 *) . "./$cache_file";;
1936 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1937 $as_echo "$as_me: creating cache $cache_file" >&6;}
1941 # Check that the precious variables saved in the cache have kept the same
1943 ac_cache_corrupted=false
1944 for ac_var in $ac_precious_vars; do
1945 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1946 eval ac_new_set=\$ac_env_${ac_var}_set
1947 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1948 eval ac_new_val=\$ac_env_${ac_var}_value
1949 case $ac_old_set,$ac_new_set in
1951 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1952 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1953 ac_cache_corrupted=: ;;
1955 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1956 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1957 ac_cache_corrupted=: ;;
1960 if test "x$ac_old_val" != "x$ac_new_val"; then
1961 # differences in whitespace do not lead to failure.
1962 ac_old_val_w=`echo x
$ac_old_val`
1963 ac_new_val_w=`echo x
$ac_new_val`
1964 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1965 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1966 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1967 ac_cache_corrupted=:
1969 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1970 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1971 eval $ac_var=\$ac_old_val
1973 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1974 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1975 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1976 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1979 # Pass precious variables to config.status.
1980 if test "$ac_new_set" = set; then
1982 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1983 *) ac_arg=$ac_var=$ac_new_val ;;
1985 case " $ac_configure_args " in
1986 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1987 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1991 if $ac_cache_corrupted; then
1992 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1994 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1995 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1996 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1997 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1998 { (exit 1); exit 1; }; }
2026 ac_cpp='$CPP $CPPFLAGS'
2027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2033 >confdefs.h # Kill PACKAGE_ macros
2037 LPATH="$PATH:/usr
/local
/bin
"
2039 ac_config_headers="$ac_config_headers unicode_config.h
"
2041 am__api_version='1.11'
2044 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2045 if test -f "$ac_dir/install-sh
"; then
2047 ac_install_sh="$ac_aux_dir/install-sh
-c"
2049 elif test -f "$ac_dir/install.sh
"; then
2051 ac_install_sh="$ac_aux_dir/install.sh
-c"
2053 elif test -f "$ac_dir/shtool
"; then
2055 ac_install_sh="$ac_aux_dir/shtool
install -c"
2059 if test -z "$ac_aux_dir"; then
2060 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2061 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2062 { (exit 1); exit 1; }; }
2065 # These three variables are undocumented and unsupported,
2066 # and are intended to be withdrawn in a future Autoconf release.
2067 # They can cause serious problems if a builder's source tree is in a directory
2068 # whose full name contains unusual characters.
2069 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2070 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2071 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2074 # Find a good install program. We prefer a C program (faster),
2075 # so one script is as good as another. But avoid the broken or
2076 # incompatible versions:
2077 # SysV /etc/install, /usr/sbin/install
2078 # SunOS /usr/etc/install
2079 # IRIX /sbin/install
2081 # AmigaOS /C/install, which installs bootblocks on floppy discs
2082 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2083 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2084 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2085 # OS/2's system install, which has a completely different semantic
2086 # ./install, which can be erroneously created by make from ./install.sh.
2087 # Reject install programs that cannot install multiple files.
2088 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2089 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2090 if test -z "$INSTALL"; then
2091 if test "${ac_cv_path_install+set}" = set; then
2092 $as_echo_n "(cached
) " >&6
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir=.
2099 # Account for people who put trailing slashes in PATH elements.
2101 ./ | .// | /cC/* | \
2102 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2103 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2106 # OSF1 and SCO ODT 3.0 have their own names for install.
2107 # Don't use installbsd from OSF since it installs stuff as root
2109 for ac_prog in ginstall scoinst install; do
2110 for ac_exec_ext in '' $ac_executable_extensions; do
2111 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2112 if test $ac_prog = install &&
2113 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2114 # AIX install. It has an incompatible calling convention.
2116 elif test $ac_prog = install &&
2117 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2118 # program-specific install script used by HP pwplus--don't use.
2121 rm -rf conftest.one conftest.two conftest.dir
2122 echo one > conftest.one
2123 echo two > conftest.two
2125 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2126 test -s conftest.one && test -s conftest.two &&
2127 test -s conftest.dir/conftest.one &&
2128 test -s conftest.dir/conftest.two
2130 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2143 rm -rf conftest.one conftest.two conftest.dir
2146 if test "${ac_cv_path_install+set}" = set; then
2147 INSTALL=$ac_cv_path_install
2149 # As a last resort, use the slow shell script. Don't cache a
2150 # value for INSTALL within a source directory, because that will
2151 # break other packages using the cache if that directory is
2152 # removed, or if the value is a relative name.
2153 INSTALL=$ac_install_sh
2156 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2157 $as_echo "$INSTALL" >&6; }
2159 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2160 # It thinks the first close brace ends the variable substitution.
2161 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2163 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2165 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2167 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2168 $as_echo_n "checking whether build environment is sane...
" >&6; }
2171 echo timestamp > conftest.file
2172 # Reject unsafe characters in $srcdir or the absolute working directory
2173 # name. Accept space and tab only in the latter.
2177 *[\\\"\#\$\&\'\`$am_lf]*)
2178 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2179 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2180 { (exit 1); exit 1; }; };;
2183 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2184 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2185 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2186 { (exit 1); exit 1; }; };;
2189 # Do `set' in a subshell so we don
't clobber the current shell's
2190 # arguments. Must try -L first in case configure is actually a
2191 # symlink; some systems play weird games with the mod time of symlinks
2192 # (eg FreeBSD returns the mod time of the symlink's containing
2195 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2196 if test "$*" = "X"; then
2198 set X
`ls -t "$srcdir/configure" conftest.file`
2201 if test "$*" != "X $srcdir/configure conftest.file" \
2202 && test "$*" != "X conftest.file $srcdir/configure"; then
2204 # If neither matched, then we have a broken ls. This can happen
2205 # if, for instance, CONFIG_SHELL is bash and it inherits a
2206 # broken ls alias from the environment. This has actually
2207 # happened. Such a system could not be considered "sane".
2208 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2209 alias in your environment" >&5
2210 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2211 alias in your environment" >&2;}
2212 { (exit 1); exit 1; }; }
2215 test "$2" = conftest.
file
2221 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2222 Check your system clock" >&5
2223 $as_echo "$as_me: error: newly created file is older than distributed files!
2224 Check your system clock" >&2;}
2225 { (exit 1); exit 1; }; }
2227 { $as_echo "$as_me:$LINENO: result: yes" >&5
2228 $as_echo "yes" >&6; }
2229 test "$program_prefix" != NONE
&&
2230 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2231 # Use a double $ so make ignores it.
2232 test "$program_suffix" != NONE
&&
2233 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2234 # Double any \ or $.
2235 # By default was `s,x,x', remove it if useless.
2236 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2237 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2239 # expand $ac_aux_dir to an absolute path
2240 am_aux_dir
=`cd $ac_aux_dir && pwd`
2242 if test x
"${MISSING+set}" != xset
; then
2245 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2247 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2250 # Use eval to expand $SHELL
2251 if eval "$MISSING --run true"; then
2252 am_missing_run
="$MISSING --run "
2255 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2256 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2259 if test x
"${install_sh}" != xset
; then
2262 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2264 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2268 # Installed binaries are usually stripped using `strip' when the user
2269 # run `make install-strip'. However `strip' might not be the right
2270 # tool to use in cross-compilation environments, therefore Automake
2271 # will honor the `STRIP' environment variable to overrule this program.
2272 if test "$cross_compiling" != no
; then
2273 if test -n "$ac_tool_prefix"; then
2274 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2275 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 $as_echo_n "checking for $ac_word... " >&6; }
2278 if test "${ac_cv_prog_STRIP+set}" = set; then
2279 $as_echo_n "(cached) " >&6
2281 if test -n "$STRIP"; then
2282 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir
=.
2289 for ac_exec_ext
in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2292 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 STRIP
=$ac_cv_prog_STRIP
2302 if test -n "$STRIP"; then
2303 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2304 $as_echo "$STRIP" >&6; }
2306 { $as_echo "$as_me:$LINENO: result: no" >&5
2307 $as_echo "no" >&6; }
2312 if test -z "$ac_cv_prog_STRIP"; then
2314 # Extract the first word of "strip", so it can be a program name with args.
2315 set dummy strip
; ac_word
=$2
2316 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2317 $as_echo_n "checking for $ac_word... " >&6; }
2318 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2319 $as_echo_n "(cached) " >&6
2321 if test -n "$ac_ct_STRIP"; then
2322 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir
=.
2329 for ac_exec_ext
in '' $ac_executable_extensions; do
2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2331 ac_cv_prog_ac_ct_STRIP
="strip"
2332 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2342 if test -n "$ac_ct_STRIP"; then
2343 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2344 $as_echo "$ac_ct_STRIP" >&6; }
2346 { $as_echo "$as_me:$LINENO: result: no" >&5
2347 $as_echo "no" >&6; }
2350 if test "x$ac_ct_STRIP" = x
; then
2353 case $cross_compiling:$ac_tool_warned in
2355 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2357 ac_tool_warned
=yes ;;
2362 STRIP
="$ac_cv_prog_STRIP"
2366 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2368 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2369 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2370 if test -z "$MKDIR_P"; then
2371 if test "${ac_cv_path_mkdir+set}" = set; then
2372 $as_echo_n "(cached) " >&6
2374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2375 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2378 test -z "$as_dir" && as_dir
=.
2379 for ac_prog
in mkdir gmkdir
; do
2380 for ac_exec_ext
in '' $ac_executable_extensions; do
2381 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2382 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2383 'mkdir (GNU coreutils) '* | \
2384 'mkdir (coreutils) '* | \
2385 'mkdir (fileutils) '4.1*)
2386 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2396 if test "${ac_cv_path_mkdir+set}" = set; then
2397 MKDIR_P
="$ac_cv_path_mkdir -p"
2399 # As a last resort, use the slow shell script. Don't cache a
2400 # value for MKDIR_P within a source directory, because that will
2401 # break other packages using the cache if that directory is
2402 # removed, or if the value is a relative name.
2403 test -d .
/--version && rmdir .
/--version
2404 MKDIR_P
="$ac_install_sh -d"
2407 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2408 $as_echo "$MKDIR_P" >&6; }
2412 [\\/$
]* | ?
:[\\/]*) ;;
2413 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2416 for ac_prog
in gawk mawk nawk
awk
2418 # Extract the first word of "$ac_prog", so it can be a program name with args.
2419 set dummy
$ac_prog; ac_word
=$2
2420 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2421 $as_echo_n "checking for $ac_word... " >&6; }
2422 if test "${ac_cv_prog_AWK+set}" = set; then
2423 $as_echo_n "(cached) " >&6
2425 if test -n "$AWK"; then
2426 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir
=.
2433 for ac_exec_ext
in '' $ac_executable_extensions; do
2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2435 ac_cv_prog_AWK
="$ac_prog"
2436 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 if test -n "$AWK"; then
2447 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2448 $as_echo "$AWK" >&6; }
2450 { $as_echo "$as_me:$LINENO: result: no" >&5
2451 $as_echo "no" >&6; }
2455 test -n "$AWK" && break
2458 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2459 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2461 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2462 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2463 $as_echo_n "(cached) " >&6
2465 cat >conftest.
make <<\_ACEOF
2468 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2470 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2471 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2473 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2475 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2479 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2480 { $as_echo "$as_me:$LINENO: result: yes" >&5
2481 $as_echo "yes" >&6; }
2484 { $as_echo "$as_me:$LINENO: result: no" >&5
2485 $as_echo "no" >&6; }
2486 SET_MAKE
="MAKE=${MAKE-make}"
2489 rm -rf .tst
2>/dev
/null
2490 mkdir .tst
2>/dev
/null
2491 if test -d .tst
; then
2496 rmdir .tst
2>/dev
/null
2498 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2499 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2500 # is not polluted with repeated "-I."
2501 am__isrc
=' -I$(srcdir)'
2502 # test to see if srcdir already configured
2503 if test -f $srcdir/config.status
; then
2504 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2505 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2506 { (exit 1); exit 1; }; }
2510 # test whether we have cygpath
2511 if test -z "$CYGPATH_W"; then
2512 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2513 CYGPATH_W
='cygpath -w'
2520 # Define the identity of the package.
2525 # Some tools Automake needs.
2527 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2530 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2533 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2536 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2539 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2541 # We need awk for the "check" target. The system "awk" is bad on
2543 # Always define AMTAR for backward compatibility.
2545 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2547 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2554 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2555 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2557 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2558 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2559 $as_echo_n "(cached) " >&6
2561 cat >conftest.
make <<\_ACEOF
2564 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2566 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2567 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2569 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2571 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2575 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2576 { $as_echo "$as_me:$LINENO: result: yes" >&5
2577 $as_echo "yes" >&6; }
2580 { $as_echo "$as_me:$LINENO: result: no" >&5
2581 $as_echo "no" >&6; }
2582 SET_MAKE
="MAKE=${MAKE-make}"
2587 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2588 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2593 macro_version
='2.2.6'
2594 macro_revision
='1.3012'
2608 ltmain
="$ac_aux_dir/ltmain.sh"
2610 # Make sure we can run config.sub.
2611 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2612 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2613 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2614 { (exit 1); exit 1; }; }
2616 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2617 $as_echo_n "checking build system type... " >&6; }
2618 if test "${ac_cv_build+set}" = set; then
2619 $as_echo_n "(cached) " >&6
2621 ac_build_alias
=$build_alias
2622 test "x$ac_build_alias" = x
&&
2623 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2624 test "x$ac_build_alias" = x
&&
2625 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2626 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2627 { (exit 1); exit 1; }; }
2628 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2629 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2630 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2631 { (exit 1); exit 1; }; }
2634 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2635 $as_echo "$ac_cv_build" >&6; }
2636 case $ac_cv_build in
2638 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2639 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2640 { (exit 1); exit 1; }; };;
2643 ac_save_IFS
=$IFS; IFS
='-'
2649 # Remember, the first character of IFS is used to create $*,
2650 # except with old shells:
2653 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2656 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2657 $as_echo_n "checking host system type... " >&6; }
2658 if test "${ac_cv_host+set}" = set; then
2659 $as_echo_n "(cached) " >&6
2661 if test "x$host_alias" = x
; then
2662 ac_cv_host
=$ac_cv_build
2664 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2665 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2666 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2667 { (exit 1); exit 1; }; }
2671 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2672 $as_echo "$ac_cv_host" >&6; }
2675 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2676 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2677 { (exit 1); exit 1; }; };;
2680 ac_save_IFS
=$IFS; IFS
='-'
2686 # Remember, the first character of IFS is used to create $*,
2687 # except with old shells:
2690 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2693 DEPDIR
="${am__leading_dot}deps"
2695 ac_config_commands
="$ac_config_commands depfiles"
2698 am_make
=${MAKE-make}
2699 cat > confinc
<< 'END'
2701 @
echo this is the am__doit target
2704 # If we don't find an include directive, just comment out the code.
2705 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2706 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2710 # First try GNU make style include.
2711 echo "include confinc" > confmf
2712 # Ignore all kinds of additional output from `make'.
2713 case `$am_make -s -f confmf 2> /dev/null` in #(
2714 *the\ am__doit\ target
*)
2720 # Now try BSD make style include.
2721 if test "$am__include" = "#"; then
2722 echo '.include "confinc"' > confmf
2723 case `$am_make -s -f confmf 2> /dev/null` in #(
2724 *the\ am__doit\ target
*)
2725 am__include
=.include
2733 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2734 $as_echo "$_am_result" >&6; }
2735 rm -f confinc confmf
2737 # Check whether --enable-dependency-tracking was given.
2738 if test "${enable_dependency_tracking+set}" = set; then
2739 enableval
=$enable_dependency_tracking;
2742 if test "x$enable_dependency_tracking" != xno
; then
2743 am_depcomp
="$ac_aux_dir/depcomp"
2746 if test "x$enable_dependency_tracking" != xno; then
2756 ac_cpp
='$CPP $CPPFLAGS'
2757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2760 if test -n "$ac_tool_prefix"; then
2761 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2762 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2763 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if test "${ac_cv_prog_CC+set}" = set; then
2766 $as_echo_n "(cached) " >&6
2768 if test -n "$CC"; then
2769 ac_cv_prog_CC
="$CC" # Let the user override the test.
2771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir
=.
2776 for ac_exec_ext
in '' $ac_executable_extensions; do
2777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2778 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2779 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 if test -n "$CC"; then
2790 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2791 $as_echo "$CC" >&6; }
2793 { $as_echo "$as_me:$LINENO: result: no" >&5
2794 $as_echo "no" >&6; }
2799 if test -z "$ac_cv_prog_CC"; then
2801 # Extract the first word of "gcc", so it can be a program name with args.
2802 set dummy gcc
; ac_word
=$2
2803 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2804 $as_echo_n "checking for $ac_word... " >&6; }
2805 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2806 $as_echo_n "(cached) " >&6
2808 if test -n "$ac_ct_CC"; then
2809 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2815 test -z "$as_dir" && as_dir
=.
2816 for ac_exec_ext
in '' $ac_executable_extensions; do
2817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2818 ac_cv_prog_ac_ct_CC
="gcc"
2819 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2829 if test -n "$ac_ct_CC"; then
2830 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2831 $as_echo "$ac_ct_CC" >&6; }
2833 { $as_echo "$as_me:$LINENO: result: no" >&5
2834 $as_echo "no" >&6; }
2837 if test "x$ac_ct_CC" = x
; then
2840 case $cross_compiling:$ac_tool_warned in
2842 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2844 ac_tool_warned
=yes ;;
2852 if test -z "$CC"; then
2853 if test -n "$ac_tool_prefix"; then
2854 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2855 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2856 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2857 $as_echo_n "checking for $ac_word... " >&6; }
2858 if test "${ac_cv_prog_CC+set}" = set; then
2859 $as_echo_n "(cached) " >&6
2861 if test -n "$CC"; then
2862 ac_cv_prog_CC
="$CC" # Let the user override the test.
2864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2868 test -z "$as_dir" && as_dir
=.
2869 for ac_exec_ext
in '' $ac_executable_extensions; do
2870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2871 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2872 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 if test -n "$CC"; then
2883 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2884 $as_echo "$CC" >&6; }
2886 { $as_echo "$as_me:$LINENO: result: no" >&5
2887 $as_echo "no" >&6; }
2893 if test -z "$CC"; then
2894 # Extract the first word of "cc", so it can be a program name with args.
2895 set dummy cc
; ac_word
=$2
2896 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2897 $as_echo_n "checking for $ac_word... " >&6; }
2898 if test "${ac_cv_prog_CC+set}" = set; then
2899 $as_echo_n "(cached) " >&6
2901 if test -n "$CC"; then
2902 ac_cv_prog_CC
="$CC" # Let the user override the test.
2905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir
=.
2910 for ac_exec_ext
in '' $ac_executable_extensions; do
2911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2912 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2913 ac_prog_rejected
=yes
2917 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 if test $ac_prog_rejected = yes; then
2925 # We found a bogon in the path, so make sure we never use it.
2926 set dummy
$ac_cv_prog_CC
2928 if test $# != 0; then
2929 # We chose a different compiler from the bogus one.
2930 # However, it has the same basename, so the bogon will be chosen
2931 # first if we set CC to just the basename; use the full file name.
2933 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2939 if test -n "$CC"; then
2940 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2941 $as_echo "$CC" >&6; }
2943 { $as_echo "$as_me:$LINENO: result: no" >&5
2944 $as_echo "no" >&6; }
2949 if test -z "$CC"; then
2950 if test -n "$ac_tool_prefix"; then
2951 for ac_prog
in cl.exe
2953 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2954 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2955 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if test "${ac_cv_prog_CC+set}" = set; then
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$CC"; then
2961 ac_cv_prog_CC
="$CC" # Let the user override the test.
2963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir
=.
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2970 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2971 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2981 if test -n "$CC"; then
2982 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2983 $as_echo "$CC" >&6; }
2985 { $as_echo "$as_me:$LINENO: result: no" >&5
2986 $as_echo "no" >&6; }
2990 test -n "$CC" && break
2993 if test -z "$CC"; then
2995 for ac_prog
in cl.exe
2997 # Extract the first word of "$ac_prog", so it can be a program name with args.
2998 set dummy
$ac_prog; ac_word
=$2
2999 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3000 $as_echo_n "checking for $ac_word... " >&6; }
3001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3002 $as_echo_n "(cached) " >&6
3004 if test -n "$ac_ct_CC"; then
3005 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3011 test -z "$as_dir" && as_dir
=.
3012 for ac_exec_ext
in '' $ac_executable_extensions; do
3013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3014 ac_cv_prog_ac_ct_CC
="$ac_prog"
3015 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3025 if test -n "$ac_ct_CC"; then
3026 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3027 $as_echo "$ac_ct_CC" >&6; }
3029 { $as_echo "$as_me:$LINENO: result: no" >&5
3030 $as_echo "no" >&6; }
3034 test -n "$ac_ct_CC" && break
3037 if test "x$ac_ct_CC" = x
; then
3040 case $cross_compiling:$ac_tool_warned in
3042 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3044 ac_tool_warned
=yes ;;
3053 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3055 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3056 See \`config.log' for more details." >&5
3057 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3058 See \`config.log' for more details." >&2;}
3059 { (exit 1); exit 1; }; }; }
3061 # Provide some information about the compiler.
3062 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3065 { (ac_try
="$ac_compiler --version >&5"
3067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3071 $as_echo "$ac_try_echo") >&5
3072 (eval "$ac_compiler --version >&5") 2>&5
3074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }
3076 { (ac_try="$ac_compiler -v >&5"
3078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3079 *) ac_try_echo
=$ac_try;;
3081 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3082 $as_echo "$ac_try_echo") >&5
3083 (eval "$ac_compiler -v >&5") 2>&5
3085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); }
3087 { (ac_try
="$ac_compiler -V >&5"
3089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3093 $as_echo "$ac_try_echo") >&5
3094 (eval "$ac_compiler -V >&5") 2>&5
3096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3099 cat >conftest.$ac_ext <<_ACEOF
3102 cat confdefs.h >>conftest.$ac_ext
3103 cat >>conftest.$ac_ext <<_ACEOF
3104 /* end confdefs.h. */
3114 ac_clean_files_save=$ac_clean_files
3115 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3116 # Try to create an executable without -o first, disregard a.out.
3117 # It will help us diagnose broken compilers, and finding out an intuition
3119 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3120 $as_echo_n "checking for C compiler default output file name... " >&6; }
3121 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3123 # The possible output files:
3124 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3127 for ac_file in $ac_files
3130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3131 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3136 if { (ac_try="$ac_link_default"
3138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3139 *) ac_try_echo
=$ac_try;;
3141 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3142 $as_echo "$ac_try_echo") >&5
3143 (eval "$ac_link_default") 2>&5
3145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); }; then
3147 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3148 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3149 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3150 # so that the user can short-circuit this test for compilers unknown to
3152 for ac_file
in $ac_files ''
3154 test -f "$ac_file" ||
continue
3156 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3159 # We found the default executable, but exeext='' is most
3163 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3165 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3167 # We set ac_cv_exeext here because the later test for it is not
3168 # safe: cross compilers may not add the suffix if given an `-o'
3169 # argument, so we may need to know it at that point already.
3170 # Even if this section looks crufty: it has the advantage of
3177 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3183 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3184 $as_echo "$ac_file" >&6; }
3185 if test -z "$ac_file"; then
3186 $as_echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.
$ac_ext >&5
3189 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3191 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3192 See \`config.log' for more details." >&5
3193 $as_echo "$as_me: error: C compiler cannot create executables
3194 See \`config.log' for more details." >&2;}
3195 { (exit 77); exit 77; }; }; }
3198 ac_exeext
=$ac_cv_exeext
3200 # Check that the compiler produces executables we can run. If not, either
3201 # the compiler is broken, or we cross compile.
3202 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3203 $as_echo_n "checking whether the C compiler works... " >&6; }
3204 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3205 # If not cross compiling, check that we can run a simple program.
3206 if test "$cross_compiling" != yes; then
3207 if { ac_try
='./$ac_file'
3208 { (case "(($ac_try" in
3209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3210 *) ac_try_echo=$ac_try;;
3212 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3213 $as_echo "$ac_try_echo") >&5
3214 (eval "$ac_try") 2>&5
3216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; }; then
3220 if test "$cross_compiling" = maybe; then
3223 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3226 If you meant to cross compile
, use \
`--host'.
3227 See \`config.log
' for more details." >&5
3228 $as_echo "$as_me: error: cannot run C compiled programs.
3229 If you meant to cross compile, use \`--host'.
3230 See \
`config.log' for more details." >&2;}
3231 { (exit 1); exit 1; }; }; }
3235 { $as_echo "$as_me:$LINENO: result: yes" >&5
3236 $as_echo "yes" >&6; }
3238 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3239 ac_clean_files=$ac_clean_files_save
3240 # Check that the compiler produces executables we can run. If not, either
3241 # the compiler is broken, or we cross compile.
3242 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3243 $as_echo_n "checking whether we are cross compiling... " >&6; }
3244 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3245 $as_echo "$cross_compiling" >&6; }
3247 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3248 $as_echo_n "checking for suffix of executables... " >&6; }
3249 if { (ac_try="$ac_link"
3251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3252 *) ac_try_echo
=$ac_try;;
3254 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3255 $as_echo "$ac_try_echo") >&5
3256 (eval "$ac_link") 2>&5
3258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); }; then
3260 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3261 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3262 # work properly (i.e., refer to `conftest.exe'), while it won't with
3264 for ac_file
in conftest.exe conftest conftest.
*; do
3265 test -f "$ac_file" ||
continue
3267 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3268 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3274 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3276 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3277 See \`config.log' for more details." >&5
3278 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3279 See \`config.log' for more details." >&2;}
3280 { (exit 1); exit 1; }; }; }
3283 rm -f conftest
$ac_cv_exeext
3284 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3285 $as_echo "$ac_cv_exeext" >&6; }
3287 rm -f conftest.
$ac_ext
3288 EXEEXT
=$ac_cv_exeext
3290 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3291 $as_echo_n "checking for suffix of object files... " >&6; }
3292 if test "${ac_cv_objext+set}" = set; then
3293 $as_echo_n "(cached) " >&6
3295 cat >conftest.
$ac_ext <<_ACEOF
3298 cat confdefs.h
>>conftest.
$ac_ext
3299 cat >>conftest.
$ac_ext <<_ACEOF
3300 /* end confdefs.h. */
3310 rm -f conftest.o conftest.obj
3311 if { (ac_try
="$ac_compile"
3313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3314 *) ac_try_echo=$ac_try;;
3316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3317 $as_echo "$ac_try_echo") >&5
3318 (eval "$ac_compile") 2>&5
3320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; then
3322 for ac_file in conftest.o conftest.obj conftest.*; do
3323 test -f "$ac_file" || continue;
3325 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3326 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3331 $as_echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.$ac_ext >&5
3334 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3336 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3337 See \
`config.log' for more details." >&5
3338 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3339 See \`config.log
' for more details." >&2;}
3340 { (exit 1); exit 1; }; }; }
3343 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3345 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3346 $as_echo "$ac_cv_objext" >&6; }
3347 OBJEXT=$ac_cv_objext
3349 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3350 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3351 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3352 $as_echo_n "(cached) " >&6
3354 cat >conftest.$ac_ext <<_ACEOF
3357 cat confdefs.h >>conftest.$ac_ext
3358 cat >>conftest.$ac_ext <<_ACEOF
3359 /* end confdefs.h. */
3372 rm -f conftest.$ac_objext
3373 if { (ac_try="$ac_compile"
3375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376 *) ac_try_echo=$ac_try;;
3378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3379 $as_echo "$ac_try_echo") >&5
3380 (eval "$ac_compile") 2>conftest.er1
3382 grep -v '^
*+' conftest.er1 >conftest.err
3384 cat conftest.err >&5
3385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } && {
3387 test -z "$ac_c_werror_flag" ||
3388 test ! -s conftest.err
3389 } && test -s conftest.$ac_objext; then
3392 $as_echo "$as_me: failed program was:" >&5
3393 sed 's
/^
/|
/' conftest.$ac_ext >&5
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3402 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3403 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3404 if test $ac_compiler_gnu = yes; then
3409 ac_test_CFLAGS=${CFLAGS+set}
3410 ac_save_CFLAGS=$CFLAGS
3411 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3412 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3413 if test "${ac_cv_prog_cc_g+set}" = set; then
3414 $as_echo_n "(cached) " >&6
3416 ac_save_c_werror_flag=$ac_c_werror_flag
3417 ac_c_werror_flag=yes
3420 cat >conftest.$ac_ext <<_ACEOF
3423 cat confdefs.h >>conftest.$ac_ext
3424 cat >>conftest.$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3442 $as_echo "$ac_try_echo") >&5
3443 (eval "$ac_compile") 2>conftest.er1
3445 grep -v '^
*+' conftest.er1 >conftest.err
3447 cat conftest.err >&5
3448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } && {
3450 test -z "$ac_c_werror_flag" ||
3451 test ! -s conftest.err
3452 } && test -s conftest.$ac_objext; then
3455 $as_echo "$as_me: failed program was:" >&5
3456 sed 's
/^
/|
/' conftest.$ac_ext >&5
3459 cat >conftest.$ac_ext <<_ACEOF
3462 cat confdefs.h >>conftest.$ac_ext
3463 cat >>conftest.$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3474 rm -f conftest.$ac_objext
3475 if { (ac_try="$ac_compile"
3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3481 $as_echo "$ac_try_echo") >&5
3482 (eval "$ac_compile") 2>conftest.er1
3484 grep -v '^
*+' conftest.er1 >conftest.err
3486 cat conftest.err >&5
3487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } && {
3489 test -z "$ac_c_werror_flag" ||
3490 test ! -s conftest.err
3491 } && test -s conftest.$ac_objext; then
3494 $as_echo "$as_me: failed program was:" >&5
3495 sed 's
/^
/|
/' conftest.$ac_ext >&5
3497 ac_c_werror_flag=$ac_save_c_werror_flag
3499 cat >conftest.$ac_ext <<_ACEOF
3502 cat confdefs.h >>conftest.$ac_ext
3503 cat >>conftest.$ac_ext <<_ACEOF
3504 /* end confdefs.h. */
3514 rm -f conftest.$ac_objext
3515 if { (ac_try="$ac_compile"
3517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3521 $as_echo "$ac_try_echo") >&5
3522 (eval "$ac_compile") 2>conftest.er1
3524 grep -v '^
*+' conftest.er1 >conftest.err
3526 cat conftest.err >&5
3527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } && {
3529 test -z "$ac_c_werror_flag" ||
3530 test ! -s conftest.err
3531 } && test -s conftest.$ac_objext; then
3534 $as_echo "$as_me: failed program was:" >&5
3535 sed 's
/^
/|
/' conftest.$ac_ext >&5
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 ac_c_werror_flag=$ac_save_c_werror_flag
3549 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3550 $as_echo "$ac_cv_prog_cc_g" >&6; }
3551 if test "$ac_test_CFLAGS" = set; then
3552 CFLAGS=$ac_save_CFLAGS
3553 elif test $ac_cv_prog_cc_g = yes; then
3554 if test "$GCC" = yes; then
3560 if test "$GCC" = yes; then
3566 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3567 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3568 if test "${ac_cv_prog_cc_c89+set}" = set; then
3569 $as_echo_n "(cached) " >&6
3571 ac_cv_prog_cc_c89=no
3573 cat >conftest.$ac_ext <<_ACEOF
3576 cat confdefs.h >>conftest.$ac_ext
3577 cat >>conftest.$ac_ext <<_ACEOF
3578 /* end confdefs.h. */
3581 #include <sys/types.h>
3582 #include <sys/stat.h>
3583 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3584 struct buf
{ int x
; };
3585 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3586 static char
*e
(p
, i
)
3592 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3597 s
= g
(p
, va_arg
(v
,int
));
3602 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3603 function prototypes and stuff
, but not
'\xHH' hex character constants.
3604 These don
't provoke an error unfortunately, instead are silently treated
3605 as 'x
'. The following induces an error, until -std is added to get
3606 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3607 array size at least. It's necessary to
write '\x00'==0 to get something
3608 that
's true only with -std. */
3609 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3611 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3612 inside strings and character constants. */
3614 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3616 int test (int i, double x);
3617 struct s1 {int (*f) (int a);};
3618 struct s2 {int (*f) (double a);};
3619 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3625 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3630 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3631 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3633 CC="$ac_save_CC $ac_arg"
3634 rm -f conftest.$ac_objext
3635 if { (ac_try="$ac_compile"
3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3638 *) ac_try_echo=$ac_try;;
3640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3641 $as_echo "$ac_try_echo") >&5
3642 (eval "$ac_compile") 2>conftest.er1
3644 grep -v '^
*+' conftest.er1 >conftest.err
3646 cat conftest.err >&5
3647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); } && {
3649 test -z "$ac_c_werror_flag" ||
3650 test ! -s conftest.err
3651 } && test -s conftest.$ac_objext; then
3652 ac_cv_prog_cc_c89=$ac_arg
3654 $as_echo "$as_me: failed program was:" >&5
3655 sed 's
/^
/|
/' conftest.$ac_ext >&5
3660 rm -f core conftest.err conftest.$ac_objext
3661 test "x$ac_cv_prog_cc_c89" != "xno" && break
3663 rm -f conftest.$ac_ext
3668 case "x$ac_cv_prog_cc_c89" in
3670 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3671 $as_echo "none needed" >&6; } ;;
3673 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3674 $as_echo "unsupported" >&6; } ;;
3676 CC="$CC $ac_cv_prog_cc_c89"
3677 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3678 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3683 ac_cpp='$CPP $CPPFLAGS'
3684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3685 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3688 depcc="$CC" am_compiler_list=
3690 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3691 $as_echo_n "checking dependency style of $depcc... " >&6; }
3692 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3693 $as_echo_n "(cached) " >&6
3695 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3696 # We make a subdir and do the tests there. Otherwise we can end up
3697 # making bogus files that we don't know about and never remove. For
3698 # instance it was reported that on HP-UX the gcc test will end up
3699 # making a dummy file named `D' -- because `-MD' means `put the output
3702 # Copy depcomp to subdir because otherwise we won't find it if we're
3703 # using a relative directory.
3704 cp "$am_depcomp" conftest.dir
3706 # We will build objects and dependencies in a subdirectory because
3707 # it helps to detect inapplicable dependency modes. For instance
3708 # both Tru64's cc and ICC support -MD to output dependencies as a
3709 # side effect of compilation, but ICC will put the dependencies in
3710 # the current directory while Tru64 will put them in the object
3714 am_cv_CC_dependencies_compiler_type
=none
3715 if test "$am_compiler_list" = ""; then
3716 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3719 case " $depcc " in #(
3720 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3723 for depmode
in $am_compiler_list; do
3724 # Setup a source with many dependencies, because some compilers
3725 # like to wrap large dependency lists on column 80 (with \), and
3726 # we should not choose a depcomp mode which is confused by this.
3728 # We need to recreate these files for each test, as the compiler may
3729 # overwrite some of them when testing with obscure command lines.
3730 # This happens at least with the AIX C compiler.
3732 for i
in 1 2 3 4 5 6; do
3733 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3734 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3735 # Solaris 8's {/usr,}/bin/sh.
3736 touch sub
/conftst
$i.h
3738 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3740 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3741 # mode. It turns out that the SunPro C++ compiler does not properly
3742 # handle `-M -o', and we need to detect this. Also, some Intel
3743 # versions had trouble with output in subdirs
3744 am__obj
=sub
/conftest.
${OBJEXT-o}
3745 am__minus_obj
="-o $am__obj"
3748 # This depmode causes a compiler race in universal mode.
3749 test "$am__universal" = false ||
continue
3752 # after this tag, mechanisms are not by side-effect, so they'll
3753 # only be used when explicitly requested
3754 if test "x$enable_dependency_tracking" = xyes
; then
3760 msvisualcpp | msvcmsys
)
3761 # This compiler won't grok `-c -o', but also, the minuso test has
3762 # not run yet. These depmodes are late enough in the game, and
3763 # so weak that their functioning should not be impacted.
3764 am__obj
=conftest.
${OBJEXT-o}
3769 if depmode
=$depmode \
3770 source=sub
/conftest.c object
=$am__obj \
3771 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3772 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3773 >/dev
/null
2>conftest.err
&&
3774 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3775 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3776 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3777 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3778 # icc doesn't choke on unknown options, it will just issue warnings
3779 # or remarks (even with -Werror). So we grep stderr for any message
3780 # that says an option was ignored or not supported.
3781 # When given -MP, icc 7.0 and 7.1 complain thusly:
3782 # icc: Command line warning: ignoring option '-M'; no argument required
3783 # The diagnosis changed in icc 8.0:
3784 # icc: Command line remark: option '-MP' not supported
3785 if (grep 'ignoring option' conftest.err ||
3786 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3787 am_cv_CC_dependencies_compiler_type
=$depmode
3796 am_cv_CC_dependencies_compiler_type
=none
3800 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3801 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3802 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3805 test "x$enable_dependency_tracking" != xno \
3806 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3808 am__fastdepCC_FALSE
='#'
3810 am__fastdepCC_TRUE
='#'
3811 am__fastdepCC_FALSE
=
3815 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3816 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3817 if test "${ac_cv_path_SED+set}" = set; then
3818 $as_echo_n "(cached) " >&6
3820 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3821 for ac_i
in 1 2 3 4 5 6 7; do
3822 ac_script
="$ac_script$as_nl$ac_script"
3824 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3825 $as_unset ac_script || ac_script
=
3826 if test -z "$SED"; then
3827 ac_path_SED_found
=false
3828 # Loop through the user's path and test for each of PROGNAME-LIST
3829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3833 test -z "$as_dir" && as_dir
=.
3834 for ac_prog
in sed gsed
; do
3835 for ac_exec_ext
in '' $ac_executable_extensions; do
3836 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3837 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3838 # Check for GNU ac_path_SED and select it if it is found.
3839 # Check for GNU $ac_path_SED
3840 case `"$ac_path_SED" --version 2>&1` in
3842 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3845 $as_echo_n 0123456789 >"conftest.in"
3848 cat "conftest.in" "conftest.in" >"conftest.tmp"
3849 mv "conftest.tmp" "conftest.in"
3850 cp "conftest.in" "conftest.nl"
3851 $as_echo '' >> "conftest.nl"
3852 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3853 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3854 ac_count
=`expr $ac_count + 1`
3855 if test $ac_count -gt ${ac_path_SED_max-0}; then
3856 # Best one so far, save it but keep looking for a better one
3857 ac_cv_path_SED
="$ac_path_SED"
3858 ac_path_SED_max
=$ac_count
3860 # 10*(2^10) chars as input seems more than enough
3861 test $ac_count -gt 10 && break
3863 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3866 $ac_path_SED_found && break 3
3871 if test -z "$ac_cv_path_SED"; then
3872 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3873 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3874 { (exit 1); exit 1; }; }
3881 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3882 $as_echo "$ac_cv_path_SED" >&6; }
3883 SED
="$ac_cv_path_SED"
3886 test -z "$SED" && SED
=sed
3887 Xsed
="$SED -e 1s/^X//"
3899 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3900 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3901 if test "${ac_cv_path_GREP+set}" = set; then
3902 $as_echo_n "(cached) " >&6
3904 if test -z "$GREP"; then
3905 ac_path_GREP_found
=false
3906 # Loop through the user's path and test for each of PROGNAME-LIST
3907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3908 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3911 test -z "$as_dir" && as_dir
=.
3912 for ac_prog
in grep ggrep
; do
3913 for ac_exec_ext
in '' $ac_executable_extensions; do
3914 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3915 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3916 # Check for GNU ac_path_GREP and select it if it is found.
3917 # Check for GNU $ac_path_GREP
3918 case `"$ac_path_GREP" --version 2>&1` in
3920 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3923 $as_echo_n 0123456789 >"conftest.in"
3926 cat "conftest.in" "conftest.in" >"conftest.tmp"
3927 mv "conftest.tmp" "conftest.in"
3928 cp "conftest.in" "conftest.nl"
3929 $as_echo 'GREP' >> "conftest.nl"
3930 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3931 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3932 ac_count
=`expr $ac_count + 1`
3933 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3934 # Best one so far, save it but keep looking for a better one
3935 ac_cv_path_GREP
="$ac_path_GREP"
3936 ac_path_GREP_max
=$ac_count
3938 # 10*(2^10) chars as input seems more than enough
3939 test $ac_count -gt 10 && break
3941 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3944 $ac_path_GREP_found && break 3
3949 if test -z "$ac_cv_path_GREP"; then
3950 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3951 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3952 { (exit 1); exit 1; }; }
3955 ac_cv_path_GREP
=$GREP
3959 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3960 $as_echo "$ac_cv_path_GREP" >&6; }
3961 GREP
="$ac_cv_path_GREP"
3964 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3965 $as_echo_n "checking for egrep... " >&6; }
3966 if test "${ac_cv_path_EGREP+set}" = set; then
3967 $as_echo_n "(cached) " >&6
3969 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3970 then ac_cv_path_EGREP
="$GREP -E"
3972 if test -z "$EGREP"; then
3973 ac_path_EGREP_found
=false
3974 # Loop through the user's path and test for each of PROGNAME-LIST
3975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3976 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3979 test -z "$as_dir" && as_dir
=.
3980 for ac_prog
in egrep; do
3981 for ac_exec_ext
in '' $ac_executable_extensions; do
3982 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3983 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3984 # Check for GNU ac_path_EGREP and select it if it is found.
3985 # Check for GNU $ac_path_EGREP
3986 case `"$ac_path_EGREP" --version 2>&1` in
3988 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3991 $as_echo_n 0123456789 >"conftest.in"
3994 cat "conftest.in" "conftest.in" >"conftest.tmp"
3995 mv "conftest.tmp" "conftest.in"
3996 cp "conftest.in" "conftest.nl"
3997 $as_echo 'EGREP' >> "conftest.nl"
3998 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3999 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4000 ac_count
=`expr $ac_count + 1`
4001 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4002 # Best one so far, save it but keep looking for a better one
4003 ac_cv_path_EGREP
="$ac_path_EGREP"
4004 ac_path_EGREP_max
=$ac_count
4006 # 10*(2^10) chars as input seems more than enough
4007 test $ac_count -gt 10 && break
4009 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4012 $ac_path_EGREP_found && break 3
4017 if test -z "$ac_cv_path_EGREP"; then
4018 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4019 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4020 { (exit 1); exit 1; }; }
4023 ac_cv_path_EGREP
=$EGREP
4028 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4029 $as_echo "$ac_cv_path_EGREP" >&6; }
4030 EGREP
="$ac_cv_path_EGREP"
4033 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4034 $as_echo_n "checking for fgrep... " >&6; }
4035 if test "${ac_cv_path_FGREP+set}" = set; then
4036 $as_echo_n "(cached) " >&6
4038 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4039 then ac_cv_path_FGREP
="$GREP -F"
4041 if test -z "$FGREP"; then
4042 ac_path_FGREP_found
=false
4043 # Loop through the user's path and test for each of PROGNAME-LIST
4044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4045 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4048 test -z "$as_dir" && as_dir
=.
4049 for ac_prog
in fgrep
; do
4050 for ac_exec_ext
in '' $ac_executable_extensions; do
4051 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4052 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4053 # Check for GNU ac_path_FGREP and select it if it is found.
4054 # Check for GNU $ac_path_FGREP
4055 case `"$ac_path_FGREP" --version 2>&1` in
4057 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4060 $as_echo_n 0123456789 >"conftest.in"
4063 cat "conftest.in" "conftest.in" >"conftest.tmp"
4064 mv "conftest.tmp" "conftest.in"
4065 cp "conftest.in" "conftest.nl"
4066 $as_echo 'FGREP' >> "conftest.nl"
4067 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4068 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4069 ac_count
=`expr $ac_count + 1`
4070 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4071 # Best one so far, save it but keep looking for a better one
4072 ac_cv_path_FGREP
="$ac_path_FGREP"
4073 ac_path_FGREP_max
=$ac_count
4075 # 10*(2^10) chars as input seems more than enough
4076 test $ac_count -gt 10 && break
4078 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4081 $ac_path_FGREP_found && break 3
4086 if test -z "$ac_cv_path_FGREP"; then
4087 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4088 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4089 { (exit 1); exit 1; }; }
4092 ac_cv_path_FGREP
=$FGREP
4097 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4098 $as_echo "$ac_cv_path_FGREP" >&6; }
4099 FGREP
="$ac_cv_path_FGREP"
4102 test -z "$GREP" && GREP
=grep
4122 # Check whether --with-gnu-ld was given.
4123 if test "${with_gnu_ld+set}" = set; then
4124 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4130 if test "$GCC" = yes; then
4131 # Check if gcc -print-prog-name=ld gives a path.
4132 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4133 $as_echo_n "checking for ld used by $CC... " >&6; }
4136 # gcc leaves a trailing carriage return which upsets mingw
4137 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4139 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4142 # Accept absolute paths.
4144 re_direlt
='/[^/][^/]*/\.\./'
4145 # Canonicalize the pathname of ld
4146 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4147 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4148 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4150 test -z "$LD" && LD
="$ac_prog"
4153 # If it fails, then pretend we aren't using GCC.
4157 # If it is relative, then search for the first ld in PATH.
4161 elif test "$with_gnu_ld" = yes; then
4162 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4163 $as_echo_n "checking for GNU ld... " >&6; }
4165 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4166 $as_echo_n "checking for non-GNU ld... " >&6; }
4168 if test "${lt_cv_path_LD+set}" = set; then
4169 $as_echo_n "(cached) " >&6
4171 if test -z "$LD"; then
4172 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4173 for ac_dir
in $PATH; do
4175 test -z "$ac_dir" && ac_dir
=.
4176 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4177 lt_cv_path_LD
="$ac_dir/$ac_prog"
4178 # Check to see if the program is GNU ld. I'd rather use --version,
4179 # but apparently some variants of GNU ld only accept -v.
4180 # Break only if it was the GNU/non-GNU ld that we prefer.
4181 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4182 *GNU
* |
*'with BFD'*)
4183 test "$with_gnu_ld" != no
&& break
4186 test "$with_gnu_ld" != yes && break
4193 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4198 if test -n "$LD"; then
4199 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4200 $as_echo "$LD" >&6; }
4202 { $as_echo "$as_me:$LINENO: result: no" >&5
4203 $as_echo "no" >&6; }
4205 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4206 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4207 { (exit 1); exit 1; }; }
4208 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4209 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4210 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4211 $as_echo_n "(cached) " >&6
4213 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4214 case `$LD -v 2>&1 </dev/null` in
4215 *GNU
* |
*'with BFD'*)
4216 lt_cv_prog_gnu_ld
=yes
4219 lt_cv_prog_gnu_ld
=no
4223 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4224 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4225 with_gnu_ld
=$lt_cv_prog_gnu_ld
4235 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4236 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4237 if test "${lt_cv_path_NM+set}" = set; then
4238 $as_echo_n "(cached) " >&6
4240 if test -n "$NM"; then
4241 # Let the user override the test.
4244 lt_nm_to_check
="${ac_tool_prefix}nm"
4245 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4246 lt_nm_to_check
="$lt_nm_to_check nm"
4248 for lt_tmp_nm
in $lt_nm_to_check; do
4249 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4250 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4252 test -z "$ac_dir" && ac_dir
=.
4253 tmp_nm
="$ac_dir/$lt_tmp_nm"
4254 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4255 # Check to see if the nm accepts a BSD-compat flag.
4256 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4257 # nm: unknown option "B" ignored
4258 # Tru64's nm complains that /dev/null is an invalid object file
4259 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4260 */dev
/null
* |
*'Invalid file or object type'*)
4261 lt_cv_path_NM
="$tmp_nm -B"
4265 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4267 lt_cv_path_NM
="$tmp_nm -p"
4271 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4272 continue # so that we can try to find one that supports BSD flags
4281 : ${lt_cv_path_NM=no}
4284 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4285 $as_echo "$lt_cv_path_NM" >&6; }
4286 if test "$lt_cv_path_NM" != "no"; then
4289 # Didn't find any BSD compatible name lister, look for dumpbin.
4290 if test -n "$ac_tool_prefix"; then
4291 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4293 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4294 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4295 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4298 $as_echo_n "(cached) " >&6
4300 if test -n "$DUMPBIN"; then
4301 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4307 test -z "$as_dir" && as_dir
=.
4308 for ac_exec_ext
in '' $ac_executable_extensions; do
4309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4310 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4311 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4320 DUMPBIN
=$ac_cv_prog_DUMPBIN
4321 if test -n "$DUMPBIN"; then
4322 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4323 $as_echo "$DUMPBIN" >&6; }
4325 { $as_echo "$as_me:$LINENO: result: no" >&5
4326 $as_echo "no" >&6; }
4330 test -n "$DUMPBIN" && break
4333 if test -z "$DUMPBIN"; then
4334 ac_ct_DUMPBIN
=$DUMPBIN
4335 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4337 # Extract the first word of "$ac_prog", so it can be a program name with args.
4338 set dummy
$ac_prog; ac_word
=$2
4339 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4342 $as_echo_n "(cached) " >&6
4344 if test -n "$ac_ct_DUMPBIN"; then
4345 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4351 test -z "$as_dir" && as_dir
=.
4352 for ac_exec_ext
in '' $ac_executable_extensions; do
4353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4354 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4355 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4365 if test -n "$ac_ct_DUMPBIN"; then
4366 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4367 $as_echo "$ac_ct_DUMPBIN" >&6; }
4369 { $as_echo "$as_me:$LINENO: result: no" >&5
4370 $as_echo "no" >&6; }
4374 test -n "$ac_ct_DUMPBIN" && break
4377 if test "x$ac_ct_DUMPBIN" = x
; then
4380 case $cross_compiling:$ac_tool_warned in
4382 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4384 ac_tool_warned
=yes ;;
4386 DUMPBIN
=$ac_ct_DUMPBIN
4391 if test "$DUMPBIN" != ":"; then
4395 test -z "$NM" && NM
=nm
4402 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4403 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4404 if test "${lt_cv_nm_interface+set}" = set; then
4405 $as_echo_n "(cached) " >&6
4407 lt_cv_nm_interface
="BSD nm"
4408 echo "int some_variable = 0;" > conftest.
$ac_ext
4409 (eval echo "\"\$as_me:4409: $ac_compile\"" >&5)
4410 (eval "$ac_compile" 2>conftest.err
)
4411 cat conftest.err
>&5
4412 (eval echo "\"\$as_me:4412: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4413 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4414 cat conftest.err
>&5
4415 (eval echo "\"\$as_me:4415: output\"" >&5)
4416 cat conftest.out
>&5
4417 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4418 lt_cv_nm_interface
="MS dumpbin"
4422 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4423 $as_echo "$lt_cv_nm_interface" >&6; }
4425 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4426 $as_echo_n "checking whether ln -s works... " >&6; }
4428 if test "$LN_S" = "ln -s"; then
4429 { $as_echo "$as_me:$LINENO: result: yes" >&5
4430 $as_echo "yes" >&6; }
4432 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4433 $as_echo "no, using $LN_S" >&6; }
4436 # find the maximum length of command line arguments
4437 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4438 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4439 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4440 $as_echo_n "(cached) " >&6
4447 # On DJGPP, this test can blow up pretty badly due to problems in libc
4448 # (any single argument exceeding 2000 bytes causes a buffer overrun
4449 # during glob expansion). Even if it were fixed, the result of this
4450 # check would be larger than it should be.
4451 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4455 # Under GNU Hurd, this test is not required because there is
4456 # no limit to the length of command line arguments.
4457 # Libtool will interpret -1 as no limit whatsoever
4458 lt_cv_sys_max_cmd_len
=-1;
4461 cygwin
* | mingw
* | cegcc
*)
4462 # On Win9x/ME, this test blows up -- it succeeds, but takes
4463 # about 5 minutes as the teststring grows exponentially.
4464 # Worse, since 9x/ME are not pre-emptively multitasking,
4465 # you end up with a "frozen" computer, even though with patience
4466 # the test eventually succeeds (with a max line length of 256k).
4467 # Instead, let's just punt: use the minimum linelength reported by
4468 # all of the supported platforms: 8192 (on NT/2K/XP).
4469 lt_cv_sys_max_cmd_len
=8192;
4473 # On AmigaOS with pdksh, this test takes hours, literally.
4474 # So we just punt and use a minimum line length of 8192.
4475 lt_cv_sys_max_cmd_len
=8192;
4478 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4479 # This has been around since 386BSD, at least. Likely further.
4480 if test -x /sbin
/sysctl
; then
4481 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4482 elif test -x /usr
/sbin
/sysctl
; then
4483 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4485 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4487 # And add a safety zone
4488 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4489 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4493 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4494 lt_cv_sys_max_cmd_len
=196608
4498 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4499 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4500 # nice to cause kernel panics so lets avoid the loop below.
4501 # First set a reasonable default.
4502 lt_cv_sys_max_cmd_len
=16384
4504 if test -x /sbin
/sysconfig
; then
4505 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4506 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4511 lt_cv_sys_max_cmd_len
=102400
4513 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4514 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4515 if test -n "$kargmax"; then
4516 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4518 lt_cv_sys_max_cmd_len
=32768
4522 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4523 if test -n "$lt_cv_sys_max_cmd_len"; then
4524 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4525 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4527 # Make teststring a little bigger before we do anything with it.
4528 # a 1K string should be a reasonable start.
4529 for i
in 1 2 3 4 5 6 7 8 ; do
4530 teststring
=$teststring$teststring
4532 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4533 # If test is not a shell built-in, we'll probably end up computing a
4534 # maximum length that is only half of the actual maximum length, but
4536 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4537 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4538 test $i != 17 # 1/2 MB should be enough
4541 teststring
=$teststring$teststring
4543 # Only check the string length outside the loop.
4544 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4546 # Add a significant safety factor because C++ compilers can tack on
4547 # massive amounts of additional arguments before passing them to the
4548 # linker. It appears as though 1/2 is a usable value.
4549 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4556 if test -n $lt_cv_sys_max_cmd_len ; then
4557 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4558 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4560 { $as_echo "$as_me:$LINENO: result: none" >&5
4561 $as_echo "none" >&6; }
4563 max_cmd_len
=$lt_cv_sys_max_cmd_len
4574 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4575 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4576 # Try some XSI features
4579 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4581 && eval 'test $(( 1 + 1 )) -eq 2 \
4582 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4584 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4585 $as_echo "$xsi_shell" >&6; }
4588 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4589 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4591 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4593 && lt_shell_append=yes
4594 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4595 $as_echo "$lt_shell_append" >&6; }
4598 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4608 # test EBCDIC or ASCII
4609 case `echo X|tr X '\101'` in
4610 A) # ASCII based system
4611 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4612 lt_SP2NL='tr \040 \012'
4613 lt_NL2SP='tr \015\012 \040\040'
4615 *) # EBCDIC based system
4616 lt_SP2NL='tr \100 \n'
4617 lt_NL2SP='tr \r\n \100\100'
4629 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4630 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4631 if test "${lt_cv_ld_reload_flag+set}" = set; then
4632 $as_echo_n "(cached
) " >&6
4634 lt_cv_ld_reload_flag='-r'
4636 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4637 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4638 reload_flag=$lt_cv_ld_reload_flag
4639 case $reload_flag in
4641 *) reload_flag=" $reload_flag" ;;
4643 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4646 if test "$GCC" = yes; then
4647 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4649 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4662 if test -n "$ac_tool_prefix"; then
4663 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4664 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4665 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4666 $as_echo_n "checking
for $ac_word...
" >&6; }
4667 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4668 $as_echo_n "(cached
) " >&6
4670 if test -n "$OBJDUMP"; then
4671 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4677 test -z "$as_dir" && as_dir=.
4678 for ac_exec_ext in '' $ac_executable_extensions; do
4679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4680 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4681 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4690 OBJDUMP=$ac_cv_prog_OBJDUMP
4691 if test -n "$OBJDUMP"; then
4692 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4693 $as_echo "$OBJDUMP" >&6; }
4695 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4696 $as_echo "no
" >&6; }
4701 if test -z "$ac_cv_prog_OBJDUMP"; then
4702 ac_ct_OBJDUMP=$OBJDUMP
4703 # Extract the first word of "objdump
", so it can be a program name with args.
4704 set dummy objdump; ac_word=$2
4705 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4706 $as_echo_n "checking
for $ac_word...
" >&6; }
4707 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4708 $as_echo_n "(cached
) " >&6
4710 if test -n "$ac_ct_OBJDUMP"; then
4711 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 test -z "$as_dir" && as_dir=.
4718 for ac_exec_ext in '' $ac_executable_extensions; do
4719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4720 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4721 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4730 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4731 if test -n "$ac_ct_OBJDUMP"; then
4732 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4733 $as_echo "$ac_ct_OBJDUMP" >&6; }
4735 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4736 $as_echo "no
" >&6; }
4739 if test "x
$ac_ct_OBJDUMP" = x; then
4742 case $cross_compiling:$ac_tool_warned in
4744 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4745 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4746 ac_tool_warned=yes ;;
4748 OBJDUMP=$ac_ct_OBJDUMP
4751 OBJDUMP="$ac_cv_prog_OBJDUMP"
4754 test -z "$OBJDUMP" && OBJDUMP=objdump
4764 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4765 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4766 if test "${lt_cv_deplibs_check_method+set}" = set; then
4767 $as_echo_n "(cached
) " >&6
4769 lt_cv_file_magic_cmd='$MAGIC_CMD'
4770 lt_cv_file_magic_test_file=
4771 lt_cv_deplibs_check_method='unknown'
4772 # Need to set the preceding variable on all platforms that support
4773 # interlibrary dependencies.
4774 # 'none' -- dependencies not supported.
4775 # `unknown' -- same as none, but documents that we really don't know.
4776 # 'pass_all' -- all dependencies passed with no checks.
4777 # 'test_compile' -- check by making test program.
4778 # 'file_magic [[regex]]' -- check by looking for files in library path
4779 # which responds to the $file_magic_cmd with a given extended regex.
4780 # If you have `file' or equivalent on your system and you're not sure
4781 # whether `pass_all' will *always* work, you probably want this one.
4785 lt_cv_deplibs_check_method=pass_all
4789 lt_cv_deplibs_check_method=pass_all
4793 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4794 lt_cv_file_magic_cmd='/usr/bin/file -L'
4795 lt_cv_file_magic_test_file=/shlib/libc.so
4799 # func_win32_libid is a shell function defined in ltmain.sh
4800 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4801 lt_cv_file_magic_cmd='func_win32_libid'
4805 # Base MSYS/MinGW do not provide the 'file' command needed by
4806 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4807 # unless we find 'file', for example because we are cross-compiling.
4808 if ( file / ) >/dev/null 2>&1; then
4809 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4810 lt_cv_file_magic_cmd='func_win32_libid'
4812 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4813 lt_cv_file_magic_cmd='$OBJDUMP -f'
4818 # use the weaker test based on 'objdump'. See mingw*.
4819 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4820 lt_cv_file_magic_cmd='$OBJDUMP -f'
4823 darwin* | rhapsody*)
4824 lt_cv_deplibs_check_method=pass_all
4827 freebsd* | dragonfly*)
4828 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4831 # Not sure whether the presence of OpenBSD here was a mistake.
4832 # Let's accept both of them until this is cleared up.
4833 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4834 lt_cv_file_magic_cmd=/usr/bin/file
4835 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4839 lt_cv_deplibs_check_method=pass_all
4844 lt_cv_deplibs_check_method=pass_all
4847 hpux10.20* | hpux11*)
4848 lt_cv_file_magic_cmd=/usr/bin/file
4851 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4852 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4855 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4856 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4859 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4860 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4866 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4867 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4870 irix5* | irix6* | nonstopux*)
4872 *-32|*"-32 ") libmagic=32-bit;;
4873 *-n32|*"-n32 ") libmagic=N32;;
4874 *-64|*"-64 ") libmagic=64-bit;;
4875 *) libmagic=never-match;;
4877 lt_cv_deplibs_check_method=pass_all
4880 # This must be Linux ELF.
4881 linux* | k*bsd*-gnu)
4882 lt_cv_deplibs_check_method=pass_all
4886 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4887 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4889 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4894 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4895 lt_cv_file_magic_cmd=/usr/bin/file
4896 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4900 lt_cv_deplibs_check_method=pass_all
4904 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4905 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4907 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4911 osf3* | osf4* | osf5*)
4912 lt_cv_deplibs_check_method=pass_all
4916 lt_cv_deplibs_check_method=pass_all
4920 lt_cv_deplibs_check_method=pass_all
4923 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4924 lt_cv_deplibs_check_method=pass_all
4928 case $host_vendor in
4930 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]'
4931 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4934 lt_cv_deplibs_check_method=pass_all
4937 lt_cv_file_magic_cmd='/bin/file'
4938 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4941 lt_cv_file_magic_cmd='/bin/file'
4942 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4943 lt_cv_file_magic_test_file=/lib/libc.so
4946 lt_cv_deplibs_check_method=pass_all
4949 lt_cv_deplibs_check_method=pass_all
4955 lt_cv_deplibs_check_method=pass_all
4960 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4961 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4962 file_magic_cmd=$lt_cv_file_magic_cmd
4963 deplibs_check_method=$lt_cv_deplibs_check_method
4964 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4977 if test -n "$ac_tool_prefix"; then
4978 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4979 set dummy ${ac_tool_prefix}ar; ac_word=$2
4980 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4981 $as_echo_n "checking
for $ac_word...
" >&6; }
4982 if test "${ac_cv_prog_AR+set}" = set; then
4983 $as_echo_n "(cached
) " >&6
4985 if test -n "$AR"; then
4986 ac_cv_prog_AR="$AR" # Let the user override the test.
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4995 ac_cv_prog_AR="${ac_tool_prefix}ar"
4996 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5006 if test -n "$AR"; then
5007 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5008 $as_echo "$AR" >&6; }
5010 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5011 $as_echo "no
" >&6; }
5016 if test -z "$ac_cv_prog_AR"; then
5018 # Extract the first word of "ar", so it can be a program name with args.
5019 set dummy ar; ac_word=$2
5020 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5021 $as_echo_n "checking
for $ac_word...
" >&6; }
5022 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5023 $as_echo_n "(cached
) " >&6
5025 if test -n "$ac_ct_AR"; then
5026 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_ac_ct_AR="ar"
5036 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5045 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5046 if test -n "$ac_ct_AR"; then
5047 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5048 $as_echo "$ac_ct_AR" >&6; }
5050 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5051 $as_echo "no
" >&6; }
5054 if test "x
$ac_ct_AR" = x; then
5057 case $cross_compiling:$ac_tool_warned in
5059 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5060 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5061 ac_tool_warned=yes ;;
5069 test -z "$AR" && AR=ar
5070 test -z "$AR_FLAGS" && AR_FLAGS=cru
5082 if test -n "$ac_tool_prefix"; then
5083 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5084 set dummy ${ac_tool_prefix}strip; ac_word=$2
5085 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5086 $as_echo_n "checking
for $ac_word...
" >&6; }
5087 if test "${ac_cv_prog_STRIP+set}" = set; then
5088 $as_echo_n "(cached
) " >&6
5090 if test -n "$STRIP"; then
5091 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir=.
5098 for ac_exec_ext in '' $ac_executable_extensions; do
5099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5100 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5101 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5110 STRIP=$ac_cv_prog_STRIP
5111 if test -n "$STRIP"; then
5112 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5113 $as_echo "$STRIP" >&6; }
5115 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5116 $as_echo "no
" >&6; }
5121 if test -z "$ac_cv_prog_STRIP"; then
5123 # Extract the first word of "strip
", so it can be a program name with args.
5124 set dummy strip; ac_word=$2
5125 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5126 $as_echo_n "checking
for $ac_word...
" >&6; }
5127 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5128 $as_echo_n "(cached
) " >&6
5130 if test -n "$ac_ct_STRIP"; then
5131 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137 test -z "$as_dir" && as_dir=.
5138 for ac_exec_ext in '' $ac_executable_extensions; do
5139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5140 ac_cv_prog_ac_ct_STRIP="strip
"
5141 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5150 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5151 if test -n "$ac_ct_STRIP"; then
5152 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5153 $as_echo "$ac_ct_STRIP" >&6; }
5155 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5156 $as_echo "no
" >&6; }
5159 if test "x
$ac_ct_STRIP" = x; then
5162 case $cross_compiling:$ac_tool_warned in
5164 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5165 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5166 ac_tool_warned=yes ;;
5171 STRIP="$ac_cv_prog_STRIP"
5174 test -z "$STRIP" && STRIP=:
5181 if test -n "$ac_tool_prefix"; then
5182 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5183 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5184 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5185 $as_echo_n "checking
for $ac_word...
" >&6; }
5186 if test "${ac_cv_prog_RANLIB+set}" = set; then
5187 $as_echo_n "(cached
) " >&6
5189 if test -n "$RANLIB"; then
5190 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir=.
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5199 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5200 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5209 RANLIB=$ac_cv_prog_RANLIB
5210 if test -n "$RANLIB"; then
5211 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5212 $as_echo "$RANLIB" >&6; }
5214 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5215 $as_echo "no
" >&6; }
5220 if test -z "$ac_cv_prog_RANLIB"; then
5221 ac_ct_RANLIB=$RANLIB
5222 # Extract the first word of "ranlib
", so it can be a program name with args.
5223 set dummy ranlib; ac_word=$2
5224 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5225 $as_echo_n "checking
for $ac_word...
" >&6; }
5226 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5227 $as_echo_n "(cached
) " >&6
5229 if test -n "$ac_ct_RANLIB"; then
5230 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir=.
5237 for ac_exec_ext in '' $ac_executable_extensions; do
5238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5240 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5249 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5250 if test -n "$ac_ct_RANLIB"; then
5251 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5252 $as_echo "$ac_ct_RANLIB" >&6; }
5254 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5255 $as_echo "no
" >&6; }
5258 if test "x
$ac_ct_RANLIB" = x; then
5261 case $cross_compiling:$ac_tool_warned in
5263 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5264 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5265 ac_tool_warned=yes ;;
5267 RANLIB=$ac_ct_RANLIB
5270 RANLIB="$ac_cv_prog_RANLIB"
5273 test -z "$RANLIB" && RANLIB=:
5280 # Determine commands to create old-style static archives.
5281 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5282 old_postinstall_cmds='chmod 644 $oldlib'
5283 old_postuninstall_cmds=
5285 if test -n "$RANLIB"; then
5288 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5291 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5294 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5330 # If no C compiler was specified, use CC.
5333 # If no C compiler flags were specified, use CFLAGS.
5334 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5336 # Allow CC to be a program name with arguments.
5340 # Check for command to grab the raw symbol name followed by C symbol from nm.
5341 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5342 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5343 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5344 $as_echo_n "(cached
) " >&6
5347 # These are sane defaults that work on at least a few old systems.
5348 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5350 # Character class describing NM global symbol codes.
5351 symcode='[BCDEGRST]'
5353 # Regexp to match symbols that can be accessed directly from C.
5354 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5356 # Define system-specific variables.
5361 cygwin* | mingw* | pw32* | cegcc*)
5362 symcode='[ABCDGISTW]'
5365 if test "$host_cpu" = ia64; then
5366 symcode='[ABCDEGRST]'
5370 symcode='[BCDEGRST]'
5373 symcode='[BCDEGQRST]'
5384 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5392 # If we're using GNU nm, then use its standard symbol codes.
5393 case `$NM -V 2>&1` in
5394 *GNU* | *'with BFD'*)
5395 symcode='[ABCDGIRSTW]' ;;
5398 # Transform an extracted symbol line into a proper C declaration.
5399 # Some systems (esp. on ia64) link data and code symbols differently,
5400 # so use this general approach.
5401 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5403 # Transform an extracted symbol line into symbol name and symbol address
5404 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5405 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'"
5407 # Handle CRLF in mingw tool chain
5411 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5415 # Try without a prefix underscore, then with it.
5416 for ac_symprfx in "" "_
"; do
5418 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5419 symxfrm="\\1 $ac_symprfx\\2 \\2"
5421 # Write the raw and C identifiers.
5422 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5423 # Fake it for dumpbin and say T for any non-static function
5424 # and D for any global variable.
5425 # Also find C++ and __fastcall symbols from MSVC++,
5426 # which start with @ or ?.
5427 lt_cv_sys_global_symbol_pipe="$AWK '"\
5428 " {last_section=section; section=\$ 3};"\
5429 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5430 " \$ 0!~/External *\|/{next};"\
5431 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5432 " {if(hide[section]) next};"\
5433 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5434 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5435 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5436 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5437 " ' prfx
=^
$ac_symprfx"
5439 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5442 # Check to see that the pipe works correctly.
5446 cat > conftest.$ac_ext <<_LT_EOF
5451 void nm_test_func(void);
5452 void nm_test_func(void){}
5456 int main(){nm_test_var='a';nm_test_func();return(0);}
5459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5460 (eval $ac_compile) 2>&5
5462 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5463 (exit $ac_status); }; then
5464 # Now try to grab the symbols.
5466 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5467 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5469 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5470 (exit $ac_status); } && test -s "$nlist"; then
5471 # Try sorting and uniquifying the output.
5472 if sort "$nlist" | uniq > "$nlist"T; then
5473 mv -f "$nlist"T "$nlist"
5478 # Make sure that we snagged all the symbols we need.
5479 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5480 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5481 cat <<_LT_EOF > conftest.$ac_ext
5487 # Now generate the symbol file.
5488 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5490 cat <<_LT_EOF >> conftest.$ac_ext
5492 /* The mapping between symbol names and symbols. */
5497 lt__PROGRAM__LTX_preloaded_symbols[] =
5499 { "@PROGRAM@
", (void *) 0 },
5501 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5502 cat <<\_LT_EOF >> conftest.$ac_ext
5506 /* This works around a problem in FreeBSD linker */
5507 #ifdef FREEBSD_WORKAROUND
5508 static const void *lt_preloaded_setup() {
5509 return lt__PROGRAM__LTX_preloaded_symbols;
5517 # Now try linking the two files.
5518 mv conftest.$ac_objext conftstm.$ac_objext
5519 lt_save_LIBS="$LIBS"
5520 lt_save_CFLAGS="$CFLAGS"
5521 LIBS="conftstm.
$ac_objext"
5522 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5524 (eval $ac_link) 2>&5
5526 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5527 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5530 LIBS="$lt_save_LIBS"
5531 CFLAGS="$lt_save_CFLAGS"
5533 echo "cannot
find nm_test_func
in $nlist" >&5
5536 echo "cannot
find nm_test_var
in $nlist" >&5
5539 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5542 echo "$progname: failed program was
:" >&5
5543 cat conftest.$ac_ext >&5
5545 rm -rf conftest* conftst*
5547 # Do not use the global_symbol_pipe unless it works.
5548 if test "$pipe_works" = yes; then
5551 lt_cv_sys_global_symbol_pipe=
5557 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5558 lt_cv_sys_global_symbol_to_cdecl=
5560 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5561 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5562 $as_echo "failed
" >&6; }
5564 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5565 $as_echo "ok
" >&6; }
5590 # Check whether --enable-libtool-lock was given.
5591 if test "${enable_libtool_lock+set}" = set; then
5592 enableval=$enable_libtool_lock;
5595 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5597 # Some flags need to be propagated to the compiler or linker for good
5601 # Find out which ABI we are using.
5602 echo 'int i;' > conftest.$ac_ext
5603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5604 (eval $ac_compile) 2>&5
5606 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5607 (exit $ac_status); }; then
5608 case `/usr/bin/file conftest.$ac_objext` in
5620 # Find out which ABI we are using.
5621 echo '#line 5621 "configure
"' > conftest.$ac_ext
5622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5623 (eval $ac_compile) 2>&5
5625 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5626 (exit $ac_status); }; then
5627 if test "$lt_cv_prog_gnu_ld" = yes; then
5628 case `/usr/bin/file conftest.$ac_objext` in
5630 LD="${LD-ld} -melf32bsmip"
5633 LD="${LD-ld} -melf32bmipn32"
5636 LD="${LD-ld} -melf64bmip"
5640 case `/usr/bin/file conftest.$ac_objext` in
5656 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5657 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5658 # Find out which ABI we are using.
5659 echo 'int i;' > conftest.$ac_ext
5660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5661 (eval $ac_compile) 2>&5
5663 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5664 (exit $ac_status); }; then
5665 case `/usr/bin/file conftest.o` in
5668 x86_64-*kfreebsd*-gnu)
5669 LD="${LD-ld} -m elf_i386_fbsd
"
5672 LD="${LD-ld} -m elf_i386
"
5674 ppc64-*linux*|powerpc64-*linux*)
5675 LD="${LD-ld} -m elf32ppclinux
"
5678 LD="${LD-ld} -m elf_s390
"
5681 LD="${LD-ld} -m elf32_sparc
"
5687 x86_64-*kfreebsd*-gnu)
5688 LD="${LD-ld} -m elf_x86_64_fbsd
"
5691 LD="${LD-ld} -m elf_x86_64
"
5693 ppc*-*linux*|powerpc*-*linux*)
5694 LD="${LD-ld} -m elf64ppc
"
5696 s390*-*linux*|s390*-*tpf*)
5697 LD="${LD-ld} -m elf64_s390
"
5700 LD="${LD-ld} -m elf64_sparc
"
5710 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5711 SAVE_CFLAGS="$CFLAGS"
5712 CFLAGS="$CFLAGS -belf"
5713 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5714 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5715 if test "${lt_cv_cc_needs_belf+set}" = set; then
5716 $as_echo_n "(cached
) " >&6
5719 ac_cpp='$CPP $CPPFLAGS'
5720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5724 cat >conftest.$ac_ext <<_ACEOF
5727 cat confdefs.h >>conftest.$ac_ext
5728 cat >>conftest.$ac_ext <<_ACEOF
5729 /* end confdefs.h. */
5739 rm -f conftest.$ac_objext conftest$ac_exeext
5740 if { (ac_try="$ac_link"
5742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5743 *) ac_try_echo=$ac_try;;
5745 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5746 $as_echo "$ac_try_echo") >&5
5747 (eval "$ac_link") 2>conftest.er1
5749 grep -v '^ *+' conftest.er1 >conftest.err
5751 cat conftest.err >&5
5752 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5753 (exit $ac_status); } && {
5754 test -z "$ac_c_werror_flag" ||
5755 test ! -s conftest.err
5756 } && test -s conftest$ac_exeext && {
5757 test "$cross_compiling" = yes ||
5758 $as_test_x conftest$ac_exeext
5760 lt_cv_cc_needs_belf=yes
5762 $as_echo "$as_me: failed program was
:" >&5
5763 sed 's/^/| /' conftest.$ac_ext >&5
5765 lt_cv_cc_needs_belf=no
5768 rm -rf conftest.dSYM
5769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5770 conftest$ac_exeext conftest.$ac_ext
5772 ac_cpp='$CPP $CPPFLAGS'
5773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5778 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5779 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5780 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5781 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5782 CFLAGS="$SAVE_CFLAGS"
5786 # Find out which ABI we are using.
5787 echo 'int i;' > conftest.$ac_ext
5788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5789 (eval $ac_compile) 2>&5
5791 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5792 (exit $ac_status); }; then
5793 case `/usr/bin/file conftest.o` in
5795 case $lt_cv_prog_gnu_ld in
5796 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5798 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5810 need_locks="$enable_libtool_lock"
5814 rhapsody* | darwin*)
5815 if test -n "$ac_tool_prefix"; then
5816 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5817 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5818 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5819 $as_echo_n "checking
for $ac_word...
" >&6; }
5820 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5821 $as_echo_n "(cached
) " >&6
5823 if test -n "$DSYMUTIL"; then
5824 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5834 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5843 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5844 if test -n "$DSYMUTIL"; then
5845 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5846 $as_echo "$DSYMUTIL" >&6; }
5848 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5849 $as_echo "no
" >&6; }
5854 if test -z "$ac_cv_prog_DSYMUTIL"; then
5855 ac_ct_DSYMUTIL=$DSYMUTIL
5856 # Extract the first word of "dsymutil
", so it can be a program name with args.
5857 set dummy dsymutil; ac_word=$2
5858 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5859 $as_echo_n "checking
for $ac_word...
" >&6; }
5860 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5861 $as_echo_n "(cached
) " >&6
5863 if test -n "$ac_ct_DSYMUTIL"; then
5864 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5873 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5874 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5883 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5884 if test -n "$ac_ct_DSYMUTIL"; then
5885 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5886 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5888 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5889 $as_echo "no
" >&6; }
5892 if test "x
$ac_ct_DSYMUTIL" = x; then
5895 case $cross_compiling:$ac_tool_warned in
5897 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5898 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5899 ac_tool_warned=yes ;;
5901 DSYMUTIL=$ac_ct_DSYMUTIL
5904 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5907 if test -n "$ac_tool_prefix"; then
5908 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5909 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5910 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5911 $as_echo_n "checking
for $ac_word...
" >&6; }
5912 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5913 $as_echo_n "(cached
) " >&6
5915 if test -n "$NMEDIT"; then
5916 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir=.
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5925 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5926 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5935 NMEDIT=$ac_cv_prog_NMEDIT
5936 if test -n "$NMEDIT"; then
5937 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
5938 $as_echo "$NMEDIT" >&6; }
5940 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5941 $as_echo "no
" >&6; }
5946 if test -z "$ac_cv_prog_NMEDIT"; then
5947 ac_ct_NMEDIT=$NMEDIT
5948 # Extract the first word of "nmedit
", so it can be a program name with args.
5949 set dummy nmedit; ac_word=$2
5950 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5951 $as_echo_n "checking
for $ac_word...
" >&6; }
5952 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5953 $as_echo_n "(cached
) " >&6
5955 if test -n "$ac_ct_NMEDIT"; then
5956 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 test -z "$as_dir" && as_dir=.
5963 for ac_exec_ext in '' $ac_executable_extensions; do
5964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5965 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5966 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5975 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5976 if test -n "$ac_ct_NMEDIT"; then
5977 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
5978 $as_echo "$ac_ct_NMEDIT" >&6; }
5980 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5981 $as_echo "no
" >&6; }
5984 if test "x
$ac_ct_NMEDIT" = x; then
5987 case $cross_compiling:$ac_tool_warned in
5989 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5990 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5991 ac_tool_warned=yes ;;
5993 NMEDIT=$ac_ct_NMEDIT
5996 NMEDIT="$ac_cv_prog_NMEDIT"
5999 if test -n "$ac_tool_prefix"; then
6000 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6001 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6002 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6003 $as_echo_n "checking
for $ac_word...
" >&6; }
6004 if test "${ac_cv_prog_LIPO+set}" = set; then
6005 $as_echo_n "(cached
) " >&6
6007 if test -n "$LIPO"; then
6008 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6017 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6018 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6027 LIPO=$ac_cv_prog_LIPO
6028 if test -n "$LIPO"; then
6029 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6030 $as_echo "$LIPO" >&6; }
6032 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6033 $as_echo "no
" >&6; }
6038 if test -z "$ac_cv_prog_LIPO"; then
6040 # Extract the first word of "lipo
", so it can be a program name with args.
6041 set dummy lipo; ac_word=$2
6042 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6043 $as_echo_n "checking
for $ac_word...
" >&6; }
6044 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6045 $as_echo_n "(cached
) " >&6
6047 if test -n "$ac_ct_LIPO"; then
6048 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 test -z "$as_dir" && as_dir=.
6055 for ac_exec_ext in '' $ac_executable_extensions; do
6056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6057 ac_cv_prog_ac_ct_LIPO="lipo
"
6058 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6067 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6068 if test -n "$ac_ct_LIPO"; then
6069 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6070 $as_echo "$ac_ct_LIPO" >&6; }
6072 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6073 $as_echo "no
" >&6; }
6076 if test "x
$ac_ct_LIPO" = x; then
6079 case $cross_compiling:$ac_tool_warned in
6081 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6082 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6083 ac_tool_warned=yes ;;
6088 LIPO="$ac_cv_prog_LIPO"
6091 if test -n "$ac_tool_prefix"; then
6092 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6093 set dummy ${ac_tool_prefix}otool; ac_word=$2
6094 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6095 $as_echo_n "checking
for $ac_word...
" >&6; }
6096 if test "${ac_cv_prog_OTOOL+set}" = set; then
6097 $as_echo_n "(cached
) " >&6
6099 if test -n "$OTOOL"; then
6100 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6109 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6110 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6119 OTOOL=$ac_cv_prog_OTOOL
6120 if test -n "$OTOOL"; then
6121 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6122 $as_echo "$OTOOL" >&6; }
6124 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6125 $as_echo "no
" >&6; }
6130 if test -z "$ac_cv_prog_OTOOL"; then
6132 # Extract the first word of "otool
", so it can be a program name with args.
6133 set dummy otool; ac_word=$2
6134 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6135 $as_echo_n "checking
for $ac_word...
" >&6; }
6136 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6137 $as_echo_n "(cached
) " >&6
6139 if test -n "$ac_ct_OTOOL"; then
6140 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 test -z "$as_dir" && as_dir=.
6147 for ac_exec_ext in '' $ac_executable_extensions; do
6148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6149 ac_cv_prog_ac_ct_OTOOL="otool
"
6150 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6159 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6160 if test -n "$ac_ct_OTOOL"; then
6161 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6162 $as_echo "$ac_ct_OTOOL" >&6; }
6164 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6165 $as_echo "no
" >&6; }
6168 if test "x
$ac_ct_OTOOL" = x; then
6171 case $cross_compiling:$ac_tool_warned in
6173 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6174 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6175 ac_tool_warned=yes ;;
6180 OTOOL="$ac_cv_prog_OTOOL"
6183 if test -n "$ac_tool_prefix"; then
6184 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6185 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6186 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6187 $as_echo_n "checking
for $ac_word...
" >&6; }
6188 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6189 $as_echo_n "(cached
) " >&6
6191 if test -n "$OTOOL64"; then
6192 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6201 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6202 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6211 OTOOL64=$ac_cv_prog_OTOOL64
6212 if test -n "$OTOOL64"; then
6213 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6214 $as_echo "$OTOOL64" >&6; }
6216 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6217 $as_echo "no
" >&6; }
6222 if test -z "$ac_cv_prog_OTOOL64"; then
6223 ac_ct_OTOOL64=$OTOOL64
6224 # Extract the first word of "otool64
", so it can be a program name with args.
6225 set dummy otool64; ac_word=$2
6226 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6227 $as_echo_n "checking
for $ac_word...
" >&6; }
6228 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6229 $as_echo_n "(cached
) " >&6
6231 if test -n "$ac_ct_OTOOL64"; then
6232 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 test -z "$as_dir" && as_dir=.
6239 for ac_exec_ext in '' $ac_executable_extensions; do
6240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6242 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6251 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6252 if test -n "$ac_ct_OTOOL64"; then
6253 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6254 $as_echo "$ac_ct_OTOOL64" >&6; }
6256 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6257 $as_echo "no
" >&6; }
6260 if test "x
$ac_ct_OTOOL64" = x; then
6263 case $cross_compiling:$ac_tool_warned in
6265 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6266 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6267 ac_tool_warned=yes ;;
6269 OTOOL64=$ac_ct_OTOOL64
6272 OTOOL64="$ac_cv_prog_OTOOL64"
6301 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6302 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6303 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6304 $as_echo_n "(cached
) " >&6
6306 lt_cv_apple_cc_single_mod=no
6307 if test -z "${LT_MULTI_MODULE}"; then
6308 # By default we will add the -single_module flag. You can override
6309 # by either setting the environment variable LT_MULTI_MODULE
6310 # non-empty at configure time, or by adding -multi_module to the
6312 rm -rf libconftest.dylib*
6313 echo "int foo
(void
){return 1;}" > conftest.c
6314 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6315 -dynamiclib -Wl,-single_module conftest.c
" >&5
6316 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6317 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6319 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6320 lt_cv_apple_cc_single_mod=yes
6322 cat conftest.err >&5
6324 rm -rf libconftest.dylib*
6328 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6329 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6330 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6331 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6332 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6333 $as_echo_n "(cached
) " >&6
6335 lt_cv_ld_exported_symbols_list=no
6336 save_LDFLAGS=$LDFLAGS
6337 echo "_main
" > conftest.sym
6338 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6339 cat >conftest.$ac_ext <<_ACEOF
6342 cat confdefs.h >>conftest.$ac_ext
6343 cat >>conftest.$ac_ext <<_ACEOF
6344 /* end confdefs.h. */
6354 rm -f conftest.$ac_objext conftest$ac_exeext
6355 if { (ac_try="$ac_link"
6357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6358 *) ac_try_echo=$ac_try;;
6360 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6361 $as_echo "$ac_try_echo") >&5
6362 (eval "$ac_link") 2>conftest.er1
6364 grep -v '^ *+' conftest.er1 >conftest.err
6366 cat conftest.err >&5
6367 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6368 (exit $ac_status); } && {
6369 test -z "$ac_c_werror_flag" ||
6370 test ! -s conftest.err
6371 } && test -s conftest$ac_exeext && {
6372 test "$cross_compiling" = yes ||
6373 $as_test_x conftest$ac_exeext
6375 lt_cv_ld_exported_symbols_list=yes
6377 $as_echo "$as_me: failed program was
:" >&5
6378 sed 's/^/| /' conftest.$ac_ext >&5
6380 lt_cv_ld_exported_symbols_list=no
6383 rm -rf conftest.dSYM
6384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6385 conftest$ac_exeext conftest.$ac_ext
6386 LDFLAGS="$save_LDFLAGS"
6389 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6390 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6392 rhapsody* | darwin1.[012])
6393 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6395 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6396 darwin*) # darwin 5.x on
6397 # if running on 10.5 or later, the deployment target defaults
6398 # to the OS version, if on x86, and 10.4, the deployment
6399 # target defaults to 10.4. Don't you love it?
6400 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6401 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6402 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6404 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6406 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6410 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6411 _lt_dar_single_mod='$single_module'
6413 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6414 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6416 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6418 if test "$DSYMUTIL" != ":"; then
6419 _lt_dsymutil='~$DSYMUTIL $lib || :'
6427 ac_cpp='$CPP $CPPFLAGS'
6428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6431 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6432 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6433 # On Suns, sometimes $CPP names a directory.
6434 if test -n "$CPP" && test -d "$CPP"; then
6437 if test -z "$CPP"; then
6438 if test "${ac_cv_prog_CPP+set}" = set; then
6439 $as_echo_n "(cached
) " >&6
6441 # Double quotes because CPP needs to be expanded
6442 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6445 for ac_c_preproc_warn_flag in '' yes
6447 # Use a header file that comes with gcc, so configuring glibc
6448 # with a fresh cross-compiler works.
6449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6450 # <limits.h> exists even on freestanding compilers.
6451 # On the NeXT, cc -E runs the code through the compiler's parser,
6452 # not just through cpp. "Syntax error
" is here to catch this case.
6453 cat >conftest.$ac_ext <<_ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6460 # include <limits.h>
6462 # include <assert.h>
6466 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6469 *) ac_try_echo=$ac_try;;
6471 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6472 $as_echo "$ac_try_echo") >&5
6473 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6475 grep -v '^ *+' conftest.er1 >conftest.err
6477 cat conftest.err >&5
6478 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6479 (exit $ac_status); } >/dev/null && {
6480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6481 test ! -s conftest.err
6485 $as_echo "$as_me: failed program was
:" >&5
6486 sed 's/^/| /' conftest.$ac_ext >&5
6488 # Broken: fails on valid input.
6492 rm -f conftest.err conftest.$ac_ext
6494 # OK, works on sane cases. Now check whether nonexistent headers
6495 # can be detected and how.
6496 cat >conftest.$ac_ext <<_ACEOF
6499 cat confdefs.h >>conftest.$ac_ext
6500 cat >>conftest.$ac_ext <<_ACEOF
6501 /* end confdefs.h. */
6502 #include <ac_nonexistent.h>
6504 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6507 *) ac_try_echo=$ac_try;;
6509 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6510 $as_echo "$ac_try_echo") >&5
6511 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6513 grep -v '^ *+' conftest.er1 >conftest.err
6515 cat conftest.err >&5
6516 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6517 (exit $ac_status); } >/dev/null && {
6518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6519 test ! -s conftest.err
6521 # Broken: success on invalid input.
6524 $as_echo "$as_me: failed program was
:" >&5
6525 sed 's/^/| /' conftest.$ac_ext >&5
6527 # Passes both tests.
6532 rm -f conftest.err conftest.$ac_ext
6535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6536 rm -f conftest.err conftest.$ac_ext
6537 if $ac_preproc_ok; then
6549 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6550 $as_echo "$CPP" >&6; }
6552 for ac_c_preproc_warn_flag in '' yes
6554 # Use a header file that comes with gcc, so configuring glibc
6555 # with a fresh cross-compiler works.
6556 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6557 # <limits.h> exists even on freestanding compilers.
6558 # On the NeXT, cc -E runs the code through the compiler's parser,
6559 # not just through cpp. "Syntax error
" is here to catch this case.
6560 cat >conftest.$ac_ext <<_ACEOF
6563 cat confdefs.h >>conftest.$ac_ext
6564 cat >>conftest.$ac_ext <<_ACEOF
6565 /* end confdefs.h. */
6567 # include <limits.h>
6569 # include <assert.h>
6573 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6576 *) ac_try_echo=$ac_try;;
6578 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6579 $as_echo "$ac_try_echo") >&5
6580 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6582 grep -v '^ *+' conftest.er1 >conftest.err
6584 cat conftest.err >&5
6585 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6586 (exit $ac_status); } >/dev/null && {
6587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6588 test ! -s conftest.err
6592 $as_echo "$as_me: failed program was
:" >&5
6593 sed 's/^/| /' conftest.$ac_ext >&5
6595 # Broken: fails on valid input.
6599 rm -f conftest.err conftest.$ac_ext
6601 # OK, works on sane cases. Now check whether nonexistent headers
6602 # can be detected and how.
6603 cat >conftest.$ac_ext <<_ACEOF
6606 cat confdefs.h >>conftest.$ac_ext
6607 cat >>conftest.$ac_ext <<_ACEOF
6608 /* end confdefs.h. */
6609 #include <ac_nonexistent.h>
6611 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6614 *) ac_try_echo=$ac_try;;
6616 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6617 $as_echo "$ac_try_echo") >&5
6618 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6620 grep -v '^ *+' conftest.er1 >conftest.err
6622 cat conftest.err >&5
6623 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6624 (exit $ac_status); } >/dev/null && {
6625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6626 test ! -s conftest.err
6628 # Broken: success on invalid input.
6631 $as_echo "$as_me: failed program was
:" >&5
6632 sed 's/^/| /' conftest.$ac_ext >&5
6634 # Passes both tests.
6639 rm -f conftest.err conftest.$ac_ext
6642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6643 rm -f conftest.err conftest.$ac_ext
6644 if $ac_preproc_ok; then
6647 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6649 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6650 See \`config.log' for more details.
" >&5
6651 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6652 See \
`config.log' for more details." >&2;}
6653 { (exit 1); exit 1; }; }; }
6657 ac_cpp='$CPP $CPPFLAGS'
6658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6663 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6664 $as_echo_n "checking for ANSI C header files... " >&6; }
6665 if test "${ac_cv_header_stdc+set}" = set; then
6666 $as_echo_n "(cached) " >&6
6668 cat >conftest.$ac_ext <<_ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6687 rm -f conftest.$ac_objext
6688 if { (ac_try="$ac_compile"
6690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6691 *) ac_try_echo
=$ac_try;;
6693 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6694 $as_echo "$ac_try_echo") >&5
6695 (eval "$ac_compile") 2>conftest.er1
6697 grep -v '^ *+' conftest.er1
>conftest.err
6699 cat conftest.err
>&5
6700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); } && {
6702 test -z "$ac_c_werror_flag" ||
6703 test ! -s conftest.err
6704 } && test -s conftest.
$ac_objext; then
6705 ac_cv_header_stdc
=yes
6707 $as_echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.
$ac_ext >&5
6710 ac_cv_header_stdc
=no
6713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6715 if test $ac_cv_header_stdc = yes; then
6716 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6717 cat >conftest.
$ac_ext <<_ACEOF
6720 cat confdefs.h
>>conftest.
$ac_ext
6721 cat >>conftest.
$ac_ext <<_ACEOF
6722 /* end confdefs.h. */
6726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6727 $EGREP "memchr" >/dev
/null
2>&1; then
6730 ac_cv_header_stdc
=no
6736 if test $ac_cv_header_stdc = yes; then
6737 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6738 cat >conftest.
$ac_ext <<_ACEOF
6741 cat confdefs.h
>>conftest.
$ac_ext
6742 cat >>conftest.
$ac_ext <<_ACEOF
6743 /* end confdefs.h. */
6747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6748 $EGREP "free" >/dev
/null
2>&1; then
6751 ac_cv_header_stdc
=no
6757 if test $ac_cv_header_stdc = yes; then
6758 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6759 if test "$cross_compiling" = yes; then
6762 cat >conftest.
$ac_ext <<_ACEOF
6765 cat confdefs.h
>>conftest.
$ac_ext
6766 cat >>conftest.
$ac_ext <<_ACEOF
6767 /* end confdefs.h. */
6770 #if ((' ' & 0x0FF) == 0x020)
6771 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6772 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6774 # define ISLOWER(c) \
6775 (('a' <= (c) && (c) <= 'i') \
6776 || ('j' <= (c) && (c) <= 'r') \
6777 || ('s' <= (c) && (c) <= 'z'))
6778 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6781 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6786 for (i = 0; i < 256; i++)
6787 if (XOR (islower (i), ISLOWER (i))
6788 || toupper (i) != TOUPPER (i))
6793 rm -f conftest
$ac_exeext
6794 if { (ac_try
="$ac_link"
6796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6797 *) ac_try_echo=$ac_try;;
6799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6800 $as_echo "$ac_try_echo") >&5
6801 (eval "$ac_link") 2>&5
6803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6805 { (case "(($ac_try" in
6806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6807 *) ac_try_echo
=$ac_try;;
6809 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6810 $as_echo "$ac_try_echo") >&5
6811 (eval "$ac_try") 2>&5
6813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); }; }; then
6817 $as_echo "$as_me: program exited with status $ac_status" >&5
6818 $as_echo "$as_me: failed program was:" >&5
6819 sed 's/^/| /' conftest.
$ac_ext >&5
6822 ac_cv_header_stdc
=no
6824 rm -rf conftest.dSYM
6825 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6831 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6832 $as_echo "$ac_cv_header_stdc" >&6; }
6833 if test $ac_cv_header_stdc = yes; then
6835 cat >>confdefs.h
<<\_ACEOF
6836 #define STDC_HEADERS 1
6841 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6851 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6852 inttypes.h stdint.h unistd.h
6854 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6855 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6856 $as_echo_n "checking for $ac_header... " >&6; }
6857 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6858 $as_echo_n "(cached) " >&6
6860 cat >conftest.
$ac_ext <<_ACEOF
6863 cat confdefs.h
>>conftest.
$ac_ext
6864 cat >>conftest.
$ac_ext <<_ACEOF
6865 /* end confdefs.h. */
6866 $ac_includes_default
6868 #include <$ac_header>
6870 rm -f conftest.
$ac_objext
6871 if { (ac_try
="$ac_compile"
6873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6874 *) ac_try_echo=$ac_try;;
6876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6877 $as_echo "$ac_try_echo") >&5
6878 (eval "$ac_compile") 2>conftest.er1
6880 grep -v '^ *+' conftest.er1 >conftest.err
6882 cat conftest.err >&5
6883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); } && {
6885 test -z "$ac_c_werror_flag" ||
6886 test ! -s conftest.err
6887 } && test -s conftest.$ac_objext; then
6888 eval "$as_ac_Header=yes"
6890 $as_echo "$as_me: failed program was:" >&5
6891 sed 's/^/| /' conftest.$ac_ext >&5
6893 eval "$as_ac_Header=no"
6896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6898 ac_res=`eval 'as_val=${'$as_ac_Header'}
6899 $as_echo "$as_val"'`
6900 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6901 $as_echo "$ac_res" >&6; }
6902 as_val=`eval 'as_val=${'$as_ac_Header'}
6903 $as_echo "$as_val"'`
6904 if test "x$as_val" = x""yes; then
6905 cat >>confdefs.h <<_ACEOF
6906 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6915 for ac_header in dlfcn.h
6917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6918 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6919 $as_echo_n "checking for $ac_header... " >&6; }
6920 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6921 $as_echo_n "(cached) " >&6
6923 cat >conftest.$ac_ext <<_ACEOF
6926 cat confdefs.h >>conftest.$ac_ext
6927 cat >>conftest.$ac_ext <<_ACEOF
6928 /* end confdefs.h. */
6929 $ac_includes_default
6931 #include <$ac_header>
6933 rm -f conftest.$ac_objext
6934 if { (ac_try="$ac_compile"
6936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6937 *) ac_try_echo
=$ac_try;;
6939 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6940 $as_echo "$ac_try_echo") >&5
6941 (eval "$ac_compile") 2>conftest.er1
6943 grep -v '^ *+' conftest.er1
>conftest.err
6945 cat conftest.err
>&5
6946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); } && {
6948 test -z "$ac_c_werror_flag" ||
6949 test ! -s conftest.err
6950 } && test -s conftest.
$ac_objext; then
6951 eval "$as_ac_Header=yes"
6953 $as_echo "$as_me: failed program was:" >&5
6954 sed 's/^/| /' conftest.
$ac_ext >&5
6956 eval "$as_ac_Header=no"
6959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6961 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6962 $as_echo "$as_val"'`
6963 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6964 $as_echo "$ac_res" >&6; }
6965 as_val
=`eval 'as_val=${'$as_ac_Header'}
6966 $as_echo "$as_val"'`
6967 if test "x$as_val" = x
""yes; then
6968 cat >>confdefs.h
<<_ACEOF
6969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6988 # Check whether --enable-shared was given.
6989 if test "${enable_shared+set}" = set; then
6990 enableval
=$enable_shared; p
=${PACKAGE-default}
6992 yes) enable_shared
=yes ;;
6993 no
) enable_shared
=no
;;
6996 # Look at the argument we got. We use all the common list separators.
6997 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6998 for pkg
in $enableval; do
7000 if test "X$pkg" = "X$p"; then
7019 # Check whether --enable-static was given.
7020 if test "${enable_static+set}" = set; then
7021 enableval
=$enable_static; p
=${PACKAGE-default}
7023 yes) enable_static
=yes ;;
7024 no
) enable_static
=no
;;
7027 # Look at the argument we got. We use all the common list separators.
7028 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7029 for pkg
in $enableval; do
7031 if test "X$pkg" = "X$p"; then
7051 # Check whether --with-pic was given.
7052 if test "${with_pic+set}" = set; then
7053 withval
=$with_pic; pic_mode
="$withval"
7059 test -z "$pic_mode" && pic_mode
=default
7067 # Check whether --enable-fast-install was given.
7068 if test "${enable_fast_install+set}" = set; then
7069 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7071 yes) enable_fast_install
=yes ;;
7072 no
) enable_fast_install
=no
;;
7074 enable_fast_install
=no
7075 # Look at the argument we got. We use all the common list separators.
7076 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7077 for pkg
in $enableval; do
7079 if test "X$pkg" = "X$p"; then
7080 enable_fast_install
=yes
7087 enable_fast_install
=yes
7100 # This can be used to rebuild libtool when needed
7101 LIBTOOL_DEPS
="$ltmain"
7103 # Always use our own libtool.
7104 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7130 test -z "$LN_S" && LN_S
="ln -s"
7145 if test -n "${ZSH_VERSION+set}" ; then
7146 setopt NO_GLOB_SUBST
7149 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7150 $as_echo_n "checking for objdir... " >&6; }
7151 if test "${lt_cv_objdir+set}" = set; then
7152 $as_echo_n "(cached) " >&6
7154 rm -f .libs
2>/dev
/null
7155 mkdir .libs
2>/dev
/null
7156 if test -d .libs
; then
7159 # MS-DOS does not allow filenames that begin with a dot.
7162 rmdir .libs
2>/dev
/null
7164 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7165 $as_echo "$lt_cv_objdir" >&6; }
7166 objdir
=$lt_cv_objdir
7172 cat >>confdefs.h
<<_ACEOF
7173 #define LT_OBJDIR "$lt_cv_objdir/"
7194 # AIX sometimes has problems with the GCC collect2 program. For some
7195 # reason, if we set the COLLECT_NAMES environment variable, the problems
7196 # vanish in a puff of smoke.
7197 if test "X${COLLECT_NAMES+set}" != Xset
; then
7199 export COLLECT_NAMES
7204 # Sed substitution that helps us do robust quoting. It backslashifies
7205 # metacharacters that are still active within double-quoted strings.
7206 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7208 # Same as above, but do not quote variable references.
7209 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7211 # Sed substitution to delay expansion of an escaped shell variable in a
7212 # double_quote_subst'ed string.
7213 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7215 # Sed substitution to delay expansion of an escaped single quote.
7216 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7218 # Sed substitution to avoid accidental globbing in evaled expressions
7219 no_glob_subst
='s/\*/\\\*/g'
7223 can_build_shared
=yes
7225 # All known linkers require a `.a' archive for static linking (except MSVC,
7226 # which needs '.lib').
7229 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7232 old_CFLAGS
="$CFLAGS"
7234 # Set sane defaults for various variables
7235 test -z "$CC" && CC
=cc
7236 test -z "$LTCC" && LTCC
=$CC
7237 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7238 test -z "$LD" && LD
=ld
7239 test -z "$ac_objext" && ac_objext
=o
7241 for cc_temp
in $compiler""; do
7243 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7244 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7249 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7252 # Only perform the check for file, if the check method requires it
7253 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7254 case $deplibs_check_method in
7256 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7257 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7258 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7259 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7260 $as_echo_n "(cached) " >&6
7264 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7267 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7268 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7269 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7270 for ac_dir
in $ac_dummy; do
7272 test -z "$ac_dir" && ac_dir
=.
7273 if test -f $ac_dir/${ac_tool_prefix}file; then
7274 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7275 if test -n "$file_magic_test_file"; then
7276 case $deplibs_check_method in
7278 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7279 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7280 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7281 $EGREP "$file_magic_regex" > /dev
/null
; then
7286 *** Warning: the command libtool uses to detect shared libraries,
7287 *** $file_magic_cmd, produces output that libtool cannot recognize.
7288 *** The result is that libtool may fail to recognize shared libraries
7289 *** as such. This will affect the creation of libtool libraries that
7290 *** depend on shared libraries, but programs linked with such libtool
7291 *** libraries will work regardless of this problem. Nevertheless, you
7292 *** may want to report the problem to your system manager and/or to
7293 *** bug-libtool@gnu.org
7303 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7308 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7309 if test -n "$MAGIC_CMD"; then
7310 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7311 $as_echo "$MAGIC_CMD" >&6; }
7313 { $as_echo "$as_me:$LINENO: result: no" >&5
7314 $as_echo "no" >&6; }
7321 if test -z "$lt_cv_path_MAGIC_CMD"; then
7322 if test -n "$ac_tool_prefix"; then
7323 { $as_echo "$as_me:$LINENO: checking for file" >&5
7324 $as_echo_n "checking for file... " >&6; }
7325 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7326 $as_echo_n "(cached) " >&6
7330 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7333 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7334 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7335 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7336 for ac_dir
in $ac_dummy; do
7338 test -z "$ac_dir" && ac_dir
=.
7339 if test -f $ac_dir/file; then
7340 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7341 if test -n "$file_magic_test_file"; then
7342 case $deplibs_check_method in
7344 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7345 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7346 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7347 $EGREP "$file_magic_regex" > /dev
/null
; then
7352 *** Warning: the command libtool uses to detect shared libraries,
7353 *** $file_magic_cmd, produces output that libtool cannot recognize.
7354 *** The result is that libtool may fail to recognize shared libraries
7355 *** as such. This will affect the creation of libtool libraries that
7356 *** depend on shared libraries, but programs linked with such libtool
7357 *** libraries will work regardless of this problem. Nevertheless, you
7358 *** may want to report the problem to your system manager and/or to
7359 *** bug-libtool@gnu.org
7369 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7374 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7375 if test -n "$MAGIC_CMD"; then
7376 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7377 $as_echo "$MAGIC_CMD" >&6; }
7379 { $as_echo "$as_me:$LINENO: result: no" >&5
7380 $as_echo "no" >&6; }
7393 # Use C for the default configuration in the libtool script
7397 ac_cpp
='$CPP $CPPFLAGS'
7398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7403 # Source file extension for C test sources.
7406 # Object file extension for compiled C test sources.
7410 # Code to be used in simple compile tests
7411 lt_simple_compile_test_code
="int some_variable = 0;"
7413 # Code to be used in simple link tests
7414 lt_simple_link_test_code
='int main(){return(0);}'
7422 # If no C compiler was specified, use CC.
7425 # If no C compiler flags were specified, use CFLAGS.
7426 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7428 # Allow CC to be a program name with arguments.
7431 # Save the default compiler, since it gets overwritten when the other
7432 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7433 compiler_DEFAULT
=$CC
7435 # save warnings/boilerplate of simple test code
7436 ac_outfile
=conftest.
$ac_objext
7437 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7438 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7439 _lt_compiler_boilerplate
=`cat conftest.err`
7442 ac_outfile
=conftest.
$ac_objext
7443 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7444 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7445 _lt_linker_boilerplate
=`cat conftest.err`
7449 if test -n "$compiler"; then
7451 lt_prog_compiler_no_builtin_flag
=
7453 if test "$GCC" = yes; then
7454 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7456 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7457 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7458 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7459 $as_echo_n "(cached) " >&6
7461 lt_cv_prog_compiler_rtti_exceptions
=no
7462 ac_outfile
=conftest.
$ac_objext
7463 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7464 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7465 # Insert the option either (1) after the last *FLAGS variable, or
7466 # (2) before a word containing "conftest.", or (3) at the end.
7467 # Note that $ac_compile itself does not contain backslashes and begins
7468 # with a dollar sign (not a hyphen), so the echo should work correctly.
7469 # The option is referenced via a variable to avoid confusing sed.
7470 lt_compile
=`echo "$ac_compile" | $SED \
7471 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7472 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7473 -e 's:$: $lt_compiler_flag:'`
7474 (eval echo "\"\$as_me:7474: $lt_compile\"" >&5)
7475 (eval "$lt_compile" 2>conftest.err
)
7477 cat conftest.err
>&5
7478 echo "$as_me:7478: \$? = $ac_status" >&5
7479 if (exit $ac_status) && test -s "$ac_outfile"; then
7480 # The compiler can only warn and ignore the option if not recognized
7481 # So say no if there are warnings other than the usual output.
7482 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7483 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7484 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7485 lt_cv_prog_compiler_rtti_exceptions
=yes
7491 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7492 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7494 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7495 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7507 lt_prog_compiler_wl
=
7508 lt_prog_compiler_pic
=
7509 lt_prog_compiler_static
=
7511 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7512 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7514 if test "$GCC" = yes; then
7515 lt_prog_compiler_wl
='-Wl,'
7516 lt_prog_compiler_static
='-static'
7520 # All AIX code is PIC.
7521 if test "$host_cpu" = ia64
; then
7522 # AIX 5 now supports IA64 processor
7523 lt_prog_compiler_static
='-Bstatic'
7530 # see comment about AmigaOS4 .so support
7531 lt_prog_compiler_pic
='-fPIC'
7534 # FIXME: we need at least 68020 code to build shared libraries, but
7535 # adding the `-m68020' flag to GCC prevents building anything better,
7537 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7542 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7543 # PIC is the default for these OSes.
7546 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7547 # This hack is so that the source file can tell whether it is being
7548 # built for inclusion in a dll (and should export symbols for example).
7549 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7550 # (--disable-auto-import) libraries
7551 lt_prog_compiler_pic
='-DDLL_EXPORT'
7554 darwin
* | rhapsody
*)
7555 # PIC is the default on this platform
7556 # Common symbols not allowed in MH_DYLIB files
7557 lt_prog_compiler_pic
='-fno-common'
7561 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7562 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7563 # sets the default TLS model and affects inlining.
7569 lt_prog_compiler_pic
='-fPIC'
7575 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7576 # Instead, we relocate shared libraries at runtime.
7580 # Just because we use GCC doesn't mean we suddenly get shared libraries
7581 # on systems that don't support them.
7582 lt_prog_compiler_can_build_shared
=no
7587 # QNX uses GNU C++, but need to define -shared option too, otherwise
7589 lt_prog_compiler_pic
='-fPIC -shared'
7593 if test -d /usr
/nec
; then
7594 lt_prog_compiler_pic
=-Kconform_pic
7599 lt_prog_compiler_pic
='-fPIC'
7603 # PORTME Check for flag to pass linker flags through the system compiler.
7606 lt_prog_compiler_wl
='-Wl,'
7607 if test "$host_cpu" = ia64
; then
7608 # AIX 5 now supports IA64 processor
7609 lt_prog_compiler_static
='-Bstatic'
7611 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7615 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7616 # This hack is so that the source file can tell whether it is being
7617 # built for inclusion in a dll (and should export symbols for example).
7618 lt_prog_compiler_pic
='-DDLL_EXPORT'
7621 hpux9
* | hpux10
* | hpux11
*)
7622 lt_prog_compiler_wl
='-Wl,'
7623 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7630 lt_prog_compiler_pic
='+Z'
7633 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7634 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7637 irix5
* | irix6
* | nonstopux
*)
7638 lt_prog_compiler_wl
='-Wl,'
7639 # PIC (with -KPIC) is the default.
7640 lt_prog_compiler_static
='-non_shared'
7643 linux
* | k
*bsd
*-gnu)
7644 case $cc_basename in
7645 # old Intel for x86_64 which still supported -KPIC.
7647 lt_prog_compiler_wl
='-Wl,'
7648 lt_prog_compiler_pic
='-KPIC'
7649 lt_prog_compiler_static
='-static'
7651 # icc used to be incompatible with GCC.
7652 # ICC 10 doesn't accept -KPIC any more.
7654 lt_prog_compiler_wl
='-Wl,'
7655 lt_prog_compiler_pic
='-fPIC'
7656 lt_prog_compiler_static
='-static'
7658 # Lahey Fortran 8.1.
7660 lt_prog_compiler_wl
='-Wl,'
7661 lt_prog_compiler_pic
='--shared'
7662 lt_prog_compiler_static
='--static'
7664 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7665 # Portland Group compilers (*not* the Pentium gcc compiler,
7666 # which looks to be a dead project)
7667 lt_prog_compiler_wl
='-Wl,'
7668 lt_prog_compiler_pic
='-fpic'
7669 lt_prog_compiler_static
='-Bstatic'
7672 lt_prog_compiler_wl
='-Wl,'
7673 # All Alpha code is PIC.
7674 lt_prog_compiler_static
='-non_shared'
7677 # IBM XL C 8.0/Fortran 10.1 on PPC
7678 lt_prog_compiler_wl
='-Wl,'
7679 lt_prog_compiler_pic
='-qpic'
7680 lt_prog_compiler_static
='-qstaticlink'
7683 case `$CC -V 2>&1 | sed 5q` in
7686 lt_prog_compiler_pic
='-KPIC'
7687 lt_prog_compiler_static
='-Bstatic'
7688 lt_prog_compiler_wl
='-Wl,'
7691 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7692 lt_prog_compiler_pic
='-KPIC'
7693 lt_prog_compiler_static
='-Bstatic'
7694 lt_prog_compiler_wl
=''
7702 lt_prog_compiler_pic
='-KPIC'
7703 lt_prog_compiler_static
='-Bstatic'
7707 # QNX uses GNU C++, but need to define -shared option too, otherwise
7709 lt_prog_compiler_pic
='-fPIC -shared'
7712 osf3
* | osf4
* | osf5
*)
7713 lt_prog_compiler_wl
='-Wl,'
7714 # All OSF/1 code is PIC.
7715 lt_prog_compiler_static
='-non_shared'
7719 lt_prog_compiler_static
='-non_shared'
7723 lt_prog_compiler_pic
='-KPIC'
7724 lt_prog_compiler_static
='-Bstatic'
7725 case $cc_basename in
7727 lt_prog_compiler_wl
='-Qoption ld ';;
7729 lt_prog_compiler_wl
='-Wl,';;
7734 lt_prog_compiler_wl
='-Qoption ld '
7735 lt_prog_compiler_pic
='-PIC'
7736 lt_prog_compiler_static
='-Bstatic'
7739 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7740 lt_prog_compiler_wl
='-Wl,'
7741 lt_prog_compiler_pic
='-KPIC'
7742 lt_prog_compiler_static
='-Bstatic'
7746 if test -d /usr
/nec
;then
7747 lt_prog_compiler_pic
='-Kconform_pic'
7748 lt_prog_compiler_static
='-Bstatic'
7752 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7753 lt_prog_compiler_wl
='-Wl,'
7754 lt_prog_compiler_pic
='-KPIC'
7755 lt_prog_compiler_static
='-Bstatic'
7759 lt_prog_compiler_wl
='-Wl,'
7760 lt_prog_compiler_can_build_shared
=no
7764 lt_prog_compiler_pic
='-pic'
7765 lt_prog_compiler_static
='-Bstatic'
7769 lt_prog_compiler_can_build_shared
=no
7775 # For platforms which do not support PIC, -DPIC is meaningless:
7777 lt_prog_compiler_pic
=
7780 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7783 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7784 $as_echo "$lt_prog_compiler_pic" >&6; }
7792 # Check to make sure the PIC flag actually works.
7794 if test -n "$lt_prog_compiler_pic"; then
7795 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7796 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7797 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7798 $as_echo_n "(cached) " >&6
7800 lt_cv_prog_compiler_pic_works
=no
7801 ac_outfile
=conftest.
$ac_objext
7802 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7803 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7804 # Insert the option either (1) after the last *FLAGS variable, or
7805 # (2) before a word containing "conftest.", or (3) at the end.
7806 # Note that $ac_compile itself does not contain backslashes and begins
7807 # with a dollar sign (not a hyphen), so the echo should work correctly.
7808 # The option is referenced via a variable to avoid confusing sed.
7809 lt_compile
=`echo "$ac_compile" | $SED \
7810 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7811 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7812 -e 's:$: $lt_compiler_flag:'`
7813 (eval echo "\"\$as_me:7813: $lt_compile\"" >&5)
7814 (eval "$lt_compile" 2>conftest.err
)
7816 cat conftest.err
>&5
7817 echo "$as_me:7817: \$? = $ac_status" >&5
7818 if (exit $ac_status) && test -s "$ac_outfile"; then
7819 # The compiler can only warn and ignore the option if not recognized
7820 # So say no if there are warnings other than the usual output.
7821 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7822 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7823 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7824 lt_cv_prog_compiler_pic_works
=yes
7830 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7831 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7833 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7834 case $lt_prog_compiler_pic in
7836 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7839 lt_prog_compiler_pic
=
7840 lt_prog_compiler_can_build_shared
=no
7851 # Check to make sure the static flag actually works.
7853 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7854 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7855 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7856 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7857 $as_echo_n "(cached) " >&6
7859 lt_cv_prog_compiler_static_works
=no
7860 save_LDFLAGS
="$LDFLAGS"
7861 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7862 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7863 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7864 # The linker can only warn and ignore the option if not recognized
7865 # So say no if there are warnings
7866 if test -s conftest.err
; then
7867 # Append any errors to the config.log.
7868 cat conftest.err
1>&5
7869 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7870 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7871 if diff conftest.exp conftest.er2
>/dev
/null
; then
7872 lt_cv_prog_compiler_static_works
=yes
7875 lt_cv_prog_compiler_static_works
=yes
7879 LDFLAGS
="$save_LDFLAGS"
7882 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7883 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7885 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7888 lt_prog_compiler_static
=
7897 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7898 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7899 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7900 $as_echo_n "(cached) " >&6
7902 lt_cv_prog_compiler_c_o
=no
7903 $RM -r conftest
2>/dev
/null
7907 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7909 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7910 # Insert the option either (1) after the last *FLAGS variable, or
7911 # (2) before a word containing "conftest.", or (3) at the end.
7912 # Note that $ac_compile itself does not contain backslashes and begins
7913 # with a dollar sign (not a hyphen), so the echo should work correctly.
7914 lt_compile
=`echo "$ac_compile" | $SED \
7915 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7916 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7917 -e 's:$: $lt_compiler_flag:'`
7918 (eval echo "\"\$as_me:7918: $lt_compile\"" >&5)
7919 (eval "$lt_compile" 2>out
/conftest.err
)
7921 cat out
/conftest.err
>&5
7922 echo "$as_me:7922: \$? = $ac_status" >&5
7923 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7925 # The compiler can only warn and ignore the option if not recognized
7926 # So say no if there are warnings
7927 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7928 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7929 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7930 lt_cv_prog_compiler_c_o
=yes
7935 # SGI C++ compiler will create directory out/ii_files/ for
7936 # template instantiation
7937 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7938 $RM out
/* && rmdir out
7944 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7945 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7952 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7953 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7954 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7955 $as_echo_n "(cached) " >&6
7957 lt_cv_prog_compiler_c_o
=no
7958 $RM -r conftest
2>/dev
/null
7962 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7964 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7965 # Insert the option either (1) after the last *FLAGS variable, or
7966 # (2) before a word containing "conftest.", or (3) at the end.
7967 # Note that $ac_compile itself does not contain backslashes and begins
7968 # with a dollar sign (not a hyphen), so the echo should work correctly.
7969 lt_compile
=`echo "$ac_compile" | $SED \
7970 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7971 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7972 -e 's:$: $lt_compiler_flag:'`
7973 (eval echo "\"\$as_me:7973: $lt_compile\"" >&5)
7974 (eval "$lt_compile" 2>out
/conftest.err
)
7976 cat out
/conftest.err
>&5
7977 echo "$as_me:7977: \$? = $ac_status" >&5
7978 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7980 # The compiler can only warn and ignore the option if not recognized
7981 # So say no if there are warnings
7982 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7983 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7984 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7985 lt_cv_prog_compiler_c_o
=yes
7990 # SGI C++ compiler will create directory out/ii_files/ for
7991 # template instantiation
7992 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7993 $RM out
/* && rmdir out
7999 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8000 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8005 hard_links
="nottested"
8006 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8007 # do not overwrite the value of need_locks provided by the user
8008 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8009 $as_echo_n "checking if we can lock with hard links... " >&6; }
8012 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8014 ln conftest.a conftest.b
2>&5 || hard_links
=no
8015 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8016 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8017 $as_echo "$hard_links" >&6; }
8018 if test "$hard_links" = no
; then
8019 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8020 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8032 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8033 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8036 allow_undefined_flag
=
8037 always_export_symbols
=no
8039 archive_expsym_cmds
=
8040 compiler_needs_object
=no
8041 enable_shared_with_static_runtimes
=no
8042 export_dynamic_flag_spec
=
8043 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8044 hardcode_automatic
=no
8046 hardcode_direct_absolute
=no
8047 hardcode_libdir_flag_spec
=
8048 hardcode_libdir_flag_spec_ld
=
8049 hardcode_libdir_separator
=
8051 hardcode_shlibpath_var
=unsupported
8053 link_all_deplibs
=unknown
8056 old_archive_from_new_cmds
=
8057 old_archive_from_expsyms_cmds
=
8058 thread_safe_flag_spec
=
8059 whole_archive_flag_spec
=
8060 # include_expsyms should be a list of space-separated symbols to be *always*
8061 # included in the symbol list
8063 # exclude_expsyms can be an extended regexp of symbols to exclude
8064 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8065 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8066 # as well as any symbol that contains `d'.
8067 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8068 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8069 # platforms (ab)use it in PIC code, but their linkers get confused if
8070 # the symbol is explicitly referenced. Since portable code cannot
8071 # rely on this symbol name, it's probably fine to never include it in
8072 # preloaded symbol tables.
8073 # Exclude shared library initialization/finalization symbols.
8074 extract_expsyms_cmds
=
8077 cygwin
* | mingw
* | pw32
* | cegcc
*)
8078 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8079 # When not using gcc, we currently assume that we are using
8080 # Microsoft Visual C++.
8081 if test "$GCC" != yes; then
8086 # we just hope/assume this is gcc and not c89 (= MSVC++)
8095 if test "$with_gnu_ld" = yes; then
8096 # If archive_cmds runs LD, not CC, wlarc should be empty
8099 # Set some defaults for GNU ld with shared library support. These
8100 # are reset later if shared libraries are not supported. Putting them
8101 # here allows them to be overridden if necessary.
8102 runpath_var
=LD_RUN_PATH
8103 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8104 export_dynamic_flag_spec
='${wl}--export-dynamic'
8105 # ancient GNU ld didn't support --whole-archive et. al.
8106 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8107 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8109 whole_archive_flag_spec
=
8111 supports_anon_versioning
=no
8112 case `$LD -v 2>&1` in
8113 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8114 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8115 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8116 *\
2.11.
*) ;; # other 2.11 versions
8117 *) supports_anon_versioning
=yes ;;
8120 # See if GNU ld supports shared libraries.
8123 # On AIX/PPC, the GNU linker is very broken
8124 if test "$host_cpu" != ia64
; then
8128 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8129 *** to be unable to reliably create shared libraries on AIX.
8130 *** Therefore, libtool is disabling shared libraries support. If you
8131 *** really care for shared libraries, you may want to modify your PATH
8132 *** so that a non-GNU linker is found, and then restart.
8141 # see comment about AmigaOS4 .so support
8142 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8143 archive_expsym_cmds
=''
8146 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)'
8147 hardcode_libdir_flag_spec
='-L$libdir'
8148 hardcode_minus_L
=yes
8154 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8155 allow_undefined_flag
=unsupported
8156 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8157 # support --undefined. This deserves some investigation. FIXME
8158 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8164 cygwin
* | mingw
* | pw32
* | cegcc
*)
8165 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8166 # as there is no search path for DLLs.
8167 hardcode_libdir_flag_spec
='-L$libdir'
8168 allow_undefined_flag
=unsupported
8169 always_export_symbols
=no
8170 enable_shared_with_static_runtimes
=yes
8171 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8173 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8174 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8175 # If the export-symbols file already is a .def file (1st line
8176 # is EXPORTS), use it as is; otherwise, prepend...
8177 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8178 cp $export_symbols $output_objdir/$soname.def;
8180 echo EXPORTS > $output_objdir/$soname.def;
8181 cat $export_symbols >> $output_objdir/$soname.def;
8183 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8191 hardcode_shlibpath_var
=no
8192 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8193 export_dynamic_flag_spec
='${wl}-E'
8194 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8195 # Instead, shared libraries are loaded at an image base (0x10000000 by
8196 # default) and relocated if they conflict, which is a slow very memory
8197 # consuming and fragmenting process. To avoid this, we pick a random,
8198 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8199 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8200 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8201 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'
8204 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8206 if test "$host_os" = linux-dietlibc
; then
8207 case $cc_basename in
8208 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8211 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8212 && test "$tmp_diet" = no
8215 tmp_sharedflag
='-shared'
8216 case $cc_basename,$host_cpu in
8217 pgcc
*) # Portland Group C compiler
8218 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8219 tmp_addflag
=' $pic_flag'
8221 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8222 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8223 tmp_addflag
=' $pic_flag -Mnomain' ;;
8224 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8225 tmp_addflag
=' -i_dynamic' ;;
8226 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8227 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8228 ifc
* | ifort
*) # Intel Fortran compiler
8229 tmp_addflag
=' -nofor_main' ;;
8230 lf95
*) # Lahey Fortran 8.1
8231 whole_archive_flag_spec
=
8232 tmp_sharedflag
='--shared' ;;
8233 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8234 tmp_sharedflag
='-qmkshrobj'
8237 case `$CC -V 2>&1 | sed 5q` in
8238 *Sun\ C
*) # Sun C 5.9
8239 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8240 compiler_needs_object
=yes
8241 tmp_sharedflag
='-G' ;;
8242 *Sun\ F
*) # Sun Fortran 8.3
8243 tmp_sharedflag
='-G' ;;
8245 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8247 if test "x$supports_anon_versioning" = xyes
; then
8248 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8249 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8250 echo "local: *; };" >> $output_objdir/$libname.ver~
8251 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8254 case $cc_basename in
8256 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8257 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8258 hardcode_libdir_flag_spec
=
8259 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8260 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8261 if test "x$supports_anon_versioning" = xyes
; then
8262 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8263 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8264 echo "local: *; };" >> $output_objdir/$libname.ver~
8265 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8275 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8276 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8279 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8280 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8285 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8289 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8290 *** create shared libraries on Solaris systems. Therefore, libtool
8291 *** is disabling shared libraries support. We urge you to upgrade GNU
8292 *** binutils to release 2.9.1 or newer. Another option is to modify
8293 *** your PATH or compiler configuration so that the native linker is
8294 *** used, and then restart.
8297 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8298 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8299 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8305 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8306 case `$LD -v 2>&1` in
8307 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8311 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8312 *** reliably create shared libraries on SCO systems. Therefore, libtool
8313 *** is disabling shared libraries support. We urge you to upgrade GNU
8314 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8315 *** your PATH or compiler configuration so that the native linker is
8316 *** used, and then restart.
8321 # For security reasons, it is highly recommended that you always
8322 # use absolute paths for naming shared libraries, and exclude the
8323 # DT_RUNPATH tag from executables and libraries. But doing so
8324 # requires that you compile everything twice, which is a pain.
8325 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8326 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8327 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8328 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8337 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8340 hardcode_shlibpath_var
=no
8344 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8345 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8346 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8353 if test "$ld_shlibs" = no
; then
8355 hardcode_libdir_flag_spec
=
8356 export_dynamic_flag_spec
=
8357 whole_archive_flag_spec
=
8360 # PORTME fill in a description of your system's linker (not GNU ld)
8363 allow_undefined_flag
=unsupported
8364 always_export_symbols
=yes
8365 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'
8366 # Note: this linker hardcodes the directories in LIBPATH if there
8367 # are no directories specified by -L.
8368 hardcode_minus_L
=yes
8369 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8370 # Neither direct hardcoding nor static linking is supported with a
8372 hardcode_direct
=unsupported
8377 if test "$host_cpu" = ia64
; then
8378 # On IA64, the linker does run time linking by default, so we don't
8379 # have to do anything special.
8380 aix_use_runtimelinking
=no
8381 exp_sym_flag
='-Bexport'
8384 # If we're using GNU nm, then we don't want the "-C" option.
8385 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8386 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8387 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8389 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'
8391 aix_use_runtimelinking
=no
8393 # Test if we are trying to use run time linking or normal
8394 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8395 # need to do runtime linking.
8396 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8397 for ld_flag
in $LDFLAGS; do
8398 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8399 aix_use_runtimelinking
=yes
8406 exp_sym_flag
='-bexport'
8407 no_entry_flag
='-bnoentry'
8410 # When large executables or shared objects are built, AIX ld can
8411 # have problems creating the table of contents. If linking a library
8412 # or program results in "error TOC overflow" add -mminimal-toc to
8413 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8414 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8418 hardcode_direct_absolute
=yes
8419 hardcode_libdir_separator
=':'
8420 link_all_deplibs
=yes
8421 file_list_spec
='${wl}-f,'
8423 if test "$GCC" = yes; then
8424 case $host_os in aix4.
[012]|aix4.
[012].
*)
8425 # We only want to do this on AIX 4.2 and lower, the check
8426 # below for broken collect2 doesn't work under 4.3+
8427 collect2name
=`${CC} -print-prog-name=collect2`
8428 if test -f "$collect2name" &&
8429 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8431 # We have reworked collect2
8434 # We have old collect2
8435 hardcode_direct
=unsupported
8436 # It fails to find uninstalled libraries when the uninstalled
8437 # path is not listed in the libpath. Setting hardcode_minus_L
8438 # to unsupported forces relinking
8439 hardcode_minus_L
=yes
8440 hardcode_libdir_flag_spec
='-L$libdir'
8441 hardcode_libdir_separator
=
8445 shared_flag
='-shared'
8446 if test "$aix_use_runtimelinking" = yes; then
8447 shared_flag
="$shared_flag "'${wl}-G'
8451 if test "$host_cpu" = ia64
; then
8452 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8453 # chokes on -Wl,-G. The following line is correct:
8456 if test "$aix_use_runtimelinking" = yes; then
8457 shared_flag
='${wl}-G'
8459 shared_flag
='${wl}-bM:SRE'
8464 export_dynamic_flag_spec
='${wl}-bexpall'
8465 # It seems that -bexpall does not export symbols beginning with
8466 # underscore (_), so it is better to generate a list of symbols to export.
8467 always_export_symbols
=yes
8468 if test "$aix_use_runtimelinking" = yes; then
8469 # Warning - without using the other runtime loading flags (-brtl),
8470 # -berok will link without error, but may produce a broken library.
8471 allow_undefined_flag
='-berok'
8472 # Determine the default libpath from the value encoded in an
8474 cat >conftest.
$ac_ext <<_ACEOF
8477 cat confdefs.h
>>conftest.
$ac_ext
8478 cat >>conftest.
$ac_ext <<_ACEOF
8479 /* end confdefs.h. */
8489 rm -f conftest.
$ac_objext conftest
$ac_exeext
8490 if { (ac_try
="$ac_link"
8492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8493 *) ac_try_echo=$ac_try;;
8495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8496 $as_echo "$ac_try_echo") >&5
8497 (eval "$ac_link") 2>conftest.er1
8499 grep -v '^ *+' conftest.er1 >conftest.err
8501 cat conftest.err >&5
8502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); } && {
8504 test -z "$ac_c_werror_flag" ||
8505 test ! -s conftest.err
8506 } && test -s conftest$ac_exeext && {
8507 test "$cross_compiling" = yes ||
8508 $as_test_x conftest$ac_exeext
8511 lt_aix_libpath_sed='
8512 /Import File Strings/,/^$/ {
8518 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8519 # Check for a 64-bit object if we didn't find anything.
8520 if test -z "$aix_libpath"; then
8521 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8524 $as_echo "$as_me: failed program was:" >&5
8525 sed 's/^/| /' conftest.$ac_ext >&5
8530 rm -rf conftest.dSYM
8531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8532 conftest$ac_exeext conftest.$ac_ext
8533 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8535 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8536 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8538 if test "$host_cpu" = ia64; then
8539 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8540 allow_undefined_flag="-z nodefs"
8541 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"
8543 # Determine the default libpath from the value encoded in an
8545 cat >conftest.$ac_ext <<_ACEOF
8548 cat confdefs.h >>conftest.$ac_ext
8549 cat >>conftest.$ac_ext <<_ACEOF
8550 /* end confdefs.h. */
8560 rm -f conftest.$ac_objext conftest$ac_exeext
8561 if { (ac_try="$ac_link"
8563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8564 *) ac_try_echo
=$ac_try;;
8566 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8567 $as_echo "$ac_try_echo") >&5
8568 (eval "$ac_link") 2>conftest.er1
8570 grep -v '^ *+' conftest.er1
>conftest.err
8572 cat conftest.err
>&5
8573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); } && {
8575 test -z "$ac_c_werror_flag" ||
8576 test ! -s conftest.err
8577 } && test -s conftest
$ac_exeext && {
8578 test "$cross_compiling" = yes ||
8579 $as_test_x conftest
$ac_exeext
8582 lt_aix_libpath_sed
='
8583 /Import File Strings/,/^$/ {
8589 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8590 # Check for a 64-bit object if we didn't find anything.
8591 if test -z "$aix_libpath"; then
8592 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8595 $as_echo "$as_me: failed program was:" >&5
8596 sed 's/^/| /' conftest.
$ac_ext >&5
8601 rm -rf conftest.dSYM
8602 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8603 conftest
$ac_exeext conftest.
$ac_ext
8604 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8606 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8607 # Warning - without using the other run time loading flags,
8608 # -berok will link without error, but may produce a broken library.
8609 no_undefined_flag
=' ${wl}-bernotok'
8610 allow_undefined_flag
=' ${wl}-berok'
8611 # Exported symbols can be pulled into shared objects from archives
8612 whole_archive_flag_spec
='$convenience'
8613 archive_cmds_need_lc
=yes
8614 # This is similar to how AIX traditionally builds its shared libraries.
8615 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'
8623 # see comment about AmigaOS4 .so support
8624 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8625 archive_expsym_cmds
=''
8628 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)'
8629 hardcode_libdir_flag_spec
='-L$libdir'
8630 hardcode_minus_L
=yes
8636 export_dynamic_flag_spec
=-rdynamic
8639 cygwin
* | mingw
* | pw32
* | cegcc
*)
8640 # When not using gcc, we currently assume that we are using
8641 # Microsoft Visual C++.
8642 # hardcode_libdir_flag_spec is actually meaningless, as there is
8643 # no search path for DLLs.
8644 hardcode_libdir_flag_spec
=' '
8645 allow_undefined_flag
=unsupported
8646 # Tell ltmain to make .lib files, not .a files.
8648 # Tell ltmain to make .dll files, not .so files.
8650 # FIXME: Setting linknames here is a bad hack.
8651 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8652 # The linker will automatically build a .lib file if we build a DLL.
8653 old_archive_from_new_cmds
='true'
8654 # FIXME: Should let the user specify the lib program.
8655 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8656 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8657 enable_shared_with_static_runtimes
=yes
8660 darwin
* | rhapsody
*)
8663 archive_cmds_need_lc
=no
8665 hardcode_automatic
=yes
8666 hardcode_shlibpath_var
=unsupported
8667 whole_archive_flag_spec
=''
8668 link_all_deplibs
=yes
8669 allow_undefined_flag
="$_lt_dar_allow_undefined"
8670 case $cc_basename in
8671 ifort
*) _lt_dar_can_shared
=yes ;;
8672 *) _lt_dar_can_shared
=$GCC ;;
8674 if test "$_lt_dar_can_shared" = "yes"; then
8675 output_verbose_link_cmd
=echo
8676 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8677 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8678 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}"
8679 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}"
8688 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8689 hardcode_libdir_flag_spec
='-L$libdir'
8690 hardcode_shlibpath_var
=no
8697 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8698 # support. Future versions do this automatically, but an explicit c++rt0.o
8699 # does not break anything, and helps significantly (at the cost of a little
8702 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8703 hardcode_libdir_flag_spec
='-R$libdir'
8705 hardcode_shlibpath_var
=no
8708 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8710 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8712 hardcode_minus_L
=yes
8713 hardcode_shlibpath_var
=no
8716 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8717 freebsd
* | dragonfly
*)
8718 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8719 hardcode_libdir_flag_spec
='-R$libdir'
8721 hardcode_shlibpath_var
=no
8725 if test "$GCC" = yes; then
8726 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8728 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'
8730 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8731 hardcode_libdir_separator
=:
8734 # hardcode_minus_L: Not really in the search PATH,
8735 # but as the default location of the library.
8736 hardcode_minus_L
=yes
8737 export_dynamic_flag_spec
='${wl}-E'
8741 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8742 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8744 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8746 if test "$with_gnu_ld" = no
; then
8747 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8748 hardcode_libdir_flag_spec_ld
='+b $libdir'
8749 hardcode_libdir_separator
=:
8751 hardcode_direct_absolute
=yes
8752 export_dynamic_flag_spec
='${wl}-E'
8753 # hardcode_minus_L: Not really in the search PATH,
8754 # but as the default location of the library.
8755 hardcode_minus_L
=yes
8760 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8763 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8766 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8769 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8775 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8778 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8781 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8785 if test "$with_gnu_ld" = no
; then
8786 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8787 hardcode_libdir_separator
=:
8792 hardcode_shlibpath_var
=no
8796 hardcode_direct_absolute
=yes
8797 export_dynamic_flag_spec
='${wl}-E'
8799 # hardcode_minus_L: Not really in the search PATH,
8800 # but as the default location of the library.
8801 hardcode_minus_L
=yes
8807 irix5
* | irix6
* | nonstopux
*)
8808 if test "$GCC" = yes; then
8809 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8810 # Try to use the -exported_symbol ld option, if it does not
8811 # work, assume that -exports_file does not work either and
8812 # implicitly export all symbols.
8813 save_LDFLAGS
="$LDFLAGS"
8814 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8815 cat >conftest.
$ac_ext <<_ACEOF
8818 rm -f conftest.
$ac_objext conftest
$ac_exeext
8819 if { (ac_try
="$ac_link"
8821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8822 *) ac_try_echo=$ac_try;;
8824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8825 $as_echo "$ac_try_echo") >&5
8826 (eval "$ac_link") 2>conftest.er1
8828 grep -v '^ *+' conftest.er1 >conftest.err
8830 cat conftest.err >&5
8831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); } && {
8833 test -z "$ac_c_werror_flag" ||
8834 test ! -s conftest.err
8835 } && test -s conftest$ac_exeext && {
8836 test "$cross_compiling" = yes ||
8837 $as_test_x conftest$ac_exeext
8839 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8842 $as_echo "$as_me: failed program was:" >&5
8843 sed 's/^/| /' conftest.$ac_ext >&5
8848 rm -rf conftest.dSYM
8849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8850 conftest$ac_exeext conftest.$ac_ext
8851 LDFLAGS="$save_LDFLAGS"
8853 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8854 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8856 archive_cmds_need_lc='no'
8857 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8858 hardcode_libdir_separator=:
8860 link_all_deplibs=yes
8864 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8865 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8867 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8869 hardcode_libdir_flag_spec='-R$libdir'
8871 hardcode_shlibpath_var=no
8875 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8877 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8878 hardcode_libdir_separator=:
8879 hardcode_shlibpath_var=no
8886 if test -f /usr/libexec/ld.so; then
8888 hardcode_shlibpath_var=no
8889 hardcode_direct_absolute=yes
8890 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8891 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8892 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8893 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8894 export_dynamic_flag_spec='${wl}-E'
8897 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8898 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8899 hardcode_libdir_flag_spec='-R$libdir'
8902 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8903 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8913 hardcode_libdir_flag_spec='-L$libdir'
8914 hardcode_minus_L=yes
8915 allow_undefined_flag=unsupported
8916 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'
8917 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8921 if test "$GCC" = yes; then
8922 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8923 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8925 allow_undefined_flag=' -expect_unresolved \*'
8926 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8928 archive_cmds_need_lc='no'
8929 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8930 hardcode_libdir_separator=:
8933 osf4* | osf5*) # as osf3* with the addition of -msym flag
8934 if test "$GCC" = yes; then
8935 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8936 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8937 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8939 allow_undefined_flag=' -expect_unresolved \*'
8940 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8941 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~
8942 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8944 # Both c and cxx compiler support -rpath directly
8945 hardcode_libdir_flag_spec='-rpath $libdir'
8947 archive_cmds_need_lc='no'
8948 hardcode_libdir_separator=:
8952 no_undefined_flag=' -z defs'
8953 if test "$GCC" = yes; then
8955 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8956 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8957 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8959 case `$CC -V 2>&1` in
8962 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8963 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8964 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8968 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8969 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8970 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8974 hardcode_libdir_flag_spec='-R$libdir'
8975 hardcode_shlibpath_var=no
8977 solaris2.[0-5] | solaris2.[0-5].*) ;;
8979 # The compiler driver will combine and reorder linker options,
8980 # but understands `-z linker_flag
'. GCC discards it without `$wl',
8981 # but is careful enough not to reorder.
8982 # Supported since Solaris 2.6 (maybe 2.5.1?)
8983 if test "$GCC" = yes; then
8984 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8986 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8990 link_all_deplibs
=yes
8994 if test "x$host_vendor" = xsequent
; then
8995 # Use $CC to link under sequent, because it throws in some extra .o
8996 # files that make .init and .fini sections work.
8997 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8999 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9001 hardcode_libdir_flag_spec
='-L$libdir'
9003 hardcode_minus_L
=yes
9004 hardcode_shlibpath_var
=no
9008 case $host_vendor in
9010 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9011 hardcode_direct
=yes # is this really true???
9014 ## LD is ld it makes a PLAMLIB
9015 ## CC just makes a GrossModule.
9016 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9017 reload_cmds
='$CC -r -o $output$reload_objs'
9021 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9022 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9025 runpath_var
='LD_RUN_PATH'
9026 hardcode_shlibpath_var
=no
9030 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9031 hardcode_shlibpath_var
=no
9032 export_dynamic_flag_spec
='-Bexport'
9036 if test -d /usr
/nec
; then
9037 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9038 hardcode_shlibpath_var
=no
9039 runpath_var
=LD_RUN_PATH
9040 hardcode_runpath_var
=yes
9045 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9046 no_undefined_flag
='${wl}-z,text'
9047 archive_cmds_need_lc
=no
9048 hardcode_shlibpath_var
=no
9049 runpath_var
='LD_RUN_PATH'
9051 if test "$GCC" = yes; then
9052 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9053 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9055 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9056 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9060 sysv5
* | sco3.2v5
* | sco5v6
*)
9061 # Note: We can NOT use -z defs as we might desire, because we do not
9062 # link with -lc, and that would cause any symbols used from libc to
9063 # always be unresolved, which means just about no library would
9064 # ever link correctly. If we're not using GNU ld we use -z text
9065 # though, which does catch some bad symbols but isn't as heavy-handed
9067 no_undefined_flag
='${wl}-z,text'
9068 allow_undefined_flag
='${wl}-z,nodefs'
9069 archive_cmds_need_lc
=no
9070 hardcode_shlibpath_var
=no
9071 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9072 hardcode_libdir_separator
=':'
9073 link_all_deplibs
=yes
9074 export_dynamic_flag_spec
='${wl}-Bexport'
9075 runpath_var
='LD_RUN_PATH'
9077 if test "$GCC" = yes; then
9078 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9079 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9081 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9082 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9087 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9088 hardcode_libdir_flag_spec
='-L$libdir'
9089 hardcode_shlibpath_var
=no
9097 if test x
$host_vendor = xsni
; then
9099 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9100 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9106 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9107 $as_echo "$ld_shlibs" >&6; }
9108 test "$ld_shlibs" = no
&& can_build_shared
=no
9110 with_gnu_ld
=$with_gnu_ld
9127 # Do we need to explicitly link libc?
9129 case "x$archive_cmds_need_lc" in
9131 # Assume -lc should be added
9132 archive_cmds_need_lc
=yes
9134 if test "$enable_shared" = yes && test "$GCC" = yes; then
9135 case $archive_cmds in
9137 # FIXME: we may have to deal with multi-command sequences.
9140 # Test whether the compiler implicitly links with -lc since on some
9141 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9142 # to ld, don't add -lc before -lgcc.
9143 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9144 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9146 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9149 (eval $ac_compile) 2>&5
9151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152 (exit $ac_status); } 2>conftest.err
; then
9155 libobjs
=conftest.
$ac_objext
9157 wl
=$lt_prog_compiler_wl
9158 pic_flag
=$lt_prog_compiler_pic
9164 lt_save_allow_undefined_flag
=$allow_undefined_flag
9165 allow_undefined_flag
=
9166 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9167 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); }
9172 archive_cmds_need_lc
=no
9174 archive_cmds_need_lc
=yes
9176 allow_undefined_flag
=$lt_save_allow_undefined_flag
9178 cat conftest.err
1>&5
9181 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9182 $as_echo "$archive_cmds_need_lc" >&6; }
9345 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9346 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9348 if test "$GCC" = yes; then
9350 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9351 *) lt_awk_arg
="/^libraries:/" ;;
9353 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9354 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9355 # if the path contains ";" then we assume it to be the separator
9356 # otherwise default to the standard path separator (i.e. ":") - it is
9357 # assumed that no part of a normal pathname contains ";" but that should
9358 # okay in the real world where ";" in dirpaths is itself problematic.
9359 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9361 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9363 # Ok, now we have the path, separated by spaces, we can step through it
9364 # and add multilib dir if necessary.
9365 lt_tmp_lt_search_path_spec
=
9366 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9367 for lt_sys_path
in $lt_search_path_spec; do
9368 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9369 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9371 test -d "$lt_sys_path" && \
9372 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9375 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9376 BEGIN {RS=" "; FS="/|\n";} {
9379 for (lt_i = NF; lt_i > 0; lt_i--) {
9380 if ($lt_i != "" && $lt_i != ".") {
9381 if ($lt_i == "..") {
9384 if (lt_count == 0) {
9385 lt_foo="/" $lt_i lt_foo;
9392 if (lt_foo != "") { lt_freq[lt_foo]++; }
9393 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9395 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9397 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9400 libname_spec
='lib$name'
9408 shlibpath_overrides_runpath
=unknown
9410 dynamic_linker
="$host_os ld.so"
9411 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9412 need_lib_prefix
=unknown
9413 hardcode_into_libs
=no
9415 # when you set need_version to no, make sure it does not cause -set_version
9416 # flags to be left without arguments
9417 need_version
=unknown
9422 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9423 shlibpath_var
=LIBPATH
9425 # AIX 3 has no versioning support, so we append a major version to the name.
9426 soname_spec
='${libname}${release}${shared_ext}$major'
9433 hardcode_into_libs
=yes
9434 if test "$host_cpu" = ia64
; then
9435 # AIX 5 supports IA64
9436 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9437 shlibpath_var
=LD_LIBRARY_PATH
9439 # With GCC up to 2.95.x, collect2 would create an import file
9440 # for dependence libraries. The import file would start with
9441 # the line `#! .'. This would cause the generated library to
9442 # depend on `.', always an invalid library. This was fixed in
9443 # development snapshots of GCC prior to 3.0.
9445 aix4 | aix4.
[01] | aix4.
[01].
*)
9446 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9448 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9455 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9456 # soname into executable. Probably we can add versioning support to
9457 # collect2, so additional links can be useful in future.
9458 if test "$aix_use_runtimelinking" = yes; then
9459 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9460 # instead of lib<name>.a to let people know that these are not
9461 # typical AIX shared libraries.
9462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9464 # We preserve .a as extension for shared libraries through AIX4.2
9465 # and later when we are not doing run time linking.
9466 library_names_spec
='${libname}${release}.a $libname.a'
9467 soname_spec
='${libname}${release}${shared_ext}$major'
9469 shlibpath_var
=LIBPATH
9476 # Since July 2007 AmigaOS4 officially supports .so libraries.
9477 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9481 library_names_spec
='$libname.ixlibrary $libname.a'
9482 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9483 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9489 library_names_spec
='${libname}${shared_ext}'
9490 dynamic_linker
="$host_os ld.so"
9491 shlibpath_var
=LIBRARY_PATH
9497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9498 soname_spec
='${libname}${release}${shared_ext}$major'
9499 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9500 shlibpath_var
=LD_LIBRARY_PATH
9501 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9502 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9503 # the default ld.so.conf also contains /usr/contrib/lib and
9504 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9505 # libtool to hard-code these into programs
9508 cygwin
* | mingw
* | pw32
* | cegcc
*)
9509 version_type
=windows
9514 case $GCC,$host_os in
9515 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9516 library_names_spec
='$libname.dll.a'
9517 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9518 postinstall_cmds
='base_file=`basename \${file}`~
9519 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9520 dldir=$destdir/`dirname \$dlpath`~
9521 test -d \$dldir || mkdir -p \$dldir~
9522 $install_prog $dir/$dlname \$dldir/$dlname~
9523 chmod a+x \$dldir/$dlname~
9524 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9525 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9527 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9528 dlpath=$dir/\$dldll~
9530 shlibpath_overrides_runpath
=yes
9534 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9535 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9536 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9539 # MinGW DLLs use traditional 'lib' prefix
9540 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9541 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9542 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9543 # It is most probably a Windows format PATH printed by
9544 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9545 # path with ; separators, and with drive letters. We can handle the
9546 # drive letters (cygwin fileutils understands them), so leave them,
9547 # especially as we might pass files found there to a mingw objdump,
9548 # which wouldn't understand a cygwinified path. Ahh.
9549 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9551 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9555 # pw32 DLLs use 'pw' prefix rather than 'lib'
9556 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9562 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9565 dynamic_linker
='Win32 ld.exe'
9566 # FIXME: first we should search . and the directory the executable is in
9570 darwin
* | rhapsody
*)
9571 dynamic_linker
="$host_os dyld"
9575 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9576 soname_spec
='${libname}${release}${major}$shared_ext'
9577 shlibpath_overrides_runpath
=yes
9578 shlibpath_var
=DYLD_LIBRARY_PATH
9579 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9581 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9582 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9590 soname_spec
='${libname}${release}${shared_ext}$major'
9591 shlibpath_var
=LD_LIBRARY_PATH
9598 freebsd
* | dragonfly
*)
9599 # DragonFly does not have aout. When/if they implement a new
9600 # versioning mechanism, adjust this.
9601 if test -x /usr
/bin
/objformat
; then
9602 objformat
=`/usr/bin/objformat`
9605 freebsd
[123]*) objformat
=aout
;;
9609 version_type
=freebsd-
$objformat
9610 case $version_type in
9612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9617 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9621 shlibpath_var
=LD_LIBRARY_PATH
9624 shlibpath_overrides_runpath
=yes
9626 freebsd3.
[01]* | freebsdelf3.
[01]*)
9627 shlibpath_overrides_runpath
=yes
9628 hardcode_into_libs
=yes
9630 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9631 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9632 shlibpath_overrides_runpath
=no
9633 hardcode_into_libs
=yes
9635 *) # from 4.6 on, and DragonFly
9636 shlibpath_overrides_runpath
=yes
9637 hardcode_into_libs
=yes
9646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9647 soname_spec
='${libname}${release}${shared_ext}$major'
9648 shlibpath_var
=LD_LIBRARY_PATH
9649 hardcode_into_libs
=yes
9652 hpux9
* | hpux10
* | hpux11
*)
9653 # Give a soname corresponding to the major version so that dld.sl refuses to
9654 # link against other versions.
9661 hardcode_into_libs
=yes
9662 dynamic_linker
="$host_os dld.so"
9663 shlibpath_var
=LD_LIBRARY_PATH
9664 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9666 soname_spec
='${libname}${release}${shared_ext}$major'
9667 if test "X$HPUX_IA64_MODE" = X32
; then
9668 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9670 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9672 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9676 hardcode_into_libs
=yes
9677 dynamic_linker
="$host_os dld.sl"
9678 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9679 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9681 soname_spec
='${libname}${release}${shared_ext}$major'
9682 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9683 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9687 dynamic_linker
="$host_os dld.sl"
9688 shlibpath_var
=SHLIB_PATH
9689 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9691 soname_spec
='${libname}${release}${shared_ext}$major'
9694 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9695 postinstall_cmds
='chmod 555 $lib'
9702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9703 soname_spec
='${libname}${release}${shared_ext}$major'
9704 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9705 shlibpath_var
=LD_LIBRARY_PATH
9706 shlibpath_overrides_runpath
=no
9707 hardcode_into_libs
=yes
9710 irix5
* | irix6
* | nonstopux
*)
9712 nonstopux
*) version_type
=nonstopux
;;
9714 if test "$lt_cv_prog_gnu_ld" = yes; then
9722 soname_spec
='${libname}${release}${shared_ext}$major'
9723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9725 irix5
* | nonstopux
*)
9729 case $LD in # libtool.m4 will add one of these switches to LD
9730 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9731 libsuff
= shlibsuff
= libmagic
=32-bit;;
9732 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9733 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9734 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9735 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9736 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9740 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9741 shlibpath_overrides_runpath
=no
9742 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9743 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9744 hardcode_into_libs
=yes
9747 # No shared lib support for Linux oldld, aout, or coff.
9748 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9752 # This must be Linux ELF.
9753 linux
* | k
*bsd
*-gnu)
9757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9758 soname_spec
='${libname}${release}${shared_ext}$major'
9759 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9760 shlibpath_var
=LD_LIBRARY_PATH
9761 shlibpath_overrides_runpath
=no
9762 # Some binutils ld are patched to set DT_RUNPATH
9763 save_LDFLAGS
=$LDFLAGS
9765 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9766 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9767 cat >conftest.
$ac_ext <<_ACEOF
9770 cat confdefs.h
>>conftest.
$ac_ext
9771 cat >>conftest.
$ac_ext <<_ACEOF
9772 /* end confdefs.h. */
9782 rm -f conftest.
$ac_objext conftest
$ac_exeext
9783 if { (ac_try
="$ac_link"
9785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9786 *) ac_try_echo=$ac_try;;
9788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9789 $as_echo "$ac_try_echo") >&5
9790 (eval "$ac_link") 2>conftest.er1
9792 grep -v '^ *+' conftest.er1 >conftest.err
9794 cat conftest.err >&5
9795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } && {
9797 test -z "$ac_c_werror_flag" ||
9798 test ! -s conftest.err
9799 } && test -s conftest$ac_exeext && {
9800 test "$cross_compiling" = yes ||
9801 $as_test_x conftest$ac_exeext
9803 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9804 shlibpath_overrides_runpath=yes
9808 $as_echo "$as_me: failed program was:" >&5
9809 sed 's/^/| /' conftest.$ac_ext >&5
9814 rm -rf conftest.dSYM
9815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9816 conftest$ac_exeext conftest.$ac_ext
9817 LDFLAGS=$save_LDFLAGS
9820 # This implies no fast_install, which is unacceptable.
9821 # Some rework will be needed to allow for fast_install
9822 # before this can be enabled.
9823 hardcode_into_libs=yes
9825 # Add ABI-specific directories to the system library path.
9826 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9828 # Append ld.so.conf contents to the search path
9829 if test -f /etc/ld.so.conf; then
9830 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;/^$/d' |
tr '\n' ' '`
9831 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9834 # We used to test for /lib/ld.so.1 and disable shared libraries on
9835 # powerpc, because MkLinux only supported shared libraries with the
9836 # GNU dynamic linker. Since this was broken with cross compilers,
9837 # most powerpc-linux boxes support dynamic linking these days and
9838 # people can always --disable-shared, the test was removed, and we
9839 # assume the GNU/Linux dynamic linker is in use.
9840 dynamic_linker='GNU/Linux ld.so'
9847 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9849 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9850 dynamic_linker='NetBSD (a.out) ld.so'
9852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9853 soname_spec='${libname}${release}${shared_ext}$major'
9854 dynamic_linker='NetBSD ld.elf_so'
9856 shlibpath_var=LD_LIBRARY_PATH
9857 shlibpath_overrides_runpath=yes
9858 hardcode_into_libs=yes
9863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9864 shlibpath_var=LD_LIBRARY_PATH
9865 shlibpath_overrides_runpath=yes
9872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9873 soname_spec='${libname}${release}${shared_ext}$major'
9874 shlibpath_var=LD_LIBRARY_PATH
9875 shlibpath_overrides_runpath=no
9876 hardcode_into_libs=yes
9877 dynamic_linker='ldqnx.so'
9882 sys_lib_dlsearch_path_spec="/usr/lib"
9884 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9886 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9887 *) need_version=no ;;
9889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9890 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9891 shlibpath_var=LD_LIBRARY_PATH
9892 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9894 openbsd2.[89] | openbsd2.[89].*)
9895 shlibpath_overrides_runpath=no
9898 shlibpath_overrides_runpath=yes
9902 shlibpath_overrides_runpath=yes
9907 libname_spec='$name'
9910 library_names_spec='$libname${shared_ext} $libname.a'
9911 dynamic_linker='OS/2 ld.exe'
9912 shlibpath_var=LIBPATH
9915 osf3* | osf4* | osf5*)
9919 soname_spec='${libname}${release}${shared_ext}$major'
9920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9921 shlibpath_var=LD_LIBRARY_PATH
9922 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9923 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9935 soname_spec='${libname}${release}${shared_ext}$major'
9936 shlibpath_var=LD_LIBRARY_PATH
9937 shlibpath_overrides_runpath=yes
9938 hardcode_into_libs=yes
9939 # ldd complains unless libraries are executable
9940 postinstall_cmds='chmod +x $lib'
9945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9946 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9947 shlibpath_var=LD_LIBRARY_PATH
9948 shlibpath_overrides_runpath=yes
9949 if test "$with_gnu_ld" = yes; then
9957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9958 soname_spec='${libname}${release}${shared_ext}$major'
9959 shlibpath_var=LD_LIBRARY_PATH
9960 case $host_vendor in
9962 shlibpath_overrides_runpath=no
9964 runpath_var=LD_RUN_PATH
9972 shlibpath_overrides_runpath=no
9973 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9979 if test -d /usr/nec ;then
9981 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9982 soname_spec='$libname${shared_ext}.$major'
9983 shlibpath_var=LD_LIBRARY_PATH
9987 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9988 version_type=freebsd-elf
9991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9992 soname_spec='${libname}${release}${shared_ext}$major'
9993 shlibpath_var=LD_LIBRARY_PATH
9994 shlibpath_overrides_runpath=yes
9995 hardcode_into_libs=yes
9996 if test "$with_gnu_ld" = yes; then
9997 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9999 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10002 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10006 sys_lib_dlsearch_path_spec='/usr/lib'
10010 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10015 shlibpath_var=LD_LIBRARY_PATH
10016 shlibpath_overrides_runpath=no
10017 hardcode_into_libs=yes
10022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10023 soname_spec='${libname}${release}${shared_ext}$major'
10024 shlibpath_var=LD_LIBRARY_PATH
10031 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10032 $as_echo "$dynamic_linker" >&6; }
10033 test "$dynamic_linker" = no && can_build_shared=no
10035 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10036 if test "$GCC" = yes; then
10037 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10040 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10041 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10043 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10044 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10133 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10134 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10136 if test -n "$hardcode_libdir_flag_spec" ||
10137 test -n "$runpath_var" ||
10138 test "X$hardcode_automatic" = "Xyes" ; then
10140 # We can hardcode non-existent directories.
10141 if test "$hardcode_direct" != no &&
10142 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10143 # have to relink, otherwise we might link with an installed library
10144 # when we should be linking with a yet-to-be-installed one
10145 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10146 test "$hardcode_minus_L" != no; then
10147 # Linking always hardcodes the temporary library directory.
10148 hardcode_action=relink
10150 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10151 hardcode_action=immediate
10154 # We cannot hardcode anything, or else we can only hardcode existing
10156 hardcode_action=unsupported
10158 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10159 $as_echo "$hardcode_action" >&6; }
10161 if test "$hardcode_action" = relink ||
10162 test "$inherit_rpath" = yes; then
10163 # Fast installation is not supported
10164 enable_fast_install=no
10165 elif test "$shlibpath_overrides_runpath" = yes ||
10166 test "$enable_shared" = no; then
10167 # Fast installation is not necessary
10168 enable_fast_install=needless
10176 if test "x$enable_dlopen" != xyes; then
10177 enable_dlopen=unknown
10178 enable_dlopen_self=unknown
10179 enable_dlopen_self_static=unknown
10186 lt_cv_dlopen="load_add_on"
10188 lt_cv_dlopen_self=yes
10191 mingw* | pw32* | cegcc*)
10192 lt_cv_dlopen="LoadLibrary"
10197 lt_cv_dlopen="dlopen"
10202 # if libdl is installed we need to link against it
10203 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10204 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10205 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10206 $as_echo_n "(cached) " >&6
10208 ac_check_lib_save_LIBS=$LIBS
10210 cat >conftest.$ac_ext <<_ACEOF
10213 cat confdefs.h >>conftest.$ac_ext
10214 cat >>conftest.$ac_ext <<_ACEOF
10215 /* end confdefs.h. */
10217 /* Override any GCC internal prototype to avoid an error.
10218 Use char because int might match the return type of a GCC
10219 builtin and then its argument prototype would still apply. */
10232 rm -f conftest.$ac_objext conftest$ac_exeext
10233 if { (ac_try="$ac_link"
10234 case "(($ac_try" in
10235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10236 *) ac_try_echo
=$ac_try;;
10238 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10239 $as_echo "$ac_try_echo") >&5
10240 (eval "$ac_link") 2>conftest.er1
10242 grep -v '^ *+' conftest.er1
>conftest.err
10244 cat conftest.err
>&5
10245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); } && {
10247 test -z "$ac_c_werror_flag" ||
10248 test ! -s conftest.err
10249 } && test -s conftest
$ac_exeext && {
10250 test "$cross_compiling" = yes ||
10251 $as_test_x conftest
$ac_exeext
10253 ac_cv_lib_dl_dlopen
=yes
10255 $as_echo "$as_me: failed program was:" >&5
10256 sed 's/^/| /' conftest.
$ac_ext >&5
10258 ac_cv_lib_dl_dlopen
=no
10261 rm -rf conftest.dSYM
10262 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10263 conftest
$ac_exeext conftest.
$ac_ext
10264 LIBS
=$ac_check_lib_save_LIBS
10266 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10267 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10268 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10269 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10272 lt_cv_dlopen
="dyld"
10274 lt_cv_dlopen_self
=yes
10281 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10282 $as_echo_n "checking for shl_load... " >&6; }
10283 if test "${ac_cv_func_shl_load+set}" = set; then
10284 $as_echo_n "(cached) " >&6
10286 cat >conftest.
$ac_ext <<_ACEOF
10289 cat confdefs.h
>>conftest.
$ac_ext
10290 cat >>conftest.
$ac_ext <<_ACEOF
10291 /* end confdefs.h. */
10292 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10294 #define shl_load innocuous_shl_load
10296 /* System header to define __stub macros and hopefully few prototypes,
10297 which can conflict with char shl_load (); below.
10298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10299 <limits.h> exists even on freestanding compilers. */
10302 # include <limits.h>
10304 # include <assert.h>
10309 /* Override any GCC internal prototype to avoid an error.
10310 Use char because int might match the return type of a GCC
10311 builtin and then its argument prototype would still apply. */
10316 /* The GNU C library defines this for functions which it implements
10317 to always fail with ENOSYS. Some functions are actually named
10318 something starting with __ and the normal name is an alias. */
10319 #if defined __stub_shl_load || defined __stub___shl_load
10326 return shl_load ();
10331 rm -f conftest.
$ac_objext conftest
$ac_exeext
10332 if { (ac_try
="$ac_link"
10333 case "(($ac_try" in
10334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10335 *) ac_try_echo=$ac_try;;
10337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10338 $as_echo "$ac_try_echo") >&5
10339 (eval "$ac_link") 2>conftest.er1
10341 grep -v '^ *+' conftest.er1 >conftest.err
10343 cat conftest.err >&5
10344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); } && {
10346 test -z "$ac_c_werror_flag" ||
10347 test ! -s conftest.err
10348 } && test -s conftest$ac_exeext && {
10349 test "$cross_compiling" = yes ||
10350 $as_test_x conftest$ac_exeext
10352 ac_cv_func_shl_load=yes
10354 $as_echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.$ac_ext >&5
10357 ac_cv_func_shl_load=no
10360 rm -rf conftest.dSYM
10361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10362 conftest$ac_exeext conftest.$ac_ext
10364 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10365 $as_echo "$ac_cv_func_shl_load" >&6; }
10366 if test "x$ac_cv_func_shl_load" = x""yes; then
10367 lt_cv_dlopen="shl_load"
10369 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10370 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10371 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10372 $as_echo_n "(cached) " >&6
10374 ac_check_lib_save_LIBS=$LIBS
10376 cat >conftest.$ac_ext <<_ACEOF
10379 cat confdefs.h >>conftest.$ac_ext
10380 cat >>conftest.$ac_ext <<_ACEOF
10381 /* end confdefs.h. */
10383 /* Override any GCC internal prototype to avoid an error.
10384 Use char because int might match the return type of a GCC
10385 builtin and then its argument prototype would still apply. */
10393 return shl_load ();
10398 rm -f conftest.$ac_objext conftest$ac_exeext
10399 if { (ac_try="$ac_link"
10400 case "(($ac_try" in
10401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10402 *) ac_try_echo
=$ac_try;;
10404 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10405 $as_echo "$ac_try_echo") >&5
10406 (eval "$ac_link") 2>conftest.er1
10408 grep -v '^ *+' conftest.er1
>conftest.err
10410 cat conftest.err
>&5
10411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); } && {
10413 test -z "$ac_c_werror_flag" ||
10414 test ! -s conftest.err
10415 } && test -s conftest
$ac_exeext && {
10416 test "$cross_compiling" = yes ||
10417 $as_test_x conftest
$ac_exeext
10419 ac_cv_lib_dld_shl_load
=yes
10421 $as_echo "$as_me: failed program was:" >&5
10422 sed 's/^/| /' conftest.
$ac_ext >&5
10424 ac_cv_lib_dld_shl_load
=no
10427 rm -rf conftest.dSYM
10428 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10429 conftest
$ac_exeext conftest.
$ac_ext
10430 LIBS
=$ac_check_lib_save_LIBS
10432 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10433 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10434 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10435 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10437 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10438 $as_echo_n "checking for dlopen... " >&6; }
10439 if test "${ac_cv_func_dlopen+set}" = set; then
10440 $as_echo_n "(cached) " >&6
10442 cat >conftest.
$ac_ext <<_ACEOF
10445 cat confdefs.h
>>conftest.
$ac_ext
10446 cat >>conftest.
$ac_ext <<_ACEOF
10447 /* end confdefs.h. */
10448 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10450 #define dlopen innocuous_dlopen
10452 /* System header to define __stub macros and hopefully few prototypes,
10453 which can conflict with char dlopen (); below.
10454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10455 <limits.h> exists even on freestanding compilers. */
10458 # include <limits.h>
10460 # include <assert.h>
10465 /* Override any GCC internal prototype to avoid an error.
10466 Use char because int might match the return type of a GCC
10467 builtin and then its argument prototype would still apply. */
10472 /* The GNU C library defines this for functions which it implements
10473 to always fail with ENOSYS. Some functions are actually named
10474 something starting with __ and the normal name is an alias. */
10475 #if defined __stub_dlopen || defined __stub___dlopen
10487 rm -f conftest.
$ac_objext conftest
$ac_exeext
10488 if { (ac_try
="$ac_link"
10489 case "(($ac_try" in
10490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10491 *) ac_try_echo=$ac_try;;
10493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10494 $as_echo "$ac_try_echo") >&5
10495 (eval "$ac_link") 2>conftest.er1
10497 grep -v '^ *+' conftest.er1 >conftest.err
10499 cat conftest.err >&5
10500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 (exit $ac_status); } && {
10502 test -z "$ac_c_werror_flag" ||
10503 test ! -s conftest.err
10504 } && test -s conftest$ac_exeext && {
10505 test "$cross_compiling" = yes ||
10506 $as_test_x conftest$ac_exeext
10508 ac_cv_func_dlopen=yes
10510 $as_echo "$as_me: failed program was:" >&5
10511 sed 's/^/| /' conftest.$ac_ext >&5
10513 ac_cv_func_dlopen=no
10516 rm -rf conftest.dSYM
10517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10518 conftest$ac_exeext conftest.$ac_ext
10520 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10521 $as_echo "$ac_cv_func_dlopen" >&6; }
10522 if test "x$ac_cv_func_dlopen" = x""yes; then
10523 lt_cv_dlopen="dlopen"
10525 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10526 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10527 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10528 $as_echo_n "(cached) " >&6
10530 ac_check_lib_save_LIBS=$LIBS
10532 cat >conftest.$ac_ext <<_ACEOF
10535 cat confdefs.h >>conftest.$ac_ext
10536 cat >>conftest.$ac_ext <<_ACEOF
10537 /* end confdefs.h. */
10539 /* Override any GCC internal prototype to avoid an error.
10540 Use char because int might match the return type of a GCC
10541 builtin and then its argument prototype would still apply. */
10554 rm -f conftest.$ac_objext conftest$ac_exeext
10555 if { (ac_try="$ac_link"
10556 case "(($ac_try" in
10557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10558 *) ac_try_echo
=$ac_try;;
10560 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10561 $as_echo "$ac_try_echo") >&5
10562 (eval "$ac_link") 2>conftest.er1
10564 grep -v '^ *+' conftest.er1
>conftest.err
10566 cat conftest.err
>&5
10567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); } && {
10569 test -z "$ac_c_werror_flag" ||
10570 test ! -s conftest.err
10571 } && test -s conftest
$ac_exeext && {
10572 test "$cross_compiling" = yes ||
10573 $as_test_x conftest
$ac_exeext
10575 ac_cv_lib_dl_dlopen
=yes
10577 $as_echo "$as_me: failed program was:" >&5
10578 sed 's/^/| /' conftest.
$ac_ext >&5
10580 ac_cv_lib_dl_dlopen
=no
10583 rm -rf conftest.dSYM
10584 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10585 conftest
$ac_exeext conftest.
$ac_ext
10586 LIBS
=$ac_check_lib_save_LIBS
10588 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10589 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10590 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10591 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10593 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10594 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10595 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10596 $as_echo_n "(cached) " >&6
10598 ac_check_lib_save_LIBS
=$LIBS
10599 LIBS
="-lsvld $LIBS"
10600 cat >conftest.
$ac_ext <<_ACEOF
10603 cat confdefs.h
>>conftest.
$ac_ext
10604 cat >>conftest.
$ac_ext <<_ACEOF
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10622 rm -f conftest.
$ac_objext conftest
$ac_exeext
10623 if { (ac_try
="$ac_link"
10624 case "(($ac_try" in
10625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10626 *) ac_try_echo=$ac_try;;
10628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10629 $as_echo "$ac_try_echo") >&5
10630 (eval "$ac_link") 2>conftest.er1
10632 grep -v '^ *+' conftest.er1 >conftest.err
10634 cat conftest.err >&5
10635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); } && {
10637 test -z "$ac_c_werror_flag" ||
10638 test ! -s conftest.err
10639 } && test -s conftest$ac_exeext && {
10640 test "$cross_compiling" = yes ||
10641 $as_test_x conftest$ac_exeext
10643 ac_cv_lib_svld_dlopen=yes
10645 $as_echo "$as_me: failed program was:" >&5
10646 sed 's/^/| /' conftest.$ac_ext >&5
10648 ac_cv_lib_svld_dlopen=no
10651 rm -rf conftest.dSYM
10652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10653 conftest$ac_exeext conftest.$ac_ext
10654 LIBS=$ac_check_lib_save_LIBS
10656 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10657 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10658 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10659 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10661 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10662 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10663 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10664 $as_echo_n "(cached) " >&6
10666 ac_check_lib_save_LIBS=$LIBS
10668 cat >conftest.$ac_ext <<_ACEOF
10671 cat confdefs.h >>conftest.$ac_ext
10672 cat >>conftest.$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10675 /* Override any GCC internal prototype to avoid an error.
10676 Use char because int might match the return type of a GCC
10677 builtin and then its argument prototype would still apply. */
10685 return dld_link ();
10690 rm -f conftest.$ac_objext conftest$ac_exeext
10691 if { (ac_try="$ac_link"
10692 case "(($ac_try" in
10693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10694 *) ac_try_echo
=$ac_try;;
10696 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10697 $as_echo "$ac_try_echo") >&5
10698 (eval "$ac_link") 2>conftest.er1
10700 grep -v '^ *+' conftest.er1
>conftest.err
10702 cat conftest.err
>&5
10703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); } && {
10705 test -z "$ac_c_werror_flag" ||
10706 test ! -s conftest.err
10707 } && test -s conftest
$ac_exeext && {
10708 test "$cross_compiling" = yes ||
10709 $as_test_x conftest
$ac_exeext
10711 ac_cv_lib_dld_dld_link
=yes
10713 $as_echo "$as_me: failed program was:" >&5
10714 sed 's/^/| /' conftest.
$ac_ext >&5
10716 ac_cv_lib_dld_dld_link
=no
10719 rm -rf conftest.dSYM
10720 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10721 conftest
$ac_exeext conftest.
$ac_ext
10722 LIBS
=$ac_check_lib_save_LIBS
10724 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10725 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10726 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
10727 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10748 if test "x$lt_cv_dlopen" != xno
; then
10754 case $lt_cv_dlopen in
10756 save_CPPFLAGS
="$CPPFLAGS"
10757 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10759 save_LDFLAGS
="$LDFLAGS"
10760 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10763 LIBS
="$lt_cv_dlopen_libs $LIBS"
10765 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10766 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10767 if test "${lt_cv_dlopen_self+set}" = set; then
10768 $as_echo_n "(cached) " >&6
10770 if test "$cross_compiling" = yes; then :
10771 lt_cv_dlopen_self
=cross
10773 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10774 lt_status
=$lt_dlunknown
10775 cat > conftest.
$ac_ext <<_LT_EOF
10776 #line 10776 "configure"
10777 #include "confdefs.h"
10786 # define LT_DLGLOBAL RTLD_GLOBAL
10789 # define LT_DLGLOBAL DL_GLOBAL
10791 # define LT_DLGLOBAL 0
10795 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10796 find out it does not work in some platform. */
10797 #ifndef LT_DLLAZY_OR_NOW
10799 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10802 # define LT_DLLAZY_OR_NOW DL_LAZY
10805 # define LT_DLLAZY_OR_NOW RTLD_NOW
10808 # define LT_DLLAZY_OR_NOW DL_NOW
10810 # define LT_DLLAZY_OR_NOW 0
10817 void fnord() { int i=42;}
10820 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10821 int status = $lt_dlunknown;
10825 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10826 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10827 /* dlclose (self); */
10835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10836 (eval $ac_link) 2>&5
10838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10840 (.
/conftest
; exit; ) >&5 2>/dev
/null
10842 case x
$lt_status in
10843 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10844 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10845 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10848 # compilation failed
10849 lt_cv_dlopen_self
=no
10856 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10857 $as_echo "$lt_cv_dlopen_self" >&6; }
10859 if test "x$lt_cv_dlopen_self" = xyes
; then
10860 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10861 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10862 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10863 if test "${lt_cv_dlopen_self_static+set}" = set; then
10864 $as_echo_n "(cached) " >&6
10866 if test "$cross_compiling" = yes; then :
10867 lt_cv_dlopen_self_static
=cross
10869 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10870 lt_status
=$lt_dlunknown
10871 cat > conftest.
$ac_ext <<_LT_EOF
10872 #line 10872 "configure"
10873 #include "confdefs.h"
10882 # define LT_DLGLOBAL RTLD_GLOBAL
10885 # define LT_DLGLOBAL DL_GLOBAL
10887 # define LT_DLGLOBAL 0
10891 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10892 find out it does not work in some platform. */
10893 #ifndef LT_DLLAZY_OR_NOW
10895 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10898 # define LT_DLLAZY_OR_NOW DL_LAZY
10901 # define LT_DLLAZY_OR_NOW RTLD_NOW
10904 # define LT_DLLAZY_OR_NOW DL_NOW
10906 # define LT_DLLAZY_OR_NOW 0
10913 void fnord() { int i=42;}
10916 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10917 int status = $lt_dlunknown;
10921 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10922 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10923 /* dlclose (self); */
10931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10932 (eval $ac_link) 2>&5
10934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10936 (.
/conftest
; exit; ) >&5 2>/dev
/null
10938 case x
$lt_status in
10939 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10940 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10941 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10944 # compilation failed
10945 lt_cv_dlopen_self_static
=no
10952 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10953 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10956 CPPFLAGS
="$save_CPPFLAGS"
10957 LDFLAGS
="$save_LDFLAGS"
10962 case $lt_cv_dlopen_self in
10963 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10964 *) enable_dlopen_self
=unknown
;;
10967 case $lt_cv_dlopen_self_static in
10968 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10969 *) enable_dlopen_self_static
=unknown
;;
10991 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10992 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10993 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10994 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10995 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10996 { $as_echo "$as_me:$LINENO: result: yes" >&5
10997 $as_echo "yes" >&6; }
10999 # FIXME - insert some real tests, host_os isn't really good enough
11002 if test -n "$STRIP" ; then
11003 striplib
="$STRIP -x"
11004 old_striplib
="$STRIP -S"
11005 { $as_echo "$as_me:$LINENO: result: yes" >&5
11006 $as_echo "yes" >&6; }
11008 { $as_echo "$as_me:$LINENO: result: no" >&5
11009 $as_echo "no" >&6; }
11013 { $as_echo "$as_me:$LINENO: result: no" >&5
11014 $as_echo "no" >&6; }
11030 # Report which library types will actually be built
11031 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11032 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11033 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11034 $as_echo "$can_build_shared" >&6; }
11036 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11037 $as_echo_n "checking whether to build shared libraries... " >&6; }
11038 test "$can_build_shared" = "no" && enable_shared
=no
11040 # On AIX, shared libraries and static libraries use the same namespace, and
11041 # are all built from PIC.
11044 test "$enable_shared" = yes && enable_static
=no
11045 if test -n "$RANLIB"; then
11046 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11047 postinstall_cmds
='$RANLIB $lib'
11052 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11053 test "$enable_shared" = yes && enable_static
=no
11057 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11058 $as_echo "$enable_shared" >&6; }
11060 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11061 $as_echo_n "checking whether to build static libraries... " >&6; }
11062 # Make sure either enable_shared or enable_static is yes.
11063 test "$enable_shared" = yes || enable_static
=yes
11064 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11065 $as_echo "$enable_static" >&6; }
11072 ac_cpp
='$CPP $CPPFLAGS'
11073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11091 ac_config_commands
="$ac_config_commands libtool"
11096 # Only expand once:
11099 # Find a good install program. We prefer a C program (faster),
11100 # so one script is as good as another. But avoid the broken or
11101 # incompatible versions:
11102 # SysV /etc/install, /usr/sbin/install
11103 # SunOS /usr/etc/install
11104 # IRIX /sbin/install
11106 # AmigaOS /C/install, which installs bootblocks on floppy discs
11107 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11108 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11109 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11110 # OS/2's system install, which has a completely different semantic
11111 # ./install, which can be erroneously created by make from ./install.sh.
11112 # Reject install programs that cannot install multiple files.
11113 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11114 $as_echo_n "checking for a BSD-compatible install... " >&6; }
11115 if test -z "$INSTALL"; then
11116 if test "${ac_cv_path_install+set}" = set; then
11117 $as_echo_n "(cached) " >&6
11119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11120 for as_dir
in $PATH
11123 test -z "$as_dir" && as_dir
=.
11124 # Account for people who put trailing slashes in PATH elements.
11126 .
/ | .
// |
/cC
/* | \
11127 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11128 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11131 # OSF1 and SCO ODT 3.0 have their own names for install.
11132 # Don't use installbsd from OSF since it installs stuff as root
11134 for ac_prog
in ginstall scoinst
install; do
11135 for ac_exec_ext
in '' $ac_executable_extensions; do
11136 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11137 if test $ac_prog = install &&
11138 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11139 # AIX install. It has an incompatible calling convention.
11141 elif test $ac_prog = install &&
11142 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11143 # program-specific install script used by HP pwplus--don't use.
11146 rm -rf conftest.one conftest.two conftest.dir
11147 echo one
> conftest.one
11148 echo two
> conftest.two
11150 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11151 test -s conftest.one
&& test -s conftest.two
&&
11152 test -s conftest.dir
/conftest.one
&&
11153 test -s conftest.dir
/conftest.two
11155 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11168 rm -rf conftest.one conftest.two conftest.dir
11171 if test "${ac_cv_path_install+set}" = set; then
11172 INSTALL
=$ac_cv_path_install
11174 # As a last resort, use the slow shell script. Don't cache a
11175 # value for INSTALL within a source directory, because that will
11176 # break other packages using the cache if that directory is
11177 # removed, or if the value is a relative name.
11178 INSTALL
=$ac_install_sh
11181 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
11182 $as_echo "$INSTALL" >&6; }
11184 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11185 # It thinks the first close brace ends the variable substitution.
11186 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11188 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11190 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11192 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
11193 $as_echo_n "checking whether ln -s works... " >&6; }
11195 if test "$LN_S" = "ln -s"; then
11196 { $as_echo "$as_me:$LINENO: result: yes" >&5
11197 $as_echo "yes" >&6; }
11199 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11200 $as_echo "no, using $LN_S" >&6; }
11204 ac_cpp
='$CPP $CPPFLAGS'
11205 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11206 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11207 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11208 if test -n "$ac_tool_prefix"; then
11209 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11210 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11212 $as_echo_n "checking for $ac_word... " >&6; }
11213 if test "${ac_cv_prog_CC+set}" = set; then
11214 $as_echo_n "(cached) " >&6
11216 if test -n "$CC"; then
11217 ac_cv_prog_CC
="$CC" # Let the user override the test.
11219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11220 for as_dir
in $PATH
11223 test -z "$as_dir" && as_dir
=.
11224 for ac_exec_ext
in '' $ac_executable_extensions; do
11225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11226 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11227 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11237 if test -n "$CC"; then
11238 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11239 $as_echo "$CC" >&6; }
11241 { $as_echo "$as_me:$LINENO: result: no" >&5
11242 $as_echo "no" >&6; }
11247 if test -z "$ac_cv_prog_CC"; then
11249 # Extract the first word of "gcc", so it can be a program name with args.
11250 set dummy gcc
; ac_word
=$2
11251 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11252 $as_echo_n "checking for $ac_word... " >&6; }
11253 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11254 $as_echo_n "(cached) " >&6
11256 if test -n "$ac_ct_CC"; then
11257 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11260 for as_dir
in $PATH
11263 test -z "$as_dir" && as_dir
=.
11264 for ac_exec_ext
in '' $ac_executable_extensions; do
11265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11266 ac_cv_prog_ac_ct_CC
="gcc"
11267 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11276 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11277 if test -n "$ac_ct_CC"; then
11278 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11279 $as_echo "$ac_ct_CC" >&6; }
11281 { $as_echo "$as_me:$LINENO: result: no" >&5
11282 $as_echo "no" >&6; }
11285 if test "x$ac_ct_CC" = x
; then
11288 case $cross_compiling:$ac_tool_warned in
11290 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11292 ac_tool_warned
=yes ;;
11297 CC
="$ac_cv_prog_CC"
11300 if test -z "$CC"; then
11301 if test -n "$ac_tool_prefix"; then
11302 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11303 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11305 $as_echo_n "checking for $ac_word... " >&6; }
11306 if test "${ac_cv_prog_CC+set}" = set; then
11307 $as_echo_n "(cached) " >&6
11309 if test -n "$CC"; then
11310 ac_cv_prog_CC
="$CC" # Let the user override the test.
11312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11313 for as_dir
in $PATH
11316 test -z "$as_dir" && as_dir
=.
11317 for ac_exec_ext
in '' $ac_executable_extensions; do
11318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11319 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11320 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11330 if test -n "$CC"; then
11331 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11332 $as_echo "$CC" >&6; }
11334 { $as_echo "$as_me:$LINENO: result: no" >&5
11335 $as_echo "no" >&6; }
11341 if test -z "$CC"; then
11342 # Extract the first word of "cc", so it can be a program name with args.
11343 set dummy cc
; ac_word
=$2
11344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11345 $as_echo_n "checking for $ac_word... " >&6; }
11346 if test "${ac_cv_prog_CC+set}" = set; then
11347 $as_echo_n "(cached) " >&6
11349 if test -n "$CC"; then
11350 ac_cv_prog_CC
="$CC" # Let the user override the test.
11352 ac_prog_rejected
=no
11353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11354 for as_dir
in $PATH
11357 test -z "$as_dir" && as_dir
=.
11358 for ac_exec_ext
in '' $ac_executable_extensions; do
11359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11360 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11361 ac_prog_rejected
=yes
11365 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11372 if test $ac_prog_rejected = yes; then
11373 # We found a bogon in the path, so make sure we never use it.
11374 set dummy
$ac_cv_prog_CC
11376 if test $# != 0; then
11377 # We chose a different compiler from the bogus one.
11378 # However, it has the same basename, so the bogon will be chosen
11379 # first if we set CC to just the basename; use the full file name.
11381 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11387 if test -n "$CC"; then
11388 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11389 $as_echo "$CC" >&6; }
11391 { $as_echo "$as_me:$LINENO: result: no" >&5
11392 $as_echo "no" >&6; }
11397 if test -z "$CC"; then
11398 if test -n "$ac_tool_prefix"; then
11399 for ac_prog
in cl.exe
11401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11402 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11403 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11404 $as_echo_n "checking for $ac_word... " >&6; }
11405 if test "${ac_cv_prog_CC+set}" = set; then
11406 $as_echo_n "(cached) " >&6
11408 if test -n "$CC"; then
11409 ac_cv_prog_CC
="$CC" # Let the user override the test.
11411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11412 for as_dir
in $PATH
11415 test -z "$as_dir" && as_dir
=.
11416 for ac_exec_ext
in '' $ac_executable_extensions; do
11417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11418 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11419 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11429 if test -n "$CC"; then
11430 { $as_echo "$as_me:$LINENO: result: $CC" >&5
11431 $as_echo "$CC" >&6; }
11433 { $as_echo "$as_me:$LINENO: result: no" >&5
11434 $as_echo "no" >&6; }
11438 test -n "$CC" && break
11441 if test -z "$CC"; then
11443 for ac_prog
in cl.exe
11445 # Extract the first word of "$ac_prog", so it can be a program name with args.
11446 set dummy
$ac_prog; ac_word
=$2
11447 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11448 $as_echo_n "checking for $ac_word... " >&6; }
11449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11450 $as_echo_n "(cached) " >&6
11452 if test -n "$ac_ct_CC"; then
11453 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11456 for as_dir
in $PATH
11459 test -z "$as_dir" && as_dir
=.
11460 for ac_exec_ext
in '' $ac_executable_extensions; do
11461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11462 ac_cv_prog_ac_ct_CC
="$ac_prog"
11463 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11472 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11473 if test -n "$ac_ct_CC"; then
11474 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11475 $as_echo "$ac_ct_CC" >&6; }
11477 { $as_echo "$as_me:$LINENO: result: no" >&5
11478 $as_echo "no" >&6; }
11482 test -n "$ac_ct_CC" && break
11485 if test "x$ac_ct_CC" = x
; then
11488 case $cross_compiling:$ac_tool_warned in
11490 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11492 ac_tool_warned
=yes ;;
11501 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11503 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11504 See \`config.log' for more details." >&5
11505 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
11506 See \`config.log' for more details." >&2;}
11507 { (exit 1); exit 1; }; }; }
11509 # Provide some information about the compiler.
11510 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
11513 { (ac_try
="$ac_compiler --version >&5"
11514 case "(($ac_try" in
11515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11516 *) ac_try_echo=$ac_try;;
11518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11519 $as_echo "$ac_try_echo") >&5
11520 (eval "$ac_compiler --version >&5") 2>&5
11522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); }
11524 { (ac_try="$ac_compiler -v >&5"
11525 case "(($ac_try" in
11526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11527 *) ac_try_echo
=$ac_try;;
11529 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11530 $as_echo "$ac_try_echo") >&5
11531 (eval "$ac_compiler -v >&5") 2>&5
11533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534 (exit $ac_status); }
11535 { (ac_try
="$ac_compiler -V >&5"
11536 case "(($ac_try" in
11537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11538 *) ac_try_echo=$ac_try;;
11540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11541 $as_echo "$ac_try_echo") >&5
11542 (eval "$ac_compiler -V >&5") 2>&5
11544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); }
11547 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11548 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11549 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11550 $as_echo_n "(cached) " >&6
11552 cat >conftest.$ac_ext <<_ACEOF
11555 cat confdefs.h >>conftest.$ac_ext
11556 cat >>conftest.$ac_ext <<_ACEOF
11557 /* end confdefs.h. */
11570 rm -f conftest.$ac_objext
11571 if { (ac_try="$ac_compile"
11572 case "(($ac_try" in
11573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11574 *) ac_try_echo
=$ac_try;;
11576 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11577 $as_echo "$ac_try_echo") >&5
11578 (eval "$ac_compile") 2>conftest.er1
11580 grep -v '^ *+' conftest.er1
>conftest.err
11582 cat conftest.err
>&5
11583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); } && {
11585 test -z "$ac_c_werror_flag" ||
11586 test ! -s conftest.err
11587 } && test -s conftest.
$ac_objext; then
11588 ac_compiler_gnu
=yes
11590 $as_echo "$as_me: failed program was:" >&5
11591 sed 's/^/| /' conftest.
$ac_ext >&5
11596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11597 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11600 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11601 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11602 if test $ac_compiler_gnu = yes; then
11607 ac_test_CFLAGS
=${CFLAGS+set}
11608 ac_save_CFLAGS
=$CFLAGS
11609 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11610 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11611 if test "${ac_cv_prog_cc_g+set}" = set; then
11612 $as_echo_n "(cached) " >&6
11614 ac_save_c_werror_flag
=$ac_c_werror_flag
11615 ac_c_werror_flag
=yes
11618 cat >conftest.
$ac_ext <<_ACEOF
11621 cat confdefs.h
>>conftest.
$ac_ext
11622 cat >>conftest.
$ac_ext <<_ACEOF
11623 /* end confdefs.h. */
11633 rm -f conftest.
$ac_objext
11634 if { (ac_try
="$ac_compile"
11635 case "(($ac_try" in
11636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11637 *) ac_try_echo=$ac_try;;
11639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11640 $as_echo "$ac_try_echo") >&5
11641 (eval "$ac_compile") 2>conftest.er1
11643 grep -v '^ *+' conftest.er1 >conftest.err
11645 cat conftest.err >&5
11646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } && {
11648 test -z "$ac_c_werror_flag" ||
11649 test ! -s conftest.err
11650 } && test -s conftest.$ac_objext; then
11651 ac_cv_prog_cc_g=yes
11653 $as_echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.$ac_ext >&5
11657 cat >conftest.$ac_ext <<_ACEOF
11660 cat confdefs.h >>conftest.$ac_ext
11661 cat >>conftest.$ac_ext <<_ACEOF
11662 /* end confdefs.h. */
11672 rm -f conftest.$ac_objext
11673 if { (ac_try="$ac_compile"
11674 case "(($ac_try" in
11675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11676 *) ac_try_echo
=$ac_try;;
11678 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11679 $as_echo "$ac_try_echo") >&5
11680 (eval "$ac_compile") 2>conftest.er1
11682 grep -v '^ *+' conftest.er1
>conftest.err
11684 cat conftest.err
>&5
11685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 (exit $ac_status); } && {
11687 test -z "$ac_c_werror_flag" ||
11688 test ! -s conftest.err
11689 } && test -s conftest.
$ac_objext; then
11692 $as_echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.
$ac_ext >&5
11695 ac_c_werror_flag
=$ac_save_c_werror_flag
11697 cat >conftest.
$ac_ext <<_ACEOF
11700 cat confdefs.h
>>conftest.
$ac_ext
11701 cat >>conftest.
$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11712 rm -f conftest.
$ac_objext
11713 if { (ac_try
="$ac_compile"
11714 case "(($ac_try" in
11715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11716 *) ac_try_echo=$ac_try;;
11718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11719 $as_echo "$ac_try_echo") >&5
11720 (eval "$ac_compile") 2>conftest.er1
11722 grep -v '^ *+' conftest.er1 >conftest.err
11724 cat conftest.err >&5
11725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } && {
11727 test -z "$ac_c_werror_flag" ||
11728 test ! -s conftest.err
11729 } && test -s conftest.$ac_objext; then
11730 ac_cv_prog_cc_g=yes
11732 $as_echo "$as_me: failed program was:" >&5
11733 sed 's/^/| /' conftest.$ac_ext >&5
11738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11745 ac_c_werror_flag=$ac_save_c_werror_flag
11747 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11748 $as_echo "$ac_cv_prog_cc_g" >&6; }
11749 if test "$ac_test_CFLAGS" = set; then
11750 CFLAGS=$ac_save_CFLAGS
11751 elif test $ac_cv_prog_cc_g = yes; then
11752 if test "$GCC" = yes; then
11758 if test "$GCC" = yes; then
11764 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
11765 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11766 if test "${ac_cv_prog_cc_c89+set}" = set; then
11767 $as_echo_n "(cached) " >&6
11769 ac_cv_prog_cc_c89=no
11771 cat >conftest.$ac_ext <<_ACEOF
11774 cat confdefs.h >>conftest.$ac_ext
11775 cat >>conftest.$ac_ext <<_ACEOF
11776 /* end confdefs.h. */
11777 #include <stdarg.h>
11779 #include <sys/types.h>
11780 #include <sys/stat.h>
11781 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11782 struct buf { int x; };
11783 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11784 static char *e (p, i)
11790 static char *f (char * (*g) (char **, int), char **p, ...)
11795 s = g (p, va_arg (v,int));
11800 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11801 function prototypes and stuff, but not '\xHH' hex character constants.
11802 These don't provoke an error unfortunately, instead are silently treated
11803 as 'x'. The following induces an error, until -std is added to get
11804 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11805 array size at least. It's necessary to write '\x00'==0 to get something
11806 that's true only with -std. */
11807 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11809 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11810 inside strings and character constants. */
11812 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11814 int test (int i, double x);
11815 struct s1 {int (*f) (int a);};
11816 struct s2 {int (*f) (double a);};
11817 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11823 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11828 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11829 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11831 CC="$ac_save_CC $ac_arg"
11832 rm -f conftest.$ac_objext
11833 if { (ac_try="$ac_compile"
11834 case "(($ac_try" in
11835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11836 *) ac_try_echo
=$ac_try;;
11838 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11839 $as_echo "$ac_try_echo") >&5
11840 (eval "$ac_compile") 2>conftest.er1
11842 grep -v '^ *+' conftest.er1
>conftest.err
11844 cat conftest.err
>&5
11845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); } && {
11847 test -z "$ac_c_werror_flag" ||
11848 test ! -s conftest.err
11849 } && test -s conftest.
$ac_objext; then
11850 ac_cv_prog_cc_c89
=$ac_arg
11852 $as_echo "$as_me: failed program was:" >&5
11853 sed 's/^/| /' conftest.
$ac_ext >&5
11858 rm -f core conftest.err conftest.
$ac_objext
11859 test "x$ac_cv_prog_cc_c89" != "xno" && break
11861 rm -f conftest.
$ac_ext
11866 case "x$ac_cv_prog_cc_c89" in
11868 { $as_echo "$as_me:$LINENO: result: none needed" >&5
11869 $as_echo "none needed" >&6; } ;;
11871 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
11872 $as_echo "unsupported" >&6; } ;;
11874 CC
="$CC $ac_cv_prog_cc_c89"
11875 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
11876 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11881 ac_cpp
='$CPP $CPPFLAGS'
11882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11886 depcc
="$CC" am_compiler_list
=
11888 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11889 $as_echo_n "checking dependency style of $depcc... " >&6; }
11890 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
11891 $as_echo_n "(cached) " >&6
11893 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11894 # We make a subdir and do the tests there. Otherwise we can end up
11895 # making bogus files that we don't know about and never remove. For
11896 # instance it was reported that on HP-UX the gcc test will end up
11897 # making a dummy file named `D' -- because `-MD' means `put the output
11900 # Copy depcomp to subdir because otherwise we won't find it if we're
11901 # using a relative directory.
11902 cp "$am_depcomp" conftest.dir
11904 # We will build objects and dependencies in a subdirectory because
11905 # it helps to detect inapplicable dependency modes. For instance
11906 # both Tru64's cc and ICC support -MD to output dependencies as a
11907 # side effect of compilation, but ICC will put the dependencies in
11908 # the current directory while Tru64 will put them in the object
11912 am_cv_CC_dependencies_compiler_type
=none
11913 if test "$am_compiler_list" = ""; then
11914 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11916 am__universal
=false
11917 case " $depcc " in #(
11918 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
11921 for depmode
in $am_compiler_list; do
11922 # Setup a source with many dependencies, because some compilers
11923 # like to wrap large dependency lists on column 80 (with \), and
11924 # we should not choose a depcomp mode which is confused by this.
11926 # We need to recreate these files for each test, as the compiler may
11927 # overwrite some of them when testing with obscure command lines.
11928 # This happens at least with the AIX C compiler.
11930 for i
in 1 2 3 4 5 6; do
11931 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
11932 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11933 # Solaris 8's {/usr,}/bin/sh.
11934 touch sub
/conftst
$i.h
11936 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11938 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11939 # mode. It turns out that the SunPro C++ compiler does not properly
11940 # handle `-M -o', and we need to detect this. Also, some Intel
11941 # versions had trouble with output in subdirs
11942 am__obj
=sub
/conftest.
${OBJEXT-o}
11943 am__minus_obj
="-o $am__obj"
11946 # This depmode causes a compiler race in universal mode.
11947 test "$am__universal" = false ||
continue
11950 # after this tag, mechanisms are not by side-effect, so they'll
11951 # only be used when explicitly requested
11952 if test "x$enable_dependency_tracking" = xyes
; then
11958 msvisualcpp | msvcmsys
)
11959 # This compiler won't grok `-c -o', but also, the minuso test has
11960 # not run yet. These depmodes are late enough in the game, and
11961 # so weak that their functioning should not be impacted.
11962 am__obj
=conftest.
${OBJEXT-o}
11967 if depmode
=$depmode \
11968 source=sub
/conftest.c object
=$am__obj \
11969 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11970 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11971 >/dev
/null
2>conftest.err
&&
11972 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11973 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11974 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11975 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11976 # icc doesn't choke on unknown options, it will just issue warnings
11977 # or remarks (even with -Werror). So we grep stderr for any message
11978 # that says an option was ignored or not supported.
11979 # When given -MP, icc 7.0 and 7.1 complain thusly:
11980 # icc: Command line warning: ignoring option '-M'; no argument required
11981 # The diagnosis changed in icc 8.0:
11982 # icc: Command line remark: option '-MP' not supported
11983 if (grep 'ignoring option' conftest.err ||
11984 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11985 am_cv_CC_dependencies_compiler_type
=$depmode
11992 rm -rf conftest.dir
11994 am_cv_CC_dependencies_compiler_type
=none
11998 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
11999 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12000 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
12003 test "x$enable_dependency_tracking" != xno \
12004 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
12005 am__fastdepCC_TRUE
=
12006 am__fastdepCC_FALSE
='#'
12008 am__fastdepCC_TRUE
='#'
12009 am__fastdepCC_FALSE
=
12013 for ac_prog
in perl5 perl
12015 # Extract the first word of "$ac_prog", so it can be a program name with args.
12016 set dummy
$ac_prog; ac_word
=$2
12017 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12018 $as_echo_n "checking for $ac_word... " >&6; }
12019 if test "${ac_cv_path_PERL+set}" = set; then
12020 $as_echo_n "(cached) " >&6
12024 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
12027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12028 for as_dir
in $LPATH
12031 test -z "$as_dir" && as_dir
=.
12032 for ac_exec_ext
in '' $ac_executable_extensions; do
12033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12034 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
12035 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12045 PERL
=$ac_cv_path_PERL
12046 if test -n "$PERL"; then
12047 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
12048 $as_echo "$PERL" >&6; }
12050 { $as_echo "$as_me:$LINENO: result: no" >&5
12051 $as_echo "no" >&6; }
12055 test -n "$PERL" && break
12057 test -n "$PERL" || PERL
="perl"
12060 if test "$PERL" = "perl"
12062 { { $as_echo "$as_me:$LINENO: error: Perl not found." >&5
12063 $as_echo "$as_me: error: Perl not found." >&2;}
12064 { (exit 1); exit 1; }; }
12071 for ac_header
in stddef.h wchar.h
12073 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12074 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12075 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12076 $as_echo_n "checking for $ac_header... " >&6; }
12077 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12078 $as_echo_n "(cached) " >&6
12080 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12081 $as_echo "$as_val"'`
12082 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12083 $as_echo "$ac_res" >&6; }
12085 # Is the header compilable?
12086 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12087 $as_echo_n "checking $ac_header usability... " >&6; }
12088 cat >conftest.
$ac_ext <<_ACEOF
12091 cat confdefs.h
>>conftest.
$ac_ext
12092 cat >>conftest.
$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094 $ac_includes_default
12095 #include <$ac_header>
12097 rm -f conftest.
$ac_objext
12098 if { (ac_try
="$ac_compile"
12099 case "(($ac_try" in
12100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12101 *) ac_try_echo=$ac_try;;
12103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12104 $as_echo "$ac_try_echo") >&5
12105 (eval "$ac_compile") 2>conftest.er1
12107 grep -v '^ *+' conftest.er1 >conftest.err
12109 cat conftest.err >&5
12110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } && {
12112 test -z "$ac_c_werror_flag" ||
12113 test ! -s conftest.err
12114 } && test -s conftest.$ac_objext; then
12115 ac_header_compiler=yes
12117 $as_echo "$as_me: failed program was:" >&5
12118 sed 's/^/| /' conftest.$ac_ext >&5
12120 ac_header_compiler=no
12123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12124 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12125 $as_echo "$ac_header_compiler" >&6; }
12127 # Is the header present?
12128 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12129 $as_echo_n "checking $ac_header presence... " >&6; }
12130 cat >conftest.$ac_ext <<_ACEOF
12133 cat confdefs.h >>conftest.$ac_ext
12134 cat >>conftest.$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12136 #include <$ac_header>
12138 if { (ac_try="$ac_cpp conftest.$ac_ext"
12139 case "(($ac_try" in
12140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12141 *) ac_try_echo
=$ac_try;;
12143 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12144 $as_echo "$ac_try_echo") >&5
12145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12147 grep -v '^ *+' conftest.er1
>conftest.err
12149 cat conftest.err
>&5
12150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151 (exit $ac_status); } >/dev
/null
&& {
12152 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12153 test ! -s conftest.err
12155 ac_header_preproc
=yes
12157 $as_echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.
$ac_ext >&5
12160 ac_header_preproc
=no
12163 rm -f conftest.err conftest.
$ac_ext
12164 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12165 $as_echo "$ac_header_preproc" >&6; }
12167 # So? What about this header?
12168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12170 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12171 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12172 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12173 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12174 ac_header_preproc
=yes
12177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12178 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12179 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12180 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12181 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12182 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12183 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12184 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12186 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12187 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12188 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12190 ## ----------------------------------------------------- ##
12191 ## Report this to courier-maildrop@lists.sourceforge.net ##
12192 ## ----------------------------------------------------- ##
12194 ) |
sed "s/^/$as_me: WARNING: /" >&2
12197 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12198 $as_echo_n "checking for $ac_header... " >&6; }
12199 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12200 $as_echo_n "(cached) " >&6
12202 eval "$as_ac_Header=\$ac_header_preproc"
12204 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12205 $as_echo "$as_val"'`
12206 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12207 $as_echo "$ac_res" >&6; }
12210 as_val
=`eval 'as_val=${'$as_ac_Header'}
12211 $as_echo "$as_val"'`
12212 if test "x$as_val" = x
""yes; then
12213 cat >>confdefs.h
<<_ACEOF
12214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12224 # Check whether --enable-mimecharset was given.
12225 if test "${enable_mimecharset+set}" = set; then
12226 enableval
=$enable_mimecharset; UNICODECHARSET
="$enableval"
12228 UNICODECHARSET
="us-ascii"
12232 # Check whether --enable-unicode was given.
12233 if test "${enable_unicode+set}" = set; then
12234 enableval
=$enable_unicode; unicode
="$enableval"
12236 # Disable all unicode support by default, except the maintainer :-)
12239 if test -f ${srcdir}/UnicodeData.txt
12248 cat >>confdefs.h
<<_ACEOF
12249 #define UNICODECHARSET "$UNICODECHARSET"
12253 if test -f ${srcdir}/UnicodeData.txt
; then
12254 UPDATE_UNICODE_TRUE
=
12255 UPDATE_UNICODE_FALSE
='#'
12257 UPDATE_UNICODE_TRUE
='#'
12258 UPDATE_UNICODE_FALSE
=
12262 # Check whether --enable-unicode-test was given.
12263 if test "${enable_unicode_test+set}" = set; then
12264 enableval
=$enable_unicode_test; unicode_xtest
="$enableval"
12272 if test "$GCC" = "yes"
12274 CFLAGS
="$CFLAGS -Wall"
12277 ac_config_files
="$ac_config_files Makefile"
12279 cat >confcache
<<\_ACEOF
12280 # This file is a shell script that caches the results of configure
12281 # tests run on this system so they can be shared between configure
12282 # scripts and configure runs, see configure's option --config-cache.
12283 # It is not useful on other systems. If it contains results you don't
12284 # want to keep, you may remove or edit it.
12286 # config.status only pays attention to the cache file if you give it
12287 # the --recheck option to rerun configure.
12289 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12290 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12291 # following values.
12295 # The following way of writing the cache mishandles newlines in values,
12296 # but we know of no workaround that is simple, portable, and efficient.
12297 # So, we kill variables containing newlines.
12298 # Ultrix sh set writes to stderr and can't be redirected directly,
12299 # and sets the high bit in the cache file unless we assign to the vars.
12301 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12302 eval ac_val
=\$
$ac_var
12306 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12307 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12310 _ | IFS | as_nl
) ;; #(
12311 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12312 *) $as_unset $ac_var ;;
12318 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12319 *${as_nl}ac_space
=\
*)
12320 # `set' does not quote correctly, so add quotes (double-quote
12321 # substitution turns \\\\ into \\, and sed turns \\ into \).
12324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12327 # `set' quotes correctly as required by POSIX, so do not add quotes.
12328 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12337 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12339 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12341 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12342 if test -w "$cache_file"; then
12343 test "x$cache_file" != "x/dev/null" &&
12344 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12345 $as_echo "$as_me: updating cache $cache_file" >&6;}
12346 cat confcache
>$cache_file
12348 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12349 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12354 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12355 # Let make expand exec_prefix.
12356 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12358 DEFS
=-DHAVE_CONFIG_H
12362 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12363 # 1. Remove the extension, and $U if already installed.
12364 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12365 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12366 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12367 # will be set to the directory where LIBOBJS objects are built.
12368 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12369 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12371 LIBOBJS
=$ac_libobjs
12373 LTLIBOBJS
=$ac_ltlibobjs
12376 if test -n "$EXEEXT"; then
12378 am__EXEEXT_FALSE
='#'
12380 am__EXEEXT_TRUE
='#'
12384 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12385 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12386 Usually this means the macro was only invoked conditionally." >&5
12387 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12388 Usually this means the macro was only invoked conditionally." >&2;}
12389 { (exit 1); exit 1; }; }
12391 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12392 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12393 Usually this means the macro was only invoked conditionally." >&5
12394 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12395 Usually this means the macro was only invoked conditionally." >&2;}
12396 { (exit 1); exit 1; }; }
12398 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12399 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12400 Usually this means the macro was only invoked conditionally." >&5
12401 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12402 Usually this means the macro was only invoked conditionally." >&2;}
12403 { (exit 1); exit 1; }; }
12405 if test -z "${UPDATE_UNICODE_TRUE}" && test -z "${UPDATE_UNICODE_FALSE}"; then
12406 { { $as_echo "$as_me:$LINENO: error: conditional \"UPDATE_UNICODE\" was never defined.
12407 Usually this means the macro was only invoked conditionally." >&5
12408 $as_echo "$as_me: error: conditional \"UPDATE_UNICODE\" was never defined.
12409 Usually this means the macro was only invoked conditionally." >&2;}
12410 { (exit 1); exit 1; }; }
12413 : ${CONFIG_STATUS=./config.status}
12415 ac_clean_files_save
=$ac_clean_files
12416 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12417 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12418 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12419 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12421 # Generated by $as_me.
12422 # Run this file to recreate the current configuration.
12423 # Compiler output produced by configure, useful for debugging
12424 # configure, is in config.log if it exists.
12427 ac_cs_recheck=false
12429 SHELL=\${CONFIG_SHELL-$SHELL}
12432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12433 ## --------------------- ##
12434 ## M4sh Initialization. ##
12435 ## --------------------- ##
12437 # Be more Bourne compatible
12438 DUALCASE
=1; export DUALCASE
# for MKS sh
12439 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12442 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12443 # is contrary to our usage. Disable this feature.
12444 alias -g '${1+"$@"}'='"$@"'
12445 setopt NO_GLOB_SUBST
12447 case `(set -o) 2>/dev/null` in
12448 *posix
*) set -o posix
;;
12457 # Avoid depending upon Character Ranges.
12458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12461 as_cr_digits
='0123456789'
12462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12467 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12468 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12469 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12470 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12471 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12472 as_echo='printf %s
\n'
12473 as_echo_n='printf %s
'
12475 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12476 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12477 as_echo_n='/usr
/ucb
/echo -n'
12479 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12480 as_echo_n_body='eval
12484 expr "X$arg" : "X\\(.*\\)$as_nl";
12485 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12487 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12489 export as_echo_n_body
12490 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12492 export as_echo_body
12493 as_echo='sh
-c $as_echo_body as_echo
'
12496 # The user is always right.
12497 if test "${PATH_SEPARATOR+set}" != set; then
12499 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12500 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12505 # Support unset when possible.
12506 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12514 # We need space, tab and new line, in precisely that order. Quoting is
12515 # there to prevent editors from complaining about space-tab.
12516 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12517 # splitting by setting IFS to empty value.)
12520 # Find who we are. Look in the path if we contain no directory separator.
12522 *[\\/]* ) as_myself=$0 ;;
12523 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12524 for as_dir in $PATH
12527 test -z "$as_dir" && as_dir=.
12528 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12534 # We did not find ourselves, most probably we were run as `sh COMMAND'
12535 # in which case we are not to be found in the path.
12536 if test "x$as_myself" = x
; then
12539 if test ! -f "$as_myself"; then
12540 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12541 { (exit 1); exit 1; }
12544 # Work around bugs in pre-3.0 UWIN ksh.
12545 for as_var
in ENV MAIL MAILPATH
12546 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12558 # Required to use basename.
12559 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12560 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12566 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12567 as_basename
=basename
12573 # Name of the executable.
12574 as_me
=`$as_basename -- "$0" ||
12575 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12576 X"$0" : 'X\(//\)$' \| \
12577 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12579 sed '/^.*\/\([^/][^/]*\)\/*$/{
12598 as_lineno_1
=$LINENO
12599 as_lineno_2
=$LINENO
12600 test "x$as_lineno_1" != "x$as_lineno_2" &&
12601 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12603 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12604 # uniformly replaced by the line number. The first 'sed' inserts a
12605 # line-number line after each line using $LINENO; the second 'sed'
12606 # does the real work. The second script uses 'N' to pair each
12607 # line-number line with the line containing $LINENO, and appends
12608 # trailing '-' during substitution so that $LINENO is not a special
12609 # case at line end.
12610 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12611 # scripts with optimization help from Paolo Bonzini. Blame Lee
12612 # E. McMahon (1931-1989) for sed's syntax. :-)
12624 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12627 ' >$as_me.lineno
&&
12628 chmod +x
"$as_me.lineno" ||
12629 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12630 { (exit 1); exit 1; }; }
12632 # Don't try to exec as it changes $[0], causing all sort of problems
12633 # (the dirname of $[0] is not the place where we might find the
12634 # original and so on. Autoconf is especially sensitive to this).
12635 .
"./$as_me.lineno"
12636 # Exit status is that of the last command.
12641 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12647 ECHO_C
= ECHO_N
= ECHO_T
=
12648 case `echo -n x` in
12650 case `echo 'x\c'` in
12651 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12657 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12658 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12664 rm -f conf$$ conf$$.exe conf$$.
file
12665 if test -d conf$$.dir
; then
12666 rm -f conf$$.dir
/conf$$.
file
12669 mkdir conf$$.dir
2>/dev
/null
12671 if (echo >conf$$.
file) 2>/dev
/null
; then
12672 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12674 # ... but there are two gotchas:
12675 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12676 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12677 # In both cases, we have to default to `cp -p'.
12678 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12680 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12688 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12689 rmdir conf$$.dir
2>/dev
/null
12691 if mkdir
-p .
2>/dev
/null
; then
12694 test -d .
/-p && rmdir .
/-p
12698 if test -x / >/dev
/null
2>&1; then
12699 as_test_x
='test -x'
12701 if ls -dL / >/dev
/null
2>&1; then
12708 if test -d "$1"; then
12714 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12715 ???[sx]*):;;*)false;;esac;fi
12719 as_executable_p
=$as_test_x
12721 # Sed expression to map a string onto a valid CPP name.
12722 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12724 # Sed expression to map a string onto a valid variable name.
12725 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12730 # Save the log message, to keep $[0] and so on meaningful, and to
12731 # report actual input values of CONFIG_FILES etc. instead of their
12732 # values after options handling.
12734 This file was extended by unicode $as_me 0.10, which was
12735 generated by GNU Autoconf 2.63. Invocation command line was
12737 CONFIG_FILES = $CONFIG_FILES
12738 CONFIG_HEADERS = $CONFIG_HEADERS
12739 CONFIG_LINKS = $CONFIG_LINKS
12740 CONFIG_COMMANDS = $CONFIG_COMMANDS
12743 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12748 case $ac_config_files in *"
12749 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12752 case $ac_config_headers in *"
12753 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12758 # Files that config.status was made for.
12759 config_files="$ac_config_files"
12760 config_headers="$ac_config_headers"
12761 config_commands="$ac_config_commands"
12765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12767 \`$as_me' instantiates files from templates according to the
12768 current configuration.
12770 Usage: $0 [OPTION]... [FILE]...
12772 -h, --help print this help, then exit
12773 -V, --version print version number and configuration settings, then exit
12774 -q, --quiet, --silent
12775 do not print progress messages
12776 -d, --debug don't remove temporary files
12777 --recheck update $as_me by reconfiguring in the same conditions
12778 --file=FILE[:TEMPLATE]
12779 instantiate the configuration file FILE
12780 --header=FILE[:TEMPLATE]
12781 instantiate the configuration header FILE
12783 Configuration files:
12786 Configuration headers:
12789 Configuration commands:
12792 Report bugs to <bug-autoconf@gnu.org>."
12795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12797 unicode config.status 0.10
12798 configured by $0, generated by GNU Autoconf 2.63,
12799 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12801 Copyright (C) 2008 Free Software Foundation, Inc.
12802 This config.status script is free software; the Free Software Foundation
12803 gives unlimited permission to copy, distribute and modify it."
12810 test -n "\$AWK" || AWK=awk
12813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12814 # The default lists apply if the user does not specify any file.
12820 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12821 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12832 # Handling of the options.
12833 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12835 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12836 $as_echo "$ac_cs_version"; exit ;;
12837 --debug |
--debu |
--deb |
--de |
--d |
-d )
12839 --file |
--fil |
--fi |
--f )
12842 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12844 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
12845 ac_need_defaults
=false
;;
12846 --header |
--heade |
--head |
--hea )
12849 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12851 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
12852 ac_need_defaults
=false
;;
12854 # Conflict between --help and --header
12855 { $as_echo "$as_me: error: ambiguous option: $1
12856 Try \`$0 --help' for more information." >&2
12857 { (exit 1); exit 1; }; };;
12858 --help |
--hel |
-h )
12859 $as_echo "$ac_cs_usage"; exit ;;
12860 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12861 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12864 # This is an error.
12865 -*) { $as_echo "$as_me: error: unrecognized option: $1
12866 Try \`$0 --help' for more information." >&2
12867 { (exit 1); exit 1; }; } ;;
12869 *) ac_config_targets
="$ac_config_targets $1"
12870 ac_need_defaults
=false
;;
12876 ac_configure_extra_args
=
12878 if $ac_cs_silent; then
12880 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12885 if \$ac_cs_recheck; then
12886 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12888 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12889 CONFIG_SHELL='$SHELL'
12890 export CONFIG_SHELL
12895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12899 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12900 ## Running $as_me. ##
12906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12910 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12913 # The HP-UX ksh and POSIX shell print the target directory to stdout
12914 # if CDPATH is set.
12915 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12917 sed_quote_subst='$sed_quote_subst'
12918 double_quote_subst='$double_quote_subst'
12919 delay_variable_subst='$delay_variable_subst'
12920 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12921 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12922 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12923 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12924 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12925 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12926 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12927 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12928 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12929 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12930 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12931 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12932 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12933 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12934 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12935 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12936 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12937 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12938 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12939 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12940 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12941 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12942 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12943 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12944 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12945 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12946 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12947 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12948 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12949 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12950 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12951 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12952 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12953 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12954 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12955 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12956 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12957 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12958 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12959 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12960 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12961 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12962 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12963 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12964 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12965 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12966 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12967 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12968 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12969 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12970 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12971 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12972 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12973 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12974 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12975 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12976 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12977 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12978 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12979 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12980 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12981 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12982 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12983 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12984 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12985 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12986 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12987 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12988 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12989 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12990 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12991 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12992 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12993 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12994 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12995 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12996 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12997 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12998 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12999 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13000 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13001 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13002 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13003 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13004 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13005 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13006 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13007 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13008 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13009 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13010 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13011 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13012 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13013 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13014 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13015 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13016 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13017 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13018 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13019 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13020 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13021 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13022 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13023 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13024 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13025 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13026 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13027 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13028 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13029 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13030 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13031 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13032 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13033 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13034 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13035 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13036 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13037 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13040 LTCFLAGS='$LTCFLAGS'
13041 compiler='$compiler_DEFAULT'
13043 # Quote evaled strings.
13055 deplibs_check_method \
13064 lt_cv_sys_global_symbol_pipe \
13065 lt_cv_sys_global_symbol_to_cdecl \
13066 lt_cv_sys_global_symbol_to_c_name_address \
13067 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13070 lt_prog_compiler_no_builtin_flag \
13071 lt_prog_compiler_wl \
13072 lt_prog_compiler_pic \
13073 lt_prog_compiler_static \
13074 lt_cv_prog_compiler_c_o \
13082 export_dynamic_flag_spec \
13083 whole_archive_flag_spec \
13084 compiler_needs_object \
13086 allow_undefined_flag \
13087 no_undefined_flag \
13088 hardcode_libdir_flag_spec \
13089 hardcode_libdir_flag_spec_ld \
13090 hardcode_libdir_separator \
13095 variables_saved_for_relink \
13097 library_names_spec \
13102 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13103 *[\\\\\\\`\\"\\\$]*)
13104 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13107 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13112 # Double-quote double-evaled strings.
13113 for var in reload_cmds \
13114 old_postinstall_cmds \
13115 old_postuninstall_cmds \
13117 extract_expsyms_cmds \
13118 old_archive_from_new_cmds \
13119 old_archive_from_expsyms_cmds \
13121 archive_expsym_cmds \
13123 module_expsym_cmds \
13124 export_symbols_cmds \
13127 postuninstall_cmds \
13129 sys_lib_search_path_spec \
13130 sys_lib_dlsearch_path_spec; do
13131 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13132 *[\\\\\\\`\\"\\\$]*)
13133 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13136 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13141 # Fix-up fallback echo if it was mangled by the above quoting rules.
13143 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13147 ac_aux_dir='$ac_aux_dir'
13148 xsi_shell='$xsi_shell'
13149 lt_shell_append='$lt_shell_append'
13151 # See if we are running on zsh, and set the options which allow our
13152 # commands through without removal of \ escapes INIT.
13153 if test -n "\${ZSH_VERSION+set}" ; then
13154 setopt NO_GLOB_SUBST
13160 TIMESTAMP='$TIMESTAMP'
13169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13171 # Handling of arguments.
13172 for ac_config_target
in $ac_config_targets
13174 case $ac_config_target in
13175 "unicode_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS unicode_config.h" ;;
13176 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13177 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13178 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13180 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13181 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13182 { (exit 1); exit 1; }; };;
13187 # If the user did not use the arguments to specify the items to instantiate,
13188 # then the envvar interface is used. Set only those that are not.
13189 # We use the long form for the default assignment because of an extremely
13190 # bizarre bug on SunOS 4.1.3.
13191 if $ac_need_defaults; then
13192 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13193 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13194 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13197 # Have a temporary directory for convenience. Make it in the build tree
13198 # simply because there is no reason against having it here, and in addition,
13199 # creating and moving files from /tmp can sometimes cause problems.
13200 # Hook for its removal unless debugging.
13201 # Note that there is a small window in which the directory will not be cleaned:
13202 # after its creation but before its name has been assigned to `$tmp'.
13206 trap 'exit_status=$?
13207 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13209 trap '{ (exit 1); exit 1; }' 1 2 13 15
13211 # Create a (secure) tmp directory for tmp files.
13214 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13215 test -n "$tmp" && test -d "$tmp"
13218 tmp
=.
/conf$$
-$RANDOM
13219 (umask 077 && mkdir
"$tmp")
13222 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13223 { (exit 1); exit 1; }
13226 # Set up the scripts for CONFIG_FILES section.
13227 # No need to generate them if there are no CONFIG_FILES.
13228 # This happens for instance with `./config.status config.h'.
13229 if test -n "$CONFIG_FILES"; then
13233 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13234 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13237 ac_cs_awk_cr
=$ac_cr
13240 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13245 echo "cat >conf$$subs.awk <<_ACEOF" &&
13246 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13248 } >conf$$subs.sh ||
13249 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13250 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13251 { (exit 1); exit 1; }; }
13252 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13254 for ac_last_try in false false false false false :; do
13255 . ./conf$$subs.sh ||
13256 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13257 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13258 { (exit 1); exit 1; }; }
13260 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13261 if test $ac_delim_n = $ac_delim_num; then
13263 elif $ac_last_try; then
13264 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13265 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13266 { (exit 1); exit 1; }; }
13268 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13271 rm -f conf$$subs.sh
13273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13274 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13278 s/^/S["/; s
/!.
*/"]=/
13288 s/\(.\{148\}\).*/\1/
13290 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13295 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13302 s/\(.\{148\}\).*/\1/
13304 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13308 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13313 ' <conf$$subs.awk | sed '
13318 ' >>$CONFIG_STATUS || ac_write_fail=1
13319 rm -f conf$$subs.awk
13320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13322 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13323 for (key in S) S_is_set[key] = 1
13329 nfields = split(line, field, "@
")
13331 len = length(field[1])
13332 for (i = 2; i < nfields; i++) {
13334 keylen = length(key)
13335 if (S_is_set[key]) {
13337 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13338 len += length(value) + length(field[++i])
13349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13350 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13351 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13354 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13355 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
13356 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
13357 { (exit 1); exit 1; }; }
13360 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13361 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13362 # trailing colons and then remove the whole line if VPATH becomes empty
13363 # (actually we leave an empty line to preserve line numbers).
13364 if test "x
$srcdir" = x.; then
13365 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13366 s/:*\$(srcdir):*/:/
13367 s/:*\${srcdir}:*/:/
13369 s/^\([^=]*=[ ]*\):*/\1/
13375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13376 fi # test -n "$CONFIG_FILES"
13378 # Set up the scripts for CONFIG_HEADERS section.
13379 # No need to generate them if there are no CONFIG_HEADERS.
13380 # This happens for instance with `./config.status Makefile'.
13381 if test -n "$CONFIG_HEADERS"; then
13382 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13386 # Transform confdefs.h into an awk script `defines.awk', embedded as
13387 # here-document in config.status, that substitutes the proper values into
13388 # config.h.in to produce config.h.
13390 # Create a delimiter string that does not exist in confdefs.h, to ease
13391 # handling of long lines.
13393 for ac_last_try in false false :; do
13394 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13395 if test -z "$ac_t"; then
13397 elif $ac_last_try; then
13398 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
13399 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
13400 { (exit 1); exit 1; }; }
13402 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13406 # For the awk script, D is an array of macro values keyed by name,
13407 # likewise P contains macro parameters if any. Preserve backslash
13408 # newline sequences.
13410 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13412 s/.\{148\}/&'"$ac_delim"'/g
13415 s/^[ ]*#[ ]*define[ ][ ]*/ /
13422 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13424 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13428 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13429 D["\
1"]=" \
3\\\\\\n
"\\/p
13431 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13436 s/.\{148\}/&'"$ac_delim"'/g
13441 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13444 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13446 ' <confdefs.h | sed '
13447 s/'"$ac_delim"'/"\\\
13448 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13451 for (key in D) D_is_set[key] = 1
13454 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13456 split(line, arg, " ")
13457 if (arg[1] == "#") {
13461 defundef
= substr
(arg
[1], 2)
13464 split(mac1
, mac2
, "(") #)
13466 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13467 if (D_is_set
[macro
]) {
13468 # Preserve the white space surrounding the "#".
13469 print prefix
"define", macro P
[macro
] D
[macro
]
13472 # Replace #undef with comments. This is necessary, for example,
13473 # in the case of _POSIX_SOURCE, which is predefined and required
13474 # on some systems where configure will not decide to define it.
13475 if (defundef
== "undef") {
13476 print
"/*", prefix defundef
, macro
, "*/"
13484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13485 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13486 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13487 { (exit 1); exit 1; }; }
13488 fi # test -n "$CONFIG_HEADERS"
13491 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13496 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13498 case $ac_mode$ac_tag in
13500 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13501 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13502 { (exit 1); exit 1; }; };;
13503 :[FH
]-) ac_tag
=-:-;;
13504 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13521 -) ac_f
="$tmp/stdin";;
13522 *) # Look for the file first in the build tree, then in the source tree
13523 # (if the path is not absolute). The absolute path cannot be DOS-style,
13524 # because $ac_f cannot contain `:'.
13528 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13530 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13531 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13532 { (exit 1); exit 1; }; };;
13534 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13535 ac_file_inputs
="$ac_file_inputs '$ac_f'"
13538 # Let's still pretend it is `configure' which instantiates (i.e., don't
13539 # use $as_me), people would be surprised to read:
13540 # /* config.h. Generated by config.status. */
13541 configure_input
='Generated from '`
13542 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13544 if test x
"$ac_file" != x-
; then
13545 configure_input
="$ac_file. $configure_input"
13546 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13547 $as_echo "$as_me: creating $ac_file" >&6;}
13549 # Neutralize special characters interpreted by sed in replacement strings.
13550 case $configure_input in #(
13551 *\
&* |
*\|
* |
*\\* )
13552 ac_sed_conf_input
=`$as_echo "$configure_input" |
13553 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13554 *) ac_sed_conf_input
=$configure_input;;
13558 *:-:* |
*:-) cat >"$tmp/stdin" \
13559 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13560 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13561 { (exit 1); exit 1; }; } ;;
13566 ac_dir
=`$as_dirname -- "$ac_file" ||
13567 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13568 X"$ac_file" : 'X\(//\)[^/]' \| \
13569 X"$ac_file" : 'X\(//\)$' \| \
13570 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13571 $as_echo X"$ac_file" |
13572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13576 /^X\(\/\/\)[^/].*/{
13591 -*) as_dir
=.
/$as_dir;;
13593 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13597 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13598 *) as_qdir
=$as_dir;;
13600 as_dirs
="'$as_qdir' $as_dirs"
13601 as_dir
=`$as_dirname -- "$as_dir" ||
13602 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13603 X"$as_dir" : 'X\(//\)[^/]' \| \
13604 X"$as_dir" : 'X\(//\)$' \| \
13605 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13606 $as_echo X"$as_dir" |
13607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13611 /^X\(\/\/\)[^/].*/{
13624 test -d "$as_dir" && break
13626 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13627 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13628 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13629 { (exit 1); exit 1; }; }; }
13633 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13635 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13636 # A ".." for each directory in $ac_dir_suffix.
13637 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13638 case $ac_top_builddir_sub in
13639 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13640 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13643 ac_abs_top_builddir
=$ac_pwd
13644 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13645 # for backward compatibility:
13646 ac_top_builddir
=$ac_top_build_prefix
13649 .
) # We are building in place.
13651 ac_top_srcdir
=$ac_top_builddir_sub
13652 ac_abs_top_srcdir
=$ac_pwd ;;
13653 [\\/]* | ?
:[\\/]* ) # Absolute name.
13654 ac_srcdir
=$srcdir$ac_dir_suffix;
13655 ac_top_srcdir
=$srcdir
13656 ac_abs_top_srcdir
=$srcdir ;;
13657 *) # Relative name.
13658 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13659 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13660 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13662 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13672 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13673 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13675 ac_MKDIR_P
=$MKDIR_P
13677 [\\/$
]* | ?
:[\\/]* ) ;;
13678 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13683 # If the template does not know about datarootdir, expand it.
13684 # FIXME: This hack should be removed a few years after 2.60.
13685 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13698 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13699 *datarootdir
*) ac_datarootdir_seen
=yes;;
13700 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13701 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13702 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13705 ac_datarootdir_hack='
13706 s&@datadir@&$datadir&g
13707 s&@docdir@&$docdir&g
13708 s&@infodir@&$infodir&g
13709 s&@localedir@&$localedir&g
13710 s&@mandir@&$mandir&g
13711 s&\\\${datarootdir}&$datarootdir&g' ;;
13715 # Neutralize VPATH when `$srcdir' = `.'.
13716 # Shell code in configure.ac might set extrasub.
13717 # FIXME: do we really want to maintain this feature?
13718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13719 ac_sed_extra="$ac_vpsub
13722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13724 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13725 s|@configure_input@|
$ac_sed_conf_input|
;t t
13726 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13727 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13728 s
&@srcdir@
&$ac_srcdir&;t t
13729 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13730 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13731 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13732 s
&@builddir@
&$ac_builddir&;t t
13733 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13734 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13735 s
&@INSTALL@
&$ac_INSTALL&;t t
13736 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13737 $ac_datarootdir_hack
13739 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13740 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
13741 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
13742 { (exit 1); exit 1; }; }
13744 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13745 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13746 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13747 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13748 which seems to be undefined. Please make sure it is defined." >&5
13749 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13750 which seems to be undefined. Please make sure it is defined." >&2;}
13754 -) cat "$tmp/out" && rm -f "$tmp/out";;
13755 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13757 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13758 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13759 { (exit 1); exit 1; }; }
13765 if test x"$ac_file" != x-; then
13767 $as_echo "/* $configure_input */" \
13768 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13769 } >"$tmp/config.h" \
13770 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13771 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13772 { (exit 1); exit 1; }; }
13773 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13774 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13775 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13778 mv "$tmp/config.h" "$ac_file" \
13779 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13780 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13781 { (exit 1); exit 1; }; }
13784 $as_echo "/* $configure_input */" \
13785 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13786 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
13787 $as_echo "$as_me: error: could not create -" >&2;}
13788 { (exit 1); exit 1; }; }
13790 # Compute "$ac_file"'s index
in $config_headers.
13793 for _am_header
in $config_headers :; do
13794 case $_am_header in
13795 $_am_arg |
$_am_arg:* )
13798 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13801 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13802 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13803 X"$_am_arg" : 'X\(//\)[^/]' \| \
13804 X"$_am_arg" : 'X\(//\)$' \| \
13805 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13806 $as_echo X"$_am_arg" |
13807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13811 /^X\(\/\/\)[^/].*/{
13823 s/.*/./; q'`/stamp-h
$_am_stamp_count
13826 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
13827 $as_echo "$as_me: executing $ac_file commands" >&6;}
13832 case $ac_file$ac_mode in
13833 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13834 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13835 # are listed without --file. Let's play safe and only enable the eval
13836 # if we detect the quoting.
13837 case $CONFIG_FILES in
13838 *\'*) eval set x
"$CONFIG_FILES" ;;
13839 *) set x
$CONFIG_FILES ;;
13844 # Strip MF so we end up with the name of the file.
13845 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13846 # Check whether this is an Automake generated Makefile or not.
13847 # We used to match only the files named `Makefile.in', but
13848 # some people rename them; so instead we look at the file content.
13849 # Grep'ing the first line is not enough: some people post-process
13850 # each Makefile.in and add a new line on top of each file to say so.
13851 # Grep'ing the whole file is not good either: AIX grep has a line
13852 # limit of 2048, but all sed's we know have understand at least 4000.
13853 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13854 dirpart
=`$as_dirname -- "$mf" ||
13855 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13856 X"$mf" : 'X\(//\)[^/]' \| \
13857 X"$mf" : 'X\(//\)$' \| \
13858 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13864 /^X\(\/\/\)[^/].*/{
13880 # Extract the definition of DEPDIR, am__include, and am__quote
13881 # from the Makefile without running `make'.
13882 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13883 test -z "$DEPDIR" && continue
13884 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13885 test -z "am__include" && continue
13886 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13887 # When using ansi2knr, U may be empty or an underscore; expand it
13888 U
=`sed -n 's/^U = //p' < "$mf"`
13889 # Find all dependency output files, they are included files with
13890 # $(DEPDIR) in their names. We invoke sed twice because it is the
13891 # simplest approach to changing $(DEPDIR) to its actual value in the
13893 for file in `sed -n "
13894 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13895 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13896 # Make sure the directory exists.
13897 test -f "$dirpart/$file" && continue
13898 fdir
=`$as_dirname -- "$file" ||
13899 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13900 X"$file" : 'X\(//\)[^/]' \| \
13901 X"$file" : 'X\(//\)$' \| \
13902 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13903 $as_echo X"$file" |
13904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13908 /^X\(\/\/\)[^/].*/{
13921 { as_dir
=$dirpart/$fdir
13923 -*) as_dir
=.
/$as_dir;;
13925 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13929 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13930 *) as_qdir
=$as_dir;;
13932 as_dirs
="'$as_qdir' $as_dirs"
13933 as_dir
=`$as_dirname -- "$as_dir" ||
13934 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13935 X"$as_dir" : 'X\(//\)[^/]' \| \
13936 X"$as_dir" : 'X\(//\)$' \| \
13937 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13938 $as_echo X"$as_dir" |
13939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13943 /^X\(\/\/\)[^/].*/{
13956 test -d "$as_dir" && break
13958 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13959 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13960 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13961 { (exit 1); exit 1; }; }; }
13962 # echo "creating $dirpart/$file"
13963 echo '# dummy' > "$dirpart/$file"
13970 # See if we are running on zsh, and set the options which allow our
13971 # commands through without removal of \ escapes.
13972 if test -n "${ZSH_VERSION+set}" ; then
13973 setopt NO_GLOB_SUBST
13976 cfgfile
="${ofile}T"
13977 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13980 cat <<_LT_EOF >> "$cfgfile"
13983 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13984 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13985 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13986 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13988 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13989 # 2006, 2007, 2008 Free Software Foundation, Inc.
13990 # Written by Gordon Matzigkeit, 1996
13992 # This file is part of GNU Libtool.
13994 # GNU Libtool is free software; you can redistribute it and/or
13995 # modify it under the terms of the GNU General Public License as
13996 # published by the Free Software Foundation; either version 2 of
13997 # the License, or (at your option) any later version.
13999 # As a special exception to the GNU General Public License,
14000 # if you distribute this file as part of a program or library that
14001 # is built using GNU Libtool, you may include this file under the
14002 # same distribution terms that you use for the rest of that program.
14004 # GNU Libtool is distributed in the hope that it will be useful,
14005 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14006 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14007 # GNU General Public License for more details.
14009 # You should have received a copy of the GNU General Public License
14010 # along with GNU Libtool; see the file COPYING. If not, a copy
14011 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14012 # obtained by writing to the Free Software Foundation, Inc.,
14013 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14016 # The names of the tagged configurations supported by this script.
14019 # ### BEGIN LIBTOOL CONFIG
14021 # Which release of libtool.m4 was used?
14022 macro_version=$macro_version
14023 macro_revision=$macro_revision
14025 # Whether or not to build shared libraries.
14026 build_libtool_libs=$enable_shared
14028 # Whether or not to build static libraries.
14029 build_old_libs=$enable_static
14031 # What type of objects to build.
14034 # Whether or not to optimize for fast installation.
14035 fast_install=$enable_fast_install
14038 host_alias=$host_alias
14042 # The build system.
14043 build_alias=$build_alias
14047 # A sed program that does not truncate output.
14050 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14051 Xsed="\$SED -e 1s/^X//"
14053 # A grep program that handles long lines.
14059 # A literal string matcher.
14062 # A BSD- or MS-compatible name lister.
14065 # Whether we need soft or hard links.
14068 # What is the maximum length of a command?
14069 max_cmd_len=$max_cmd_len
14071 # Object file suffix (normally "o").
14074 # Executable file suffix (normally "").
14077 # whether the shell understands "unset".
14080 # turn spaces into newlines.
14083 # turn newlines into spaces.
14086 # How to create reloadable object files.
14087 reload_flag=$lt_reload_flag
14088 reload_cmds=$lt_reload_cmds
14090 # An object symbol dumper.
14091 OBJDUMP=$lt_OBJDUMP
14093 # Method to check whether dependent libraries are shared objects.
14094 deplibs_check_method=$lt_deplibs_check_method
14096 # Command to use when deplibs_check_method == "file_magic".
14097 file_magic_cmd=$lt_file_magic_cmd
14101 AR_FLAGS=$lt_AR_FLAGS
14103 # A symbol stripping program.
14106 # Commands used to install an old-style archive.
14108 old_postinstall_cmds=$lt_old_postinstall_cmds
14109 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14114 # LTCC compiler flags.
14115 LTCFLAGS=$lt_CFLAGS
14117 # Take the output of nm and produce a listing of raw symbols and C names.
14118 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14120 # Transform the output of nm in a proper C declaration.
14121 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14123 # Transform the output of nm in a C name address pair.
14124 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14126 # Transform the output of nm in a C name address pair when lib prefix is needed.
14127 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14129 # The name of the directory that contains temporary libtool files.
14132 # Shell to use when invoking shell scripts.
14135 # An echo program that does not interpret backslashes.
14138 # Used to examine libraries when file_magic_cmd begins with "file".
14139 MAGIC_CMD=$MAGIC_CMD
14141 # Must we lock files when doing compilation?
14142 need_locks=$lt_need_locks
14144 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14145 DSYMUTIL=$lt_DSYMUTIL
14147 # Tool to change global to local symbols on Mac OS X.
14150 # Tool to manipulate fat objects and archives on Mac OS X.
14153 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14156 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14157 OTOOL64=$lt_OTOOL64
14159 # Old archive suffix (normally "a").
14162 # Shared library suffix (normally ".so").
14163 shrext_cmds=$lt_shrext_cmds
14165 # The commands to extract the exported symbol list from a shared archive.
14166 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14168 # Variables whose values should be saved in libtool wrapper scripts and
14169 # restored at link time.
14170 variables_saved_for_relink=$lt_variables_saved_for_relink
14172 # Do we need the "lib" prefix for modules?
14173 need_lib_prefix=$need_lib_prefix
14175 # Do we need a version for libraries?
14176 need_version=$need_version
14178 # Library versioning type.
14179 version_type=$version_type
14181 # Shared library runtime path variable.
14182 runpath_var=$runpath_var
14184 # Shared library path variable.
14185 shlibpath_var=$shlibpath_var
14187 # Is shlibpath searched before the hard-coded library search path?
14188 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14190 # Format of library name prefix.
14191 libname_spec=$lt_libname_spec
14193 # List of archive names. First name is the real one, the rest are links.
14194 # The last name is the one that the linker finds with -lNAME
14195 library_names_spec=$lt_library_names_spec
14197 # The coded name of the library, if different from the real name.
14198 soname_spec=$lt_soname_spec
14200 # Command to use after installation of a shared archive.
14201 postinstall_cmds=$lt_postinstall_cmds
14203 # Command to use after uninstallation of a shared archive.
14204 postuninstall_cmds=$lt_postuninstall_cmds
14206 # Commands used to finish a libtool library installation in a directory.
14207 finish_cmds=$lt_finish_cmds
14209 # As "finish_cmds", except a single script fragment to be evaled but
14211 finish_eval=$lt_finish_eval
14213 # Whether we should hardcode library paths into libraries.
14214 hardcode_into_libs=$hardcode_into_libs
14216 # Compile-time system search path for libraries.
14217 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14219 # Run-time system search path for libraries.
14220 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14222 # Whether dlopen is supported.
14223 dlopen_support=$enable_dlopen
14225 # Whether dlopen of programs is supported.
14226 dlopen_self=$enable_dlopen_self
14228 # Whether dlopen of statically linked programs is supported.
14229 dlopen_self_static=$enable_dlopen_self_static
14231 # Commands to strip libraries.
14232 old_striplib=$lt_old_striplib
14233 striplib=$lt_striplib
14236 # The linker used to build libraries.
14239 # Commands used to build an old-style archive.
14240 old_archive_cmds=$lt_old_archive_cmds
14242 # A language specific compiler.
14245 # Is the compiler the GNU compiler?
14248 # Compiler flag to turn off builtin functions.
14249 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14251 # How to pass a linker flag through the compiler.
14252 wl=$lt_lt_prog_compiler_wl
14254 # Additional compiler flags for building library objects.
14255 pic_flag=$lt_lt_prog_compiler_pic
14257 # Compiler flag to prevent dynamic linking.
14258 link_static_flag=$lt_lt_prog_compiler_static
14260 # Does compiler simultaneously support -c and -o options?
14261 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14263 # Whether or not to add -lc for building shared libraries.
14264 build_libtool_need_lc=$archive_cmds_need_lc
14266 # Whether or not to disallow shared libs when runtime libs are static.
14267 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14269 # Compiler flag to allow reflexive dlopens.
14270 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14272 # Compiler flag to generate shared objects directly from archives.
14273 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14275 # Whether the compiler copes with passing no objects directly.
14276 compiler_needs_object=$lt_compiler_needs_object
14278 # Create an old-style archive from a shared archive.
14279 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14281 # Create a temporary old-style archive to link instead of a shared archive.
14282 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14284 # Commands used to build a shared archive.
14285 archive_cmds=$lt_archive_cmds
14286 archive_expsym_cmds=$lt_archive_expsym_cmds
14288 # Commands used to build a loadable module if different from building
14289 # a shared archive.
14290 module_cmds=$lt_module_cmds
14291 module_expsym_cmds=$lt_module_expsym_cmds
14293 # Whether we are building with GNU ld or not.
14294 with_gnu_ld=$lt_with_gnu_ld
14296 # Flag that allows shared libraries with undefined symbols to be built.
14297 allow_undefined_flag=$lt_allow_undefined_flag
14299 # Flag that enforces no undefined symbols.
14300 no_undefined_flag=$lt_no_undefined_flag
14302 # Flag to hardcode \$libdir into a binary during linking.
14303 # This must work even if \$libdir does not exist
14304 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14306 # If ld is used when linking, flag to hardcode \$libdir into a binary
14307 # during linking. This must work even if \$libdir does not exist.
14308 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14310 # Whether we need a single "-rpath" flag with a separated argument.
14311 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14313 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14314 # DIR into the resulting binary.
14315 hardcode_direct=$hardcode_direct
14317 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14318 # DIR into the resulting binary and the resulting library dependency is
14319 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14320 # library is relocated.
14321 hardcode_direct_absolute=$hardcode_direct_absolute
14323 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14324 # into the resulting binary.
14325 hardcode_minus_L=$hardcode_minus_L
14327 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14328 # into the resulting binary.
14329 hardcode_shlibpath_var=$hardcode_shlibpath_var
14331 # Set to "yes" if building a shared library automatically hardcodes DIR
14332 # into the library and all subsequent libraries and executables linked
14334 hardcode_automatic=$hardcode_automatic
14336 # Set to yes if linker adds runtime paths of dependent libraries
14337 # to runtime path list.
14338 inherit_rpath=$inherit_rpath
14340 # Whether libtool must link a program against all its dependency libraries.
14341 link_all_deplibs=$link_all_deplibs
14343 # Fix the shell variable \$srcfile for the compiler.
14344 fix_srcfile_path=$lt_fix_srcfile_path
14346 # Set to "yes" if exported symbols are required.
14347 always_export_symbols=$always_export_symbols
14349 # The commands to list exported symbols.
14350 export_symbols_cmds=$lt_export_symbols_cmds
14352 # Symbols that should not be listed in the preloaded symbols.
14353 exclude_expsyms=$lt_exclude_expsyms
14355 # Symbols that must always be exported.
14356 include_expsyms=$lt_include_expsyms
14358 # Commands necessary for linking programs (against libraries) with templates.
14359 prelink_cmds=$lt_prelink_cmds
14361 # Specify filename containing input files.
14362 file_list_spec=$lt_file_list_spec
14364 # How to hardcode a shared library path into an executable.
14365 hardcode_action=$hardcode_action
14367 # ### END LIBTOOL CONFIG
14373 cat <<\_LT_EOF
>> "$cfgfile"
14374 # AIX sometimes has problems with the GCC collect2 program. For some
14375 # reason, if we set the COLLECT_NAMES environment variable, the problems
14376 # vanish in a puff of smoke.
14377 if test "X${COLLECT_NAMES+set}" != Xset
; then
14379 export COLLECT_NAMES
14386 ltmain
="$ac_aux_dir/ltmain.sh"
14389 # We use sed instead of cat because bash on DJGPP gets confused if
14390 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14391 # text mode, it properly converts lines to CR/LF. This bash problem
14392 # is reportedly fixed, but why not run on old versions too?
14393 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14394 ||
(rm -f "$cfgfile"; exit 1)
14398 cat << \_LT_EOF
>> "$cfgfile"
14400 # func_dirname file append nondir_replacement
14401 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14402 # otherwise set result to NONDIR_REPLACEMENT.
14406 */*) func_dirname_result
="${1%/*}${2}" ;;
14407 * ) func_dirname_result
="${3}" ;;
14411 # func_basename file
14414 func_basename_result
="${1##*/}"
14417 # func_dirname_and_basename file append nondir_replacement
14418 # perform func_basename and func_dirname in a single function
14420 # dirname: Compute the dirname of FILE. If nonempty,
14421 # add APPEND to the result, otherwise set result
14422 # to NONDIR_REPLACEMENT.
14423 # value returned in "$func_dirname_result"
14424 # basename: Compute filename of FILE.
14425 # value retuned in "$func_basename_result"
14426 # Implementation must be kept synchronized with func_dirname
14427 # and func_basename. For efficiency, we do not delegate to
14428 # those functions but instead duplicate the functionality here.
14429 func_dirname_and_basename
()
14432 */*) func_dirname_result
="${1%/*}${2}" ;;
14433 * ) func_dirname_result
="${3}" ;;
14435 func_basename_result
="${1##*/}"
14438 # func_stripname prefix suffix name
14439 # strip PREFIX and SUFFIX off of NAME.
14440 # PREFIX and SUFFIX must not contain globbing or regex special
14441 # characters, hashes, percent signs, but SUFFIX may contain a leading
14442 # dot (in which case that matches only a dot).
14445 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14446 # positional parameters, so assign one to ordinary parameter first.
14447 func_stripname_result
=${3}
14448 func_stripname_result
=${func_stripname_result#"${1}"}
14449 func_stripname_result
=${func_stripname_result%"${2}"}
14455 func_opt_split_opt
=${1%%=*}
14456 func_opt_split_arg
=${1#*=}
14463 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14464 *) func_lo2o_result
=${1} ;;
14468 # func_xform libobj-or-source
14471 func_xform_result
=${1%.*}.lo
14474 # func_arith arithmetic-term...
14477 func_arith_result
=$
(( $
* ))
14481 # STRING may not start with a hyphen.
14484 func_len_result
=${#1}
14489 *) # Bourne compatible functions.
14490 cat << \_LT_EOF
>> "$cfgfile"
14492 # func_dirname file append nondir_replacement
14493 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14494 # otherwise set result to NONDIR_REPLACEMENT.
14497 # Extract subdirectory from the argument.
14498 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14499 if test "X$func_dirname_result" = "X${1}"; then
14500 func_dirname_result
="${3}"
14502 func_dirname_result
="$func_dirname_result${2}"
14506 # func_basename file
14509 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
14513 # func_stripname prefix suffix name
14514 # strip PREFIX and SUFFIX off of NAME.
14515 # PREFIX and SUFFIX must not contain globbing or regex special
14516 # characters, hashes, percent signs, but SUFFIX may contain a leading
14517 # dot (in which case that matches only a dot).
14518 # func_strip_suffix prefix name
14522 .
*) func_stripname_result
=`$ECHO "X${3}" \
14523 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14524 *) func_stripname_result
=`$ECHO "X${3}" \
14525 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14530 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14531 my_sed_long_arg
='1s/^-[^=]*=//'
14536 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14537 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14543 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14546 # func_xform libobj-or-source
14549 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14552 # func_arith arithmetic-term...
14555 func_arith_result
=`expr "$@"`
14559 # STRING may not start with a hyphen.
14562 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14568 case $lt_shell_append in
14570 cat << \_LT_EOF
>> "$cfgfile"
14572 # func_append var value
14573 # Append VALUE to the end of shell variable VAR.
14581 cat << \_LT_EOF
>> "$cfgfile"
14583 # func_append var value
14584 # Append VALUE to the end of shell variable VAR.
14595 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14596 ||
(rm -f "$cfgfile"; exit 1)
14598 mv -f "$cfgfile" "$ofile" ||
14599 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14608 { (exit 0); exit 0; }
14610 chmod +x
$CONFIG_STATUS
14611 ac_clean_files
=$ac_clean_files_save
14613 test $ac_write_fail = 0 ||
14614 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14615 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14616 { (exit 1); exit 1; }; }
14619 # configure is writing to config.log, and then calls config.status.
14620 # config.status does its own redirection, appending to config.log.
14621 # Unfortunately, on DOS this fails, as config.log is still kept open
14622 # by configure, so config.status won't be able to write to it; its
14623 # output is simply discarded. So we exec the FD to /dev/null,
14624 # effectively closing config.log, so it can be properly (re)opened and
14625 # appended to by config.status. When coming back to configure, we
14626 # need to make the FD available again.
14627 if test "$no_create" != yes; then
14629 ac_config_status_args
=
14630 test "$silent" = yes &&
14631 ac_config_status_args
="$ac_config_status_args --quiet"
14633 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14635 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14636 # would make configure fail if this is the last instruction.
14637 $ac_cs_success ||
{ (exit 1); exit 1; }
14639 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14640 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14641 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}