2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for libuserdb 0.10.
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
='libuserdb'
747 PACKAGE_TARNAME
='libuserdb'
748 PACKAGE_VERSION
='0.10'
749 PACKAGE_STRING
='libuserdb 0.10'
750 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
752 ac_unique_file
="userdb.c"
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
857 INSTALL_STRIP_PROGRAM
899 program_transform_name
911 enable_option_checking
912 enable_dependency_tracking
925 ac_precious_vars
='build_alias
936 # Initialize some variables set by options.
938 ac_init_version
=false
939 ac_unrecognized_opts
=
941 # The variables have the same names as the options, with
942 # dashes changed to underlines.
950 program_transform_name
=s
,x
,x
,
958 # Installation directory options.
959 # These are left unexpanded so users can "make install exec_prefix=/foo"
960 # and all the variables that are supposed to be based on exec_prefix
961 # by default will actually change.
962 # Use braces instead of parens because sh, perl, etc. also accept them.
963 # (The list follows the same order as the GNU Coding Standards.)
964 bindir
='${exec_prefix}/bin'
965 sbindir
='${exec_prefix}/sbin'
966 libexecdir
='${exec_prefix}/libexec'
967 datarootdir
='${prefix}/share'
968 datadir
='${datarootdir}'
969 sysconfdir
='${prefix}/etc'
970 sharedstatedir
='${prefix}/com'
971 localstatedir
='${prefix}/var'
972 includedir
='${prefix}/include'
973 oldincludedir
='/usr/include'
974 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
975 infodir
='${datarootdir}/info'
980 libdir
='${exec_prefix}/lib'
981 localedir
='${datarootdir}/locale'
982 mandir
='${datarootdir}/man'
988 # If the previous option needs an argument, assign it.
989 if test -n "$ac_prev"; then
990 eval $ac_prev=\
$ac_option
996 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000 # Accept the important Cygnus configure options, so we can diagnose typos.
1002 case $ac_dashdash$ac_option in
1006 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1008 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1009 bindir
=$ac_optarg ;;
1011 -build |
--build |
--buil |
--bui |
--bu)
1012 ac_prev
=build_alias
;;
1013 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1014 build_alias
=$ac_optarg ;;
1016 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1017 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1018 ac_prev
=cache_file
;;
1019 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1020 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1021 cache_file
=$ac_optarg ;;
1023 --config-cache |
-C)
1024 cache_file
=config.cache
;;
1026 -datadir |
--datadir |
--datadi |
--datad)
1028 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1029 datadir
=$ac_optarg ;;
1031 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1032 |
--dataroo |
--dataro |
--datar)
1033 ac_prev
=datarootdir
;;
1034 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1035 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1036 datarootdir
=$ac_optarg ;;
1038 -disable-* |
--disable-*)
1039 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1042 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1043 { (exit 1); exit 1; }; }
1044 ac_useropt_orig
=$ac_useropt
1045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_
$ac_useropt"
1050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1051 ac_unrecognized_sep
=', ';;
1053 eval enable_
$ac_useropt=no
;;
1055 -docdir |
--docdir |
--docdi |
--doc |
--do)
1057 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1058 docdir
=$ac_optarg ;;
1060 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1062 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1063 dvidir
=$ac_optarg ;;
1065 -enable-* |
--enable-*)
1066 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1069 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1070 { (exit 1); exit 1; }; }
1071 ac_useropt_orig
=$ac_useropt
1072 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1075 "enable_
$ac_useropt"
1077 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1078 ac_unrecognized_sep
=', ';;
1080 eval enable_
$ac_useropt=\
$ac_optarg ;;
1082 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1083 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1084 |
--exec |
--exe |
--ex)
1085 ac_prev
=exec_prefix
;;
1086 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1087 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1088 |
--exec=* |
--exe=* |
--ex=*)
1089 exec_prefix
=$ac_optarg ;;
1091 -gas |
--gas |
--ga |
--g)
1092 # Obsolete; use --with-gas.
1095 -help |
--help |
--hel |
--he |
-h)
1096 ac_init_help
=long
;;
1097 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1098 ac_init_help
=recursive
;;
1099 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1100 ac_init_help
=short
;;
1102 -host |
--host |
--hos |
--ho)
1103 ac_prev
=host_alias
;;
1104 -host=* |
--host=* |
--hos=* |
--ho=*)
1105 host_alias
=$ac_optarg ;;
1107 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1109 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1111 htmldir
=$ac_optarg ;;
1113 -includedir |
--includedir |
--includedi |
--included |
--include \
1114 |
--includ |
--inclu |
--incl |
--inc)
1115 ac_prev
=includedir
;;
1116 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1117 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1118 includedir
=$ac_optarg ;;
1120 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1122 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1123 infodir
=$ac_optarg ;;
1125 -libdir |
--libdir |
--libdi |
--libd)
1127 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1128 libdir
=$ac_optarg ;;
1130 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1131 |
--libexe |
--libex |
--libe)
1132 ac_prev
=libexecdir
;;
1133 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1134 |
--libexe=* |
--libex=* |
--libe=*)
1135 libexecdir
=$ac_optarg ;;
1137 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1138 ac_prev
=localedir
;;
1139 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1140 localedir
=$ac_optarg ;;
1142 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1143 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1144 ac_prev
=localstatedir
;;
1145 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1146 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1147 localstatedir
=$ac_optarg ;;
1149 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1151 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1152 mandir
=$ac_optarg ;;
1154 -nfp |
--nfp |
--nf)
1155 # Obsolete; use --without-fp.
1158 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1159 |
--no-cr |
--no-c |
-n)
1162 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1163 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1166 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1167 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1168 |
--oldin |
--oldi |
--old |
--ol |
--o)
1169 ac_prev
=oldincludedir
;;
1170 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1171 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1172 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1173 oldincludedir
=$ac_optarg ;;
1175 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1177 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1178 prefix
=$ac_optarg ;;
1180 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1181 |
--program-pre |
--program-pr |
--program-p)
1182 ac_prev
=program_prefix
;;
1183 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1184 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1185 program_prefix
=$ac_optarg ;;
1187 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1188 |
--program-suf |
--program-su |
--program-s)
1189 ac_prev
=program_suffix
;;
1190 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1191 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1192 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1202 -program-transform-name=* |
--program-transform-name=* \
1203 |
--program-transform-nam=* |
--program-transform-na=* \
1204 |
--program-transform-n=* |
--program-transform-=* \
1205 |
--program-transform=* |
--program-transfor=* \
1206 |
--program-transfo=* |
--program-transf=* \
1207 |
--program-trans=* |
--program-tran=* \
1208 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1209 program_transform_name
=$ac_optarg ;;
1211 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1213 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1214 pdfdir
=$ac_optarg ;;
1216 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1218 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1221 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1222 |
-silent |
--silent |
--silen |
--sile |
--sil)
1225 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1227 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1229 sbindir
=$ac_optarg ;;
1231 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1232 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1233 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1235 ac_prev
=sharedstatedir
;;
1236 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1237 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1238 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1240 sharedstatedir
=$ac_optarg ;;
1242 -site |
--site |
--sit)
1244 -site=* |
--site=* |
--sit=*)
1247 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1249 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1250 srcdir
=$ac_optarg ;;
1252 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1253 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1254 ac_prev
=sysconfdir
;;
1255 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1256 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1257 sysconfdir
=$ac_optarg ;;
1259 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1260 ac_prev
=target_alias
;;
1261 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1262 target_alias
=$ac_optarg ;;
1264 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1267 -version |
--version |
--versio |
--versi |
--vers |
-V)
1268 ac_init_version
=: ;;
1271 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1274 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1275 { (exit 1); exit 1; }; }
1276 ac_useropt_orig
=$ac_useropt
1277 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1282 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1283 ac_unrecognized_sep
=', ';;
1285 eval with_
$ac_useropt=\
$ac_optarg ;;
1287 -without-* |
--without-*)
1288 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1291 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1292 { (exit 1); exit 1; }; }
1293 ac_useropt_orig
=$ac_useropt
1294 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295 case $ac_user_opts in
1299 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1300 ac_unrecognized_sep
=', ';;
1302 eval with_
$ac_useropt=no
;;
1305 # Obsolete; use --with-x.
1308 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1309 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1310 ac_prev
=x_includes
;;
1311 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1312 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1313 x_includes
=$ac_optarg ;;
1315 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1316 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1317 ac_prev
=x_libraries
;;
1318 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1319 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1320 x_libraries
=$ac_optarg ;;
1322 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1323 Try \`$0 --help' for more information." >&2
1324 { (exit 1); exit 1; }; }
1328 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1329 # Reject names that are not valid shell variable names.
1330 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1331 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1332 { (exit 1); exit 1; }; }
1333 eval $ac_envvar=\
$ac_optarg
1334 export $ac_envvar ;;
1337 # FIXME: should be removed in autoconf 3.0.
1338 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1339 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1340 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1341 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1347 if test -n "$ac_prev"; then
1348 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1349 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1350 { (exit 1); exit 1; }; }
1353 if test -n "$ac_unrecognized_opts"; then
1354 case $enable_option_checking in
1356 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1357 { (exit 1); exit 1; }; } ;;
1358 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362 # Check all directory arguments for consistency.
1363 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1364 datadir sysconfdir sharedstatedir localstatedir includedir \
1365 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1366 libdir localedir mandir
1368 eval ac_val
=\$
$ac_var
1369 # Remove trailing slashes.
1372 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1373 eval $ac_var=\
$ac_val;;
1375 # Be sure to have absolute directory names.
1377 [\\/$
]* | ?
:[\\/]* ) continue;;
1378 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1380 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1381 { (exit 1); exit 1; }; }
1384 # There might be people who depend on the old broken behavior: `$host'
1385 # used to hold the argument of --host etc.
1386 # FIXME: To remove some day.
1389 target
=$target_alias
1391 # FIXME: To remove some day.
1392 if test "x$host_alias" != x
; then
1393 if test "x$build_alias" = x
; then
1394 cross_compiling
=maybe
1395 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1396 If a cross compiler is detected then cross compile mode will be used." >&2
1397 elif test "x$build_alias" != "x$host_alias"; then
1403 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1405 test "$silent" = yes && exec 6>/dev
/null
1408 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1409 ac_ls_di
=`ls -di .` &&
1410 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1411 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1412 { (exit 1); exit 1; }; }
1413 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1414 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1415 { (exit 1); exit 1; }; }
1418 # Find the source files, if location was not specified.
1419 if test -z "$srcdir"; then
1420 ac_srcdir_defaulted
=yes
1421 # Try the directory containing this script, then the parent directory.
1422 ac_confdir
=`$as_dirname -- "$as_myself" ||
1423 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1424 X"$as_myself" : 'X\(//\)[^/]' \| \
1425 X"$as_myself" : 'X\(//\)$' \| \
1426 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1427 $as_echo X"$as_myself" |
1428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446 if test ! -r "$srcdir/$ac_unique_file"; then
1450 ac_srcdir_defaulted
=no
1452 if test ! -r "$srcdir/$ac_unique_file"; then
1453 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1454 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1455 { (exit 1); exit 1; }; }
1457 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1459 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1460 { (exit 1); exit 1; }; }
1462 # When building in place, set srcdir=.
1463 if test "$ac_abs_confdir" = "$ac_pwd"; then
1466 # Remove unnecessary trailing slashes from srcdir.
1467 # Double slashes in file names in object file debugging info
1468 # mess up M-x gdb in Emacs.
1470 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1472 for ac_var
in $ac_precious_vars; do
1473 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1474 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1475 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1476 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1480 # Report the --help message.
1482 if test "$ac_init_help" = "long"; then
1483 # Omit some internal or obsolete options to make the list less imposing.
1484 # This message is too long to be a string in the A/UX 3.1 sh.
1486 \`configure' configures libuserdb 0.10 to adapt to many kinds of systems.
1488 Usage: $0 [OPTION]... [VAR=VALUE]...
1490 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1491 VAR=VALUE. See below for descriptions of some of the useful variables.
1493 Defaults for the options are specified in brackets.
1496 -h, --help display this help and exit
1497 --help=short display options specific to this package
1498 --help=recursive display the short help of all the included packages
1499 -V, --version display version information and exit
1500 -q, --quiet, --silent do not print \`checking...' messages
1501 --cache-file=FILE cache test results in FILE [disabled]
1502 -C, --config-cache alias for \`--cache-file=config.cache'
1503 -n, --no-create do not create output files
1504 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1506 Installation directories:
1507 --prefix=PREFIX install architecture-independent files in PREFIX
1508 [$ac_default_prefix]
1509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1512 By default, \`make install' will install all the files in
1513 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1514 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1515 for instance \`--prefix=\$HOME'.
1517 For better control, use the options below.
1519 Fine tuning of the installation directories:
1520 --bindir=DIR user executables [EPREFIX/bin]
1521 --sbindir=DIR system admin executables [EPREFIX/sbin]
1522 --libexecdir=DIR program executables [EPREFIX/libexec]
1523 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1524 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1525 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1526 --libdir=DIR object code libraries [EPREFIX/lib]
1527 --includedir=DIR C header files [PREFIX/include]
1528 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1529 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1530 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1531 --infodir=DIR info documentation [DATAROOTDIR/info]
1532 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1533 --mandir=DIR man documentation [DATAROOTDIR/man]
1534 --docdir=DIR documentation root [DATAROOTDIR/doc/libuserdb]
1535 --htmldir=DIR html documentation [DOCDIR]
1536 --dvidir=DIR dvi documentation [DOCDIR]
1537 --pdfdir=DIR pdf documentation [DOCDIR]
1538 --psdir=DIR ps documentation [DOCDIR]
1544 --program-prefix=PREFIX prepend PREFIX to installed program names
1545 --program-suffix=SUFFIX append SUFFIX to installed program names
1546 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1549 --build=BUILD configure
for building on BUILD
[guessed
]
1550 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1554 if test -n "$ac_init_help"; then
1555 case $ac_init_help in
1556 short | recursive
) echo "Configuration of libuserdb 0.10:";;
1561 --disable-option-checking ignore unrecognized
--enable/--with options
1562 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1563 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1564 --disable-dependency-tracking speeds up one-time build
1565 --enable-dependency-tracking do not reject slow dependency extractors
1566 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1567 --enable-static[=PKGS
] build static libraries
[default
=yes]
1568 --enable-fast-install[=PKGS
]
1569 optimize
for fast installation
[default
=yes]
1570 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1573 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1574 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1575 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1577 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1579 --with-random=/dev
/urandom
- location of the system random
file generator
1580 --without-random - there is no system random
file generator
1582 Some influential environment variables
:
1583 CC C compiler
command
1584 CFLAGS C compiler flags
1585 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1586 nonstandard directory
<lib dir
>
1587 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1588 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1589 you have headers
in a nonstandard directory
<include dir
>
1592 Use these variables to override the choices made by
`configure' or to help
1593 it to find libraries and programs with nonstandard names/locations.
1595 Report bugs to <courier-users@lists.sourceforge.net>.
1600 if test "$ac_init_help" = "recursive"; then
1601 # If there are subdirs, report their specific --help.
1602 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1603 test -d "$ac_dir" ||
1604 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1612 # A ".." for each directory in $ac_dir_suffix.
1613 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1614 case $ac_top_builddir_sub in
1615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 ac_abs_top_builddir=$ac_pwd
1620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1621 # for backward compatibility:
1622 ac_top_builddir=$ac_top_build_prefix
1625 .) # We are building in place.
1627 ac_top_srcdir=$ac_top_builddir_sub
1628 ac_abs_top_srcdir=$ac_pwd ;;
1629 [\\/]* | ?:[\\/]* ) # Absolute name.
1630 ac_srcdir=$srcdir$ac_dir_suffix;
1631 ac_top_srcdir=$srcdir
1632 ac_abs_top_srcdir=$srcdir ;;
1634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1635 ac_top_srcdir=$ac_top_build_prefix$srcdir
1636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1640 cd "$ac_dir" || { ac_status=$?; continue; }
1641 # Check for guested configure.
1642 if test -f "$ac_srcdir/configure.gnu"; then
1644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1645 elif test -f "$ac_srcdir/configure"; then
1647 $SHELL "$ac_srcdir/configure" --help=recursive
1649 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651 cd "$ac_pwd" || { ac_status=$?; break; }
1655 test -n "$ac_init_help" && exit $ac_status
1656 if $ac_init_version; then
1658 libuserdb configure 0.10
1659 generated by GNU Autoconf 2.63
1661 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1662 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1663 This configure script is free software; the Free Software Foundation
1664 gives unlimited permission to copy, distribute and modify it.
1668 cat >config.log <<_ACEOF
1669 This file contains any messages produced by compilers while
1670 running configure, to aid debugging if configure makes a mistake.
1672 It was created by libuserdb $as_me 0.10, which was
1673 generated by GNU Autoconf 2.63. Invocation command line was
1685 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1686 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1687 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1688 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1689 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1691 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1692 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1694 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1695 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1696 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1697 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1698 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1699 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1700 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 $as_echo "PATH: $as_dir"
1725 # Keep a trace of the command line.
1726 # Strip out --no-create and --no-recursion so they do not pile up.
1727 # Strip out --silent because we don't want to record it for future runs.
1728 # Also quote any args containing shell meta-characters.
1729 # Make two passes to allow for proper duplicate-argument suppression.
1733 ac_must_keep_next=false
1739 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1740 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1741 | -silent | --silent | --silen | --sile | --sil)
1744 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1747 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1749 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1750 if test $ac_must_keep_next = true; then
1751 ac_must_keep_next=false # Got value, back to normal.
1754 *=* | --config-cache | -C | -disable-* | --disable-* \
1755 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1756 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1757 | -with-* | --with-* | -without-* | --without-* | --x)
1758 case "$ac_configure_args0 " in
1759 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1762 -* ) ac_must_keep_next=true ;;
1765 ac_configure_args="$ac_configure_args '$ac_arg'"
1770 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1771 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1773 # When interrupted or exit'd, cleanup temporary files, and complete
1774 # config.log. We remove comments because anyway the quotes in there
1775 # would cause problems or look ugly.
1776 # WARNING: Use '\'' to represent an apostrophe within the trap.
1777 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1778 trap 'exit_status=$?
1779 # Save into config.log some information that might help in debugging.
1784 ## ---------------- ##
1785 ## Cache variables. ##
1786 ## ---------------- ##
1789 # The following way of writing the cache mishandles newlines in values,
1791 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1792 eval ac_val=\$$ac_var
1796 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1797 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1800 _ | IFS | as_nl) ;; #(
1801 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1802 *) $as_unset $ac_var ;;
1807 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1808 *${as_nl}ac_space=\ *)
1810 "s/'\''/'\''\\\\'\'''\''/g;
1811 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1814 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1822 ## ----------------- ##
1823 ## Output variables. ##
1824 ## ----------------- ##
1827 for ac_var in $ac_subst_vars
1829 eval ac_val=\$$ac_var
1831 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1833 $as_echo "$ac_var='\''$ac_val'\''"
1837 if test -n "$ac_subst_files"; then
1839 ## ------------------- ##
1840 ## File substitutions. ##
1841 ## ------------------- ##
1844 for ac_var in $ac_subst_files
1846 eval ac_val=\$$ac_var
1848 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1850 $as_echo "$ac_var='\''$ac_val'\''"
1855 if test -s confdefs.h; then
1865 test "$ac_signal" != 0 &&
1866 $as_echo "$as_me: caught signal $ac_signal"
1867 $as_echo "$as_me: exit $exit_status"
1869 rm -f core *.core core.conftest.* &&
1870 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1873 for ac_signal in 1 2 13 15; do
1874 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1878 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1879 rm -f -r conftest* confdefs.h
1881 # Predefined preprocessor variables.
1883 cat >>confdefs.h <<_ACEOF
1884 #define PACKAGE_NAME "$PACKAGE_NAME"
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_STRING "$PACKAGE_STRING"
1903 cat >>confdefs.h <<_ACEOF
1904 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1908 # Let the site file select an alternate cache file if it wants to.
1909 # Prefer an explicitly selected file to automatically selected ones.
1912 if test -n "$CONFIG_SITE"; then
1913 ac_site_file1=$CONFIG_SITE
1914 elif test "x$prefix" != xNONE; then
1915 ac_site_file1=$prefix/share/config.site
1916 ac_site_file2=$prefix/etc/config.site
1918 ac_site_file1=$ac_default_prefix/share/config.site
1919 ac_site_file2=$ac_default_prefix/etc/config.site
1921 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1923 test "x$ac_site_file" = xNONE && continue
1924 if test -r "$ac_site_file"; then
1925 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1926 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1927 sed 's/^/| /' "$ac_site_file" >&5
1932 if test -r "$cache_file"; then
1933 # Some versions of bash will fail to source /dev/null (special
1934 # files actually), so we avoid doing that.
1935 if test -f "$cache_file"; then
1936 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1937 $as_echo "$as_me: loading cache $cache_file" >&6;}
1939 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1940 *) . "./$cache_file";;
1944 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1945 $as_echo "$as_me: creating cache $cache_file" >&6;}
1949 # Check that the precious variables saved in the cache have kept the same
1951 ac_cache_corrupted=false
1952 for ac_var in $ac_precious_vars; do
1953 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1954 eval ac_new_set=\$ac_env_${ac_var}_set
1955 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1956 eval ac_new_val=\$ac_env_${ac_var}_value
1957 case $ac_old_set,$ac_new_set in
1959 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1960 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1961 ac_cache_corrupted=: ;;
1963 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1964 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1965 ac_cache_corrupted=: ;;
1968 if test "x$ac_old_val" != "x$ac_new_val"; then
1969 # differences in whitespace do not lead to failure.
1970 ac_old_val_w=`echo x
$ac_old_val`
1971 ac_new_val_w=`echo x
$ac_new_val`
1972 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1973 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1974 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1975 ac_cache_corrupted=:
1977 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1978 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1979 eval $ac_var=\$ac_old_val
1981 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1982 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1983 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1984 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1987 # Pass precious variables to config.status.
1988 if test "$ac_new_set" = set; then
1990 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1991 *) ac_arg=$ac_var=$ac_new_val ;;
1993 case " $ac_configure_args " in
1994 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1995 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1999 if $ac_cache_corrupted; then
2000 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2002 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2003 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2004 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2005 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2006 { (exit 1); exit 1; }; }
2034 ac_cpp='$CPP $CPPFLAGS'
2035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2041 >confdefs.h # Kill PACKAGE_ macros.
2043 LPATH="$PATH:/usr
/local
/bin
"
2046 am__api_version='1.11'
2049 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2050 if test -f "$ac_dir/install-sh
"; then
2052 ac_install_sh="$ac_aux_dir/install-sh
-c"
2054 elif test -f "$ac_dir/install.sh
"; then
2056 ac_install_sh="$ac_aux_dir/install.sh
-c"
2058 elif test -f "$ac_dir/shtool
"; then
2060 ac_install_sh="$ac_aux_dir/shtool
install -c"
2064 if test -z "$ac_aux_dir"; then
2065 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2066 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2067 { (exit 1); exit 1; }; }
2070 # These three variables are undocumented and unsupported,
2071 # and are intended to be withdrawn in a future Autoconf release.
2072 # They can cause serious problems if a builder's source tree is in a directory
2073 # whose full name contains unusual characters.
2074 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2075 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2076 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2079 # Find a good install program. We prefer a C program (faster),
2080 # so one script is as good as another. But avoid the broken or
2081 # incompatible versions:
2082 # SysV /etc/install, /usr/sbin/install
2083 # SunOS /usr/etc/install
2084 # IRIX /sbin/install
2086 # AmigaOS /C/install, which installs bootblocks on floppy discs
2087 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2088 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2089 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2090 # OS/2's system install, which has a completely different semantic
2091 # ./install, which can be erroneously created by make from ./install.sh.
2092 # Reject install programs that cannot install multiple files.
2093 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2094 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2095 if test -z "$INSTALL"; then
2096 if test "${ac_cv_path_install+set}" = set; then
2097 $as_echo_n "(cached
) " >&6
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir=.
2104 # Account for people who put trailing slashes in PATH elements.
2106 ./ | .// | /cC/* | \
2107 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2108 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2111 # OSF1 and SCO ODT 3.0 have their own names for install.
2112 # Don't use installbsd from OSF since it installs stuff as root
2114 for ac_prog in ginstall scoinst install; do
2115 for ac_exec_ext in '' $ac_executable_extensions; do
2116 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2117 if test $ac_prog = install &&
2118 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2119 # AIX install. It has an incompatible calling convention.
2121 elif test $ac_prog = install &&
2122 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2123 # program-specific install script used by HP pwplus--don't use.
2126 rm -rf conftest.one conftest.two conftest.dir
2127 echo one > conftest.one
2128 echo two > conftest.two
2130 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2131 test -s conftest.one && test -s conftest.two &&
2132 test -s conftest.dir/conftest.one &&
2133 test -s conftest.dir/conftest.two
2135 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2148 rm -rf conftest.one conftest.two conftest.dir
2151 if test "${ac_cv_path_install+set}" = set; then
2152 INSTALL=$ac_cv_path_install
2154 # As a last resort, use the slow shell script. Don't cache a
2155 # value for INSTALL within a source directory, because that will
2156 # break other packages using the cache if that directory is
2157 # removed, or if the value is a relative name.
2158 INSTALL=$ac_install_sh
2161 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2162 $as_echo "$INSTALL" >&6; }
2164 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2165 # It thinks the first close brace ends the variable substitution.
2166 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2168 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2170 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2172 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2173 $as_echo_n "checking whether build environment is sane...
" >&6; }
2176 echo timestamp > conftest.file
2177 # Reject unsafe characters in $srcdir or the absolute working directory
2178 # name. Accept space and tab only in the latter.
2182 *[\\\"\#\$\&\'\`$am_lf]*)
2183 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2184 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2185 { (exit 1); exit 1; }; };;
2188 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2189 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2190 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2191 { (exit 1); exit 1; }; };;
2194 # Do `set' in a subshell so we don
't clobber the current shell's
2195 # arguments. Must try -L first in case configure is actually a
2196 # symlink; some systems play weird games with the mod time of symlinks
2197 # (eg FreeBSD returns the mod time of the symlink's containing
2200 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2201 if test "$*" = "X"; then
2203 set X
`ls -t "$srcdir/configure" conftest.file`
2206 if test "$*" != "X $srcdir/configure conftest.file" \
2207 && test "$*" != "X conftest.file $srcdir/configure"; then
2209 # If neither matched, then we have a broken ls. This can happen
2210 # if, for instance, CONFIG_SHELL is bash and it inherits a
2211 # broken ls alias from the environment. This has actually
2212 # happened. Such a system could not be considered "sane".
2213 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2214 alias in your environment" >&5
2215 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2216 alias in your environment" >&2;}
2217 { (exit 1); exit 1; }; }
2220 test "$2" = conftest.
file
2226 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2227 Check your system clock" >&5
2228 $as_echo "$as_me: error: newly created file is older than distributed files!
2229 Check your system clock" >&2;}
2230 { (exit 1); exit 1; }; }
2232 { $as_echo "$as_me:$LINENO: result: yes" >&5
2233 $as_echo "yes" >&6; }
2234 test "$program_prefix" != NONE
&&
2235 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2236 # Use a double $ so make ignores it.
2237 test "$program_suffix" != NONE
&&
2238 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2239 # Double any \ or $.
2240 # By default was `s,x,x', remove it if useless.
2241 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2242 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2244 # expand $ac_aux_dir to an absolute path
2245 am_aux_dir
=`cd $ac_aux_dir && pwd`
2247 if test x
"${MISSING+set}" != xset
; then
2250 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2252 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2255 # Use eval to expand $SHELL
2256 if eval "$MISSING --run true"; then
2257 am_missing_run
="$MISSING --run "
2260 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2261 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2264 if test x
"${install_sh}" != xset
; then
2267 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2269 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2273 # Installed binaries are usually stripped using `strip' when the user
2274 # run `make install-strip'. However `strip' might not be the right
2275 # tool to use in cross-compilation environments, therefore Automake
2276 # will honor the `STRIP' environment variable to overrule this program.
2277 if test "$cross_compiling" != no
; then
2278 if test -n "$ac_tool_prefix"; then
2279 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2280 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2281 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2282 $as_echo_n "checking for $ac_word... " >&6; }
2283 if test "${ac_cv_prog_STRIP+set}" = set; then
2284 $as_echo_n "(cached) " >&6
2286 if test -n "$STRIP"; then
2287 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2293 test -z "$as_dir" && as_dir
=.
2294 for ac_exec_ext
in '' $ac_executable_extensions; do
2295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2296 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2297 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 STRIP
=$ac_cv_prog_STRIP
2307 if test -n "$STRIP"; then
2308 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2309 $as_echo "$STRIP" >&6; }
2311 { $as_echo "$as_me:$LINENO: result: no" >&5
2312 $as_echo "no" >&6; }
2317 if test -z "$ac_cv_prog_STRIP"; then
2319 # Extract the first word of "strip", so it can be a program name with args.
2320 set dummy strip
; ac_word
=$2
2321 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 $as_echo_n "checking for $ac_word... " >&6; }
2323 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2324 $as_echo_n "(cached) " >&6
2326 if test -n "$ac_ct_STRIP"; then
2327 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir
=.
2334 for ac_exec_ext
in '' $ac_executable_extensions; do
2335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2336 ac_cv_prog_ac_ct_STRIP
="strip"
2337 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2347 if test -n "$ac_ct_STRIP"; then
2348 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2349 $as_echo "$ac_ct_STRIP" >&6; }
2351 { $as_echo "$as_me:$LINENO: result: no" >&5
2352 $as_echo "no" >&6; }
2355 if test "x$ac_ct_STRIP" = x
; then
2358 case $cross_compiling:$ac_tool_warned in
2360 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2362 ac_tool_warned
=yes ;;
2367 STRIP
="$ac_cv_prog_STRIP"
2371 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2373 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2374 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2375 if test -z "$MKDIR_P"; then
2376 if test "${ac_cv_path_mkdir+set}" = set; then
2377 $as_echo_n "(cached) " >&6
2379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2380 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2383 test -z "$as_dir" && as_dir
=.
2384 for ac_prog
in mkdir gmkdir
; do
2385 for ac_exec_ext
in '' $ac_executable_extensions; do
2386 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2387 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2388 'mkdir (GNU coreutils) '* | \
2389 'mkdir (coreutils) '* | \
2390 'mkdir (fileutils) '4.1*)
2391 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2401 if test "${ac_cv_path_mkdir+set}" = set; then
2402 MKDIR_P
="$ac_cv_path_mkdir -p"
2404 # As a last resort, use the slow shell script. Don't cache a
2405 # value for MKDIR_P within a source directory, because that will
2406 # break other packages using the cache if that directory is
2407 # removed, or if the value is a relative name.
2408 test -d .
/--version && rmdir .
/--version
2409 MKDIR_P
="$ac_install_sh -d"
2412 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2413 $as_echo "$MKDIR_P" >&6; }
2417 [\\/$
]* | ?
:[\\/]*) ;;
2418 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2421 for ac_prog
in gawk mawk nawk
awk
2423 # Extract the first word of "$ac_prog", so it can be a program name with args.
2424 set dummy
$ac_prog; ac_word
=$2
2425 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if test "${ac_cv_prog_AWK+set}" = set; then
2428 $as_echo_n "(cached) " >&6
2430 if test -n "$AWK"; then
2431 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_AWK
="$ac_prog"
2441 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$AWK"; then
2452 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2453 $as_echo "$AWK" >&6; }
2455 { $as_echo "$as_me:$LINENO: result: no" >&5
2456 $as_echo "no" >&6; }
2460 test -n "$AWK" && break
2463 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2464 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2466 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2467 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2468 $as_echo_n "(cached) " >&6
2470 cat >conftest.
make <<\_ACEOF
2473 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2475 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2476 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2478 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2480 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2484 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2485 { $as_echo "$as_me:$LINENO: result: yes" >&5
2486 $as_echo "yes" >&6; }
2489 { $as_echo "$as_me:$LINENO: result: no" >&5
2490 $as_echo "no" >&6; }
2491 SET_MAKE
="MAKE=${MAKE-make}"
2494 rm -rf .tst
2>/dev
/null
2495 mkdir .tst
2>/dev
/null
2496 if test -d .tst
; then
2501 rmdir .tst
2>/dev
/null
2503 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2504 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2505 # is not polluted with repeated "-I."
2506 am__isrc
=' -I$(srcdir)'
2507 # test to see if srcdir already configured
2508 if test -f $srcdir/config.status
; then
2509 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2510 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2511 { (exit 1); exit 1; }; }
2515 # test whether we have cygpath
2516 if test -z "$CYGPATH_W"; then
2517 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2518 CYGPATH_W
='cygpath -w'
2525 # Define the identity of the package.
2530 # Some tools Automake needs.
2532 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2535 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2538 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2541 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2544 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2546 # We need awk for the "check" target. The system "awk" is bad on
2548 # Always define AMTAR for backward compatibility.
2550 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2552 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2559 for ac_prog
in gawk mawk nawk
awk
2561 # Extract the first word of "$ac_prog", so it can be a program name with args.
2562 set dummy
$ac_prog; ac_word
=$2
2563 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2564 $as_echo_n "checking for $ac_word... " >&6; }
2565 if test "${ac_cv_prog_AWK+set}" = set; then
2566 $as_echo_n "(cached) " >&6
2568 if test -n "$AWK"; then
2569 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir
=.
2576 for ac_exec_ext
in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 ac_cv_prog_AWK
="$ac_prog"
2579 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 if test -n "$AWK"; then
2590 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2591 $as_echo "$AWK" >&6; }
2593 { $as_echo "$as_me:$LINENO: result: no" >&5
2594 $as_echo "no" >&6; }
2598 test -n "$AWK" && break
2602 ac_cpp
='$CPP $CPPFLAGS'
2603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2606 if test -n "$ac_tool_prefix"; then
2607 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2608 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2609 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if test "${ac_cv_prog_CC+set}" = set; then
2612 $as_echo_n "(cached) " >&6
2614 if test -n "$CC"; then
2615 ac_cv_prog_CC
="$CC" # Let the user override the test.
2617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir
=.
2622 for ac_exec_ext
in '' $ac_executable_extensions; do
2623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2625 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 if test -n "$CC"; then
2636 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2637 $as_echo "$CC" >&6; }
2639 { $as_echo "$as_me:$LINENO: result: no" >&5
2640 $as_echo "no" >&6; }
2645 if test -z "$ac_cv_prog_CC"; then
2647 # Extract the first word of "gcc", so it can be a program name with args.
2648 set dummy gcc
; ac_word
=$2
2649 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2650 $as_echo_n "checking for $ac_word... " >&6; }
2651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2652 $as_echo_n "(cached) " >&6
2654 if test -n "$ac_ct_CC"; then
2655 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir
=.
2662 for ac_exec_ext
in '' $ac_executable_extensions; do
2663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2664 ac_cv_prog_ac_ct_CC
="gcc"
2665 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2675 if test -n "$ac_ct_CC"; then
2676 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2677 $as_echo "$ac_ct_CC" >&6; }
2679 { $as_echo "$as_me:$LINENO: result: no" >&5
2680 $as_echo "no" >&6; }
2683 if test "x$ac_ct_CC" = x
; then
2686 case $cross_compiling:$ac_tool_warned in
2688 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2690 ac_tool_warned
=yes ;;
2698 if test -z "$CC"; then
2699 if test -n "$ac_tool_prefix"; then
2700 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2701 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2702 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; }
2704 if test "${ac_cv_prog_CC+set}" = set; then
2705 $as_echo_n "(cached) " >&6
2707 if test -n "$CC"; then
2708 ac_cv_prog_CC
="$CC" # Let the user override the test.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2717 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2718 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 if test -n "$CC"; then
2729 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2730 $as_echo "$CC" >&6; }
2732 { $as_echo "$as_me:$LINENO: result: no" >&5
2733 $as_echo "no" >&6; }
2739 if test -z "$CC"; then
2740 # Extract the first word of "cc", so it can be a program name with args.
2741 set dummy cc
; ac_word
=$2
2742 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2743 $as_echo_n "checking for $ac_word... " >&6; }
2744 if test "${ac_cv_prog_CC+set}" = set; then
2745 $as_echo_n "(cached) " >&6
2747 if test -n "$CC"; then
2748 ac_cv_prog_CC
="$CC" # Let the user override the test.
2751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir
=.
2756 for ac_exec_ext
in '' $ac_executable_extensions; do
2757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2758 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2759 ac_prog_rejected
=yes
2763 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2770 if test $ac_prog_rejected = yes; then
2771 # We found a bogon in the path, so make sure we never use it.
2772 set dummy
$ac_cv_prog_CC
2774 if test $# != 0; then
2775 # We chose a different compiler from the bogus one.
2776 # However, it has the same basename, so the bogon will be chosen
2777 # first if we set CC to just the basename; use the full file name.
2779 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2785 if test -n "$CC"; then
2786 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2787 $as_echo "$CC" >&6; }
2789 { $as_echo "$as_me:$LINENO: result: no" >&5
2790 $as_echo "no" >&6; }
2795 if test -z "$CC"; then
2796 if test -n "$ac_tool_prefix"; then
2797 for ac_prog
in cl.exe
2799 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2800 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2801 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if test "${ac_cv_prog_CC+set}" = set; then
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$CC"; then
2807 ac_cv_prog_CC
="$CC" # Let the user override the test.
2809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir
=.
2814 for ac_exec_ext
in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2817 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2827 if test -n "$CC"; then
2828 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2829 $as_echo "$CC" >&6; }
2831 { $as_echo "$as_me:$LINENO: result: no" >&5
2832 $as_echo "no" >&6; }
2836 test -n "$CC" && break
2839 if test -z "$CC"; then
2841 for ac_prog
in cl.exe
2843 # Extract the first word of "$ac_prog", so it can be a program name with args.
2844 set dummy
$ac_prog; ac_word
=$2
2845 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2846 $as_echo_n "checking for $ac_word... " >&6; }
2847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2848 $as_echo_n "(cached) " >&6
2850 if test -n "$ac_ct_CC"; then
2851 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir
=.
2858 for ac_exec_ext
in '' $ac_executable_extensions; do
2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2860 ac_cv_prog_ac_ct_CC
="$ac_prog"
2861 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2870 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2871 if test -n "$ac_ct_CC"; then
2872 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2873 $as_echo "$ac_ct_CC" >&6; }
2875 { $as_echo "$as_me:$LINENO: result: no" >&5
2876 $as_echo "no" >&6; }
2880 test -n "$ac_ct_CC" && break
2883 if test "x$ac_ct_CC" = x
; then
2886 case $cross_compiling:$ac_tool_warned in
2888 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2890 ac_tool_warned
=yes ;;
2899 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2901 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2902 See \`config.log' for more details." >&5
2903 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2904 See \`config.log' for more details." >&2;}
2905 { (exit 1); exit 1; }; }; }
2907 # Provide some information about the compiler.
2908 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2911 { (ac_try
="$ac_compiler --version >&5"
2913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2917 $as_echo "$ac_try_echo") >&5
2918 (eval "$ac_compiler --version >&5") 2>&5
2920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }
2922 { (ac_try="$ac_compiler -v >&5"
2924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2925 *) ac_try_echo
=$ac_try;;
2927 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2928 $as_echo "$ac_try_echo") >&5
2929 (eval "$ac_compiler -v >&5") 2>&5
2931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }
2933 { (ac_try
="$ac_compiler -V >&5"
2935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2936 *) ac_try_echo=$ac_try;;
2938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2939 $as_echo "$ac_try_echo") >&5
2940 (eval "$ac_compiler -V >&5") 2>&5
2942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }
2945 cat >conftest.$ac_ext <<_ACEOF
2948 cat confdefs.h >>conftest.$ac_ext
2949 cat >>conftest.$ac_ext <<_ACEOF
2950 /* end confdefs.h. */
2960 ac_clean_files_save=$ac_clean_files
2961 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2962 # Try to create an executable without -o first, disregard a.out.
2963 # It will help us diagnose broken compilers, and finding out an intuition
2965 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2966 $as_echo_n "checking for C compiler default output file name... " >&6; }
2967 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2969 # The possible output files:
2970 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2973 for ac_file in $ac_files
2976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2977 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2982 if { (ac_try="$ac_link_default"
2984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2985 *) ac_try_echo
=$ac_try;;
2987 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2988 $as_echo "$ac_try_echo") >&5
2989 (eval "$ac_link_default") 2>&5
2991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; then
2993 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2994 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2995 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2996 # so that the user can short-circuit this test for compilers unknown to
2998 for ac_file
in $ac_files ''
3000 test -f "$ac_file" ||
continue
3002 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3005 # We found the default executable, but exeext='' is most
3009 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3011 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3013 # We set ac_cv_exeext here because the later test for it is not
3014 # safe: cross compilers may not add the suffix if given an `-o'
3015 # argument, so we may need to know it at that point already.
3016 # Even if this section looks crufty: it has the advantage of
3023 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3029 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3030 $as_echo "$ac_file" >&6; }
3031 if test -z "$ac_file"; then
3032 $as_echo "$as_me: failed program was:" >&5
3033 sed 's/^/| /' conftest.
$ac_ext >&5
3035 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3037 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3038 See \`config.log' for more details." >&5
3039 $as_echo "$as_me: error: C compiler cannot create executables
3040 See \`config.log' for more details." >&2;}
3041 { (exit 77); exit 77; }; }; }
3044 ac_exeext
=$ac_cv_exeext
3046 # Check that the compiler produces executables we can run. If not, either
3047 # the compiler is broken, or we cross compile.
3048 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3049 $as_echo_n "checking whether the C compiler works... " >&6; }
3050 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3051 # If not cross compiling, check that we can run a simple program.
3052 if test "$cross_compiling" != yes; then
3053 if { ac_try
='./$ac_file'
3054 { (case "(($ac_try" in
3055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3056 *) ac_try_echo=$ac_try;;
3058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3059 $as_echo "$ac_try_echo") >&5
3060 (eval "$ac_try") 2>&5
3062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; }; then
3066 if test "$cross_compiling" = maybe; then
3069 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3071 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3072 If you meant to cross compile
, use \
`--host'.
3073 See \`config.log
' for more details." >&5
3074 $as_echo "$as_me: error: cannot run C compiled programs.
3075 If you meant to cross compile, use \`--host'.
3076 See \
`config.log' for more details." >&2;}
3077 { (exit 1); exit 1; }; }; }
3081 { $as_echo "$as_me:$LINENO: result: yes" >&5
3082 $as_echo "yes" >&6; }
3084 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3085 ac_clean_files=$ac_clean_files_save
3086 # Check that the compiler produces executables we can run. If not, either
3087 # the compiler is broken, or we cross compile.
3088 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3089 $as_echo_n "checking whether we are cross compiling... " >&6; }
3090 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3091 $as_echo "$cross_compiling" >&6; }
3093 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3094 $as_echo_n "checking for suffix of executables... " >&6; }
3095 if { (ac_try="$ac_link"
3097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3098 *) ac_try_echo
=$ac_try;;
3100 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3101 $as_echo "$ac_try_echo") >&5
3102 (eval "$ac_link") 2>&5
3104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }; then
3106 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3107 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3108 # work properly (i.e., refer to `conftest.exe'), while it won't with
3110 for ac_file
in conftest.exe conftest conftest.
*; do
3111 test -f "$ac_file" ||
continue
3113 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3114 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3120 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3122 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3123 See \`config.log' for more details." >&5
3124 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3125 See \`config.log' for more details." >&2;}
3126 { (exit 1); exit 1; }; }; }
3129 rm -f conftest
$ac_cv_exeext
3130 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3131 $as_echo "$ac_cv_exeext" >&6; }
3133 rm -f conftest.
$ac_ext
3134 EXEEXT
=$ac_cv_exeext
3136 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3137 $as_echo_n "checking for suffix of object files... " >&6; }
3138 if test "${ac_cv_objext+set}" = set; then
3139 $as_echo_n "(cached) " >&6
3141 cat >conftest.
$ac_ext <<_ACEOF
3144 cat confdefs.h
>>conftest.
$ac_ext
3145 cat >>conftest.
$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3156 rm -f conftest.o conftest.obj
3157 if { (ac_try
="$ac_compile"
3159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3163 $as_echo "$ac_try_echo") >&5
3164 (eval "$ac_compile") 2>&5
3166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167 (exit $ac_status); }; then
3168 for ac_file in conftest.o conftest.obj conftest.*; do
3169 test -f "$ac_file" || continue;
3171 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3172 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3177 $as_echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3180 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3182 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3183 See \
`config.log' for more details." >&5
3184 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3185 See \`config.log
' for more details." >&2;}
3186 { (exit 1); exit 1; }; }; }
3189 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3191 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3192 $as_echo "$ac_cv_objext" >&6; }
3193 OBJEXT=$ac_cv_objext
3195 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3196 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3197 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3198 $as_echo_n "(cached) " >&6
3200 cat >conftest.$ac_ext <<_ACEOF
3203 cat confdefs.h >>conftest.$ac_ext
3204 cat >>conftest.$ac_ext <<_ACEOF
3205 /* end confdefs.h. */
3218 rm -f conftest.$ac_objext
3219 if { (ac_try="$ac_compile"
3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222 *) ac_try_echo=$ac_try;;
3224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3225 $as_echo "$ac_try_echo") >&5
3226 (eval "$ac_compile") 2>conftest.er1
3228 grep -v '^
*+' conftest.er1 >conftest.err
3230 cat conftest.err >&5
3231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); } && {
3233 test -z "$ac_c_werror_flag" ||
3234 test ! -s conftest.err
3235 } && test -s conftest.$ac_objext; then
3238 $as_echo "$as_me: failed program was:" >&5
3239 sed 's
/^
/|
/' conftest.$ac_ext >&5
3244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3245 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3248 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3249 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3250 if test $ac_compiler_gnu = yes; then
3255 ac_test_CFLAGS=${CFLAGS+set}
3256 ac_save_CFLAGS=$CFLAGS
3257 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3258 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3259 if test "${ac_cv_prog_cc_g+set}" = set; then
3260 $as_echo_n "(cached) " >&6
3262 ac_save_c_werror_flag=$ac_c_werror_flag
3263 ac_c_werror_flag=yes
3266 cat >conftest.$ac_ext <<_ACEOF
3269 cat confdefs.h >>conftest.$ac_ext
3270 cat >>conftest.$ac_ext <<_ACEOF
3271 /* end confdefs.h. */
3281 rm -f conftest.$ac_objext
3282 if { (ac_try="$ac_compile"
3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285 *) ac_try_echo=$ac_try;;
3287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3288 $as_echo "$ac_try_echo") >&5
3289 (eval "$ac_compile") 2>conftest.er1
3291 grep -v '^
*+' conftest.er1 >conftest.err
3293 cat conftest.err >&5
3294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); } && {
3296 test -z "$ac_c_werror_flag" ||
3297 test ! -s conftest.err
3298 } && test -s conftest.$ac_objext; then
3301 $as_echo "$as_me: failed program was:" >&5
3302 sed 's
/^
/|
/' conftest.$ac_ext >&5
3305 cat >conftest.$ac_ext <<_ACEOF
3308 cat confdefs.h >>conftest.$ac_ext
3309 cat >>conftest.$ac_ext <<_ACEOF
3310 /* end confdefs.h. */
3320 rm -f conftest.$ac_objext
3321 if { (ac_try="$ac_compile"
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3327 $as_echo "$ac_try_echo") >&5
3328 (eval "$ac_compile") 2>conftest.er1
3330 grep -v '^
*+' conftest.er1 >conftest.err
3332 cat conftest.err >&5
3333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); } && {
3335 test -z "$ac_c_werror_flag" ||
3336 test ! -s conftest.err
3337 } && test -s conftest.$ac_objext; then
3340 $as_echo "$as_me: failed program was:" >&5
3341 sed 's
/^
/|
/' conftest.$ac_ext >&5
3343 ac_c_werror_flag=$ac_save_c_werror_flag
3345 cat >conftest.$ac_ext <<_ACEOF
3348 cat confdefs.h >>conftest.$ac_ext
3349 cat >>conftest.$ac_ext <<_ACEOF
3350 /* end confdefs.h. */
3360 rm -f conftest.$ac_objext
3361 if { (ac_try="$ac_compile"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3367 $as_echo "$ac_try_echo") >&5
3368 (eval "$ac_compile") 2>conftest.er1
3370 grep -v '^
*+' conftest.er1 >conftest.err
3372 cat conftest.err >&5
3373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } && {
3375 test -z "$ac_c_werror_flag" ||
3376 test ! -s conftest.err
3377 } && test -s conftest.$ac_objext; then
3380 $as_echo "$as_me: failed program was:" >&5
3381 sed 's
/^
/|
/' conftest.$ac_ext >&5
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 ac_c_werror_flag=$ac_save_c_werror_flag
3395 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3396 $as_echo "$ac_cv_prog_cc_g" >&6; }
3397 if test "$ac_test_CFLAGS" = set; then
3398 CFLAGS=$ac_save_CFLAGS
3399 elif test $ac_cv_prog_cc_g = yes; then
3400 if test "$GCC" = yes; then
3406 if test "$GCC" = yes; then
3412 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3413 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3414 if test "${ac_cv_prog_cc_c89+set}" = set; then
3415 $as_echo_n "(cached) " >&6
3417 ac_cv_prog_cc_c89=no
3419 cat >conftest.$ac_ext <<_ACEOF
3422 cat confdefs.h >>conftest.$ac_ext
3423 cat >>conftest.$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3427 #include <sys/types.h>
3428 #include <sys/stat.h>
3429 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3430 struct buf
{ int x
; };
3431 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3432 static char
*e
(p
, i
)
3438 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3443 s
= g
(p
, va_arg
(v
,int
));
3448 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3449 function prototypes and stuff
, but not
'\xHH' hex character constants.
3450 These don
't provoke an error unfortunately, instead are silently treated
3451 as 'x
'. The following induces an error, until -std is added to get
3452 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3453 array size at least. It's necessary to
write '\x00'==0 to get something
3454 that
's true only with -std. */
3455 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3457 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3458 inside strings and character constants. */
3460 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3462 int test (int i, double x);
3463 struct s1 {int (*f) (int a);};
3464 struct s2 {int (*f) (double a);};
3465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3471 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3476 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3477 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3479 CC="$ac_save_CC $ac_arg"
3480 rm -f conftest.$ac_objext
3481 if { (ac_try="$ac_compile"
3483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3484 *) ac_try_echo=$ac_try;;
3486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3487 $as_echo "$ac_try_echo") >&5
3488 (eval "$ac_compile") 2>conftest.er1
3490 grep -v '^
*+' conftest.er1 >conftest.err
3492 cat conftest.err >&5
3493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } && {
3495 test -z "$ac_c_werror_flag" ||
3496 test ! -s conftest.err
3497 } && test -s conftest.$ac_objext; then
3498 ac_cv_prog_cc_c89=$ac_arg
3500 $as_echo "$as_me: failed program was:" >&5
3501 sed 's
/^
/|
/' conftest.$ac_ext >&5
3506 rm -f core conftest.err conftest.$ac_objext
3507 test "x$ac_cv_prog_cc_c89" != "xno" && break
3509 rm -f conftest.$ac_ext
3514 case "x$ac_cv_prog_cc_c89" in
3516 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3517 $as_echo "none needed" >&6; } ;;
3519 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3520 $as_echo "unsupported" >&6; } ;;
3522 CC="$CC $ac_cv_prog_cc_c89"
3523 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3524 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3529 ac_cpp='$CPP $CPPFLAGS'
3530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3531 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3533 DEPDIR="${am__leading_dot}deps"
3535 ac_config_commands="$ac_config_commands depfiles"
3538 am_make=${MAKE-make}
3539 cat > confinc << 'END
'
3541 @echo this is the am__doit target
3544 # If we don't
find an include directive
, just comment out the code.
3545 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3546 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3550 # First try GNU make style include.
3551 echo "include confinc" > confmf
3552 # Ignore all kinds of additional output from `make'.
3553 case `$am_make -s -f confmf 2> /dev/null` in #(
3554 *the\ am__doit\ target
*)
3560 # Now try BSD make style include.
3561 if test "$am__include" = "#"; then
3562 echo '.include "confinc"' > confmf
3563 case `$am_make -s -f confmf 2> /dev/null` in #(
3564 *the\ am__doit\ target
*)
3565 am__include
=.include
3573 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3574 $as_echo "$_am_result" >&6; }
3575 rm -f confinc confmf
3577 # Check whether --enable-dependency-tracking was given.
3578 if test "${enable_dependency_tracking+set}" = set; then
3579 enableval
=$enable_dependency_tracking;
3582 if test "x$enable_dependency_tracking" != xno
; then
3583 am_depcomp
="$ac_aux_dir/depcomp"
3586 if test "x$enable_dependency_tracking" != xno; then
3596 depcc
="$CC" am_compiler_list
=
3598 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3599 $as_echo_n "checking dependency style of $depcc... " >&6; }
3600 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3601 $as_echo_n "(cached) " >&6
3603 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3604 # We make a subdir and do the tests there. Otherwise we can end up
3605 # making bogus files that we don't know about and never remove. For
3606 # instance it was reported that on HP-UX the gcc test will end up
3607 # making a dummy file named `D' -- because `-MD' means `put the output
3610 # Copy depcomp to subdir because otherwise we won't find it if we're
3611 # using a relative directory.
3612 cp "$am_depcomp" conftest.dir
3614 # We will build objects and dependencies in a subdirectory because
3615 # it helps to detect inapplicable dependency modes. For instance
3616 # both Tru64's cc and ICC support -MD to output dependencies as a
3617 # side effect of compilation, but ICC will put the dependencies in
3618 # the current directory while Tru64 will put them in the object
3622 am_cv_CC_dependencies_compiler_type
=none
3623 if test "$am_compiler_list" = ""; then
3624 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3627 case " $depcc " in #(
3628 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3631 for depmode
in $am_compiler_list; do
3632 # Setup a source with many dependencies, because some compilers
3633 # like to wrap large dependency lists on column 80 (with \), and
3634 # we should not choose a depcomp mode which is confused by this.
3636 # We need to recreate these files for each test, as the compiler may
3637 # overwrite some of them when testing with obscure command lines.
3638 # This happens at least with the AIX C compiler.
3640 for i
in 1 2 3 4 5 6; do
3641 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3642 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3643 # Solaris 8's {/usr,}/bin/sh.
3644 touch sub
/conftst
$i.h
3646 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3648 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3649 # mode. It turns out that the SunPro C++ compiler does not properly
3650 # handle `-M -o', and we need to detect this. Also, some Intel
3651 # versions had trouble with output in subdirs
3652 am__obj
=sub
/conftest.
${OBJEXT-o}
3653 am__minus_obj
="-o $am__obj"
3656 # This depmode causes a compiler race in universal mode.
3657 test "$am__universal" = false ||
continue
3660 # after this tag, mechanisms are not by side-effect, so they'll
3661 # only be used when explicitly requested
3662 if test "x$enable_dependency_tracking" = xyes
; then
3668 msvisualcpp | msvcmsys
)
3669 # This compiler won't grok `-c -o', but also, the minuso test has
3670 # not run yet. These depmodes are late enough in the game, and
3671 # so weak that their functioning should not be impacted.
3672 am__obj
=conftest.
${OBJEXT-o}
3677 if depmode
=$depmode \
3678 source=sub
/conftest.c object
=$am__obj \
3679 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3680 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3681 >/dev
/null
2>conftest.err
&&
3682 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3683 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3684 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3685 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3686 # icc doesn't choke on unknown options, it will just issue warnings
3687 # or remarks (even with -Werror). So we grep stderr for any message
3688 # that says an option was ignored or not supported.
3689 # When given -MP, icc 7.0 and 7.1 complain thusly:
3690 # icc: Command line warning: ignoring option '-M'; no argument required
3691 # The diagnosis changed in icc 8.0:
3692 # icc: Command line remark: option '-MP' not supported
3693 if (grep 'ignoring option' conftest.err ||
3694 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3695 am_cv_CC_dependencies_compiler_type
=$depmode
3704 am_cv_CC_dependencies_compiler_type
=none
3708 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3709 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3710 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3713 test "x$enable_dependency_tracking" != xno \
3714 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3716 am__fastdepCC_FALSE
='#'
3718 am__fastdepCC_TRUE
='#'
3719 am__fastdepCC_FALSE
=
3723 # Find a good install program. We prefer a C program (faster),
3724 # so one script is as good as another. But avoid the broken or
3725 # incompatible versions:
3726 # SysV /etc/install, /usr/sbin/install
3727 # SunOS /usr/etc/install
3728 # IRIX /sbin/install
3730 # AmigaOS /C/install, which installs bootblocks on floppy discs
3731 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3732 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3733 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3734 # OS/2's system install, which has a completely different semantic
3735 # ./install, which can be erroneously created by make from ./install.sh.
3736 # Reject install programs that cannot install multiple files.
3737 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3738 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3739 if test -z "$INSTALL"; then
3740 if test "${ac_cv_path_install+set}" = set; then
3741 $as_echo_n "(cached) " >&6
3743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3747 test -z "$as_dir" && as_dir
=.
3748 # Account for people who put trailing slashes in PATH elements.
3750 .
/ | .
// |
/cC
/* | \
3751 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3752 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3755 # OSF1 and SCO ODT 3.0 have their own names for install.
3756 # Don't use installbsd from OSF since it installs stuff as root
3758 for ac_prog
in ginstall scoinst
install; do
3759 for ac_exec_ext
in '' $ac_executable_extensions; do
3760 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3761 if test $ac_prog = install &&
3762 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3763 # AIX install. It has an incompatible calling convention.
3765 elif test $ac_prog = install &&
3766 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3767 # program-specific install script used by HP pwplus--don't use.
3770 rm -rf conftest.one conftest.two conftest.dir
3771 echo one
> conftest.one
3772 echo two
> conftest.two
3774 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3775 test -s conftest.one
&& test -s conftest.two
&&
3776 test -s conftest.dir
/conftest.one
&&
3777 test -s conftest.dir
/conftest.two
3779 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3792 rm -rf conftest.one conftest.two conftest.dir
3795 if test "${ac_cv_path_install+set}" = set; then
3796 INSTALL
=$ac_cv_path_install
3798 # As a last resort, use the slow shell script. Don't cache a
3799 # value for INSTALL within a source directory, because that will
3800 # break other packages using the cache if that directory is
3801 # removed, or if the value is a relative name.
3802 INSTALL
=$ac_install_sh
3805 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3806 $as_echo "$INSTALL" >&6; }
3808 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3809 # It thinks the first close brace ends the variable substitution.
3810 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3812 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3814 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3816 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3817 $as_echo_n "checking whether ln -s works... " >&6; }
3819 if test "$LN_S" = "ln -s"; then
3820 { $as_echo "$as_me:$LINENO: result: yes" >&5
3821 $as_echo "yes" >&6; }
3823 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3824 $as_echo "no, using $LN_S" >&6; }
3829 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3830 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3835 macro_version
='2.2.6'
3836 macro_revision
='1.3012'
3850 ltmain
="$ac_aux_dir/ltmain.sh"
3852 # Make sure we can run config.sub.
3853 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3854 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3855 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3856 { (exit 1); exit 1; }; }
3858 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3859 $as_echo_n "checking build system type... " >&6; }
3860 if test "${ac_cv_build+set}" = set; then
3861 $as_echo_n "(cached) " >&6
3863 ac_build_alias
=$build_alias
3864 test "x$ac_build_alias" = x
&&
3865 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3866 test "x$ac_build_alias" = x
&&
3867 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3868 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3869 { (exit 1); exit 1; }; }
3870 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3871 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3872 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3873 { (exit 1); exit 1; }; }
3876 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3877 $as_echo "$ac_cv_build" >&6; }
3878 case $ac_cv_build in
3880 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3881 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3882 { (exit 1); exit 1; }; };;
3885 ac_save_IFS
=$IFS; IFS
='-'
3891 # Remember, the first character of IFS is used to create $*,
3892 # except with old shells:
3895 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3898 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3899 $as_echo_n "checking host system type... " >&6; }
3900 if test "${ac_cv_host+set}" = set; then
3901 $as_echo_n "(cached) " >&6
3903 if test "x$host_alias" = x
; then
3904 ac_cv_host
=$ac_cv_build
3906 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3907 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3908 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3909 { (exit 1); exit 1; }; }
3913 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3914 $as_echo "$ac_cv_host" >&6; }
3917 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3918 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3919 { (exit 1); exit 1; }; };;
3922 ac_save_IFS
=$IFS; IFS
='-'
3928 # Remember, the first character of IFS is used to create $*,
3929 # except with old shells:
3932 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3935 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3936 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3937 if test "${ac_cv_path_SED+set}" = set; then
3938 $as_echo_n "(cached) " >&6
3940 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3941 for ac_i
in 1 2 3 4 5 6 7; do
3942 ac_script
="$ac_script$as_nl$ac_script"
3944 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3945 $as_unset ac_script || ac_script
=
3946 if test -z "$SED"; then
3947 ac_path_SED_found
=false
3948 # Loop through the user's path and test for each of PROGNAME-LIST
3949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3953 test -z "$as_dir" && as_dir
=.
3954 for ac_prog
in sed gsed
; do
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3957 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3958 # Check for GNU ac_path_SED and select it if it is found.
3959 # Check for GNU $ac_path_SED
3960 case `"$ac_path_SED" --version 2>&1` in
3962 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3965 $as_echo_n 0123456789 >"conftest.in"
3968 cat "conftest.in" "conftest.in" >"conftest.tmp"
3969 mv "conftest.tmp" "conftest.in"
3970 cp "conftest.in" "conftest.nl"
3971 $as_echo '' >> "conftest.nl"
3972 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3973 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3974 ac_count
=`expr $ac_count + 1`
3975 if test $ac_count -gt ${ac_path_SED_max-0}; then
3976 # Best one so far, save it but keep looking for a better one
3977 ac_cv_path_SED
="$ac_path_SED"
3978 ac_path_SED_max
=$ac_count
3980 # 10*(2^10) chars as input seems more than enough
3981 test $ac_count -gt 10 && break
3983 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3986 $ac_path_SED_found && break 3
3991 if test -z "$ac_cv_path_SED"; then
3992 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3993 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3994 { (exit 1); exit 1; }; }
4001 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4002 $as_echo "$ac_cv_path_SED" >&6; }
4003 SED
="$ac_cv_path_SED"
4006 test -z "$SED" && SED
=sed
4007 Xsed
="$SED -e 1s/^X//"
4019 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4020 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4021 if test "${ac_cv_path_GREP+set}" = set; then
4022 $as_echo_n "(cached) " >&6
4024 if test -z "$GREP"; then
4025 ac_path_GREP_found
=false
4026 # Loop through the user's path and test for each of PROGNAME-LIST
4027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4028 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4031 test -z "$as_dir" && as_dir
=.
4032 for ac_prog
in grep ggrep
; do
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4035 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4036 # Check for GNU ac_path_GREP and select it if it is found.
4037 # Check for GNU $ac_path_GREP
4038 case `"$ac_path_GREP" --version 2>&1` in
4040 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4043 $as_echo_n 0123456789 >"conftest.in"
4046 cat "conftest.in" "conftest.in" >"conftest.tmp"
4047 mv "conftest.tmp" "conftest.in"
4048 cp "conftest.in" "conftest.nl"
4049 $as_echo 'GREP' >> "conftest.nl"
4050 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4051 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4052 ac_count
=`expr $ac_count + 1`
4053 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4054 # Best one so far, save it but keep looking for a better one
4055 ac_cv_path_GREP
="$ac_path_GREP"
4056 ac_path_GREP_max
=$ac_count
4058 # 10*(2^10) chars as input seems more than enough
4059 test $ac_count -gt 10 && break
4061 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4064 $ac_path_GREP_found && break 3
4069 if test -z "$ac_cv_path_GREP"; then
4070 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4071 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4072 { (exit 1); exit 1; }; }
4075 ac_cv_path_GREP
=$GREP
4079 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4080 $as_echo "$ac_cv_path_GREP" >&6; }
4081 GREP
="$ac_cv_path_GREP"
4084 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4085 $as_echo_n "checking for egrep... " >&6; }
4086 if test "${ac_cv_path_EGREP+set}" = set; then
4087 $as_echo_n "(cached) " >&6
4089 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4090 then ac_cv_path_EGREP
="$GREP -E"
4092 if test -z "$EGREP"; then
4093 ac_path_EGREP_found
=false
4094 # Loop through the user's path and test for each of PROGNAME-LIST
4095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4096 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4099 test -z "$as_dir" && as_dir
=.
4100 for ac_prog
in egrep; do
4101 for ac_exec_ext
in '' $ac_executable_extensions; do
4102 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4103 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4104 # Check for GNU ac_path_EGREP and select it if it is found.
4105 # Check for GNU $ac_path_EGREP
4106 case `"$ac_path_EGREP" --version 2>&1` in
4108 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4111 $as_echo_n 0123456789 >"conftest.in"
4114 cat "conftest.in" "conftest.in" >"conftest.tmp"
4115 mv "conftest.tmp" "conftest.in"
4116 cp "conftest.in" "conftest.nl"
4117 $as_echo 'EGREP' >> "conftest.nl"
4118 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4119 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4120 ac_count
=`expr $ac_count + 1`
4121 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4122 # Best one so far, save it but keep looking for a better one
4123 ac_cv_path_EGREP
="$ac_path_EGREP"
4124 ac_path_EGREP_max
=$ac_count
4126 # 10*(2^10) chars as input seems more than enough
4127 test $ac_count -gt 10 && break
4129 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4132 $ac_path_EGREP_found && break 3
4137 if test -z "$ac_cv_path_EGREP"; then
4138 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4139 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4140 { (exit 1); exit 1; }; }
4143 ac_cv_path_EGREP
=$EGREP
4148 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4149 $as_echo "$ac_cv_path_EGREP" >&6; }
4150 EGREP
="$ac_cv_path_EGREP"
4153 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4154 $as_echo_n "checking for fgrep... " >&6; }
4155 if test "${ac_cv_path_FGREP+set}" = set; then
4156 $as_echo_n "(cached) " >&6
4158 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4159 then ac_cv_path_FGREP
="$GREP -F"
4161 if test -z "$FGREP"; then
4162 ac_path_FGREP_found
=false
4163 # Loop through the user's path and test for each of PROGNAME-LIST
4164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4165 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4168 test -z "$as_dir" && as_dir
=.
4169 for ac_prog
in fgrep
; do
4170 for ac_exec_ext
in '' $ac_executable_extensions; do
4171 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4172 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4173 # Check for GNU ac_path_FGREP and select it if it is found.
4174 # Check for GNU $ac_path_FGREP
4175 case `"$ac_path_FGREP" --version 2>&1` in
4177 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4180 $as_echo_n 0123456789 >"conftest.in"
4183 cat "conftest.in" "conftest.in" >"conftest.tmp"
4184 mv "conftest.tmp" "conftest.in"
4185 cp "conftest.in" "conftest.nl"
4186 $as_echo 'FGREP' >> "conftest.nl"
4187 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4188 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4189 ac_count
=`expr $ac_count + 1`
4190 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4191 # Best one so far, save it but keep looking for a better one
4192 ac_cv_path_FGREP
="$ac_path_FGREP"
4193 ac_path_FGREP_max
=$ac_count
4195 # 10*(2^10) chars as input seems more than enough
4196 test $ac_count -gt 10 && break
4198 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4201 $ac_path_FGREP_found && break 3
4206 if test -z "$ac_cv_path_FGREP"; then
4207 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4208 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4209 { (exit 1); exit 1; }; }
4212 ac_cv_path_FGREP
=$FGREP
4217 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4218 $as_echo "$ac_cv_path_FGREP" >&6; }
4219 FGREP
="$ac_cv_path_FGREP"
4222 test -z "$GREP" && GREP
=grep
4242 # Check whether --with-gnu-ld was given.
4243 if test "${with_gnu_ld+set}" = set; then
4244 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4250 if test "$GCC" = yes; then
4251 # Check if gcc -print-prog-name=ld gives a path.
4252 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4253 $as_echo_n "checking for ld used by $CC... " >&6; }
4256 # gcc leaves a trailing carriage return which upsets mingw
4257 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4259 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4262 # Accept absolute paths.
4264 re_direlt
='/[^/][^/]*/\.\./'
4265 # Canonicalize the pathname of ld
4266 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4267 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4268 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4270 test -z "$LD" && LD
="$ac_prog"
4273 # If it fails, then pretend we aren't using GCC.
4277 # If it is relative, then search for the first ld in PATH.
4281 elif test "$with_gnu_ld" = yes; then
4282 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4283 $as_echo_n "checking for GNU ld... " >&6; }
4285 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4286 $as_echo_n "checking for non-GNU ld... " >&6; }
4288 if test "${lt_cv_path_LD+set}" = set; then
4289 $as_echo_n "(cached) " >&6
4291 if test -z "$LD"; then
4292 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4293 for ac_dir
in $PATH; do
4295 test -z "$ac_dir" && ac_dir
=.
4296 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4297 lt_cv_path_LD
="$ac_dir/$ac_prog"
4298 # Check to see if the program is GNU ld. I'd rather use --version,
4299 # but apparently some variants of GNU ld only accept -v.
4300 # Break only if it was the GNU/non-GNU ld that we prefer.
4301 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4302 *GNU
* |
*'with BFD'*)
4303 test "$with_gnu_ld" != no
&& break
4306 test "$with_gnu_ld" != yes && break
4313 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4318 if test -n "$LD"; then
4319 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4320 $as_echo "$LD" >&6; }
4322 { $as_echo "$as_me:$LINENO: result: no" >&5
4323 $as_echo "no" >&6; }
4325 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4326 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4327 { (exit 1); exit 1; }; }
4328 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4329 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4330 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4331 $as_echo_n "(cached) " >&6
4333 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4334 case `$LD -v 2>&1 </dev/null` in
4335 *GNU
* |
*'with BFD'*)
4336 lt_cv_prog_gnu_ld
=yes
4339 lt_cv_prog_gnu_ld
=no
4343 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4344 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4345 with_gnu_ld
=$lt_cv_prog_gnu_ld
4355 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4356 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4357 if test "${lt_cv_path_NM+set}" = set; then
4358 $as_echo_n "(cached) " >&6
4360 if test -n "$NM"; then
4361 # Let the user override the test.
4364 lt_nm_to_check
="${ac_tool_prefix}nm"
4365 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4366 lt_nm_to_check
="$lt_nm_to_check nm"
4368 for lt_tmp_nm
in $lt_nm_to_check; do
4369 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4370 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4372 test -z "$ac_dir" && ac_dir
=.
4373 tmp_nm
="$ac_dir/$lt_tmp_nm"
4374 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4375 # Check to see if the nm accepts a BSD-compat flag.
4376 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4377 # nm: unknown option "B" ignored
4378 # Tru64's nm complains that /dev/null is an invalid object file
4379 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4380 */dev
/null
* |
*'Invalid file or object type'*)
4381 lt_cv_path_NM
="$tmp_nm -B"
4385 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4387 lt_cv_path_NM
="$tmp_nm -p"
4391 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4392 continue # so that we can try to find one that supports BSD flags
4401 : ${lt_cv_path_NM=no}
4404 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4405 $as_echo "$lt_cv_path_NM" >&6; }
4406 if test "$lt_cv_path_NM" != "no"; then
4409 # Didn't find any BSD compatible name lister, look for dumpbin.
4410 if test -n "$ac_tool_prefix"; then
4411 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4413 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4414 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4415 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4418 $as_echo_n "(cached) " >&6
4420 if test -n "$DUMPBIN"; then
4421 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir
=.
4428 for ac_exec_ext
in '' $ac_executable_extensions; do
4429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4431 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 DUMPBIN
=$ac_cv_prog_DUMPBIN
4441 if test -n "$DUMPBIN"; then
4442 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4443 $as_echo "$DUMPBIN" >&6; }
4445 { $as_echo "$as_me:$LINENO: result: no" >&5
4446 $as_echo "no" >&6; }
4450 test -n "$DUMPBIN" && break
4453 if test -z "$DUMPBIN"; then
4454 ac_ct_DUMPBIN
=$DUMPBIN
4455 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4457 # Extract the first word of "$ac_prog", so it can be a program name with args.
4458 set dummy
$ac_prog; ac_word
=$2
4459 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4460 $as_echo_n "checking for $ac_word... " >&6; }
4461 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4462 $as_echo_n "(cached) " >&6
4464 if test -n "$ac_ct_DUMPBIN"; then
4465 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4471 test -z "$as_dir" && as_dir
=.
4472 for ac_exec_ext
in '' $ac_executable_extensions; do
4473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4474 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4475 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4484 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4485 if test -n "$ac_ct_DUMPBIN"; then
4486 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4487 $as_echo "$ac_ct_DUMPBIN" >&6; }
4489 { $as_echo "$as_me:$LINENO: result: no" >&5
4490 $as_echo "no" >&6; }
4494 test -n "$ac_ct_DUMPBIN" && break
4497 if test "x$ac_ct_DUMPBIN" = x
; then
4500 case $cross_compiling:$ac_tool_warned in
4502 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4504 ac_tool_warned
=yes ;;
4506 DUMPBIN
=$ac_ct_DUMPBIN
4511 if test "$DUMPBIN" != ":"; then
4515 test -z "$NM" && NM
=nm
4522 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4523 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4524 if test "${lt_cv_nm_interface+set}" = set; then
4525 $as_echo_n "(cached) " >&6
4527 lt_cv_nm_interface
="BSD nm"
4528 echo "int some_variable = 0;" > conftest.
$ac_ext
4529 (eval echo "\"\$as_me:4529: $ac_compile\"" >&5)
4530 (eval "$ac_compile" 2>conftest.err
)
4531 cat conftest.err
>&5
4532 (eval echo "\"\$as_me:4532: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4533 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4534 cat conftest.err
>&5
4535 (eval echo "\"\$as_me:4535: output\"" >&5)
4536 cat conftest.out
>&5
4537 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4538 lt_cv_nm_interface
="MS dumpbin"
4542 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4543 $as_echo "$lt_cv_nm_interface" >&6; }
4545 # find the maximum length of command line arguments
4546 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4547 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4548 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4549 $as_echo_n "(cached) " >&6
4556 # On DJGPP, this test can blow up pretty badly due to problems in libc
4557 # (any single argument exceeding 2000 bytes causes a buffer overrun
4558 # during glob expansion). Even if it were fixed, the result of this
4559 # check would be larger than it should be.
4560 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4564 # Under GNU Hurd, this test is not required because there is
4565 # no limit to the length of command line arguments.
4566 # Libtool will interpret -1 as no limit whatsoever
4567 lt_cv_sys_max_cmd_len
=-1;
4570 cygwin
* | mingw
* | cegcc
*)
4571 # On Win9x/ME, this test blows up -- it succeeds, but takes
4572 # about 5 minutes as the teststring grows exponentially.
4573 # Worse, since 9x/ME are not pre-emptively multitasking,
4574 # you end up with a "frozen" computer, even though with patience
4575 # the test eventually succeeds (with a max line length of 256k).
4576 # Instead, let's just punt: use the minimum linelength reported by
4577 # all of the supported platforms: 8192 (on NT/2K/XP).
4578 lt_cv_sys_max_cmd_len
=8192;
4582 # On AmigaOS with pdksh, this test takes hours, literally.
4583 # So we just punt and use a minimum line length of 8192.
4584 lt_cv_sys_max_cmd_len
=8192;
4587 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4588 # This has been around since 386BSD, at least. Likely further.
4589 if test -x /sbin
/sysctl
; then
4590 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4591 elif test -x /usr
/sbin
/sysctl
; then
4592 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4594 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4596 # And add a safety zone
4597 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4598 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4602 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4603 lt_cv_sys_max_cmd_len
=196608
4607 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4608 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4609 # nice to cause kernel panics so lets avoid the loop below.
4610 # First set a reasonable default.
4611 lt_cv_sys_max_cmd_len
=16384
4613 if test -x /sbin
/sysconfig
; then
4614 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4615 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4620 lt_cv_sys_max_cmd_len
=102400
4622 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4623 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4624 if test -n "$kargmax"; then
4625 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4627 lt_cv_sys_max_cmd_len
=32768
4631 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4632 if test -n "$lt_cv_sys_max_cmd_len"; then
4633 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4634 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4636 # Make teststring a little bigger before we do anything with it.
4637 # a 1K string should be a reasonable start.
4638 for i
in 1 2 3 4 5 6 7 8 ; do
4639 teststring
=$teststring$teststring
4641 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4642 # If test is not a shell built-in, we'll probably end up computing a
4643 # maximum length that is only half of the actual maximum length, but
4645 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4646 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4647 test $i != 17 # 1/2 MB should be enough
4650 teststring
=$teststring$teststring
4652 # Only check the string length outside the loop.
4653 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4655 # Add a significant safety factor because C++ compilers can tack on
4656 # massive amounts of additional arguments before passing them to the
4657 # linker. It appears as though 1/2 is a usable value.
4658 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4665 if test -n $lt_cv_sys_max_cmd_len ; then
4666 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4667 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4669 { $as_echo "$as_me:$LINENO: result: none" >&5
4670 $as_echo "none" >&6; }
4672 max_cmd_len
=$lt_cv_sys_max_cmd_len
4683 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4684 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4685 # Try some XSI features
4688 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4690 && eval 'test $(( 1 + 1 )) -eq 2 \
4691 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4693 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4694 $as_echo "$xsi_shell" >&6; }
4697 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4698 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4700 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4702 && lt_shell_append=yes
4703 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4704 $as_echo "$lt_shell_append" >&6; }
4707 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4717 # test EBCDIC or ASCII
4718 case `echo X|tr X '\101'` in
4719 A) # ASCII based system
4720 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4721 lt_SP2NL='tr \040 \012'
4722 lt_NL2SP='tr \015\012 \040\040'
4724 *) # EBCDIC based system
4725 lt_SP2NL='tr \100 \n'
4726 lt_NL2SP='tr \r\n \100\100'
4738 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4739 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4740 if test "${lt_cv_ld_reload_flag+set}" = set; then
4741 $as_echo_n "(cached
) " >&6
4743 lt_cv_ld_reload_flag='-r'
4745 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4746 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4747 reload_flag=$lt_cv_ld_reload_flag
4748 case $reload_flag in
4750 *) reload_flag=" $reload_flag" ;;
4752 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4755 if test "$GCC" = yes; then
4756 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4758 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4771 if test -n "$ac_tool_prefix"; then
4772 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4773 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4774 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4775 $as_echo_n "checking
for $ac_word...
" >&6; }
4776 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4777 $as_echo_n "(cached
) " >&6
4779 if test -n "$OBJDUMP"; then
4780 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4786 test -z "$as_dir" && as_dir=.
4787 for ac_exec_ext in '' $ac_executable_extensions; do
4788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4789 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4790 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4799 OBJDUMP=$ac_cv_prog_OBJDUMP
4800 if test -n "$OBJDUMP"; then
4801 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4802 $as_echo "$OBJDUMP" >&6; }
4804 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4805 $as_echo "no
" >&6; }
4810 if test -z "$ac_cv_prog_OBJDUMP"; then
4811 ac_ct_OBJDUMP=$OBJDUMP
4812 # Extract the first word of "objdump
", so it can be a program name with args.
4813 set dummy objdump; ac_word=$2
4814 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4815 $as_echo_n "checking
for $ac_word...
" >&6; }
4816 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4817 $as_echo_n "(cached
) " >&6
4819 if test -n "$ac_ct_OBJDUMP"; then
4820 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 test -z "$as_dir" && as_dir=.
4827 for ac_exec_ext in '' $ac_executable_extensions; do
4828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4829 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4830 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4839 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4840 if test -n "$ac_ct_OBJDUMP"; then
4841 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4842 $as_echo "$ac_ct_OBJDUMP" >&6; }
4844 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4845 $as_echo "no
" >&6; }
4848 if test "x
$ac_ct_OBJDUMP" = x; then
4851 case $cross_compiling:$ac_tool_warned in
4853 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4854 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4855 ac_tool_warned=yes ;;
4857 OBJDUMP=$ac_ct_OBJDUMP
4860 OBJDUMP="$ac_cv_prog_OBJDUMP"
4863 test -z "$OBJDUMP" && OBJDUMP=objdump
4873 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4874 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4875 if test "${lt_cv_deplibs_check_method+set}" = set; then
4876 $as_echo_n "(cached
) " >&6
4878 lt_cv_file_magic_cmd='$MAGIC_CMD'
4879 lt_cv_file_magic_test_file=
4880 lt_cv_deplibs_check_method='unknown'
4881 # Need to set the preceding variable on all platforms that support
4882 # interlibrary dependencies.
4883 # 'none' -- dependencies not supported.
4884 # `unknown' -- same as none, but documents that we really don't know.
4885 # 'pass_all' -- all dependencies passed with no checks.
4886 # 'test_compile' -- check by making test program.
4887 # 'file_magic [[regex]]' -- check by looking for files in library path
4888 # which responds to the $file_magic_cmd with a given extended regex.
4889 # If you have `file' or equivalent on your system and you're not sure
4890 # whether `pass_all' will *always* work, you probably want this one.
4894 lt_cv_deplibs_check_method=pass_all
4898 lt_cv_deplibs_check_method=pass_all
4902 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4903 lt_cv_file_magic_cmd='/usr/bin/file -L'
4904 lt_cv_file_magic_test_file=/shlib/libc.so
4908 # func_win32_libid is a shell function defined in ltmain.sh
4909 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4910 lt_cv_file_magic_cmd='func_win32_libid'
4914 # Base MSYS/MinGW do not provide the 'file' command needed by
4915 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4916 # unless we find 'file', for example because we are cross-compiling.
4917 if ( file / ) >/dev/null 2>&1; then
4918 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4919 lt_cv_file_magic_cmd='func_win32_libid'
4921 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4922 lt_cv_file_magic_cmd='$OBJDUMP -f'
4927 # use the weaker test based on 'objdump'. See mingw*.
4928 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4929 lt_cv_file_magic_cmd='$OBJDUMP -f'
4932 darwin* | rhapsody*)
4933 lt_cv_deplibs_check_method=pass_all
4936 freebsd* | dragonfly*)
4937 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4940 # Not sure whether the presence of OpenBSD here was a mistake.
4941 # Let's accept both of them until this is cleared up.
4942 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4943 lt_cv_file_magic_cmd=/usr/bin/file
4944 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4948 lt_cv_deplibs_check_method=pass_all
4953 lt_cv_deplibs_check_method=pass_all
4956 hpux10.20* | hpux11*)
4957 lt_cv_file_magic_cmd=/usr/bin/file
4960 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4961 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4964 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]'
4965 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4969 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4975 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4976 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4979 irix5* | irix6* | nonstopux*)
4981 *-32|*"-32 ") libmagic=32-bit;;
4982 *-n32|*"-n32 ") libmagic=N32;;
4983 *-64|*"-64 ") libmagic=64-bit;;
4984 *) libmagic=never-match;;
4986 lt_cv_deplibs_check_method=pass_all
4989 # This must be Linux ELF.
4990 linux* | k*bsd*-gnu)
4991 lt_cv_deplibs_check_method=pass_all
4995 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4996 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4998 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5003 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5004 lt_cv_file_magic_cmd=/usr/bin/file
5005 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5009 lt_cv_deplibs_check_method=pass_all
5013 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5014 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5016 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5020 osf3* | osf4* | osf5*)
5021 lt_cv_deplibs_check_method=pass_all
5025 lt_cv_deplibs_check_method=pass_all
5029 lt_cv_deplibs_check_method=pass_all
5032 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5033 lt_cv_deplibs_check_method=pass_all
5037 case $host_vendor in
5039 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]'
5040 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5043 lt_cv_deplibs_check_method=pass_all
5046 lt_cv_file_magic_cmd='/bin/file'
5047 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5050 lt_cv_file_magic_cmd='/bin/file'
5051 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5052 lt_cv_file_magic_test_file=/lib/libc.so
5055 lt_cv_deplibs_check_method=pass_all
5058 lt_cv_deplibs_check_method=pass_all
5064 lt_cv_deplibs_check_method=pass_all
5069 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5070 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5071 file_magic_cmd=$lt_cv_file_magic_cmd
5072 deplibs_check_method=$lt_cv_deplibs_check_method
5073 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5086 if test -n "$ac_tool_prefix"; then
5087 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5088 set dummy ${ac_tool_prefix}ar; ac_word=$2
5089 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5090 $as_echo_n "checking
for $ac_word...
" >&6; }
5091 if test "${ac_cv_prog_AR+set}" = set; then
5092 $as_echo_n "(cached
) " >&6
5094 if test -n "$AR"; then
5095 ac_cv_prog_AR="$AR" # Let the user override the test.
5097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5101 test -z "$as_dir" && as_dir=.
5102 for ac_exec_ext in '' $ac_executable_extensions; do
5103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5104 ac_cv_prog_AR="${ac_tool_prefix}ar"
5105 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5115 if test -n "$AR"; then
5116 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5117 $as_echo "$AR" >&6; }
5119 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5120 $as_echo "no
" >&6; }
5125 if test -z "$ac_cv_prog_AR"; then
5127 # Extract the first word of "ar", so it can be a program name with args.
5128 set dummy ar; ac_word=$2
5129 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5130 $as_echo_n "checking
for $ac_word...
" >&6; }
5131 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5132 $as_echo_n "(cached
) " >&6
5134 if test -n "$ac_ct_AR"; then
5135 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_prog_ac_ct_AR="ar"
5145 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5154 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5155 if test -n "$ac_ct_AR"; then
5156 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5157 $as_echo "$ac_ct_AR" >&6; }
5159 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5160 $as_echo "no
" >&6; }
5163 if test "x
$ac_ct_AR" = x; then
5166 case $cross_compiling:$ac_tool_warned in
5168 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5169 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5170 ac_tool_warned=yes ;;
5178 test -z "$AR" && AR=ar
5179 test -z "$AR_FLAGS" && AR_FLAGS=cru
5191 if test -n "$ac_tool_prefix"; then
5192 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5193 set dummy ${ac_tool_prefix}strip; ac_word=$2
5194 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5195 $as_echo_n "checking
for $ac_word...
" >&6; }
5196 if test "${ac_cv_prog_STRIP+set}" = set; then
5197 $as_echo_n "(cached
) " >&6
5199 if test -n "$STRIP"; then
5200 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 test -z "$as_dir" && as_dir=.
5207 for ac_exec_ext in '' $ac_executable_extensions; do
5208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5209 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5210 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5219 STRIP=$ac_cv_prog_STRIP
5220 if test -n "$STRIP"; then
5221 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5222 $as_echo "$STRIP" >&6; }
5224 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5225 $as_echo "no
" >&6; }
5230 if test -z "$ac_cv_prog_STRIP"; then
5232 # Extract the first word of "strip
", so it can be a program name with args.
5233 set dummy strip; ac_word=$2
5234 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5235 $as_echo_n "checking
for $ac_word...
" >&6; }
5236 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5237 $as_echo_n "(cached
) " >&6
5239 if test -n "$ac_ct_STRIP"; then
5240 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 test -z "$as_dir" && as_dir=.
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5249 ac_cv_prog_ac_ct_STRIP="strip
"
5250 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5259 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5260 if test -n "$ac_ct_STRIP"; then
5261 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5262 $as_echo "$ac_ct_STRIP" >&6; }
5264 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5265 $as_echo "no
" >&6; }
5268 if test "x
$ac_ct_STRIP" = x; then
5271 case $cross_compiling:$ac_tool_warned in
5273 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5274 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5275 ac_tool_warned=yes ;;
5280 STRIP="$ac_cv_prog_STRIP"
5283 test -z "$STRIP" && STRIP=:
5290 if test -n "$ac_tool_prefix"; then
5291 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5292 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5293 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5294 $as_echo_n "checking
for $ac_word...
" >&6; }
5295 if test "${ac_cv_prog_RANLIB+set}" = set; then
5296 $as_echo_n "(cached
) " >&6
5298 if test -n "$RANLIB"; then
5299 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir=.
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5308 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5309 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5318 RANLIB=$ac_cv_prog_RANLIB
5319 if test -n "$RANLIB"; then
5320 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5321 $as_echo "$RANLIB" >&6; }
5323 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5324 $as_echo "no
" >&6; }
5329 if test -z "$ac_cv_prog_RANLIB"; then
5330 ac_ct_RANLIB=$RANLIB
5331 # Extract the first word of "ranlib
", so it can be a program name with args.
5332 set dummy ranlib; ac_word=$2
5333 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5334 $as_echo_n "checking
for $ac_word...
" >&6; }
5335 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5336 $as_echo_n "(cached
) " >&6
5338 if test -n "$ac_ct_RANLIB"; then
5339 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5349 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5358 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5359 if test -n "$ac_ct_RANLIB"; then
5360 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5361 $as_echo "$ac_ct_RANLIB" >&6; }
5363 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5364 $as_echo "no
" >&6; }
5367 if test "x
$ac_ct_RANLIB" = x; then
5370 case $cross_compiling:$ac_tool_warned in
5372 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5373 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5374 ac_tool_warned=yes ;;
5376 RANLIB=$ac_ct_RANLIB
5379 RANLIB="$ac_cv_prog_RANLIB"
5382 test -z "$RANLIB" && RANLIB=:
5389 # Determine commands to create old-style static archives.
5390 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5391 old_postinstall_cmds='chmod 644 $oldlib'
5392 old_postuninstall_cmds=
5394 if test -n "$RANLIB"; then
5397 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5400 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5403 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5439 # If no C compiler was specified, use CC.
5442 # If no C compiler flags were specified, use CFLAGS.
5443 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5445 # Allow CC to be a program name with arguments.
5449 # Check for command to grab the raw symbol name followed by C symbol from nm.
5450 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5451 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5452 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5453 $as_echo_n "(cached
) " >&6
5456 # These are sane defaults that work on at least a few old systems.
5457 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5459 # Character class describing NM global symbol codes.
5460 symcode='[BCDEGRST]'
5462 # Regexp to match symbols that can be accessed directly from C.
5463 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5465 # Define system-specific variables.
5470 cygwin* | mingw* | pw32* | cegcc*)
5471 symcode='[ABCDGISTW]'
5474 if test "$host_cpu" = ia64; then
5475 symcode='[ABCDEGRST]'
5479 symcode='[BCDEGRST]'
5482 symcode='[BCDEGQRST]'
5493 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5501 # If we're using GNU nm, then use its standard symbol codes.
5502 case `$NM -V 2>&1` in
5503 *GNU* | *'with BFD'*)
5504 symcode='[ABCDGIRSTW]' ;;
5507 # Transform an extracted symbol line into a proper C declaration.
5508 # Some systems (esp. on ia64) link data and code symbols differently,
5509 # so use this general approach.
5510 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5512 # Transform an extracted symbol line into symbol name and symbol address
5513 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5514 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'"
5516 # Handle CRLF in mingw tool chain
5520 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5524 # Try without a prefix underscore, then with it.
5525 for ac_symprfx in "" "_
"; do
5527 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5528 symxfrm="\\1 $ac_symprfx\\2 \\2"
5530 # Write the raw and C identifiers.
5531 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5532 # Fake it for dumpbin and say T for any non-static function
5533 # and D for any global variable.
5534 # Also find C++ and __fastcall symbols from MSVC++,
5535 # which start with @ or ?.
5536 lt_cv_sys_global_symbol_pipe="$AWK '"\
5537 " {last_section=section; section=\$ 3};"\
5538 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5539 " \$ 0!~/External *\|/{next};"\
5540 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5541 " {if(hide[section]) next};"\
5542 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5543 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5544 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5545 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5546 " ' prfx
=^
$ac_symprfx"
5548 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5551 # Check to see that the pipe works correctly.
5555 cat > conftest.$ac_ext <<_LT_EOF
5560 void nm_test_func(void);
5561 void nm_test_func(void){}
5565 int main(){nm_test_var='a';nm_test_func();return(0);}
5568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5569 (eval $ac_compile) 2>&5
5571 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5572 (exit $ac_status); }; then
5573 # Now try to grab the symbols.
5575 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5576 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5578 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5579 (exit $ac_status); } && test -s "$nlist"; then
5580 # Try sorting and uniquifying the output.
5581 if sort "$nlist" | uniq > "$nlist"T; then
5582 mv -f "$nlist"T "$nlist"
5587 # Make sure that we snagged all the symbols we need.
5588 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5589 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5590 cat <<_LT_EOF > conftest.$ac_ext
5596 # Now generate the symbol file.
5597 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5599 cat <<_LT_EOF >> conftest.$ac_ext
5601 /* The mapping between symbol names and symbols. */
5606 lt__PROGRAM__LTX_preloaded_symbols[] =
5608 { "@PROGRAM@
", (void *) 0 },
5610 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5611 cat <<\_LT_EOF >> conftest.$ac_ext
5615 /* This works around a problem in FreeBSD linker */
5616 #ifdef FREEBSD_WORKAROUND
5617 static const void *lt_preloaded_setup() {
5618 return lt__PROGRAM__LTX_preloaded_symbols;
5626 # Now try linking the two files.
5627 mv conftest.$ac_objext conftstm.$ac_objext
5628 lt_save_LIBS="$LIBS"
5629 lt_save_CFLAGS="$CFLAGS"
5630 LIBS="conftstm.
$ac_objext"
5631 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5633 (eval $ac_link) 2>&5
5635 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5636 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5639 LIBS="$lt_save_LIBS"
5640 CFLAGS="$lt_save_CFLAGS"
5642 echo "cannot
find nm_test_func
in $nlist" >&5
5645 echo "cannot
find nm_test_var
in $nlist" >&5
5648 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5651 echo "$progname: failed program was
:" >&5
5652 cat conftest.$ac_ext >&5
5654 rm -rf conftest* conftst*
5656 # Do not use the global_symbol_pipe unless it works.
5657 if test "$pipe_works" = yes; then
5660 lt_cv_sys_global_symbol_pipe=
5666 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5667 lt_cv_sys_global_symbol_to_cdecl=
5669 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5670 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5671 $as_echo "failed
" >&6; }
5673 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5674 $as_echo "ok
" >&6; }
5699 # Check whether --enable-libtool-lock was given.
5700 if test "${enable_libtool_lock+set}" = set; then
5701 enableval=$enable_libtool_lock;
5704 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5706 # Some flags need to be propagated to the compiler or linker for good
5710 # Find out which ABI we are using.
5711 echo 'int i;' > conftest.$ac_ext
5712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5713 (eval $ac_compile) 2>&5
5715 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5716 (exit $ac_status); }; then
5717 case `/usr/bin/file conftest.$ac_objext` in
5729 # Find out which ABI we are using.
5730 echo '#line 5730 "configure
"' > conftest.$ac_ext
5731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5732 (eval $ac_compile) 2>&5
5734 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5735 (exit $ac_status); }; then
5736 if test "$lt_cv_prog_gnu_ld" = yes; then
5737 case `/usr/bin/file conftest.$ac_objext` in
5739 LD="${LD-ld} -melf32bsmip"
5742 LD="${LD-ld} -melf32bmipn32"
5745 LD="${LD-ld} -melf64bmip"
5749 case `/usr/bin/file conftest.$ac_objext` in
5765 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5766 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5767 # Find out which ABI we are using.
5768 echo 'int i;' > conftest.$ac_ext
5769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5770 (eval $ac_compile) 2>&5
5772 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5773 (exit $ac_status); }; then
5774 case `/usr/bin/file conftest.o` in
5777 x86_64-*kfreebsd*-gnu)
5778 LD="${LD-ld} -m elf_i386_fbsd
"
5781 LD="${LD-ld} -m elf_i386
"
5783 ppc64-*linux*|powerpc64-*linux*)
5784 LD="${LD-ld} -m elf32ppclinux
"
5787 LD="${LD-ld} -m elf_s390
"
5790 LD="${LD-ld} -m elf32_sparc
"
5796 x86_64-*kfreebsd*-gnu)
5797 LD="${LD-ld} -m elf_x86_64_fbsd
"
5800 LD="${LD-ld} -m elf_x86_64
"
5802 ppc*-*linux*|powerpc*-*linux*)
5803 LD="${LD-ld} -m elf64ppc
"
5805 s390*-*linux*|s390*-*tpf*)
5806 LD="${LD-ld} -m elf64_s390
"
5809 LD="${LD-ld} -m elf64_sparc
"
5819 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5820 SAVE_CFLAGS="$CFLAGS"
5821 CFLAGS="$CFLAGS -belf"
5822 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5823 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5824 if test "${lt_cv_cc_needs_belf+set}" = set; then
5825 $as_echo_n "(cached
) " >&6
5828 ac_cpp='$CPP $CPPFLAGS'
5829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5833 cat >conftest.$ac_ext <<_ACEOF
5836 cat confdefs.h >>conftest.$ac_ext
5837 cat >>conftest.$ac_ext <<_ACEOF
5838 /* end confdefs.h. */
5848 rm -f conftest.$ac_objext conftest$ac_exeext
5849 if { (ac_try="$ac_link"
5851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5852 *) ac_try_echo=$ac_try;;
5854 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5855 $as_echo "$ac_try_echo") >&5
5856 (eval "$ac_link") 2>conftest.er1
5858 grep -v '^ *+' conftest.er1 >conftest.err
5860 cat conftest.err >&5
5861 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5862 (exit $ac_status); } && {
5863 test -z "$ac_c_werror_flag" ||
5864 test ! -s conftest.err
5865 } && test -s conftest$ac_exeext && {
5866 test "$cross_compiling" = yes ||
5867 $as_test_x conftest$ac_exeext
5869 lt_cv_cc_needs_belf=yes
5871 $as_echo "$as_me: failed program was
:" >&5
5872 sed 's/^/| /' conftest.$ac_ext >&5
5874 lt_cv_cc_needs_belf=no
5877 rm -rf conftest.dSYM
5878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5879 conftest$ac_exeext conftest.$ac_ext
5881 ac_cpp='$CPP $CPPFLAGS'
5882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5887 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5888 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5889 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5890 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5891 CFLAGS="$SAVE_CFLAGS"
5895 # Find out which ABI we are using.
5896 echo 'int i;' > conftest.$ac_ext
5897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5898 (eval $ac_compile) 2>&5
5900 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5901 (exit $ac_status); }; then
5902 case `/usr/bin/file conftest.o` in
5904 case $lt_cv_prog_gnu_ld in
5905 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5907 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5919 need_locks="$enable_libtool_lock"
5923 rhapsody* | darwin*)
5924 if test -n "$ac_tool_prefix"; then
5925 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5926 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5927 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5928 $as_echo_n "checking
for $ac_word...
" >&6; }
5929 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5930 $as_echo_n "(cached
) " >&6
5932 if test -n "$DSYMUTIL"; then
5933 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5942 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5943 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5952 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5953 if test -n "$DSYMUTIL"; then
5954 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5955 $as_echo "$DSYMUTIL" >&6; }
5957 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5958 $as_echo "no
" >&6; }
5963 if test -z "$ac_cv_prog_DSYMUTIL"; then
5964 ac_ct_DSYMUTIL=$DSYMUTIL
5965 # Extract the first word of "dsymutil
", so it can be a program name with args.
5966 set dummy dsymutil; ac_word=$2
5967 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5968 $as_echo_n "checking
for $ac_word...
" >&6; }
5969 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5970 $as_echo_n "(cached
) " >&6
5972 if test -n "$ac_ct_DSYMUTIL"; then
5973 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 test -z "$as_dir" && as_dir=.
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5982 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5983 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5992 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5993 if test -n "$ac_ct_DSYMUTIL"; then
5994 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5995 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5997 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5998 $as_echo "no
" >&6; }
6001 if test "x
$ac_ct_DSYMUTIL" = x; then
6004 case $cross_compiling:$ac_tool_warned in
6006 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6007 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6008 ac_tool_warned=yes ;;
6010 DSYMUTIL=$ac_ct_DSYMUTIL
6013 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6016 if test -n "$ac_tool_prefix"; then
6017 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6018 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6019 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6020 $as_echo_n "checking
for $ac_word...
" >&6; }
6021 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6022 $as_echo_n "(cached
) " >&6
6024 if test -n "$NMEDIT"; then
6025 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6035 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6044 NMEDIT=$ac_cv_prog_NMEDIT
6045 if test -n "$NMEDIT"; then
6046 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6047 $as_echo "$NMEDIT" >&6; }
6049 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6050 $as_echo "no
" >&6; }
6055 if test -z "$ac_cv_prog_NMEDIT"; then
6056 ac_ct_NMEDIT=$NMEDIT
6057 # Extract the first word of "nmedit
", so it can be a program name with args.
6058 set dummy nmedit; ac_word=$2
6059 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6060 $as_echo_n "checking
for $ac_word...
" >&6; }
6061 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6062 $as_echo_n "(cached
) " >&6
6064 if test -n "$ac_ct_NMEDIT"; then
6065 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6074 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6075 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6084 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6085 if test -n "$ac_ct_NMEDIT"; then
6086 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6087 $as_echo "$ac_ct_NMEDIT" >&6; }
6089 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6090 $as_echo "no
" >&6; }
6093 if test "x
$ac_ct_NMEDIT" = x; then
6096 case $cross_compiling:$ac_tool_warned in
6098 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6099 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6100 ac_tool_warned=yes ;;
6102 NMEDIT=$ac_ct_NMEDIT
6105 NMEDIT="$ac_cv_prog_NMEDIT"
6108 if test -n "$ac_tool_prefix"; then
6109 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6110 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6111 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6112 $as_echo_n "checking
for $ac_word...
" >&6; }
6113 if test "${ac_cv_prog_LIPO+set}" = set; then
6114 $as_echo_n "(cached
) " >&6
6116 if test -n "$LIPO"; then
6117 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6127 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6136 LIPO=$ac_cv_prog_LIPO
6137 if test -n "$LIPO"; then
6138 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6139 $as_echo "$LIPO" >&6; }
6141 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6142 $as_echo "no
" >&6; }
6147 if test -z "$ac_cv_prog_LIPO"; then
6149 # Extract the first word of "lipo
", so it can be a program name with args.
6150 set dummy lipo; ac_word=$2
6151 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6152 $as_echo_n "checking
for $ac_word...
" >&6; }
6153 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6154 $as_echo_n "(cached
) " >&6
6156 if test -n "$ac_ct_LIPO"; then
6157 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6166 ac_cv_prog_ac_ct_LIPO="lipo
"
6167 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6176 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6177 if test -n "$ac_ct_LIPO"; then
6178 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6179 $as_echo "$ac_ct_LIPO" >&6; }
6181 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6182 $as_echo "no
" >&6; }
6185 if test "x
$ac_ct_LIPO" = x; then
6188 case $cross_compiling:$ac_tool_warned in
6190 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6191 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6192 ac_tool_warned=yes ;;
6197 LIPO="$ac_cv_prog_LIPO"
6200 if test -n "$ac_tool_prefix"; then
6201 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6202 set dummy ${ac_tool_prefix}otool; ac_word=$2
6203 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6204 $as_echo_n "checking
for $ac_word...
" >&6; }
6205 if test "${ac_cv_prog_OTOOL+set}" = set; then
6206 $as_echo_n "(cached
) " >&6
6208 if test -n "$OTOOL"; then
6209 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 test -z "$as_dir" && as_dir=.
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6218 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6219 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6228 OTOOL=$ac_cv_prog_OTOOL
6229 if test -n "$OTOOL"; then
6230 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6231 $as_echo "$OTOOL" >&6; }
6233 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6234 $as_echo "no
" >&6; }
6239 if test -z "$ac_cv_prog_OTOOL"; then
6241 # Extract the first word of "otool
", so it can be a program name with args.
6242 set dummy otool; ac_word=$2
6243 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6244 $as_echo_n "checking
for $ac_word...
" >&6; }
6245 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6246 $as_echo_n "(cached
) " >&6
6248 if test -n "$ac_ct_OTOOL"; then
6249 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6258 ac_cv_prog_ac_ct_OTOOL="otool
"
6259 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6268 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6269 if test -n "$ac_ct_OTOOL"; then
6270 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6271 $as_echo "$ac_ct_OTOOL" >&6; }
6273 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6274 $as_echo "no
" >&6; }
6277 if test "x
$ac_ct_OTOOL" = x; then
6280 case $cross_compiling:$ac_tool_warned in
6282 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6283 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6284 ac_tool_warned=yes ;;
6289 OTOOL="$ac_cv_prog_OTOOL"
6292 if test -n "$ac_tool_prefix"; then
6293 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6294 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6295 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6296 $as_echo_n "checking
for $ac_word...
" >&6; }
6297 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6298 $as_echo_n "(cached
) " >&6
6300 if test -n "$OTOOL64"; then
6301 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 test -z "$as_dir" && as_dir=.
6308 for ac_exec_ext in '' $ac_executable_extensions; do
6309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6310 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6311 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6320 OTOOL64=$ac_cv_prog_OTOOL64
6321 if test -n "$OTOOL64"; then
6322 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6323 $as_echo "$OTOOL64" >&6; }
6325 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6326 $as_echo "no
" >&6; }
6331 if test -z "$ac_cv_prog_OTOOL64"; then
6332 ac_ct_OTOOL64=$OTOOL64
6333 # Extract the first word of "otool64
", so it can be a program name with args.
6334 set dummy otool64; ac_word=$2
6335 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6336 $as_echo_n "checking
for $ac_word...
" >&6; }
6337 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6338 $as_echo_n "(cached
) " >&6
6340 if test -n "$ac_ct_OTOOL64"; then
6341 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347 test -z "$as_dir" && as_dir=.
6348 for ac_exec_ext in '' $ac_executable_extensions; do
6349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6350 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6351 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6360 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6361 if test -n "$ac_ct_OTOOL64"; then
6362 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6363 $as_echo "$ac_ct_OTOOL64" >&6; }
6365 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6366 $as_echo "no
" >&6; }
6369 if test "x
$ac_ct_OTOOL64" = x; then
6372 case $cross_compiling:$ac_tool_warned in
6374 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6375 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6376 ac_tool_warned=yes ;;
6378 OTOOL64=$ac_ct_OTOOL64
6381 OTOOL64="$ac_cv_prog_OTOOL64"
6410 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6411 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6412 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6413 $as_echo_n "(cached
) " >&6
6415 lt_cv_apple_cc_single_mod=no
6416 if test -z "${LT_MULTI_MODULE}"; then
6417 # By default we will add the -single_module flag. You can override
6418 # by either setting the environment variable LT_MULTI_MODULE
6419 # non-empty at configure time, or by adding -multi_module to the
6421 rm -rf libconftest.dylib*
6422 echo "int foo
(void
){return 1;}" > conftest.c
6423 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6424 -dynamiclib -Wl,-single_module conftest.c
" >&5
6425 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6426 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6428 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6429 lt_cv_apple_cc_single_mod=yes
6431 cat conftest.err >&5
6433 rm -rf libconftest.dylib*
6437 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6438 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6439 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6440 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6441 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6442 $as_echo_n "(cached
) " >&6
6444 lt_cv_ld_exported_symbols_list=no
6445 save_LDFLAGS=$LDFLAGS
6446 echo "_main
" > conftest.sym
6447 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6448 cat >conftest.$ac_ext <<_ACEOF
6451 cat confdefs.h >>conftest.$ac_ext
6452 cat >>conftest.$ac_ext <<_ACEOF
6453 /* end confdefs.h. */
6463 rm -f conftest.$ac_objext conftest$ac_exeext
6464 if { (ac_try="$ac_link"
6466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6467 *) ac_try_echo=$ac_try;;
6469 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6470 $as_echo "$ac_try_echo") >&5
6471 (eval "$ac_link") 2>conftest.er1
6473 grep -v '^ *+' conftest.er1 >conftest.err
6475 cat conftest.err >&5
6476 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6477 (exit $ac_status); } && {
6478 test -z "$ac_c_werror_flag" ||
6479 test ! -s conftest.err
6480 } && test -s conftest$ac_exeext && {
6481 test "$cross_compiling" = yes ||
6482 $as_test_x conftest$ac_exeext
6484 lt_cv_ld_exported_symbols_list=yes
6486 $as_echo "$as_me: failed program was
:" >&5
6487 sed 's/^/| /' conftest.$ac_ext >&5
6489 lt_cv_ld_exported_symbols_list=no
6492 rm -rf conftest.dSYM
6493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6494 conftest$ac_exeext conftest.$ac_ext
6495 LDFLAGS="$save_LDFLAGS"
6498 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6499 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6501 rhapsody* | darwin1.[012])
6502 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6504 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6505 darwin*) # darwin 5.x on
6506 # if running on 10.5 or later, the deployment target defaults
6507 # to the OS version, if on x86, and 10.4, the deployment
6508 # target defaults to 10.4. Don't you love it?
6509 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6510 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6511 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6513 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6515 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6519 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6520 _lt_dar_single_mod='$single_module'
6522 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6523 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6525 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6527 if test "$DSYMUTIL" != ":"; then
6528 _lt_dsymutil='~$DSYMUTIL $lib || :'
6536 ac_cpp='$CPP $CPPFLAGS'
6537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6540 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6541 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6542 # On Suns, sometimes $CPP names a directory.
6543 if test -n "$CPP" && test -d "$CPP"; then
6546 if test -z "$CPP"; then
6547 if test "${ac_cv_prog_CPP+set}" = set; then
6548 $as_echo_n "(cached
) " >&6
6550 # Double quotes because CPP needs to be expanded
6551 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6554 for ac_c_preproc_warn_flag in '' yes
6556 # Use a header file that comes with gcc, so configuring glibc
6557 # with a fresh cross-compiler works.
6558 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6559 # <limits.h> exists even on freestanding compilers.
6560 # On the NeXT, cc -E runs the code through the compiler's parser,
6561 # not just through cpp. "Syntax error
" is here to catch this case.
6562 cat >conftest.$ac_ext <<_ACEOF
6565 cat confdefs.h >>conftest.$ac_ext
6566 cat >>conftest.$ac_ext <<_ACEOF
6567 /* end confdefs.h. */
6569 # include <limits.h>
6571 # include <assert.h>
6575 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6578 *) ac_try_echo=$ac_try;;
6580 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6581 $as_echo "$ac_try_echo") >&5
6582 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6584 grep -v '^ *+' conftest.er1 >conftest.err
6586 cat conftest.err >&5
6587 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6588 (exit $ac_status); } >/dev/null && {
6589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6590 test ! -s conftest.err
6594 $as_echo "$as_me: failed program was
:" >&5
6595 sed 's/^/| /' conftest.$ac_ext >&5
6597 # Broken: fails on valid input.
6601 rm -f conftest.err conftest.$ac_ext
6603 # OK, works on sane cases. Now check whether nonexistent headers
6604 # can be detected and how.
6605 cat >conftest.$ac_ext <<_ACEOF
6608 cat confdefs.h >>conftest.$ac_ext
6609 cat >>conftest.$ac_ext <<_ACEOF
6610 /* end confdefs.h. */
6611 #include <ac_nonexistent.h>
6613 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6616 *) ac_try_echo=$ac_try;;
6618 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6619 $as_echo "$ac_try_echo") >&5
6620 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6622 grep -v '^ *+' conftest.er1 >conftest.err
6624 cat conftest.err >&5
6625 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6626 (exit $ac_status); } >/dev/null && {
6627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6628 test ! -s conftest.err
6630 # Broken: success on invalid input.
6633 $as_echo "$as_me: failed program was
:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6636 # Passes both tests.
6641 rm -f conftest.err conftest.$ac_ext
6644 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6645 rm -f conftest.err conftest.$ac_ext
6646 if $ac_preproc_ok; then
6658 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6659 $as_echo "$CPP" >&6; }
6661 for ac_c_preproc_warn_flag in '' yes
6663 # Use a header file that comes with gcc, so configuring glibc
6664 # with a fresh cross-compiler works.
6665 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6666 # <limits.h> exists even on freestanding compilers.
6667 # On the NeXT, cc -E runs the code through the compiler's parser,
6668 # not just through cpp. "Syntax error
" is here to catch this case.
6669 cat >conftest.$ac_ext <<_ACEOF
6672 cat confdefs.h >>conftest.$ac_ext
6673 cat >>conftest.$ac_ext <<_ACEOF
6674 /* end confdefs.h. */
6676 # include <limits.h>
6678 # include <assert.h>
6682 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6685 *) ac_try_echo=$ac_try;;
6687 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6688 $as_echo "$ac_try_echo") >&5
6689 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6691 grep -v '^ *+' conftest.er1 >conftest.err
6693 cat conftest.err >&5
6694 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6695 (exit $ac_status); } >/dev/null && {
6696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6697 test ! -s conftest.err
6701 $as_echo "$as_me: failed program was
:" >&5
6702 sed 's/^/| /' conftest.$ac_ext >&5
6704 # Broken: fails on valid input.
6708 rm -f conftest.err conftest.$ac_ext
6710 # OK, works on sane cases. Now check whether nonexistent headers
6711 # can be detected and how.
6712 cat >conftest.$ac_ext <<_ACEOF
6715 cat confdefs.h >>conftest.$ac_ext
6716 cat >>conftest.$ac_ext <<_ACEOF
6717 /* end confdefs.h. */
6718 #include <ac_nonexistent.h>
6720 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6723 *) ac_try_echo=$ac_try;;
6725 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6726 $as_echo "$ac_try_echo") >&5
6727 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6729 grep -v '^ *+' conftest.er1 >conftest.err
6731 cat conftest.err >&5
6732 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6733 (exit $ac_status); } >/dev/null && {
6734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6735 test ! -s conftest.err
6737 # Broken: success on invalid input.
6740 $as_echo "$as_me: failed program was
:" >&5
6741 sed 's/^/| /' conftest.$ac_ext >&5
6743 # Passes both tests.
6748 rm -f conftest.err conftest.$ac_ext
6751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6752 rm -f conftest.err conftest.$ac_ext
6753 if $ac_preproc_ok; then
6756 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6758 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6759 See \`config.log' for more details.
" >&5
6760 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6761 See \
`config.log' for more details." >&2;}
6762 { (exit 1); exit 1; }; }; }
6766 ac_cpp='$CPP $CPPFLAGS'
6767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6772 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6773 $as_echo_n "checking for ANSI C header files... " >&6; }
6774 if test "${ac_cv_header_stdc+set}" = set; then
6775 $as_echo_n "(cached) " >&6
6777 cat >conftest.$ac_ext <<_ACEOF
6780 cat confdefs.h >>conftest.$ac_ext
6781 cat >>conftest.$ac_ext <<_ACEOF
6782 /* end confdefs.h. */
6796 rm -f conftest.$ac_objext
6797 if { (ac_try="$ac_compile"
6799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6800 *) ac_try_echo
=$ac_try;;
6802 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6803 $as_echo "$ac_try_echo") >&5
6804 (eval "$ac_compile") 2>conftest.er1
6806 grep -v '^ *+' conftest.er1
>conftest.err
6808 cat conftest.err
>&5
6809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); } && {
6811 test -z "$ac_c_werror_flag" ||
6812 test ! -s conftest.err
6813 } && test -s conftest.
$ac_objext; then
6814 ac_cv_header_stdc
=yes
6816 $as_echo "$as_me: failed program was:" >&5
6817 sed 's/^/| /' conftest.
$ac_ext >&5
6819 ac_cv_header_stdc
=no
6822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6824 if test $ac_cv_header_stdc = yes; then
6825 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6826 cat >conftest.
$ac_ext <<_ACEOF
6829 cat confdefs.h
>>conftest.
$ac_ext
6830 cat >>conftest.
$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6836 $EGREP "memchr" >/dev
/null
2>&1; then
6839 ac_cv_header_stdc
=no
6845 if test $ac_cv_header_stdc = yes; then
6846 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6847 cat >conftest.
$ac_ext <<_ACEOF
6850 cat confdefs.h
>>conftest.
$ac_ext
6851 cat >>conftest.
$ac_ext <<_ACEOF
6852 /* end confdefs.h. */
6856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6857 $EGREP "free" >/dev
/null
2>&1; then
6860 ac_cv_header_stdc
=no
6866 if test $ac_cv_header_stdc = yes; then
6867 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6868 if test "$cross_compiling" = yes; then
6871 cat >conftest.
$ac_ext <<_ACEOF
6874 cat confdefs.h
>>conftest.
$ac_ext
6875 cat >>conftest.
$ac_ext <<_ACEOF
6876 /* end confdefs.h. */
6879 #if ((' ' & 0x0FF) == 0x020)
6880 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6881 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6883 # define ISLOWER(c) \
6884 (('a' <= (c) && (c) <= 'i') \
6885 || ('j' <= (c) && (c) <= 'r') \
6886 || ('s' <= (c) && (c) <= 'z'))
6887 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6890 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6895 for (i = 0; i < 256; i++)
6896 if (XOR (islower (i), ISLOWER (i))
6897 || toupper (i) != TOUPPER (i))
6902 rm -f conftest
$ac_exeext
6903 if { (ac_try
="$ac_link"
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_link") 2>&5
6912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6914 { (case "(($ac_try" in
6915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6916 *) ac_try_echo
=$ac_try;;
6918 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6919 $as_echo "$ac_try_echo") >&5
6920 (eval "$ac_try") 2>&5
6922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); }; }; then
6926 $as_echo "$as_me: program exited with status $ac_status" >&5
6927 $as_echo "$as_me: failed program was:" >&5
6928 sed 's/^/| /' conftest.
$ac_ext >&5
6931 ac_cv_header_stdc
=no
6933 rm -rf conftest.dSYM
6934 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6940 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6941 $as_echo "$ac_cv_header_stdc" >&6; }
6942 if test $ac_cv_header_stdc = yes; then
6944 cat >>confdefs.h
<<\_ACEOF
6945 #define STDC_HEADERS 1
6950 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6960 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6961 inttypes.h stdint.h unistd.h
6963 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6964 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6965 $as_echo_n "checking for $ac_header... " >&6; }
6966 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6967 $as_echo_n "(cached) " >&6
6969 cat >conftest.
$ac_ext <<_ACEOF
6972 cat confdefs.h
>>conftest.
$ac_ext
6973 cat >>conftest.
$ac_ext <<_ACEOF
6974 /* end confdefs.h. */
6975 $ac_includes_default
6977 #include <$ac_header>
6979 rm -f conftest.
$ac_objext
6980 if { (ac_try
="$ac_compile"
6982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6983 *) ac_try_echo=$ac_try;;
6985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6986 $as_echo "$ac_try_echo") >&5
6987 (eval "$ac_compile") 2>conftest.er1
6989 grep -v '^ *+' conftest.er1 >conftest.err
6991 cat conftest.err >&5
6992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); } && {
6994 test -z "$ac_c_werror_flag" ||
6995 test ! -s conftest.err
6996 } && test -s conftest.$ac_objext; then
6997 eval "$as_ac_Header=yes"
6999 $as_echo "$as_me: failed program was:" >&5
7000 sed 's/^/| /' conftest.$ac_ext >&5
7002 eval "$as_ac_Header=no"
7005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7007 ac_res=`eval 'as_val=${'$as_ac_Header'}
7008 $as_echo "$as_val"'`
7009 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7010 $as_echo "$ac_res" >&6; }
7011 as_val=`eval 'as_val=${'$as_ac_Header'}
7012 $as_echo "$as_val"'`
7013 if test "x$as_val" = x""yes; then
7014 cat >>confdefs.h <<_ACEOF
7015 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7024 for ac_header in dlfcn.h
7026 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7027 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7028 $as_echo_n "checking for $ac_header... " >&6; }
7029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7030 $as_echo_n "(cached) " >&6
7032 cat >conftest.$ac_ext <<_ACEOF
7035 cat confdefs.h >>conftest.$ac_ext
7036 cat >>conftest.$ac_ext <<_ACEOF
7037 /* end confdefs.h. */
7038 $ac_includes_default
7040 #include <$ac_header>
7042 rm -f conftest.$ac_objext
7043 if { (ac_try="$ac_compile"
7045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7046 *) ac_try_echo
=$ac_try;;
7048 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7049 $as_echo "$ac_try_echo") >&5
7050 (eval "$ac_compile") 2>conftest.er1
7052 grep -v '^ *+' conftest.er1
>conftest.err
7054 cat conftest.err
>&5
7055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); } && {
7057 test -z "$ac_c_werror_flag" ||
7058 test ! -s conftest.err
7059 } && test -s conftest.
$ac_objext; then
7060 eval "$as_ac_Header=yes"
7062 $as_echo "$as_me: failed program was:" >&5
7063 sed 's/^/| /' conftest.
$ac_ext >&5
7065 eval "$as_ac_Header=no"
7068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7070 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7071 $as_echo "$as_val"'`
7072 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7073 $as_echo "$ac_res" >&6; }
7074 as_val
=`eval 'as_val=${'$as_ac_Header'}
7075 $as_echo "$as_val"'`
7076 if test "x$as_val" = x
""yes; then
7077 cat >>confdefs.h
<<_ACEOF
7078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7097 # Check whether --enable-shared was given.
7098 if test "${enable_shared+set}" = set; then
7099 enableval
=$enable_shared; p
=${PACKAGE-default}
7101 yes) enable_shared
=yes ;;
7102 no
) enable_shared
=no
;;
7105 # Look at the argument we got. We use all the common list separators.
7106 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7107 for pkg
in $enableval; do
7109 if test "X$pkg" = "X$p"; then
7128 # Check whether --enable-static was given.
7129 if test "${enable_static+set}" = set; then
7130 enableval
=$enable_static; p
=${PACKAGE-default}
7132 yes) enable_static
=yes ;;
7133 no
) enable_static
=no
;;
7136 # Look at the argument we got. We use all the common list separators.
7137 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7138 for pkg
in $enableval; do
7140 if test "X$pkg" = "X$p"; then
7160 # Check whether --with-pic was given.
7161 if test "${with_pic+set}" = set; then
7162 withval
=$with_pic; pic_mode
="$withval"
7168 test -z "$pic_mode" && pic_mode
=default
7176 # Check whether --enable-fast-install was given.
7177 if test "${enable_fast_install+set}" = set; then
7178 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7180 yes) enable_fast_install
=yes ;;
7181 no
) enable_fast_install
=no
;;
7183 enable_fast_install
=no
7184 # Look at the argument we got. We use all the common list separators.
7185 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7186 for pkg
in $enableval; do
7188 if test "X$pkg" = "X$p"; then
7189 enable_fast_install
=yes
7196 enable_fast_install
=yes
7209 # This can be used to rebuild libtool when needed
7210 LIBTOOL_DEPS
="$ltmain"
7212 # Always use our own libtool.
7213 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7239 test -z "$LN_S" && LN_S
="ln -s"
7254 if test -n "${ZSH_VERSION+set}" ; then
7255 setopt NO_GLOB_SUBST
7258 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7259 $as_echo_n "checking for objdir... " >&6; }
7260 if test "${lt_cv_objdir+set}" = set; then
7261 $as_echo_n "(cached) " >&6
7263 rm -f .libs
2>/dev
/null
7264 mkdir .libs
2>/dev
/null
7265 if test -d .libs
; then
7268 # MS-DOS does not allow filenames that begin with a dot.
7271 rmdir .libs
2>/dev
/null
7273 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7274 $as_echo "$lt_cv_objdir" >&6; }
7275 objdir
=$lt_cv_objdir
7281 cat >>confdefs.h
<<_ACEOF
7282 #define LT_OBJDIR "$lt_cv_objdir/"
7303 # AIX sometimes has problems with the GCC collect2 program. For some
7304 # reason, if we set the COLLECT_NAMES environment variable, the problems
7305 # vanish in a puff of smoke.
7306 if test "X${COLLECT_NAMES+set}" != Xset
; then
7308 export COLLECT_NAMES
7313 # Sed substitution that helps us do robust quoting. It backslashifies
7314 # metacharacters that are still active within double-quoted strings.
7315 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7317 # Same as above, but do not quote variable references.
7318 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7320 # Sed substitution to delay expansion of an escaped shell variable in a
7321 # double_quote_subst'ed string.
7322 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7324 # Sed substitution to delay expansion of an escaped single quote.
7325 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7327 # Sed substitution to avoid accidental globbing in evaled expressions
7328 no_glob_subst
='s/\*/\\\*/g'
7332 can_build_shared
=yes
7334 # All known linkers require a `.a' archive for static linking (except MSVC,
7335 # which needs '.lib').
7338 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7341 old_CFLAGS
="$CFLAGS"
7343 # Set sane defaults for various variables
7344 test -z "$CC" && CC
=cc
7345 test -z "$LTCC" && LTCC
=$CC
7346 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7347 test -z "$LD" && LD
=ld
7348 test -z "$ac_objext" && ac_objext
=o
7350 for cc_temp
in $compiler""; do
7352 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7353 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7358 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7361 # Only perform the check for file, if the check method requires it
7362 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7363 case $deplibs_check_method in
7365 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7366 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7367 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7368 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7369 $as_echo_n "(cached) " >&6
7373 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7376 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7377 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7378 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7379 for ac_dir
in $ac_dummy; do
7381 test -z "$ac_dir" && ac_dir
=.
7382 if test -f $ac_dir/${ac_tool_prefix}file; then
7383 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7384 if test -n "$file_magic_test_file"; then
7385 case $deplibs_check_method in
7387 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7388 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7389 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7390 $EGREP "$file_magic_regex" > /dev
/null
; then
7395 *** Warning: the command libtool uses to detect shared libraries,
7396 *** $file_magic_cmd, produces output that libtool cannot recognize.
7397 *** The result is that libtool may fail to recognize shared libraries
7398 *** as such. This will affect the creation of libtool libraries that
7399 *** depend on shared libraries, but programs linked with such libtool
7400 *** libraries will work regardless of this problem. Nevertheless, you
7401 *** may want to report the problem to your system manager and/or to
7402 *** bug-libtool@gnu.org
7412 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7417 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7418 if test -n "$MAGIC_CMD"; then
7419 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7420 $as_echo "$MAGIC_CMD" >&6; }
7422 { $as_echo "$as_me:$LINENO: result: no" >&5
7423 $as_echo "no" >&6; }
7430 if test -z "$lt_cv_path_MAGIC_CMD"; then
7431 if test -n "$ac_tool_prefix"; then
7432 { $as_echo "$as_me:$LINENO: checking for file" >&5
7433 $as_echo_n "checking for file... " >&6; }
7434 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7435 $as_echo_n "(cached) " >&6
7439 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7442 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7443 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7444 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7445 for ac_dir
in $ac_dummy; do
7447 test -z "$ac_dir" && ac_dir
=.
7448 if test -f $ac_dir/file; then
7449 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7450 if test -n "$file_magic_test_file"; then
7451 case $deplibs_check_method in
7453 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7454 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7455 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7456 $EGREP "$file_magic_regex" > /dev
/null
; then
7461 *** Warning: the command libtool uses to detect shared libraries,
7462 *** $file_magic_cmd, produces output that libtool cannot recognize.
7463 *** The result is that libtool may fail to recognize shared libraries
7464 *** as such. This will affect the creation of libtool libraries that
7465 *** depend on shared libraries, but programs linked with such libtool
7466 *** libraries will work regardless of this problem. Nevertheless, you
7467 *** may want to report the problem to your system manager and/or to
7468 *** bug-libtool@gnu.org
7478 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7483 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7484 if test -n "$MAGIC_CMD"; then
7485 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7486 $as_echo "$MAGIC_CMD" >&6; }
7488 { $as_echo "$as_me:$LINENO: result: no" >&5
7489 $as_echo "no" >&6; }
7502 # Use C for the default configuration in the libtool script
7506 ac_cpp
='$CPP $CPPFLAGS'
7507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7512 # Source file extension for C test sources.
7515 # Object file extension for compiled C test sources.
7519 # Code to be used in simple compile tests
7520 lt_simple_compile_test_code
="int some_variable = 0;"
7522 # Code to be used in simple link tests
7523 lt_simple_link_test_code
='int main(){return(0);}'
7531 # If no C compiler was specified, use CC.
7534 # If no C compiler flags were specified, use CFLAGS.
7535 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7537 # Allow CC to be a program name with arguments.
7540 # Save the default compiler, since it gets overwritten when the other
7541 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7542 compiler_DEFAULT
=$CC
7544 # save warnings/boilerplate of simple test code
7545 ac_outfile
=conftest.
$ac_objext
7546 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7547 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7548 _lt_compiler_boilerplate
=`cat conftest.err`
7551 ac_outfile
=conftest.
$ac_objext
7552 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7553 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7554 _lt_linker_boilerplate
=`cat conftest.err`
7558 if test -n "$compiler"; then
7560 lt_prog_compiler_no_builtin_flag
=
7562 if test "$GCC" = yes; then
7563 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7565 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7566 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7567 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7568 $as_echo_n "(cached) " >&6
7570 lt_cv_prog_compiler_rtti_exceptions
=no
7571 ac_outfile
=conftest.
$ac_objext
7572 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7573 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7574 # Insert the option either (1) after the last *FLAGS variable, or
7575 # (2) before a word containing "conftest.", or (3) at the end.
7576 # Note that $ac_compile itself does not contain backslashes and begins
7577 # with a dollar sign (not a hyphen), so the echo should work correctly.
7578 # The option is referenced via a variable to avoid confusing sed.
7579 lt_compile
=`echo "$ac_compile" | $SED \
7580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7582 -e 's:$: $lt_compiler_flag:'`
7583 (eval echo "\"\$as_me:7583: $lt_compile\"" >&5)
7584 (eval "$lt_compile" 2>conftest.err
)
7586 cat conftest.err
>&5
7587 echo "$as_me:7587: \$? = $ac_status" >&5
7588 if (exit $ac_status) && test -s "$ac_outfile"; then
7589 # The compiler can only warn and ignore the option if not recognized
7590 # So say no if there are warnings other than the usual output.
7591 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7592 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7593 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7594 lt_cv_prog_compiler_rtti_exceptions
=yes
7600 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7601 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7603 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7604 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7616 lt_prog_compiler_wl
=
7617 lt_prog_compiler_pic
=
7618 lt_prog_compiler_static
=
7620 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7621 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7623 if test "$GCC" = yes; then
7624 lt_prog_compiler_wl
='-Wl,'
7625 lt_prog_compiler_static
='-static'
7629 # All AIX code is PIC.
7630 if test "$host_cpu" = ia64
; then
7631 # AIX 5 now supports IA64 processor
7632 lt_prog_compiler_static
='-Bstatic'
7639 # see comment about AmigaOS4 .so support
7640 lt_prog_compiler_pic
='-fPIC'
7643 # FIXME: we need at least 68020 code to build shared libraries, but
7644 # adding the `-m68020' flag to GCC prevents building anything better,
7646 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7651 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7652 # PIC is the default for these OSes.
7655 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7656 # This hack is so that the source file can tell whether it is being
7657 # built for inclusion in a dll (and should export symbols for example).
7658 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7659 # (--disable-auto-import) libraries
7660 lt_prog_compiler_pic
='-DDLL_EXPORT'
7663 darwin
* | rhapsody
*)
7664 # PIC is the default on this platform
7665 # Common symbols not allowed in MH_DYLIB files
7666 lt_prog_compiler_pic
='-fno-common'
7670 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7671 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7672 # sets the default TLS model and affects inlining.
7678 lt_prog_compiler_pic
='-fPIC'
7684 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7685 # Instead, we relocate shared libraries at runtime.
7689 # Just because we use GCC doesn't mean we suddenly get shared libraries
7690 # on systems that don't support them.
7691 lt_prog_compiler_can_build_shared
=no
7696 # QNX uses GNU C++, but need to define -shared option too, otherwise
7698 lt_prog_compiler_pic
='-fPIC -shared'
7702 if test -d /usr
/nec
; then
7703 lt_prog_compiler_pic
=-Kconform_pic
7708 lt_prog_compiler_pic
='-fPIC'
7712 # PORTME Check for flag to pass linker flags through the system compiler.
7715 lt_prog_compiler_wl
='-Wl,'
7716 if test "$host_cpu" = ia64
; then
7717 # AIX 5 now supports IA64 processor
7718 lt_prog_compiler_static
='-Bstatic'
7720 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7724 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7725 # This hack is so that the source file can tell whether it is being
7726 # built for inclusion in a dll (and should export symbols for example).
7727 lt_prog_compiler_pic
='-DDLL_EXPORT'
7730 hpux9
* | hpux10
* | hpux11
*)
7731 lt_prog_compiler_wl
='-Wl,'
7732 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7739 lt_prog_compiler_pic
='+Z'
7742 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7743 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7746 irix5
* | irix6
* | nonstopux
*)
7747 lt_prog_compiler_wl
='-Wl,'
7748 # PIC (with -KPIC) is the default.
7749 lt_prog_compiler_static
='-non_shared'
7752 linux
* | k
*bsd
*-gnu)
7753 case $cc_basename in
7754 # old Intel for x86_64 which still supported -KPIC.
7756 lt_prog_compiler_wl
='-Wl,'
7757 lt_prog_compiler_pic
='-KPIC'
7758 lt_prog_compiler_static
='-static'
7760 # icc used to be incompatible with GCC.
7761 # ICC 10 doesn't accept -KPIC any more.
7763 lt_prog_compiler_wl
='-Wl,'
7764 lt_prog_compiler_pic
='-fPIC'
7765 lt_prog_compiler_static
='-static'
7767 # Lahey Fortran 8.1.
7769 lt_prog_compiler_wl
='-Wl,'
7770 lt_prog_compiler_pic
='--shared'
7771 lt_prog_compiler_static
='--static'
7773 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7774 # Portland Group compilers (*not* the Pentium gcc compiler,
7775 # which looks to be a dead project)
7776 lt_prog_compiler_wl
='-Wl,'
7777 lt_prog_compiler_pic
='-fpic'
7778 lt_prog_compiler_static
='-Bstatic'
7781 lt_prog_compiler_wl
='-Wl,'
7782 # All Alpha code is PIC.
7783 lt_prog_compiler_static
='-non_shared'
7786 # IBM XL C 8.0/Fortran 10.1 on PPC
7787 lt_prog_compiler_wl
='-Wl,'
7788 lt_prog_compiler_pic
='-qpic'
7789 lt_prog_compiler_static
='-qstaticlink'
7792 case `$CC -V 2>&1 | sed 5q` in
7795 lt_prog_compiler_pic
='-KPIC'
7796 lt_prog_compiler_static
='-Bstatic'
7797 lt_prog_compiler_wl
='-Wl,'
7800 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7801 lt_prog_compiler_pic
='-KPIC'
7802 lt_prog_compiler_static
='-Bstatic'
7803 lt_prog_compiler_wl
=''
7811 lt_prog_compiler_pic
='-KPIC'
7812 lt_prog_compiler_static
='-Bstatic'
7816 # QNX uses GNU C++, but need to define -shared option too, otherwise
7818 lt_prog_compiler_pic
='-fPIC -shared'
7821 osf3
* | osf4
* | osf5
*)
7822 lt_prog_compiler_wl
='-Wl,'
7823 # All OSF/1 code is PIC.
7824 lt_prog_compiler_static
='-non_shared'
7828 lt_prog_compiler_static
='-non_shared'
7832 lt_prog_compiler_pic
='-KPIC'
7833 lt_prog_compiler_static
='-Bstatic'
7834 case $cc_basename in
7836 lt_prog_compiler_wl
='-Qoption ld ';;
7838 lt_prog_compiler_wl
='-Wl,';;
7843 lt_prog_compiler_wl
='-Qoption ld '
7844 lt_prog_compiler_pic
='-PIC'
7845 lt_prog_compiler_static
='-Bstatic'
7848 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7849 lt_prog_compiler_wl
='-Wl,'
7850 lt_prog_compiler_pic
='-KPIC'
7851 lt_prog_compiler_static
='-Bstatic'
7855 if test -d /usr
/nec
;then
7856 lt_prog_compiler_pic
='-Kconform_pic'
7857 lt_prog_compiler_static
='-Bstatic'
7861 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7862 lt_prog_compiler_wl
='-Wl,'
7863 lt_prog_compiler_pic
='-KPIC'
7864 lt_prog_compiler_static
='-Bstatic'
7868 lt_prog_compiler_wl
='-Wl,'
7869 lt_prog_compiler_can_build_shared
=no
7873 lt_prog_compiler_pic
='-pic'
7874 lt_prog_compiler_static
='-Bstatic'
7878 lt_prog_compiler_can_build_shared
=no
7884 # For platforms which do not support PIC, -DPIC is meaningless:
7886 lt_prog_compiler_pic
=
7889 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7892 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7893 $as_echo "$lt_prog_compiler_pic" >&6; }
7901 # Check to make sure the PIC flag actually works.
7903 if test -n "$lt_prog_compiler_pic"; then
7904 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7905 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7906 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7907 $as_echo_n "(cached) " >&6
7909 lt_cv_prog_compiler_pic_works
=no
7910 ac_outfile
=conftest.
$ac_objext
7911 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7912 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7913 # Insert the option either (1) after the last *FLAGS variable, or
7914 # (2) before a word containing "conftest.", or (3) at the end.
7915 # Note that $ac_compile itself does not contain backslashes and begins
7916 # with a dollar sign (not a hyphen), so the echo should work correctly.
7917 # The option is referenced via a variable to avoid confusing sed.
7918 lt_compile
=`echo "$ac_compile" | $SED \
7919 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7920 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7921 -e 's:$: $lt_compiler_flag:'`
7922 (eval echo "\"\$as_me:7922: $lt_compile\"" >&5)
7923 (eval "$lt_compile" 2>conftest.err
)
7925 cat conftest.err
>&5
7926 echo "$as_me:7926: \$? = $ac_status" >&5
7927 if (exit $ac_status) && test -s "$ac_outfile"; then
7928 # The compiler can only warn and ignore the option if not recognized
7929 # So say no if there are warnings other than the usual output.
7930 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7931 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7932 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7933 lt_cv_prog_compiler_pic_works
=yes
7939 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7940 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7942 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7943 case $lt_prog_compiler_pic in
7945 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7948 lt_prog_compiler_pic
=
7949 lt_prog_compiler_can_build_shared
=no
7960 # Check to make sure the static flag actually works.
7962 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7963 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7964 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7965 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7966 $as_echo_n "(cached) " >&6
7968 lt_cv_prog_compiler_static_works
=no
7969 save_LDFLAGS
="$LDFLAGS"
7970 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7971 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7972 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7973 # The linker can only warn and ignore the option if not recognized
7974 # So say no if there are warnings
7975 if test -s conftest.err
; then
7976 # Append any errors to the config.log.
7977 cat conftest.err
1>&5
7978 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7979 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7980 if diff conftest.exp conftest.er2
>/dev
/null
; then
7981 lt_cv_prog_compiler_static_works
=yes
7984 lt_cv_prog_compiler_static_works
=yes
7988 LDFLAGS
="$save_LDFLAGS"
7991 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7992 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7994 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7997 lt_prog_compiler_static
=
8006 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8007 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8008 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8009 $as_echo_n "(cached) " >&6
8011 lt_cv_prog_compiler_c_o
=no
8012 $RM -r conftest
2>/dev
/null
8016 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8018 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8019 # Insert the option either (1) after the last *FLAGS variable, or
8020 # (2) before a word containing "conftest.", or (3) at the end.
8021 # Note that $ac_compile itself does not contain backslashes and begins
8022 # with a dollar sign (not a hyphen), so the echo should work correctly.
8023 lt_compile
=`echo "$ac_compile" | $SED \
8024 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8025 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8026 -e 's:$: $lt_compiler_flag:'`
8027 (eval echo "\"\$as_me:8027: $lt_compile\"" >&5)
8028 (eval "$lt_compile" 2>out
/conftest.err
)
8030 cat out
/conftest.err
>&5
8031 echo "$as_me:8031: \$? = $ac_status" >&5
8032 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8034 # The compiler can only warn and ignore the option if not recognized
8035 # So say no if there are warnings
8036 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8037 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8038 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8039 lt_cv_prog_compiler_c_o
=yes
8044 # SGI C++ compiler will create directory out/ii_files/ for
8045 # template instantiation
8046 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8047 $RM out
/* && rmdir out
8053 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8054 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8061 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8062 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8063 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8064 $as_echo_n "(cached) " >&6
8066 lt_cv_prog_compiler_c_o
=no
8067 $RM -r conftest
2>/dev
/null
8071 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8073 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8074 # Insert the option either (1) after the last *FLAGS variable, or
8075 # (2) before a word containing "conftest.", or (3) at the end.
8076 # Note that $ac_compile itself does not contain backslashes and begins
8077 # with a dollar sign (not a hyphen), so the echo should work correctly.
8078 lt_compile
=`echo "$ac_compile" | $SED \
8079 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8080 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8081 -e 's:$: $lt_compiler_flag:'`
8082 (eval echo "\"\$as_me:8082: $lt_compile\"" >&5)
8083 (eval "$lt_compile" 2>out
/conftest.err
)
8085 cat out
/conftest.err
>&5
8086 echo "$as_me:8086: \$? = $ac_status" >&5
8087 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8089 # The compiler can only warn and ignore the option if not recognized
8090 # So say no if there are warnings
8091 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8092 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8093 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8094 lt_cv_prog_compiler_c_o
=yes
8099 # SGI C++ compiler will create directory out/ii_files/ for
8100 # template instantiation
8101 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8102 $RM out
/* && rmdir out
8108 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8109 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8114 hard_links
="nottested"
8115 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8116 # do not overwrite the value of need_locks provided by the user
8117 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8118 $as_echo_n "checking if we can lock with hard links... " >&6; }
8121 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8123 ln conftest.a conftest.b
2>&5 || hard_links
=no
8124 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8125 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8126 $as_echo "$hard_links" >&6; }
8127 if test "$hard_links" = no
; then
8128 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8129 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8141 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8142 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8145 allow_undefined_flag
=
8146 always_export_symbols
=no
8148 archive_expsym_cmds
=
8149 compiler_needs_object
=no
8150 enable_shared_with_static_runtimes
=no
8151 export_dynamic_flag_spec
=
8152 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8153 hardcode_automatic
=no
8155 hardcode_direct_absolute
=no
8156 hardcode_libdir_flag_spec
=
8157 hardcode_libdir_flag_spec_ld
=
8158 hardcode_libdir_separator
=
8160 hardcode_shlibpath_var
=unsupported
8162 link_all_deplibs
=unknown
8165 old_archive_from_new_cmds
=
8166 old_archive_from_expsyms_cmds
=
8167 thread_safe_flag_spec
=
8168 whole_archive_flag_spec
=
8169 # include_expsyms should be a list of space-separated symbols to be *always*
8170 # included in the symbol list
8172 # exclude_expsyms can be an extended regexp of symbols to exclude
8173 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8174 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8175 # as well as any symbol that contains `d'.
8176 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8177 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8178 # platforms (ab)use it in PIC code, but their linkers get confused if
8179 # the symbol is explicitly referenced. Since portable code cannot
8180 # rely on this symbol name, it's probably fine to never include it in
8181 # preloaded symbol tables.
8182 # Exclude shared library initialization/finalization symbols.
8183 extract_expsyms_cmds
=
8186 cygwin
* | mingw
* | pw32
* | cegcc
*)
8187 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8188 # When not using gcc, we currently assume that we are using
8189 # Microsoft Visual C++.
8190 if test "$GCC" != yes; then
8195 # we just hope/assume this is gcc and not c89 (= MSVC++)
8204 if test "$with_gnu_ld" = yes; then
8205 # If archive_cmds runs LD, not CC, wlarc should be empty
8208 # Set some defaults for GNU ld with shared library support. These
8209 # are reset later if shared libraries are not supported. Putting them
8210 # here allows them to be overridden if necessary.
8211 runpath_var
=LD_RUN_PATH
8212 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8213 export_dynamic_flag_spec
='${wl}--export-dynamic'
8214 # ancient GNU ld didn't support --whole-archive et. al.
8215 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8216 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8218 whole_archive_flag_spec
=
8220 supports_anon_versioning
=no
8221 case `$LD -v 2>&1` in
8222 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8223 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8224 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8225 *\
2.11.
*) ;; # other 2.11 versions
8226 *) supports_anon_versioning
=yes ;;
8229 # See if GNU ld supports shared libraries.
8232 # On AIX/PPC, the GNU linker is very broken
8233 if test "$host_cpu" != ia64
; then
8237 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8238 *** to be unable to reliably create shared libraries on AIX.
8239 *** Therefore, libtool is disabling shared libraries support. If you
8240 *** really care for shared libraries, you may want to modify your PATH
8241 *** so that a non-GNU linker is found, and then restart.
8250 # see comment about AmigaOS4 .so support
8251 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8252 archive_expsym_cmds
=''
8255 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)'
8256 hardcode_libdir_flag_spec
='-L$libdir'
8257 hardcode_minus_L
=yes
8263 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8264 allow_undefined_flag
=unsupported
8265 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8266 # support --undefined. This deserves some investigation. FIXME
8267 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8273 cygwin
* | mingw
* | pw32
* | cegcc
*)
8274 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8275 # as there is no search path for DLLs.
8276 hardcode_libdir_flag_spec
='-L$libdir'
8277 allow_undefined_flag
=unsupported
8278 always_export_symbols
=no
8279 enable_shared_with_static_runtimes
=yes
8280 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8282 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8283 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8284 # If the export-symbols file already is a .def file (1st line
8285 # is EXPORTS), use it as is; otherwise, prepend...
8286 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8287 cp $export_symbols $output_objdir/$soname.def;
8289 echo EXPORTS > $output_objdir/$soname.def;
8290 cat $export_symbols >> $output_objdir/$soname.def;
8292 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8300 hardcode_shlibpath_var
=no
8301 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8302 export_dynamic_flag_spec
='${wl}-E'
8303 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8304 # Instead, shared libraries are loaded at an image base (0x10000000 by
8305 # default) and relocated if they conflict, which is a slow very memory
8306 # consuming and fragmenting process. To avoid this, we pick a random,
8307 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8308 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8309 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8310 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'
8313 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8315 if test "$host_os" = linux-dietlibc
; then
8316 case $cc_basename in
8317 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8320 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8321 && test "$tmp_diet" = no
8324 tmp_sharedflag
='-shared'
8325 case $cc_basename,$host_cpu in
8326 pgcc
*) # Portland Group C compiler
8327 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'
8328 tmp_addflag
=' $pic_flag'
8330 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8331 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'
8332 tmp_addflag
=' $pic_flag -Mnomain' ;;
8333 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8334 tmp_addflag
=' -i_dynamic' ;;
8335 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8336 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8337 ifc
* | ifort
*) # Intel Fortran compiler
8338 tmp_addflag
=' -nofor_main' ;;
8339 lf95
*) # Lahey Fortran 8.1
8340 whole_archive_flag_spec
=
8341 tmp_sharedflag
='--shared' ;;
8342 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8343 tmp_sharedflag
='-qmkshrobj'
8346 case `$CC -V 2>&1 | sed 5q` in
8347 *Sun\ C
*) # Sun C 5.9
8348 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'
8349 compiler_needs_object
=yes
8350 tmp_sharedflag
='-G' ;;
8351 *Sun\ F
*) # Sun Fortran 8.3
8352 tmp_sharedflag
='-G' ;;
8354 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8356 if test "x$supports_anon_versioning" = xyes
; then
8357 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8358 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8359 echo "local: *; };" >> $output_objdir/$libname.ver~
8360 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8363 case $cc_basename in
8365 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8366 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8367 hardcode_libdir_flag_spec
=
8368 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8369 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8370 if test "x$supports_anon_versioning" = xyes
; then
8371 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8372 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8373 echo "local: *; };" >> $output_objdir/$libname.ver~
8374 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8384 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8385 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8388 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8389 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8394 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8398 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8399 *** create shared libraries on Solaris systems. Therefore, libtool
8400 *** is disabling shared libraries support. We urge you to upgrade GNU
8401 *** binutils to release 2.9.1 or newer. Another option is to modify
8402 *** your PATH or compiler configuration so that the native linker is
8403 *** used, and then restart.
8406 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8407 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8408 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8414 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8415 case `$LD -v 2>&1` in
8416 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8420 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8421 *** reliably create shared libraries on SCO systems. Therefore, libtool
8422 *** is disabling shared libraries support. We urge you to upgrade GNU
8423 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8424 *** your PATH or compiler configuration so that the native linker is
8425 *** used, and then restart.
8430 # For security reasons, it is highly recommended that you always
8431 # use absolute paths for naming shared libraries, and exclude the
8432 # DT_RUNPATH tag from executables and libraries. But doing so
8433 # requires that you compile everything twice, which is a pain.
8434 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8435 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8436 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8437 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8446 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8449 hardcode_shlibpath_var
=no
8453 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8454 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8455 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8462 if test "$ld_shlibs" = no
; then
8464 hardcode_libdir_flag_spec
=
8465 export_dynamic_flag_spec
=
8466 whole_archive_flag_spec
=
8469 # PORTME fill in a description of your system's linker (not GNU ld)
8472 allow_undefined_flag
=unsupported
8473 always_export_symbols
=yes
8474 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'
8475 # Note: this linker hardcodes the directories in LIBPATH if there
8476 # are no directories specified by -L.
8477 hardcode_minus_L
=yes
8478 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8479 # Neither direct hardcoding nor static linking is supported with a
8481 hardcode_direct
=unsupported
8486 if test "$host_cpu" = ia64
; then
8487 # On IA64, the linker does run time linking by default, so we don't
8488 # have to do anything special.
8489 aix_use_runtimelinking
=no
8490 exp_sym_flag
='-Bexport'
8493 # If we're using GNU nm, then we don't want the "-C" option.
8494 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8495 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8496 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'
8498 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'
8500 aix_use_runtimelinking
=no
8502 # Test if we are trying to use run time linking or normal
8503 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8504 # need to do runtime linking.
8505 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8506 for ld_flag
in $LDFLAGS; do
8507 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8508 aix_use_runtimelinking
=yes
8515 exp_sym_flag
='-bexport'
8516 no_entry_flag
='-bnoentry'
8519 # When large executables or shared objects are built, AIX ld can
8520 # have problems creating the table of contents. If linking a library
8521 # or program results in "error TOC overflow" add -mminimal-toc to
8522 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8523 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8527 hardcode_direct_absolute
=yes
8528 hardcode_libdir_separator
=':'
8529 link_all_deplibs
=yes
8530 file_list_spec
='${wl}-f,'
8532 if test "$GCC" = yes; then
8533 case $host_os in aix4.
[012]|aix4.
[012].
*)
8534 # We only want to do this on AIX 4.2 and lower, the check
8535 # below for broken collect2 doesn't work under 4.3+
8536 collect2name
=`${CC} -print-prog-name=collect2`
8537 if test -f "$collect2name" &&
8538 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8540 # We have reworked collect2
8543 # We have old collect2
8544 hardcode_direct
=unsupported
8545 # It fails to find uninstalled libraries when the uninstalled
8546 # path is not listed in the libpath. Setting hardcode_minus_L
8547 # to unsupported forces relinking
8548 hardcode_minus_L
=yes
8549 hardcode_libdir_flag_spec
='-L$libdir'
8550 hardcode_libdir_separator
=
8554 shared_flag
='-shared'
8555 if test "$aix_use_runtimelinking" = yes; then
8556 shared_flag
="$shared_flag "'${wl}-G'
8560 if test "$host_cpu" = ia64
; then
8561 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8562 # chokes on -Wl,-G. The following line is correct:
8565 if test "$aix_use_runtimelinking" = yes; then
8566 shared_flag
='${wl}-G'
8568 shared_flag
='${wl}-bM:SRE'
8573 export_dynamic_flag_spec
='${wl}-bexpall'
8574 # It seems that -bexpall does not export symbols beginning with
8575 # underscore (_), so it is better to generate a list of symbols to export.
8576 always_export_symbols
=yes
8577 if test "$aix_use_runtimelinking" = yes; then
8578 # Warning - without using the other runtime loading flags (-brtl),
8579 # -berok will link without error, but may produce a broken library.
8580 allow_undefined_flag
='-berok'
8581 # Determine the default libpath from the value encoded in an
8583 cat >conftest.
$ac_ext <<_ACEOF
8586 cat confdefs.h
>>conftest.
$ac_ext
8587 cat >>conftest.
$ac_ext <<_ACEOF
8588 /* end confdefs.h. */
8598 rm -f conftest.
$ac_objext conftest
$ac_exeext
8599 if { (ac_try
="$ac_link"
8601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8602 *) ac_try_echo=$ac_try;;
8604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8605 $as_echo "$ac_try_echo") >&5
8606 (eval "$ac_link") 2>conftest.er1
8608 grep -v '^ *+' conftest.er1 >conftest.err
8610 cat conftest.err >&5
8611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); } && {
8613 test -z "$ac_c_werror_flag" ||
8614 test ! -s conftest.err
8615 } && test -s conftest$ac_exeext && {
8616 test "$cross_compiling" = yes ||
8617 $as_test_x conftest$ac_exeext
8620 lt_aix_libpath_sed='
8621 /Import File Strings/,/^$/ {
8627 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8628 # Check for a 64-bit object if we didn't find anything.
8629 if test -z "$aix_libpath"; then
8630 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8633 $as_echo "$as_me: failed program was:" >&5
8634 sed 's/^/| /' conftest.$ac_ext >&5
8639 rm -rf conftest.dSYM
8640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8641 conftest$ac_exeext conftest.$ac_ext
8642 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8644 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8645 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"
8647 if test "$host_cpu" = ia64; then
8648 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8649 allow_undefined_flag="-z nodefs"
8650 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"
8652 # Determine the default libpath from the value encoded in an
8654 cat >conftest.$ac_ext <<_ACEOF
8657 cat confdefs.h >>conftest.$ac_ext
8658 cat >>conftest.$ac_ext <<_ACEOF
8659 /* end confdefs.h. */
8669 rm -f conftest.$ac_objext conftest$ac_exeext
8670 if { (ac_try="$ac_link"
8672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8673 *) ac_try_echo
=$ac_try;;
8675 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8676 $as_echo "$ac_try_echo") >&5
8677 (eval "$ac_link") 2>conftest.er1
8679 grep -v '^ *+' conftest.er1
>conftest.err
8681 cat conftest.err
>&5
8682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683 (exit $ac_status); } && {
8684 test -z "$ac_c_werror_flag" ||
8685 test ! -s conftest.err
8686 } && test -s conftest
$ac_exeext && {
8687 test "$cross_compiling" = yes ||
8688 $as_test_x conftest
$ac_exeext
8691 lt_aix_libpath_sed
='
8692 /Import File Strings/,/^$/ {
8698 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8699 # Check for a 64-bit object if we didn't find anything.
8700 if test -z "$aix_libpath"; then
8701 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8704 $as_echo "$as_me: failed program was:" >&5
8705 sed 's/^/| /' conftest.
$ac_ext >&5
8710 rm -rf conftest.dSYM
8711 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8712 conftest
$ac_exeext conftest.
$ac_ext
8713 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8715 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8716 # Warning - without using the other run time loading flags,
8717 # -berok will link without error, but may produce a broken library.
8718 no_undefined_flag
=' ${wl}-bernotok'
8719 allow_undefined_flag
=' ${wl}-berok'
8720 # Exported symbols can be pulled into shared objects from archives
8721 whole_archive_flag_spec
='$convenience'
8722 archive_cmds_need_lc
=yes
8723 # This is similar to how AIX traditionally builds its shared libraries.
8724 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'
8732 # see comment about AmigaOS4 .so support
8733 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8734 archive_expsym_cmds
=''
8737 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)'
8738 hardcode_libdir_flag_spec
='-L$libdir'
8739 hardcode_minus_L
=yes
8745 export_dynamic_flag_spec
=-rdynamic
8748 cygwin
* | mingw
* | pw32
* | cegcc
*)
8749 # When not using gcc, we currently assume that we are using
8750 # Microsoft Visual C++.
8751 # hardcode_libdir_flag_spec is actually meaningless, as there is
8752 # no search path for DLLs.
8753 hardcode_libdir_flag_spec
=' '
8754 allow_undefined_flag
=unsupported
8755 # Tell ltmain to make .lib files, not .a files.
8757 # Tell ltmain to make .dll files, not .so files.
8759 # FIXME: Setting linknames here is a bad hack.
8760 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8761 # The linker will automatically build a .lib file if we build a DLL.
8762 old_archive_from_new_cmds
='true'
8763 # FIXME: Should let the user specify the lib program.
8764 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8765 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8766 enable_shared_with_static_runtimes
=yes
8769 darwin
* | rhapsody
*)
8772 archive_cmds_need_lc
=no
8774 hardcode_automatic
=yes
8775 hardcode_shlibpath_var
=unsupported
8776 whole_archive_flag_spec
=''
8777 link_all_deplibs
=yes
8778 allow_undefined_flag
="$_lt_dar_allow_undefined"
8779 case $cc_basename in
8780 ifort
*) _lt_dar_can_shared
=yes ;;
8781 *) _lt_dar_can_shared
=$GCC ;;
8783 if test "$_lt_dar_can_shared" = "yes"; then
8784 output_verbose_link_cmd
=echo
8785 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8786 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8787 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}"
8788 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}"
8797 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8798 hardcode_libdir_flag_spec
='-L$libdir'
8799 hardcode_shlibpath_var
=no
8806 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8807 # support. Future versions do this automatically, but an explicit c++rt0.o
8808 # does not break anything, and helps significantly (at the cost of a little
8811 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8812 hardcode_libdir_flag_spec
='-R$libdir'
8814 hardcode_shlibpath_var
=no
8817 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8819 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8821 hardcode_minus_L
=yes
8822 hardcode_shlibpath_var
=no
8825 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8826 freebsd
* | dragonfly
*)
8827 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8828 hardcode_libdir_flag_spec
='-R$libdir'
8830 hardcode_shlibpath_var
=no
8834 if test "$GCC" = yes; then
8835 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'
8837 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'
8839 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8840 hardcode_libdir_separator
=:
8843 # hardcode_minus_L: Not really in the search PATH,
8844 # but as the default location of the library.
8845 hardcode_minus_L
=yes
8846 export_dynamic_flag_spec
='${wl}-E'
8850 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8851 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8853 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8855 if test "$with_gnu_ld" = no
; then
8856 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8857 hardcode_libdir_flag_spec_ld
='+b $libdir'
8858 hardcode_libdir_separator
=:
8860 hardcode_direct_absolute
=yes
8861 export_dynamic_flag_spec
='${wl}-E'
8862 # hardcode_minus_L: Not really in the search PATH,
8863 # but as the default location of the library.
8864 hardcode_minus_L
=yes
8869 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8872 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8875 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8878 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8884 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8887 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8890 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8894 if test "$with_gnu_ld" = no
; then
8895 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8896 hardcode_libdir_separator
=:
8901 hardcode_shlibpath_var
=no
8905 hardcode_direct_absolute
=yes
8906 export_dynamic_flag_spec
='${wl}-E'
8908 # hardcode_minus_L: Not really in the search PATH,
8909 # but as the default location of the library.
8910 hardcode_minus_L
=yes
8916 irix5
* | irix6
* | nonstopux
*)
8917 if test "$GCC" = yes; then
8918 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'
8919 # Try to use the -exported_symbol ld option, if it does not
8920 # work, assume that -exports_file does not work either and
8921 # implicitly export all symbols.
8922 save_LDFLAGS
="$LDFLAGS"
8923 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8924 cat >conftest.
$ac_ext <<_ACEOF
8927 rm -f conftest.
$ac_objext conftest
$ac_exeext
8928 if { (ac_try
="$ac_link"
8930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8931 *) ac_try_echo=$ac_try;;
8933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8934 $as_echo "$ac_try_echo") >&5
8935 (eval "$ac_link") 2>conftest.er1
8937 grep -v '^ *+' conftest.er1 >conftest.err
8939 cat conftest.err >&5
8940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); } && {
8942 test -z "$ac_c_werror_flag" ||
8943 test ! -s conftest.err
8944 } && test -s conftest$ac_exeext && {
8945 test "$cross_compiling" = yes ||
8946 $as_test_x conftest$ac_exeext
8948 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'
8951 $as_echo "$as_me: failed program was:" >&5
8952 sed 's/^/| /' conftest.$ac_ext >&5
8957 rm -rf conftest.dSYM
8958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8959 conftest$ac_exeext conftest.$ac_ext
8960 LDFLAGS="$save_LDFLAGS"
8962 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'
8963 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'
8965 archive_cmds_need_lc='no'
8966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8967 hardcode_libdir_separator=:
8969 link_all_deplibs=yes
8973 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8974 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8976 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8978 hardcode_libdir_flag_spec='-R$libdir'
8980 hardcode_shlibpath_var=no
8984 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8986 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8987 hardcode_libdir_separator=:
8988 hardcode_shlibpath_var=no
8995 if test -f /usr/libexec/ld.so; then
8997 hardcode_shlibpath_var=no
8998 hardcode_direct_absolute=yes
8999 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9000 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9001 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9002 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9003 export_dynamic_flag_spec='${wl}-E'
9006 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9007 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9008 hardcode_libdir_flag_spec='-R$libdir'
9011 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9012 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9022 hardcode_libdir_flag_spec='-L$libdir'
9023 hardcode_minus_L=yes
9024 allow_undefined_flag=unsupported
9025 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'
9026 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9030 if test "$GCC" = yes; then
9031 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9032 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'
9034 allow_undefined_flag=' -expect_unresolved \*'
9035 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'
9037 archive_cmds_need_lc='no'
9038 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9039 hardcode_libdir_separator=:
9042 osf4* | osf5*) # as osf3* with the addition of -msym flag
9043 if test "$GCC" = yes; then
9044 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9045 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'
9046 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9048 allow_undefined_flag=' -expect_unresolved \*'
9049 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'
9050 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~
9051 $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'
9053 # Both c and cxx compiler support -rpath directly
9054 hardcode_libdir_flag_spec='-rpath $libdir'
9056 archive_cmds_need_lc='no'
9057 hardcode_libdir_separator=:
9061 no_undefined_flag=' -z defs'
9062 if test "$GCC" = yes; then
9064 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9065 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9066 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9068 case `$CC -V 2>&1` in
9071 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9072 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9073 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9077 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9078 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9079 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9083 hardcode_libdir_flag_spec='-R$libdir'
9084 hardcode_shlibpath_var=no
9086 solaris2.[0-5] | solaris2.[0-5].*) ;;
9088 # The compiler driver will combine and reorder linker options,
9089 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9090 # but is careful enough not to reorder.
9091 # Supported since Solaris 2.6 (maybe 2.5.1?)
9092 if test "$GCC" = yes; then
9093 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9095 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9099 link_all_deplibs
=yes
9103 if test "x$host_vendor" = xsequent
; then
9104 # Use $CC to link under sequent, because it throws in some extra .o
9105 # files that make .init and .fini sections work.
9106 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9108 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9110 hardcode_libdir_flag_spec
='-L$libdir'
9112 hardcode_minus_L
=yes
9113 hardcode_shlibpath_var
=no
9117 case $host_vendor in
9119 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9120 hardcode_direct
=yes # is this really true???
9123 ## LD is ld it makes a PLAMLIB
9124 ## CC just makes a GrossModule.
9125 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9126 reload_cmds
='$CC -r -o $output$reload_objs'
9130 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9131 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9134 runpath_var
='LD_RUN_PATH'
9135 hardcode_shlibpath_var
=no
9139 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9140 hardcode_shlibpath_var
=no
9141 export_dynamic_flag_spec
='-Bexport'
9145 if test -d /usr
/nec
; then
9146 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9147 hardcode_shlibpath_var
=no
9148 runpath_var
=LD_RUN_PATH
9149 hardcode_runpath_var
=yes
9154 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9155 no_undefined_flag
='${wl}-z,text'
9156 archive_cmds_need_lc
=no
9157 hardcode_shlibpath_var
=no
9158 runpath_var
='LD_RUN_PATH'
9160 if test "$GCC" = yes; then
9161 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9162 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9164 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9165 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9169 sysv5
* | sco3.2v5
* | sco5v6
*)
9170 # Note: We can NOT use -z defs as we might desire, because we do not
9171 # link with -lc, and that would cause any symbols used from libc to
9172 # always be unresolved, which means just about no library would
9173 # ever link correctly. If we're not using GNU ld we use -z text
9174 # though, which does catch some bad symbols but isn't as heavy-handed
9176 no_undefined_flag
='${wl}-z,text'
9177 allow_undefined_flag
='${wl}-z,nodefs'
9178 archive_cmds_need_lc
=no
9179 hardcode_shlibpath_var
=no
9180 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9181 hardcode_libdir_separator
=':'
9182 link_all_deplibs
=yes
9183 export_dynamic_flag_spec
='${wl}-Bexport'
9184 runpath_var
='LD_RUN_PATH'
9186 if test "$GCC" = yes; then
9187 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9188 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9190 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9191 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9196 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9197 hardcode_libdir_flag_spec
='-L$libdir'
9198 hardcode_shlibpath_var
=no
9206 if test x
$host_vendor = xsni
; then
9208 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9209 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9215 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9216 $as_echo "$ld_shlibs" >&6; }
9217 test "$ld_shlibs" = no
&& can_build_shared
=no
9219 with_gnu_ld
=$with_gnu_ld
9236 # Do we need to explicitly link libc?
9238 case "x$archive_cmds_need_lc" in
9240 # Assume -lc should be added
9241 archive_cmds_need_lc
=yes
9243 if test "$enable_shared" = yes && test "$GCC" = yes; then
9244 case $archive_cmds in
9246 # FIXME: we may have to deal with multi-command sequences.
9249 # Test whether the compiler implicitly links with -lc since on some
9250 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9251 # to ld, don't add -lc before -lgcc.
9252 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9253 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9255 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9258 (eval $ac_compile) 2>&5
9260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); } 2>conftest.err
; then
9264 libobjs
=conftest.
$ac_objext
9266 wl
=$lt_prog_compiler_wl
9267 pic_flag
=$lt_prog_compiler_pic
9273 lt_save_allow_undefined_flag
=$allow_undefined_flag
9274 allow_undefined_flag
=
9275 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9276 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279 (exit $ac_status); }
9281 archive_cmds_need_lc
=no
9283 archive_cmds_need_lc
=yes
9285 allow_undefined_flag
=$lt_save_allow_undefined_flag
9287 cat conftest.err
1>&5
9290 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9291 $as_echo "$archive_cmds_need_lc" >&6; }
9454 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9455 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9457 if test "$GCC" = yes; then
9459 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9460 *) lt_awk_arg
="/^libraries:/" ;;
9462 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9463 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9464 # if the path contains ";" then we assume it to be the separator
9465 # otherwise default to the standard path separator (i.e. ":") - it is
9466 # assumed that no part of a normal pathname contains ";" but that should
9467 # okay in the real world where ";" in dirpaths is itself problematic.
9468 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9470 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9472 # Ok, now we have the path, separated by spaces, we can step through it
9473 # and add multilib dir if necessary.
9474 lt_tmp_lt_search_path_spec
=
9475 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9476 for lt_sys_path
in $lt_search_path_spec; do
9477 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9478 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9480 test -d "$lt_sys_path" && \
9481 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9484 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9485 BEGIN {RS=" "; FS="/|\n";} {
9488 for (lt_i = NF; lt_i > 0; lt_i--) {
9489 if ($lt_i != "" && $lt_i != ".") {
9490 if ($lt_i == "..") {
9493 if (lt_count == 0) {
9494 lt_foo="/" $lt_i lt_foo;
9501 if (lt_foo != "") { lt_freq[lt_foo]++; }
9502 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9504 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9506 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9509 libname_spec
='lib$name'
9517 shlibpath_overrides_runpath
=unknown
9519 dynamic_linker
="$host_os ld.so"
9520 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9521 need_lib_prefix
=unknown
9522 hardcode_into_libs
=no
9524 # when you set need_version to no, make sure it does not cause -set_version
9525 # flags to be left without arguments
9526 need_version
=unknown
9531 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9532 shlibpath_var
=LIBPATH
9534 # AIX 3 has no versioning support, so we append a major version to the name.
9535 soname_spec
='${libname}${release}${shared_ext}$major'
9542 hardcode_into_libs
=yes
9543 if test "$host_cpu" = ia64
; then
9544 # AIX 5 supports IA64
9545 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9546 shlibpath_var
=LD_LIBRARY_PATH
9548 # With GCC up to 2.95.x, collect2 would create an import file
9549 # for dependence libraries. The import file would start with
9550 # the line `#! .'. This would cause the generated library to
9551 # depend on `.', always an invalid library. This was fixed in
9552 # development snapshots of GCC prior to 3.0.
9554 aix4 | aix4.
[01] | aix4.
[01].
*)
9555 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9557 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9564 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9565 # soname into executable. Probably we can add versioning support to
9566 # collect2, so additional links can be useful in future.
9567 if test "$aix_use_runtimelinking" = yes; then
9568 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9569 # instead of lib<name>.a to let people know that these are not
9570 # typical AIX shared libraries.
9571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9573 # We preserve .a as extension for shared libraries through AIX4.2
9574 # and later when we are not doing run time linking.
9575 library_names_spec
='${libname}${release}.a $libname.a'
9576 soname_spec
='${libname}${release}${shared_ext}$major'
9578 shlibpath_var
=LIBPATH
9585 # Since July 2007 AmigaOS4 officially supports .so libraries.
9586 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9590 library_names_spec
='$libname.ixlibrary $libname.a'
9591 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9592 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'
9598 library_names_spec
='${libname}${shared_ext}'
9599 dynamic_linker
="$host_os ld.so"
9600 shlibpath_var
=LIBRARY_PATH
9606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9607 soname_spec
='${libname}${release}${shared_ext}$major'
9608 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9609 shlibpath_var
=LD_LIBRARY_PATH
9610 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9611 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9612 # the default ld.so.conf also contains /usr/contrib/lib and
9613 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9614 # libtool to hard-code these into programs
9617 cygwin
* | mingw
* | pw32
* | cegcc
*)
9618 version_type
=windows
9623 case $GCC,$host_os in
9624 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9625 library_names_spec
='$libname.dll.a'
9626 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9627 postinstall_cmds
='base_file=`basename \${file}`~
9628 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9629 dldir=$destdir/`dirname \$dlpath`~
9630 test -d \$dldir || mkdir -p \$dldir~
9631 $install_prog $dir/$dlname \$dldir/$dlname~
9632 chmod a+x \$dldir/$dlname~
9633 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9634 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9636 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9637 dlpath=$dir/\$dldll~
9639 shlibpath_overrides_runpath
=yes
9643 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9644 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9645 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9648 # MinGW DLLs use traditional 'lib' prefix
9649 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9650 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9651 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9652 # It is most probably a Windows format PATH printed by
9653 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9654 # path with ; separators, and with drive letters. We can handle the
9655 # drive letters (cygwin fileutils understands them), so leave them,
9656 # especially as we might pass files found there to a mingw objdump,
9657 # which wouldn't understand a cygwinified path. Ahh.
9658 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9660 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9664 # pw32 DLLs use 'pw' prefix rather than 'lib'
9665 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9671 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9674 dynamic_linker
='Win32 ld.exe'
9675 # FIXME: first we should search . and the directory the executable is in
9679 darwin
* | rhapsody
*)
9680 dynamic_linker
="$host_os dyld"
9684 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9685 soname_spec
='${libname}${release}${major}$shared_ext'
9686 shlibpath_overrides_runpath
=yes
9687 shlibpath_var
=DYLD_LIBRARY_PATH
9688 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9690 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9691 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9699 soname_spec
='${libname}${release}${shared_ext}$major'
9700 shlibpath_var
=LD_LIBRARY_PATH
9707 freebsd
* | dragonfly
*)
9708 # DragonFly does not have aout. When/if they implement a new
9709 # versioning mechanism, adjust this.
9710 if test -x /usr
/bin
/objformat
; then
9711 objformat
=`/usr/bin/objformat`
9714 freebsd
[123]*) objformat
=aout
;;
9718 version_type
=freebsd-
$objformat
9719 case $version_type in
9721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9726 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9730 shlibpath_var
=LD_LIBRARY_PATH
9733 shlibpath_overrides_runpath
=yes
9735 freebsd3.
[01]* | freebsdelf3.
[01]*)
9736 shlibpath_overrides_runpath
=yes
9737 hardcode_into_libs
=yes
9739 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9740 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9741 shlibpath_overrides_runpath
=no
9742 hardcode_into_libs
=yes
9744 *) # from 4.6 on, and DragonFly
9745 shlibpath_overrides_runpath
=yes
9746 hardcode_into_libs
=yes
9755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9756 soname_spec
='${libname}${release}${shared_ext}$major'
9757 shlibpath_var
=LD_LIBRARY_PATH
9758 hardcode_into_libs
=yes
9761 hpux9
* | hpux10
* | hpux11
*)
9762 # Give a soname corresponding to the major version so that dld.sl refuses to
9763 # link against other versions.
9770 hardcode_into_libs
=yes
9771 dynamic_linker
="$host_os dld.so"
9772 shlibpath_var
=LD_LIBRARY_PATH
9773 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9775 soname_spec
='${libname}${release}${shared_ext}$major'
9776 if test "X$HPUX_IA64_MODE" = X32
; then
9777 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9779 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9781 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9785 hardcode_into_libs
=yes
9786 dynamic_linker
="$host_os dld.sl"
9787 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9788 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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'
9791 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9792 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9796 dynamic_linker
="$host_os dld.sl"
9797 shlibpath_var
=SHLIB_PATH
9798 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9800 soname_spec
='${libname}${release}${shared_ext}$major'
9803 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9804 postinstall_cmds
='chmod 555 $lib'
9811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9812 soname_spec
='${libname}${release}${shared_ext}$major'
9813 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9814 shlibpath_var
=LD_LIBRARY_PATH
9815 shlibpath_overrides_runpath
=no
9816 hardcode_into_libs
=yes
9819 irix5
* | irix6
* | nonstopux
*)
9821 nonstopux
*) version_type
=nonstopux
;;
9823 if test "$lt_cv_prog_gnu_ld" = yes; then
9831 soname_spec
='${libname}${release}${shared_ext}$major'
9832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9834 irix5
* | nonstopux
*)
9838 case $LD in # libtool.m4 will add one of these switches to LD
9839 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9840 libsuff
= shlibsuff
= libmagic
=32-bit;;
9841 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9842 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9843 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9844 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9845 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9849 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9850 shlibpath_overrides_runpath
=no
9851 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9852 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9853 hardcode_into_libs
=yes
9856 # No shared lib support for Linux oldld, aout, or coff.
9857 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9861 # This must be Linux ELF.
9862 linux
* | k
*bsd
*-gnu)
9866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9867 soname_spec
='${libname}${release}${shared_ext}$major'
9868 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9869 shlibpath_var
=LD_LIBRARY_PATH
9870 shlibpath_overrides_runpath
=no
9871 # Some binutils ld are patched to set DT_RUNPATH
9872 save_LDFLAGS
=$LDFLAGS
9874 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9875 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9876 cat >conftest.
$ac_ext <<_ACEOF
9879 cat confdefs.h
>>conftest.
$ac_ext
9880 cat >>conftest.
$ac_ext <<_ACEOF
9881 /* end confdefs.h. */
9891 rm -f conftest.
$ac_objext conftest
$ac_exeext
9892 if { (ac_try
="$ac_link"
9894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9895 *) ac_try_echo=$ac_try;;
9897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9898 $as_echo "$ac_try_echo") >&5
9899 (eval "$ac_link") 2>conftest.er1
9901 grep -v '^ *+' conftest.er1 >conftest.err
9903 cat conftest.err >&5
9904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); } && {
9906 test -z "$ac_c_werror_flag" ||
9907 test ! -s conftest.err
9908 } && test -s conftest$ac_exeext && {
9909 test "$cross_compiling" = yes ||
9910 $as_test_x conftest$ac_exeext
9912 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9913 shlibpath_overrides_runpath=yes
9917 $as_echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.$ac_ext >&5
9923 rm -rf conftest.dSYM
9924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9925 conftest$ac_exeext conftest.$ac_ext
9926 LDFLAGS=$save_LDFLAGS
9929 # This implies no fast_install, which is unacceptable.
9930 # Some rework will be needed to allow for fast_install
9931 # before this can be enabled.
9932 hardcode_into_libs=yes
9934 # Add ABI-specific directories to the system library path.
9935 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9937 # Append ld.so.conf contents to the search path
9938 if test -f /etc/ld.so.conf; then
9939 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' ' '`
9940 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9943 # We used to test for /lib/ld.so.1 and disable shared libraries on
9944 # powerpc, because MkLinux only supported shared libraries with the
9945 # GNU dynamic linker. Since this was broken with cross compilers,
9946 # most powerpc-linux boxes support dynamic linking these days and
9947 # people can always --disable-shared, the test was removed, and we
9948 # assume the GNU/Linux dynamic linker is in use.
9949 dynamic_linker='GNU/Linux ld.so'
9956 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9957 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9958 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9959 dynamic_linker='NetBSD (a.out) ld.so'
9961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9962 soname_spec='${libname}${release}${shared_ext}$major'
9963 dynamic_linker='NetBSD ld.elf_so'
9965 shlibpath_var=LD_LIBRARY_PATH
9966 shlibpath_overrides_runpath=yes
9967 hardcode_into_libs=yes
9972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9973 shlibpath_var=LD_LIBRARY_PATH
9974 shlibpath_overrides_runpath=yes
9981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9982 soname_spec='${libname}${release}${shared_ext}$major'
9983 shlibpath_var=LD_LIBRARY_PATH
9984 shlibpath_overrides_runpath=no
9985 hardcode_into_libs=yes
9986 dynamic_linker='ldqnx.so'
9991 sys_lib_dlsearch_path_spec="/usr/lib"
9993 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9995 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9996 *) need_version=no ;;
9998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9999 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10000 shlibpath_var=LD_LIBRARY_PATH
10001 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10003 openbsd2.[89] | openbsd2.[89].*)
10004 shlibpath_overrides_runpath=no
10007 shlibpath_overrides_runpath=yes
10011 shlibpath_overrides_runpath=yes
10016 libname_spec='$name'
10019 library_names_spec='$libname${shared_ext} $libname.a'
10020 dynamic_linker='OS/2 ld.exe'
10021 shlibpath_var=LIBPATH
10024 osf3* | osf4* | osf5*)
10028 soname_spec='${libname}${release}${shared_ext}$major'
10029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10030 shlibpath_var=LD_LIBRARY_PATH
10031 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10032 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10044 soname_spec='${libname}${release}${shared_ext}$major'
10045 shlibpath_var=LD_LIBRARY_PATH
10046 shlibpath_overrides_runpath=yes
10047 hardcode_into_libs=yes
10048 # ldd complains unless libraries are executable
10049 postinstall_cmds='chmod +x $lib'
10054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10055 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10056 shlibpath_var=LD_LIBRARY_PATH
10057 shlibpath_overrides_runpath=yes
10058 if test "$with_gnu_ld" = yes; then
10066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10067 soname_spec='${libname}${release}${shared_ext}$major'
10068 shlibpath_var=LD_LIBRARY_PATH
10069 case $host_vendor in
10071 shlibpath_overrides_runpath=no
10073 runpath_var=LD_RUN_PATH
10081 shlibpath_overrides_runpath=no
10082 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10088 if test -d /usr/nec ;then
10090 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10091 soname_spec='$libname${shared_ext}.$major'
10092 shlibpath_var=LD_LIBRARY_PATH
10096 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10097 version_type=freebsd-elf
10100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10101 soname_spec='${libname}${release}${shared_ext}$major'
10102 shlibpath_var=LD_LIBRARY_PATH
10103 shlibpath_overrides_runpath=yes
10104 hardcode_into_libs=yes
10105 if test "$with_gnu_ld" = yes; then
10106 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10108 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10111 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10115 sys_lib_dlsearch_path_spec='/usr/lib'
10119 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10124 shlibpath_var=LD_LIBRARY_PATH
10125 shlibpath_overrides_runpath=no
10126 hardcode_into_libs=yes
10131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10132 soname_spec='${libname}${release}${shared_ext}$major'
10133 shlibpath_var=LD_LIBRARY_PATH
10140 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10141 $as_echo "$dynamic_linker" >&6; }
10142 test "$dynamic_linker" = no && can_build_shared=no
10144 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10145 if test "$GCC" = yes; then
10146 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10149 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10150 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10152 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10153 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10242 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10243 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10245 if test -n "$hardcode_libdir_flag_spec" ||
10246 test -n "$runpath_var" ||
10247 test "X$hardcode_automatic" = "Xyes" ; then
10249 # We can hardcode non-existent directories.
10250 if test "$hardcode_direct" != no &&
10251 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10252 # have to relink, otherwise we might link with an installed library
10253 # when we should be linking with a yet-to-be-installed one
10254 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10255 test "$hardcode_minus_L" != no; then
10256 # Linking always hardcodes the temporary library directory.
10257 hardcode_action=relink
10259 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10260 hardcode_action=immediate
10263 # We cannot hardcode anything, or else we can only hardcode existing
10265 hardcode_action=unsupported
10267 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10268 $as_echo "$hardcode_action" >&6; }
10270 if test "$hardcode_action" = relink ||
10271 test "$inherit_rpath" = yes; then
10272 # Fast installation is not supported
10273 enable_fast_install=no
10274 elif test "$shlibpath_overrides_runpath" = yes ||
10275 test "$enable_shared" = no; then
10276 # Fast installation is not necessary
10277 enable_fast_install=needless
10285 if test "x$enable_dlopen" != xyes; then
10286 enable_dlopen=unknown
10287 enable_dlopen_self=unknown
10288 enable_dlopen_self_static=unknown
10295 lt_cv_dlopen="load_add_on"
10297 lt_cv_dlopen_self=yes
10300 mingw* | pw32* | cegcc*)
10301 lt_cv_dlopen="LoadLibrary"
10306 lt_cv_dlopen="dlopen"
10311 # if libdl is installed we need to link against it
10312 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10313 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10314 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10315 $as_echo_n "(cached) " >&6
10317 ac_check_lib_save_LIBS=$LIBS
10319 cat >conftest.$ac_ext <<_ACEOF
10322 cat confdefs.h >>conftest.$ac_ext
10323 cat >>conftest.$ac_ext <<_ACEOF
10324 /* end confdefs.h. */
10326 /* Override any GCC internal prototype to avoid an error.
10327 Use char because int might match the return type of a GCC
10328 builtin and then its argument prototype would still apply. */
10341 rm -f conftest.$ac_objext conftest$ac_exeext
10342 if { (ac_try="$ac_link"
10343 case "(($ac_try" in
10344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10345 *) ac_try_echo
=$ac_try;;
10347 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10348 $as_echo "$ac_try_echo") >&5
10349 (eval "$ac_link") 2>conftest.er1
10351 grep -v '^ *+' conftest.er1
>conftest.err
10353 cat conftest.err
>&5
10354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); } && {
10356 test -z "$ac_c_werror_flag" ||
10357 test ! -s conftest.err
10358 } && test -s conftest
$ac_exeext && {
10359 test "$cross_compiling" = yes ||
10360 $as_test_x conftest
$ac_exeext
10362 ac_cv_lib_dl_dlopen
=yes
10364 $as_echo "$as_me: failed program was:" >&5
10365 sed 's/^/| /' conftest.
$ac_ext >&5
10367 ac_cv_lib_dl_dlopen
=no
10370 rm -rf conftest.dSYM
10371 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10372 conftest
$ac_exeext conftest.
$ac_ext
10373 LIBS
=$ac_check_lib_save_LIBS
10375 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10376 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10377 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10378 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10381 lt_cv_dlopen
="dyld"
10383 lt_cv_dlopen_self
=yes
10390 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10391 $as_echo_n "checking for shl_load... " >&6; }
10392 if test "${ac_cv_func_shl_load+set}" = set; then
10393 $as_echo_n "(cached) " >&6
10395 cat >conftest.
$ac_ext <<_ACEOF
10398 cat confdefs.h
>>conftest.
$ac_ext
10399 cat >>conftest.
$ac_ext <<_ACEOF
10400 /* end confdefs.h. */
10401 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10403 #define shl_load innocuous_shl_load
10405 /* System header to define __stub macros and hopefully few prototypes,
10406 which can conflict with char shl_load (); below.
10407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10408 <limits.h> exists even on freestanding compilers. */
10411 # include <limits.h>
10413 # include <assert.h>
10418 /* Override any GCC internal prototype to avoid an error.
10419 Use char because int might match the return type of a GCC
10420 builtin and then its argument prototype would still apply. */
10425 /* The GNU C library defines this for functions which it implements
10426 to always fail with ENOSYS. Some functions are actually named
10427 something starting with __ and the normal name is an alias. */
10428 #if defined __stub_shl_load || defined __stub___shl_load
10435 return shl_load ();
10440 rm -f conftest.
$ac_objext conftest
$ac_exeext
10441 if { (ac_try
="$ac_link"
10442 case "(($ac_try" in
10443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10444 *) ac_try_echo=$ac_try;;
10446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10447 $as_echo "$ac_try_echo") >&5
10448 (eval "$ac_link") 2>conftest.er1
10450 grep -v '^ *+' conftest.er1 >conftest.err
10452 cat conftest.err >&5
10453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); } && {
10455 test -z "$ac_c_werror_flag" ||
10456 test ! -s conftest.err
10457 } && test -s conftest$ac_exeext && {
10458 test "$cross_compiling" = yes ||
10459 $as_test_x conftest$ac_exeext
10461 ac_cv_func_shl_load=yes
10463 $as_echo "$as_me: failed program was:" >&5
10464 sed 's/^/| /' conftest.$ac_ext >&5
10466 ac_cv_func_shl_load=no
10469 rm -rf conftest.dSYM
10470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10471 conftest$ac_exeext conftest.$ac_ext
10473 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10474 $as_echo "$ac_cv_func_shl_load" >&6; }
10475 if test "x$ac_cv_func_shl_load" = x""yes; then
10476 lt_cv_dlopen="shl_load"
10478 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10479 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10480 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10481 $as_echo_n "(cached) " >&6
10483 ac_check_lib_save_LIBS=$LIBS
10485 cat >conftest.$ac_ext <<_ACEOF
10488 cat confdefs.h >>conftest.$ac_ext
10489 cat >>conftest.$ac_ext <<_ACEOF
10490 /* end confdefs.h. */
10492 /* Override any GCC internal prototype to avoid an error.
10493 Use char because int might match the return type of a GCC
10494 builtin and then its argument prototype would still apply. */
10502 return shl_load ();
10507 rm -f conftest.$ac_objext conftest$ac_exeext
10508 if { (ac_try="$ac_link"
10509 case "(($ac_try" in
10510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10511 *) ac_try_echo
=$ac_try;;
10513 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10514 $as_echo "$ac_try_echo") >&5
10515 (eval "$ac_link") 2>conftest.er1
10517 grep -v '^ *+' conftest.er1
>conftest.err
10519 cat conftest.err
>&5
10520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } && {
10522 test -z "$ac_c_werror_flag" ||
10523 test ! -s conftest.err
10524 } && test -s conftest
$ac_exeext && {
10525 test "$cross_compiling" = yes ||
10526 $as_test_x conftest
$ac_exeext
10528 ac_cv_lib_dld_shl_load
=yes
10530 $as_echo "$as_me: failed program was:" >&5
10531 sed 's/^/| /' conftest.
$ac_ext >&5
10533 ac_cv_lib_dld_shl_load
=no
10536 rm -rf conftest.dSYM
10537 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10538 conftest
$ac_exeext conftest.
$ac_ext
10539 LIBS
=$ac_check_lib_save_LIBS
10541 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10542 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10543 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10544 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10546 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10547 $as_echo_n "checking for dlopen... " >&6; }
10548 if test "${ac_cv_func_dlopen+set}" = set; then
10549 $as_echo_n "(cached) " >&6
10551 cat >conftest.
$ac_ext <<_ACEOF
10554 cat confdefs.h
>>conftest.
$ac_ext
10555 cat >>conftest.
$ac_ext <<_ACEOF
10556 /* end confdefs.h. */
10557 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10559 #define dlopen innocuous_dlopen
10561 /* System header to define __stub macros and hopefully few prototypes,
10562 which can conflict with char dlopen (); below.
10563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10564 <limits.h> exists even on freestanding compilers. */
10567 # include <limits.h>
10569 # include <assert.h>
10574 /* Override any GCC internal prototype to avoid an error.
10575 Use char because int might match the return type of a GCC
10576 builtin and then its argument prototype would still apply. */
10581 /* The GNU C library defines this for functions which it implements
10582 to always fail with ENOSYS. Some functions are actually named
10583 something starting with __ and the normal name is an alias. */
10584 #if defined __stub_dlopen || defined __stub___dlopen
10596 rm -f conftest.
$ac_objext conftest
$ac_exeext
10597 if { (ac_try
="$ac_link"
10598 case "(($ac_try" in
10599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10600 *) ac_try_echo=$ac_try;;
10602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10603 $as_echo "$ac_try_echo") >&5
10604 (eval "$ac_link") 2>conftest.er1
10606 grep -v '^ *+' conftest.er1 >conftest.err
10608 cat conftest.err >&5
10609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); } && {
10611 test -z "$ac_c_werror_flag" ||
10612 test ! -s conftest.err
10613 } && test -s conftest$ac_exeext && {
10614 test "$cross_compiling" = yes ||
10615 $as_test_x conftest$ac_exeext
10617 ac_cv_func_dlopen=yes
10619 $as_echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.$ac_ext >&5
10622 ac_cv_func_dlopen=no
10625 rm -rf conftest.dSYM
10626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10627 conftest$ac_exeext conftest.$ac_ext
10629 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10630 $as_echo "$ac_cv_func_dlopen" >&6; }
10631 if test "x$ac_cv_func_dlopen" = x""yes; then
10632 lt_cv_dlopen="dlopen"
10634 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10635 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10636 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10637 $as_echo_n "(cached) " >&6
10639 ac_check_lib_save_LIBS=$LIBS
10641 cat >conftest.$ac_ext <<_ACEOF
10644 cat confdefs.h >>conftest.$ac_ext
10645 cat >>conftest.$ac_ext <<_ACEOF
10646 /* end confdefs.h. */
10648 /* Override any GCC internal prototype to avoid an error.
10649 Use char because int might match the return type of a GCC
10650 builtin and then its argument prototype would still apply. */
10663 rm -f conftest.$ac_objext conftest$ac_exeext
10664 if { (ac_try="$ac_link"
10665 case "(($ac_try" in
10666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10667 *) ac_try_echo
=$ac_try;;
10669 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10670 $as_echo "$ac_try_echo") >&5
10671 (eval "$ac_link") 2>conftest.er1
10673 grep -v '^ *+' conftest.er1
>conftest.err
10675 cat conftest.err
>&5
10676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); } && {
10678 test -z "$ac_c_werror_flag" ||
10679 test ! -s conftest.err
10680 } && test -s conftest
$ac_exeext && {
10681 test "$cross_compiling" = yes ||
10682 $as_test_x conftest
$ac_exeext
10684 ac_cv_lib_dl_dlopen
=yes
10686 $as_echo "$as_me: failed program was:" >&5
10687 sed 's/^/| /' conftest.
$ac_ext >&5
10689 ac_cv_lib_dl_dlopen
=no
10692 rm -rf conftest.dSYM
10693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10694 conftest
$ac_exeext conftest.
$ac_ext
10695 LIBS
=$ac_check_lib_save_LIBS
10697 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10698 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10699 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10700 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10702 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10703 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10704 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10705 $as_echo_n "(cached) " >&6
10707 ac_check_lib_save_LIBS
=$LIBS
10708 LIBS
="-lsvld $LIBS"
10709 cat >conftest.
$ac_ext <<_ACEOF
10712 cat confdefs.h
>>conftest.
$ac_ext
10713 cat >>conftest.
$ac_ext <<_ACEOF
10714 /* end confdefs.h. */
10716 /* Override any GCC internal prototype to avoid an error.
10717 Use char because int might match the return type of a GCC
10718 builtin and then its argument prototype would still apply. */
10731 rm -f conftest.
$ac_objext conftest
$ac_exeext
10732 if { (ac_try
="$ac_link"
10733 case "(($ac_try" in
10734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10735 *) ac_try_echo=$ac_try;;
10737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10738 $as_echo "$ac_try_echo") >&5
10739 (eval "$ac_link") 2>conftest.er1
10741 grep -v '^ *+' conftest.er1 >conftest.err
10743 cat conftest.err >&5
10744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745 (exit $ac_status); } && {
10746 test -z "$ac_c_werror_flag" ||
10747 test ! -s conftest.err
10748 } && test -s conftest$ac_exeext && {
10749 test "$cross_compiling" = yes ||
10750 $as_test_x conftest$ac_exeext
10752 ac_cv_lib_svld_dlopen=yes
10754 $as_echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.$ac_ext >&5
10757 ac_cv_lib_svld_dlopen=no
10760 rm -rf conftest.dSYM
10761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10762 conftest$ac_exeext conftest.$ac_ext
10763 LIBS=$ac_check_lib_save_LIBS
10765 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10766 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10767 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10768 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10770 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10771 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10772 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10773 $as_echo_n "(cached) " >&6
10775 ac_check_lib_save_LIBS=$LIBS
10777 cat >conftest.$ac_ext <<_ACEOF
10780 cat confdefs.h >>conftest.$ac_ext
10781 cat >>conftest.$ac_ext <<_ACEOF
10782 /* end confdefs.h. */
10784 /* Override any GCC internal prototype to avoid an error.
10785 Use char because int might match the return type of a GCC
10786 builtin and then its argument prototype would still apply. */
10794 return dld_link ();
10799 rm -f conftest.$ac_objext conftest$ac_exeext
10800 if { (ac_try="$ac_link"
10801 case "(($ac_try" in
10802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10803 *) ac_try_echo
=$ac_try;;
10805 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10806 $as_echo "$ac_try_echo") >&5
10807 (eval "$ac_link") 2>conftest.er1
10809 grep -v '^ *+' conftest.er1
>conftest.err
10811 cat conftest.err
>&5
10812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813 (exit $ac_status); } && {
10814 test -z "$ac_c_werror_flag" ||
10815 test ! -s conftest.err
10816 } && test -s conftest
$ac_exeext && {
10817 test "$cross_compiling" = yes ||
10818 $as_test_x conftest
$ac_exeext
10820 ac_cv_lib_dld_dld_link
=yes
10822 $as_echo "$as_me: failed program was:" >&5
10823 sed 's/^/| /' conftest.
$ac_ext >&5
10825 ac_cv_lib_dld_dld_link
=no
10828 rm -rf conftest.dSYM
10829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10830 conftest
$ac_exeext conftest.
$ac_ext
10831 LIBS
=$ac_check_lib_save_LIBS
10833 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10834 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10835 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
10836 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10857 if test "x$lt_cv_dlopen" != xno
; then
10863 case $lt_cv_dlopen in
10865 save_CPPFLAGS
="$CPPFLAGS"
10866 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10868 save_LDFLAGS
="$LDFLAGS"
10869 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10872 LIBS
="$lt_cv_dlopen_libs $LIBS"
10874 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10875 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10876 if test "${lt_cv_dlopen_self+set}" = set; then
10877 $as_echo_n "(cached) " >&6
10879 if test "$cross_compiling" = yes; then :
10880 lt_cv_dlopen_self
=cross
10882 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10883 lt_status
=$lt_dlunknown
10884 cat > conftest.
$ac_ext <<_LT_EOF
10885 #line 10885 "configure"
10886 #include "confdefs.h"
10895 # define LT_DLGLOBAL RTLD_GLOBAL
10898 # define LT_DLGLOBAL DL_GLOBAL
10900 # define LT_DLGLOBAL 0
10904 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10905 find out it does not work in some platform. */
10906 #ifndef LT_DLLAZY_OR_NOW
10908 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10911 # define LT_DLLAZY_OR_NOW DL_LAZY
10914 # define LT_DLLAZY_OR_NOW RTLD_NOW
10917 # define LT_DLLAZY_OR_NOW DL_NOW
10919 # define LT_DLLAZY_OR_NOW 0
10926 void fnord() { int i=42;}
10929 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10930 int status = $lt_dlunknown;
10934 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10935 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10936 /* dlclose (self); */
10944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10945 (eval $ac_link) 2>&5
10947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10949 (.
/conftest
; exit; ) >&5 2>/dev
/null
10951 case x
$lt_status in
10952 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10953 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10954 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10957 # compilation failed
10958 lt_cv_dlopen_self
=no
10965 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10966 $as_echo "$lt_cv_dlopen_self" >&6; }
10968 if test "x$lt_cv_dlopen_self" = xyes
; then
10969 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10970 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10971 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10972 if test "${lt_cv_dlopen_self_static+set}" = set; then
10973 $as_echo_n "(cached) " >&6
10975 if test "$cross_compiling" = yes; then :
10976 lt_cv_dlopen_self_static
=cross
10978 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10979 lt_status
=$lt_dlunknown
10980 cat > conftest.
$ac_ext <<_LT_EOF
10981 #line 10981 "configure"
10982 #include "confdefs.h"
10991 # define LT_DLGLOBAL RTLD_GLOBAL
10994 # define LT_DLGLOBAL DL_GLOBAL
10996 # define LT_DLGLOBAL 0
11000 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11001 find out it does not work in some platform. */
11002 #ifndef LT_DLLAZY_OR_NOW
11004 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11007 # define LT_DLLAZY_OR_NOW DL_LAZY
11010 # define LT_DLLAZY_OR_NOW RTLD_NOW
11013 # define LT_DLLAZY_OR_NOW DL_NOW
11015 # define LT_DLLAZY_OR_NOW 0
11022 void fnord() { int i=42;}
11025 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11026 int status = $lt_dlunknown;
11030 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11031 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11032 /* dlclose (self); */
11040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11041 (eval $ac_link) 2>&5
11043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11045 (.
/conftest
; exit; ) >&5 2>/dev
/null
11047 case x
$lt_status in
11048 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11049 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11050 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11053 # compilation failed
11054 lt_cv_dlopen_self_static
=no
11061 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11062 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11065 CPPFLAGS
="$save_CPPFLAGS"
11066 LDFLAGS
="$save_LDFLAGS"
11071 case $lt_cv_dlopen_self in
11072 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11073 *) enable_dlopen_self
=unknown
;;
11076 case $lt_cv_dlopen_self_static in
11077 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11078 *) enable_dlopen_self_static
=unknown
;;
11100 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11101 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11102 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11103 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11104 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11105 { $as_echo "$as_me:$LINENO: result: yes" >&5
11106 $as_echo "yes" >&6; }
11108 # FIXME - insert some real tests, host_os isn't really good enough
11111 if test -n "$STRIP" ; then
11112 striplib
="$STRIP -x"
11113 old_striplib
="$STRIP -S"
11114 { $as_echo "$as_me:$LINENO: result: yes" >&5
11115 $as_echo "yes" >&6; }
11117 { $as_echo "$as_me:$LINENO: result: no" >&5
11118 $as_echo "no" >&6; }
11122 { $as_echo "$as_me:$LINENO: result: no" >&5
11123 $as_echo "no" >&6; }
11139 # Report which library types will actually be built
11140 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11141 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11142 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11143 $as_echo "$can_build_shared" >&6; }
11145 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11146 $as_echo_n "checking whether to build shared libraries... " >&6; }
11147 test "$can_build_shared" = "no" && enable_shared
=no
11149 # On AIX, shared libraries and static libraries use the same namespace, and
11150 # are all built from PIC.
11153 test "$enable_shared" = yes && enable_static
=no
11154 if test -n "$RANLIB"; then
11155 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11156 postinstall_cmds
='$RANLIB $lib'
11161 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11162 test "$enable_shared" = yes && enable_static
=no
11166 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11167 $as_echo "$enable_shared" >&6; }
11169 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11170 $as_echo_n "checking whether to build static libraries... " >&6; }
11171 # Make sure either enable_shared or enable_static is yes.
11172 test "$enable_shared" = yes || enable_static
=yes
11173 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11174 $as_echo "$enable_static" >&6; }
11181 ac_cpp
='$CPP $CPPFLAGS'
11182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11200 ac_config_commands
="$ac_config_commands libtool"
11205 # Only expand once:
11208 for ac_prog
in perl5 perl
11210 # Extract the first word of "$ac_prog", so it can be a program name with args.
11211 set dummy
$ac_prog; ac_word
=$2
11212 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11213 $as_echo_n "checking for $ac_word... " >&6; }
11214 if test "${ac_cv_path_PERL+set}" = set; then
11215 $as_echo_n "(cached) " >&6
11219 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
11222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11223 for as_dir
in $LPATH
11226 test -z "$as_dir" && as_dir
=.
11227 for ac_exec_ext
in '' $ac_executable_extensions; do
11228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11229 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
11230 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11240 PERL
=$ac_cv_path_PERL
11241 if test -n "$PERL"; then
11242 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
11243 $as_echo "$PERL" >&6; }
11245 { $as_echo "$as_me:$LINENO: result: no" >&5
11246 $as_echo "no" >&6; }
11250 test -n "$PERL" && break
11252 test -n "$PERL" || PERL
="perl"
11255 if test "$PERL" = "perl"
11257 { { $as_echo "$as_me:$LINENO: error: Perl not found." >&5
11258 $as_echo "$as_me: error: Perl not found." >&2;}
11259 { (exit 1); exit 1; }; }
11262 if test "$GCC" = "yes"
11264 CFLAGS
="$CFLAGS -Wall"
11267 CFLAGS
="$CFLAGS -I.. -I${srcdir}/.."
11271 # Check whether --with-userdb was given.
11272 if test "${with_userdb+set}" = set; then
11273 withval
=$with_userdb; userdb
="$withval"
11275 userdb
="/etc/userdb"
11279 USERDB
="`echo $userdb | tr 'a-z' 'A-Z'`"
11283 # Check whether --with-userdbmandir was given.
11284 if test "${with_userdbmandir+set}" = set; then
11285 withval
=$with_userdbmandir; mandir
="$withval"
11290 # Check whether --with-userdbtmpdir was given.
11291 if test "${with_userdbtmpdir+set}" = set; then
11292 withval
=$with_userdbtmpdir; tmpdir
="$withval"
11300 if test "$tmpdir" = ""
11302 tmpdir
=`echo "$userdb" | sed 's/\/[^\/]*$//'`
11311 # Check whether --with-makedatprog was given.
11312 if test "${with_makedatprog+set}" = set; then
11313 withval
=$with_makedatprog; makedat
="$withval"
11315 makedat
="$bindir/makedat"
11320 if test -d ${srcdir}/..
/md5
11323 cat >>confdefs.h
<<_ACEOF
11327 MD5LIB
=..
/md
5/libmd5.la
11333 if test -d ${srcdir}/..
/sha1
11335 SHA1LIB
=..
/sha
1/libsha1.la
11341 if test -d ${srcdir}/..
/libhmac
11344 cat >>confdefs.h
<<_ACEOF
11345 #define HAVE_HMAC 1
11348 HMACLIB
=..
/libhmac
/libhmac.la
11354 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11355 $as_echo_n "checking for ANSI C header files... " >&6; }
11356 if test "${ac_cv_header_stdc+set}" = set; then
11357 $as_echo_n "(cached) " >&6
11359 cat >conftest.
$ac_ext <<_ACEOF
11362 cat confdefs.h
>>conftest.
$ac_ext
11363 cat >>conftest.
$ac_ext <<_ACEOF
11364 /* end confdefs.h. */
11365 #include <stdlib.h>
11366 #include <stdarg.h>
11367 #include <string.h>
11378 rm -f conftest.
$ac_objext
11379 if { (ac_try
="$ac_compile"
11380 case "(($ac_try" in
11381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11382 *) ac_try_echo=$ac_try;;
11384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11385 $as_echo "$ac_try_echo") >&5
11386 (eval "$ac_compile") 2>conftest.er1
11388 grep -v '^ *+' conftest.er1 >conftest.err
11390 cat conftest.err >&5
11391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } && {
11393 test -z "$ac_c_werror_flag" ||
11394 test ! -s conftest.err
11395 } && test -s conftest.$ac_objext; then
11396 ac_cv_header_stdc=yes
11398 $as_echo "$as_me: failed program was:" >&5
11399 sed 's/^/| /' conftest.$ac_ext >&5
11401 ac_cv_header_stdc=no
11404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11406 if test $ac_cv_header_stdc = yes; then
11407 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11408 cat >conftest.$ac_ext <<_ACEOF
11411 cat confdefs.h >>conftest.$ac_ext
11412 cat >>conftest.$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11414 #include <string.h>
11417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11418 $EGREP "memchr" >/dev/null 2>&1; then
11421 ac_cv_header_stdc=no
11427 if test $ac_cv_header_stdc = yes; then
11428 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11429 cat >conftest.$ac_ext <<_ACEOF
11432 cat confdefs.h >>conftest.$ac_ext
11433 cat >>conftest.$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11435 #include <stdlib.h>
11438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11439 $EGREP "free" >/dev/null 2>&1; then
11442 ac_cv_header_stdc=no
11448 if test $ac_cv_header_stdc = yes; then
11449 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11450 if test "$cross_compiling" = yes; then
11453 cat >conftest.$ac_ext <<_ACEOF
11456 cat confdefs.h >>conftest.$ac_ext
11457 cat >>conftest.$ac_ext <<_ACEOF
11458 /* end confdefs.h. */
11460 #include <stdlib.h>
11461 #if ((' ' & 0x0FF) == 0x020)
11462 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11463 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11465 # define ISLOWER(c) \
11466 (('a' <= (c) && (c) <= 'i') \
11467 || ('j' <= (c) && (c) <= 'r') \
11468 || ('s' <= (c) && (c) <= 'z'))
11469 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11472 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11477 for (i = 0; i < 256; i++)
11478 if (XOR (islower (i), ISLOWER (i))
11479 || toupper (i) != TOUPPER (i))
11484 rm -f conftest$ac_exeext
11485 if { (ac_try="$ac_link"
11486 case "(($ac_try" in
11487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11488 *) ac_try_echo
=$ac_try;;
11490 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11491 $as_echo "$ac_try_echo") >&5
11492 (eval "$ac_link") 2>&5
11494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11496 { (case "(($ac_try" in
11497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11498 *) ac_try_echo=$ac_try;;
11500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11501 $as_echo "$ac_try_echo") >&5
11502 (eval "$ac_try") 2>&5
11504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; }; then
11508 $as_echo "$as_me: program exited with status $ac_status" >&5
11509 $as_echo "$as_me: failed program was:" >&5
11510 sed 's/^/| /' conftest.$ac_ext >&5
11512 ( exit $ac_status )
11513 ac_cv_header_stdc=no
11515 rm -rf conftest.dSYM
11516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11522 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11523 $as_echo "$ac_cv_header_stdc" >&6; }
11524 if test $ac_cv_header_stdc = yes; then
11526 cat >>confdefs.h <<\_ACEOF
11527 #define STDC_HEADERS 1
11538 for ac_header in sys/stat.h sys/time.h unistd.h fcntl.h termios.h crypt.h
11540 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11542 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11543 $as_echo_n "checking for $ac_header... " >&6; }
11544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11545 $as_echo_n "(cached) " >&6
11547 ac_res=`eval 'as_val=${'$as_ac_Header'}
11548 $as_echo "$as_val"'`
11549 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11550 $as_echo "$ac_res" >&6; }
11552 # Is the header compilable?
11553 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11554 $as_echo_n "checking $ac_header usability... " >&6; }
11555 cat >conftest.$ac_ext <<_ACEOF
11558 cat confdefs.h >>conftest.$ac_ext
11559 cat >>conftest.$ac_ext <<_ACEOF
11560 /* end confdefs.h. */
11561 $ac_includes_default
11562 #include <$ac_header>
11564 rm -f conftest.$ac_objext
11565 if { (ac_try="$ac_compile"
11566 case "(($ac_try" in
11567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11568 *) ac_try_echo
=$ac_try;;
11570 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11571 $as_echo "$ac_try_echo") >&5
11572 (eval "$ac_compile") 2>conftest.er1
11574 grep -v '^ *+' conftest.er1
>conftest.err
11576 cat conftest.err
>&5
11577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); } && {
11579 test -z "$ac_c_werror_flag" ||
11580 test ! -s conftest.err
11581 } && test -s conftest.
$ac_objext; then
11582 ac_header_compiler
=yes
11584 $as_echo "$as_me: failed program was:" >&5
11585 sed 's/^/| /' conftest.
$ac_ext >&5
11587 ac_header_compiler
=no
11590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11591 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11592 $as_echo "$ac_header_compiler" >&6; }
11594 # Is the header present?
11595 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11596 $as_echo_n "checking $ac_header presence... " >&6; }
11597 cat >conftest.
$ac_ext <<_ACEOF
11600 cat confdefs.h
>>conftest.
$ac_ext
11601 cat >>conftest.
$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11603 #include <$ac_header>
11605 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11606 case "(($ac_try" in
11607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11608 *) ac_try_echo=$ac_try;;
11610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11611 $as_echo "$ac_try_echo") >&5
11612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11614 grep -v '^ *+' conftest.er1 >conftest.err
11616 cat conftest.err >&5
11617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); } >/dev/null && {
11619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11620 test ! -s conftest.err
11622 ac_header_preproc=yes
11624 $as_echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.$ac_ext >&5
11627 ac_header_preproc=no
11630 rm -f conftest.err conftest.$ac_ext
11631 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11632 $as_echo "$ac_header_preproc" >&6; }
11634 # So? What about this header?
11635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11637 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11638 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11639 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11640 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11641 ac_header_preproc=yes
11644 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11645 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11646 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11647 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11649 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11650 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11651 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11652 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11653 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11654 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11655 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11657 ## -------------------------------------------------- ##
11658 ## Report this to courier-users@lists.sourceforge.net ##
11659 ## -------------------------------------------------- ##
11661 ) | sed "s/^/$as_me: WARNING: /" >&2
11664 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11665 $as_echo_n "checking for $ac_header... " >&6; }
11666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11667 $as_echo_n "(cached) " >&6
11669 eval "$as_ac_Header=\$ac_header_preproc"
11671 ac_res=`eval 'as_val=${'$as_ac_Header'}
11672 $as_echo "$as_val"'`
11673 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11674 $as_echo "$ac_res" >&6; }
11677 as_val=`eval 'as_val=${'$as_ac_Header'}
11678 $as_echo "$as_val"'`
11679 if test "x$as_val" = x""yes; then
11680 cat >>confdefs.h <<_ACEOF
11681 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11688 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11689 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11690 if test "${ac_cv_header_time+set}" = set; then
11691 $as_echo_n "(cached) " >&6
11693 cat >conftest.$ac_ext <<_ACEOF
11696 cat confdefs.h >>conftest.$ac_ext
11697 cat >>conftest.$ac_ext <<_ACEOF
11698 /* end confdefs.h. */
11699 #include <sys/types.h>
11700 #include <sys/time.h>
11706 if ((struct tm *) 0)
11712 rm -f conftest.$ac_objext
11713 if { (ac_try="$ac_compile"
11714 case "(($ac_try" in
11715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11716 *) ac_try_echo
=$ac_try;;
11718 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11719 $as_echo "$ac_try_echo") >&5
11720 (eval "$ac_compile") 2>conftest.er1
11722 grep -v '^ *+' conftest.er1
>conftest.err
11724 cat conftest.err
>&5
11725 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } && {
11727 test -z "$ac_c_werror_flag" ||
11728 test ! -s conftest.err
11729 } && test -s conftest.
$ac_objext; then
11730 ac_cv_header_time
=yes
11732 $as_echo "$as_me: failed program was:" >&5
11733 sed 's/^/| /' conftest.
$ac_ext >&5
11735 ac_cv_header_time
=no
11738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11740 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11741 $as_echo "$ac_cv_header_time" >&6; }
11742 if test $ac_cv_header_time = yes; then
11744 cat >>confdefs.h
<<\_ACEOF
11745 #define TIME_WITH_SYS_TIME 1
11751 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11752 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11753 if test "${ac_cv_c_const+set}" = set; then
11754 $as_echo_n "(cached) " >&6
11756 cat >conftest.
$ac_ext <<_ACEOF
11759 cat confdefs.h
>>conftest.
$ac_ext
11760 cat >>conftest.
$ac_ext <<_ACEOF
11761 /* end confdefs.h. */
11766 /* FIXME: Include the comments suggested by Paul. */
11767 #ifndef __cplusplus
11768 /* Ultrix mips cc rejects this. */
11769 typedef int charset[2];
11771 /* SunOS 4.1.1 cc rejects this. */
11772 char const *const *pcpcc;
11774 /* NEC SVR4.0.2 mips cc rejects this. */
11775 struct point {int x, y;};
11776 static struct point const zero = {0,0};
11777 /* AIX XL C 1.02.0.0 rejects this.
11778 It does not let you subtract one const X* pointer from another in
11779 an arm of an if-expression whose if-part is not a constant
11781 const char *g = "string";
11782 pcpcc = &g + (g ? g-g : 0);
11783 /* HPUX 7.0 cc rejects these. */
11785 ppc = (char**) pcpcc;
11786 pcpcc = (char const *const *) ppc;
11787 { /* SCO 3.2v4 cc rejects this. */
11789 char const *s = 0 ? (char *) 0 : (char const *) 0;
11794 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11795 int x[] = {25, 17};
11796 const int *foo = &x[0];
11799 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11800 typedef const int *iptr;
11804 { /* AIX XL C 1.02.0.0 rejects this saying
11805 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11806 struct s { int j; const int *ap[3]; };
11807 struct s *b; b->j = 5;
11809 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11810 const int foo = 10;
11811 if (!foo) return 0;
11813 return !cs[0] && !zero.x;
11820 rm -f conftest.
$ac_objext
11821 if { (ac_try
="$ac_compile"
11822 case "(($ac_try" in
11823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11824 *) ac_try_echo=$ac_try;;
11826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11827 $as_echo "$ac_try_echo") >&5
11828 (eval "$ac_compile") 2>conftest.er1
11830 grep -v '^ *+' conftest.er1 >conftest.err
11832 cat conftest.err >&5
11833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); } && {
11835 test -z "$ac_c_werror_flag" ||
11836 test ! -s conftest.err
11837 } && test -s conftest.$ac_objext; then
11840 $as_echo "$as_me: failed program was:" >&5
11841 sed 's/^/| /' conftest.$ac_ext >&5
11846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11848 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11849 $as_echo "$ac_cv_c_const" >&6; }
11850 if test $ac_cv_c_const = no; then
11852 cat >>confdefs.h <<\_ACEOF
11858 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
11859 $as_echo_n "checking for pid_t... " >&6; }
11860 if test "${ac_cv_type_pid_t+set}" = set; then
11861 $as_echo_n "(cached) " >&6
11863 ac_cv_type_pid_t=no
11864 cat >conftest.$ac_ext <<_ACEOF
11867 cat confdefs.h >>conftest.$ac_ext
11868 cat >>conftest.$ac_ext <<_ACEOF
11869 /* end confdefs.h. */
11870 $ac_includes_default
11874 if (sizeof (pid_t))
11880 rm -f conftest.$ac_objext
11881 if { (ac_try="$ac_compile"
11882 case "(($ac_try" in
11883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11884 *) ac_try_echo
=$ac_try;;
11886 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11887 $as_echo "$ac_try_echo") >&5
11888 (eval "$ac_compile") 2>conftest.er1
11890 grep -v '^ *+' conftest.er1
>conftest.err
11892 cat conftest.err
>&5
11893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); } && {
11895 test -z "$ac_c_werror_flag" ||
11896 test ! -s conftest.err
11897 } && test -s conftest.
$ac_objext; then
11898 cat >conftest.
$ac_ext <<_ACEOF
11901 cat confdefs.h
>>conftest.
$ac_ext
11902 cat >>conftest.
$ac_ext <<_ACEOF
11903 /* end confdefs.h. */
11904 $ac_includes_default
11908 if (sizeof ((pid_t)))
11914 rm -f conftest.
$ac_objext
11915 if { (ac_try
="$ac_compile"
11916 case "(($ac_try" in
11917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11918 *) ac_try_echo=$ac_try;;
11920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11921 $as_echo "$ac_try_echo") >&5
11922 (eval "$ac_compile") 2>conftest.er1
11924 grep -v '^ *+' conftest.er1 >conftest.err
11926 cat conftest.err >&5
11927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); } && {
11929 test -z "$ac_c_werror_flag" ||
11930 test ! -s conftest.err
11931 } && test -s conftest.$ac_objext; then
11934 $as_echo "$as_me: failed program was:" >&5
11935 sed 's/^/| /' conftest.$ac_ext >&5
11937 ac_cv_type_pid_t=yes
11940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11942 $as_echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.$ac_ext >&5
11948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11950 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11951 $as_echo "$ac_cv_type_pid_t" >&6; }
11952 if test "x$ac_cv_type_pid_t" = x""yes; then
11956 cat >>confdefs.h <<_ACEOF
11962 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
11963 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
11964 if test "${ac_cv_type_uid_t+set}" = set; then
11965 $as_echo_n "(cached) " >&6
11967 cat >conftest.$ac_ext <<_ACEOF
11970 cat confdefs.h >>conftest.$ac_ext
11971 cat >>conftest.$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11973 #include <sys/types.h>
11976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11977 $EGREP "uid_t" >/dev/null 2>&1; then
11978 ac_cv_type_uid_t=yes
11980 ac_cv_type_uid_t=no
11985 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
11986 $as_echo "$ac_cv_type_uid_t" >&6; }
11987 if test $ac_cv_type_uid_t = no; then
11989 cat >>confdefs.h <<\_ACEOF
11994 cat >>confdefs.h <<\_ACEOF
12000 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12001 $as_echo_n "checking return type of signal handlers... " >&6; }
12002 if test "${ac_cv_type_signal+set}" = set; then
12003 $as_echo_n "(cached) " >&6
12005 cat >conftest.$ac_ext <<_ACEOF
12008 cat confdefs.h >>conftest.$ac_ext
12009 cat >>conftest.$ac_ext <<_ACEOF
12010 /* end confdefs.h. */
12011 #include <sys/types.h>
12012 #include <signal.h>
12017 return *(signal (0, 0)) (0) == 1;
12022 rm -f conftest.$ac_objext
12023 if { (ac_try="$ac_compile"
12024 case "(($ac_try" in
12025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12026 *) ac_try_echo
=$ac_try;;
12028 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12029 $as_echo "$ac_try_echo") >&5
12030 (eval "$ac_compile") 2>conftest.er1
12032 grep -v '^ *+' conftest.er1
>conftest.err
12034 cat conftest.err
>&5
12035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); } && {
12037 test -z "$ac_c_werror_flag" ||
12038 test ! -s conftest.err
12039 } && test -s conftest.
$ac_objext; then
12040 ac_cv_type_signal
=int
12042 $as_echo "$as_me: failed program was:" >&5
12043 sed 's/^/| /' conftest.
$ac_ext >&5
12045 ac_cv_type_signal
=void
12048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12050 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
12051 $as_echo "$ac_cv_type_signal" >&6; }
12053 cat >>confdefs.h
<<_ACEOF
12054 #define RETSIGTYPE $ac_cv_type_signal
12060 { $as_echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
12061 $as_echo_n "checking for crypt in -lcrypt... " >&6; }
12062 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
12063 $as_echo_n "(cached) " >&6
12065 ac_check_lib_save_LIBS
=$LIBS
12066 LIBS
="-lcrypt $LIBS"
12067 cat >conftest.
$ac_ext <<_ACEOF
12070 cat confdefs.h
>>conftest.
$ac_ext
12071 cat >>conftest.
$ac_ext <<_ACEOF
12072 /* end confdefs.h. */
12074 /* Override any GCC internal prototype to avoid an error.
12075 Use char because int might match the return type of a GCC
12076 builtin and then its argument prototype would still apply. */
12089 rm -f conftest.
$ac_objext conftest
$ac_exeext
12090 if { (ac_try
="$ac_link"
12091 case "(($ac_try" in
12092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12093 *) ac_try_echo=$ac_try;;
12095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12096 $as_echo "$ac_try_echo") >&5
12097 (eval "$ac_link") 2>conftest.er1
12099 grep -v '^ *+' conftest.er1 >conftest.err
12101 cat conftest.err >&5
12102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); } && {
12104 test -z "$ac_c_werror_flag" ||
12105 test ! -s conftest.err
12106 } && test -s conftest$ac_exeext && {
12107 test "$cross_compiling" = yes ||
12108 $as_test_x conftest$ac_exeext
12110 ac_cv_lib_crypt_crypt=yes
12112 $as_echo "$as_me: failed program was:" >&5
12113 sed 's/^/| /' conftest.$ac_ext >&5
12115 ac_cv_lib_crypt_crypt=no
12118 rm -rf conftest.dSYM
12119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12120 conftest$ac_exeext conftest.$ac_ext
12121 LIBS=$ac_check_lib_save_LIBS
12123 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
12124 $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
12125 if test "x$ac_cv_lib_crypt_crypt" = x""yes; then
12126 CRYPTLIBS="-lcrypt"
12130 LIBS="$CRYPTLIBS $LIBS"
12131 { $as_echo "$as_me:$LINENO: checking for crypt" >&5
12132 $as_echo_n "checking for crypt... " >&6; }
12133 if test "${ac_cv_func_crypt+set}" = set; then
12134 $as_echo_n "(cached) " >&6
12136 cat >conftest.$ac_ext <<_ACEOF
12139 cat confdefs.h >>conftest.$ac_ext
12140 cat >>conftest.$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12142 /* Define crypt to an innocuous variant, in case <limits.h> declares crypt.
12143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12144 #define crypt innocuous_crypt
12146 /* System header to define __stub macros and hopefully few prototypes,
12147 which can conflict with char crypt (); below.
12148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12149 <limits.h> exists even on freestanding compilers. */
12152 # include <limits.h>
12154 # include <assert.h>
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12166 /* The GNU C library defines this for functions which it implements
12167 to always fail with ENOSYS. Some functions are actually named
12168 something starting with __ and the normal name is an alias. */
12169 #if defined __stub_crypt || defined __stub___crypt
12181 rm -f conftest.$ac_objext conftest$ac_exeext
12182 if { (ac_try="$ac_link"
12183 case "(($ac_try" in
12184 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12185 *) ac_try_echo
=$ac_try;;
12187 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12188 $as_echo "$ac_try_echo") >&5
12189 (eval "$ac_link") 2>conftest.er1
12191 grep -v '^ *+' conftest.er1
>conftest.err
12193 cat conftest.err
>&5
12194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); } && {
12196 test -z "$ac_c_werror_flag" ||
12197 test ! -s conftest.err
12198 } && test -s conftest
$ac_exeext && {
12199 test "$cross_compiling" = yes ||
12200 $as_test_x conftest
$ac_exeext
12202 ac_cv_func_crypt
=yes
12204 $as_echo "$as_me: failed program was:" >&5
12205 sed 's/^/| /' conftest.
$ac_ext >&5
12207 ac_cv_func_crypt
=no
12210 rm -rf conftest.dSYM
12211 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12212 conftest
$ac_exeext conftest.
$ac_ext
12214 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_crypt" >&5
12215 $as_echo "$ac_cv_func_crypt" >&6; }
12216 if test "x$ac_cv_func_crypt" = x
""yes; then
12218 cat >>confdefs.h
<<_ACEOF
12219 #define HAVE_CRYPT 1
12225 { $as_echo "$as_me:$LINENO: checking for crypt() prototype" >&5
12226 $as_echo_n "checking for crypt() prototype... " >&6; }
12227 if test "${userdb_cv_NEED_CRYPT_PROTOTYPE+set}" = set; then
12228 $as_echo_n "(cached) " >&6
12230 cat >conftest.
$ac_ext <<_ACEOF
12233 cat confdefs.h
>>conftest.
$ac_ext
12234 cat >>conftest.
$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12241 #include <unistd.h>
12243 int crypt(int, int);
12254 rm -f conftest.
$ac_objext
12255 if { (ac_try
="$ac_compile"
12256 case "(($ac_try" in
12257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12258 *) ac_try_echo=$ac_try;;
12260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12261 $as_echo "$ac_try_echo") >&5
12262 (eval "$ac_compile") 2>conftest.er1
12264 grep -v '^ *+' conftest.er1 >conftest.err
12266 cat conftest.err >&5
12267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); } && {
12269 test -z "$ac_c_werror_flag" ||
12270 test ! -s conftest.err
12271 } && test -s conftest.$ac_objext; then
12272 userdb_cv_NEED_CRYPT_PROTOTYPE=1
12274 $as_echo "$as_me: failed program was:" >&5
12275 sed 's/^/| /' conftest.$ac_ext >&5
12277 userdb_cv_NEED_CRYPT_PROTOTYPE=0
12280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12284 { $as_echo "$as_me:$LINENO: result: $userdb_cv_NEED_CRYPT_PROTOTYPE" >&5
12285 $as_echo "$userdb_cv_NEED_CRYPT_PROTOTYPE" >&6; }
12288 cat >>confdefs.h <<_ACEOF
12289 #define NEED_CRYPT_PROTOTYPE $userdb_cv_NEED_CRYPT_PROTOTYPE
12296 for ac_func in isatty gettimeofday
12298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12299 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12300 $as_echo_n "checking for $ac_func... " >&6; }
12301 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12302 $as_echo_n "(cached) " >&6
12304 cat >conftest.$ac_ext <<_ACEOF
12307 cat confdefs.h >>conftest.$ac_ext
12308 cat >>conftest.$ac_ext <<_ACEOF
12309 /* end confdefs.h. */
12310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12312 #define $ac_func innocuous_$ac_func
12314 /* System header to define __stub macros and hopefully few prototypes,
12315 which can conflict with char $ac_func (); below.
12316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12317 <limits.h> exists even on freestanding compilers. */
12320 # include <limits.h>
12322 # include <assert.h>
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12334 /* The GNU C library defines this for functions which it implements
12335 to always fail with ENOSYS. Some functions are actually named
12336 something starting with __ and the normal name is an alias. */
12337 #if defined __stub_$ac_func || defined __stub___$ac_func
12344 return $ac_func ();
12349 rm -f conftest.$ac_objext conftest$ac_exeext
12350 if { (ac_try="$ac_link"
12351 case "(($ac_try" in
12352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12353 *) ac_try_echo
=$ac_try;;
12355 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12356 $as_echo "$ac_try_echo") >&5
12357 (eval "$ac_link") 2>conftest.er1
12359 grep -v '^ *+' conftest.er1
>conftest.err
12361 cat conftest.err
>&5
12362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); } && {
12364 test -z "$ac_c_werror_flag" ||
12365 test ! -s conftest.err
12366 } && test -s conftest
$ac_exeext && {
12367 test "$cross_compiling" = yes ||
12368 $as_test_x conftest
$ac_exeext
12370 eval "$as_ac_var=yes"
12372 $as_echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.
$ac_ext >&5
12375 eval "$as_ac_var=no"
12378 rm -rf conftest.dSYM
12379 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12380 conftest
$ac_exeext conftest.
$ac_ext
12382 ac_res
=`eval 'as_val=${'$as_ac_var'}
12383 $as_echo "$as_val"'`
12384 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12385 $as_echo "$ac_res" >&6; }
12386 as_val
=`eval 'as_val=${'$as_ac_var'}
12387 $as_echo "$as_val"'`
12388 if test "x$as_val" = x
""yes; then
12389 cat >>confdefs.h
<<_ACEOF
12390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12398 # Check whether --with-random was given.
12399 if test "${with_random+set}" = set; then
12400 withval
=$with_random; random
="$withval"
12410 { $as_echo "$as_me:$LINENO: checking for random source" >&5
12411 $as_echo_n "checking for random source... " >&6; }
12412 if test "${userdb_cv_RANDOM+set}" = set; then
12413 $as_echo_n "(cached) " >&6
12415 if test -c /dev
/urandom
12417 userdb_cv_RANDOM
=/dev
/urandom
12419 if test -c /dev
/random
12421 userdb_cv_RANDOM
=/dev
/random
12423 userdb_cv_RANDOM
="none"
12428 { $as_echo "$as_me:$LINENO: result: $userdb_cv_RANDOM" >&5
12429 $as_echo "$userdb_cv_RANDOM" >&6; }
12430 random
="$userdb_cv_RANDOM"
12437 if test "$random" != "none"
12440 cat >>confdefs.h
<<_ACEOF
12441 #define RANDOM "$random"
12446 if test -d ${srcdir}/..
/docbook
; then
12448 HAVE_SGML_FALSE
='#'
12455 ac_config_files
="$ac_config_files Makefile userdb.pl makeuserdb pw2userdb"
12457 cat >confcache
<<\_ACEOF
12458 # This file is a shell script that caches the results of configure
12459 # tests run on this system so they can be shared between configure
12460 # scripts and configure runs, see configure's option --config-cache.
12461 # It is not useful on other systems. If it contains results you don't
12462 # want to keep, you may remove or edit it.
12464 # config.status only pays attention to the cache file if you give it
12465 # the --recheck option to rerun configure.
12467 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12468 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12469 # following values.
12473 # The following way of writing the cache mishandles newlines in values,
12474 # but we know of no workaround that is simple, portable, and efficient.
12475 # So, we kill variables containing newlines.
12476 # Ultrix sh set writes to stderr and can't be redirected directly,
12477 # and sets the high bit in the cache file unless we assign to the vars.
12479 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12480 eval ac_val
=\$
$ac_var
12484 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12485 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12488 _ | IFS | as_nl
) ;; #(
12489 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12490 *) $as_unset $ac_var ;;
12496 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12497 *${as_nl}ac_space
=\
*)
12498 # `set' does not quote correctly, so add quotes (double-quote
12499 # substitution turns \\\\ into \\, and sed turns \\ into \).
12502 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12505 # `set' quotes correctly as required by POSIX, so do not add quotes.
12506 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12515 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12517 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12519 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12520 if test -w "$cache_file"; then
12521 test "x$cache_file" != "x/dev/null" &&
12522 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12523 $as_echo "$as_me: updating cache $cache_file" >&6;}
12524 cat confcache
>$cache_file
12526 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12527 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12532 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12533 # Let make expand exec_prefix.
12534 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12536 # Transform confdefs.h into DEFS.
12537 # Protect against shell expansion while executing Makefile rules.
12538 # Protect against Makefile macro expansion.
12540 # If the first sed substitution is executed (which looks for macros that
12541 # take arguments), then branch to the quote section. Otherwise,
12542 # look for a macro that doesn't take arguments.
12552 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
12554 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
12558 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12571 DEFS
=`sed -n "$ac_script" confdefs.h`
12576 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12577 # 1. Remove the extension, and $U if already installed.
12578 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12579 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12580 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12581 # will be set to the directory where LIBOBJS objects are built.
12582 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12583 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12585 LIBOBJS
=$ac_libobjs
12587 LTLIBOBJS
=$ac_ltlibobjs
12590 if test -n "$EXEEXT"; then
12592 am__EXEEXT_FALSE
='#'
12594 am__EXEEXT_TRUE
='#'
12598 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12599 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12600 Usually this means the macro was only invoked conditionally." >&5
12601 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12602 Usually this means the macro was only invoked conditionally." >&2;}
12603 { (exit 1); exit 1; }; }
12605 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12606 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12607 Usually this means the macro was only invoked conditionally." >&5
12608 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12609 Usually this means the macro was only invoked conditionally." >&2;}
12610 { (exit 1); exit 1; }; }
12612 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
12613 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
12614 Usually this means the macro was only invoked conditionally." >&5
12615 $as_echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
12616 Usually this means the macro was only invoked conditionally." >&2;}
12617 { (exit 1); exit 1; }; }
12620 : ${CONFIG_STATUS=./config.status}
12622 ac_clean_files_save
=$ac_clean_files
12623 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12624 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12625 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12626 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12628 # Generated by $as_me.
12629 # Run this file to recreate the current configuration.
12630 # Compiler output produced by configure, useful for debugging
12631 # configure, is in config.log if it exists.
12634 ac_cs_recheck=false
12636 SHELL=\${CONFIG_SHELL-$SHELL}
12639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12640 ## --------------------- ##
12641 ## M4sh Initialization. ##
12642 ## --------------------- ##
12644 # Be more Bourne compatible
12645 DUALCASE
=1; export DUALCASE
# for MKS sh
12646 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12649 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12650 # is contrary to our usage. Disable this feature.
12651 alias -g '${1+"$@"}'='"$@"'
12652 setopt NO_GLOB_SUBST
12654 case `(set -o) 2>/dev/null` in
12655 *posix
*) set -o posix
;;
12664 # Avoid depending upon Character Ranges.
12665 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12666 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12667 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12668 as_cr_digits
='0123456789'
12669 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12674 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12675 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12676 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12677 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12678 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12679 as_echo='printf %s
\n'
12680 as_echo_n='printf %s
'
12682 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12683 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12684 as_echo_n='/usr
/ucb
/echo -n'
12686 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12687 as_echo_n_body='eval
12691 expr "X$arg" : "X\\(.*\\)$as_nl";
12692 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12694 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12696 export as_echo_n_body
12697 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12699 export as_echo_body
12700 as_echo='sh
-c $as_echo_body as_echo
'
12703 # The user is always right.
12704 if test "${PATH_SEPARATOR+set}" != set; then
12706 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12707 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12712 # Support unset when possible.
12713 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12721 # We need space, tab and new line, in precisely that order. Quoting is
12722 # there to prevent editors from complaining about space-tab.
12723 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12724 # splitting by setting IFS to empty value.)
12727 # Find who we are. Look in the path if we contain no directory separator.
12729 *[\\/]* ) as_myself=$0 ;;
12730 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12731 for as_dir in $PATH
12734 test -z "$as_dir" && as_dir=.
12735 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12741 # We did not find ourselves, most probably we were run as `sh COMMAND'
12742 # in which case we are not to be found in the path.
12743 if test "x$as_myself" = x
; then
12746 if test ! -f "$as_myself"; then
12747 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12748 { (exit 1); exit 1; }
12751 # Work around bugs in pre-3.0 UWIN ksh.
12752 for as_var
in ENV MAIL MAILPATH
12753 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12765 # Required to use basename.
12766 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12767 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12773 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12774 as_basename
=basename
12780 # Name of the executable.
12781 as_me
=`$as_basename -- "$0" ||
12782 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12783 X"$0" : 'X\(//\)$' \| \
12784 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12786 sed '/^.*\/\([^/][^/]*\)\/*$/{
12805 as_lineno_1
=$LINENO
12806 as_lineno_2
=$LINENO
12807 test "x$as_lineno_1" != "x$as_lineno_2" &&
12808 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12810 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12811 # uniformly replaced by the line number. The first 'sed' inserts a
12812 # line-number line after each line using $LINENO; the second 'sed'
12813 # does the real work. The second script uses 'N' to pair each
12814 # line-number line with the line containing $LINENO, and appends
12815 # trailing '-' during substitution so that $LINENO is not a special
12816 # case at line end.
12817 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12818 # scripts with optimization help from Paolo Bonzini. Blame Lee
12819 # E. McMahon (1931-1989) for sed's syntax. :-)
12831 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12834 ' >$as_me.lineno
&&
12835 chmod +x
"$as_me.lineno" ||
12836 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12837 { (exit 1); exit 1; }; }
12839 # Don't try to exec as it changes $[0], causing all sort of problems
12840 # (the dirname of $[0] is not the place where we might find the
12841 # original and so on. Autoconf is especially sensitive to this).
12842 .
"./$as_me.lineno"
12843 # Exit status is that of the last command.
12848 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12854 ECHO_C
= ECHO_N
= ECHO_T
=
12855 case `echo -n x` in
12857 case `echo 'x\c'` in
12858 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12864 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12865 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12871 rm -f conf$$ conf$$.exe conf$$.
file
12872 if test -d conf$$.dir
; then
12873 rm -f conf$$.dir
/conf$$.
file
12876 mkdir conf$$.dir
2>/dev
/null
12878 if (echo >conf$$.
file) 2>/dev
/null
; then
12879 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12881 # ... but there are two gotchas:
12882 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12883 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12884 # In both cases, we have to default to `cp -p'.
12885 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12887 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12895 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12896 rmdir conf$$.dir
2>/dev
/null
12898 if mkdir
-p .
2>/dev
/null
; then
12901 test -d .
/-p && rmdir .
/-p
12905 if test -x / >/dev
/null
2>&1; then
12906 as_test_x
='test -x'
12908 if ls -dL / >/dev
/null
2>&1; then
12915 if test -d "$1"; then
12921 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12922 ???[sx]*):;;*)false;;esac;fi
12926 as_executable_p
=$as_test_x
12928 # Sed expression to map a string onto a valid CPP name.
12929 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12931 # Sed expression to map a string onto a valid variable name.
12932 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12937 # Save the log message, to keep $[0] and so on meaningful, and to
12938 # report actual input values of CONFIG_FILES etc. instead of their
12939 # values after options handling.
12941 This file was extended by libuserdb $as_me 0.10, which was
12942 generated by GNU Autoconf 2.63. Invocation command line was
12944 CONFIG_FILES = $CONFIG_FILES
12945 CONFIG_HEADERS = $CONFIG_HEADERS
12946 CONFIG_LINKS = $CONFIG_LINKS
12947 CONFIG_COMMANDS = $CONFIG_COMMANDS
12950 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12955 case $ac_config_files in *"
12956 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12962 # Files that config.status was made for.
12963 config_files="$ac_config_files"
12964 config_commands="$ac_config_commands"
12968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12970 \`$as_me' instantiates files from templates according to the
12971 current configuration.
12973 Usage: $0 [OPTION]... [FILE]...
12975 -h, --help print this help, then exit
12976 -V, --version print version number and configuration settings, then exit
12977 -q, --quiet, --silent
12978 do not print progress messages
12979 -d, --debug don't remove temporary files
12980 --recheck update $as_me by reconfiguring in the same conditions
12981 --file=FILE[:TEMPLATE]
12982 instantiate the configuration file FILE
12984 Configuration files:
12987 Configuration commands:
12990 Report bugs to <bug-autoconf@gnu.org>."
12993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12995 libuserdb config.status 0.10
12996 configured by $0, generated by GNU Autoconf 2.63,
12997 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12999 Copyright (C) 2008 Free Software Foundation, Inc.
13000 This config.status script is free software; the Free Software Foundation
13001 gives unlimited permission to copy, distribute and modify it."
13008 test -n "\$AWK" || AWK=awk
13011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13012 # The default lists apply if the user does not specify any file.
13018 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13019 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13030 # Handling of the options.
13031 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13033 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13034 $as_echo "$ac_cs_version"; exit ;;
13035 --debug |
--debu |
--deb |
--de |
--d |
-d )
13037 --file |
--fil |
--fi |
--f )
13040 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13042 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13043 ac_need_defaults
=false
;;
13044 --he |
--h |
--help |
--hel |
-h )
13045 $as_echo "$ac_cs_usage"; exit ;;
13046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13047 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13050 # This is an error.
13051 -*) { $as_echo "$as_me: error: unrecognized option: $1
13052 Try \`$0 --help' for more information." >&2
13053 { (exit 1); exit 1; }; } ;;
13055 *) ac_config_targets
="$ac_config_targets $1"
13056 ac_need_defaults
=false
;;
13062 ac_configure_extra_args
=
13064 if $ac_cs_silent; then
13066 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13071 if \$ac_cs_recheck; then
13072 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13074 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13075 CONFIG_SHELL='$SHELL'
13076 export CONFIG_SHELL
13081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13085 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13086 ## Running $as_me. ##
13092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13096 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13099 # The HP-UX ksh and POSIX shell print the target directory to stdout
13100 # if CDPATH is set.
13101 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13103 sed_quote_subst='$sed_quote_subst'
13104 double_quote_subst='$double_quote_subst'
13105 delay_variable_subst='$delay_variable_subst'
13106 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13107 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13108 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13109 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13110 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13111 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13112 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13113 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13114 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13115 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13116 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13117 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13118 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13119 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13120 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13121 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13122 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13123 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13124 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13125 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13126 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13127 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13128 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13129 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13130 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13131 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13132 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13133 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13134 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13135 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13136 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13137 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13138 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13139 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13140 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13141 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13142 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13143 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13144 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13145 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13146 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13147 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13148 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13149 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13150 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"`'
13151 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"`'
13152 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13153 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13154 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13155 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13156 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13157 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13158 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13159 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13160 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13161 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13162 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13163 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13164 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13165 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13166 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13167 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13168 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13169 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13170 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13171 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13172 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13173 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13174 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13175 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13176 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13177 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13178 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13179 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13180 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13181 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13182 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13183 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13184 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13185 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13186 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13187 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13188 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13189 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13190 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13191 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13192 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13193 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13194 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13195 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13196 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13197 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13198 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13199 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13200 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13201 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13202 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13203 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13204 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13205 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13206 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13207 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13208 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13209 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13210 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13211 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13212 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13213 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13214 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13215 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13216 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13217 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13218 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13219 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13220 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13221 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13222 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13223 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13226 LTCFLAGS='$LTCFLAGS'
13227 compiler='$compiler_DEFAULT'
13229 # Quote evaled strings.
13241 deplibs_check_method \
13250 lt_cv_sys_global_symbol_pipe \
13251 lt_cv_sys_global_symbol_to_cdecl \
13252 lt_cv_sys_global_symbol_to_c_name_address \
13253 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13256 lt_prog_compiler_no_builtin_flag \
13257 lt_prog_compiler_wl \
13258 lt_prog_compiler_pic \
13259 lt_prog_compiler_static \
13260 lt_cv_prog_compiler_c_o \
13268 export_dynamic_flag_spec \
13269 whole_archive_flag_spec \
13270 compiler_needs_object \
13272 allow_undefined_flag \
13273 no_undefined_flag \
13274 hardcode_libdir_flag_spec \
13275 hardcode_libdir_flag_spec_ld \
13276 hardcode_libdir_separator \
13281 variables_saved_for_relink \
13283 library_names_spec \
13288 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13289 *[\\\\\\\`\\"\\\$]*)
13290 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13293 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13298 # Double-quote double-evaled strings.
13299 for var in reload_cmds \
13300 old_postinstall_cmds \
13301 old_postuninstall_cmds \
13303 extract_expsyms_cmds \
13304 old_archive_from_new_cmds \
13305 old_archive_from_expsyms_cmds \
13307 archive_expsym_cmds \
13309 module_expsym_cmds \
13310 export_symbols_cmds \
13313 postuninstall_cmds \
13315 sys_lib_search_path_spec \
13316 sys_lib_dlsearch_path_spec; do
13317 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13318 *[\\\\\\\`\\"\\\$]*)
13319 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13322 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13327 # Fix-up fallback echo if it was mangled by the above quoting rules.
13329 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13333 ac_aux_dir='$ac_aux_dir'
13334 xsi_shell='$xsi_shell'
13335 lt_shell_append='$lt_shell_append'
13337 # See if we are running on zsh, and set the options which allow our
13338 # commands through without removal of \ escapes INIT.
13339 if test -n "\${ZSH_VERSION+set}" ; then
13340 setopt NO_GLOB_SUBST
13346 TIMESTAMP='$TIMESTAMP'
13355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13357 # Handling of arguments.
13358 for ac_config_target
in $ac_config_targets
13360 case $ac_config_target in
13361 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13362 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13363 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13364 "userdb.pl") CONFIG_FILES
="$CONFIG_FILES userdb.pl" ;;
13365 "makeuserdb") CONFIG_FILES
="$CONFIG_FILES makeuserdb" ;;
13366 "pw2userdb") CONFIG_FILES
="$CONFIG_FILES pw2userdb" ;;
13368 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13369 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13370 { (exit 1); exit 1; }; };;
13375 # If the user did not use the arguments to specify the items to instantiate,
13376 # then the envvar interface is used. Set only those that are not.
13377 # We use the long form for the default assignment because of an extremely
13378 # bizarre bug on SunOS 4.1.3.
13379 if $ac_need_defaults; then
13380 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13381 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13384 # Have a temporary directory for convenience. Make it in the build tree
13385 # simply because there is no reason against having it here, and in addition,
13386 # creating and moving files from /tmp can sometimes cause problems.
13387 # Hook for its removal unless debugging.
13388 # Note that there is a small window in which the directory will not be cleaned:
13389 # after its creation but before its name has been assigned to `$tmp'.
13393 trap 'exit_status=$?
13394 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13396 trap '{ (exit 1); exit 1; }' 1 2 13 15
13398 # Create a (secure) tmp directory for tmp files.
13401 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13402 test -n "$tmp" && test -d "$tmp"
13405 tmp
=.
/conf$$
-$RANDOM
13406 (umask 077 && mkdir
"$tmp")
13409 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13410 { (exit 1); exit 1; }
13413 # Set up the scripts for CONFIG_FILES section.
13414 # No need to generate them if there are no CONFIG_FILES.
13415 # This happens for instance with `./config.status config.h'.
13416 if test -n "$CONFIG_FILES"; then
13420 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13421 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13424 ac_cs_awk_cr
=$ac_cr
13427 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13432 echo "cat >conf$$subs.awk <<_ACEOF" &&
13433 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13435 } >conf$$subs.sh ||
13436 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13437 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13438 { (exit 1); exit 1; }; }
13439 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13441 for ac_last_try in false false false false false :; do
13442 . ./conf$$subs.sh ||
13443 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13444 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13445 { (exit 1); exit 1; }; }
13447 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13448 if test $ac_delim_n = $ac_delim_num; then
13450 elif $ac_last_try; then
13451 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13452 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13453 { (exit 1); exit 1; }; }
13455 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13458 rm -f conf$$subs.sh
13460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13461 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13465 s/^/S["/; s
/!.
*/"]=/
13475 s/\(.\{148\}\).*/\1/
13477 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13482 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13489 s/\(.\{148\}\).*/\1/
13491 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13495 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13500 ' <conf$$subs.awk | sed '
13505 ' >>$CONFIG_STATUS || ac_write_fail=1
13506 rm -f conf$$subs.awk
13507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13509 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13510 for (key in S) S_is_set[key] = 1
13516 nfields = split(line, field, "@
")
13518 len = length(field[1])
13519 for (i = 2; i < nfields; i++) {
13521 keylen = length(key)
13522 if (S_is_set[key]) {
13524 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13525 len += length(value) + length(field[++i])
13536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13537 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13538 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13541 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13542 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
13543 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
13544 { (exit 1); exit 1; }; }
13547 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13548 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13549 # trailing colons and then remove the whole line if VPATH becomes empty
13550 # (actually we leave an empty line to preserve line numbers).
13551 if test "x
$srcdir" = x.; then
13552 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13553 s/:*\$(srcdir):*/:/
13554 s/:*\${srcdir}:*/:/
13556 s/^\([^=]*=[ ]*\):*/\1/
13562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13563 fi # test -n "$CONFIG_FILES"
13566 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
13571 :[FHLC]) ac_mode=$ac_tag; continue;;
13573 case $ac_mode$ac_tag in
13575 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error
: invalid tag
$ac_tag" >&5
13576 $as_echo "$as_me: error
: invalid tag
$ac_tag" >&2;}
13577 { (exit 1); exit 1; }; };;
13578 :[FH]-) ac_tag=-:-;;
13579 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13596 -) ac_f="$tmp/stdin
";;
13597 *) # Look for the file first in the build tree, then in the source tree
13598 # (if the path is not absolute). The absolute path cannot be DOS-style,
13599 # because $ac_f cannot contain `:'.
13603 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13605 { { $as_echo "$as_me:$LINENO: error
: cannot
find input
file: $ac_f" >&5
13606 $as_echo "$as_me: error
: cannot
find input
file: $ac_f" >&2;}
13607 { (exit 1); exit 1; }; };;
13609 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
13610 ac_file_inputs="$ac_file_inputs '$ac_f'"
13613 # Let's still pretend it is `configure' which instantiates (i.e., don't
13614 # use $as_me), people would be surprised to read:
13615 # /* config.h. Generated by config.status. */
13616 configure_input='Generated from '`
13617 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13619 if test x"$ac_file" != x-; then
13620 configure_input="$ac_file.
$configure_input"
13621 { $as_echo "$as_me:$LINENO: creating
$ac_file" >&5
13622 $as_echo "$as_me: creating
$ac_file" >&6;}
13624 # Neutralize special characters interpreted by sed in replacement strings.
13625 case $configure_input in #(
13626 *\&* | *\|* | *\\* )
13627 ac_sed_conf_input=`$as_echo "$configure_input" |
13628 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13629 *) ac_sed_conf_input=$configure_input;;
13633 *:-:* | *:-) cat >"$tmp/stdin
" \
13634 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
13635 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
13636 { (exit 1); exit 1; }; } ;;
13641 ac_dir=`$as_dirname -- "$ac_file" ||
13642 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13643 X"$ac_file" : 'X\(//\)[^/]' \| \
13644 X"$ac_file" : 'X\(//\)$' \| \
13645 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13646 $as_echo X"$ac_file" |
13647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13651 /^X\(\/\/\)[^/].*/{
13666 -*) as_dir=./$as_dir;;
13668 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13672 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
13673 *) as_qdir=$as_dir;;
13675 as_dirs="'$as_qdir' $as_dirs"
13676 as_dir=`$as_dirname -- "$as_dir" ||
13677 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13678 X"$as_dir" : 'X\(//\)[^/]' \| \
13679 X"$as_dir" : 'X\(//\)$' \| \
13680 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13681 $as_echo X"$as_dir" |
13682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13686 /^X\(\/\/\)[^/].*/{
13699 test -d "$as_dir" && break
13701 test -z "$as_dirs" || eval "mkdir
$as_dirs"
13702 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error
: cannot create directory
$as_dir" >&5
13703 $as_echo "$as_me: error
: cannot create directory
$as_dir" >&2;}
13704 { (exit 1); exit 1; }; }; }
13708 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13710 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13711 # A "..
" for each directory in $ac_dir_suffix.
13712 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13713 case $ac_top_builddir_sub in
13714 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13715 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13718 ac_abs_top_builddir=$ac_pwd
13719 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13720 # for backward compatibility:
13721 ac_top_builddir=$ac_top_build_prefix
13724 .) # We are building in place.
13726 ac_top_srcdir=$ac_top_builddir_sub
13727 ac_abs_top_srcdir=$ac_pwd ;;
13728 [\\/]* | ?:[\\/]* ) # Absolute name.
13729 ac_srcdir=$srcdir$ac_dir_suffix;
13730 ac_top_srcdir=$srcdir
13731 ac_abs_top_srcdir=$srcdir ;;
13732 *) # Relative name.
13733 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13734 ac_top_srcdir=$ac_top_build_prefix$srcdir
13735 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13737 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13747 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13748 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13750 ac_MKDIR_P=$MKDIR_P
13752 [\\/$]* | ?:[\\/]* ) ;;
13753 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13758 # If the template does not know about datarootdir, expand it.
13759 # FIXME: This hack should be removed a few years after 2.60.
13760 ac_datarootdir_hack=; ac_datarootdir_seen=
13773 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
13774 *datarootdir*) ac_datarootdir_seen=yes;;
13775 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13776 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
13777 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
13779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13780 ac_datarootdir_hack='
13781 s&@datadir@&$datadir&g
13782 s&@docdir@&$docdir&g
13783 s&@infodir@&$infodir&g
13784 s&@localedir@&$localedir&g
13785 s&@mandir@&$mandir&g
13786 s&\\\${datarootdir}&$datarootdir&g' ;;
13790 # Neutralize VPATH when `$srcdir' = `.'.
13791 # Shell code in configure.ac might set extrasub.
13792 # FIXME: do we really want to maintain this feature?
13793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13794 ac_sed_extra="$ac_vpsub
13797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13799 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13800 s|@configure_input@|
$ac_sed_conf_input|
;t t
13801 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13802 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13803 s
&@srcdir@
&$ac_srcdir&;t t
13804 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13805 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13806 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13807 s
&@builddir@
&$ac_builddir&;t t
13808 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13809 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13810 s
&@INSTALL@
&$ac_INSTALL&;t t
13811 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13812 $ac_datarootdir_hack
13814 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13815 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
13816 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
13817 { (exit 1); exit 1; }; }
13819 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13820 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13821 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13822 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13823 which seems to be undefined. Please make sure it is defined." >&5
13824 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13825 which seems to be undefined. Please make sure it is defined." >&2;}
13829 -) cat "$tmp/out" && rm -f "$tmp/out";;
13830 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13832 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13833 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13834 { (exit 1); exit 1; }; }
13838 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
13839 $as_echo "$as_me: executing $ac_file commands" >&6;}
13844 case $ac_file$ac_mode in
13845 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13846 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13847 # are listed without --file. Let's play safe and only
enable the
eval
13848 # if we detect the quoting.
13849 case $CONFIG_FILES in
13850 *\'*) eval set x
"$CONFIG_FILES" ;;
13851 *) set x
$CONFIG_FILES ;;
13856 # Strip MF so we end up with the name of the file.
13857 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13858 # Check whether this is an Automake generated Makefile or not.
13859 # We used to match only the files named `Makefile.in', but
13860 # some people rename them; so instead we look at the file content.
13861 # Grep'ing the first line is not enough: some people post-process
13862 # each Makefile.in and add a new line on top of each file to say so.
13863 # Grep'ing the whole file is not good either: AIX grep has a line
13864 # limit of 2048, but all sed's we know have understand at least 4000.
13865 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13866 dirpart
=`$as_dirname -- "$mf" ||
13867 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13868 X"$mf" : 'X\(//\)[^/]' \| \
13869 X"$mf" : 'X\(//\)$' \| \
13870 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13876 /^X\(\/\/\)[^/].*/{
13892 # Extract the definition of DEPDIR, am__include, and am__quote
13893 # from the Makefile without running `make'.
13894 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13895 test -z "$DEPDIR" && continue
13896 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13897 test -z "am__include" && continue
13898 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13899 # When using ansi2knr, U may be empty or an underscore; expand it
13900 U
=`sed -n 's/^U = //p' < "$mf"`
13901 # Find all dependency output files, they are included files with
13902 # $(DEPDIR) in their names. We invoke sed twice because it is the
13903 # simplest approach to changing $(DEPDIR) to its actual value in the
13905 for file in `sed -n "
13906 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13907 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13908 # Make sure the directory exists.
13909 test -f "$dirpart/$file" && continue
13910 fdir
=`$as_dirname -- "$file" ||
13911 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13912 X"$file" : 'X\(//\)[^/]' \| \
13913 X"$file" : 'X\(//\)$' \| \
13914 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13915 $as_echo X"$file" |
13916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13920 /^X\(\/\/\)[^/].*/{
13933 { as_dir
=$dirpart/$fdir
13935 -*) as_dir
=.
/$as_dir;;
13937 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13941 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13942 *) as_qdir
=$as_dir;;
13944 as_dirs
="'$as_qdir' $as_dirs"
13945 as_dir
=`$as_dirname -- "$as_dir" ||
13946 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13947 X"$as_dir" : 'X\(//\)[^/]' \| \
13948 X"$as_dir" : 'X\(//\)$' \| \
13949 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13950 $as_echo X"$as_dir" |
13951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13955 /^X\(\/\/\)[^/].*/{
13968 test -d "$as_dir" && break
13970 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13971 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13972 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13973 { (exit 1); exit 1; }; }; }
13974 # echo "creating $dirpart/$file"
13975 echo '# dummy' > "$dirpart/$file"
13982 # See if we are running on zsh, and set the options which allow our
13983 # commands through without removal of \ escapes.
13984 if test -n "${ZSH_VERSION+set}" ; then
13985 setopt NO_GLOB_SUBST
13988 cfgfile
="${ofile}T"
13989 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13992 cat <<_LT_EOF >> "$cfgfile"
13995 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13996 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13997 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13998 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14000 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14001 # 2006, 2007, 2008 Free Software Foundation, Inc.
14002 # Written by Gordon Matzigkeit, 1996
14004 # This file is part of GNU Libtool.
14006 # GNU Libtool is free software; you can redistribute it and/or
14007 # modify it under the terms of the GNU General Public License as
14008 # published by the Free Software Foundation; either version 2 of
14009 # the License, or (at your option) any later version.
14011 # As a special exception to the GNU General Public License,
14012 # if you distribute this file as part of a program or library that
14013 # is built using GNU Libtool, you may include this file under the
14014 # same distribution terms that you use for the rest of that program.
14016 # GNU Libtool is distributed in the hope that it will be useful,
14017 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14018 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14019 # GNU General Public License for more details.
14021 # You should have received a copy of the GNU General Public License
14022 # along with GNU Libtool; see the file COPYING. If not, a copy
14023 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14024 # obtained by writing to the Free Software Foundation, Inc.,
14025 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14028 # The names of the tagged configurations supported by this script.
14031 # ### BEGIN LIBTOOL CONFIG
14033 # Which release of libtool.m4 was used?
14034 macro_version=$macro_version
14035 macro_revision=$macro_revision
14037 # Whether or not to build shared libraries.
14038 build_libtool_libs=$enable_shared
14040 # Whether or not to build static libraries.
14041 build_old_libs=$enable_static
14043 # What type of objects to build.
14046 # Whether or not to optimize for fast installation.
14047 fast_install=$enable_fast_install
14050 host_alias=$host_alias
14054 # The build system.
14055 build_alias=$build_alias
14059 # A sed program that does not truncate output.
14062 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14063 Xsed="\$SED -e 1s/^X//"
14065 # A grep program that handles long lines.
14071 # A literal string matcher.
14074 # A BSD- or MS-compatible name lister.
14077 # Whether we need soft or hard links.
14080 # What is the maximum length of a command?
14081 max_cmd_len=$max_cmd_len
14083 # Object file suffix (normally "o").
14086 # Executable file suffix (normally "").
14089 # whether the shell understands "unset".
14092 # turn spaces into newlines.
14095 # turn newlines into spaces.
14098 # How to create reloadable object files.
14099 reload_flag=$lt_reload_flag
14100 reload_cmds=$lt_reload_cmds
14102 # An object symbol dumper.
14103 OBJDUMP=$lt_OBJDUMP
14105 # Method to check whether dependent libraries are shared objects.
14106 deplibs_check_method=$lt_deplibs_check_method
14108 # Command to use when deplibs_check_method == "file_magic".
14109 file_magic_cmd=$lt_file_magic_cmd
14113 AR_FLAGS=$lt_AR_FLAGS
14115 # A symbol stripping program.
14118 # Commands used to install an old-style archive.
14120 old_postinstall_cmds=$lt_old_postinstall_cmds
14121 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14126 # LTCC compiler flags.
14127 LTCFLAGS=$lt_CFLAGS
14129 # Take the output of nm and produce a listing of raw symbols and C names.
14130 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14132 # Transform the output of nm in a proper C declaration.
14133 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14135 # Transform the output of nm in a C name address pair.
14136 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14138 # Transform the output of nm in a C name address pair when lib prefix is needed.
14139 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14141 # The name of the directory that contains temporary libtool files.
14144 # Shell to use when invoking shell scripts.
14147 # An echo program that does not interpret backslashes.
14150 # Used to examine libraries when file_magic_cmd begins with "file".
14151 MAGIC_CMD=$MAGIC_CMD
14153 # Must we lock files when doing compilation?
14154 need_locks=$lt_need_locks
14156 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14157 DSYMUTIL=$lt_DSYMUTIL
14159 # Tool to change global to local symbols on Mac OS X.
14162 # Tool to manipulate fat objects and archives on Mac OS X.
14165 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14168 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14169 OTOOL64=$lt_OTOOL64
14171 # Old archive suffix (normally "a").
14174 # Shared library suffix (normally ".so").
14175 shrext_cmds=$lt_shrext_cmds
14177 # The commands to extract the exported symbol list from a shared archive.
14178 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14180 # Variables whose values should be saved in libtool wrapper scripts and
14181 # restored at link time.
14182 variables_saved_for_relink=$lt_variables_saved_for_relink
14184 # Do we need the "lib" prefix for modules?
14185 need_lib_prefix=$need_lib_prefix
14187 # Do we need a version for libraries?
14188 need_version=$need_version
14190 # Library versioning type.
14191 version_type=$version_type
14193 # Shared library runtime path variable.
14194 runpath_var=$runpath_var
14196 # Shared library path variable.
14197 shlibpath_var=$shlibpath_var
14199 # Is shlibpath searched before the hard-coded library search path?
14200 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14202 # Format of library name prefix.
14203 libname_spec=$lt_libname_spec
14205 # List of archive names. First name is the real one, the rest are links.
14206 # The last name is the one that the linker finds with -lNAME
14207 library_names_spec=$lt_library_names_spec
14209 # The coded name of the library, if different from the real name.
14210 soname_spec=$lt_soname_spec
14212 # Command to use after installation of a shared archive.
14213 postinstall_cmds=$lt_postinstall_cmds
14215 # Command to use after uninstallation of a shared archive.
14216 postuninstall_cmds=$lt_postuninstall_cmds
14218 # Commands used to finish a libtool library installation in a directory.
14219 finish_cmds=$lt_finish_cmds
14221 # As "finish_cmds", except a single script fragment to be evaled but
14223 finish_eval=$lt_finish_eval
14225 # Whether we should hardcode library paths into libraries.
14226 hardcode_into_libs=$hardcode_into_libs
14228 # Compile-time system search path for libraries.
14229 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14231 # Run-time system search path for libraries.
14232 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14234 # Whether dlopen is supported.
14235 dlopen_support=$enable_dlopen
14237 # Whether dlopen of programs is supported.
14238 dlopen_self=$enable_dlopen_self
14240 # Whether dlopen of statically linked programs is supported.
14241 dlopen_self_static=$enable_dlopen_self_static
14243 # Commands to strip libraries.
14244 old_striplib=$lt_old_striplib
14245 striplib=$lt_striplib
14248 # The linker used to build libraries.
14251 # Commands used to build an old-style archive.
14252 old_archive_cmds=$lt_old_archive_cmds
14254 # A language specific compiler.
14257 # Is the compiler the GNU compiler?
14260 # Compiler flag to turn off builtin functions.
14261 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14263 # How to pass a linker flag through the compiler.
14264 wl=$lt_lt_prog_compiler_wl
14266 # Additional compiler flags for building library objects.
14267 pic_flag=$lt_lt_prog_compiler_pic
14269 # Compiler flag to prevent dynamic linking.
14270 link_static_flag=$lt_lt_prog_compiler_static
14272 # Does compiler simultaneously support -c and -o options?
14273 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14275 # Whether or not to add -lc for building shared libraries.
14276 build_libtool_need_lc=$archive_cmds_need_lc
14278 # Whether or not to disallow shared libs when runtime libs are static.
14279 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14281 # Compiler flag to allow reflexive dlopens.
14282 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14284 # Compiler flag to generate shared objects directly from archives.
14285 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14287 # Whether the compiler copes with passing no objects directly.
14288 compiler_needs_object=$lt_compiler_needs_object
14290 # Create an old-style archive from a shared archive.
14291 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14293 # Create a temporary old-style archive to link instead of a shared archive.
14294 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14296 # Commands used to build a shared archive.
14297 archive_cmds=$lt_archive_cmds
14298 archive_expsym_cmds=$lt_archive_expsym_cmds
14300 # Commands used to build a loadable module if different from building
14301 # a shared archive.
14302 module_cmds=$lt_module_cmds
14303 module_expsym_cmds=$lt_module_expsym_cmds
14305 # Whether we are building with GNU ld or not.
14306 with_gnu_ld=$lt_with_gnu_ld
14308 # Flag that allows shared libraries with undefined symbols to be built.
14309 allow_undefined_flag=$lt_allow_undefined_flag
14311 # Flag that enforces no undefined symbols.
14312 no_undefined_flag=$lt_no_undefined_flag
14314 # Flag to hardcode \$libdir into a binary during linking.
14315 # This must work even if \$libdir does not exist
14316 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14318 # If ld is used when linking, flag to hardcode \$libdir into a binary
14319 # during linking. This must work even if \$libdir does not exist.
14320 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14322 # Whether we need a single "-rpath" flag with a separated argument.
14323 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14325 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14326 # DIR into the resulting binary.
14327 hardcode_direct=$hardcode_direct
14329 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14330 # DIR into the resulting binary and the resulting library dependency is
14331 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14332 # library is relocated.
14333 hardcode_direct_absolute=$hardcode_direct_absolute
14335 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14336 # into the resulting binary.
14337 hardcode_minus_L=$hardcode_minus_L
14339 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14340 # into the resulting binary.
14341 hardcode_shlibpath_var=$hardcode_shlibpath_var
14343 # Set to "yes" if building a shared library automatically hardcodes DIR
14344 # into the library and all subsequent libraries and executables linked
14346 hardcode_automatic=$hardcode_automatic
14348 # Set to yes if linker adds runtime paths of dependent libraries
14349 # to runtime path list.
14350 inherit_rpath=$inherit_rpath
14352 # Whether libtool must link a program against all its dependency libraries.
14353 link_all_deplibs=$link_all_deplibs
14355 # Fix the shell variable \$srcfile for the compiler.
14356 fix_srcfile_path=$lt_fix_srcfile_path
14358 # Set to "yes" if exported symbols are required.
14359 always_export_symbols=$always_export_symbols
14361 # The commands to list exported symbols.
14362 export_symbols_cmds=$lt_export_symbols_cmds
14364 # Symbols that should not be listed in the preloaded symbols.
14365 exclude_expsyms=$lt_exclude_expsyms
14367 # Symbols that must always be exported.
14368 include_expsyms=$lt_include_expsyms
14370 # Commands necessary for linking programs (against libraries) with templates.
14371 prelink_cmds=$lt_prelink_cmds
14373 # Specify filename containing input files.
14374 file_list_spec=$lt_file_list_spec
14376 # How to hardcode a shared library path into an executable.
14377 hardcode_action=$hardcode_action
14379 # ### END LIBTOOL CONFIG
14385 cat <<\_LT_EOF
>> "$cfgfile"
14386 # AIX sometimes has problems with the GCC collect2 program. For some
14387 # reason, if we set the COLLECT_NAMES environment variable, the problems
14388 # vanish in a puff of smoke.
14389 if test "X${COLLECT_NAMES+set}" != Xset
; then
14391 export COLLECT_NAMES
14398 ltmain
="$ac_aux_dir/ltmain.sh"
14401 # We use sed instead of cat because bash on DJGPP gets confused if
14402 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14403 # text mode, it properly converts lines to CR/LF. This bash problem
14404 # is reportedly fixed, but why not run on old versions too?
14405 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14406 ||
(rm -f "$cfgfile"; exit 1)
14410 cat << \_LT_EOF
>> "$cfgfile"
14412 # func_dirname file append nondir_replacement
14413 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14414 # otherwise set result to NONDIR_REPLACEMENT.
14418 */*) func_dirname_result
="${1%/*}${2}" ;;
14419 * ) func_dirname_result
="${3}" ;;
14423 # func_basename file
14426 func_basename_result
="${1##*/}"
14429 # func_dirname_and_basename file append nondir_replacement
14430 # perform func_basename and func_dirname in a single function
14432 # dirname: Compute the dirname of FILE. If nonempty,
14433 # add APPEND to the result, otherwise set result
14434 # to NONDIR_REPLACEMENT.
14435 # value returned in "$func_dirname_result"
14436 # basename: Compute filename of FILE.
14437 # value retuned in "$func_basename_result"
14438 # Implementation must be kept synchronized with func_dirname
14439 # and func_basename. For efficiency, we do not delegate to
14440 # those functions but instead duplicate the functionality here.
14441 func_dirname_and_basename
()
14444 */*) func_dirname_result
="${1%/*}${2}" ;;
14445 * ) func_dirname_result
="${3}" ;;
14447 func_basename_result
="${1##*/}"
14450 # func_stripname prefix suffix name
14451 # strip PREFIX and SUFFIX off of NAME.
14452 # PREFIX and SUFFIX must not contain globbing or regex special
14453 # characters, hashes, percent signs, but SUFFIX may contain a leading
14454 # dot (in which case that matches only a dot).
14457 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14458 # positional parameters, so assign one to ordinary parameter first.
14459 func_stripname_result
=${3}
14460 func_stripname_result
=${func_stripname_result#"${1}"}
14461 func_stripname_result
=${func_stripname_result%"${2}"}
14467 func_opt_split_opt
=${1%%=*}
14468 func_opt_split_arg
=${1#*=}
14475 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14476 *) func_lo2o_result
=${1} ;;
14480 # func_xform libobj-or-source
14483 func_xform_result
=${1%.*}.lo
14486 # func_arith arithmetic-term...
14489 func_arith_result
=$
(( $
* ))
14493 # STRING may not start with a hyphen.
14496 func_len_result
=${#1}
14501 *) # Bourne compatible functions.
14502 cat << \_LT_EOF
>> "$cfgfile"
14504 # func_dirname file append nondir_replacement
14505 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14506 # otherwise set result to NONDIR_REPLACEMENT.
14509 # Extract subdirectory from the argument.
14510 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14511 if test "X$func_dirname_result" = "X${1}"; then
14512 func_dirname_result
="${3}"
14514 func_dirname_result
="$func_dirname_result${2}"
14518 # func_basename file
14521 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
14525 # func_stripname prefix suffix name
14526 # strip PREFIX and SUFFIX off of NAME.
14527 # PREFIX and SUFFIX must not contain globbing or regex special
14528 # characters, hashes, percent signs, but SUFFIX may contain a leading
14529 # dot (in which case that matches only a dot).
14530 # func_strip_suffix prefix name
14534 .
*) func_stripname_result
=`$ECHO "X${3}" \
14535 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14536 *) func_stripname_result
=`$ECHO "X${3}" \
14537 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14542 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14543 my_sed_long_arg
='1s/^-[^=]*=//'
14548 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14549 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14555 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14558 # func_xform libobj-or-source
14561 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14564 # func_arith arithmetic-term...
14567 func_arith_result
=`expr "$@"`
14571 # STRING may not start with a hyphen.
14574 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14580 case $lt_shell_append in
14582 cat << \_LT_EOF
>> "$cfgfile"
14584 # func_append var value
14585 # Append VALUE to the end of shell variable VAR.
14593 cat << \_LT_EOF
>> "$cfgfile"
14595 # func_append var value
14596 # Append VALUE to the end of shell variable VAR.
14607 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14608 ||
(rm -f "$cfgfile"; exit 1)
14610 mv -f "$cfgfile" "$ofile" ||
14611 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14620 { (exit 0); exit 0; }
14622 chmod +x
$CONFIG_STATUS
14623 ac_clean_files
=$ac_clean_files_save
14625 test $ac_write_fail = 0 ||
14626 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14627 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14628 { (exit 1); exit 1; }; }
14631 # configure is writing to config.log, and then calls config.status.
14632 # config.status does its own redirection, appending to config.log.
14633 # Unfortunately, on DOS this fails, as config.log is still kept open
14634 # by configure, so config.status won't be able to write to it; its
14635 # output is simply discarded. So we exec the FD to /dev/null,
14636 # effectively closing config.log, so it can be properly (re)opened and
14637 # appended to by config.status. When coming back to configure, we
14638 # need to make the FD available again.
14639 if test "$no_create" != yes; then
14641 ac_config_status_args
=
14642 test "$silent" = yes &&
14643 ac_config_status_args
="$ac_config_status_args --quiet"
14645 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14647 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14648 # would make configure fail if this is the last instruction.
14649 $ac_cs_success ||
{ (exit 1); exit 1; }
14651 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14652 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14653 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}