2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for liblock 0.60.
5 # Report bugs to <courier-users@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
='liblock'
747 PACKAGE_TARNAME
='liblock'
748 PACKAGE_VERSION
='0.60'
749 PACKAGE_STRING
='liblock 0.60'
750 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
752 ac_unique_file
="liblock.h"
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
853 INSTALL_STRIP_PROGRAM
895 program_transform_name
907 enable_option_checking
908 enable_dependency_tracking
917 ac_precious_vars
='build_alias
928 # Initialize some variables set by options.
930 ac_init_version
=false
931 ac_unrecognized_opts
=
933 # The variables have the same names as the options, with
934 # dashes changed to underlines.
942 program_transform_name
=s
,x
,x
,
950 # Installation directory options.
951 # These are left unexpanded so users can "make install exec_prefix=/foo"
952 # and all the variables that are supposed to be based on exec_prefix
953 # by default will actually change.
954 # Use braces instead of parens because sh, perl, etc. also accept them.
955 # (The list follows the same order as the GNU Coding Standards.)
956 bindir
='${exec_prefix}/bin'
957 sbindir
='${exec_prefix}/sbin'
958 libexecdir
='${exec_prefix}/libexec'
959 datarootdir
='${prefix}/share'
960 datadir
='${datarootdir}'
961 sysconfdir
='${prefix}/etc'
962 sharedstatedir
='${prefix}/com'
963 localstatedir
='${prefix}/var'
964 includedir
='${prefix}/include'
965 oldincludedir
='/usr/include'
966 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
967 infodir
='${datarootdir}/info'
972 libdir
='${exec_prefix}/lib'
973 localedir
='${datarootdir}/locale'
974 mandir
='${datarootdir}/man'
980 # If the previous option needs an argument, assign it.
981 if test -n "$ac_prev"; then
982 eval $ac_prev=\
$ac_option
988 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
992 # Accept the important Cygnus configure options, so we can diagnose typos.
994 case $ac_dashdash$ac_option in
998 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1000 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1001 bindir
=$ac_optarg ;;
1003 -build |
--build |
--buil |
--bui |
--bu)
1004 ac_prev
=build_alias
;;
1005 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1006 build_alias
=$ac_optarg ;;
1008 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1009 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1010 ac_prev
=cache_file
;;
1011 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1012 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1013 cache_file
=$ac_optarg ;;
1015 --config-cache |
-C)
1016 cache_file
=config.cache
;;
1018 -datadir |
--datadir |
--datadi |
--datad)
1020 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1021 datadir
=$ac_optarg ;;
1023 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1024 |
--dataroo |
--dataro |
--datar)
1025 ac_prev
=datarootdir
;;
1026 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1027 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1028 datarootdir
=$ac_optarg ;;
1030 -disable-* |
--disable-*)
1031 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1034 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1035 { (exit 1); exit 1; }; }
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_
$ac_useropt"
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval enable_
$ac_useropt=no
;;
1047 -docdir |
--docdir |
--docdi |
--doc |
--do)
1049 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1050 docdir
=$ac_optarg ;;
1052 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1054 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1055 dvidir
=$ac_optarg ;;
1057 -enable-* |
--enable-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1062 { (exit 1); exit 1; }; }
1063 ac_useropt_orig
=$ac_useropt
1064 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "enable_
$ac_useropt"
1069 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1070 ac_unrecognized_sep
=', ';;
1072 eval enable_
$ac_useropt=\
$ac_optarg ;;
1074 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1075 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1076 |
--exec |
--exe |
--ex)
1077 ac_prev
=exec_prefix
;;
1078 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1079 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1080 |
--exec=* |
--exe=* |
--ex=*)
1081 exec_prefix
=$ac_optarg ;;
1083 -gas |
--gas |
--ga |
--g)
1084 # Obsolete; use --with-gas.
1087 -help |
--help |
--hel |
--he |
-h)
1088 ac_init_help
=long
;;
1089 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1090 ac_init_help
=recursive
;;
1091 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1092 ac_init_help
=short
;;
1094 -host |
--host |
--hos |
--ho)
1095 ac_prev
=host_alias
;;
1096 -host=* |
--host=* |
--hos=* |
--ho=*)
1097 host_alias
=$ac_optarg ;;
1099 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1101 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1103 htmldir
=$ac_optarg ;;
1105 -includedir |
--includedir |
--includedi |
--included |
--include \
1106 |
--includ |
--inclu |
--incl |
--inc)
1107 ac_prev
=includedir
;;
1108 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1109 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1110 includedir
=$ac_optarg ;;
1112 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1114 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1115 infodir
=$ac_optarg ;;
1117 -libdir |
--libdir |
--libdi |
--libd)
1119 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1120 libdir
=$ac_optarg ;;
1122 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1123 |
--libexe |
--libex |
--libe)
1124 ac_prev
=libexecdir
;;
1125 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1126 |
--libexe=* |
--libex=* |
--libe=*)
1127 libexecdir
=$ac_optarg ;;
1129 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1130 ac_prev
=localedir
;;
1131 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1132 localedir
=$ac_optarg ;;
1134 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1135 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1136 ac_prev
=localstatedir
;;
1137 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1138 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1139 localstatedir
=$ac_optarg ;;
1141 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1143 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1144 mandir
=$ac_optarg ;;
1146 -nfp |
--nfp |
--nf)
1147 # Obsolete; use --without-fp.
1150 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1151 |
--no-cr |
--no-c |
-n)
1154 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1155 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1158 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1159 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1160 |
--oldin |
--oldi |
--old |
--ol |
--o)
1161 ac_prev
=oldincludedir
;;
1162 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1163 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1164 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1165 oldincludedir
=$ac_optarg ;;
1167 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1169 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1170 prefix
=$ac_optarg ;;
1172 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1173 |
--program-pre |
--program-pr |
--program-p)
1174 ac_prev
=program_prefix
;;
1175 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1176 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1177 program_prefix
=$ac_optarg ;;
1179 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1180 |
--program-suf |
--program-su |
--program-s)
1181 ac_prev
=program_suffix
;;
1182 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1183 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1184 program_suffix
=$ac_optarg ;;
1186 -program-transform-name |
--program-transform-name \
1187 |
--program-transform-nam |
--program-transform-na \
1188 |
--program-transform-n |
--program-transform- \
1189 |
--program-transform |
--program-transfor \
1190 |
--program-transfo |
--program-transf \
1191 |
--program-trans |
--program-tran \
1192 |
--progr-tra |
--program-tr |
--program-t)
1193 ac_prev
=program_transform_name
;;
1194 -program-transform-name=* |
--program-transform-name=* \
1195 |
--program-transform-nam=* |
--program-transform-na=* \
1196 |
--program-transform-n=* |
--program-transform-=* \
1197 |
--program-transform=* |
--program-transfor=* \
1198 |
--program-transfo=* |
--program-transf=* \
1199 |
--program-trans=* |
--program-tran=* \
1200 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1201 program_transform_name
=$ac_optarg ;;
1203 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1205 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1206 pdfdir
=$ac_optarg ;;
1208 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1210 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1213 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1214 |
-silent |
--silent |
--silen |
--sile |
--sil)
1217 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1219 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1221 sbindir
=$ac_optarg ;;
1223 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1224 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1225 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1227 ac_prev
=sharedstatedir
;;
1228 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1229 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1230 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1232 sharedstatedir
=$ac_optarg ;;
1234 -site |
--site |
--sit)
1236 -site=* |
--site=* |
--sit=*)
1239 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1241 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1242 srcdir
=$ac_optarg ;;
1244 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1245 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1246 ac_prev
=sysconfdir
;;
1247 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1248 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1249 sysconfdir
=$ac_optarg ;;
1251 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1252 ac_prev
=target_alias
;;
1253 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1254 target_alias
=$ac_optarg ;;
1256 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1259 -version |
--version |
--versio |
--versi |
--vers |
-V)
1260 ac_init_version
=: ;;
1263 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1266 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1267 { (exit 1); exit 1; }; }
1268 ac_useropt_orig
=$ac_useropt
1269 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1274 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1275 ac_unrecognized_sep
=', ';;
1277 eval with_
$ac_useropt=\
$ac_optarg ;;
1279 -without-* |
--without-*)
1280 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1283 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1284 { (exit 1); exit 1; }; }
1285 ac_useropt_orig
=$ac_useropt
1286 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287 case $ac_user_opts in
1291 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1292 ac_unrecognized_sep
=', ';;
1294 eval with_
$ac_useropt=no
;;
1297 # Obsolete; use --with-x.
1300 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1301 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1302 ac_prev
=x_includes
;;
1303 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1304 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1305 x_includes
=$ac_optarg ;;
1307 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1308 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1309 ac_prev
=x_libraries
;;
1310 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1311 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1312 x_libraries
=$ac_optarg ;;
1314 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1315 Try \`$0 --help' for more information." >&2
1316 { (exit 1); exit 1; }; }
1320 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1321 # Reject names that are not valid shell variable names.
1322 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1323 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1324 { (exit 1); exit 1; }; }
1325 eval $ac_envvar=\
$ac_optarg
1326 export $ac_envvar ;;
1329 # FIXME: should be removed in autoconf 3.0.
1330 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1331 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1332 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1333 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1339 if test -n "$ac_prev"; then
1340 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1341 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1342 { (exit 1); exit 1; }; }
1345 if test -n "$ac_unrecognized_opts"; then
1346 case $enable_option_checking in
1348 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1349 { (exit 1); exit 1; }; } ;;
1350 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1354 # Check all directory arguments for consistency.
1355 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1356 datadir sysconfdir sharedstatedir localstatedir includedir \
1357 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1358 libdir localedir mandir
1360 eval ac_val
=\$
$ac_var
1361 # Remove trailing slashes.
1364 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1365 eval $ac_var=\
$ac_val;;
1367 # Be sure to have absolute directory names.
1369 [\\/$
]* | ?
:[\\/]* ) continue;;
1370 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1372 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1373 { (exit 1); exit 1; }; }
1376 # There might be people who depend on the old broken behavior: `$host'
1377 # used to hold the argument of --host etc.
1378 # FIXME: To remove some day.
1381 target
=$target_alias
1383 # FIXME: To remove some day.
1384 if test "x$host_alias" != x
; then
1385 if test "x$build_alias" = x
; then
1386 cross_compiling
=maybe
1387 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1388 If a cross compiler is detected then cross compile mode will be used." >&2
1389 elif test "x$build_alias" != "x$host_alias"; then
1395 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1397 test "$silent" = yes && exec 6>/dev
/null
1400 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1401 ac_ls_di
=`ls -di .` &&
1402 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1403 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1404 { (exit 1); exit 1; }; }
1405 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1407 { (exit 1); exit 1; }; }
1410 # Find the source files, if location was not specified.
1411 if test -z "$srcdir"; then
1412 ac_srcdir_defaulted
=yes
1413 # Try the directory containing this script, then the parent directory.
1414 ac_confdir
=`$as_dirname -- "$as_myself" ||
1415 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1416 X"$as_myself" : 'X\(//\)[^/]' \| \
1417 X"$as_myself" : 'X\(//\)$' \| \
1418 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1419 $as_echo X"$as_myself" |
1420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1442 ac_srcdir_defaulted
=no
1444 if test ! -r "$srcdir/$ac_unique_file"; then
1445 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1446 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1447 { (exit 1); exit 1; }; }
1449 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1451 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1452 { (exit 1); exit 1; }; }
1454 # When building in place, set srcdir=.
1455 if test "$ac_abs_confdir" = "$ac_pwd"; then
1458 # Remove unnecessary trailing slashes from srcdir.
1459 # Double slashes in file names in object file debugging info
1460 # mess up M-x gdb in Emacs.
1462 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1464 for ac_var
in $ac_precious_vars; do
1465 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1466 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1467 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1468 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1472 # Report the --help message.
1474 if test "$ac_init_help" = "long"; then
1475 # Omit some internal or obsolete options to make the list less imposing.
1476 # This message is too long to be a string in the A/UX 3.1 sh.
1478 \`configure' configures liblock 0.60 to adapt to many kinds of systems.
1480 Usage: $0 [OPTION]... [VAR=VALUE]...
1482 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1483 VAR=VALUE. See below for descriptions of some of the useful variables.
1485 Defaults for the options are specified in brackets.
1488 -h, --help display this help and exit
1489 --help=short display options specific to this package
1490 --help=recursive display the short help of all the included packages
1491 -V, --version display version information and exit
1492 -q, --quiet, --silent do not print \`checking...' messages
1493 --cache-file=FILE cache test results in FILE [disabled]
1494 -C, --config-cache alias for \`--cache-file=config.cache'
1495 -n, --no-create do not create output files
1496 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1498 Installation directories:
1499 --prefix=PREFIX install architecture-independent files in PREFIX
1500 [$ac_default_prefix]
1501 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1504 By default, \`make install' will install all the files in
1505 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1506 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1507 for instance \`--prefix=\$HOME'.
1509 For better control, use the options below.
1511 Fine tuning of the installation directories:
1512 --bindir=DIR user executables [EPREFIX/bin]
1513 --sbindir=DIR system admin executables [EPREFIX/sbin]
1514 --libexecdir=DIR program executables [EPREFIX/libexec]
1515 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1516 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1517 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1518 --libdir=DIR object code libraries [EPREFIX/lib]
1519 --includedir=DIR C header files [PREFIX/include]
1520 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1521 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1522 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1523 --infodir=DIR info documentation [DATAROOTDIR/info]
1524 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1525 --mandir=DIR man documentation [DATAROOTDIR/man]
1526 --docdir=DIR documentation root [DATAROOTDIR/doc/liblock]
1527 --htmldir=DIR html documentation [DOCDIR]
1528 --dvidir=DIR dvi documentation [DOCDIR]
1529 --pdfdir=DIR pdf documentation [DOCDIR]
1530 --psdir=DIR ps documentation [DOCDIR]
1536 --program-prefix=PREFIX prepend PREFIX to installed program names
1537 --program-suffix=SUFFIX append SUFFIX to installed program names
1538 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1541 --build=BUILD configure
for building on BUILD
[guessed
]
1542 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1546 if test -n "$ac_init_help"; then
1547 case $ac_init_help in
1548 short | recursive
) echo "Configuration of liblock 0.60:";;
1553 --disable-option-checking ignore unrecognized
--enable/--with options
1554 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1555 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1556 --disable-dependency-tracking speeds up one-time build
1557 --enable-dependency-tracking do not reject slow dependency extractors
1558 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1559 --enable-static[=PKGS
] build static libraries
[default
=yes]
1560 --enable-fast-install[=PKGS
]
1561 optimize
for fast installation
[default
=yes]
1562 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1565 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1566 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1567 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1569 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1572 Some influential environment variables
:
1573 CC C compiler
command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1576 nonstandard directory
<lib dir
>
1577 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1578 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1579 you have headers
in a nonstandard directory
<include dir
>
1582 Use these variables to override the choices made by
`configure' or to help
1583 it to find libraries and programs with nonstandard names/locations.
1585 Report bugs to <courier-users@lists.sourceforge.net>.
1590 if test "$ac_init_help" = "recursive"; then
1591 # If there are subdirs, report their specific --help.
1592 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1593 test -d "$ac_dir" ||
1594 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1599 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1602 # A ".." for each directory in $ac_dir_suffix.
1603 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1604 case $ac_top_builddir_sub in
1605 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1609 ac_abs_top_builddir=$ac_pwd
1610 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1611 # for backward compatibility:
1612 ac_top_builddir=$ac_top_build_prefix
1615 .) # We are building in place.
1617 ac_top_srcdir=$ac_top_builddir_sub
1618 ac_abs_top_srcdir=$ac_pwd ;;
1619 [\\/]* | ?:[\\/]* ) # Absolute name.
1620 ac_srcdir=$srcdir$ac_dir_suffix;
1621 ac_top_srcdir=$srcdir
1622 ac_abs_top_srcdir=$srcdir ;;
1624 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1625 ac_top_srcdir=$ac_top_build_prefix$srcdir
1626 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1628 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1630 cd "$ac_dir" || { ac_status=$?; continue; }
1631 # Check for guested configure.
1632 if test -f "$ac_srcdir/configure.gnu"; then
1634 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1635 elif test -f "$ac_srcdir/configure"; then
1637 $SHELL "$ac_srcdir/configure" --help=recursive
1639 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1641 cd "$ac_pwd" || { ac_status=$?; break; }
1645 test -n "$ac_init_help" && exit $ac_status
1646 if $ac_init_version; then
1648 liblock configure 0.60
1649 generated by GNU Autoconf 2.63
1651 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1652 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1653 This configure script is free software; the Free Software Foundation
1654 gives unlimited permission to copy, distribute and modify it.
1658 cat >config.log <<_ACEOF
1659 This file contains any messages produced by compilers while
1660 running configure, to aid debugging if configure makes a mistake.
1662 It was created by liblock $as_me 0.60, which was
1663 generated by GNU Autoconf 2.63. Invocation command line was
1675 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1676 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1677 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1678 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1679 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1681 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1682 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1684 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1685 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1686 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1687 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1688 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1689 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1690 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1698 test -z "$as_dir" && as_dir=.
1699 $as_echo "PATH: $as_dir"
1715 # Keep a trace of the command line.
1716 # Strip out --no-create and --no-recursion so they do not pile up.
1717 # Strip out --silent because we don't want to record it for future runs.
1718 # Also quote any args containing shell meta-characters.
1719 # Make two passes to allow for proper duplicate-argument suppression.
1723 ac_must_keep_next=false
1729 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1731 | -silent | --silent | --silen | --sile | --sil)
1734 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1737 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1739 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1740 if test $ac_must_keep_next = true; then
1741 ac_must_keep_next=false # Got value, back to normal.
1744 *=* | --config-cache | -C | -disable-* | --disable-* \
1745 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1746 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1747 | -with-* | --with-* | -without-* | --without-* | --x)
1748 case "$ac_configure_args0 " in
1749 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1752 -* ) ac_must_keep_next=true ;;
1755 ac_configure_args="$ac_configure_args '$ac_arg'"
1760 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1761 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1763 # When interrupted or exit'd, cleanup temporary files, and complete
1764 # config.log. We remove comments because anyway the quotes in there
1765 # would cause problems or look ugly.
1766 # WARNING: Use '\'' to represent an apostrophe within the trap.
1767 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1768 trap 'exit_status=$?
1769 # Save into config.log some information that might help in debugging.
1774 ## ---------------- ##
1775 ## Cache variables. ##
1776 ## ---------------- ##
1779 # The following way of writing the cache mishandles newlines in values,
1781 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1782 eval ac_val=\$$ac_var
1786 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1787 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1790 _ | IFS | as_nl) ;; #(
1791 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1792 *) $as_unset $ac_var ;;
1797 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1798 *${as_nl}ac_space=\ *)
1800 "s/'\''/'\''\\\\'\'''\''/g;
1801 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1804 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1812 ## ----------------- ##
1813 ## Output variables. ##
1814 ## ----------------- ##
1817 for ac_var in $ac_subst_vars
1819 eval ac_val=\$$ac_var
1821 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1823 $as_echo "$ac_var='\''$ac_val'\''"
1827 if test -n "$ac_subst_files"; then
1829 ## ------------------- ##
1830 ## File substitutions. ##
1831 ## ------------------- ##
1834 for ac_var in $ac_subst_files
1836 eval ac_val=\$$ac_var
1838 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1840 $as_echo "$ac_var='\''$ac_val'\''"
1845 if test -s confdefs.h; then
1855 test "$ac_signal" != 0 &&
1856 $as_echo "$as_me: caught signal $ac_signal"
1857 $as_echo "$as_me: exit $exit_status"
1859 rm -f core *.core core.conftest.* &&
1860 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1863 for ac_signal in 1 2 13 15; do
1864 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1868 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1869 rm -f -r conftest* confdefs.h
1871 # Predefined preprocessor variables.
1873 cat >>confdefs.h <<_ACEOF
1874 #define PACKAGE_NAME "$PACKAGE_NAME"
1878 cat >>confdefs.h <<_ACEOF
1879 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1883 cat >>confdefs.h <<_ACEOF
1884 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_STRING "$PACKAGE_STRING"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1898 # Let the site file select an alternate cache file if it wants to.
1899 # Prefer an explicitly selected file to automatically selected ones.
1902 if test -n "$CONFIG_SITE"; then
1903 ac_site_file1=$CONFIG_SITE
1904 elif test "x$prefix" != xNONE; then
1905 ac_site_file1=$prefix/share/config.site
1906 ac_site_file2=$prefix/etc/config.site
1908 ac_site_file1=$ac_default_prefix/share/config.site
1909 ac_site_file2=$ac_default_prefix/etc/config.site
1911 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1913 test "x$ac_site_file" = xNONE && continue
1914 if test -r "$ac_site_file"; then
1915 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1916 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1917 sed 's/^/| /' "$ac_site_file" >&5
1922 if test -r "$cache_file"; then
1923 # Some versions of bash will fail to source /dev/null (special
1924 # files actually), so we avoid doing that.
1925 if test -f "$cache_file"; then
1926 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1927 $as_echo "$as_me: loading cache $cache_file" >&6;}
1929 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1930 *) . "./$cache_file";;
1934 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1935 $as_echo "$as_me: creating cache $cache_file" >&6;}
1939 # Check that the precious variables saved in the cache have kept the same
1941 ac_cache_corrupted=false
1942 for ac_var in $ac_precious_vars; do
1943 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1944 eval ac_new_set=\$ac_env_${ac_var}_set
1945 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1946 eval ac_new_val=\$ac_env_${ac_var}_value
1947 case $ac_old_set,$ac_new_set in
1949 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1950 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1951 ac_cache_corrupted=: ;;
1953 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1954 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1955 ac_cache_corrupted=: ;;
1958 if test "x$ac_old_val" != "x$ac_new_val"; then
1959 # differences in whitespace do not lead to failure.
1960 ac_old_val_w=`echo x
$ac_old_val`
1961 ac_new_val_w=`echo x
$ac_new_val`
1962 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1963 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1964 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1965 ac_cache_corrupted=:
1967 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1968 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1969 eval $ac_var=\$ac_old_val
1971 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1972 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1973 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1974 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1977 # Pass precious variables to config.status.
1978 if test "$ac_new_set" = set; then
1980 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1981 *) ac_arg=$ac_var=$ac_new_val ;;
1983 case " $ac_configure_args " in
1984 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1985 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1989 if $ac_cache_corrupted; then
1990 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1992 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1993 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1994 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1995 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1996 { (exit 1); exit 1; }; }
2024 ac_cpp='$CPP $CPPFLAGS'
2025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2031 >confdefs.h # Kill PACKAGE_ macros
2034 ac_config_headers="$ac_config_headers config.h
"
2036 am__api_version='1.11'
2039 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2040 if test -f "$ac_dir/install-sh
"; then
2042 ac_install_sh="$ac_aux_dir/install-sh
-c"
2044 elif test -f "$ac_dir/install.sh
"; then
2046 ac_install_sh="$ac_aux_dir/install.sh
-c"
2048 elif test -f "$ac_dir/shtool
"; then
2050 ac_install_sh="$ac_aux_dir/shtool
install -c"
2054 if test -z "$ac_aux_dir"; then
2055 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2056 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2057 { (exit 1); exit 1; }; }
2060 # These three variables are undocumented and unsupported,
2061 # and are intended to be withdrawn in a future Autoconf release.
2062 # They can cause serious problems if a builder's source tree is in a directory
2063 # whose full name contains unusual characters.
2064 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2065 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2066 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2069 # Find a good install program. We prefer a C program (faster),
2070 # so one script is as good as another. But avoid the broken or
2071 # incompatible versions:
2072 # SysV /etc/install, /usr/sbin/install
2073 # SunOS /usr/etc/install
2074 # IRIX /sbin/install
2076 # AmigaOS /C/install, which installs bootblocks on floppy discs
2077 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2078 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2079 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2080 # OS/2's system install, which has a completely different semantic
2081 # ./install, which can be erroneously created by make from ./install.sh.
2082 # Reject install programs that cannot install multiple files.
2083 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2084 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2085 if test -z "$INSTALL"; then
2086 if test "${ac_cv_path_install+set}" = set; then
2087 $as_echo_n "(cached
) " >&6
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093 test -z "$as_dir" && as_dir=.
2094 # Account for people who put trailing slashes in PATH elements.
2096 ./ | .// | /cC/* | \
2097 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2098 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2101 # OSF1 and SCO ODT 3.0 have their own names for install.
2102 # Don't use installbsd from OSF since it installs stuff as root
2104 for ac_prog in ginstall scoinst install; do
2105 for ac_exec_ext in '' $ac_executable_extensions; do
2106 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2107 if test $ac_prog = install &&
2108 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2109 # AIX install. It has an incompatible calling convention.
2111 elif test $ac_prog = install &&
2112 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2113 # program-specific install script used by HP pwplus--don't use.
2116 rm -rf conftest.one conftest.two conftest.dir
2117 echo one > conftest.one
2118 echo two > conftest.two
2120 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2121 test -s conftest.one && test -s conftest.two &&
2122 test -s conftest.dir/conftest.one &&
2123 test -s conftest.dir/conftest.two
2125 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2138 rm -rf conftest.one conftest.two conftest.dir
2141 if test "${ac_cv_path_install+set}" = set; then
2142 INSTALL=$ac_cv_path_install
2144 # As a last resort, use the slow shell script. Don't cache a
2145 # value for INSTALL within a source directory, because that will
2146 # break other packages using the cache if that directory is
2147 # removed, or if the value is a relative name.
2148 INSTALL=$ac_install_sh
2151 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2152 $as_echo "$INSTALL" >&6; }
2154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2155 # It thinks the first close brace ends the variable substitution.
2156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2160 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2162 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2163 $as_echo_n "checking whether build environment is sane...
" >&6; }
2166 echo timestamp > conftest.file
2167 # Reject unsafe characters in $srcdir or the absolute working directory
2168 # name. Accept space and tab only in the latter.
2172 *[\\\"\#\$\&\'\`$am_lf]*)
2173 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2174 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2175 { (exit 1); exit 1; }; };;
2178 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2179 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2180 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2181 { (exit 1); exit 1; }; };;
2184 # Do `set' in a subshell so we don
't clobber the current shell's
2185 # arguments. Must try -L first in case configure is actually a
2186 # symlink; some systems play weird games with the mod time of symlinks
2187 # (eg FreeBSD returns the mod time of the symlink's containing
2190 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2191 if test "$*" = "X"; then
2193 set X
`ls -t "$srcdir/configure" conftest.file`
2196 if test "$*" != "X $srcdir/configure conftest.file" \
2197 && test "$*" != "X conftest.file $srcdir/configure"; then
2199 # If neither matched, then we have a broken ls. This can happen
2200 # if, for instance, CONFIG_SHELL is bash and it inherits a
2201 # broken ls alias from the environment. This has actually
2202 # happened. Such a system could not be considered "sane".
2203 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2204 alias in your environment" >&5
2205 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2206 alias in your environment" >&2;}
2207 { (exit 1); exit 1; }; }
2210 test "$2" = conftest.
file
2216 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2217 Check your system clock" >&5
2218 $as_echo "$as_me: error: newly created file is older than distributed files!
2219 Check your system clock" >&2;}
2220 { (exit 1); exit 1; }; }
2222 { $as_echo "$as_me:$LINENO: result: yes" >&5
2223 $as_echo "yes" >&6; }
2224 test "$program_prefix" != NONE
&&
2225 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2226 # Use a double $ so make ignores it.
2227 test "$program_suffix" != NONE
&&
2228 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2229 # Double any \ or $.
2230 # By default was `s,x,x', remove it if useless.
2231 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2232 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2234 # expand $ac_aux_dir to an absolute path
2235 am_aux_dir
=`cd $ac_aux_dir && pwd`
2237 if test x
"${MISSING+set}" != xset
; then
2240 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2242 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2245 # Use eval to expand $SHELL
2246 if eval "$MISSING --run true"; then
2247 am_missing_run
="$MISSING --run "
2250 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2251 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2254 if test x
"${install_sh}" != xset
; then
2257 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2259 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2263 # Installed binaries are usually stripped using `strip' when the user
2264 # run `make install-strip'. However `strip' might not be the right
2265 # tool to use in cross-compilation environments, therefore Automake
2266 # will honor the `STRIP' environment variable to overrule this program.
2267 if test "$cross_compiling" != no
; then
2268 if test -n "$ac_tool_prefix"; then
2269 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2270 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2271 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 $as_echo_n "checking for $ac_word... " >&6; }
2273 if test "${ac_cv_prog_STRIP+set}" = set; then
2274 $as_echo_n "(cached) " >&6
2276 if test -n "$STRIP"; then
2277 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir
=.
2284 for ac_exec_ext
in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2287 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 STRIP
=$ac_cv_prog_STRIP
2297 if test -n "$STRIP"; then
2298 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2299 $as_echo "$STRIP" >&6; }
2301 { $as_echo "$as_me:$LINENO: result: no" >&5
2302 $as_echo "no" >&6; }
2307 if test -z "$ac_cv_prog_STRIP"; then
2309 # Extract the first word of "strip", so it can be a program name with args.
2310 set dummy strip
; ac_word
=$2
2311 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2312 $as_echo_n "checking for $ac_word... " >&6; }
2313 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2314 $as_echo_n "(cached) " >&6
2316 if test -n "$ac_ct_STRIP"; then
2317 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2323 test -z "$as_dir" && as_dir
=.
2324 for ac_exec_ext
in '' $ac_executable_extensions; do
2325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2326 ac_cv_prog_ac_ct_STRIP
="strip"
2327 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2336 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2337 if test -n "$ac_ct_STRIP"; then
2338 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2339 $as_echo "$ac_ct_STRIP" >&6; }
2341 { $as_echo "$as_me:$LINENO: result: no" >&5
2342 $as_echo "no" >&6; }
2345 if test "x$ac_ct_STRIP" = x
; then
2348 case $cross_compiling:$ac_tool_warned in
2350 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2352 ac_tool_warned
=yes ;;
2357 STRIP
="$ac_cv_prog_STRIP"
2361 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2363 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2364 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2365 if test -z "$MKDIR_P"; then
2366 if test "${ac_cv_path_mkdir+set}" = set; then
2367 $as_echo_n "(cached) " >&6
2369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2370 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2373 test -z "$as_dir" && as_dir
=.
2374 for ac_prog
in mkdir gmkdir
; do
2375 for ac_exec_ext
in '' $ac_executable_extensions; do
2376 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2377 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2378 'mkdir (GNU coreutils) '* | \
2379 'mkdir (coreutils) '* | \
2380 'mkdir (fileutils) '4.1*)
2381 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2391 if test "${ac_cv_path_mkdir+set}" = set; then
2392 MKDIR_P
="$ac_cv_path_mkdir -p"
2394 # As a last resort, use the slow shell script. Don't cache a
2395 # value for MKDIR_P within a source directory, because that will
2396 # break other packages using the cache if that directory is
2397 # removed, or if the value is a relative name.
2398 test -d .
/--version && rmdir .
/--version
2399 MKDIR_P
="$ac_install_sh -d"
2402 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2403 $as_echo "$MKDIR_P" >&6; }
2407 [\\/$
]* | ?
:[\\/]*) ;;
2408 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2411 for ac_prog
in gawk mawk nawk
awk
2413 # Extract the first word of "$ac_prog", so it can be a program name with args.
2414 set dummy
$ac_prog; ac_word
=$2
2415 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2416 $as_echo_n "checking for $ac_word... " >&6; }
2417 if test "${ac_cv_prog_AWK+set}" = set; then
2418 $as_echo_n "(cached) " >&6
2420 if test -n "$AWK"; then
2421 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2427 test -z "$as_dir" && as_dir
=.
2428 for ac_exec_ext
in '' $ac_executable_extensions; do
2429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2430 ac_cv_prog_AWK
="$ac_prog"
2431 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2441 if test -n "$AWK"; then
2442 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2443 $as_echo "$AWK" >&6; }
2445 { $as_echo "$as_me:$LINENO: result: no" >&5
2446 $as_echo "no" >&6; }
2450 test -n "$AWK" && break
2453 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2454 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2456 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2457 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2458 $as_echo_n "(cached) " >&6
2460 cat >conftest.
make <<\_ACEOF
2463 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2465 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2466 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2468 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2470 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2474 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2475 { $as_echo "$as_me:$LINENO: result: yes" >&5
2476 $as_echo "yes" >&6; }
2479 { $as_echo "$as_me:$LINENO: result: no" >&5
2480 $as_echo "no" >&6; }
2481 SET_MAKE
="MAKE=${MAKE-make}"
2484 rm -rf .tst
2>/dev
/null
2485 mkdir .tst
2>/dev
/null
2486 if test -d .tst
; then
2491 rmdir .tst
2>/dev
/null
2493 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2494 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2495 # is not polluted with repeated "-I."
2496 am__isrc
=' -I$(srcdir)'
2497 # test to see if srcdir already configured
2498 if test -f $srcdir/config.status
; then
2499 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2500 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2501 { (exit 1); exit 1; }; }
2505 # test whether we have cygpath
2506 if test -z "$CYGPATH_W"; then
2507 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2508 CYGPATH_W
='cygpath -w'
2515 # Define the identity of the package.
2520 # Some tools Automake needs.
2522 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2525 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2528 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2531 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2534 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2536 # We need awk for the "check" target. The system "awk" is bad on
2538 # Always define AMTAR for backward compatibility.
2540 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2542 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2549 for ac_prog
in gawk mawk nawk
awk
2551 # Extract the first word of "$ac_prog", so it can be a program name with args.
2552 set dummy
$ac_prog; ac_word
=$2
2553 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2554 $as_echo_n "checking for $ac_word... " >&6; }
2555 if test "${ac_cv_prog_AWK+set}" = set; then
2556 $as_echo_n "(cached) " >&6
2558 if test -n "$AWK"; then
2559 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2565 test -z "$as_dir" && as_dir
=.
2566 for ac_exec_ext
in '' $ac_executable_extensions; do
2567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568 ac_cv_prog_AWK
="$ac_prog"
2569 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 if test -n "$AWK"; then
2580 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2581 $as_echo "$AWK" >&6; }
2583 { $as_echo "$as_me:$LINENO: result: no" >&5
2584 $as_echo "no" >&6; }
2588 test -n "$AWK" && break
2592 ac_cpp
='$CPP $CPPFLAGS'
2593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2596 if test -n "$ac_tool_prefix"; then
2597 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2598 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2599 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if test "${ac_cv_prog_CC+set}" = set; then
2602 $as_echo_n "(cached) " >&6
2604 if test -n "$CC"; then
2605 ac_cv_prog_CC
="$CC" # Let the user override the test.
2607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir
=.
2612 for ac_exec_ext
in '' $ac_executable_extensions; do
2613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2615 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 if test -n "$CC"; then
2626 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2627 $as_echo "$CC" >&6; }
2629 { $as_echo "$as_me:$LINENO: result: no" >&5
2630 $as_echo "no" >&6; }
2635 if test -z "$ac_cv_prog_CC"; then
2637 # Extract the first word of "gcc", so it can be a program name with args.
2638 set dummy gcc
; ac_word
=$2
2639 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2640 $as_echo_n "checking for $ac_word... " >&6; }
2641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2642 $as_echo_n "(cached) " >&6
2644 if test -n "$ac_ct_CC"; then
2645 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2651 test -z "$as_dir" && as_dir
=.
2652 for ac_exec_ext
in '' $ac_executable_extensions; do
2653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2654 ac_cv_prog_ac_ct_CC
="gcc"
2655 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2664 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2665 if test -n "$ac_ct_CC"; then
2666 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2667 $as_echo "$ac_ct_CC" >&6; }
2669 { $as_echo "$as_me:$LINENO: result: no" >&5
2670 $as_echo "no" >&6; }
2673 if test "x$ac_ct_CC" = x
; then
2676 case $cross_compiling:$ac_tool_warned in
2678 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2680 ac_tool_warned
=yes ;;
2688 if test -z "$CC"; then
2689 if test -n "$ac_tool_prefix"; then
2690 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2691 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2692 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2693 $as_echo_n "checking for $ac_word... " >&6; }
2694 if test "${ac_cv_prog_CC+set}" = set; then
2695 $as_echo_n "(cached) " >&6
2697 if test -n "$CC"; then
2698 ac_cv_prog_CC
="$CC" # Let the user override the test.
2700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2704 test -z "$as_dir" && as_dir
=.
2705 for ac_exec_ext
in '' $ac_executable_extensions; do
2706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2707 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2708 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 if test -n "$CC"; then
2719 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2720 $as_echo "$CC" >&6; }
2722 { $as_echo "$as_me:$LINENO: result: no" >&5
2723 $as_echo "no" >&6; }
2729 if test -z "$CC"; then
2730 # Extract the first word of "cc", so it can be a program name with args.
2731 set dummy cc
; ac_word
=$2
2732 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if test "${ac_cv_prog_CC+set}" = set; then
2735 $as_echo_n "(cached) " >&6
2737 if test -n "$CC"; then
2738 ac_cv_prog_CC
="$CC" # Let the user override the test.
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 for ac_exec_ext
in '' $ac_executable_extensions; do
2747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2749 ac_prog_rejected
=yes
2753 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 if test $ac_prog_rejected = yes; then
2761 # We found a bogon in the path, so make sure we never use it.
2762 set dummy
$ac_cv_prog_CC
2764 if test $# != 0; then
2765 # We chose a different compiler from the bogus one.
2766 # However, it has the same basename, so the bogon will be chosen
2767 # first if we set CC to just the basename; use the full file name.
2769 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2775 if test -n "$CC"; then
2776 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2777 $as_echo "$CC" >&6; }
2779 { $as_echo "$as_me:$LINENO: result: no" >&5
2780 $as_echo "no" >&6; }
2785 if test -z "$CC"; then
2786 if test -n "$ac_tool_prefix"; then
2787 for ac_prog
in cl.exe
2789 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2790 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2791 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2792 $as_echo_n "checking for $ac_word... " >&6; }
2793 if test "${ac_cv_prog_CC+set}" = set; then
2794 $as_echo_n "(cached) " >&6
2796 if test -n "$CC"; then
2797 ac_cv_prog_CC
="$CC" # Let the user override the test.
2799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2803 test -z "$as_dir" && as_dir
=.
2804 for ac_exec_ext
in '' $ac_executable_extensions; do
2805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2806 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2807 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2817 if test -n "$CC"; then
2818 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2819 $as_echo "$CC" >&6; }
2821 { $as_echo "$as_me:$LINENO: result: no" >&5
2822 $as_echo "no" >&6; }
2826 test -n "$CC" && break
2829 if test -z "$CC"; then
2831 for ac_prog
in cl.exe
2833 # Extract the first word of "$ac_prog", so it can be a program name with args.
2834 set dummy
$ac_prog; ac_word
=$2
2835 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$ac_ct_CC"; then
2841 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir
=.
2848 for ac_exec_ext
in '' $ac_executable_extensions; do
2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2850 ac_cv_prog_ac_ct_CC
="$ac_prog"
2851 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2861 if test -n "$ac_ct_CC"; then
2862 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2863 $as_echo "$ac_ct_CC" >&6; }
2865 { $as_echo "$as_me:$LINENO: result: no" >&5
2866 $as_echo "no" >&6; }
2870 test -n "$ac_ct_CC" && break
2873 if test "x$ac_ct_CC" = x
; then
2876 case $cross_compiling:$ac_tool_warned in
2878 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2880 ac_tool_warned
=yes ;;
2889 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2892 See \`config.log' for more details." >&5
2893 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2894 See \`config.log' for more details." >&2;}
2895 { (exit 1); exit 1; }; }; }
2897 # Provide some information about the compiler.
2898 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2901 { (ac_try
="$ac_compiler --version >&5"
2903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2904 *) ac_try_echo=$ac_try;;
2906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2907 $as_echo "$ac_try_echo") >&5
2908 (eval "$ac_compiler --version >&5") 2>&5
2910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }
2912 { (ac_try="$ac_compiler -v >&5"
2914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2915 *) ac_try_echo
=$ac_try;;
2917 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2918 $as_echo "$ac_try_echo") >&5
2919 (eval "$ac_compiler -v >&5") 2>&5
2921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }
2923 { (ac_try
="$ac_compiler -V >&5"
2925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2929 $as_echo "$ac_try_echo") >&5
2930 (eval "$ac_compiler -V >&5") 2>&5
2932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }
2935 cat >conftest.$ac_ext <<_ACEOF
2938 cat confdefs.h >>conftest.$ac_ext
2939 cat >>conftest.$ac_ext <<_ACEOF
2940 /* end confdefs.h. */
2950 ac_clean_files_save=$ac_clean_files
2951 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2952 # Try to create an executable without -o first, disregard a.out.
2953 # It will help us diagnose broken compilers, and finding out an intuition
2955 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2956 $as_echo_n "checking for C compiler default output file name... " >&6; }
2957 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2959 # The possible output files:
2960 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2963 for ac_file in $ac_files
2966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2967 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2972 if { (ac_try="$ac_link_default"
2974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2975 *) ac_try_echo
=$ac_try;;
2977 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2978 $as_echo "$ac_try_echo") >&5
2979 (eval "$ac_link_default") 2>&5
2981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); }; then
2983 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2984 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2985 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2986 # so that the user can short-circuit this test for compilers unknown to
2988 for ac_file
in $ac_files ''
2990 test -f "$ac_file" ||
continue
2992 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2995 # We found the default executable, but exeext='' is most
2999 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3001 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3003 # We set ac_cv_exeext here because the later test for it is not
3004 # safe: cross compilers may not add the suffix if given an `-o'
3005 # argument, so we may need to know it at that point already.
3006 # Even if this section looks crufty: it has the advantage of
3013 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3019 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3020 $as_echo "$ac_file" >&6; }
3021 if test -z "$ac_file"; then
3022 $as_echo "$as_me: failed program was:" >&5
3023 sed 's/^/| /' conftest.
$ac_ext >&5
3025 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3027 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3028 See \`config.log' for more details." >&5
3029 $as_echo "$as_me: error: C compiler cannot create executables
3030 See \`config.log' for more details." >&2;}
3031 { (exit 77); exit 77; }; }; }
3034 ac_exeext
=$ac_cv_exeext
3036 # Check that the compiler produces executables we can run. If not, either
3037 # the compiler is broken, or we cross compile.
3038 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3039 $as_echo_n "checking whether the C compiler works... " >&6; }
3040 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3041 # If not cross compiling, check that we can run a simple program.
3042 if test "$cross_compiling" != yes; then
3043 if { ac_try
='./$ac_file'
3044 { (case "(($ac_try" in
3045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3049 $as_echo "$ac_try_echo") >&5
3050 (eval "$ac_try") 2>&5
3052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); }; }; then
3056 if test "$cross_compiling" = maybe; then
3059 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3061 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3062 If you meant to cross compile
, use \
`--host'.
3063 See \`config.log
' for more details." >&5
3064 $as_echo "$as_me: error: cannot run C compiled programs.
3065 If you meant to cross compile, use \`--host'.
3066 See \
`config.log' for more details." >&2;}
3067 { (exit 1); exit 1; }; }; }
3071 { $as_echo "$as_me:$LINENO: result: yes" >&5
3072 $as_echo "yes" >&6; }
3074 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3075 ac_clean_files=$ac_clean_files_save
3076 # Check that the compiler produces executables we can run. If not, either
3077 # the compiler is broken, or we cross compile.
3078 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3079 $as_echo_n "checking whether we are cross compiling... " >&6; }
3080 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3081 $as_echo "$cross_compiling" >&6; }
3083 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3084 $as_echo_n "checking for suffix of executables... " >&6; }
3085 if { (ac_try="$ac_link"
3087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3088 *) ac_try_echo
=$ac_try;;
3090 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3091 $as_echo "$ac_try_echo") >&5
3092 (eval "$ac_link") 2>&5
3094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }; then
3096 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3097 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3098 # work properly (i.e., refer to `conftest.exe'), while it won't with
3100 for ac_file
in conftest.exe conftest conftest.
*; do
3101 test -f "$ac_file" ||
continue
3103 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3104 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3110 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3112 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3113 See \`config.log' for more details." >&5
3114 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3115 See \`config.log' for more details." >&2;}
3116 { (exit 1); exit 1; }; }; }
3119 rm -f conftest
$ac_cv_exeext
3120 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3121 $as_echo "$ac_cv_exeext" >&6; }
3123 rm -f conftest.
$ac_ext
3124 EXEEXT
=$ac_cv_exeext
3126 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3127 $as_echo_n "checking for suffix of object files... " >&6; }
3128 if test "${ac_cv_objext+set}" = set; then
3129 $as_echo_n "(cached) " >&6
3131 cat >conftest.
$ac_ext <<_ACEOF
3134 cat confdefs.h
>>conftest.
$ac_ext
3135 cat >>conftest.
$ac_ext <<_ACEOF
3136 /* end confdefs.h. */
3146 rm -f conftest.o conftest.obj
3147 if { (ac_try
="$ac_compile"
3149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3153 $as_echo "$ac_try_echo") >&5
3154 (eval "$ac_compile") 2>&5
3156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; then
3158 for ac_file in conftest.o conftest.obj conftest.*; do
3159 test -f "$ac_file" || continue;
3161 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3162 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3167 $as_echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.$ac_ext >&5
3170 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3172 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3173 See \
`config.log' for more details." >&5
3174 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3175 See \`config.log
' for more details." >&2;}
3176 { (exit 1); exit 1; }; }; }
3179 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3181 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3182 $as_echo "$ac_cv_objext" >&6; }
3183 OBJEXT=$ac_cv_objext
3185 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3186 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3187 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3188 $as_echo_n "(cached) " >&6
3190 cat >conftest.$ac_ext <<_ACEOF
3193 cat confdefs.h >>conftest.$ac_ext
3194 cat >>conftest.$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3208 rm -f conftest.$ac_objext
3209 if { (ac_try="$ac_compile"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3215 $as_echo "$ac_try_echo") >&5
3216 (eval "$ac_compile") 2>conftest.er1
3218 grep -v '^
*+' conftest.er1 >conftest.err
3220 cat conftest.err >&5
3221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } && {
3223 test -z "$ac_c_werror_flag" ||
3224 test ! -s conftest.err
3225 } && test -s conftest.$ac_objext; then
3228 $as_echo "$as_me: failed program was:" >&5
3229 sed 's
/^
/|
/' conftest.$ac_ext >&5
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3238 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3239 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3240 if test $ac_compiler_gnu = yes; then
3245 ac_test_CFLAGS=${CFLAGS+set}
3246 ac_save_CFLAGS=$CFLAGS
3247 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3248 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3249 if test "${ac_cv_prog_cc_g+set}" = set; then
3250 $as_echo_n "(cached) " >&6
3252 ac_save_c_werror_flag=$ac_c_werror_flag
3253 ac_c_werror_flag=yes
3256 cat >conftest.$ac_ext <<_ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3271 rm -f conftest.$ac_objext
3272 if { (ac_try="$ac_compile"
3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3278 $as_echo "$ac_try_echo") >&5
3279 (eval "$ac_compile") 2>conftest.er1
3281 grep -v '^
*+' conftest.er1 >conftest.err
3283 cat conftest.err >&5
3284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); } && {
3286 test -z "$ac_c_werror_flag" ||
3287 test ! -s conftest.err
3288 } && test -s conftest.$ac_objext; then
3291 $as_echo "$as_me: failed program was:" >&5
3292 sed 's
/^
/|
/' conftest.$ac_ext >&5
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.$ac_objext
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>conftest.er1
3320 grep -v '^
*+' conftest.er1 >conftest.err
3322 cat conftest.err >&5
3323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); } && {
3325 test -z "$ac_c_werror_flag" ||
3326 test ! -s conftest.err
3327 } && test -s conftest.$ac_objext; then
3330 $as_echo "$as_me: failed program was:" >&5
3331 sed 's
/^
/|
/' conftest.$ac_ext >&5
3333 ac_c_werror_flag=$ac_save_c_werror_flag
3335 cat >conftest.$ac_ext <<_ACEOF
3338 cat confdefs.h >>conftest.$ac_ext
3339 cat >>conftest.$ac_ext <<_ACEOF
3340 /* end confdefs.h. */
3350 rm -f conftest.$ac_objext
3351 if { (ac_try="$ac_compile"
3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354 *) ac_try_echo=$ac_try;;
3356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3357 $as_echo "$ac_try_echo") >&5
3358 (eval "$ac_compile") 2>conftest.er1
3360 grep -v '^
*+' conftest.er1 >conftest.err
3362 cat conftest.err >&5
3363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); } && {
3365 test -z "$ac_c_werror_flag" ||
3366 test ! -s conftest.err
3367 } && test -s conftest.$ac_objext; then
3370 $as_echo "$as_me: failed program was:" >&5
3371 sed 's
/^
/|
/' conftest.$ac_ext >&5
3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3383 ac_c_werror_flag=$ac_save_c_werror_flag
3385 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3386 $as_echo "$ac_cv_prog_cc_g" >&6; }
3387 if test "$ac_test_CFLAGS" = set; then
3388 CFLAGS=$ac_save_CFLAGS
3389 elif test $ac_cv_prog_cc_g = yes; then
3390 if test "$GCC" = yes; then
3396 if test "$GCC" = yes; then
3402 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3403 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3404 if test "${ac_cv_prog_cc_c89+set}" = set; then
3405 $as_echo_n "(cached) " >&6
3407 ac_cv_prog_cc_c89=no
3409 cat >conftest.$ac_ext <<_ACEOF
3412 cat confdefs.h >>conftest.$ac_ext
3413 cat >>conftest.$ac_ext <<_ACEOF
3414 /* end confdefs.h. */
3417 #include <sys/types.h>
3418 #include <sys/stat.h>
3419 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3420 struct buf
{ int x
; };
3421 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3422 static char
*e
(p
, i
)
3428 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3433 s
= g
(p
, va_arg
(v
,int
));
3438 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3439 function prototypes and stuff
, but not
'\xHH' hex character constants.
3440 These don
't provoke an error unfortunately, instead are silently treated
3441 as 'x
'. The following induces an error, until -std is added to get
3442 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3443 array size at least. It's necessary to
write '\x00'==0 to get something
3444 that
's true only with -std. */
3445 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3447 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3448 inside strings and character constants. */
3450 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3452 int test (int i, double x);
3453 struct s1 {int (*f) (int a);};
3454 struct s2 {int (*f) (double a);};
3455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3461 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3466 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3467 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3469 CC="$ac_save_CC $ac_arg"
3470 rm -f conftest.$ac_objext
3471 if { (ac_try="$ac_compile"
3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3477 $as_echo "$ac_try_echo") >&5
3478 (eval "$ac_compile") 2>conftest.er1
3480 grep -v '^
*+' conftest.er1 >conftest.err
3482 cat conftest.err >&5
3483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } && {
3485 test -z "$ac_c_werror_flag" ||
3486 test ! -s conftest.err
3487 } && test -s conftest.$ac_objext; then
3488 ac_cv_prog_cc_c89=$ac_arg
3490 $as_echo "$as_me: failed program was:" >&5
3491 sed 's
/^
/|
/' conftest.$ac_ext >&5
3496 rm -f core conftest.err conftest.$ac_objext
3497 test "x$ac_cv_prog_cc_c89" != "xno" && break
3499 rm -f conftest.$ac_ext
3504 case "x$ac_cv_prog_cc_c89" in
3506 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3507 $as_echo "none needed" >&6; } ;;
3509 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3510 $as_echo "unsupported" >&6; } ;;
3512 CC="$CC $ac_cv_prog_cc_c89"
3513 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3514 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3519 ac_cpp='$CPP $CPPFLAGS'
3520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3521 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3523 DEPDIR="${am__leading_dot}deps"
3525 ac_config_commands="$ac_config_commands depfiles"
3528 am_make=${MAKE-make}
3529 cat > confinc << 'END
'
3531 @echo this is the am__doit target
3534 # If we don't
find an include directive
, just comment out the code.
3535 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3536 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3540 # First try GNU make style include.
3541 echo "include confinc" > confmf
3542 # Ignore all kinds of additional output from `make'.
3543 case `$am_make -s -f confmf 2> /dev/null` in #(
3544 *the\ am__doit\ target
*)
3550 # Now try BSD make style include.
3551 if test "$am__include" = "#"; then
3552 echo '.include "confinc"' > confmf
3553 case `$am_make -s -f confmf 2> /dev/null` in #(
3554 *the\ am__doit\ target
*)
3555 am__include
=.include
3563 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3564 $as_echo "$_am_result" >&6; }
3565 rm -f confinc confmf
3567 # Check whether --enable-dependency-tracking was given.
3568 if test "${enable_dependency_tracking+set}" = set; then
3569 enableval
=$enable_dependency_tracking;
3572 if test "x$enable_dependency_tracking" != xno
; then
3573 am_depcomp
="$ac_aux_dir/depcomp"
3576 if test "x$enable_dependency_tracking" != xno; then
3586 depcc
="$CC" am_compiler_list
=
3588 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3589 $as_echo_n "checking dependency style of $depcc... " >&6; }
3590 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3591 $as_echo_n "(cached) " >&6
3593 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3594 # We make a subdir and do the tests there. Otherwise we can end up
3595 # making bogus files that we don't know about and never remove. For
3596 # instance it was reported that on HP-UX the gcc test will end up
3597 # making a dummy file named `D' -- because `-MD' means `put the output
3600 # Copy depcomp to subdir because otherwise we won't find it if we're
3601 # using a relative directory.
3602 cp "$am_depcomp" conftest.dir
3604 # We will build objects and dependencies in a subdirectory because
3605 # it helps to detect inapplicable dependency modes. For instance
3606 # both Tru64's cc and ICC support -MD to output dependencies as a
3607 # side effect of compilation, but ICC will put the dependencies in
3608 # the current directory while Tru64 will put them in the object
3612 am_cv_CC_dependencies_compiler_type
=none
3613 if test "$am_compiler_list" = ""; then
3614 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3617 case " $depcc " in #(
3618 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3621 for depmode
in $am_compiler_list; do
3622 # Setup a source with many dependencies, because some compilers
3623 # like to wrap large dependency lists on column 80 (with \), and
3624 # we should not choose a depcomp mode which is confused by this.
3626 # We need to recreate these files for each test, as the compiler may
3627 # overwrite some of them when testing with obscure command lines.
3628 # This happens at least with the AIX C compiler.
3630 for i
in 1 2 3 4 5 6; do
3631 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3632 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3633 # Solaris 8's {/usr,}/bin/sh.
3634 touch sub
/conftst
$i.h
3636 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3638 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3639 # mode. It turns out that the SunPro C++ compiler does not properly
3640 # handle `-M -o', and we need to detect this. Also, some Intel
3641 # versions had trouble with output in subdirs
3642 am__obj
=sub
/conftest.
${OBJEXT-o}
3643 am__minus_obj
="-o $am__obj"
3646 # This depmode causes a compiler race in universal mode.
3647 test "$am__universal" = false ||
continue
3650 # after this tag, mechanisms are not by side-effect, so they'll
3651 # only be used when explicitly requested
3652 if test "x$enable_dependency_tracking" = xyes
; then
3658 msvisualcpp | msvcmsys
)
3659 # This compiler won't grok `-c -o', but also, the minuso test has
3660 # not run yet. These depmodes are late enough in the game, and
3661 # so weak that their functioning should not be impacted.
3662 am__obj
=conftest.
${OBJEXT-o}
3667 if depmode
=$depmode \
3668 source=sub
/conftest.c object
=$am__obj \
3669 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3670 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3671 >/dev
/null
2>conftest.err
&&
3672 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3673 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3674 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3675 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3676 # icc doesn't choke on unknown options, it will just issue warnings
3677 # or remarks (even with -Werror). So we grep stderr for any message
3678 # that says an option was ignored or not supported.
3679 # When given -MP, icc 7.0 and 7.1 complain thusly:
3680 # icc: Command line warning: ignoring option '-M'; no argument required
3681 # The diagnosis changed in icc 8.0:
3682 # icc: Command line remark: option '-MP' not supported
3683 if (grep 'ignoring option' conftest.err ||
3684 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3685 am_cv_CC_dependencies_compiler_type
=$depmode
3694 am_cv_CC_dependencies_compiler_type
=none
3698 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3699 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3700 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3703 test "x$enable_dependency_tracking" != xno \
3704 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3706 am__fastdepCC_FALSE
='#'
3708 am__fastdepCC_TRUE
='#'
3709 am__fastdepCC_FALSE
=
3713 # Find a good install program. We prefer a C program (faster),
3714 # so one script is as good as another. But avoid the broken or
3715 # incompatible versions:
3716 # SysV /etc/install, /usr/sbin/install
3717 # SunOS /usr/etc/install
3718 # IRIX /sbin/install
3720 # AmigaOS /C/install, which installs bootblocks on floppy discs
3721 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3722 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3723 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3724 # OS/2's system install, which has a completely different semantic
3725 # ./install, which can be erroneously created by make from ./install.sh.
3726 # Reject install programs that cannot install multiple files.
3727 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3728 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3729 if test -z "$INSTALL"; then
3730 if test "${ac_cv_path_install+set}" = set; then
3731 $as_echo_n "(cached) " >&6
3733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3737 test -z "$as_dir" && as_dir
=.
3738 # Account for people who put trailing slashes in PATH elements.
3740 .
/ | .
// |
/cC
/* | \
3741 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3742 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3745 # OSF1 and SCO ODT 3.0 have their own names for install.
3746 # Don't use installbsd from OSF since it installs stuff as root
3748 for ac_prog
in ginstall scoinst
install; do
3749 for ac_exec_ext
in '' $ac_executable_extensions; do
3750 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3751 if test $ac_prog = install &&
3752 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3753 # AIX install. It has an incompatible calling convention.
3755 elif test $ac_prog = install &&
3756 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3757 # program-specific install script used by HP pwplus--don't use.
3760 rm -rf conftest.one conftest.two conftest.dir
3761 echo one
> conftest.one
3762 echo two
> conftest.two
3764 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3765 test -s conftest.one
&& test -s conftest.two
&&
3766 test -s conftest.dir
/conftest.one
&&
3767 test -s conftest.dir
/conftest.two
3769 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3782 rm -rf conftest.one conftest.two conftest.dir
3785 if test "${ac_cv_path_install+set}" = set; then
3786 INSTALL
=$ac_cv_path_install
3788 # As a last resort, use the slow shell script. Don't cache a
3789 # value for INSTALL within a source directory, because that will
3790 # break other packages using the cache if that directory is
3791 # removed, or if the value is a relative name.
3792 INSTALL
=$ac_install_sh
3795 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3796 $as_echo "$INSTALL" >&6; }
3798 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3799 # It thinks the first close brace ends the variable substitution.
3800 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3802 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3804 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3806 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3807 $as_echo_n "checking whether ln -s works... " >&6; }
3809 if test "$LN_S" = "ln -s"; then
3810 { $as_echo "$as_me:$LINENO: result: yes" >&5
3811 $as_echo "yes" >&6; }
3813 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3814 $as_echo "no, using $LN_S" >&6; }
3819 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3820 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3825 macro_version
='2.2.6'
3826 macro_revision
='1.3012'
3840 ltmain
="$ac_aux_dir/ltmain.sh"
3842 # Make sure we can run config.sub.
3843 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3844 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3845 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3846 { (exit 1); exit 1; }; }
3848 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3849 $as_echo_n "checking build system type... " >&6; }
3850 if test "${ac_cv_build+set}" = set; then
3851 $as_echo_n "(cached) " >&6
3853 ac_build_alias
=$build_alias
3854 test "x$ac_build_alias" = x
&&
3855 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3856 test "x$ac_build_alias" = x
&&
3857 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3858 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3859 { (exit 1); exit 1; }; }
3860 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3861 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3862 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3863 { (exit 1); exit 1; }; }
3866 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3867 $as_echo "$ac_cv_build" >&6; }
3868 case $ac_cv_build in
3870 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3871 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3872 { (exit 1); exit 1; }; };;
3875 ac_save_IFS
=$IFS; IFS
='-'
3881 # Remember, the first character of IFS is used to create $*,
3882 # except with old shells:
3885 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3888 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3889 $as_echo_n "checking host system type... " >&6; }
3890 if test "${ac_cv_host+set}" = set; then
3891 $as_echo_n "(cached) " >&6
3893 if test "x$host_alias" = x
; then
3894 ac_cv_host
=$ac_cv_build
3896 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3897 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3898 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3899 { (exit 1); exit 1; }; }
3903 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3904 $as_echo "$ac_cv_host" >&6; }
3907 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3908 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3909 { (exit 1); exit 1; }; };;
3912 ac_save_IFS
=$IFS; IFS
='-'
3918 # Remember, the first character of IFS is used to create $*,
3919 # except with old shells:
3922 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3925 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3926 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3927 if test "${ac_cv_path_SED+set}" = set; then
3928 $as_echo_n "(cached) " >&6
3930 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3931 for ac_i
in 1 2 3 4 5 6 7; do
3932 ac_script
="$ac_script$as_nl$ac_script"
3934 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3935 $as_unset ac_script || ac_script
=
3936 if test -z "$SED"; then
3937 ac_path_SED_found
=false
3938 # Loop through the user's path and test for each of PROGNAME-LIST
3939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3943 test -z "$as_dir" && as_dir
=.
3944 for ac_prog
in sed gsed
; do
3945 for ac_exec_ext
in '' $ac_executable_extensions; do
3946 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3947 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3948 # Check for GNU ac_path_SED and select it if it is found.
3949 # Check for GNU $ac_path_SED
3950 case `"$ac_path_SED" --version 2>&1` in
3952 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3955 $as_echo_n 0123456789 >"conftest.in"
3958 cat "conftest.in" "conftest.in" >"conftest.tmp"
3959 mv "conftest.tmp" "conftest.in"
3960 cp "conftest.in" "conftest.nl"
3961 $as_echo '' >> "conftest.nl"
3962 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3963 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3964 ac_count
=`expr $ac_count + 1`
3965 if test $ac_count -gt ${ac_path_SED_max-0}; then
3966 # Best one so far, save it but keep looking for a better one
3967 ac_cv_path_SED
="$ac_path_SED"
3968 ac_path_SED_max
=$ac_count
3970 # 10*(2^10) chars as input seems more than enough
3971 test $ac_count -gt 10 && break
3973 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3976 $ac_path_SED_found && break 3
3981 if test -z "$ac_cv_path_SED"; then
3982 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3983 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3984 { (exit 1); exit 1; }; }
3991 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3992 $as_echo "$ac_cv_path_SED" >&6; }
3993 SED
="$ac_cv_path_SED"
3996 test -z "$SED" && SED
=sed
3997 Xsed
="$SED -e 1s/^X//"
4009 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4010 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4011 if test "${ac_cv_path_GREP+set}" = set; then
4012 $as_echo_n "(cached) " >&6
4014 if test -z "$GREP"; then
4015 ac_path_GREP_found
=false
4016 # Loop through the user's path and test for each of PROGNAME-LIST
4017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4018 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4021 test -z "$as_dir" && as_dir
=.
4022 for ac_prog
in grep ggrep
; do
4023 for ac_exec_ext
in '' $ac_executable_extensions; do
4024 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4025 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4026 # Check for GNU ac_path_GREP and select it if it is found.
4027 # Check for GNU $ac_path_GREP
4028 case `"$ac_path_GREP" --version 2>&1` in
4030 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4033 $as_echo_n 0123456789 >"conftest.in"
4036 cat "conftest.in" "conftest.in" >"conftest.tmp"
4037 mv "conftest.tmp" "conftest.in"
4038 cp "conftest.in" "conftest.nl"
4039 $as_echo 'GREP' >> "conftest.nl"
4040 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4041 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4042 ac_count
=`expr $ac_count + 1`
4043 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4044 # Best one so far, save it but keep looking for a better one
4045 ac_cv_path_GREP
="$ac_path_GREP"
4046 ac_path_GREP_max
=$ac_count
4048 # 10*(2^10) chars as input seems more than enough
4049 test $ac_count -gt 10 && break
4051 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4054 $ac_path_GREP_found && break 3
4059 if test -z "$ac_cv_path_GREP"; then
4060 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4061 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4062 { (exit 1); exit 1; }; }
4065 ac_cv_path_GREP
=$GREP
4069 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4070 $as_echo "$ac_cv_path_GREP" >&6; }
4071 GREP
="$ac_cv_path_GREP"
4074 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4075 $as_echo_n "checking for egrep... " >&6; }
4076 if test "${ac_cv_path_EGREP+set}" = set; then
4077 $as_echo_n "(cached) " >&6
4079 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4080 then ac_cv_path_EGREP
="$GREP -E"
4082 if test -z "$EGREP"; then
4083 ac_path_EGREP_found
=false
4084 # Loop through the user's path and test for each of PROGNAME-LIST
4085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4086 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4089 test -z "$as_dir" && as_dir
=.
4090 for ac_prog
in egrep; do
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4093 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4094 # Check for GNU ac_path_EGREP and select it if it is found.
4095 # Check for GNU $ac_path_EGREP
4096 case `"$ac_path_EGREP" --version 2>&1` in
4098 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4101 $as_echo_n 0123456789 >"conftest.in"
4104 cat "conftest.in" "conftest.in" >"conftest.tmp"
4105 mv "conftest.tmp" "conftest.in"
4106 cp "conftest.in" "conftest.nl"
4107 $as_echo 'EGREP' >> "conftest.nl"
4108 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4109 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4110 ac_count
=`expr $ac_count + 1`
4111 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4112 # Best one so far, save it but keep looking for a better one
4113 ac_cv_path_EGREP
="$ac_path_EGREP"
4114 ac_path_EGREP_max
=$ac_count
4116 # 10*(2^10) chars as input seems more than enough
4117 test $ac_count -gt 10 && break
4119 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4122 $ac_path_EGREP_found && break 3
4127 if test -z "$ac_cv_path_EGREP"; then
4128 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4129 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4130 { (exit 1); exit 1; }; }
4133 ac_cv_path_EGREP
=$EGREP
4138 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4139 $as_echo "$ac_cv_path_EGREP" >&6; }
4140 EGREP
="$ac_cv_path_EGREP"
4143 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4144 $as_echo_n "checking for fgrep... " >&6; }
4145 if test "${ac_cv_path_FGREP+set}" = set; then
4146 $as_echo_n "(cached) " >&6
4148 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4149 then ac_cv_path_FGREP
="$GREP -F"
4151 if test -z "$FGREP"; then
4152 ac_path_FGREP_found
=false
4153 # Loop through the user's path and test for each of PROGNAME-LIST
4154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4155 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4158 test -z "$as_dir" && as_dir
=.
4159 for ac_prog
in fgrep
; do
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4162 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4163 # Check for GNU ac_path_FGREP and select it if it is found.
4164 # Check for GNU $ac_path_FGREP
4165 case `"$ac_path_FGREP" --version 2>&1` in
4167 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4170 $as_echo_n 0123456789 >"conftest.in"
4173 cat "conftest.in" "conftest.in" >"conftest.tmp"
4174 mv "conftest.tmp" "conftest.in"
4175 cp "conftest.in" "conftest.nl"
4176 $as_echo 'FGREP' >> "conftest.nl"
4177 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4178 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4179 ac_count
=`expr $ac_count + 1`
4180 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4181 # Best one so far, save it but keep looking for a better one
4182 ac_cv_path_FGREP
="$ac_path_FGREP"
4183 ac_path_FGREP_max
=$ac_count
4185 # 10*(2^10) chars as input seems more than enough
4186 test $ac_count -gt 10 && break
4188 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4191 $ac_path_FGREP_found && break 3
4196 if test -z "$ac_cv_path_FGREP"; then
4197 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4198 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4199 { (exit 1); exit 1; }; }
4202 ac_cv_path_FGREP
=$FGREP
4207 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4208 $as_echo "$ac_cv_path_FGREP" >&6; }
4209 FGREP
="$ac_cv_path_FGREP"
4212 test -z "$GREP" && GREP
=grep
4232 # Check whether --with-gnu-ld was given.
4233 if test "${with_gnu_ld+set}" = set; then
4234 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4240 if test "$GCC" = yes; then
4241 # Check if gcc -print-prog-name=ld gives a path.
4242 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4243 $as_echo_n "checking for ld used by $CC... " >&6; }
4246 # gcc leaves a trailing carriage return which upsets mingw
4247 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4249 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4252 # Accept absolute paths.
4254 re_direlt
='/[^/][^/]*/\.\./'
4255 # Canonicalize the pathname of ld
4256 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4257 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4258 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4260 test -z "$LD" && LD
="$ac_prog"
4263 # If it fails, then pretend we aren't using GCC.
4267 # If it is relative, then search for the first ld in PATH.
4271 elif test "$with_gnu_ld" = yes; then
4272 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4273 $as_echo_n "checking for GNU ld... " >&6; }
4275 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4276 $as_echo_n "checking for non-GNU ld... " >&6; }
4278 if test "${lt_cv_path_LD+set}" = set; then
4279 $as_echo_n "(cached) " >&6
4281 if test -z "$LD"; then
4282 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4283 for ac_dir
in $PATH; do
4285 test -z "$ac_dir" && ac_dir
=.
4286 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4287 lt_cv_path_LD
="$ac_dir/$ac_prog"
4288 # Check to see if the program is GNU ld. I'd rather use --version,
4289 # but apparently some variants of GNU ld only accept -v.
4290 # Break only if it was the GNU/non-GNU ld that we prefer.
4291 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4292 *GNU
* |
*'with BFD'*)
4293 test "$with_gnu_ld" != no
&& break
4296 test "$with_gnu_ld" != yes && break
4303 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4308 if test -n "$LD"; then
4309 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4310 $as_echo "$LD" >&6; }
4312 { $as_echo "$as_me:$LINENO: result: no" >&5
4313 $as_echo "no" >&6; }
4315 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4316 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4317 { (exit 1); exit 1; }; }
4318 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4319 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4320 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4321 $as_echo_n "(cached) " >&6
4323 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4324 case `$LD -v 2>&1 </dev/null` in
4325 *GNU
* |
*'with BFD'*)
4326 lt_cv_prog_gnu_ld
=yes
4329 lt_cv_prog_gnu_ld
=no
4333 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4334 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4335 with_gnu_ld
=$lt_cv_prog_gnu_ld
4345 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4346 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4347 if test "${lt_cv_path_NM+set}" = set; then
4348 $as_echo_n "(cached) " >&6
4350 if test -n "$NM"; then
4351 # Let the user override the test.
4354 lt_nm_to_check
="${ac_tool_prefix}nm"
4355 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4356 lt_nm_to_check
="$lt_nm_to_check nm"
4358 for lt_tmp_nm
in $lt_nm_to_check; do
4359 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4360 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4362 test -z "$ac_dir" && ac_dir
=.
4363 tmp_nm
="$ac_dir/$lt_tmp_nm"
4364 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4365 # Check to see if the nm accepts a BSD-compat flag.
4366 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4367 # nm: unknown option "B" ignored
4368 # Tru64's nm complains that /dev/null is an invalid object file
4369 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4370 */dev
/null
* |
*'Invalid file or object type'*)
4371 lt_cv_path_NM
="$tmp_nm -B"
4375 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4377 lt_cv_path_NM
="$tmp_nm -p"
4381 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4382 continue # so that we can try to find one that supports BSD flags
4391 : ${lt_cv_path_NM=no}
4394 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4395 $as_echo "$lt_cv_path_NM" >&6; }
4396 if test "$lt_cv_path_NM" != "no"; then
4399 # Didn't find any BSD compatible name lister, look for dumpbin.
4400 if test -n "$ac_tool_prefix"; then
4401 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4404 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4405 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4408 $as_echo_n "(cached) " >&6
4410 if test -n "$DUMPBIN"; then
4411 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4417 test -z "$as_dir" && as_dir
=.
4418 for ac_exec_ext
in '' $ac_executable_extensions; do
4419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4420 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4421 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4430 DUMPBIN
=$ac_cv_prog_DUMPBIN
4431 if test -n "$DUMPBIN"; then
4432 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4433 $as_echo "$DUMPBIN" >&6; }
4435 { $as_echo "$as_me:$LINENO: result: no" >&5
4436 $as_echo "no" >&6; }
4440 test -n "$DUMPBIN" && break
4443 if test -z "$DUMPBIN"; then
4444 ac_ct_DUMPBIN
=$DUMPBIN
4445 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4447 # Extract the first word of "$ac_prog", so it can be a program name with args.
4448 set dummy
$ac_prog; ac_word
=$2
4449 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4450 $as_echo_n "checking for $ac_word... " >&6; }
4451 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4452 $as_echo_n "(cached) " >&6
4454 if test -n "$ac_ct_DUMPBIN"; then
4455 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir
=.
4462 for ac_exec_ext
in '' $ac_executable_extensions; do
4463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4464 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4465 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4475 if test -n "$ac_ct_DUMPBIN"; then
4476 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4477 $as_echo "$ac_ct_DUMPBIN" >&6; }
4479 { $as_echo "$as_me:$LINENO: result: no" >&5
4480 $as_echo "no" >&6; }
4484 test -n "$ac_ct_DUMPBIN" && break
4487 if test "x$ac_ct_DUMPBIN" = x
; then
4490 case $cross_compiling:$ac_tool_warned in
4492 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4494 ac_tool_warned
=yes ;;
4496 DUMPBIN
=$ac_ct_DUMPBIN
4501 if test "$DUMPBIN" != ":"; then
4505 test -z "$NM" && NM
=nm
4512 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4513 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4514 if test "${lt_cv_nm_interface+set}" = set; then
4515 $as_echo_n "(cached) " >&6
4517 lt_cv_nm_interface
="BSD nm"
4518 echo "int some_variable = 0;" > conftest.
$ac_ext
4519 (eval echo "\"\$as_me:4519: $ac_compile\"" >&5)
4520 (eval "$ac_compile" 2>conftest.err
)
4521 cat conftest.err
>&5
4522 (eval echo "\"\$as_me:4522: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4523 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4524 cat conftest.err
>&5
4525 (eval echo "\"\$as_me:4525: output\"" >&5)
4526 cat conftest.out
>&5
4527 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4528 lt_cv_nm_interface
="MS dumpbin"
4532 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4533 $as_echo "$lt_cv_nm_interface" >&6; }
4535 # find the maximum length of command line arguments
4536 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4537 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4538 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4539 $as_echo_n "(cached) " >&6
4546 # On DJGPP, this test can blow up pretty badly due to problems in libc
4547 # (any single argument exceeding 2000 bytes causes a buffer overrun
4548 # during glob expansion). Even if it were fixed, the result of this
4549 # check would be larger than it should be.
4550 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4554 # Under GNU Hurd, this test is not required because there is
4555 # no limit to the length of command line arguments.
4556 # Libtool will interpret -1 as no limit whatsoever
4557 lt_cv_sys_max_cmd_len
=-1;
4560 cygwin
* | mingw
* | cegcc
*)
4561 # On Win9x/ME, this test blows up -- it succeeds, but takes
4562 # about 5 minutes as the teststring grows exponentially.
4563 # Worse, since 9x/ME are not pre-emptively multitasking,
4564 # you end up with a "frozen" computer, even though with patience
4565 # the test eventually succeeds (with a max line length of 256k).
4566 # Instead, let's just punt: use the minimum linelength reported by
4567 # all of the supported platforms: 8192 (on NT/2K/XP).
4568 lt_cv_sys_max_cmd_len
=8192;
4572 # On AmigaOS with pdksh, this test takes hours, literally.
4573 # So we just punt and use a minimum line length of 8192.
4574 lt_cv_sys_max_cmd_len
=8192;
4577 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4578 # This has been around since 386BSD, at least. Likely further.
4579 if test -x /sbin
/sysctl
; then
4580 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4581 elif test -x /usr
/sbin
/sysctl
; then
4582 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4584 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4586 # And add a safety zone
4587 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4588 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4592 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4593 lt_cv_sys_max_cmd_len
=196608
4597 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4598 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4599 # nice to cause kernel panics so lets avoid the loop below.
4600 # First set a reasonable default.
4601 lt_cv_sys_max_cmd_len
=16384
4603 if test -x /sbin
/sysconfig
; then
4604 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4605 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4610 lt_cv_sys_max_cmd_len
=102400
4612 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4613 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4614 if test -n "$kargmax"; then
4615 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4617 lt_cv_sys_max_cmd_len
=32768
4621 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4622 if test -n "$lt_cv_sys_max_cmd_len"; then
4623 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4624 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4626 # Make teststring a little bigger before we do anything with it.
4627 # a 1K string should be a reasonable start.
4628 for i
in 1 2 3 4 5 6 7 8 ; do
4629 teststring
=$teststring$teststring
4631 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4632 # If test is not a shell built-in, we'll probably end up computing a
4633 # maximum length that is only half of the actual maximum length, but
4635 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4636 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4637 test $i != 17 # 1/2 MB should be enough
4640 teststring
=$teststring$teststring
4642 # Only check the string length outside the loop.
4643 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4645 # Add a significant safety factor because C++ compilers can tack on
4646 # massive amounts of additional arguments before passing them to the
4647 # linker. It appears as though 1/2 is a usable value.
4648 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4655 if test -n $lt_cv_sys_max_cmd_len ; then
4656 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4657 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4659 { $as_echo "$as_me:$LINENO: result: none" >&5
4660 $as_echo "none" >&6; }
4662 max_cmd_len
=$lt_cv_sys_max_cmd_len
4673 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4674 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4675 # Try some XSI features
4678 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4680 && eval 'test $(( 1 + 1 )) -eq 2 \
4681 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4683 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4684 $as_echo "$xsi_shell" >&6; }
4687 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4688 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4690 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4692 && lt_shell_append=yes
4693 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4694 $as_echo "$lt_shell_append" >&6; }
4697 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4707 # test EBCDIC or ASCII
4708 case `echo X|tr X '\101'` in
4709 A) # ASCII based system
4710 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4711 lt_SP2NL='tr \040 \012'
4712 lt_NL2SP='tr \015\012 \040\040'
4714 *) # EBCDIC based system
4715 lt_SP2NL='tr \100 \n'
4716 lt_NL2SP='tr \r\n \100\100'
4728 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4729 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4730 if test "${lt_cv_ld_reload_flag+set}" = set; then
4731 $as_echo_n "(cached
) " >&6
4733 lt_cv_ld_reload_flag='-r'
4735 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4736 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4737 reload_flag=$lt_cv_ld_reload_flag
4738 case $reload_flag in
4740 *) reload_flag=" $reload_flag" ;;
4742 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4745 if test "$GCC" = yes; then
4746 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4748 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4761 if test -n "$ac_tool_prefix"; then
4762 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4763 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4764 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4765 $as_echo_n "checking
for $ac_word...
" >&6; }
4766 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4767 $as_echo_n "(cached
) " >&6
4769 if test -n "$OBJDUMP"; then
4770 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776 test -z "$as_dir" && as_dir=.
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4779 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4780 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4789 OBJDUMP=$ac_cv_prog_OBJDUMP
4790 if test -n "$OBJDUMP"; then
4791 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4792 $as_echo "$OBJDUMP" >&6; }
4794 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4795 $as_echo "no
" >&6; }
4800 if test -z "$ac_cv_prog_OBJDUMP"; then
4801 ac_ct_OBJDUMP=$OBJDUMP
4802 # Extract the first word of "objdump
", so it can be a program name with args.
4803 set dummy objdump; ac_word=$2
4804 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4805 $as_echo_n "checking
for $ac_word...
" >&6; }
4806 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4807 $as_echo_n "(cached
) " >&6
4809 if test -n "$ac_ct_OBJDUMP"; then
4810 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816 test -z "$as_dir" && as_dir=.
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4819 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4820 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4829 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4830 if test -n "$ac_ct_OBJDUMP"; then
4831 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4832 $as_echo "$ac_ct_OBJDUMP" >&6; }
4834 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4835 $as_echo "no
" >&6; }
4838 if test "x
$ac_ct_OBJDUMP" = x; then
4841 case $cross_compiling:$ac_tool_warned in
4843 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4844 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4845 ac_tool_warned=yes ;;
4847 OBJDUMP=$ac_ct_OBJDUMP
4850 OBJDUMP="$ac_cv_prog_OBJDUMP"
4853 test -z "$OBJDUMP" && OBJDUMP=objdump
4863 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4864 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4865 if test "${lt_cv_deplibs_check_method+set}" = set; then
4866 $as_echo_n "(cached
) " >&6
4868 lt_cv_file_magic_cmd='$MAGIC_CMD'
4869 lt_cv_file_magic_test_file=
4870 lt_cv_deplibs_check_method='unknown'
4871 # Need to set the preceding variable on all platforms that support
4872 # interlibrary dependencies.
4873 # 'none' -- dependencies not supported.
4874 # `unknown' -- same as none, but documents that we really don't know.
4875 # 'pass_all' -- all dependencies passed with no checks.
4876 # 'test_compile' -- check by making test program.
4877 # 'file_magic [[regex]]' -- check by looking for files in library path
4878 # which responds to the $file_magic_cmd with a given extended regex.
4879 # If you have `file' or equivalent on your system and you're not sure
4880 # whether `pass_all' will *always* work, you probably want this one.
4884 lt_cv_deplibs_check_method=pass_all
4888 lt_cv_deplibs_check_method=pass_all
4892 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4893 lt_cv_file_magic_cmd='/usr/bin/file -L'
4894 lt_cv_file_magic_test_file=/shlib/libc.so
4898 # func_win32_libid is a shell function defined in ltmain.sh
4899 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4900 lt_cv_file_magic_cmd='func_win32_libid'
4904 # Base MSYS/MinGW do not provide the 'file' command needed by
4905 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4906 # unless we find 'file', for example because we are cross-compiling.
4907 if ( file / ) >/dev/null 2>&1; then
4908 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4909 lt_cv_file_magic_cmd='func_win32_libid'
4911 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4912 lt_cv_file_magic_cmd='$OBJDUMP -f'
4917 # use the weaker test based on 'objdump'. See mingw*.
4918 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4919 lt_cv_file_magic_cmd='$OBJDUMP -f'
4922 darwin* | rhapsody*)
4923 lt_cv_deplibs_check_method=pass_all
4926 freebsd* | dragonfly*)
4927 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4930 # Not sure whether the presence of OpenBSD here was a mistake.
4931 # Let's accept both of them until this is cleared up.
4932 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4933 lt_cv_file_magic_cmd=/usr/bin/file
4934 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4938 lt_cv_deplibs_check_method=pass_all
4943 lt_cv_deplibs_check_method=pass_all
4946 hpux10.20* | hpux11*)
4947 lt_cv_file_magic_cmd=/usr/bin/file
4950 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4951 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4954 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]'
4955 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4958 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4959 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4965 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4966 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4969 irix5* | irix6* | nonstopux*)
4971 *-32|*"-32 ") libmagic=32-bit;;
4972 *-n32|*"-n32 ") libmagic=N32;;
4973 *-64|*"-64 ") libmagic=64-bit;;
4974 *) libmagic=never-match;;
4976 lt_cv_deplibs_check_method=pass_all
4979 # This must be Linux ELF.
4980 linux* | k*bsd*-gnu)
4981 lt_cv_deplibs_check_method=pass_all
4985 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4986 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4988 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4993 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4994 lt_cv_file_magic_cmd=/usr/bin/file
4995 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4999 lt_cv_deplibs_check_method=pass_all
5003 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5004 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5006 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5010 osf3* | osf4* | osf5*)
5011 lt_cv_deplibs_check_method=pass_all
5015 lt_cv_deplibs_check_method=pass_all
5019 lt_cv_deplibs_check_method=pass_all
5022 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5023 lt_cv_deplibs_check_method=pass_all
5027 case $host_vendor in
5029 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]'
5030 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5033 lt_cv_deplibs_check_method=pass_all
5036 lt_cv_file_magic_cmd='/bin/file'
5037 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5040 lt_cv_file_magic_cmd='/bin/file'
5041 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5042 lt_cv_file_magic_test_file=/lib/libc.so
5045 lt_cv_deplibs_check_method=pass_all
5048 lt_cv_deplibs_check_method=pass_all
5054 lt_cv_deplibs_check_method=pass_all
5059 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5060 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5061 file_magic_cmd=$lt_cv_file_magic_cmd
5062 deplibs_check_method=$lt_cv_deplibs_check_method
5063 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5076 if test -n "$ac_tool_prefix"; then
5077 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5078 set dummy ${ac_tool_prefix}ar; ac_word=$2
5079 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5080 $as_echo_n "checking
for $ac_word...
" >&6; }
5081 if test "${ac_cv_prog_AR+set}" = set; then
5082 $as_echo_n "(cached
) " >&6
5084 if test -n "$AR"; then
5085 ac_cv_prog_AR="$AR" # Let the user override the test.
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5094 ac_cv_prog_AR="${ac_tool_prefix}ar"
5095 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5105 if test -n "$AR"; then
5106 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5107 $as_echo "$AR" >&6; }
5109 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5110 $as_echo "no
" >&6; }
5115 if test -z "$ac_cv_prog_AR"; then
5117 # Extract the first word of "ar", so it can be a program name with args.
5118 set dummy ar; ac_word=$2
5119 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5120 $as_echo_n "checking
for $ac_word...
" >&6; }
5121 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5122 $as_echo_n "(cached
) " >&6
5124 if test -n "$ac_ct_AR"; then
5125 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 test -z "$as_dir" && as_dir=.
5132 for ac_exec_ext in '' $ac_executable_extensions; do
5133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5134 ac_cv_prog_ac_ct_AR="ar"
5135 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5144 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5145 if test -n "$ac_ct_AR"; then
5146 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5147 $as_echo "$ac_ct_AR" >&6; }
5149 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5150 $as_echo "no
" >&6; }
5153 if test "x
$ac_ct_AR" = x; then
5156 case $cross_compiling:$ac_tool_warned in
5158 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5159 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5160 ac_tool_warned=yes ;;
5168 test -z "$AR" && AR=ar
5169 test -z "$AR_FLAGS" && AR_FLAGS=cru
5181 if test -n "$ac_tool_prefix"; then
5182 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5183 set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then
5187 $as_echo_n "(cached
) " >&6
5189 if test -n "$STRIP"; then
5190 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip
"
5200 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5209 STRIP=$ac_cv_prog_STRIP
5210 if test -n "$STRIP"; then
5211 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5212 $as_echo "$STRIP" >&6; }
5214 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5215 $as_echo "no
" >&6; }
5220 if test -z "$ac_cv_prog_STRIP"; then
5222 # Extract the first word of "strip
", so it can be a program name with args.
5223 set dummy strip; 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_STRIP+set}" = set; then
5227 $as_echo_n "(cached
) " >&6
5229 if test -n "$ac_ct_STRIP"; then
5230 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip
"
5240 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5249 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5250 if test -n "$ac_ct_STRIP"; then
5251 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5252 $as_echo "$ac_ct_STRIP" >&6; }
5254 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5255 $as_echo "no
" >&6; }
5258 if test "x
$ac_ct_STRIP" = 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 ;;
5270 STRIP="$ac_cv_prog_STRIP"
5273 test -z "$STRIP" && STRIP=:
5280 if test -n "$ac_tool_prefix"; then
5281 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5282 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5283 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5284 $as_echo_n "checking
for $ac_word...
" >&6; }
5285 if test "${ac_cv_prog_RANLIB+set}" = set; then
5286 $as_echo_n "(cached
) " >&6
5288 if test -n "$RANLIB"; then
5289 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5295 test -z "$as_dir" && as_dir=.
5296 for ac_exec_ext in '' $ac_executable_extensions; do
5297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5298 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5299 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5308 RANLIB=$ac_cv_prog_RANLIB
5309 if test -n "$RANLIB"; then
5310 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5311 $as_echo "$RANLIB" >&6; }
5313 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5314 $as_echo "no
" >&6; }
5319 if test -z "$ac_cv_prog_RANLIB"; then
5320 ac_ct_RANLIB=$RANLIB
5321 # Extract the first word of "ranlib
", so it can be a program name with args.
5322 set dummy ranlib; ac_word=$2
5323 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5324 $as_echo_n "checking
for $ac_word...
" >&6; }
5325 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5326 $as_echo_n "(cached
) " >&6
5328 if test -n "$ac_ct_RANLIB"; then
5329 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 test -z "$as_dir" && as_dir=.
5336 for ac_exec_ext in '' $ac_executable_extensions; do
5337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5338 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5339 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5348 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5349 if test -n "$ac_ct_RANLIB"; then
5350 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5351 $as_echo "$ac_ct_RANLIB" >&6; }
5353 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5354 $as_echo "no
" >&6; }
5357 if test "x
$ac_ct_RANLIB" = x; then
5360 case $cross_compiling:$ac_tool_warned in
5362 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5363 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5364 ac_tool_warned=yes ;;
5366 RANLIB=$ac_ct_RANLIB
5369 RANLIB="$ac_cv_prog_RANLIB"
5372 test -z "$RANLIB" && RANLIB=:
5379 # Determine commands to create old-style static archives.
5380 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5381 old_postinstall_cmds='chmod 644 $oldlib'
5382 old_postuninstall_cmds=
5384 if test -n "$RANLIB"; then
5387 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5390 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5393 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5429 # If no C compiler was specified, use CC.
5432 # If no C compiler flags were specified, use CFLAGS.
5433 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5435 # Allow CC to be a program name with arguments.
5439 # Check for command to grab the raw symbol name followed by C symbol from nm.
5440 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5441 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5442 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5443 $as_echo_n "(cached
) " >&6
5446 # These are sane defaults that work on at least a few old systems.
5447 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5449 # Character class describing NM global symbol codes.
5450 symcode='[BCDEGRST]'
5452 # Regexp to match symbols that can be accessed directly from C.
5453 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5455 # Define system-specific variables.
5460 cygwin* | mingw* | pw32* | cegcc*)
5461 symcode='[ABCDGISTW]'
5464 if test "$host_cpu" = ia64; then
5465 symcode='[ABCDEGRST]'
5469 symcode='[BCDEGRST]'
5472 symcode='[BCDEGQRST]'
5483 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5491 # If we're using GNU nm, then use its standard symbol codes.
5492 case `$NM -V 2>&1` in
5493 *GNU* | *'with BFD'*)
5494 symcode='[ABCDGIRSTW]' ;;
5497 # Transform an extracted symbol line into a proper C declaration.
5498 # Some systems (esp. on ia64) link data and code symbols differently,
5499 # so use this general approach.
5500 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5502 # Transform an extracted symbol line into symbol name and symbol address
5503 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5504 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'"
5506 # Handle CRLF in mingw tool chain
5510 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5514 # Try without a prefix underscore, then with it.
5515 for ac_symprfx in "" "_
"; do
5517 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5518 symxfrm="\\1 $ac_symprfx\\2 \\2"
5520 # Write the raw and C identifiers.
5521 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5522 # Fake it for dumpbin and say T for any non-static function
5523 # and D for any global variable.
5524 # Also find C++ and __fastcall symbols from MSVC++,
5525 # which start with @ or ?.
5526 lt_cv_sys_global_symbol_pipe="$AWK '"\
5527 " {last_section=section; section=\$ 3};"\
5528 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5529 " \$ 0!~/External *\|/{next};"\
5530 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5531 " {if(hide[section]) next};"\
5532 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5533 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5534 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5535 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5536 " ' prfx
=^
$ac_symprfx"
5538 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5541 # Check to see that the pipe works correctly.
5545 cat > conftest.$ac_ext <<_LT_EOF
5550 void nm_test_func(void);
5551 void nm_test_func(void){}
5555 int main(){nm_test_var='a';nm_test_func();return(0);}
5558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5559 (eval $ac_compile) 2>&5
5561 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5562 (exit $ac_status); }; then
5563 # Now try to grab the symbols.
5565 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5566 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5568 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5569 (exit $ac_status); } && test -s "$nlist"; then
5570 # Try sorting and uniquifying the output.
5571 if sort "$nlist" | uniq > "$nlist"T; then
5572 mv -f "$nlist"T "$nlist"
5577 # Make sure that we snagged all the symbols we need.
5578 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5579 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5580 cat <<_LT_EOF > conftest.$ac_ext
5586 # Now generate the symbol file.
5587 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5589 cat <<_LT_EOF >> conftest.$ac_ext
5591 /* The mapping between symbol names and symbols. */
5596 lt__PROGRAM__LTX_preloaded_symbols[] =
5598 { "@PROGRAM@
", (void *) 0 },
5600 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5601 cat <<\_LT_EOF >> conftest.$ac_ext
5605 /* This works around a problem in FreeBSD linker */
5606 #ifdef FREEBSD_WORKAROUND
5607 static const void *lt_preloaded_setup() {
5608 return lt__PROGRAM__LTX_preloaded_symbols;
5616 # Now try linking the two files.
5617 mv conftest.$ac_objext conftstm.$ac_objext
5618 lt_save_LIBS="$LIBS"
5619 lt_save_CFLAGS="$CFLAGS"
5620 LIBS="conftstm.
$ac_objext"
5621 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5623 (eval $ac_link) 2>&5
5625 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5626 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5629 LIBS="$lt_save_LIBS"
5630 CFLAGS="$lt_save_CFLAGS"
5632 echo "cannot
find nm_test_func
in $nlist" >&5
5635 echo "cannot
find nm_test_var
in $nlist" >&5
5638 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5641 echo "$progname: failed program was
:" >&5
5642 cat conftest.$ac_ext >&5
5644 rm -rf conftest* conftst*
5646 # Do not use the global_symbol_pipe unless it works.
5647 if test "$pipe_works" = yes; then
5650 lt_cv_sys_global_symbol_pipe=
5656 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5657 lt_cv_sys_global_symbol_to_cdecl=
5659 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5660 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5661 $as_echo "failed
" >&6; }
5663 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5664 $as_echo "ok
" >&6; }
5689 # Check whether --enable-libtool-lock was given.
5690 if test "${enable_libtool_lock+set}" = set; then
5691 enableval=$enable_libtool_lock;
5694 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5696 # Some flags need to be propagated to the compiler or linker for good
5700 # Find out which ABI we are using.
5701 echo 'int i;' > conftest.$ac_ext
5702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5703 (eval $ac_compile) 2>&5
5705 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5706 (exit $ac_status); }; then
5707 case `/usr/bin/file conftest.$ac_objext` in
5719 # Find out which ABI we are using.
5720 echo '#line 5720 "configure
"' > conftest.$ac_ext
5721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5722 (eval $ac_compile) 2>&5
5724 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5725 (exit $ac_status); }; then
5726 if test "$lt_cv_prog_gnu_ld" = yes; then
5727 case `/usr/bin/file conftest.$ac_objext` in
5729 LD="${LD-ld} -melf32bsmip"
5732 LD="${LD-ld} -melf32bmipn32"
5735 LD="${LD-ld} -melf64bmip"
5739 case `/usr/bin/file conftest.$ac_objext` in
5755 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5756 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5757 # Find out which ABI we are using.
5758 echo 'int i;' > conftest.$ac_ext
5759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5760 (eval $ac_compile) 2>&5
5762 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5763 (exit $ac_status); }; then
5764 case `/usr/bin/file conftest.o` in
5767 x86_64-*kfreebsd*-gnu)
5768 LD="${LD-ld} -m elf_i386_fbsd
"
5771 LD="${LD-ld} -m elf_i386
"
5773 ppc64-*linux*|powerpc64-*linux*)
5774 LD="${LD-ld} -m elf32ppclinux
"
5777 LD="${LD-ld} -m elf_s390
"
5780 LD="${LD-ld} -m elf32_sparc
"
5786 x86_64-*kfreebsd*-gnu)
5787 LD="${LD-ld} -m elf_x86_64_fbsd
"
5790 LD="${LD-ld} -m elf_x86_64
"
5792 ppc*-*linux*|powerpc*-*linux*)
5793 LD="${LD-ld} -m elf64ppc
"
5795 s390*-*linux*|s390*-*tpf*)
5796 LD="${LD-ld} -m elf64_s390
"
5799 LD="${LD-ld} -m elf64_sparc
"
5809 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5810 SAVE_CFLAGS="$CFLAGS"
5811 CFLAGS="$CFLAGS -belf"
5812 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5813 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5814 if test "${lt_cv_cc_needs_belf+set}" = set; then
5815 $as_echo_n "(cached
) " >&6
5818 ac_cpp='$CPP $CPPFLAGS'
5819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5823 cat >conftest.$ac_ext <<_ACEOF
5826 cat confdefs.h >>conftest.$ac_ext
5827 cat >>conftest.$ac_ext <<_ACEOF
5828 /* end confdefs.h. */
5838 rm -f conftest.$ac_objext conftest$ac_exeext
5839 if { (ac_try="$ac_link"
5841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5842 *) ac_try_echo=$ac_try;;
5844 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5845 $as_echo "$ac_try_echo") >&5
5846 (eval "$ac_link") 2>conftest.er1
5848 grep -v '^ *+' conftest.er1 >conftest.err
5850 cat conftest.err >&5
5851 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5852 (exit $ac_status); } && {
5853 test -z "$ac_c_werror_flag" ||
5854 test ! -s conftest.err
5855 } && test -s conftest$ac_exeext && {
5856 test "$cross_compiling" = yes ||
5857 $as_test_x conftest$ac_exeext
5859 lt_cv_cc_needs_belf=yes
5861 $as_echo "$as_me: failed program was
:" >&5
5862 sed 's/^/| /' conftest.$ac_ext >&5
5864 lt_cv_cc_needs_belf=no
5867 rm -rf conftest.dSYM
5868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5869 conftest$ac_exeext conftest.$ac_ext
5871 ac_cpp='$CPP $CPPFLAGS'
5872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5877 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5878 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5879 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5880 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5881 CFLAGS="$SAVE_CFLAGS"
5885 # Find out which ABI we are using.
5886 echo 'int i;' > conftest.$ac_ext
5887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5888 (eval $ac_compile) 2>&5
5890 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5891 (exit $ac_status); }; then
5892 case `/usr/bin/file conftest.o` in
5894 case $lt_cv_prog_gnu_ld in
5895 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5897 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5909 need_locks="$enable_libtool_lock"
5913 rhapsody* | darwin*)
5914 if test -n "$ac_tool_prefix"; then
5915 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5916 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5917 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5918 $as_echo_n "checking
for $ac_word...
" >&6; }
5919 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5920 $as_echo_n "(cached
) " >&6
5922 if test -n "$DSYMUTIL"; then
5923 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5932 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5933 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5942 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5943 if test -n "$DSYMUTIL"; then
5944 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5945 $as_echo "$DSYMUTIL" >&6; }
5947 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5948 $as_echo "no
" >&6; }
5953 if test -z "$ac_cv_prog_DSYMUTIL"; then
5954 ac_ct_DSYMUTIL=$DSYMUTIL
5955 # Extract the first word of "dsymutil
", so it can be a program name with args.
5956 set dummy dsymutil; ac_word=$2
5957 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5958 $as_echo_n "checking
for $ac_word...
" >&6; }
5959 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5960 $as_echo_n "(cached
) " >&6
5962 if test -n "$ac_ct_DSYMUTIL"; then
5963 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5972 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5973 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5982 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5983 if test -n "$ac_ct_DSYMUTIL"; then
5984 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5985 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5987 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5988 $as_echo "no
" >&6; }
5991 if test "x
$ac_ct_DSYMUTIL" = x; then
5994 case $cross_compiling:$ac_tool_warned in
5996 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5997 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5998 ac_tool_warned=yes ;;
6000 DSYMUTIL=$ac_ct_DSYMUTIL
6003 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6006 if test -n "$ac_tool_prefix"; then
6007 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6008 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6009 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6010 $as_echo_n "checking
for $ac_word...
" >&6; }
6011 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6012 $as_echo_n "(cached
) " >&6
6014 if test -n "$NMEDIT"; then
6015 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 test -z "$as_dir" && as_dir=.
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6024 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6025 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6034 NMEDIT=$ac_cv_prog_NMEDIT
6035 if test -n "$NMEDIT"; then
6036 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6037 $as_echo "$NMEDIT" >&6; }
6039 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6040 $as_echo "no
" >&6; }
6045 if test -z "$ac_cv_prog_NMEDIT"; then
6046 ac_ct_NMEDIT=$NMEDIT
6047 # Extract the first word of "nmedit
", so it can be a program name with args.
6048 set dummy nmedit; ac_word=$2
6049 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6050 $as_echo_n "checking
for $ac_word...
" >&6; }
6051 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6052 $as_echo_n "(cached
) " >&6
6054 if test -n "$ac_ct_NMEDIT"; then
6055 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6065 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6074 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6075 if test -n "$ac_ct_NMEDIT"; then
6076 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6077 $as_echo "$ac_ct_NMEDIT" >&6; }
6079 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6080 $as_echo "no
" >&6; }
6083 if test "x
$ac_ct_NMEDIT" = x; then
6086 case $cross_compiling:$ac_tool_warned in
6088 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6089 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6090 ac_tool_warned=yes ;;
6092 NMEDIT=$ac_ct_NMEDIT
6095 NMEDIT="$ac_cv_prog_NMEDIT"
6098 if test -n "$ac_tool_prefix"; then
6099 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6100 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6101 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6102 $as_echo_n "checking
for $ac_word...
" >&6; }
6103 if test "${ac_cv_prog_LIPO+set}" = set; then
6104 $as_echo_n "(cached
) " >&6
6106 if test -n "$LIPO"; then
6107 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6117 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6126 LIPO=$ac_cv_prog_LIPO
6127 if test -n "$LIPO"; then
6128 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6129 $as_echo "$LIPO" >&6; }
6131 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6132 $as_echo "no
" >&6; }
6137 if test -z "$ac_cv_prog_LIPO"; then
6139 # Extract the first word of "lipo
", so it can be a program name with args.
6140 set dummy lipo; ac_word=$2
6141 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6142 $as_echo_n "checking
for $ac_word...
" >&6; }
6143 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6144 $as_echo_n "(cached
) " >&6
6146 if test -n "$ac_ct_LIPO"; then
6147 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 test -z "$as_dir" && as_dir=.
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6156 ac_cv_prog_ac_ct_LIPO="lipo
"
6157 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6166 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6167 if test -n "$ac_ct_LIPO"; then
6168 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6169 $as_echo "$ac_ct_LIPO" >&6; }
6171 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6172 $as_echo "no
" >&6; }
6175 if test "x
$ac_ct_LIPO" = x; then
6178 case $cross_compiling:$ac_tool_warned in
6180 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6181 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6182 ac_tool_warned=yes ;;
6187 LIPO="$ac_cv_prog_LIPO"
6190 if test -n "$ac_tool_prefix"; then
6191 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6192 set dummy ${ac_tool_prefix}otool; ac_word=$2
6193 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6194 $as_echo_n "checking
for $ac_word...
" >&6; }
6195 if test "${ac_cv_prog_OTOOL+set}" = set; then
6196 $as_echo_n "(cached
) " >&6
6198 if test -n "$OTOOL"; then
6199 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 test -z "$as_dir" && as_dir=.
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6208 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6209 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6218 OTOOL=$ac_cv_prog_OTOOL
6219 if test -n "$OTOOL"; then
6220 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6221 $as_echo "$OTOOL" >&6; }
6223 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6224 $as_echo "no
" >&6; }
6229 if test -z "$ac_cv_prog_OTOOL"; then
6231 # Extract the first word of "otool
", so it can be a program name with args.
6232 set dummy otool; ac_word=$2
6233 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6234 $as_echo_n "checking
for $ac_word...
" >&6; }
6235 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6236 $as_echo_n "(cached
) " >&6
6238 if test -n "$ac_ct_OTOOL"; then
6239 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6248 ac_cv_prog_ac_ct_OTOOL="otool
"
6249 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6258 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6259 if test -n "$ac_ct_OTOOL"; then
6260 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6261 $as_echo "$ac_ct_OTOOL" >&6; }
6263 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6264 $as_echo "no
" >&6; }
6267 if test "x
$ac_ct_OTOOL" = x; then
6270 case $cross_compiling:$ac_tool_warned in
6272 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6273 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6274 ac_tool_warned=yes ;;
6279 OTOOL="$ac_cv_prog_OTOOL"
6282 if test -n "$ac_tool_prefix"; then
6283 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6284 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6285 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6286 $as_echo_n "checking
for $ac_word...
" >&6; }
6287 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6288 $as_echo_n "(cached
) " >&6
6290 if test -n "$OTOOL64"; then
6291 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir=.
6298 for ac_exec_ext in '' $ac_executable_extensions; do
6299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6300 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6301 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6310 OTOOL64=$ac_cv_prog_OTOOL64
6311 if test -n "$OTOOL64"; then
6312 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6313 $as_echo "$OTOOL64" >&6; }
6315 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6316 $as_echo "no
" >&6; }
6321 if test -z "$ac_cv_prog_OTOOL64"; then
6322 ac_ct_OTOOL64=$OTOOL64
6323 # Extract the first word of "otool64
", so it can be a program name with args.
6324 set dummy otool64; ac_word=$2
6325 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6326 $as_echo_n "checking
for $ac_word...
" >&6; }
6327 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6328 $as_echo_n "(cached
) " >&6
6330 if test -n "$ac_ct_OTOOL64"; then
6331 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 test -z "$as_dir" && as_dir=.
6338 for ac_exec_ext in '' $ac_executable_extensions; do
6339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6340 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6341 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6350 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6351 if test -n "$ac_ct_OTOOL64"; then
6352 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6353 $as_echo "$ac_ct_OTOOL64" >&6; }
6355 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6356 $as_echo "no
" >&6; }
6359 if test "x
$ac_ct_OTOOL64" = x; then
6362 case $cross_compiling:$ac_tool_warned in
6364 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6365 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6366 ac_tool_warned=yes ;;
6368 OTOOL64=$ac_ct_OTOOL64
6371 OTOOL64="$ac_cv_prog_OTOOL64"
6400 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6401 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6402 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6403 $as_echo_n "(cached
) " >&6
6405 lt_cv_apple_cc_single_mod=no
6406 if test -z "${LT_MULTI_MODULE}"; then
6407 # By default we will add the -single_module flag. You can override
6408 # by either setting the environment variable LT_MULTI_MODULE
6409 # non-empty at configure time, or by adding -multi_module to the
6411 rm -rf libconftest.dylib*
6412 echo "int foo
(void
){return 1;}" > conftest.c
6413 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6414 -dynamiclib -Wl,-single_module conftest.c
" >&5
6415 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6416 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6418 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6419 lt_cv_apple_cc_single_mod=yes
6421 cat conftest.err >&5
6423 rm -rf libconftest.dylib*
6427 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6428 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6429 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6430 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6431 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6432 $as_echo_n "(cached
) " >&6
6434 lt_cv_ld_exported_symbols_list=no
6435 save_LDFLAGS=$LDFLAGS
6436 echo "_main
" > conftest.sym
6437 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6438 cat >conftest.$ac_ext <<_ACEOF
6441 cat confdefs.h >>conftest.$ac_ext
6442 cat >>conftest.$ac_ext <<_ACEOF
6443 /* end confdefs.h. */
6453 rm -f conftest.$ac_objext conftest$ac_exeext
6454 if { (ac_try="$ac_link"
6456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6457 *) ac_try_echo=$ac_try;;
6459 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6460 $as_echo "$ac_try_echo") >&5
6461 (eval "$ac_link") 2>conftest.er1
6463 grep -v '^ *+' conftest.er1 >conftest.err
6465 cat conftest.err >&5
6466 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6467 (exit $ac_status); } && {
6468 test -z "$ac_c_werror_flag" ||
6469 test ! -s conftest.err
6470 } && test -s conftest$ac_exeext && {
6471 test "$cross_compiling" = yes ||
6472 $as_test_x conftest$ac_exeext
6474 lt_cv_ld_exported_symbols_list=yes
6476 $as_echo "$as_me: failed program was
:" >&5
6477 sed 's/^/| /' conftest.$ac_ext >&5
6479 lt_cv_ld_exported_symbols_list=no
6482 rm -rf conftest.dSYM
6483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6484 conftest$ac_exeext conftest.$ac_ext
6485 LDFLAGS="$save_LDFLAGS"
6488 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6489 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6491 rhapsody* | darwin1.[012])
6492 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6494 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6495 darwin*) # darwin 5.x on
6496 # if running on 10.5 or later, the deployment target defaults
6497 # to the OS version, if on x86, and 10.4, the deployment
6498 # target defaults to 10.4. Don't you love it?
6499 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6500 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6501 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6503 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6505 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6509 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6510 _lt_dar_single_mod='$single_module'
6512 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6513 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6515 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6517 if test "$DSYMUTIL" != ":"; then
6518 _lt_dsymutil='~$DSYMUTIL $lib || :'
6526 ac_cpp='$CPP $CPPFLAGS'
6527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6530 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6531 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6532 # On Suns, sometimes $CPP names a directory.
6533 if test -n "$CPP" && test -d "$CPP"; then
6536 if test -z "$CPP"; then
6537 if test "${ac_cv_prog_CPP+set}" = set; then
6538 $as_echo_n "(cached
) " >&6
6540 # Double quotes because CPP needs to be expanded
6541 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6544 for ac_c_preproc_warn_flag in '' yes
6546 # Use a header file that comes with gcc, so configuring glibc
6547 # with a fresh cross-compiler works.
6548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6549 # <limits.h> exists even on freestanding compilers.
6550 # On the NeXT, cc -E runs the code through the compiler's parser,
6551 # not just through cpp. "Syntax error
" is here to catch this case.
6552 cat >conftest.$ac_ext <<_ACEOF
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6559 # include <limits.h>
6561 # include <assert.h>
6565 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6568 *) ac_try_echo=$ac_try;;
6570 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6571 $as_echo "$ac_try_echo") >&5
6572 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6574 grep -v '^ *+' conftest.er1 >conftest.err
6576 cat conftest.err >&5
6577 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6578 (exit $ac_status); } >/dev/null && {
6579 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6580 test ! -s conftest.err
6584 $as_echo "$as_me: failed program was
:" >&5
6585 sed 's/^/| /' conftest.$ac_ext >&5
6587 # Broken: fails on valid input.
6591 rm -f conftest.err conftest.$ac_ext
6593 # OK, works on sane cases. Now check whether nonexistent headers
6594 # can be detected and how.
6595 cat >conftest.$ac_ext <<_ACEOF
6598 cat confdefs.h >>conftest.$ac_ext
6599 cat >>conftest.$ac_ext <<_ACEOF
6600 /* end confdefs.h. */
6601 #include <ac_nonexistent.h>
6603 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6606 *) ac_try_echo=$ac_try;;
6608 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6609 $as_echo "$ac_try_echo") >&5
6610 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6612 grep -v '^ *+' conftest.er1 >conftest.err
6614 cat conftest.err >&5
6615 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6616 (exit $ac_status); } >/dev/null && {
6617 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6618 test ! -s conftest.err
6620 # Broken: success on invalid input.
6623 $as_echo "$as_me: failed program was
:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 # Passes both tests.
6631 rm -f conftest.err conftest.$ac_ext
6634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6635 rm -f conftest.err conftest.$ac_ext
6636 if $ac_preproc_ok; then
6648 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6649 $as_echo "$CPP" >&6; }
6651 for ac_c_preproc_warn_flag in '' yes
6653 # Use a header file that comes with gcc, so configuring glibc
6654 # with a fresh cross-compiler works.
6655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6656 # <limits.h> exists even on freestanding compilers.
6657 # On the NeXT, cc -E runs the code through the compiler's parser,
6658 # not just through cpp. "Syntax error
" is here to catch this case.
6659 cat >conftest.$ac_ext <<_ACEOF
6662 cat confdefs.h >>conftest.$ac_ext
6663 cat >>conftest.$ac_ext <<_ACEOF
6664 /* end confdefs.h. */
6666 # include <limits.h>
6668 # include <assert.h>
6672 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6675 *) ac_try_echo=$ac_try;;
6677 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6678 $as_echo "$ac_try_echo") >&5
6679 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6681 grep -v '^ *+' conftest.er1 >conftest.err
6683 cat conftest.err >&5
6684 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6685 (exit $ac_status); } >/dev/null && {
6686 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6687 test ! -s conftest.err
6691 $as_echo "$as_me: failed program was
:" >&5
6692 sed 's/^/| /' conftest.$ac_ext >&5
6694 # Broken: fails on valid input.
6698 rm -f conftest.err conftest.$ac_ext
6700 # OK, works on sane cases. Now check whether nonexistent headers
6701 # can be detected and how.
6702 cat >conftest.$ac_ext <<_ACEOF
6705 cat confdefs.h >>conftest.$ac_ext
6706 cat >>conftest.$ac_ext <<_ACEOF
6707 /* end confdefs.h. */
6708 #include <ac_nonexistent.h>
6710 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6713 *) ac_try_echo=$ac_try;;
6715 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6716 $as_echo "$ac_try_echo") >&5
6717 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6719 grep -v '^ *+' conftest.er1 >conftest.err
6721 cat conftest.err >&5
6722 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6723 (exit $ac_status); } >/dev/null && {
6724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6725 test ! -s conftest.err
6727 # Broken: success on invalid input.
6730 $as_echo "$as_me: failed program was
:" >&5
6731 sed 's/^/| /' conftest.$ac_ext >&5
6733 # Passes both tests.
6738 rm -f conftest.err conftest.$ac_ext
6741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6742 rm -f conftest.err conftest.$ac_ext
6743 if $ac_preproc_ok; then
6746 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6748 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6749 See \`config.log' for more details.
" >&5
6750 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6751 See \
`config.log' for more details." >&2;}
6752 { (exit 1); exit 1; }; }; }
6756 ac_cpp='$CPP $CPPFLAGS'
6757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6762 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6763 $as_echo_n "checking for ANSI C header files... " >&6; }
6764 if test "${ac_cv_header_stdc+set}" = set; then
6765 $as_echo_n "(cached) " >&6
6767 cat >conftest.$ac_ext <<_ACEOF
6770 cat confdefs.h >>conftest.$ac_ext
6771 cat >>conftest.$ac_ext <<_ACEOF
6772 /* end confdefs.h. */
6786 rm -f conftest.$ac_objext
6787 if { (ac_try="$ac_compile"
6789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6790 *) ac_try_echo
=$ac_try;;
6792 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6793 $as_echo "$ac_try_echo") >&5
6794 (eval "$ac_compile") 2>conftest.er1
6796 grep -v '^ *+' conftest.er1
>conftest.err
6798 cat conftest.err
>&5
6799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } && {
6801 test -z "$ac_c_werror_flag" ||
6802 test ! -s conftest.err
6803 } && test -s conftest.
$ac_objext; then
6804 ac_cv_header_stdc
=yes
6806 $as_echo "$as_me: failed program was:" >&5
6807 sed 's/^/| /' conftest.
$ac_ext >&5
6809 ac_cv_header_stdc
=no
6812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6814 if test $ac_cv_header_stdc = yes; then
6815 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6816 cat >conftest.
$ac_ext <<_ACEOF
6819 cat confdefs.h
>>conftest.
$ac_ext
6820 cat >>conftest.
$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6826 $EGREP "memchr" >/dev
/null
2>&1; then
6829 ac_cv_header_stdc
=no
6835 if test $ac_cv_header_stdc = yes; then
6836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6837 cat >conftest.
$ac_ext <<_ACEOF
6840 cat confdefs.h
>>conftest.
$ac_ext
6841 cat >>conftest.
$ac_ext <<_ACEOF
6842 /* end confdefs.h. */
6846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6847 $EGREP "free" >/dev
/null
2>&1; then
6850 ac_cv_header_stdc
=no
6856 if test $ac_cv_header_stdc = yes; then
6857 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6858 if test "$cross_compiling" = yes; then
6861 cat >conftest.
$ac_ext <<_ACEOF
6864 cat confdefs.h
>>conftest.
$ac_ext
6865 cat >>conftest.
$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6869 #if ((' ' & 0x0FF) == 0x020)
6870 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6871 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6873 # define ISLOWER(c) \
6874 (('a' <= (c) && (c) <= 'i') \
6875 || ('j' <= (c) && (c) <= 'r') \
6876 || ('s' <= (c) && (c) <= 'z'))
6877 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6880 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6885 for (i = 0; i < 256; i++)
6886 if (XOR (islower (i), ISLOWER (i))
6887 || toupper (i) != TOUPPER (i))
6892 rm -f conftest
$ac_exeext
6893 if { (ac_try
="$ac_link"
6895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6896 *) ac_try_echo=$ac_try;;
6898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6899 $as_echo "$ac_try_echo") >&5
6900 (eval "$ac_link") 2>&5
6902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6904 { (case "(($ac_try" in
6905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6906 *) ac_try_echo
=$ac_try;;
6908 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6909 $as_echo "$ac_try_echo") >&5
6910 (eval "$ac_try") 2>&5
6912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; }; then
6916 $as_echo "$as_me: program exited with status $ac_status" >&5
6917 $as_echo "$as_me: failed program was:" >&5
6918 sed 's/^/| /' conftest.
$ac_ext >&5
6921 ac_cv_header_stdc
=no
6923 rm -rf conftest.dSYM
6924 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6930 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6931 $as_echo "$ac_cv_header_stdc" >&6; }
6932 if test $ac_cv_header_stdc = yes; then
6934 cat >>confdefs.h
<<\_ACEOF
6935 #define STDC_HEADERS 1
6940 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6950 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6951 inttypes.h stdint.h unistd.h
6953 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6954 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6955 $as_echo_n "checking for $ac_header... " >&6; }
6956 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6957 $as_echo_n "(cached) " >&6
6959 cat >conftest.
$ac_ext <<_ACEOF
6962 cat confdefs.h
>>conftest.
$ac_ext
6963 cat >>conftest.
$ac_ext <<_ACEOF
6964 /* end confdefs.h. */
6965 $ac_includes_default
6967 #include <$ac_header>
6969 rm -f conftest.
$ac_objext
6970 if { (ac_try
="$ac_compile"
6972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6973 *) ac_try_echo=$ac_try;;
6975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6976 $as_echo "$ac_try_echo") >&5
6977 (eval "$ac_compile") 2>conftest.er1
6979 grep -v '^ *+' conftest.er1 >conftest.err
6981 cat conftest.err >&5
6982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); } && {
6984 test -z "$ac_c_werror_flag" ||
6985 test ! -s conftest.err
6986 } && test -s conftest.$ac_objext; then
6987 eval "$as_ac_Header=yes"
6989 $as_echo "$as_me: failed program was:" >&5
6990 sed 's/^/| /' conftest.$ac_ext >&5
6992 eval "$as_ac_Header=no"
6995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6997 ac_res=`eval 'as_val=${'$as_ac_Header'}
6998 $as_echo "$as_val"'`
6999 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7000 $as_echo "$ac_res" >&6; }
7001 as_val=`eval 'as_val=${'$as_ac_Header'}
7002 $as_echo "$as_val"'`
7003 if test "x$as_val" = x""yes; then
7004 cat >>confdefs.h <<_ACEOF
7005 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7014 for ac_header in dlfcn.h
7016 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7017 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7018 $as_echo_n "checking for $ac_header... " >&6; }
7019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7020 $as_echo_n "(cached) " >&6
7022 cat >conftest.$ac_ext <<_ACEOF
7025 cat confdefs.h >>conftest.$ac_ext
7026 cat >>conftest.$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7028 $ac_includes_default
7030 #include <$ac_header>
7032 rm -f conftest.$ac_objext
7033 if { (ac_try="$ac_compile"
7035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7036 *) ac_try_echo
=$ac_try;;
7038 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7039 $as_echo "$ac_try_echo") >&5
7040 (eval "$ac_compile") 2>conftest.er1
7042 grep -v '^ *+' conftest.er1
>conftest.err
7044 cat conftest.err
>&5
7045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); } && {
7047 test -z "$ac_c_werror_flag" ||
7048 test ! -s conftest.err
7049 } && test -s conftest.
$ac_objext; then
7050 eval "$as_ac_Header=yes"
7052 $as_echo "$as_me: failed program was:" >&5
7053 sed 's/^/| /' conftest.
$ac_ext >&5
7055 eval "$as_ac_Header=no"
7058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7060 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7061 $as_echo "$as_val"'`
7062 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7063 $as_echo "$ac_res" >&6; }
7064 as_val
=`eval 'as_val=${'$as_ac_Header'}
7065 $as_echo "$as_val"'`
7066 if test "x$as_val" = x
""yes; then
7067 cat >>confdefs.h
<<_ACEOF
7068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7087 # Check whether --enable-shared was given.
7088 if test "${enable_shared+set}" = set; then
7089 enableval
=$enable_shared; p
=${PACKAGE-default}
7091 yes) enable_shared
=yes ;;
7092 no
) enable_shared
=no
;;
7095 # Look at the argument we got. We use all the common list separators.
7096 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7097 for pkg
in $enableval; do
7099 if test "X$pkg" = "X$p"; then
7118 # Check whether --enable-static was given.
7119 if test "${enable_static+set}" = set; then
7120 enableval
=$enable_static; p
=${PACKAGE-default}
7122 yes) enable_static
=yes ;;
7123 no
) enable_static
=no
;;
7126 # Look at the argument we got. We use all the common list separators.
7127 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7128 for pkg
in $enableval; do
7130 if test "X$pkg" = "X$p"; then
7150 # Check whether --with-pic was given.
7151 if test "${with_pic+set}" = set; then
7152 withval
=$with_pic; pic_mode
="$withval"
7158 test -z "$pic_mode" && pic_mode
=default
7166 # Check whether --enable-fast-install was given.
7167 if test "${enable_fast_install+set}" = set; then
7168 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7170 yes) enable_fast_install
=yes ;;
7171 no
) enable_fast_install
=no
;;
7173 enable_fast_install
=no
7174 # Look at the argument we got. We use all the common list separators.
7175 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7176 for pkg
in $enableval; do
7178 if test "X$pkg" = "X$p"; then
7179 enable_fast_install
=yes
7186 enable_fast_install
=yes
7199 # This can be used to rebuild libtool when needed
7200 LIBTOOL_DEPS
="$ltmain"
7202 # Always use our own libtool.
7203 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7229 test -z "$LN_S" && LN_S
="ln -s"
7244 if test -n "${ZSH_VERSION+set}" ; then
7245 setopt NO_GLOB_SUBST
7248 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7249 $as_echo_n "checking for objdir... " >&6; }
7250 if test "${lt_cv_objdir+set}" = set; then
7251 $as_echo_n "(cached) " >&6
7253 rm -f .libs
2>/dev
/null
7254 mkdir .libs
2>/dev
/null
7255 if test -d .libs
; then
7258 # MS-DOS does not allow filenames that begin with a dot.
7261 rmdir .libs
2>/dev
/null
7263 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7264 $as_echo "$lt_cv_objdir" >&6; }
7265 objdir
=$lt_cv_objdir
7271 cat >>confdefs.h
<<_ACEOF
7272 #define LT_OBJDIR "$lt_cv_objdir/"
7293 # AIX sometimes has problems with the GCC collect2 program. For some
7294 # reason, if we set the COLLECT_NAMES environment variable, the problems
7295 # vanish in a puff of smoke.
7296 if test "X${COLLECT_NAMES+set}" != Xset
; then
7298 export COLLECT_NAMES
7303 # Sed substitution that helps us do robust quoting. It backslashifies
7304 # metacharacters that are still active within double-quoted strings.
7305 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7307 # Same as above, but do not quote variable references.
7308 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7310 # Sed substitution to delay expansion of an escaped shell variable in a
7311 # double_quote_subst'ed string.
7312 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7314 # Sed substitution to delay expansion of an escaped single quote.
7315 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7317 # Sed substitution to avoid accidental globbing in evaled expressions
7318 no_glob_subst
='s/\*/\\\*/g'
7322 can_build_shared
=yes
7324 # All known linkers require a `.a' archive for static linking (except MSVC,
7325 # which needs '.lib').
7328 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7331 old_CFLAGS
="$CFLAGS"
7333 # Set sane defaults for various variables
7334 test -z "$CC" && CC
=cc
7335 test -z "$LTCC" && LTCC
=$CC
7336 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7337 test -z "$LD" && LD
=ld
7338 test -z "$ac_objext" && ac_objext
=o
7340 for cc_temp
in $compiler""; do
7342 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7343 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7348 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7351 # Only perform the check for file, if the check method requires it
7352 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7353 case $deplibs_check_method in
7355 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7356 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7357 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7358 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7359 $as_echo_n "(cached) " >&6
7363 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7366 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7367 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7368 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7369 for ac_dir
in $ac_dummy; do
7371 test -z "$ac_dir" && ac_dir
=.
7372 if test -f $ac_dir/${ac_tool_prefix}file; then
7373 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7374 if test -n "$file_magic_test_file"; then
7375 case $deplibs_check_method in
7377 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7378 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7379 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7380 $EGREP "$file_magic_regex" > /dev
/null
; then
7385 *** Warning: the command libtool uses to detect shared libraries,
7386 *** $file_magic_cmd, produces output that libtool cannot recognize.
7387 *** The result is that libtool may fail to recognize shared libraries
7388 *** as such. This will affect the creation of libtool libraries that
7389 *** depend on shared libraries, but programs linked with such libtool
7390 *** libraries will work regardless of this problem. Nevertheless, you
7391 *** may want to report the problem to your system manager and/or to
7392 *** bug-libtool@gnu.org
7402 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7407 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7408 if test -n "$MAGIC_CMD"; then
7409 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7410 $as_echo "$MAGIC_CMD" >&6; }
7412 { $as_echo "$as_me:$LINENO: result: no" >&5
7413 $as_echo "no" >&6; }
7420 if test -z "$lt_cv_path_MAGIC_CMD"; then
7421 if test -n "$ac_tool_prefix"; then
7422 { $as_echo "$as_me:$LINENO: checking for file" >&5
7423 $as_echo_n "checking for file... " >&6; }
7424 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7425 $as_echo_n "(cached) " >&6
7429 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7432 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7433 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7434 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7435 for ac_dir
in $ac_dummy; do
7437 test -z "$ac_dir" && ac_dir
=.
7438 if test -f $ac_dir/file; then
7439 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7440 if test -n "$file_magic_test_file"; then
7441 case $deplibs_check_method in
7443 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7444 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7445 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7446 $EGREP "$file_magic_regex" > /dev
/null
; then
7451 *** Warning: the command libtool uses to detect shared libraries,
7452 *** $file_magic_cmd, produces output that libtool cannot recognize.
7453 *** The result is that libtool may fail to recognize shared libraries
7454 *** as such. This will affect the creation of libtool libraries that
7455 *** depend on shared libraries, but programs linked with such libtool
7456 *** libraries will work regardless of this problem. Nevertheless, you
7457 *** may want to report the problem to your system manager and/or to
7458 *** bug-libtool@gnu.org
7468 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7473 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7474 if test -n "$MAGIC_CMD"; then
7475 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7476 $as_echo "$MAGIC_CMD" >&6; }
7478 { $as_echo "$as_me:$LINENO: result: no" >&5
7479 $as_echo "no" >&6; }
7492 # Use C for the default configuration in the libtool script
7496 ac_cpp
='$CPP $CPPFLAGS'
7497 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7498 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7499 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7502 # Source file extension for C test sources.
7505 # Object file extension for compiled C test sources.
7509 # Code to be used in simple compile tests
7510 lt_simple_compile_test_code
="int some_variable = 0;"
7512 # Code to be used in simple link tests
7513 lt_simple_link_test_code
='int main(){return(0);}'
7521 # If no C compiler was specified, use CC.
7524 # If no C compiler flags were specified, use CFLAGS.
7525 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7527 # Allow CC to be a program name with arguments.
7530 # Save the default compiler, since it gets overwritten when the other
7531 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7532 compiler_DEFAULT
=$CC
7534 # save warnings/boilerplate of simple test code
7535 ac_outfile
=conftest.
$ac_objext
7536 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7537 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7538 _lt_compiler_boilerplate
=`cat conftest.err`
7541 ac_outfile
=conftest.
$ac_objext
7542 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7543 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7544 _lt_linker_boilerplate
=`cat conftest.err`
7548 if test -n "$compiler"; then
7550 lt_prog_compiler_no_builtin_flag
=
7552 if test "$GCC" = yes; then
7553 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7555 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7556 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7557 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7558 $as_echo_n "(cached) " >&6
7560 lt_cv_prog_compiler_rtti_exceptions
=no
7561 ac_outfile
=conftest.
$ac_objext
7562 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7563 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7564 # Insert the option either (1) after the last *FLAGS variable, or
7565 # (2) before a word containing "conftest.", or (3) at the end.
7566 # Note that $ac_compile itself does not contain backslashes and begins
7567 # with a dollar sign (not a hyphen), so the echo should work correctly.
7568 # The option is referenced via a variable to avoid confusing sed.
7569 lt_compile
=`echo "$ac_compile" | $SED \
7570 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7571 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7572 -e 's:$: $lt_compiler_flag:'`
7573 (eval echo "\"\$as_me:7573: $lt_compile\"" >&5)
7574 (eval "$lt_compile" 2>conftest.err
)
7576 cat conftest.err
>&5
7577 echo "$as_me:7577: \$? = $ac_status" >&5
7578 if (exit $ac_status) && test -s "$ac_outfile"; then
7579 # The compiler can only warn and ignore the option if not recognized
7580 # So say no if there are warnings other than the usual output.
7581 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7582 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7583 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7584 lt_cv_prog_compiler_rtti_exceptions
=yes
7590 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7591 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7593 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7594 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7606 lt_prog_compiler_wl
=
7607 lt_prog_compiler_pic
=
7608 lt_prog_compiler_static
=
7610 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7611 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7613 if test "$GCC" = yes; then
7614 lt_prog_compiler_wl
='-Wl,'
7615 lt_prog_compiler_static
='-static'
7619 # All AIX code is PIC.
7620 if test "$host_cpu" = ia64
; then
7621 # AIX 5 now supports IA64 processor
7622 lt_prog_compiler_static
='-Bstatic'
7629 # see comment about AmigaOS4 .so support
7630 lt_prog_compiler_pic
='-fPIC'
7633 # FIXME: we need at least 68020 code to build shared libraries, but
7634 # adding the `-m68020' flag to GCC prevents building anything better,
7636 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7641 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7642 # PIC is the default for these OSes.
7645 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7646 # This hack is so that the source file can tell whether it is being
7647 # built for inclusion in a dll (and should export symbols for example).
7648 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7649 # (--disable-auto-import) libraries
7650 lt_prog_compiler_pic
='-DDLL_EXPORT'
7653 darwin
* | rhapsody
*)
7654 # PIC is the default on this platform
7655 # Common symbols not allowed in MH_DYLIB files
7656 lt_prog_compiler_pic
='-fno-common'
7660 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7661 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7662 # sets the default TLS model and affects inlining.
7668 lt_prog_compiler_pic
='-fPIC'
7674 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7675 # Instead, we relocate shared libraries at runtime.
7679 # Just because we use GCC doesn't mean we suddenly get shared libraries
7680 # on systems that don't support them.
7681 lt_prog_compiler_can_build_shared
=no
7686 # QNX uses GNU C++, but need to define -shared option too, otherwise
7688 lt_prog_compiler_pic
='-fPIC -shared'
7692 if test -d /usr
/nec
; then
7693 lt_prog_compiler_pic
=-Kconform_pic
7698 lt_prog_compiler_pic
='-fPIC'
7702 # PORTME Check for flag to pass linker flags through the system compiler.
7705 lt_prog_compiler_wl
='-Wl,'
7706 if test "$host_cpu" = ia64
; then
7707 # AIX 5 now supports IA64 processor
7708 lt_prog_compiler_static
='-Bstatic'
7710 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7714 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7715 # This hack is so that the source file can tell whether it is being
7716 # built for inclusion in a dll (and should export symbols for example).
7717 lt_prog_compiler_pic
='-DDLL_EXPORT'
7720 hpux9
* | hpux10
* | hpux11
*)
7721 lt_prog_compiler_wl
='-Wl,'
7722 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7729 lt_prog_compiler_pic
='+Z'
7732 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7733 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7736 irix5
* | irix6
* | nonstopux
*)
7737 lt_prog_compiler_wl
='-Wl,'
7738 # PIC (with -KPIC) is the default.
7739 lt_prog_compiler_static
='-non_shared'
7742 linux
* | k
*bsd
*-gnu)
7743 case $cc_basename in
7744 # old Intel for x86_64 which still supported -KPIC.
7746 lt_prog_compiler_wl
='-Wl,'
7747 lt_prog_compiler_pic
='-KPIC'
7748 lt_prog_compiler_static
='-static'
7750 # icc used to be incompatible with GCC.
7751 # ICC 10 doesn't accept -KPIC any more.
7753 lt_prog_compiler_wl
='-Wl,'
7754 lt_prog_compiler_pic
='-fPIC'
7755 lt_prog_compiler_static
='-static'
7757 # Lahey Fortran 8.1.
7759 lt_prog_compiler_wl
='-Wl,'
7760 lt_prog_compiler_pic
='--shared'
7761 lt_prog_compiler_static
='--static'
7763 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7764 # Portland Group compilers (*not* the Pentium gcc compiler,
7765 # which looks to be a dead project)
7766 lt_prog_compiler_wl
='-Wl,'
7767 lt_prog_compiler_pic
='-fpic'
7768 lt_prog_compiler_static
='-Bstatic'
7771 lt_prog_compiler_wl
='-Wl,'
7772 # All Alpha code is PIC.
7773 lt_prog_compiler_static
='-non_shared'
7776 # IBM XL C 8.0/Fortran 10.1 on PPC
7777 lt_prog_compiler_wl
='-Wl,'
7778 lt_prog_compiler_pic
='-qpic'
7779 lt_prog_compiler_static
='-qstaticlink'
7782 case `$CC -V 2>&1 | sed 5q` in
7785 lt_prog_compiler_pic
='-KPIC'
7786 lt_prog_compiler_static
='-Bstatic'
7787 lt_prog_compiler_wl
='-Wl,'
7790 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7791 lt_prog_compiler_pic
='-KPIC'
7792 lt_prog_compiler_static
='-Bstatic'
7793 lt_prog_compiler_wl
=''
7801 lt_prog_compiler_pic
='-KPIC'
7802 lt_prog_compiler_static
='-Bstatic'
7806 # QNX uses GNU C++, but need to define -shared option too, otherwise
7808 lt_prog_compiler_pic
='-fPIC -shared'
7811 osf3
* | osf4
* | osf5
*)
7812 lt_prog_compiler_wl
='-Wl,'
7813 # All OSF/1 code is PIC.
7814 lt_prog_compiler_static
='-non_shared'
7818 lt_prog_compiler_static
='-non_shared'
7822 lt_prog_compiler_pic
='-KPIC'
7823 lt_prog_compiler_static
='-Bstatic'
7824 case $cc_basename in
7826 lt_prog_compiler_wl
='-Qoption ld ';;
7828 lt_prog_compiler_wl
='-Wl,';;
7833 lt_prog_compiler_wl
='-Qoption ld '
7834 lt_prog_compiler_pic
='-PIC'
7835 lt_prog_compiler_static
='-Bstatic'
7838 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7839 lt_prog_compiler_wl
='-Wl,'
7840 lt_prog_compiler_pic
='-KPIC'
7841 lt_prog_compiler_static
='-Bstatic'
7845 if test -d /usr
/nec
;then
7846 lt_prog_compiler_pic
='-Kconform_pic'
7847 lt_prog_compiler_static
='-Bstatic'
7851 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7852 lt_prog_compiler_wl
='-Wl,'
7853 lt_prog_compiler_pic
='-KPIC'
7854 lt_prog_compiler_static
='-Bstatic'
7858 lt_prog_compiler_wl
='-Wl,'
7859 lt_prog_compiler_can_build_shared
=no
7863 lt_prog_compiler_pic
='-pic'
7864 lt_prog_compiler_static
='-Bstatic'
7868 lt_prog_compiler_can_build_shared
=no
7874 # For platforms which do not support PIC, -DPIC is meaningless:
7876 lt_prog_compiler_pic
=
7879 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7882 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7883 $as_echo "$lt_prog_compiler_pic" >&6; }
7891 # Check to make sure the PIC flag actually works.
7893 if test -n "$lt_prog_compiler_pic"; then
7894 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7895 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7896 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7897 $as_echo_n "(cached) " >&6
7899 lt_cv_prog_compiler_pic_works
=no
7900 ac_outfile
=conftest.
$ac_objext
7901 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7902 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7903 # Insert the option either (1) after the last *FLAGS variable, or
7904 # (2) before a word containing "conftest.", or (3) at the end.
7905 # Note that $ac_compile itself does not contain backslashes and begins
7906 # with a dollar sign (not a hyphen), so the echo should work correctly.
7907 # The option is referenced via a variable to avoid confusing sed.
7908 lt_compile
=`echo "$ac_compile" | $SED \
7909 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7910 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7911 -e 's:$: $lt_compiler_flag:'`
7912 (eval echo "\"\$as_me:7912: $lt_compile\"" >&5)
7913 (eval "$lt_compile" 2>conftest.err
)
7915 cat conftest.err
>&5
7916 echo "$as_me:7916: \$? = $ac_status" >&5
7917 if (exit $ac_status) && test -s "$ac_outfile"; then
7918 # The compiler can only warn and ignore the option if not recognized
7919 # So say no if there are warnings other than the usual output.
7920 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7921 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7922 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7923 lt_cv_prog_compiler_pic_works
=yes
7929 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7930 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7932 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7933 case $lt_prog_compiler_pic in
7935 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7938 lt_prog_compiler_pic
=
7939 lt_prog_compiler_can_build_shared
=no
7950 # Check to make sure the static flag actually works.
7952 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7953 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7954 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7955 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7956 $as_echo_n "(cached) " >&6
7958 lt_cv_prog_compiler_static_works
=no
7959 save_LDFLAGS
="$LDFLAGS"
7960 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7961 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7962 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7963 # The linker can only warn and ignore the option if not recognized
7964 # So say no if there are warnings
7965 if test -s conftest.err
; then
7966 # Append any errors to the config.log.
7967 cat conftest.err
1>&5
7968 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7969 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7970 if diff conftest.exp conftest.er2
>/dev
/null
; then
7971 lt_cv_prog_compiler_static_works
=yes
7974 lt_cv_prog_compiler_static_works
=yes
7978 LDFLAGS
="$save_LDFLAGS"
7981 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7982 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7984 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7987 lt_prog_compiler_static
=
7996 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7998 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7999 $as_echo_n "(cached) " >&6
8001 lt_cv_prog_compiler_c_o
=no
8002 $RM -r conftest
2>/dev
/null
8006 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8008 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8009 # Insert the option either (1) after the last *FLAGS variable, or
8010 # (2) before a word containing "conftest.", or (3) at the end.
8011 # Note that $ac_compile itself does not contain backslashes and begins
8012 # with a dollar sign (not a hyphen), so the echo should work correctly.
8013 lt_compile
=`echo "$ac_compile" | $SED \
8014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8016 -e 's:$: $lt_compiler_flag:'`
8017 (eval echo "\"\$as_me:8017: $lt_compile\"" >&5)
8018 (eval "$lt_compile" 2>out
/conftest.err
)
8020 cat out
/conftest.err
>&5
8021 echo "$as_me:8021: \$? = $ac_status" >&5
8022 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8024 # The compiler can only warn and ignore the option if not recognized
8025 # So say no if there are warnings
8026 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8027 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8028 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8029 lt_cv_prog_compiler_c_o
=yes
8034 # SGI C++ compiler will create directory out/ii_files/ for
8035 # template instantiation
8036 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8037 $RM out
/* && rmdir out
8043 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8051 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8052 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8053 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8054 $as_echo_n "(cached) " >&6
8056 lt_cv_prog_compiler_c_o
=no
8057 $RM -r conftest
2>/dev
/null
8061 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8063 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8064 # Insert the option either (1) after the last *FLAGS variable, or
8065 # (2) before a word containing "conftest.", or (3) at the end.
8066 # Note that $ac_compile itself does not contain backslashes and begins
8067 # with a dollar sign (not a hyphen), so the echo should work correctly.
8068 lt_compile
=`echo "$ac_compile" | $SED \
8069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8071 -e 's:$: $lt_compiler_flag:'`
8072 (eval echo "\"\$as_me:8072: $lt_compile\"" >&5)
8073 (eval "$lt_compile" 2>out
/conftest.err
)
8075 cat out
/conftest.err
>&5
8076 echo "$as_me:8076: \$? = $ac_status" >&5
8077 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8079 # The compiler can only warn and ignore the option if not recognized
8080 # So say no if there are warnings
8081 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8082 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8083 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8084 lt_cv_prog_compiler_c_o
=yes
8089 # SGI C++ compiler will create directory out/ii_files/ for
8090 # template instantiation
8091 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8092 $RM out
/* && rmdir out
8098 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8099 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8104 hard_links
="nottested"
8105 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8106 # do not overwrite the value of need_locks provided by the user
8107 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8108 $as_echo_n "checking if we can lock with hard links... " >&6; }
8111 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8113 ln conftest.a conftest.b
2>&5 || hard_links
=no
8114 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8115 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8116 $as_echo "$hard_links" >&6; }
8117 if test "$hard_links" = no
; then
8118 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8119 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8131 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8132 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8135 allow_undefined_flag
=
8136 always_export_symbols
=no
8138 archive_expsym_cmds
=
8139 compiler_needs_object
=no
8140 enable_shared_with_static_runtimes
=no
8141 export_dynamic_flag_spec
=
8142 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8143 hardcode_automatic
=no
8145 hardcode_direct_absolute
=no
8146 hardcode_libdir_flag_spec
=
8147 hardcode_libdir_flag_spec_ld
=
8148 hardcode_libdir_separator
=
8150 hardcode_shlibpath_var
=unsupported
8152 link_all_deplibs
=unknown
8155 old_archive_from_new_cmds
=
8156 old_archive_from_expsyms_cmds
=
8157 thread_safe_flag_spec
=
8158 whole_archive_flag_spec
=
8159 # include_expsyms should be a list of space-separated symbols to be *always*
8160 # included in the symbol list
8162 # exclude_expsyms can be an extended regexp of symbols to exclude
8163 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8164 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8165 # as well as any symbol that contains `d'.
8166 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8167 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8168 # platforms (ab)use it in PIC code, but their linkers get confused if
8169 # the symbol is explicitly referenced. Since portable code cannot
8170 # rely on this symbol name, it's probably fine to never include it in
8171 # preloaded symbol tables.
8172 # Exclude shared library initialization/finalization symbols.
8173 extract_expsyms_cmds
=
8176 cygwin
* | mingw
* | pw32
* | cegcc
*)
8177 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8178 # When not using gcc, we currently assume that we are using
8179 # Microsoft Visual C++.
8180 if test "$GCC" != yes; then
8185 # we just hope/assume this is gcc and not c89 (= MSVC++)
8194 if test "$with_gnu_ld" = yes; then
8195 # If archive_cmds runs LD, not CC, wlarc should be empty
8198 # Set some defaults for GNU ld with shared library support. These
8199 # are reset later if shared libraries are not supported. Putting them
8200 # here allows them to be overridden if necessary.
8201 runpath_var
=LD_RUN_PATH
8202 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8203 export_dynamic_flag_spec
='${wl}--export-dynamic'
8204 # ancient GNU ld didn't support --whole-archive et. al.
8205 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8206 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8208 whole_archive_flag_spec
=
8210 supports_anon_versioning
=no
8211 case `$LD -v 2>&1` in
8212 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8213 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8214 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8215 *\
2.11.
*) ;; # other 2.11 versions
8216 *) supports_anon_versioning
=yes ;;
8219 # See if GNU ld supports shared libraries.
8222 # On AIX/PPC, the GNU linker is very broken
8223 if test "$host_cpu" != ia64
; then
8227 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8228 *** to be unable to reliably create shared libraries on AIX.
8229 *** Therefore, libtool is disabling shared libraries support. If you
8230 *** really care for shared libraries, you may want to modify your PATH
8231 *** so that a non-GNU linker is found, and then restart.
8240 # see comment about AmigaOS4 .so support
8241 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8242 archive_expsym_cmds
=''
8245 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)'
8246 hardcode_libdir_flag_spec
='-L$libdir'
8247 hardcode_minus_L
=yes
8253 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8254 allow_undefined_flag
=unsupported
8255 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8256 # support --undefined. This deserves some investigation. FIXME
8257 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8263 cygwin
* | mingw
* | pw32
* | cegcc
*)
8264 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8265 # as there is no search path for DLLs.
8266 hardcode_libdir_flag_spec
='-L$libdir'
8267 allow_undefined_flag
=unsupported
8268 always_export_symbols
=no
8269 enable_shared_with_static_runtimes
=yes
8270 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8272 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8273 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8274 # If the export-symbols file already is a .def file (1st line
8275 # is EXPORTS), use it as is; otherwise, prepend...
8276 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8277 cp $export_symbols $output_objdir/$soname.def;
8279 echo EXPORTS > $output_objdir/$soname.def;
8280 cat $export_symbols >> $output_objdir/$soname.def;
8282 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8290 hardcode_shlibpath_var
=no
8291 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8292 export_dynamic_flag_spec
='${wl}-E'
8293 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8294 # Instead, shared libraries are loaded at an image base (0x10000000 by
8295 # default) and relocated if they conflict, which is a slow very memory
8296 # consuming and fragmenting process. To avoid this, we pick a random,
8297 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8298 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8299 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8300 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'
8303 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8305 if test "$host_os" = linux-dietlibc
; then
8306 case $cc_basename in
8307 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8310 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8311 && test "$tmp_diet" = no
8314 tmp_sharedflag
='-shared'
8315 case $cc_basename,$host_cpu in
8316 pgcc
*) # Portland Group C compiler
8317 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'
8318 tmp_addflag
=' $pic_flag'
8320 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8321 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'
8322 tmp_addflag
=' $pic_flag -Mnomain' ;;
8323 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8324 tmp_addflag
=' -i_dynamic' ;;
8325 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8326 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8327 ifc
* | ifort
*) # Intel Fortran compiler
8328 tmp_addflag
=' -nofor_main' ;;
8329 lf95
*) # Lahey Fortran 8.1
8330 whole_archive_flag_spec
=
8331 tmp_sharedflag
='--shared' ;;
8332 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8333 tmp_sharedflag
='-qmkshrobj'
8336 case `$CC -V 2>&1 | sed 5q` in
8337 *Sun\ C
*) # Sun C 5.9
8338 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'
8339 compiler_needs_object
=yes
8340 tmp_sharedflag
='-G' ;;
8341 *Sun\ F
*) # Sun Fortran 8.3
8342 tmp_sharedflag
='-G' ;;
8344 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8346 if test "x$supports_anon_versioning" = xyes
; then
8347 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8348 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8349 echo "local: *; };" >> $output_objdir/$libname.ver~
8350 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8353 case $cc_basename in
8355 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8356 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8357 hardcode_libdir_flag_spec
=
8358 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8359 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8360 if test "x$supports_anon_versioning" = xyes
; then
8361 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8362 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8363 echo "local: *; };" >> $output_objdir/$libname.ver~
8364 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8374 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8375 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8378 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8379 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8384 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8388 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8389 *** create shared libraries on Solaris systems. Therefore, libtool
8390 *** is disabling shared libraries support. We urge you to upgrade GNU
8391 *** binutils to release 2.9.1 or newer. Another option is to modify
8392 *** your PATH or compiler configuration so that the native linker is
8393 *** used, and then restart.
8396 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8397 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8398 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8404 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8405 case `$LD -v 2>&1` in
8406 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8410 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8411 *** reliably create shared libraries on SCO systems. Therefore, libtool
8412 *** is disabling shared libraries support. We urge you to upgrade GNU
8413 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8414 *** your PATH or compiler configuration so that the native linker is
8415 *** used, and then restart.
8420 # For security reasons, it is highly recommended that you always
8421 # use absolute paths for naming shared libraries, and exclude the
8422 # DT_RUNPATH tag from executables and libraries. But doing so
8423 # requires that you compile everything twice, which is a pain.
8424 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8425 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8426 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8427 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8436 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8439 hardcode_shlibpath_var
=no
8443 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8444 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8445 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8452 if test "$ld_shlibs" = no
; then
8454 hardcode_libdir_flag_spec
=
8455 export_dynamic_flag_spec
=
8456 whole_archive_flag_spec
=
8459 # PORTME fill in a description of your system's linker (not GNU ld)
8462 allow_undefined_flag
=unsupported
8463 always_export_symbols
=yes
8464 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'
8465 # Note: this linker hardcodes the directories in LIBPATH if there
8466 # are no directories specified by -L.
8467 hardcode_minus_L
=yes
8468 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8469 # Neither direct hardcoding nor static linking is supported with a
8471 hardcode_direct
=unsupported
8476 if test "$host_cpu" = ia64
; then
8477 # On IA64, the linker does run time linking by default, so we don't
8478 # have to do anything special.
8479 aix_use_runtimelinking
=no
8480 exp_sym_flag
='-Bexport'
8483 # If we're using GNU nm, then we don't want the "-C" option.
8484 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8485 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8486 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'
8488 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'
8490 aix_use_runtimelinking
=no
8492 # Test if we are trying to use run time linking or normal
8493 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8494 # need to do runtime linking.
8495 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8496 for ld_flag
in $LDFLAGS; do
8497 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8498 aix_use_runtimelinking
=yes
8505 exp_sym_flag
='-bexport'
8506 no_entry_flag
='-bnoentry'
8509 # When large executables or shared objects are built, AIX ld can
8510 # have problems creating the table of contents. If linking a library
8511 # or program results in "error TOC overflow" add -mminimal-toc to
8512 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8513 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8517 hardcode_direct_absolute
=yes
8518 hardcode_libdir_separator
=':'
8519 link_all_deplibs
=yes
8520 file_list_spec
='${wl}-f,'
8522 if test "$GCC" = yes; then
8523 case $host_os in aix4.
[012]|aix4.
[012].
*)
8524 # We only want to do this on AIX 4.2 and lower, the check
8525 # below for broken collect2 doesn't work under 4.3+
8526 collect2name
=`${CC} -print-prog-name=collect2`
8527 if test -f "$collect2name" &&
8528 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8530 # We have reworked collect2
8533 # We have old collect2
8534 hardcode_direct
=unsupported
8535 # It fails to find uninstalled libraries when the uninstalled
8536 # path is not listed in the libpath. Setting hardcode_minus_L
8537 # to unsupported forces relinking
8538 hardcode_minus_L
=yes
8539 hardcode_libdir_flag_spec
='-L$libdir'
8540 hardcode_libdir_separator
=
8544 shared_flag
='-shared'
8545 if test "$aix_use_runtimelinking" = yes; then
8546 shared_flag
="$shared_flag "'${wl}-G'
8550 if test "$host_cpu" = ia64
; then
8551 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8552 # chokes on -Wl,-G. The following line is correct:
8555 if test "$aix_use_runtimelinking" = yes; then
8556 shared_flag
='${wl}-G'
8558 shared_flag
='${wl}-bM:SRE'
8563 export_dynamic_flag_spec
='${wl}-bexpall'
8564 # It seems that -bexpall does not export symbols beginning with
8565 # underscore (_), so it is better to generate a list of symbols to export.
8566 always_export_symbols
=yes
8567 if test "$aix_use_runtimelinking" = yes; then
8568 # Warning - without using the other runtime loading flags (-brtl),
8569 # -berok will link without error, but may produce a broken library.
8570 allow_undefined_flag
='-berok'
8571 # Determine the default libpath from the value encoded in an
8573 cat >conftest.
$ac_ext <<_ACEOF
8576 cat confdefs.h
>>conftest.
$ac_ext
8577 cat >>conftest.
$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8588 rm -f conftest.
$ac_objext conftest
$ac_exeext
8589 if { (ac_try
="$ac_link"
8591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8592 *) ac_try_echo=$ac_try;;
8594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8595 $as_echo "$ac_try_echo") >&5
8596 (eval "$ac_link") 2>conftest.er1
8598 grep -v '^ *+' conftest.er1 >conftest.err
8600 cat conftest.err >&5
8601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } && {
8603 test -z "$ac_c_werror_flag" ||
8604 test ! -s conftest.err
8605 } && test -s conftest$ac_exeext && {
8606 test "$cross_compiling" = yes ||
8607 $as_test_x conftest$ac_exeext
8610 lt_aix_libpath_sed='
8611 /Import File Strings/,/^$/ {
8617 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8618 # Check for a 64-bit object if we didn't find anything.
8619 if test -z "$aix_libpath"; then
8620 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8623 $as_echo "$as_me: failed program was:" >&5
8624 sed 's/^/| /' conftest.$ac_ext >&5
8629 rm -rf conftest.dSYM
8630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8631 conftest$ac_exeext conftest.$ac_ext
8632 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8634 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8635 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"
8637 if test "$host_cpu" = ia64; then
8638 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8639 allow_undefined_flag="-z nodefs"
8640 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"
8642 # Determine the default libpath from the value encoded in an
8644 cat >conftest.$ac_ext <<_ACEOF
8647 cat confdefs.h >>conftest.$ac_ext
8648 cat >>conftest.$ac_ext <<_ACEOF
8649 /* end confdefs.h. */
8659 rm -f conftest.$ac_objext conftest$ac_exeext
8660 if { (ac_try="$ac_link"
8662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8663 *) ac_try_echo
=$ac_try;;
8665 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8666 $as_echo "$ac_try_echo") >&5
8667 (eval "$ac_link") 2>conftest.er1
8669 grep -v '^ *+' conftest.er1
>conftest.err
8671 cat conftest.err
>&5
8672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 (exit $ac_status); } && {
8674 test -z "$ac_c_werror_flag" ||
8675 test ! -s conftest.err
8676 } && test -s conftest
$ac_exeext && {
8677 test "$cross_compiling" = yes ||
8678 $as_test_x conftest
$ac_exeext
8681 lt_aix_libpath_sed
='
8682 /Import File Strings/,/^$/ {
8688 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8689 # Check for a 64-bit object if we didn't find anything.
8690 if test -z "$aix_libpath"; then
8691 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8694 $as_echo "$as_me: failed program was:" >&5
8695 sed 's/^/| /' conftest.
$ac_ext >&5
8700 rm -rf conftest.dSYM
8701 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8702 conftest
$ac_exeext conftest.
$ac_ext
8703 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8705 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8706 # Warning - without using the other run time loading flags,
8707 # -berok will link without error, but may produce a broken library.
8708 no_undefined_flag
=' ${wl}-bernotok'
8709 allow_undefined_flag
=' ${wl}-berok'
8710 # Exported symbols can be pulled into shared objects from archives
8711 whole_archive_flag_spec
='$convenience'
8712 archive_cmds_need_lc
=yes
8713 # This is similar to how AIX traditionally builds its shared libraries.
8714 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'
8722 # see comment about AmigaOS4 .so support
8723 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8724 archive_expsym_cmds
=''
8727 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)'
8728 hardcode_libdir_flag_spec
='-L$libdir'
8729 hardcode_minus_L
=yes
8735 export_dynamic_flag_spec
=-rdynamic
8738 cygwin
* | mingw
* | pw32
* | cegcc
*)
8739 # When not using gcc, we currently assume that we are using
8740 # Microsoft Visual C++.
8741 # hardcode_libdir_flag_spec is actually meaningless, as there is
8742 # no search path for DLLs.
8743 hardcode_libdir_flag_spec
=' '
8744 allow_undefined_flag
=unsupported
8745 # Tell ltmain to make .lib files, not .a files.
8747 # Tell ltmain to make .dll files, not .so files.
8749 # FIXME: Setting linknames here is a bad hack.
8750 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8751 # The linker will automatically build a .lib file if we build a DLL.
8752 old_archive_from_new_cmds
='true'
8753 # FIXME: Should let the user specify the lib program.
8754 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8755 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8756 enable_shared_with_static_runtimes
=yes
8759 darwin
* | rhapsody
*)
8762 archive_cmds_need_lc
=no
8764 hardcode_automatic
=yes
8765 hardcode_shlibpath_var
=unsupported
8766 whole_archive_flag_spec
=''
8767 link_all_deplibs
=yes
8768 allow_undefined_flag
="$_lt_dar_allow_undefined"
8769 case $cc_basename in
8770 ifort
*) _lt_dar_can_shared
=yes ;;
8771 *) _lt_dar_can_shared
=$GCC ;;
8773 if test "$_lt_dar_can_shared" = "yes"; then
8774 output_verbose_link_cmd
=echo
8775 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8776 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8777 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}"
8778 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}"
8787 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8788 hardcode_libdir_flag_spec
='-L$libdir'
8789 hardcode_shlibpath_var
=no
8796 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8797 # support. Future versions do this automatically, but an explicit c++rt0.o
8798 # does not break anything, and helps significantly (at the cost of a little
8801 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8802 hardcode_libdir_flag_spec
='-R$libdir'
8804 hardcode_shlibpath_var
=no
8807 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8809 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8811 hardcode_minus_L
=yes
8812 hardcode_shlibpath_var
=no
8815 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8816 freebsd
* | dragonfly
*)
8817 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8818 hardcode_libdir_flag_spec
='-R$libdir'
8820 hardcode_shlibpath_var
=no
8824 if test "$GCC" = yes; then
8825 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'
8827 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'
8829 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8830 hardcode_libdir_separator
=:
8833 # hardcode_minus_L: Not really in the search PATH,
8834 # but as the default location of the library.
8835 hardcode_minus_L
=yes
8836 export_dynamic_flag_spec
='${wl}-E'
8840 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8841 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8843 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8845 if test "$with_gnu_ld" = no
; then
8846 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8847 hardcode_libdir_flag_spec_ld
='+b $libdir'
8848 hardcode_libdir_separator
=:
8850 hardcode_direct_absolute
=yes
8851 export_dynamic_flag_spec
='${wl}-E'
8852 # hardcode_minus_L: Not really in the search PATH,
8853 # but as the default location of the library.
8854 hardcode_minus_L
=yes
8859 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8862 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8865 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8868 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8874 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8877 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8880 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8884 if test "$with_gnu_ld" = no
; then
8885 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8886 hardcode_libdir_separator
=:
8891 hardcode_shlibpath_var
=no
8895 hardcode_direct_absolute
=yes
8896 export_dynamic_flag_spec
='${wl}-E'
8898 # hardcode_minus_L: Not really in the search PATH,
8899 # but as the default location of the library.
8900 hardcode_minus_L
=yes
8906 irix5
* | irix6
* | nonstopux
*)
8907 if test "$GCC" = yes; then
8908 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'
8909 # Try to use the -exported_symbol ld option, if it does not
8910 # work, assume that -exports_file does not work either and
8911 # implicitly export all symbols.
8912 save_LDFLAGS
="$LDFLAGS"
8913 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8914 cat >conftest.
$ac_ext <<_ACEOF
8917 rm -f conftest.
$ac_objext conftest
$ac_exeext
8918 if { (ac_try
="$ac_link"
8920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8921 *) ac_try_echo=$ac_try;;
8923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8924 $as_echo "$ac_try_echo") >&5
8925 (eval "$ac_link") 2>conftest.er1
8927 grep -v '^ *+' conftest.er1 >conftest.err
8929 cat conftest.err >&5
8930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); } && {
8932 test -z "$ac_c_werror_flag" ||
8933 test ! -s conftest.err
8934 } && test -s conftest$ac_exeext && {
8935 test "$cross_compiling" = yes ||
8936 $as_test_x conftest$ac_exeext
8938 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'
8941 $as_echo "$as_me: failed program was:" >&5
8942 sed 's/^/| /' conftest.$ac_ext >&5
8947 rm -rf conftest.dSYM
8948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8949 conftest$ac_exeext conftest.$ac_ext
8950 LDFLAGS="$save_LDFLAGS"
8952 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'
8953 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'
8955 archive_cmds_need_lc='no'
8956 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8957 hardcode_libdir_separator=:
8959 link_all_deplibs=yes
8963 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8964 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8966 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8968 hardcode_libdir_flag_spec='-R$libdir'
8970 hardcode_shlibpath_var=no
8974 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8976 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8977 hardcode_libdir_separator=:
8978 hardcode_shlibpath_var=no
8985 if test -f /usr/libexec/ld.so; then
8987 hardcode_shlibpath_var=no
8988 hardcode_direct_absolute=yes
8989 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8990 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8991 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8992 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8993 export_dynamic_flag_spec='${wl}-E'
8996 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8997 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8998 hardcode_libdir_flag_spec='-R$libdir'
9001 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9002 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9012 hardcode_libdir_flag_spec='-L$libdir'
9013 hardcode_minus_L=yes
9014 allow_undefined_flag=unsupported
9015 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'
9016 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9020 if test "$GCC" = yes; then
9021 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9022 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'
9024 allow_undefined_flag=' -expect_unresolved \*'
9025 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'
9027 archive_cmds_need_lc='no'
9028 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9029 hardcode_libdir_separator=:
9032 osf4* | osf5*) # as osf3* with the addition of -msym flag
9033 if test "$GCC" = yes; then
9034 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9035 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'
9036 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9038 allow_undefined_flag=' -expect_unresolved \*'
9039 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'
9040 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~
9041 $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'
9043 # Both c and cxx compiler support -rpath directly
9044 hardcode_libdir_flag_spec='-rpath $libdir'
9046 archive_cmds_need_lc='no'
9047 hardcode_libdir_separator=:
9051 no_undefined_flag=' -z defs'
9052 if test "$GCC" = yes; then
9054 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9055 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9056 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9058 case `$CC -V 2>&1` in
9061 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9062 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9063 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9067 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9068 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9069 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9073 hardcode_libdir_flag_spec='-R$libdir'
9074 hardcode_shlibpath_var=no
9076 solaris2.[0-5] | solaris2.[0-5].*) ;;
9078 # The compiler driver will combine and reorder linker options,
9079 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9080 # but is careful enough not to reorder.
9081 # Supported since Solaris 2.6 (maybe 2.5.1?)
9082 if test "$GCC" = yes; then
9083 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9085 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9089 link_all_deplibs
=yes
9093 if test "x$host_vendor" = xsequent
; then
9094 # Use $CC to link under sequent, because it throws in some extra .o
9095 # files that make .init and .fini sections work.
9096 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9098 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9100 hardcode_libdir_flag_spec
='-L$libdir'
9102 hardcode_minus_L
=yes
9103 hardcode_shlibpath_var
=no
9107 case $host_vendor in
9109 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9110 hardcode_direct
=yes # is this really true???
9113 ## LD is ld it makes a PLAMLIB
9114 ## CC just makes a GrossModule.
9115 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9116 reload_cmds
='$CC -r -o $output$reload_objs'
9120 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9121 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9124 runpath_var
='LD_RUN_PATH'
9125 hardcode_shlibpath_var
=no
9129 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9130 hardcode_shlibpath_var
=no
9131 export_dynamic_flag_spec
='-Bexport'
9135 if test -d /usr
/nec
; then
9136 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9137 hardcode_shlibpath_var
=no
9138 runpath_var
=LD_RUN_PATH
9139 hardcode_runpath_var
=yes
9144 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9145 no_undefined_flag
='${wl}-z,text'
9146 archive_cmds_need_lc
=no
9147 hardcode_shlibpath_var
=no
9148 runpath_var
='LD_RUN_PATH'
9150 if test "$GCC" = yes; then
9151 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9152 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9154 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9155 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9159 sysv5
* | sco3.2v5
* | sco5v6
*)
9160 # Note: We can NOT use -z defs as we might desire, because we do not
9161 # link with -lc, and that would cause any symbols used from libc to
9162 # always be unresolved, which means just about no library would
9163 # ever link correctly. If we're not using GNU ld we use -z text
9164 # though, which does catch some bad symbols but isn't as heavy-handed
9166 no_undefined_flag
='${wl}-z,text'
9167 allow_undefined_flag
='${wl}-z,nodefs'
9168 archive_cmds_need_lc
=no
9169 hardcode_shlibpath_var
=no
9170 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9171 hardcode_libdir_separator
=':'
9172 link_all_deplibs
=yes
9173 export_dynamic_flag_spec
='${wl}-Bexport'
9174 runpath_var
='LD_RUN_PATH'
9176 if test "$GCC" = yes; then
9177 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9178 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9180 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9181 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9186 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9187 hardcode_libdir_flag_spec
='-L$libdir'
9188 hardcode_shlibpath_var
=no
9196 if test x
$host_vendor = xsni
; then
9198 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9199 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9205 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9206 $as_echo "$ld_shlibs" >&6; }
9207 test "$ld_shlibs" = no
&& can_build_shared
=no
9209 with_gnu_ld
=$with_gnu_ld
9226 # Do we need to explicitly link libc?
9228 case "x$archive_cmds_need_lc" in
9230 # Assume -lc should be added
9231 archive_cmds_need_lc
=yes
9233 if test "$enable_shared" = yes && test "$GCC" = yes; then
9234 case $archive_cmds in
9236 # FIXME: we may have to deal with multi-command sequences.
9239 # Test whether the compiler implicitly links with -lc since on some
9240 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9241 # to ld, don't add -lc before -lgcc.
9242 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9243 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9245 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9248 (eval $ac_compile) 2>&5
9250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); } 2>conftest.err
; then
9254 libobjs
=conftest.
$ac_objext
9256 wl
=$lt_prog_compiler_wl
9257 pic_flag
=$lt_prog_compiler_pic
9263 lt_save_allow_undefined_flag
=$allow_undefined_flag
9264 allow_undefined_flag
=
9265 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9266 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); }
9271 archive_cmds_need_lc
=no
9273 archive_cmds_need_lc
=yes
9275 allow_undefined_flag
=$lt_save_allow_undefined_flag
9277 cat conftest.err
1>&5
9280 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9281 $as_echo "$archive_cmds_need_lc" >&6; }
9444 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9445 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9447 if test "$GCC" = yes; then
9449 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9450 *) lt_awk_arg
="/^libraries:/" ;;
9452 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9453 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9454 # if the path contains ";" then we assume it to be the separator
9455 # otherwise default to the standard path separator (i.e. ":") - it is
9456 # assumed that no part of a normal pathname contains ";" but that should
9457 # okay in the real world where ";" in dirpaths is itself problematic.
9458 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9460 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9462 # Ok, now we have the path, separated by spaces, we can step through it
9463 # and add multilib dir if necessary.
9464 lt_tmp_lt_search_path_spec
=
9465 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9466 for lt_sys_path
in $lt_search_path_spec; do
9467 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9468 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9470 test -d "$lt_sys_path" && \
9471 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9474 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9475 BEGIN {RS=" "; FS="/|\n";} {
9478 for (lt_i = NF; lt_i > 0; lt_i--) {
9479 if ($lt_i != "" && $lt_i != ".") {
9480 if ($lt_i == "..") {
9483 if (lt_count == 0) {
9484 lt_foo="/" $lt_i lt_foo;
9491 if (lt_foo != "") { lt_freq[lt_foo]++; }
9492 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9494 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9496 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9499 libname_spec
='lib$name'
9507 shlibpath_overrides_runpath
=unknown
9509 dynamic_linker
="$host_os ld.so"
9510 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9511 need_lib_prefix
=unknown
9512 hardcode_into_libs
=no
9514 # when you set need_version to no, make sure it does not cause -set_version
9515 # flags to be left without arguments
9516 need_version
=unknown
9521 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9522 shlibpath_var
=LIBPATH
9524 # AIX 3 has no versioning support, so we append a major version to the name.
9525 soname_spec
='${libname}${release}${shared_ext}$major'
9532 hardcode_into_libs
=yes
9533 if test "$host_cpu" = ia64
; then
9534 # AIX 5 supports IA64
9535 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9536 shlibpath_var
=LD_LIBRARY_PATH
9538 # With GCC up to 2.95.x, collect2 would create an import file
9539 # for dependence libraries. The import file would start with
9540 # the line `#! .'. This would cause the generated library to
9541 # depend on `.', always an invalid library. This was fixed in
9542 # development snapshots of GCC prior to 3.0.
9544 aix4 | aix4.
[01] | aix4.
[01].
*)
9545 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9547 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9554 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9555 # soname into executable. Probably we can add versioning support to
9556 # collect2, so additional links can be useful in future.
9557 if test "$aix_use_runtimelinking" = yes; then
9558 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9559 # instead of lib<name>.a to let people know that these are not
9560 # typical AIX shared libraries.
9561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9563 # We preserve .a as extension for shared libraries through AIX4.2
9564 # and later when we are not doing run time linking.
9565 library_names_spec
='${libname}${release}.a $libname.a'
9566 soname_spec
='${libname}${release}${shared_ext}$major'
9568 shlibpath_var
=LIBPATH
9575 # Since July 2007 AmigaOS4 officially supports .so libraries.
9576 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9580 library_names_spec
='$libname.ixlibrary $libname.a'
9581 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9582 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'
9588 library_names_spec
='${libname}${shared_ext}'
9589 dynamic_linker
="$host_os ld.so"
9590 shlibpath_var
=LIBRARY_PATH
9596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9597 soname_spec
='${libname}${release}${shared_ext}$major'
9598 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9599 shlibpath_var
=LD_LIBRARY_PATH
9600 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9601 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9602 # the default ld.so.conf also contains /usr/contrib/lib and
9603 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9604 # libtool to hard-code these into programs
9607 cygwin
* | mingw
* | pw32
* | cegcc
*)
9608 version_type
=windows
9613 case $GCC,$host_os in
9614 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9615 library_names_spec
='$libname.dll.a'
9616 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9617 postinstall_cmds
='base_file=`basename \${file}`~
9618 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9619 dldir=$destdir/`dirname \$dlpath`~
9620 test -d \$dldir || mkdir -p \$dldir~
9621 $install_prog $dir/$dlname \$dldir/$dlname~
9622 chmod a+x \$dldir/$dlname~
9623 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9624 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9626 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9627 dlpath=$dir/\$dldll~
9629 shlibpath_overrides_runpath
=yes
9633 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9634 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9635 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9638 # MinGW DLLs use traditional 'lib' prefix
9639 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9640 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9641 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9642 # It is most probably a Windows format PATH printed by
9643 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9644 # path with ; separators, and with drive letters. We can handle the
9645 # drive letters (cygwin fileutils understands them), so leave them,
9646 # especially as we might pass files found there to a mingw objdump,
9647 # which wouldn't understand a cygwinified path. Ahh.
9648 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9650 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9654 # pw32 DLLs use 'pw' prefix rather than 'lib'
9655 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9661 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9664 dynamic_linker
='Win32 ld.exe'
9665 # FIXME: first we should search . and the directory the executable is in
9669 darwin
* | rhapsody
*)
9670 dynamic_linker
="$host_os dyld"
9674 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9675 soname_spec
='${libname}${release}${major}$shared_ext'
9676 shlibpath_overrides_runpath
=yes
9677 shlibpath_var
=DYLD_LIBRARY_PATH
9678 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9680 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9681 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9689 soname_spec
='${libname}${release}${shared_ext}$major'
9690 shlibpath_var
=LD_LIBRARY_PATH
9697 freebsd
* | dragonfly
*)
9698 # DragonFly does not have aout. When/if they implement a new
9699 # versioning mechanism, adjust this.
9700 if test -x /usr
/bin
/objformat
; then
9701 objformat
=`/usr/bin/objformat`
9704 freebsd
[123]*) objformat
=aout
;;
9708 version_type
=freebsd-
$objformat
9709 case $version_type in
9711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9716 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9720 shlibpath_var
=LD_LIBRARY_PATH
9723 shlibpath_overrides_runpath
=yes
9725 freebsd3.
[01]* | freebsdelf3.
[01]*)
9726 shlibpath_overrides_runpath
=yes
9727 hardcode_into_libs
=yes
9729 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9730 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9731 shlibpath_overrides_runpath
=no
9732 hardcode_into_libs
=yes
9734 *) # from 4.6 on, and DragonFly
9735 shlibpath_overrides_runpath
=yes
9736 hardcode_into_libs
=yes
9745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9746 soname_spec
='${libname}${release}${shared_ext}$major'
9747 shlibpath_var
=LD_LIBRARY_PATH
9748 hardcode_into_libs
=yes
9751 hpux9
* | hpux10
* | hpux11
*)
9752 # Give a soname corresponding to the major version so that dld.sl refuses to
9753 # link against other versions.
9760 hardcode_into_libs
=yes
9761 dynamic_linker
="$host_os dld.so"
9762 shlibpath_var
=LD_LIBRARY_PATH
9763 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9765 soname_spec
='${libname}${release}${shared_ext}$major'
9766 if test "X$HPUX_IA64_MODE" = X32
; then
9767 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9769 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9771 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9775 hardcode_into_libs
=yes
9776 dynamic_linker
="$host_os dld.sl"
9777 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9778 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9780 soname_spec
='${libname}${release}${shared_ext}$major'
9781 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9782 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9786 dynamic_linker
="$host_os dld.sl"
9787 shlibpath_var
=SHLIB_PATH
9788 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9790 soname_spec
='${libname}${release}${shared_ext}$major'
9793 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9794 postinstall_cmds
='chmod 555 $lib'
9801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9802 soname_spec
='${libname}${release}${shared_ext}$major'
9803 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9804 shlibpath_var
=LD_LIBRARY_PATH
9805 shlibpath_overrides_runpath
=no
9806 hardcode_into_libs
=yes
9809 irix5
* | irix6
* | nonstopux
*)
9811 nonstopux
*) version_type
=nonstopux
;;
9813 if test "$lt_cv_prog_gnu_ld" = yes; then
9821 soname_spec
='${libname}${release}${shared_ext}$major'
9822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9824 irix5
* | nonstopux
*)
9828 case $LD in # libtool.m4 will add one of these switches to LD
9829 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9830 libsuff
= shlibsuff
= libmagic
=32-bit;;
9831 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9832 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9833 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9834 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9835 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9839 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9840 shlibpath_overrides_runpath
=no
9841 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9842 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9843 hardcode_into_libs
=yes
9846 # No shared lib support for Linux oldld, aout, or coff.
9847 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9851 # This must be Linux ELF.
9852 linux
* | k
*bsd
*-gnu)
9856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9857 soname_spec
='${libname}${release}${shared_ext}$major'
9858 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9859 shlibpath_var
=LD_LIBRARY_PATH
9860 shlibpath_overrides_runpath
=no
9861 # Some binutils ld are patched to set DT_RUNPATH
9862 save_LDFLAGS
=$LDFLAGS
9864 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9865 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9866 cat >conftest.
$ac_ext <<_ACEOF
9869 cat confdefs.h
>>conftest.
$ac_ext
9870 cat >>conftest.
$ac_ext <<_ACEOF
9871 /* end confdefs.h. */
9881 rm -f conftest.
$ac_objext conftest
$ac_exeext
9882 if { (ac_try
="$ac_link"
9884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9885 *) ac_try_echo=$ac_try;;
9887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9888 $as_echo "$ac_try_echo") >&5
9889 (eval "$ac_link") 2>conftest.er1
9891 grep -v '^ *+' conftest.er1 >conftest.err
9893 cat conftest.err >&5
9894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); } && {
9896 test -z "$ac_c_werror_flag" ||
9897 test ! -s conftest.err
9898 } && test -s conftest$ac_exeext && {
9899 test "$cross_compiling" = yes ||
9900 $as_test_x conftest$ac_exeext
9902 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9903 shlibpath_overrides_runpath=yes
9907 $as_echo "$as_me: failed program was:" >&5
9908 sed 's/^/| /' conftest.$ac_ext >&5
9913 rm -rf conftest.dSYM
9914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9915 conftest$ac_exeext conftest.$ac_ext
9916 LDFLAGS=$save_LDFLAGS
9919 # This implies no fast_install, which is unacceptable.
9920 # Some rework will be needed to allow for fast_install
9921 # before this can be enabled.
9922 hardcode_into_libs=yes
9924 # Add ABI-specific directories to the system library path.
9925 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9927 # Append ld.so.conf contents to the search path
9928 if test -f /etc/ld.so.conf; then
9929 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' ' '`
9930 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9933 # We used to test for /lib/ld.so.1 and disable shared libraries on
9934 # powerpc, because MkLinux only supported shared libraries with the
9935 # GNU dynamic linker. Since this was broken with cross compilers,
9936 # most powerpc-linux boxes support dynamic linking these days and
9937 # people can always --disable-shared, the test was removed, and we
9938 # assume the GNU/Linux dynamic linker is in use.
9939 dynamic_linker='GNU/Linux ld.so'
9946 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9948 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9949 dynamic_linker='NetBSD (a.out) ld.so'
9951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9952 soname_spec='${libname}${release}${shared_ext}$major'
9953 dynamic_linker='NetBSD ld.elf_so'
9955 shlibpath_var=LD_LIBRARY_PATH
9956 shlibpath_overrides_runpath=yes
9957 hardcode_into_libs=yes
9962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9963 shlibpath_var=LD_LIBRARY_PATH
9964 shlibpath_overrides_runpath=yes
9971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9972 soname_spec='${libname}${release}${shared_ext}$major'
9973 shlibpath_var=LD_LIBRARY_PATH
9974 shlibpath_overrides_runpath=no
9975 hardcode_into_libs=yes
9976 dynamic_linker='ldqnx.so'
9981 sys_lib_dlsearch_path_spec="/usr/lib"
9983 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9985 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9986 *) need_version=no ;;
9988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9989 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9990 shlibpath_var=LD_LIBRARY_PATH
9991 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9993 openbsd2.[89] | openbsd2.[89].*)
9994 shlibpath_overrides_runpath=no
9997 shlibpath_overrides_runpath=yes
10001 shlibpath_overrides_runpath=yes
10006 libname_spec='$name'
10009 library_names_spec='$libname${shared_ext} $libname.a'
10010 dynamic_linker='OS/2 ld.exe'
10011 shlibpath_var=LIBPATH
10014 osf3* | osf4* | osf5*)
10018 soname_spec='${libname}${release}${shared_ext}$major'
10019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10020 shlibpath_var=LD_LIBRARY_PATH
10021 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10022 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10034 soname_spec='${libname}${release}${shared_ext}$major'
10035 shlibpath_var=LD_LIBRARY_PATH
10036 shlibpath_overrides_runpath=yes
10037 hardcode_into_libs=yes
10038 # ldd complains unless libraries are executable
10039 postinstall_cmds='chmod +x $lib'
10044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10045 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10046 shlibpath_var=LD_LIBRARY_PATH
10047 shlibpath_overrides_runpath=yes
10048 if test "$with_gnu_ld" = yes; then
10056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10057 soname_spec='${libname}${release}${shared_ext}$major'
10058 shlibpath_var=LD_LIBRARY_PATH
10059 case $host_vendor in
10061 shlibpath_overrides_runpath=no
10063 runpath_var=LD_RUN_PATH
10071 shlibpath_overrides_runpath=no
10072 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10078 if test -d /usr/nec ;then
10080 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10081 soname_spec='$libname${shared_ext}.$major'
10082 shlibpath_var=LD_LIBRARY_PATH
10086 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10087 version_type=freebsd-elf
10090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10091 soname_spec='${libname}${release}${shared_ext}$major'
10092 shlibpath_var=LD_LIBRARY_PATH
10093 shlibpath_overrides_runpath=yes
10094 hardcode_into_libs=yes
10095 if test "$with_gnu_ld" = yes; then
10096 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10098 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10101 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10105 sys_lib_dlsearch_path_spec='/usr/lib'
10109 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10114 shlibpath_var=LD_LIBRARY_PATH
10115 shlibpath_overrides_runpath=no
10116 hardcode_into_libs=yes
10121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10122 soname_spec='${libname}${release}${shared_ext}$major'
10123 shlibpath_var=LD_LIBRARY_PATH
10130 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10131 $as_echo "$dynamic_linker" >&6; }
10132 test "$dynamic_linker" = no && can_build_shared=no
10134 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10135 if test "$GCC" = yes; then
10136 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10139 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10140 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10142 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10143 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10232 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10233 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10235 if test -n "$hardcode_libdir_flag_spec" ||
10236 test -n "$runpath_var" ||
10237 test "X$hardcode_automatic" = "Xyes" ; then
10239 # We can hardcode non-existent directories.
10240 if test "$hardcode_direct" != no &&
10241 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10242 # have to relink, otherwise we might link with an installed library
10243 # when we should be linking with a yet-to-be-installed one
10244 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10245 test "$hardcode_minus_L" != no; then
10246 # Linking always hardcodes the temporary library directory.
10247 hardcode_action=relink
10249 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10250 hardcode_action=immediate
10253 # We cannot hardcode anything, or else we can only hardcode existing
10255 hardcode_action=unsupported
10257 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10258 $as_echo "$hardcode_action" >&6; }
10260 if test "$hardcode_action" = relink ||
10261 test "$inherit_rpath" = yes; then
10262 # Fast installation is not supported
10263 enable_fast_install=no
10264 elif test "$shlibpath_overrides_runpath" = yes ||
10265 test "$enable_shared" = no; then
10266 # Fast installation is not necessary
10267 enable_fast_install=needless
10275 if test "x$enable_dlopen" != xyes; then
10276 enable_dlopen=unknown
10277 enable_dlopen_self=unknown
10278 enable_dlopen_self_static=unknown
10285 lt_cv_dlopen="load_add_on"
10287 lt_cv_dlopen_self=yes
10290 mingw* | pw32* | cegcc*)
10291 lt_cv_dlopen="LoadLibrary"
10296 lt_cv_dlopen="dlopen"
10301 # if libdl is installed we need to link against it
10302 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10303 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10304 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10305 $as_echo_n "(cached) " >&6
10307 ac_check_lib_save_LIBS=$LIBS
10309 cat >conftest.$ac_ext <<_ACEOF
10312 cat confdefs.h >>conftest.$ac_ext
10313 cat >>conftest.$ac_ext <<_ACEOF
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
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_lib_dl_dlopen
=yes
10354 $as_echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.
$ac_ext >&5
10357 ac_cv_lib_dl_dlopen
=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
10363 LIBS
=$ac_check_lib_save_LIBS
10365 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10366 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10367 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10368 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10371 lt_cv_dlopen
="dyld"
10373 lt_cv_dlopen_self
=yes
10380 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10381 $as_echo_n "checking for shl_load... " >&6; }
10382 if test "${ac_cv_func_shl_load+set}" = set; then
10383 $as_echo_n "(cached) " >&6
10385 cat >conftest.
$ac_ext <<_ACEOF
10388 cat confdefs.h
>>conftest.
$ac_ext
10389 cat >>conftest.
$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10391 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10393 #define shl_load innocuous_shl_load
10395 /* System header to define __stub macros and hopefully few prototypes,
10396 which can conflict with char shl_load (); below.
10397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10398 <limits.h> exists even on freestanding compilers. */
10401 # include <limits.h>
10403 # include <assert.h>
10408 /* Override any GCC internal prototype to avoid an error.
10409 Use char because int might match the return type of a GCC
10410 builtin and then its argument prototype would still apply. */
10415 /* The GNU C library defines this for functions which it implements
10416 to always fail with ENOSYS. Some functions are actually named
10417 something starting with __ and the normal name is an alias. */
10418 #if defined __stub_shl_load || defined __stub___shl_load
10425 return shl_load ();
10430 rm -f conftest.
$ac_objext conftest
$ac_exeext
10431 if { (ac_try
="$ac_link"
10432 case "(($ac_try" in
10433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10434 *) ac_try_echo=$ac_try;;
10436 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10437 $as_echo "$ac_try_echo") >&5
10438 (eval "$ac_link") 2>conftest.er1
10440 grep -v '^ *+' conftest.er1 >conftest.err
10442 cat conftest.err >&5
10443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); } && {
10445 test -z "$ac_c_werror_flag" ||
10446 test ! -s conftest.err
10447 } && test -s conftest$ac_exeext && {
10448 test "$cross_compiling" = yes ||
10449 $as_test_x conftest$ac_exeext
10451 ac_cv_func_shl_load=yes
10453 $as_echo "$as_me: failed program was:" >&5
10454 sed 's/^/| /' conftest.$ac_ext >&5
10456 ac_cv_func_shl_load=no
10459 rm -rf conftest.dSYM
10460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10461 conftest$ac_exeext conftest.$ac_ext
10463 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10464 $as_echo "$ac_cv_func_shl_load" >&6; }
10465 if test "x$ac_cv_func_shl_load" = x""yes; then
10466 lt_cv_dlopen="shl_load"
10468 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10469 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10470 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10471 $as_echo_n "(cached) " >&6
10473 ac_check_lib_save_LIBS=$LIBS
10475 cat >conftest.$ac_ext <<_ACEOF
10478 cat confdefs.h >>conftest.$ac_ext
10479 cat >>conftest.$ac_ext <<_ACEOF
10480 /* end confdefs.h. */
10482 /* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10492 return shl_load ();
10497 rm -f conftest.$ac_objext conftest$ac_exeext
10498 if { (ac_try="$ac_link"
10499 case "(($ac_try" in
10500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10501 *) ac_try_echo
=$ac_try;;
10503 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10504 $as_echo "$ac_try_echo") >&5
10505 (eval "$ac_link") 2>conftest.er1
10507 grep -v '^ *+' conftest.er1
>conftest.err
10509 cat conftest.err
>&5
10510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); } && {
10512 test -z "$ac_c_werror_flag" ||
10513 test ! -s conftest.err
10514 } && test -s conftest
$ac_exeext && {
10515 test "$cross_compiling" = yes ||
10516 $as_test_x conftest
$ac_exeext
10518 ac_cv_lib_dld_shl_load
=yes
10520 $as_echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.
$ac_ext >&5
10523 ac_cv_lib_dld_shl_load
=no
10526 rm -rf conftest.dSYM
10527 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10528 conftest
$ac_exeext conftest.
$ac_ext
10529 LIBS
=$ac_check_lib_save_LIBS
10531 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10532 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10533 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10534 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10536 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10537 $as_echo_n "checking for dlopen... " >&6; }
10538 if test "${ac_cv_func_dlopen+set}" = set; then
10539 $as_echo_n "(cached) " >&6
10541 cat >conftest.
$ac_ext <<_ACEOF
10544 cat confdefs.h
>>conftest.
$ac_ext
10545 cat >>conftest.
$ac_ext <<_ACEOF
10546 /* end confdefs.h. */
10547 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10549 #define dlopen innocuous_dlopen
10551 /* System header to define __stub macros and hopefully few prototypes,
10552 which can conflict with char dlopen (); below.
10553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10554 <limits.h> exists even on freestanding compilers. */
10557 # include <limits.h>
10559 # include <assert.h>
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10571 /* The GNU C library defines this for functions which it implements
10572 to always fail with ENOSYS. Some functions are actually named
10573 something starting with __ and the normal name is an alias. */
10574 #if defined __stub_dlopen || defined __stub___dlopen
10586 rm -f conftest.
$ac_objext conftest
$ac_exeext
10587 if { (ac_try
="$ac_link"
10588 case "(($ac_try" in
10589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10590 *) ac_try_echo=$ac_try;;
10592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10593 $as_echo "$ac_try_echo") >&5
10594 (eval "$ac_link") 2>conftest.er1
10596 grep -v '^ *+' conftest.er1 >conftest.err
10598 cat conftest.err >&5
10599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); } && {
10601 test -z "$ac_c_werror_flag" ||
10602 test ! -s conftest.err
10603 } && test -s conftest$ac_exeext && {
10604 test "$cross_compiling" = yes ||
10605 $as_test_x conftest$ac_exeext
10607 ac_cv_func_dlopen=yes
10609 $as_echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.$ac_ext >&5
10612 ac_cv_func_dlopen=no
10615 rm -rf conftest.dSYM
10616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10617 conftest$ac_exeext conftest.$ac_ext
10619 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10620 $as_echo "$ac_cv_func_dlopen" >&6; }
10621 if test "x$ac_cv_func_dlopen" = x""yes; then
10622 lt_cv_dlopen="dlopen"
10624 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10625 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10626 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10627 $as_echo_n "(cached) " >&6
10629 ac_check_lib_save_LIBS=$LIBS
10631 cat >conftest.$ac_ext <<_ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10638 /* Override any GCC internal prototype to avoid an error.
10639 Use char because int might match the return type of a GCC
10640 builtin and then its argument prototype would still apply. */
10653 rm -f conftest.$ac_objext conftest$ac_exeext
10654 if { (ac_try="$ac_link"
10655 case "(($ac_try" in
10656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10657 *) ac_try_echo
=$ac_try;;
10659 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10660 $as_echo "$ac_try_echo") >&5
10661 (eval "$ac_link") 2>conftest.er1
10663 grep -v '^ *+' conftest.er1
>conftest.err
10665 cat conftest.err
>&5
10666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } && {
10668 test -z "$ac_c_werror_flag" ||
10669 test ! -s conftest.err
10670 } && test -s conftest
$ac_exeext && {
10671 test "$cross_compiling" = yes ||
10672 $as_test_x conftest
$ac_exeext
10674 ac_cv_lib_dl_dlopen
=yes
10676 $as_echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.
$ac_ext >&5
10679 ac_cv_lib_dl_dlopen
=no
10682 rm -rf conftest.dSYM
10683 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10684 conftest
$ac_exeext conftest.
$ac_ext
10685 LIBS
=$ac_check_lib_save_LIBS
10687 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10688 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10689 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10690 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10692 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10693 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10694 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10695 $as_echo_n "(cached) " >&6
10697 ac_check_lib_save_LIBS
=$LIBS
10698 LIBS
="-lsvld $LIBS"
10699 cat >conftest.
$ac_ext <<_ACEOF
10702 cat confdefs.h
>>conftest.
$ac_ext
10703 cat >>conftest.
$ac_ext <<_ACEOF
10704 /* end confdefs.h. */
10706 /* Override any GCC internal prototype to avoid an error.
10707 Use char because int might match the return type of a GCC
10708 builtin and then its argument prototype would still apply. */
10721 rm -f conftest.
$ac_objext conftest
$ac_exeext
10722 if { (ac_try
="$ac_link"
10723 case "(($ac_try" in
10724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10725 *) ac_try_echo=$ac_try;;
10727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10728 $as_echo "$ac_try_echo") >&5
10729 (eval "$ac_link") 2>conftest.er1
10731 grep -v '^ *+' conftest.er1 >conftest.err
10733 cat conftest.err >&5
10734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); } && {
10736 test -z "$ac_c_werror_flag" ||
10737 test ! -s conftest.err
10738 } && test -s conftest$ac_exeext && {
10739 test "$cross_compiling" = yes ||
10740 $as_test_x conftest$ac_exeext
10742 ac_cv_lib_svld_dlopen=yes
10744 $as_echo "$as_me: failed program was:" >&5
10745 sed 's/^/| /' conftest.$ac_ext >&5
10747 ac_cv_lib_svld_dlopen=no
10750 rm -rf conftest.dSYM
10751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10752 conftest$ac_exeext conftest.$ac_ext
10753 LIBS=$ac_check_lib_save_LIBS
10755 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10756 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10757 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10758 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10760 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10761 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10762 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10763 $as_echo_n "(cached) " >&6
10765 ac_check_lib_save_LIBS=$LIBS
10767 cat >conftest.$ac_ext <<_ACEOF
10770 cat confdefs.h >>conftest.$ac_ext
10771 cat >>conftest.$ac_ext <<_ACEOF
10772 /* end confdefs.h. */
10774 /* Override any GCC internal prototype to avoid an error.
10775 Use char because int might match the return type of a GCC
10776 builtin and then its argument prototype would still apply. */
10784 return dld_link ();
10789 rm -f conftest.$ac_objext conftest$ac_exeext
10790 if { (ac_try="$ac_link"
10791 case "(($ac_try" in
10792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10793 *) ac_try_echo
=$ac_try;;
10795 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10796 $as_echo "$ac_try_echo") >&5
10797 (eval "$ac_link") 2>conftest.er1
10799 grep -v '^ *+' conftest.er1
>conftest.err
10801 cat conftest.err
>&5
10802 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } && {
10804 test -z "$ac_c_werror_flag" ||
10805 test ! -s conftest.err
10806 } && test -s conftest
$ac_exeext && {
10807 test "$cross_compiling" = yes ||
10808 $as_test_x conftest
$ac_exeext
10810 ac_cv_lib_dld_dld_link
=yes
10812 $as_echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.
$ac_ext >&5
10815 ac_cv_lib_dld_dld_link
=no
10818 rm -rf conftest.dSYM
10819 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10820 conftest
$ac_exeext conftest.
$ac_ext
10821 LIBS
=$ac_check_lib_save_LIBS
10823 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10824 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10825 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
10826 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10847 if test "x$lt_cv_dlopen" != xno
; then
10853 case $lt_cv_dlopen in
10855 save_CPPFLAGS
="$CPPFLAGS"
10856 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10858 save_LDFLAGS
="$LDFLAGS"
10859 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10862 LIBS
="$lt_cv_dlopen_libs $LIBS"
10864 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10865 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10866 if test "${lt_cv_dlopen_self+set}" = set; then
10867 $as_echo_n "(cached) " >&6
10869 if test "$cross_compiling" = yes; then :
10870 lt_cv_dlopen_self
=cross
10872 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10873 lt_status
=$lt_dlunknown
10874 cat > conftest.
$ac_ext <<_LT_EOF
10875 #line 10875 "configure"
10876 #include "confdefs.h"
10885 # define LT_DLGLOBAL RTLD_GLOBAL
10888 # define LT_DLGLOBAL DL_GLOBAL
10890 # define LT_DLGLOBAL 0
10894 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10895 find out it does not work in some platform. */
10896 #ifndef LT_DLLAZY_OR_NOW
10898 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10901 # define LT_DLLAZY_OR_NOW DL_LAZY
10904 # define LT_DLLAZY_OR_NOW RTLD_NOW
10907 # define LT_DLLAZY_OR_NOW DL_NOW
10909 # define LT_DLLAZY_OR_NOW 0
10916 void fnord() { int i=42;}
10919 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10920 int status = $lt_dlunknown;
10924 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10925 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10926 /* dlclose (self); */
10934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10935 (eval $ac_link) 2>&5
10937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10939 (.
/conftest
; exit; ) >&5 2>/dev
/null
10941 case x
$lt_status in
10942 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10943 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10944 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10947 # compilation failed
10948 lt_cv_dlopen_self
=no
10955 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10956 $as_echo "$lt_cv_dlopen_self" >&6; }
10958 if test "x$lt_cv_dlopen_self" = xyes
; then
10959 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10960 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10961 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10962 if test "${lt_cv_dlopen_self_static+set}" = set; then
10963 $as_echo_n "(cached) " >&6
10965 if test "$cross_compiling" = yes; then :
10966 lt_cv_dlopen_self_static
=cross
10968 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10969 lt_status
=$lt_dlunknown
10970 cat > conftest.
$ac_ext <<_LT_EOF
10971 #line 10971 "configure"
10972 #include "confdefs.h"
10981 # define LT_DLGLOBAL RTLD_GLOBAL
10984 # define LT_DLGLOBAL DL_GLOBAL
10986 # define LT_DLGLOBAL 0
10990 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10991 find out it does not work in some platform. */
10992 #ifndef LT_DLLAZY_OR_NOW
10994 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10997 # define LT_DLLAZY_OR_NOW DL_LAZY
11000 # define LT_DLLAZY_OR_NOW RTLD_NOW
11003 # define LT_DLLAZY_OR_NOW DL_NOW
11005 # define LT_DLLAZY_OR_NOW 0
11012 void fnord() { int i=42;}
11015 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11016 int status = $lt_dlunknown;
11020 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11021 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11022 /* dlclose (self); */
11030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11031 (eval $ac_link) 2>&5
11033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11035 (.
/conftest
; exit; ) >&5 2>/dev
/null
11037 case x
$lt_status in
11038 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11039 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11040 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11043 # compilation failed
11044 lt_cv_dlopen_self_static
=no
11051 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11052 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11055 CPPFLAGS
="$save_CPPFLAGS"
11056 LDFLAGS
="$save_LDFLAGS"
11061 case $lt_cv_dlopen_self in
11062 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11063 *) enable_dlopen_self
=unknown
;;
11066 case $lt_cv_dlopen_self_static in
11067 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11068 *) enable_dlopen_self_static
=unknown
;;
11090 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11091 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11092 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11093 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11094 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11095 { $as_echo "$as_me:$LINENO: result: yes" >&5
11096 $as_echo "yes" >&6; }
11098 # FIXME - insert some real tests, host_os isn't really good enough
11101 if test -n "$STRIP" ; then
11102 striplib
="$STRIP -x"
11103 old_striplib
="$STRIP -S"
11104 { $as_echo "$as_me:$LINENO: result: yes" >&5
11105 $as_echo "yes" >&6; }
11107 { $as_echo "$as_me:$LINENO: result: no" >&5
11108 $as_echo "no" >&6; }
11112 { $as_echo "$as_me:$LINENO: result: no" >&5
11113 $as_echo "no" >&6; }
11129 # Report which library types will actually be built
11130 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11131 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11132 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11133 $as_echo "$can_build_shared" >&6; }
11135 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11136 $as_echo_n "checking whether to build shared libraries... " >&6; }
11137 test "$can_build_shared" = "no" && enable_shared
=no
11139 # On AIX, shared libraries and static libraries use the same namespace, and
11140 # are all built from PIC.
11143 test "$enable_shared" = yes && enable_static
=no
11144 if test -n "$RANLIB"; then
11145 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11146 postinstall_cmds
='$RANLIB $lib'
11151 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11152 test "$enable_shared" = yes && enable_static
=no
11156 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11157 $as_echo "$enable_shared" >&6; }
11159 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11160 $as_echo_n "checking whether to build static libraries... " >&6; }
11161 # Make sure either enable_shared or enable_static is yes.
11162 test "$enable_shared" = yes || enable_static
=yes
11163 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11164 $as_echo "$enable_static" >&6; }
11171 ac_cpp
='$CPP $CPPFLAGS'
11172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11190 ac_config_commands
="$ac_config_commands libtool"
11195 # Only expand once:
11207 for ac_header
in errno.h fcntl.h sys
/fcntl.h sys
/ioctl.h sys
/file.h unistd.h sysexits.h
11209 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11210 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11211 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11212 $as_echo_n "checking for $ac_header... " >&6; }
11213 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11214 $as_echo_n "(cached) " >&6
11216 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11217 $as_echo "$as_val"'`
11218 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11219 $as_echo "$ac_res" >&6; }
11221 # Is the header compilable?
11222 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11223 $as_echo_n "checking $ac_header usability... " >&6; }
11224 cat >conftest.
$ac_ext <<_ACEOF
11227 cat confdefs.h
>>conftest.
$ac_ext
11228 cat >>conftest.
$ac_ext <<_ACEOF
11229 /* end confdefs.h. */
11230 $ac_includes_default
11231 #include <$ac_header>
11233 rm -f conftest.
$ac_objext
11234 if { (ac_try
="$ac_compile"
11235 case "(($ac_try" in
11236 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11237 *) ac_try_echo=$ac_try;;
11239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11240 $as_echo "$ac_try_echo") >&5
11241 (eval "$ac_compile") 2>conftest.er1
11243 grep -v '^ *+' conftest.er1 >conftest.err
11245 cat conftest.err >&5
11246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } && {
11248 test -z "$ac_c_werror_flag" ||
11249 test ! -s conftest.err
11250 } && test -s conftest.$ac_objext; then
11251 ac_header_compiler=yes
11253 $as_echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.$ac_ext >&5
11256 ac_header_compiler=no
11259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11260 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11261 $as_echo "$ac_header_compiler" >&6; }
11263 # Is the header present?
11264 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11265 $as_echo_n "checking $ac_header presence... " >&6; }
11266 cat >conftest.$ac_ext <<_ACEOF
11269 cat confdefs.h >>conftest.$ac_ext
11270 cat >>conftest.$ac_ext <<_ACEOF
11271 /* end confdefs.h. */
11272 #include <$ac_header>
11274 if { (ac_try="$ac_cpp conftest.$ac_ext"
11275 case "(($ac_try" in
11276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11277 *) ac_try_echo
=$ac_try;;
11279 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11280 $as_echo "$ac_try_echo") >&5
11281 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11283 grep -v '^ *+' conftest.er1
>conftest.err
11285 cat conftest.err
>&5
11286 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } >/dev
/null
&& {
11288 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11289 test ! -s conftest.err
11291 ac_header_preproc
=yes
11293 $as_echo "$as_me: failed program was:" >&5
11294 sed 's/^/| /' conftest.
$ac_ext >&5
11296 ac_header_preproc
=no
11299 rm -f conftest.err conftest.
$ac_ext
11300 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11301 $as_echo "$ac_header_preproc" >&6; }
11303 # So? What about this header?
11304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11306 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11307 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11308 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11309 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11310 ac_header_preproc
=yes
11313 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11314 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11315 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11316 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11317 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11318 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11319 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11320 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11321 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11322 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11323 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11324 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11326 ## -------------------------------------------------- ##
11327 ## Report this to courier-users@lists.sourceforge.net ##
11328 ## -------------------------------------------------- ##
11330 ) |
sed "s/^/$as_me: WARNING: /" >&2
11333 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11334 $as_echo_n "checking for $ac_header... " >&6; }
11335 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11336 $as_echo_n "(cached) " >&6
11338 eval "$as_ac_Header=\$ac_header_preproc"
11340 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11341 $as_echo "$as_val"'`
11342 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11343 $as_echo "$ac_res" >&6; }
11346 as_val
=`eval 'as_val=${'$as_ac_Header'}
11347 $as_echo "$as_val"'`
11348 if test "x$as_val" = x
""yes; then
11349 cat >>confdefs.h
<<_ACEOF
11350 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11357 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11358 $as_echo_n "checking for ANSI C header files... " >&6; }
11359 if test "${ac_cv_header_stdc+set}" = set; then
11360 $as_echo_n "(cached) " >&6
11362 cat >conftest.
$ac_ext <<_ACEOF
11365 cat confdefs.h
>>conftest.
$ac_ext
11366 cat >>conftest.
$ac_ext <<_ACEOF
11367 /* end confdefs.h. */
11368 #include <stdlib.h>
11369 #include <stdarg.h>
11370 #include <string.h>
11381 rm -f conftest.
$ac_objext
11382 if { (ac_try
="$ac_compile"
11383 case "(($ac_try" in
11384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11385 *) ac_try_echo=$ac_try;;
11387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11388 $as_echo "$ac_try_echo") >&5
11389 (eval "$ac_compile") 2>conftest.er1
11391 grep -v '^ *+' conftest.er1 >conftest.err
11393 cat conftest.err >&5
11394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); } && {
11396 test -z "$ac_c_werror_flag" ||
11397 test ! -s conftest.err
11398 } && test -s conftest.$ac_objext; then
11399 ac_cv_header_stdc=yes
11401 $as_echo "$as_me: failed program was:" >&5
11402 sed 's/^/| /' conftest.$ac_ext >&5
11404 ac_cv_header_stdc=no
11407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11409 if test $ac_cv_header_stdc = yes; then
11410 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11411 cat >conftest.$ac_ext <<_ACEOF
11414 cat confdefs.h >>conftest.$ac_ext
11415 cat >>conftest.$ac_ext <<_ACEOF
11416 /* end confdefs.h. */
11417 #include <string.h>
11420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11421 $EGREP "memchr" >/dev/null 2>&1; then
11424 ac_cv_header_stdc=no
11430 if test $ac_cv_header_stdc = yes; then
11431 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11432 cat >conftest.$ac_ext <<_ACEOF
11435 cat confdefs.h >>conftest.$ac_ext
11436 cat >>conftest.$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11438 #include <stdlib.h>
11441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11442 $EGREP "free" >/dev/null 2>&1; then
11445 ac_cv_header_stdc=no
11451 if test $ac_cv_header_stdc = yes; then
11452 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11453 if test "$cross_compiling" = yes; then
11456 cat >conftest.$ac_ext <<_ACEOF
11459 cat confdefs.h >>conftest.$ac_ext
11460 cat >>conftest.$ac_ext <<_ACEOF
11461 /* end confdefs.h. */
11463 #include <stdlib.h>
11464 #if ((' ' & 0x0FF) == 0x020)
11465 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11466 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11468 # define ISLOWER(c) \
11469 (('a' <= (c) && (c) <= 'i') \
11470 || ('j' <= (c) && (c) <= 'r') \
11471 || ('s' <= (c) && (c) <= 'z'))
11472 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11475 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11480 for (i = 0; i < 256; i++)
11481 if (XOR (islower (i), ISLOWER (i))
11482 || toupper (i) != TOUPPER (i))
11487 rm -f conftest$ac_exeext
11488 if { (ac_try="$ac_link"
11489 case "(($ac_try" in
11490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11491 *) ac_try_echo
=$ac_try;;
11493 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11494 $as_echo "$ac_try_echo") >&5
11495 (eval "$ac_link") 2>&5
11497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11499 { (case "(($ac_try" in
11500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11501 *) ac_try_echo=$ac_try;;
11503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11504 $as_echo "$ac_try_echo") >&5
11505 (eval "$ac_try") 2>&5
11507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; }; then
11511 $as_echo "$as_me: program exited with status $ac_status" >&5
11512 $as_echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.$ac_ext >&5
11515 ( exit $ac_status )
11516 ac_cv_header_stdc=no
11518 rm -rf conftest.dSYM
11519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11525 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11526 $as_echo "$ac_cv_header_stdc" >&6; }
11527 if test $ac_cv_header_stdc = yes; then
11529 cat >>confdefs.h <<\_ACEOF
11530 #define STDC_HEADERS 1
11535 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
11536 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
11537 if test "${ac_cv_header_sys_wait_h+set}" = set; then
11538 $as_echo_n "(cached) " >&6
11540 cat >conftest.$ac_ext <<_ACEOF
11543 cat confdefs.h >>conftest.$ac_ext
11544 cat >>conftest.$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11546 #include <sys/types.h>
11547 #include <sys/wait.h>
11548 #ifndef WEXITSTATUS
11549 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
11552 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11560 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11565 rm -f conftest.$ac_objext
11566 if { (ac_try="$ac_compile"
11567 case "(($ac_try" in
11568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11569 *) ac_try_echo
=$ac_try;;
11571 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11572 $as_echo "$ac_try_echo") >&5
11573 (eval "$ac_compile") 2>conftest.er1
11575 grep -v '^ *+' conftest.er1
>conftest.err
11577 cat conftest.err
>&5
11578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } && {
11580 test -z "$ac_c_werror_flag" ||
11581 test ! -s conftest.err
11582 } && test -s conftest.
$ac_objext; then
11583 ac_cv_header_sys_wait_h
=yes
11585 $as_echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.
$ac_ext >&5
11588 ac_cv_header_sys_wait_h
=no
11591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11593 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
11594 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
11595 if test $ac_cv_header_sys_wait_h = yes; then
11597 cat >>confdefs.h
<<\_ACEOF
11598 #define HAVE_SYS_WAIT_H 1
11605 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11606 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11607 if test "${ac_cv_c_const+set}" = set; then
11608 $as_echo_n "(cached) " >&6
11610 cat >conftest.
$ac_ext <<_ACEOF
11613 cat confdefs.h
>>conftest.
$ac_ext
11614 cat >>conftest.
$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11620 /* FIXME: Include the comments suggested by Paul. */
11621 #ifndef __cplusplus
11622 /* Ultrix mips cc rejects this. */
11623 typedef int charset[2];
11625 /* SunOS 4.1.1 cc rejects this. */
11626 char const *const *pcpcc;
11628 /* NEC SVR4.0.2 mips cc rejects this. */
11629 struct point {int x, y;};
11630 static struct point const zero = {0,0};
11631 /* AIX XL C 1.02.0.0 rejects this.
11632 It does not let you subtract one const X* pointer from another in
11633 an arm of an if-expression whose if-part is not a constant
11635 const char *g = "string";
11636 pcpcc = &g + (g ? g-g : 0);
11637 /* HPUX 7.0 cc rejects these. */
11639 ppc = (char**) pcpcc;
11640 pcpcc = (char const *const *) ppc;
11641 { /* SCO 3.2v4 cc rejects this. */
11643 char const *s = 0 ? (char *) 0 : (char const *) 0;
11648 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11649 int x[] = {25, 17};
11650 const int *foo = &x[0];
11653 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11654 typedef const int *iptr;
11658 { /* AIX XL C 1.02.0.0 rejects this saying
11659 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11660 struct s { int j; const int *ap[3]; };
11661 struct s *b; b->j = 5;
11663 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11664 const int foo = 10;
11665 if (!foo) return 0;
11667 return !cs[0] && !zero.x;
11674 rm -f conftest.
$ac_objext
11675 if { (ac_try
="$ac_compile"
11676 case "(($ac_try" in
11677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11678 *) ac_try_echo=$ac_try;;
11680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11681 $as_echo "$ac_try_echo") >&5
11682 (eval "$ac_compile") 2>conftest.er1
11684 grep -v '^ *+' conftest.er1 >conftest.err
11686 cat conftest.err >&5
11687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); } && {
11689 test -z "$ac_c_werror_flag" ||
11690 test ! -s conftest.err
11691 } && test -s conftest.$ac_objext; then
11694 $as_echo "$as_me: failed program was:" >&5
11695 sed 's/^/| /' conftest.$ac_ext >&5
11700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11702 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11703 $as_echo "$ac_cv_c_const" >&6; }
11704 if test $ac_cv_c_const = no; then
11706 cat >>confdefs.h <<\_ACEOF
11712 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
11713 $as_echo_n "checking for off_t... " >&6; }
11714 if test "${ac_cv_type_off_t+set}" = set; then
11715 $as_echo_n "(cached) " >&6
11717 ac_cv_type_off_t=no
11718 cat >conftest.$ac_ext <<_ACEOF
11721 cat confdefs.h >>conftest.$ac_ext
11722 cat >>conftest.$ac_ext <<_ACEOF
11723 /* end confdefs.h. */
11724 $ac_includes_default
11728 if (sizeof (off_t))
11734 rm -f conftest.$ac_objext
11735 if { (ac_try="$ac_compile"
11736 case "(($ac_try" in
11737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11738 *) ac_try_echo
=$ac_try;;
11740 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11741 $as_echo "$ac_try_echo") >&5
11742 (eval "$ac_compile") 2>conftest.er1
11744 grep -v '^ *+' conftest.er1
>conftest.err
11746 cat conftest.err
>&5
11747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); } && {
11749 test -z "$ac_c_werror_flag" ||
11750 test ! -s conftest.err
11751 } && test -s conftest.
$ac_objext; then
11752 cat >conftest.
$ac_ext <<_ACEOF
11755 cat confdefs.h
>>conftest.
$ac_ext
11756 cat >>conftest.
$ac_ext <<_ACEOF
11757 /* end confdefs.h. */
11758 $ac_includes_default
11762 if (sizeof ((off_t)))
11768 rm -f conftest.
$ac_objext
11769 if { (ac_try
="$ac_compile"
11770 case "(($ac_try" in
11771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11772 *) ac_try_echo=$ac_try;;
11774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11775 $as_echo "$ac_try_echo") >&5
11776 (eval "$ac_compile") 2>conftest.er1
11778 grep -v '^ *+' conftest.er1 >conftest.err
11780 cat conftest.err >&5
11781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); } && {
11783 test -z "$ac_c_werror_flag" ||
11784 test ! -s conftest.err
11785 } && test -s conftest.$ac_objext; then
11788 $as_echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.$ac_ext >&5
11791 ac_cv_type_off_t=yes
11794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11796 $as_echo "$as_me: failed program was:" >&5
11797 sed 's/^/| /' conftest.$ac_ext >&5
11802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11804 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11805 $as_echo "$ac_cv_type_off_t" >&6; }
11806 if test "x$ac_cv_type_off_t" = x""yes; then
11810 cat >>confdefs.h <<_ACEOF
11811 #define off_t long int
11816 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
11817 $as_echo_n "checking for pid_t... " >&6; }
11818 if test "${ac_cv_type_pid_t+set}" = set; then
11819 $as_echo_n "(cached) " >&6
11821 ac_cv_type_pid_t=no
11822 cat >conftest.$ac_ext <<_ACEOF
11825 cat confdefs.h >>conftest.$ac_ext
11826 cat >>conftest.$ac_ext <<_ACEOF
11827 /* end confdefs.h. */
11828 $ac_includes_default
11832 if (sizeof (pid_t))
11838 rm -f conftest.$ac_objext
11839 if { (ac_try="$ac_compile"
11840 case "(($ac_try" in
11841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11842 *) ac_try_echo
=$ac_try;;
11844 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11845 $as_echo "$ac_try_echo") >&5
11846 (eval "$ac_compile") 2>conftest.er1
11848 grep -v '^ *+' conftest.er1
>conftest.err
11850 cat conftest.err
>&5
11851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); } && {
11853 test -z "$ac_c_werror_flag" ||
11854 test ! -s conftest.err
11855 } && test -s conftest.
$ac_objext; then
11856 cat >conftest.
$ac_ext <<_ACEOF
11859 cat confdefs.h
>>conftest.
$ac_ext
11860 cat >>conftest.
$ac_ext <<_ACEOF
11861 /* end confdefs.h. */
11862 $ac_includes_default
11866 if (sizeof ((pid_t)))
11872 rm -f conftest.
$ac_objext
11873 if { (ac_try
="$ac_compile"
11874 case "(($ac_try" in
11875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11876 *) ac_try_echo=$ac_try;;
11878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11879 $as_echo "$ac_try_echo") >&5
11880 (eval "$ac_compile") 2>conftest.er1
11882 grep -v '^ *+' conftest.er1 >conftest.err
11884 cat conftest.err >&5
11885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } && {
11887 test -z "$ac_c_werror_flag" ||
11888 test ! -s conftest.err
11889 } && test -s conftest.$ac_objext; then
11892 $as_echo "$as_me: failed program was:" >&5
11893 sed 's/^/| /' conftest.$ac_ext >&5
11895 ac_cv_type_pid_t=yes
11898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11900 $as_echo "$as_me: failed program was:" >&5
11901 sed 's/^/| /' conftest.$ac_ext >&5
11906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11908 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11909 $as_echo "$ac_cv_type_pid_t" >&6; }
11910 if test "x$ac_cv_type_pid_t" = x""yes; then
11914 cat >>confdefs.h <<_ACEOF
11920 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
11921 $as_echo_n "checking return type of signal handlers... " >&6; }
11922 if test "${ac_cv_type_signal+set}" = set; then
11923 $as_echo_n "(cached) " >&6
11925 cat >conftest.$ac_ext <<_ACEOF
11928 cat confdefs.h >>conftest.$ac_ext
11929 cat >>conftest.$ac_ext <<_ACEOF
11930 /* end confdefs.h. */
11931 #include <sys/types.h>
11932 #include <signal.h>
11937 return *(signal (0, 0)) (0) == 1;
11942 rm -f conftest.$ac_objext
11943 if { (ac_try="$ac_compile"
11944 case "(($ac_try" in
11945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11946 *) ac_try_echo
=$ac_try;;
11948 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11949 $as_echo "$ac_try_echo") >&5
11950 (eval "$ac_compile") 2>conftest.er1
11952 grep -v '^ *+' conftest.er1
>conftest.err
11954 cat conftest.err
>&5
11955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); } && {
11957 test -z "$ac_c_werror_flag" ||
11958 test ! -s conftest.err
11959 } && test -s conftest.
$ac_objext; then
11960 ac_cv_type_signal
=int
11962 $as_echo "$as_me: failed program was:" >&5
11963 sed 's/^/| /' conftest.
$ac_ext >&5
11965 ac_cv_type_signal
=void
11968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11970 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
11971 $as_echo "$ac_cv_type_signal" >&6; }
11973 cat >>confdefs.h
<<_ACEOF
11974 #define RETSIGTYPE $ac_cv_type_signal
11979 { $as_echo "$as_me:$LINENO: checking for off64_t" >&5
11980 $as_echo_n "checking for off64_t... " >&6; }
11981 if test "${liblock_cv_hasoff64t+set}" = set; then
11982 $as_echo_n "(cached) " >&6
11984 liblock_cv_hasoff64t
="no"
11985 cat >conftest.
$ac_ext <<_ACEOF
11988 cat confdefs.h
>>conftest.
$ac_ext
11989 cat >>conftest.
$ac_ext <<_ACEOF
11990 /* end confdefs.h. */
11992 #include <sys/types.h>
12006 rm -f conftest.
$ac_objext
12007 if { (ac_try
="$ac_compile"
12008 case "(($ac_try" in
12009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12010 *) ac_try_echo=$ac_try;;
12012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12013 $as_echo "$ac_try_echo") >&5
12014 (eval "$ac_compile") 2>conftest.er1
12016 grep -v '^ *+' conftest.er1 >conftest.err
12018 cat conftest.err >&5
12019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } && {
12021 test -z "$ac_c_werror_flag" ||
12022 test ! -s conftest.err
12023 } && test -s conftest.$ac_objext; then
12024 liblock_cv_hasoff64t="yes"
12026 $as_echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.$ac_ext >&5
12032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12036 { $as_echo "$as_me:$LINENO: result: $liblock_cv_hasoff64t" >&5
12037 $as_echo "$liblock_cv_hasoff64t" >&6; }
12039 if test "$liblock_cv_hasoff64t" = "yes"
12041 LL_OFFSET_TYPE=off64_t
12043 LL_OFFSET_TYPE=off_t
12046 cat >>confdefs.h <<_ACEOF
12047 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12051 { $as_echo "$as_me:$LINENO: checking for flock_t" >&5
12052 $as_echo_n "checking for flock_t... " >&6; }
12053 if test "${liblock_cv_hasflock_t+set}" = set; then
12054 $as_echo_n "(cached) " >&6
12056 liblock_cv_hasflock_t="no"
12057 cat >conftest.$ac_ext <<_ACEOF
12060 cat confdefs.h >>conftest.$ac_ext
12061 cat >>conftest.$ac_ext <<_ACEOF
12062 /* end confdefs.h. */
12065 #include "config.h"
12067 #include <sys/types.h>
12071 #if HAVE_SYS_FCNTL_H
12072 #include <sys/fcntl.h>
12085 rm -f conftest.$ac_objext
12086 if { (ac_try="$ac_compile"
12087 case "(($ac_try" in
12088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12089 *) ac_try_echo
=$ac_try;;
12091 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12092 $as_echo "$ac_try_echo") >&5
12093 (eval "$ac_compile") 2>conftest.er1
12095 grep -v '^ *+' conftest.er1
>conftest.err
12097 cat conftest.err
>&5
12098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); } && {
12100 test -z "$ac_c_werror_flag" ||
12101 test ! -s conftest.err
12102 } && test -s conftest.
$ac_objext; then
12103 liblock_cv_hasflock_t
="yes"
12105 $as_echo "$as_me: failed program was:" >&5
12106 sed 's/^/| /' conftest.
$ac_ext >&5
12111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12113 { $as_echo "$as_me:$LINENO: result: $liblock_cv_hasflock_t" >&5
12114 $as_echo "$liblock_cv_hasflock_t" >&6; }
12116 if test "$liblock_cv_hasflock_t" = "yes"
12119 cat >>confdefs.h
<<_ACEOF
12120 #define HAS_FLOCK_T 1
12129 for ac_func
in getdtablesize setpgrp sysconf
12131 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12132 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12133 $as_echo_n "checking for $ac_func... " >&6; }
12134 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12135 $as_echo_n "(cached) " >&6
12137 cat >conftest.
$ac_ext <<_ACEOF
12140 cat confdefs.h
>>conftest.
$ac_ext
12141 cat >>conftest.
$ac_ext <<_ACEOF
12142 /* end confdefs.h. */
12143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12145 #define $ac_func innocuous_$ac_func
12147 /* System header to define __stub macros and hopefully few prototypes,
12148 which can conflict with char $ac_func (); below.
12149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12150 <limits.h> exists even on freestanding compilers. */
12153 # include <limits.h>
12155 # include <assert.h>
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12167 /* The GNU C library defines this for functions which it implements
12168 to always fail with ENOSYS. Some functions are actually named
12169 something starting with __ and the normal name is an alias. */
12170 #if defined __stub_$ac_func || defined __stub___$ac_func
12177 return $ac_func ();
12182 rm -f conftest.
$ac_objext conftest
$ac_exeext
12183 if { (ac_try
="$ac_link"
12184 case "(($ac_try" in
12185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12186 *) ac_try_echo=$ac_try;;
12188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12189 $as_echo "$ac_try_echo") >&5
12190 (eval "$ac_link") 2>conftest.er1
12192 grep -v '^ *+' conftest.er1 >conftest.err
12194 cat conftest.err >&5
12195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } && {
12197 test -z "$ac_c_werror_flag" ||
12198 test ! -s conftest.err
12199 } && test -s conftest$ac_exeext && {
12200 test "$cross_compiling" = yes ||
12201 $as_test_x conftest$ac_exeext
12203 eval "$as_ac_var=yes"
12205 $as_echo "$as_me: failed program was:" >&5
12206 sed 's/^/| /' conftest.$ac_ext >&5
12208 eval "$as_ac_var=no"
12211 rm -rf conftest.dSYM
12212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12213 conftest$ac_exeext conftest.$ac_ext
12215 ac_res=`eval 'as_val=${'$as_ac_var'}
12216 $as_echo "$as_val"'`
12217 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12218 $as_echo "$ac_res" >&6; }
12219 as_val=`eval 'as_val=${'$as_ac_var'}
12220 $as_echo "$as_val"'`
12221 if test "x$as_val" = x""yes; then
12222 cat >>confdefs.h <<_ACEOF
12223 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12229 { $as_echo "$as_me:$LINENO: checking for setpgrp" >&5
12230 $as_echo_n "checking for setpgrp... " >&6; }
12231 if test "${ac_cv_func_setpgrp+set}" = set; then
12232 $as_echo_n "(cached) " >&6
12234 cat >conftest.$ac_ext <<_ACEOF
12237 cat confdefs.h >>conftest.$ac_ext
12238 cat >>conftest.$ac_ext <<_ACEOF
12239 /* end confdefs.h. */
12240 /* Define setpgrp to an innocuous variant, in case <limits.h> declares setpgrp.
12241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12242 #define setpgrp innocuous_setpgrp
12244 /* System header to define __stub macros and hopefully few prototypes,
12245 which can conflict with char setpgrp (); below.
12246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12247 <limits.h> exists even on freestanding compilers. */
12250 # include <limits.h>
12252 # include <assert.h>
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12264 /* The GNU C library defines this for functions which it implements
12265 to always fail with ENOSYS. Some functions are actually named
12266 something starting with __ and the normal name is an alias. */
12267 #if defined __stub_setpgrp || defined __stub___setpgrp
12279 rm -f conftest.$ac_objext conftest$ac_exeext
12280 if { (ac_try="$ac_link"
12281 case "(($ac_try" in
12282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12283 *) ac_try_echo
=$ac_try;;
12285 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12286 $as_echo "$ac_try_echo") >&5
12287 (eval "$ac_link") 2>conftest.er1
12289 grep -v '^ *+' conftest.er1
>conftest.err
12291 cat conftest.err
>&5
12292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); } && {
12294 test -z "$ac_c_werror_flag" ||
12295 test ! -s conftest.err
12296 } && test -s conftest
$ac_exeext && {
12297 test "$cross_compiling" = yes ||
12298 $as_test_x conftest
$ac_exeext
12300 ac_cv_func_setpgrp
=yes
12302 $as_echo "$as_me: failed program was:" >&5
12303 sed 's/^/| /' conftest.
$ac_ext >&5
12305 ac_cv_func_setpgrp
=no
12308 rm -rf conftest.dSYM
12309 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12310 conftest
$ac_exeext conftest.
$ac_ext
12312 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp" >&5
12313 $as_echo "$ac_cv_func_setpgrp" >&6; }
12314 if test "x$ac_cv_func_setpgrp" = x
""yes; then
12316 { $as_echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
12317 $as_echo_n "checking whether setpgrp takes no argument... " >&6; }
12318 if test "${ac_cv_func_setpgrp_void+set}" = set; then
12319 $as_echo_n "(cached) " >&6
12321 if test "$cross_compiling" = yes; then
12322 { { $as_echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
12323 $as_echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
12324 { (exit 1); exit 1; }; }
12326 cat >conftest.
$ac_ext <<_ACEOF
12329 cat confdefs.h
>>conftest.
$ac_ext
12330 cat >>conftest.
$ac_ext <<_ACEOF
12331 /* end confdefs.h. */
12332 $ac_includes_default
12336 /* If this system has a BSD-style setpgrp which takes arguments,
12337 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
12338 exit successfully. */
12339 return setpgrp (1,1) != -1;
12344 rm -f conftest
$ac_exeext
12345 if { (ac_try
="$ac_link"
12346 case "(($ac_try" in
12347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12348 *) ac_try_echo=$ac_try;;
12350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12351 $as_echo "$ac_try_echo") >&5
12352 (eval "$ac_link") 2>&5
12354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12356 { (case "(($ac_try" in
12357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12358 *) ac_try_echo
=$ac_try;;
12360 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12361 $as_echo "$ac_try_echo") >&5
12362 (eval "$ac_try") 2>&5
12364 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }; }; then
12366 ac_cv_func_setpgrp_void
=no
12368 $as_echo "$as_me: program exited with status $ac_status" >&5
12369 $as_echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.
$ac_ext >&5
12372 ( exit $ac_status )
12373 ac_cv_func_setpgrp_void
=yes
12375 rm -rf conftest.dSYM
12376 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12381 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
12382 $as_echo "$ac_cv_func_setpgrp_void" >&6; }
12383 if test $ac_cv_func_setpgrp_void = yes; then
12385 cat >>confdefs.h
<<\_ACEOF
12386 #define SETPGRP_VOID 1
12396 { $as_echo "$as_me:$LINENO: checking for fcntl" >&5
12397 $as_echo_n "checking for fcntl... " >&6; }
12398 if test "${liblock_cv_hasfcntl+set}" = set; then
12399 $as_echo_n "(cached) " >&6
12401 liblock_cv_hasfcntl
="no"
12402 cat >conftest.
$ac_ext <<_ACEOF
12405 cat confdefs.h
>>conftest.
$ac_ext
12406 cat >>conftest.
$ac_ext <<_ACEOF
12407 /* end confdefs.h. */
12409 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12410 #include "${srcdir}/lockfcntl.c"
12422 rm -f conftest.
$ac_objext conftest
$ac_exeext
12423 if { (ac_try
="$ac_link"
12424 case "(($ac_try" in
12425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12426 *) ac_try_echo=$ac_try;;
12428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12429 $as_echo "$ac_try_echo") >&5
12430 (eval "$ac_link") 2>conftest.er1
12432 grep -v '^ *+' conftest.er1 >conftest.err
12434 cat conftest.err >&5
12435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); } && {
12437 test -z "$ac_c_werror_flag" ||
12438 test ! -s conftest.err
12439 } && test -s conftest$ac_exeext && {
12440 test "$cross_compiling" = yes ||
12441 $as_test_x conftest$ac_exeext
12443 liblock_cv_hasfcntl="yes"
12445 $as_echo "$as_me: failed program was:" >&5
12446 sed 's/^/| /' conftest.$ac_ext >&5
12451 rm -rf conftest.dSYM
12452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12453 conftest$ac_exeext conftest.$ac_ext
12455 { $as_echo "$as_me:$LINENO: result: $liblock_cv_hasfcntl" >&5
12456 $as_echo "$liblock_cv_hasfcntl" >&6; }
12457 if test "$liblock_cv_hasfcntl" = "yes"
12460 cat >>confdefs.h <<_ACEOF
12461 #define HAS_FCNTL 1
12466 { $as_echo "$as_me:$LINENO: checking for flock" >&5
12467 $as_echo_n "checking for flock... " >&6; }
12468 if test "${liblock_cv_hasflock+set}" = set; then
12469 $as_echo_n "(cached) " >&6
12471 liblock_cv_hasflock="no"
12472 cat >conftest.$ac_ext <<_ACEOF
12475 cat confdefs.h >>conftest.$ac_ext
12476 cat >>conftest.$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12479 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12480 #include "${srcdir}/lockflock.c"
12492 rm -f conftest.$ac_objext conftest$ac_exeext
12493 if { (ac_try="$ac_link"
12494 case "(($ac_try" in
12495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12496 *) ac_try_echo
=$ac_try;;
12498 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12499 $as_echo "$ac_try_echo") >&5
12500 (eval "$ac_link") 2>conftest.er1
12502 grep -v '^ *+' conftest.er1
>conftest.err
12504 cat conftest.err
>&5
12505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); } && {
12507 test -z "$ac_c_werror_flag" ||
12508 test ! -s conftest.err
12509 } && test -s conftest
$ac_exeext && {
12510 test "$cross_compiling" = yes ||
12511 $as_test_x conftest
$ac_exeext
12513 liblock_cv_hasflock
="yes"
12515 $as_echo "$as_me: failed program was:" >&5
12516 sed 's/^/| /' conftest.
$ac_ext >&5
12521 rm -rf conftest.dSYM
12522 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12523 conftest
$ac_exeext conftest.
$ac_ext
12525 { $as_echo "$as_me:$LINENO: result: $liblock_cv_hasflock" >&5
12526 $as_echo "$liblock_cv_hasflock" >&6; }
12527 if test "$liblock_cv_hasflock" = "yes"
12530 cat >>confdefs.h
<<_ACEOF
12531 #define HAS_FLOCK 1
12536 { $as_echo "$as_me:$LINENO: checking for lockf" >&5
12537 $as_echo_n "checking for lockf... " >&6; }
12538 if test "${liblock_cv_haslockf+set}" = set; then
12539 $as_echo_n "(cached) " >&6
12541 liblock_cv_haslockf
="no"
12542 cat >conftest.
$ac_ext <<_ACEOF
12545 cat confdefs.h
>>conftest.
$ac_ext
12546 cat >>conftest.
$ac_ext <<_ACEOF
12547 /* end confdefs.h. */
12549 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12550 #include "${srcdir}/locklockf.c"
12562 rm -f conftest.
$ac_objext conftest
$ac_exeext
12563 if { (ac_try
="$ac_link"
12564 case "(($ac_try" in
12565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12566 *) ac_try_echo=$ac_try;;
12568 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12569 $as_echo "$ac_try_echo") >&5
12570 (eval "$ac_link") 2>conftest.er1
12572 grep -v '^ *+' conftest.er1 >conftest.err
12574 cat conftest.err >&5
12575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); } && {
12577 test -z "$ac_c_werror_flag" ||
12578 test ! -s conftest.err
12579 } && test -s conftest$ac_exeext && {
12580 test "$cross_compiling" = yes ||
12581 $as_test_x conftest$ac_exeext
12583 liblock_cv_haslockf="yes"
12585 $as_echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.$ac_ext >&5
12591 rm -rf conftest.dSYM
12592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12593 conftest$ac_exeext conftest.$ac_ext
12595 { $as_echo "$as_me:$LINENO: result: $liblock_cv_haslockf" >&5
12596 $as_echo "$liblock_cv_haslockf" >&6; }
12597 if test "$liblock_cv_haslockf" = "yes"
12600 cat >>confdefs.h <<_ACEOF
12601 #define HAS_LOCKF 1
12606 { $as_echo "$as_me:$LINENO: checking for locking method" >&5
12607 $as_echo_n "checking for locking method... " >&6; }
12609 # Check whether --with-locking-method was given.
12610 if test "${with_locking_method+set}" = set; then
12611 withval=$with_locking_method; lockmethod="$withval"
12617 case x$lockmethod in
12619 if test "$cross_compiling" = yes; then
12623 cat >conftest.$ac_ext <<_ACEOF
12626 cat confdefs.h >>conftest.$ac_ext
12627 cat >>conftest.$ac_ext <<_ACEOF
12628 /* end confdefs.h. */
12630 #define USE_FCNTL 1
12631 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12632 #include "${srcdir}/locktest.c"
12635 rm -f conftest$ac_exeext
12636 if { (ac_try="$ac_link"
12637 case "(($ac_try" in
12638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12639 *) ac_try_echo
=$ac_try;;
12641 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12642 $as_echo "$ac_try_echo") >&5
12643 (eval "$ac_link") 2>&5
12645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12647 { (case "(($ac_try" in
12648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12649 *) ac_try_echo=$ac_try;;
12651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12652 $as_echo "$ac_try_echo") >&5
12653 (eval "$ac_try") 2>&5
12655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); }; }; then
12659 $as_echo "$as_me: program exited with status $ac_status" >&5
12660 $as_echo "$as_me: failed program was:" >&5
12661 sed 's/^/| /' conftest.$ac_ext >&5
12663 ( exit $ac_status )
12664 { { $as_echo "$as_me:$LINENO: error: fcntl test failed." >&5
12665 $as_echo "$as_me: error: fcntl test failed." >&2;}
12666 { (exit 1); exit 1; }; }
12668 rm -rf conftest.dSYM
12669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12675 if test "$cross_compiling" = yes; then
12676 { { $as_echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
12677 $as_echo "$as_me: error: --with-locking-method option required" >&2;}
12678 { (exit 1); exit 1; }; }
12680 cat >conftest.$ac_ext <<_ACEOF
12683 cat confdefs.h >>conftest.$ac_ext
12684 cat >>conftest.$ac_ext <<_ACEOF
12685 /* end confdefs.h. */
12687 #define USE_FCNTL 1
12688 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12689 #include "${srcdir}/locktest.c"
12692 rm -f conftest$ac_exeext
12693 if { (ac_try="$ac_link"
12694 case "(($ac_try" in
12695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12696 *) ac_try_echo
=$ac_try;;
12698 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12699 $as_echo "$ac_try_echo") >&5
12700 (eval "$ac_link") 2>&5
12702 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12704 { (case "(($ac_try" in
12705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12706 *) ac_try_echo=$ac_try;;
12708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12709 $as_echo "$ac_try_echo") >&5
12710 (eval "$ac_try") 2>&5
12712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; }; then
12716 $as_echo "$as_me: program exited with status $ac_status" >&5
12717 $as_echo "$as_me: failed program was:" >&5
12718 sed 's/^/| /' conftest.$ac_ext >&5
12721 rm -rf conftest.dSYM
12722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12729 case x$lockmethod in
12731 if test "$cross_compiling" = yes; then
12735 cat >conftest.$ac_ext <<_ACEOF
12738 cat confdefs.h >>conftest.$ac_ext
12739 cat >>conftest.$ac_ext <<_ACEOF
12740 /* end confdefs.h. */
12742 #define USE_LOCKF 1
12743 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12744 #include "${srcdir}/locktest.c"
12747 rm -f conftest$ac_exeext
12748 if { (ac_try="$ac_link"
12749 case "(($ac_try" in
12750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12751 *) ac_try_echo
=$ac_try;;
12753 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12754 $as_echo "$ac_try_echo") >&5
12755 (eval "$ac_link") 2>&5
12757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12759 { (case "(($ac_try" in
12760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12761 *) ac_try_echo=$ac_try;;
12763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12764 $as_echo "$ac_try_echo") >&5
12765 (eval "$ac_try") 2>&5
12767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; }; then
12771 $as_echo "$as_me: program exited with status $ac_status" >&5
12772 $as_echo "$as_me: failed program was:" >&5
12773 sed 's/^/| /' conftest.$ac_ext >&5
12775 ( exit $ac_status )
12776 { { $as_echo "$as_me:$LINENO: error: lockf test failed." >&5
12777 $as_echo "$as_me: error: lockf test failed." >&2;}
12778 { (exit 1); exit 1; }; }
12780 rm -rf conftest.dSYM
12781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12787 if test "$cross_compiling" = yes; then
12788 { { $as_echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
12789 $as_echo "$as_me: error: --with-locking-method option required" >&2;}
12790 { (exit 1); exit 1; }; }
12792 cat >conftest.$ac_ext <<_ACEOF
12795 cat confdefs.h >>conftest.$ac_ext
12796 cat >>conftest.$ac_ext <<_ACEOF
12797 /* end confdefs.h. */
12799 #define USE_LOCKF 1
12800 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12801 #include "${srcdir}/locktest.c"
12804 rm -f conftest$ac_exeext
12805 if { (ac_try="$ac_link"
12806 case "(($ac_try" in
12807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12808 *) ac_try_echo
=$ac_try;;
12810 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12811 $as_echo "$ac_try_echo") >&5
12812 (eval "$ac_link") 2>&5
12814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12816 { (case "(($ac_try" in
12817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12818 *) ac_try_echo=$ac_try;;
12820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12821 $as_echo "$ac_try_echo") >&5
12822 (eval "$ac_try") 2>&5
12824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12828 $as_echo "$as_me: program exited with status $ac_status" >&5
12829 $as_echo "$as_me: failed program was:" >&5
12830 sed 's/^/| /' conftest.$ac_ext >&5
12833 rm -rf conftest.dSYM
12834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12842 case x$lockmethod in
12844 if test "$cross_compiling" = yes; then
12848 cat >conftest.$ac_ext <<_ACEOF
12851 cat confdefs.h >>conftest.$ac_ext
12852 cat >>conftest.$ac_ext <<_ACEOF
12853 /* end confdefs.h. */
12855 #define USE_FLOCK 1
12856 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12857 #include "${srcdir}/locktest.c"
12860 rm -f conftest$ac_exeext
12861 if { (ac_try="$ac_link"
12862 case "(($ac_try" in
12863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12864 *) ac_try_echo
=$ac_try;;
12866 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12867 $as_echo "$ac_try_echo") >&5
12868 (eval "$ac_link") 2>&5
12870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12871 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12872 { (case "(($ac_try" in
12873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12874 *) ac_try_echo=$ac_try;;
12876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12877 $as_echo "$ac_try_echo") >&5
12878 (eval "$ac_try") 2>&5
12880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); }; }; then
12884 $as_echo "$as_me: program exited with status $ac_status" >&5
12885 $as_echo "$as_me: failed program was:" >&5
12886 sed 's/^/| /' conftest.$ac_ext >&5
12888 ( exit $ac_status )
12889 { { $as_echo "$as_me:$LINENO: error: flock test failed." >&5
12890 $as_echo "$as_me: error: flock test failed." >&2;}
12891 { (exit 1); exit 1; }; }
12893 rm -rf conftest.dSYM
12894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12900 if test "$cross_compiling" = yes; then
12901 { { $as_echo "$as_me:$LINENO: error: --with-locking-method option required" >&5
12902 $as_echo "$as_me: error: --with-locking-method option required" >&2;}
12903 { (exit 1); exit 1; }; }
12905 cat >conftest.$ac_ext <<_ACEOF
12908 cat confdefs.h >>conftest.$ac_ext
12909 cat >>conftest.$ac_ext <<_ACEOF
12910 /* end confdefs.h. */
12912 #define USE_FLOCK 1
12913 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12914 #include "${srcdir}/locktest.c"
12917 rm -f conftest$ac_exeext
12918 if { (ac_try="$ac_link"
12919 case "(($ac_try" in
12920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12921 *) ac_try_echo
=$ac_try;;
12923 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12924 $as_echo "$ac_try_echo") >&5
12925 (eval "$ac_link") 2>&5
12927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12929 { (case "(($ac_try" in
12930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12931 *) ac_try_echo=$ac_try;;
12933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12934 $as_echo "$ac_try_echo") >&5
12935 (eval "$ac_try") 2>&5
12937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); }; }; then
12941 $as_echo "$as_me: program exited with status $ac_status" >&5
12942 $as_echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12946 rm -rf conftest.dSYM
12947 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12954 case x$lockmethod in
12962 { { $as_echo "$as_me:$LINENO: error: must specify --with-locking-method option" >&5
12963 $as_echo "$as_me: error: must specify --with-locking-method option" >&2;}
12964 { (exit 1); exit 1; }; }
12968 { $as_echo "$as_me:$LINENO: result: $lockmethod" >&5
12969 $as_echo "$lockmethod" >&6; }
12971 if test "$lockmethod" = "fcntl"; then
12973 USE_FCNTL_FALSE='#'
12979 if test "$lockmethod" = "flock"; then
12981 USE_FLOCK_FALSE='#'
12987 if test "$lockmethod" = "lockf"; then
12989 USE_LOCKF_FALSE='#'
12996 if test -d ${srcdir}/../docbook; then
12998 HAVE_SGML_FALSE='#'
13006 cat >>confdefs.h <<_ACEOF
13007 #define liblock_config_h 1
13011 ac_config_files="$ac_config_files Makefile"
13013 cat >confcache <<\_ACEOF
13014 # This file is a shell script that caches the results of configure
13015 # tests run on this system so they can be shared between configure
13016 # scripts and configure runs, see configure's option --config-cache.
13017 # It is not useful on other systems. If it contains results you don't
13018 # want to keep, you may remove or edit it.
13020 # config.status only pays attention to the cache file if you give it
13021 # the --recheck option to rerun configure.
13023 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
13024 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13025 # following values.
13029 # The following way of writing the cache mishandles newlines in values,
13030 # but we know of no workaround that is simple, portable, and efficient.
13031 # So, we kill variables containing newlines.
13032 # Ultrix sh set writes to stderr and can't be redirected directly,
13033 # and sets the high bit in the cache file unless we assign to the vars.
13035 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13036 eval ac_val
=\$
$ac_var
13040 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13041 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13044 _ | IFS | as_nl
) ;; #(
13045 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13046 *) $as_unset $ac_var ;;
13052 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13053 *${as_nl}ac_space
=\
*)
13054 # `set' does not quote correctly, so add quotes (double-quote
13055 # substitution turns \\\\ into \\, and sed turns \\ into \).
13058 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13061 # `set' quotes correctly as required by POSIX, so do not add quotes.
13062 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13071 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13073 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13075 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13076 if test -w "$cache_file"; then
13077 test "x$cache_file" != "x/dev/null" &&
13078 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13079 $as_echo "$as_me: updating cache $cache_file" >&6;}
13080 cat confcache
>$cache_file
13082 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13083 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13088 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13089 # Let make expand exec_prefix.
13090 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13092 DEFS
=-DHAVE_CONFIG_H
13096 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13097 # 1. Remove the extension, and $U if already installed.
13098 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13099 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13100 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13101 # will be set to the directory where LIBOBJS objects are built.
13102 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13103 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13105 LIBOBJS
=$ac_libobjs
13107 LTLIBOBJS
=$ac_ltlibobjs
13110 if test -n "$EXEEXT"; then
13112 am__EXEEXT_FALSE
='#'
13114 am__EXEEXT_TRUE
='#'
13118 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13119 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13120 Usually this means the macro was only invoked conditionally." >&5
13121 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13122 Usually this means the macro was only invoked conditionally." >&2;}
13123 { (exit 1); exit 1; }; }
13125 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13126 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13127 Usually this means the macro was only invoked conditionally." >&5
13128 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13129 Usually this means the macro was only invoked conditionally." >&2;}
13130 { (exit 1); exit 1; }; }
13132 if test -z "${USE_FCNTL_TRUE}" && test -z "${USE_FCNTL_FALSE}"; then
13133 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_FCNTL\" was never defined.
13134 Usually this means the macro was only invoked conditionally." >&5
13135 $as_echo "$as_me: error: conditional \"USE_FCNTL\" was never defined.
13136 Usually this means the macro was only invoked conditionally." >&2;}
13137 { (exit 1); exit 1; }; }
13139 if test -z "${USE_FLOCK_TRUE}" && test -z "${USE_FLOCK_FALSE}"; then
13140 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_FLOCK\" was never defined.
13141 Usually this means the macro was only invoked conditionally." >&5
13142 $as_echo "$as_me: error: conditional \"USE_FLOCK\" was never defined.
13143 Usually this means the macro was only invoked conditionally." >&2;}
13144 { (exit 1); exit 1; }; }
13146 if test -z "${USE_LOCKF_TRUE}" && test -z "${USE_LOCKF_FALSE}"; then
13147 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LOCKF\" was never defined.
13148 Usually this means the macro was only invoked conditionally." >&5
13149 $as_echo "$as_me: error: conditional \"USE_LOCKF\" was never defined.
13150 Usually this means the macro was only invoked conditionally." >&2;}
13151 { (exit 1); exit 1; }; }
13153 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
13154 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
13155 Usually this means the macro was only invoked conditionally." >&5
13156 $as_echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
13157 Usually this means the macro was only invoked conditionally." >&2;}
13158 { (exit 1); exit 1; }; }
13161 : ${CONFIG_STATUS=./config.status}
13163 ac_clean_files_save
=$ac_clean_files
13164 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13165 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13166 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13167 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13169 # Generated by $as_me.
13170 # Run this file to recreate the current configuration.
13171 # Compiler output produced by configure, useful for debugging
13172 # configure, is in config.log if it exists.
13175 ac_cs_recheck=false
13177 SHELL=\${CONFIG_SHELL-$SHELL}
13180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13181 ## --------------------- ##
13182 ## M4sh Initialization. ##
13183 ## --------------------- ##
13185 # Be more Bourne compatible
13186 DUALCASE
=1; export DUALCASE
# for MKS sh
13187 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13190 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13191 # is contrary to our usage. Disable this feature.
13192 alias -g '${1+"$@"}'='"$@"'
13193 setopt NO_GLOB_SUBST
13195 case `(set -o) 2>/dev/null` in
13196 *posix
*) set -o posix
;;
13205 # Avoid depending upon Character Ranges.
13206 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13207 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13208 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13209 as_cr_digits
='0123456789'
13210 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13215 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13216 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13217 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13218 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13219 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13220 as_echo='printf %s
\n'
13221 as_echo_n='printf %s
'
13223 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13224 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13225 as_echo_n='/usr
/ucb
/echo -n'
13227 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13228 as_echo_n_body='eval
13232 expr "X$arg" : "X\\(.*\\)$as_nl";
13233 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13235 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13237 export as_echo_n_body
13238 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13240 export as_echo_body
13241 as_echo='sh
-c $as_echo_body as_echo
'
13244 # The user is always right.
13245 if test "${PATH_SEPARATOR+set}" != set; then
13247 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13248 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13253 # Support unset when possible.
13254 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13262 # We need space, tab and new line, in precisely that order. Quoting is
13263 # there to prevent editors from complaining about space-tab.
13264 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13265 # splitting by setting IFS to empty value.)
13268 # Find who we are. Look in the path if we contain no directory separator.
13270 *[\\/]* ) as_myself=$0 ;;
13271 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13272 for as_dir in $PATH
13275 test -z "$as_dir" && as_dir=.
13276 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13282 # We did not find ourselves, most probably we were run as `sh COMMAND'
13283 # in which case we are not to be found in the path.
13284 if test "x$as_myself" = x
; then
13287 if test ! -f "$as_myself"; then
13288 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13289 { (exit 1); exit 1; }
13292 # Work around bugs in pre-3.0 UWIN ksh.
13293 for as_var
in ENV MAIL MAILPATH
13294 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13306 # Required to use basename.
13307 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13308 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13314 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13315 as_basename
=basename
13321 # Name of the executable.
13322 as_me
=`$as_basename -- "$0" ||
13323 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13324 X"$0" : 'X\(//\)$' \| \
13325 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13327 sed '/^.*\/\([^/][^/]*\)\/*$/{
13346 as_lineno_1
=$LINENO
13347 as_lineno_2
=$LINENO
13348 test "x$as_lineno_1" != "x$as_lineno_2" &&
13349 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13351 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13352 # uniformly replaced by the line number. The first 'sed' inserts a
13353 # line-number line after each line using $LINENO; the second 'sed'
13354 # does the real work. The second script uses 'N' to pair each
13355 # line-number line with the line containing $LINENO, and appends
13356 # trailing '-' during substitution so that $LINENO is not a special
13357 # case at line end.
13358 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13359 # scripts with optimization help from Paolo Bonzini. Blame Lee
13360 # E. McMahon (1931-1989) for sed's syntax. :-)
13372 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13375 ' >$as_me.lineno
&&
13376 chmod +x
"$as_me.lineno" ||
13377 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13378 { (exit 1); exit 1; }; }
13380 # Don't try to exec as it changes $[0], causing all sort of problems
13381 # (the dirname of $[0] is not the place where we might find the
13382 # original and so on. Autoconf is especially sensitive to this).
13383 .
"./$as_me.lineno"
13384 # Exit status is that of the last command.
13389 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13395 ECHO_C
= ECHO_N
= ECHO_T
=
13396 case `echo -n x` in
13398 case `echo 'x\c'` in
13399 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13405 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13406 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13412 rm -f conf$$ conf$$.exe conf$$.
file
13413 if test -d conf$$.dir
; then
13414 rm -f conf$$.dir
/conf$$.
file
13417 mkdir conf$$.dir
2>/dev
/null
13419 if (echo >conf$$.
file) 2>/dev
/null
; then
13420 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13422 # ... but there are two gotchas:
13423 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13424 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13425 # In both cases, we have to default to `cp -p'.
13426 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13428 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13436 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13437 rmdir conf$$.dir
2>/dev
/null
13439 if mkdir
-p .
2>/dev
/null
; then
13442 test -d .
/-p && rmdir .
/-p
13446 if test -x / >/dev
/null
2>&1; then
13447 as_test_x
='test -x'
13449 if ls -dL / >/dev
/null
2>&1; then
13456 if test -d "$1"; then
13462 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13463 ???[sx]*):;;*)false;;esac;fi
13467 as_executable_p
=$as_test_x
13469 # Sed expression to map a string onto a valid CPP name.
13470 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13472 # Sed expression to map a string onto a valid variable name.
13473 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13478 # Save the log message, to keep $[0] and so on meaningful, and to
13479 # report actual input values of CONFIG_FILES etc. instead of their
13480 # values after options handling.
13482 This file was extended by liblock $as_me 0.60, which was
13483 generated by GNU Autoconf 2.63. Invocation command line was
13485 CONFIG_FILES = $CONFIG_FILES
13486 CONFIG_HEADERS = $CONFIG_HEADERS
13487 CONFIG_LINKS = $CONFIG_LINKS
13488 CONFIG_COMMANDS = $CONFIG_COMMANDS
13491 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13496 case $ac_config_files in *"
13497 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13500 case $ac_config_headers in *"
13501 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13506 # Files that config.status was made for.
13507 config_files="$ac_config_files"
13508 config_headers="$ac_config_headers"
13509 config_commands="$ac_config_commands"
13513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13515 \`$as_me' instantiates files from templates according to the
13516 current configuration.
13518 Usage: $0 [OPTION]... [FILE]...
13520 -h, --help print this help, then exit
13521 -V, --version print version number and configuration settings, then exit
13522 -q, --quiet, --silent
13523 do not print progress messages
13524 -d, --debug don't remove temporary files
13525 --recheck update $as_me by reconfiguring in the same conditions
13526 --file=FILE[:TEMPLATE]
13527 instantiate the configuration file FILE
13528 --header=FILE[:TEMPLATE]
13529 instantiate the configuration header FILE
13531 Configuration files:
13534 Configuration headers:
13537 Configuration commands:
13540 Report bugs to <bug-autoconf@gnu.org>."
13543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13545 liblock config.status 0.60
13546 configured by $0, generated by GNU Autoconf 2.63,
13547 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13549 Copyright (C) 2008 Free Software Foundation, Inc.
13550 This config.status script is free software; the Free Software Foundation
13551 gives unlimited permission to copy, distribute and modify it."
13558 test -n "\$AWK" || AWK=awk
13561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13562 # The default lists apply if the user does not specify any file.
13568 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13569 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13580 # Handling of the options.
13581 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13583 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13584 $as_echo "$ac_cs_version"; exit ;;
13585 --debug |
--debu |
--deb |
--de |
--d |
-d )
13587 --file |
--fil |
--fi |
--f )
13590 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13592 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13593 ac_need_defaults
=false
;;
13594 --header |
--heade |
--head |
--hea )
13597 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13599 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
13600 ac_need_defaults
=false
;;
13602 # Conflict between --help and --header
13603 { $as_echo "$as_me: error: ambiguous option: $1
13604 Try \`$0 --help' for more information." >&2
13605 { (exit 1); exit 1; }; };;
13606 --help |
--hel |
-h )
13607 $as_echo "$ac_cs_usage"; exit ;;
13608 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13609 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13612 # This is an error.
13613 -*) { $as_echo "$as_me: error: unrecognized option: $1
13614 Try \`$0 --help' for more information." >&2
13615 { (exit 1); exit 1; }; } ;;
13617 *) ac_config_targets
="$ac_config_targets $1"
13618 ac_need_defaults
=false
;;
13624 ac_configure_extra_args
=
13626 if $ac_cs_silent; then
13628 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13633 if \$ac_cs_recheck; then
13634 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13636 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13637 CONFIG_SHELL='$SHELL'
13638 export CONFIG_SHELL
13643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13647 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13648 ## Running $as_me. ##
13654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13658 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13661 # The HP-UX ksh and POSIX shell print the target directory to stdout
13662 # if CDPATH is set.
13663 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13665 sed_quote_subst='$sed_quote_subst'
13666 double_quote_subst='$double_quote_subst'
13667 delay_variable_subst='$delay_variable_subst'
13668 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13669 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13670 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13671 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13672 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13673 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13674 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13675 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13676 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13677 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13678 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13679 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13680 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13681 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13682 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13683 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13684 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13685 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13686 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13687 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13688 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13689 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13690 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13691 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13692 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13693 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13694 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13695 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13696 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13697 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13698 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13699 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13700 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13701 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13702 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13703 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13704 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13705 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13706 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13707 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13708 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13709 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13710 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13711 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13712 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"`'
13713 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"`'
13714 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13715 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13716 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13717 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13718 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13719 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13720 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13721 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13722 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13723 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13724 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13725 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13726 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13727 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13728 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13729 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13730 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13731 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13732 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13733 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13734 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13735 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13736 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13737 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13738 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13739 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13740 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13741 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13742 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13743 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13744 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13745 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13746 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13747 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13748 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13749 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13750 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13751 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13752 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13753 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13754 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13755 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13756 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13757 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13758 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13759 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13760 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13761 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13762 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13763 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13764 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13765 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13766 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13767 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13768 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13769 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13770 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13771 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13772 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13773 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13774 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13775 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13776 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13777 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13778 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13779 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13780 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13781 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13782 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13783 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13784 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13785 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13788 LTCFLAGS='$LTCFLAGS'
13789 compiler='$compiler_DEFAULT'
13791 # Quote evaled strings.
13803 deplibs_check_method \
13812 lt_cv_sys_global_symbol_pipe \
13813 lt_cv_sys_global_symbol_to_cdecl \
13814 lt_cv_sys_global_symbol_to_c_name_address \
13815 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13818 lt_prog_compiler_no_builtin_flag \
13819 lt_prog_compiler_wl \
13820 lt_prog_compiler_pic \
13821 lt_prog_compiler_static \
13822 lt_cv_prog_compiler_c_o \
13830 export_dynamic_flag_spec \
13831 whole_archive_flag_spec \
13832 compiler_needs_object \
13834 allow_undefined_flag \
13835 no_undefined_flag \
13836 hardcode_libdir_flag_spec \
13837 hardcode_libdir_flag_spec_ld \
13838 hardcode_libdir_separator \
13843 variables_saved_for_relink \
13845 library_names_spec \
13850 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13851 *[\\\\\\\`\\"\\\$]*)
13852 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13855 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13860 # Double-quote double-evaled strings.
13861 for var in reload_cmds \
13862 old_postinstall_cmds \
13863 old_postuninstall_cmds \
13865 extract_expsyms_cmds \
13866 old_archive_from_new_cmds \
13867 old_archive_from_expsyms_cmds \
13869 archive_expsym_cmds \
13871 module_expsym_cmds \
13872 export_symbols_cmds \
13875 postuninstall_cmds \
13877 sys_lib_search_path_spec \
13878 sys_lib_dlsearch_path_spec; do
13879 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13880 *[\\\\\\\`\\"\\\$]*)
13881 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13884 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13889 # Fix-up fallback echo if it was mangled by the above quoting rules.
13891 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13895 ac_aux_dir='$ac_aux_dir'
13896 xsi_shell='$xsi_shell'
13897 lt_shell_append='$lt_shell_append'
13899 # See if we are running on zsh, and set the options which allow our
13900 # commands through without removal of \ escapes INIT.
13901 if test -n "\${ZSH_VERSION+set}" ; then
13902 setopt NO_GLOB_SUBST
13908 TIMESTAMP='$TIMESTAMP'
13917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13919 # Handling of arguments.
13920 for ac_config_target
in $ac_config_targets
13922 case $ac_config_target in
13923 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13924 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13925 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13926 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13928 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13929 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13930 { (exit 1); exit 1; }; };;
13935 # If the user did not use the arguments to specify the items to instantiate,
13936 # then the envvar interface is used. Set only those that are not.
13937 # We use the long form for the default assignment because of an extremely
13938 # bizarre bug on SunOS 4.1.3.
13939 if $ac_need_defaults; then
13940 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13941 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13942 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13945 # Have a temporary directory for convenience. Make it in the build tree
13946 # simply because there is no reason against having it here, and in addition,
13947 # creating and moving files from /tmp can sometimes cause problems.
13948 # Hook for its removal unless debugging.
13949 # Note that there is a small window in which the directory will not be cleaned:
13950 # after its creation but before its name has been assigned to `$tmp'.
13954 trap 'exit_status=$?
13955 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13957 trap '{ (exit 1); exit 1; }' 1 2 13 15
13959 # Create a (secure) tmp directory for tmp files.
13962 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13963 test -n "$tmp" && test -d "$tmp"
13966 tmp
=.
/conf$$
-$RANDOM
13967 (umask 077 && mkdir
"$tmp")
13970 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13971 { (exit 1); exit 1; }
13974 # Set up the scripts for CONFIG_FILES section.
13975 # No need to generate them if there are no CONFIG_FILES.
13976 # This happens for instance with `./config.status config.h'.
13977 if test -n "$CONFIG_FILES"; then
13981 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13982 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13985 ac_cs_awk_cr
=$ac_cr
13988 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13993 echo "cat >conf$$subs.awk <<_ACEOF" &&
13994 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13996 } >conf$$subs.sh ||
13997 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13998 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13999 { (exit 1); exit 1; }; }
14000 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14002 for ac_last_try in false false false false false :; do
14003 . ./conf$$subs.sh ||
14004 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14005 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14006 { (exit 1); exit 1; }; }
14008 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14009 if test $ac_delim_n = $ac_delim_num; then
14011 elif $ac_last_try; then
14012 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
14013 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
14014 { (exit 1); exit 1; }; }
14016 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14019 rm -f conf$$subs.sh
14021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14022 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14026 s/^/S["/; s
/!.
*/"]=/
14036 s/\(.\{148\}\).*/\1/
14038 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14043 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14050 s/\(.\{148\}\).*/\1/
14052 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14056 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14061 ' <conf$$subs.awk | sed '
14066 ' >>$CONFIG_STATUS || ac_write_fail=1
14067 rm -f conf$$subs.awk
14068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14070 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14071 for (key in S) S_is_set[key] = 1
14077 nfields = split(line, field, "@
")
14079 len = length(field[1])
14080 for (i = 2; i < nfields; i++) {
14082 keylen = length(key)
14083 if (S_is_set[key]) {
14085 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14086 len += length(value) + length(field[++i])
14097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14098 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14099 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14102 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14103 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
14104 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
14105 { (exit 1); exit 1; }; }
14108 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14109 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14110 # trailing colons and then remove the whole line if VPATH becomes empty
14111 # (actually we leave an empty line to preserve line numbers).
14112 if test "x
$srcdir" = x.; then
14113 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14114 s/:*\$(srcdir):*/:/
14115 s/:*\${srcdir}:*/:/
14117 s/^\([^=]*=[ ]*\):*/\1/
14123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14124 fi # test -n "$CONFIG_FILES"
14126 # Set up the scripts for CONFIG_HEADERS section.
14127 # No need to generate them if there are no CONFIG_HEADERS.
14128 # This happens for instance with `./config.status Makefile'.
14129 if test -n "$CONFIG_HEADERS"; then
14130 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14134 # Transform confdefs.h into an awk script `defines.awk', embedded as
14135 # here-document in config.status, that substitutes the proper values into
14136 # config.h.in to produce config.h.
14138 # Create a delimiter string that does not exist in confdefs.h, to ease
14139 # handling of long lines.
14141 for ac_last_try in false false :; do
14142 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14143 if test -z "$ac_t"; then
14145 elif $ac_last_try; then
14146 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
14147 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
14148 { (exit 1); exit 1; }; }
14150 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14154 # For the awk script, D is an array of macro values keyed by name,
14155 # likewise P contains macro parameters if any. Preserve backslash
14156 # newline sequences.
14158 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14160 s/.\{148\}/&'"$ac_delim"'/g
14163 s/^[ ]*#[ ]*define[ ][ ]*/ /
14170 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14172 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14176 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14177 D["\
1"]=" \
3\\\\\\n
"\\/p
14179 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14184 s/.\{148\}/&'"$ac_delim"'/g
14189 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14192 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14194 ' <confdefs.h | sed '
14195 s/'"$ac_delim"'/"\\\
14196 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14199 for (key in D) D_is_set[key] = 1
14202 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14204 split(line, arg, " ")
14205 if (arg[1] == "#") {
14209 defundef
= substr
(arg
[1], 2)
14212 split(mac1
, mac2
, "(") #)
14214 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14215 if (D_is_set
[macro
]) {
14216 # Preserve the white space surrounding the "#".
14217 print prefix
"define", macro P
[macro
] D
[macro
]
14220 # Replace #undef with comments. This is necessary, for example,
14221 # in the case of _POSIX_SOURCE, which is predefined and required
14222 # on some systems where configure will not decide to define it.
14223 if (defundef
== "undef") {
14224 print
"/*", prefix defundef
, macro
, "*/"
14232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14233 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14234 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14235 { (exit 1); exit 1; }; }
14236 fi # test -n "$CONFIG_HEADERS"
14239 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14244 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14246 case $ac_mode$ac_tag in
14248 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14249 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14250 { (exit 1); exit 1; }; };;
14251 :[FH
]-) ac_tag
=-:-;;
14252 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14269 -) ac_f
="$tmp/stdin";;
14270 *) # Look for the file first in the build tree, then in the source tree
14271 # (if the path is not absolute). The absolute path cannot be DOS-style,
14272 # because $ac_f cannot contain `:'.
14276 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14278 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14279 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14280 { (exit 1); exit 1; }; };;
14282 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14283 ac_file_inputs
="$ac_file_inputs '$ac_f'"
14286 # Let's still pretend it is `configure' which instantiates (i.e., don't
14287 # use $as_me), people would be surprised to read:
14288 # /* config.h. Generated by config.status. */
14289 configure_input
='Generated from '`
14290 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14292 if test x
"$ac_file" != x-
; then
14293 configure_input
="$ac_file. $configure_input"
14294 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14295 $as_echo "$as_me: creating $ac_file" >&6;}
14297 # Neutralize special characters interpreted by sed in replacement strings.
14298 case $configure_input in #(
14299 *\
&* |
*\|
* |
*\\* )
14300 ac_sed_conf_input
=`$as_echo "$configure_input" |
14301 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14302 *) ac_sed_conf_input
=$configure_input;;
14306 *:-:* |
*:-) cat >"$tmp/stdin" \
14307 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14308 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14309 { (exit 1); exit 1; }; } ;;
14314 ac_dir
=`$as_dirname -- "$ac_file" ||
14315 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14316 X"$ac_file" : 'X\(//\)[^/]' \| \
14317 X"$ac_file" : 'X\(//\)$' \| \
14318 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14319 $as_echo X"$ac_file" |
14320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14324 /^X\(\/\/\)[^/].*/{
14339 -*) as_dir
=.
/$as_dir;;
14341 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14345 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14346 *) as_qdir
=$as_dir;;
14348 as_dirs
="'$as_qdir' $as_dirs"
14349 as_dir
=`$as_dirname -- "$as_dir" ||
14350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14351 X"$as_dir" : 'X\(//\)[^/]' \| \
14352 X"$as_dir" : 'X\(//\)$' \| \
14353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14354 $as_echo X"$as_dir" |
14355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14359 /^X\(\/\/\)[^/].*/{
14372 test -d "$as_dir" && break
14374 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14375 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14376 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14377 { (exit 1); exit 1; }; }; }
14381 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14383 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14384 # A ".." for each directory in $ac_dir_suffix.
14385 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14386 case $ac_top_builddir_sub in
14387 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14388 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14391 ac_abs_top_builddir
=$ac_pwd
14392 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14393 # for backward compatibility:
14394 ac_top_builddir
=$ac_top_build_prefix
14397 .
) # We are building in place.
14399 ac_top_srcdir
=$ac_top_builddir_sub
14400 ac_abs_top_srcdir
=$ac_pwd ;;
14401 [\\/]* | ?
:[\\/]* ) # Absolute name.
14402 ac_srcdir
=$srcdir$ac_dir_suffix;
14403 ac_top_srcdir
=$srcdir
14404 ac_abs_top_srcdir
=$srcdir ;;
14405 *) # Relative name.
14406 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14407 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14408 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14410 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14420 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14421 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14423 ac_MKDIR_P
=$MKDIR_P
14425 [\\/$
]* | ?
:[\\/]* ) ;;
14426 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14431 # If the template does not know about datarootdir, expand it.
14432 # FIXME: This hack should be removed a few years after 2.60.
14433 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14446 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14447 *datarootdir
*) ac_datarootdir_seen
=yes;;
14448 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14449 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14450 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14453 ac_datarootdir_hack='
14454 s&@datadir@&$datadir&g
14455 s&@docdir@&$docdir&g
14456 s&@infodir@&$infodir&g
14457 s&@localedir@&$localedir&g
14458 s&@mandir@&$mandir&g
14459 s&\\\${datarootdir}&$datarootdir&g' ;;
14463 # Neutralize VPATH when `$srcdir' = `.'.
14464 # Shell code in configure.ac might set extrasub.
14465 # FIXME: do we really want to maintain this feature?
14466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14467 ac_sed_extra="$ac_vpsub
14470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14472 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14473 s|@configure_input@|
$ac_sed_conf_input|
;t t
14474 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14475 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14476 s
&@srcdir@
&$ac_srcdir&;t t
14477 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14478 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14479 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14480 s
&@builddir@
&$ac_builddir&;t t
14481 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14482 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14483 s
&@INSTALL@
&$ac_INSTALL&;t t
14484 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14485 $ac_datarootdir_hack
14487 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14488 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14489 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14490 { (exit 1); exit 1; }; }
14492 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14493 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14494 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14495 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14496 which seems to be undefined. Please make sure it is defined." >&5
14497 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14498 which seems to be undefined. Please make sure it is defined." >&2;}
14502 -) cat "$tmp/out" && rm -f "$tmp/out";;
14503 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14505 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14506 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14507 { (exit 1); exit 1; }; }
14513 if test x"$ac_file" != x-; then
14515 $as_echo "/* $configure_input */" \
14516 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14517 } >"$tmp/config.h" \
14518 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14519 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14520 { (exit 1); exit 1; }; }
14521 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14522 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14523 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14526 mv "$tmp/config.h" "$ac_file" \
14527 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14528 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14529 { (exit 1); exit 1; }; }
14532 $as_echo "/* $configure_input */" \
14533 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14534 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14535 $as_echo "$as_me: error: could not create -" >&2;}
14536 { (exit 1); exit 1; }; }
14538 # Compute "$ac_file"'s index
in $config_headers.
14541 for _am_header
in $config_headers :; do
14542 case $_am_header in
14543 $_am_arg |
$_am_arg:* )
14546 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14549 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14550 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14551 X"$_am_arg" : 'X\(//\)[^/]' \| \
14552 X"$_am_arg" : 'X\(//\)$' \| \
14553 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14554 $as_echo X"$_am_arg" |
14555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14559 /^X\(\/\/\)[^/].*/{
14571 s/.*/./; q'`/stamp-h
$_am_stamp_count
14574 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14575 $as_echo "$as_me: executing $ac_file commands" >&6;}
14580 case $ac_file$ac_mode in
14581 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14582 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14583 # are listed without --file. Let's play safe and only enable the eval
14584 # if we detect the quoting.
14585 case $CONFIG_FILES in
14586 *\'*) eval set x
"$CONFIG_FILES" ;;
14587 *) set x
$CONFIG_FILES ;;
14592 # Strip MF so we end up with the name of the file.
14593 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14594 # Check whether this is an Automake generated Makefile or not.
14595 # We used to match only the files named `Makefile.in', but
14596 # some people rename them; so instead we look at the file content.
14597 # Grep'ing the first line is not enough: some people post-process
14598 # each Makefile.in and add a new line on top of each file to say so.
14599 # Grep'ing the whole file is not good either: AIX grep has a line
14600 # limit of 2048, but all sed's we know have understand at least 4000.
14601 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14602 dirpart
=`$as_dirname -- "$mf" ||
14603 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14604 X"$mf" : 'X\(//\)[^/]' \| \
14605 X"$mf" : 'X\(//\)$' \| \
14606 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14612 /^X\(\/\/\)[^/].*/{
14628 # Extract the definition of DEPDIR, am__include, and am__quote
14629 # from the Makefile without running `make'.
14630 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14631 test -z "$DEPDIR" && continue
14632 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14633 test -z "am__include" && continue
14634 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14635 # When using ansi2knr, U may be empty or an underscore; expand it
14636 U
=`sed -n 's/^U = //p' < "$mf"`
14637 # Find all dependency output files, they are included files with
14638 # $(DEPDIR) in their names. We invoke sed twice because it is the
14639 # simplest approach to changing $(DEPDIR) to its actual value in the
14641 for file in `sed -n "
14642 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14643 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14644 # Make sure the directory exists.
14645 test -f "$dirpart/$file" && continue
14646 fdir
=`$as_dirname -- "$file" ||
14647 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14648 X"$file" : 'X\(//\)[^/]' \| \
14649 X"$file" : 'X\(//\)$' \| \
14650 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14651 $as_echo X"$file" |
14652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14656 /^X\(\/\/\)[^/].*/{
14669 { as_dir
=$dirpart/$fdir
14671 -*) as_dir
=.
/$as_dir;;
14673 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14677 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14678 *) as_qdir
=$as_dir;;
14680 as_dirs
="'$as_qdir' $as_dirs"
14681 as_dir
=`$as_dirname -- "$as_dir" ||
14682 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14683 X"$as_dir" : 'X\(//\)[^/]' \| \
14684 X"$as_dir" : 'X\(//\)$' \| \
14685 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14686 $as_echo X"$as_dir" |
14687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14691 /^X\(\/\/\)[^/].*/{
14704 test -d "$as_dir" && break
14706 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14707 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14708 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14709 { (exit 1); exit 1; }; }; }
14710 # echo "creating $dirpart/$file"
14711 echo '# dummy' > "$dirpart/$file"
14718 # See if we are running on zsh, and set the options which allow our
14719 # commands through without removal of \ escapes.
14720 if test -n "${ZSH_VERSION+set}" ; then
14721 setopt NO_GLOB_SUBST
14724 cfgfile
="${ofile}T"
14725 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14728 cat <<_LT_EOF >> "$cfgfile"
14731 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14732 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14733 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14734 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14736 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14737 # 2006, 2007, 2008 Free Software Foundation, Inc.
14738 # Written by Gordon Matzigkeit, 1996
14740 # This file is part of GNU Libtool.
14742 # GNU Libtool is free software; you can redistribute it and/or
14743 # modify it under the terms of the GNU General Public License as
14744 # published by the Free Software Foundation; either version 2 of
14745 # the License, or (at your option) any later version.
14747 # As a special exception to the GNU General Public License,
14748 # if you distribute this file as part of a program or library that
14749 # is built using GNU Libtool, you may include this file under the
14750 # same distribution terms that you use for the rest of that program.
14752 # GNU Libtool is distributed in the hope that it will be useful,
14753 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14754 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14755 # GNU General Public License for more details.
14757 # You should have received a copy of the GNU General Public License
14758 # along with GNU Libtool; see the file COPYING. If not, a copy
14759 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14760 # obtained by writing to the Free Software Foundation, Inc.,
14761 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14764 # The names of the tagged configurations supported by this script.
14767 # ### BEGIN LIBTOOL CONFIG
14769 # Which release of libtool.m4 was used?
14770 macro_version=$macro_version
14771 macro_revision=$macro_revision
14773 # Whether or not to build shared libraries.
14774 build_libtool_libs=$enable_shared
14776 # Whether or not to build static libraries.
14777 build_old_libs=$enable_static
14779 # What type of objects to build.
14782 # Whether or not to optimize for fast installation.
14783 fast_install=$enable_fast_install
14786 host_alias=$host_alias
14790 # The build system.
14791 build_alias=$build_alias
14795 # A sed program that does not truncate output.
14798 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14799 Xsed="\$SED -e 1s/^X//"
14801 # A grep program that handles long lines.
14807 # A literal string matcher.
14810 # A BSD- or MS-compatible name lister.
14813 # Whether we need soft or hard links.
14816 # What is the maximum length of a command?
14817 max_cmd_len=$max_cmd_len
14819 # Object file suffix (normally "o").
14822 # Executable file suffix (normally "").
14825 # whether the shell understands "unset".
14828 # turn spaces into newlines.
14831 # turn newlines into spaces.
14834 # How to create reloadable object files.
14835 reload_flag=$lt_reload_flag
14836 reload_cmds=$lt_reload_cmds
14838 # An object symbol dumper.
14839 OBJDUMP=$lt_OBJDUMP
14841 # Method to check whether dependent libraries are shared objects.
14842 deplibs_check_method=$lt_deplibs_check_method
14844 # Command to use when deplibs_check_method == "file_magic".
14845 file_magic_cmd=$lt_file_magic_cmd
14849 AR_FLAGS=$lt_AR_FLAGS
14851 # A symbol stripping program.
14854 # Commands used to install an old-style archive.
14856 old_postinstall_cmds=$lt_old_postinstall_cmds
14857 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14862 # LTCC compiler flags.
14863 LTCFLAGS=$lt_CFLAGS
14865 # Take the output of nm and produce a listing of raw symbols and C names.
14866 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14868 # Transform the output of nm in a proper C declaration.
14869 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14871 # Transform the output of nm in a C name address pair.
14872 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14874 # Transform the output of nm in a C name address pair when lib prefix is needed.
14875 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14877 # The name of the directory that contains temporary libtool files.
14880 # Shell to use when invoking shell scripts.
14883 # An echo program that does not interpret backslashes.
14886 # Used to examine libraries when file_magic_cmd begins with "file".
14887 MAGIC_CMD=$MAGIC_CMD
14889 # Must we lock files when doing compilation?
14890 need_locks=$lt_need_locks
14892 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14893 DSYMUTIL=$lt_DSYMUTIL
14895 # Tool to change global to local symbols on Mac OS X.
14898 # Tool to manipulate fat objects and archives on Mac OS X.
14901 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14904 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14905 OTOOL64=$lt_OTOOL64
14907 # Old archive suffix (normally "a").
14910 # Shared library suffix (normally ".so").
14911 shrext_cmds=$lt_shrext_cmds
14913 # The commands to extract the exported symbol list from a shared archive.
14914 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14916 # Variables whose values should be saved in libtool wrapper scripts and
14917 # restored at link time.
14918 variables_saved_for_relink=$lt_variables_saved_for_relink
14920 # Do we need the "lib" prefix for modules?
14921 need_lib_prefix=$need_lib_prefix
14923 # Do we need a version for libraries?
14924 need_version=$need_version
14926 # Library versioning type.
14927 version_type=$version_type
14929 # Shared library runtime path variable.
14930 runpath_var=$runpath_var
14932 # Shared library path variable.
14933 shlibpath_var=$shlibpath_var
14935 # Is shlibpath searched before the hard-coded library search path?
14936 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14938 # Format of library name prefix.
14939 libname_spec=$lt_libname_spec
14941 # List of archive names. First name is the real one, the rest are links.
14942 # The last name is the one that the linker finds with -lNAME
14943 library_names_spec=$lt_library_names_spec
14945 # The coded name of the library, if different from the real name.
14946 soname_spec=$lt_soname_spec
14948 # Command to use after installation of a shared archive.
14949 postinstall_cmds=$lt_postinstall_cmds
14951 # Command to use after uninstallation of a shared archive.
14952 postuninstall_cmds=$lt_postuninstall_cmds
14954 # Commands used to finish a libtool library installation in a directory.
14955 finish_cmds=$lt_finish_cmds
14957 # As "finish_cmds", except a single script fragment to be evaled but
14959 finish_eval=$lt_finish_eval
14961 # Whether we should hardcode library paths into libraries.
14962 hardcode_into_libs=$hardcode_into_libs
14964 # Compile-time system search path for libraries.
14965 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14967 # Run-time system search path for libraries.
14968 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14970 # Whether dlopen is supported.
14971 dlopen_support=$enable_dlopen
14973 # Whether dlopen of programs is supported.
14974 dlopen_self=$enable_dlopen_self
14976 # Whether dlopen of statically linked programs is supported.
14977 dlopen_self_static=$enable_dlopen_self_static
14979 # Commands to strip libraries.
14980 old_striplib=$lt_old_striplib
14981 striplib=$lt_striplib
14984 # The linker used to build libraries.
14987 # Commands used to build an old-style archive.
14988 old_archive_cmds=$lt_old_archive_cmds
14990 # A language specific compiler.
14993 # Is the compiler the GNU compiler?
14996 # Compiler flag to turn off builtin functions.
14997 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14999 # How to pass a linker flag through the compiler.
15000 wl=$lt_lt_prog_compiler_wl
15002 # Additional compiler flags for building library objects.
15003 pic_flag=$lt_lt_prog_compiler_pic
15005 # Compiler flag to prevent dynamic linking.
15006 link_static_flag=$lt_lt_prog_compiler_static
15008 # Does compiler simultaneously support -c and -o options?
15009 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15011 # Whether or not to add -lc for building shared libraries.
15012 build_libtool_need_lc=$archive_cmds_need_lc
15014 # Whether or not to disallow shared libs when runtime libs are static.
15015 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15017 # Compiler flag to allow reflexive dlopens.
15018 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15020 # Compiler flag to generate shared objects directly from archives.
15021 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15023 # Whether the compiler copes with passing no objects directly.
15024 compiler_needs_object=$lt_compiler_needs_object
15026 # Create an old-style archive from a shared archive.
15027 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15029 # Create a temporary old-style archive to link instead of a shared archive.
15030 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15032 # Commands used to build a shared archive.
15033 archive_cmds=$lt_archive_cmds
15034 archive_expsym_cmds=$lt_archive_expsym_cmds
15036 # Commands used to build a loadable module if different from building
15037 # a shared archive.
15038 module_cmds=$lt_module_cmds
15039 module_expsym_cmds=$lt_module_expsym_cmds
15041 # Whether we are building with GNU ld or not.
15042 with_gnu_ld=$lt_with_gnu_ld
15044 # Flag that allows shared libraries with undefined symbols to be built.
15045 allow_undefined_flag=$lt_allow_undefined_flag
15047 # Flag that enforces no undefined symbols.
15048 no_undefined_flag=$lt_no_undefined_flag
15050 # Flag to hardcode \$libdir into a binary during linking.
15051 # This must work even if \$libdir does not exist
15052 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15054 # If ld is used when linking, flag to hardcode \$libdir into a binary
15055 # during linking. This must work even if \$libdir does not exist.
15056 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15058 # Whether we need a single "-rpath" flag with a separated argument.
15059 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15061 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15062 # DIR into the resulting binary.
15063 hardcode_direct=$hardcode_direct
15065 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15066 # DIR into the resulting binary and the resulting library dependency is
15067 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15068 # library is relocated.
15069 hardcode_direct_absolute=$hardcode_direct_absolute
15071 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15072 # into the resulting binary.
15073 hardcode_minus_L=$hardcode_minus_L
15075 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15076 # into the resulting binary.
15077 hardcode_shlibpath_var=$hardcode_shlibpath_var
15079 # Set to "yes" if building a shared library automatically hardcodes DIR
15080 # into the library and all subsequent libraries and executables linked
15082 hardcode_automatic=$hardcode_automatic
15084 # Set to yes if linker adds runtime paths of dependent libraries
15085 # to runtime path list.
15086 inherit_rpath=$inherit_rpath
15088 # Whether libtool must link a program against all its dependency libraries.
15089 link_all_deplibs=$link_all_deplibs
15091 # Fix the shell variable \$srcfile for the compiler.
15092 fix_srcfile_path=$lt_fix_srcfile_path
15094 # Set to "yes" if exported symbols are required.
15095 always_export_symbols=$always_export_symbols
15097 # The commands to list exported symbols.
15098 export_symbols_cmds=$lt_export_symbols_cmds
15100 # Symbols that should not be listed in the preloaded symbols.
15101 exclude_expsyms=$lt_exclude_expsyms
15103 # Symbols that must always be exported.
15104 include_expsyms=$lt_include_expsyms
15106 # Commands necessary for linking programs (against libraries) with templates.
15107 prelink_cmds=$lt_prelink_cmds
15109 # Specify filename containing input files.
15110 file_list_spec=$lt_file_list_spec
15112 # How to hardcode a shared library path into an executable.
15113 hardcode_action=$hardcode_action
15115 # ### END LIBTOOL CONFIG
15121 cat <<\_LT_EOF
>> "$cfgfile"
15122 # AIX sometimes has problems with the GCC collect2 program. For some
15123 # reason, if we set the COLLECT_NAMES environment variable, the problems
15124 # vanish in a puff of smoke.
15125 if test "X${COLLECT_NAMES+set}" != Xset
; then
15127 export COLLECT_NAMES
15134 ltmain
="$ac_aux_dir/ltmain.sh"
15137 # We use sed instead of cat because bash on DJGPP gets confused if
15138 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15139 # text mode, it properly converts lines to CR/LF. This bash problem
15140 # is reportedly fixed, but why not run on old versions too?
15141 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15142 ||
(rm -f "$cfgfile"; exit 1)
15146 cat << \_LT_EOF
>> "$cfgfile"
15148 # func_dirname file append nondir_replacement
15149 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15150 # otherwise set result to NONDIR_REPLACEMENT.
15154 */*) func_dirname_result
="${1%/*}${2}" ;;
15155 * ) func_dirname_result
="${3}" ;;
15159 # func_basename file
15162 func_basename_result
="${1##*/}"
15165 # func_dirname_and_basename file append nondir_replacement
15166 # perform func_basename and func_dirname in a single function
15168 # dirname: Compute the dirname of FILE. If nonempty,
15169 # add APPEND to the result, otherwise set result
15170 # to NONDIR_REPLACEMENT.
15171 # value returned in "$func_dirname_result"
15172 # basename: Compute filename of FILE.
15173 # value retuned in "$func_basename_result"
15174 # Implementation must be kept synchronized with func_dirname
15175 # and func_basename. For efficiency, we do not delegate to
15176 # those functions but instead duplicate the functionality here.
15177 func_dirname_and_basename
()
15180 */*) func_dirname_result
="${1%/*}${2}" ;;
15181 * ) func_dirname_result
="${3}" ;;
15183 func_basename_result
="${1##*/}"
15186 # func_stripname prefix suffix name
15187 # strip PREFIX and SUFFIX off of NAME.
15188 # PREFIX and SUFFIX must not contain globbing or regex special
15189 # characters, hashes, percent signs, but SUFFIX may contain a leading
15190 # dot (in which case that matches only a dot).
15193 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15194 # positional parameters, so assign one to ordinary parameter first.
15195 func_stripname_result
=${3}
15196 func_stripname_result
=${func_stripname_result#"${1}"}
15197 func_stripname_result
=${func_stripname_result%"${2}"}
15203 func_opt_split_opt
=${1%%=*}
15204 func_opt_split_arg
=${1#*=}
15211 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15212 *) func_lo2o_result
=${1} ;;
15216 # func_xform libobj-or-source
15219 func_xform_result
=${1%.*}.lo
15222 # func_arith arithmetic-term...
15225 func_arith_result
=$
(( $
* ))
15229 # STRING may not start with a hyphen.
15232 func_len_result
=${#1}
15237 *) # Bourne compatible functions.
15238 cat << \_LT_EOF
>> "$cfgfile"
15240 # func_dirname file append nondir_replacement
15241 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15242 # otherwise set result to NONDIR_REPLACEMENT.
15245 # Extract subdirectory from the argument.
15246 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15247 if test "X$func_dirname_result" = "X${1}"; then
15248 func_dirname_result
="${3}"
15250 func_dirname_result
="$func_dirname_result${2}"
15254 # func_basename file
15257 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15261 # func_stripname prefix suffix name
15262 # strip PREFIX and SUFFIX off of NAME.
15263 # PREFIX and SUFFIX must not contain globbing or regex special
15264 # characters, hashes, percent signs, but SUFFIX may contain a leading
15265 # dot (in which case that matches only a dot).
15266 # func_strip_suffix prefix name
15270 .
*) func_stripname_result
=`$ECHO "X${3}" \
15271 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15272 *) func_stripname_result
=`$ECHO "X${3}" \
15273 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15278 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15279 my_sed_long_arg
='1s/^-[^=]*=//'
15284 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15285 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15291 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15294 # func_xform libobj-or-source
15297 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15300 # func_arith arithmetic-term...
15303 func_arith_result
=`expr "$@"`
15307 # STRING may not start with a hyphen.
15310 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15316 case $lt_shell_append in
15318 cat << \_LT_EOF
>> "$cfgfile"
15320 # func_append var value
15321 # Append VALUE to the end of shell variable VAR.
15329 cat << \_LT_EOF
>> "$cfgfile"
15331 # func_append var value
15332 # Append VALUE to the end of shell variable VAR.
15343 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15344 ||
(rm -f "$cfgfile"; exit 1)
15346 mv -f "$cfgfile" "$ofile" ||
15347 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15356 { (exit 0); exit 0; }
15358 chmod +x
$CONFIG_STATUS
15359 ac_clean_files
=$ac_clean_files_save
15361 test $ac_write_fail = 0 ||
15362 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15363 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15364 { (exit 1); exit 1; }; }
15367 # configure is writing to config.log, and then calls config.status.
15368 # config.status does its own redirection, appending to config.log.
15369 # Unfortunately, on DOS this fails, as config.log is still kept open
15370 # by configure, so config.status won't be able to write to it; its
15371 # output is simply discarded. So we exec the FD to /dev/null,
15372 # effectively closing config.log, so it can be properly (re)opened and
15373 # appended to by config.status. When coming back to configure, we
15374 # need to make the FD available again.
15375 if test "$no_create" != yes; then
15377 ac_config_status_args
=
15378 test "$silent" = yes &&
15379 ac_config_status_args
="$ac_config_status_args --quiet"
15381 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15383 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15384 # would make configure fail if this is the last instruction.
15385 $ac_cs_success ||
{ (exit 1); exit 1; }
15387 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15388 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15389 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}