1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 1015 2009-10-25 00:08:06Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 1245 2011-09-30 14:58:29Z michael . |
3 |
|
# Guess values for system-dependent variables and create Makefiles. |
4 |
< |
# Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1. |
4 |
> |
# Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1. |
5 |
|
# |
6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
7 |
|
# |
8 |
|
# |
9 |
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
10 |
< |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
11 |
< |
# Inc. |
10 |
> |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
11 |
> |
# Foundation, Inc. |
12 |
|
# |
13 |
|
# |
14 |
|
# This configure script is free software; the Free Software Foundation |
92 |
|
IFS=" "" $as_nl" |
93 |
|
|
94 |
|
# Find who we are. Look in the path if we contain no directory separator. |
95 |
+ |
as_myself= |
96 |
|
case $0 in #(( |
97 |
|
*[\\/]* ) as_myself=$0 ;; |
98 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
175 |
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
176 |
|
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
177 |
|
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
178 |
+ |
|
179 |
+ |
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
180 |
+ |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
181 |
+ |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
182 |
+ |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
183 |
+ |
PATH=/empty FPATH=/empty; export PATH FPATH |
184 |
+ |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
185 |
+ |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
186 |
|
test \$(( 1 + 1 )) = 2 || exit 1" |
187 |
|
if (eval "$as_required") 2>/dev/null; then : |
188 |
|
as_have_required=yes |
226 |
|
# We cannot yet assume a decent shell, so we have to provide a |
227 |
|
# neutralization value for shells without unset; and this also |
228 |
|
# works around shells that cannot unset nonexistent variables. |
229 |
+ |
# Preserve -v and -x to the replacement shell. |
230 |
|
BASH_ENV=/dev/null |
231 |
|
ENV=/dev/null |
232 |
|
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
233 |
|
export CONFIG_SHELL |
234 |
< |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
234 |
> |
case $- in # (((( |
235 |
> |
*v*x* | *x*v* ) as_opts=-vx ;; |
236 |
> |
*v* ) as_opts=-v ;; |
237 |
> |
*x* ) as_opts=-x ;; |
238 |
> |
* ) as_opts= ;; |
239 |
> |
esac |
240 |
> |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
241 |
|
fi |
242 |
|
|
243 |
|
if test x$as_have_required = xno; then : |
336 |
|
test -d "$as_dir" && break |
337 |
|
done |
338 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
339 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
339 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
340 |
|
|
341 |
|
|
342 |
|
} # as_fn_mkdir_p |
376 |
|
fi # as_fn_arith |
377 |
|
|
378 |
|
|
379 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
380 |
< |
# --------------------------------- |
379 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
380 |
> |
# ---------------------------------------- |
381 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
382 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
383 |
< |
# script with status $?, using 1 if that was 0. |
383 |
> |
# script with STATUS, using 1 if that was 0. |
384 |
|
as_fn_error () |
385 |
|
{ |
386 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
387 |
< |
if test "$3"; then |
388 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
389 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
386 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
387 |
> |
if test "$4"; then |
388 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
389 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
390 |
|
fi |
391 |
< |
$as_echo "$as_me: error: $1" >&2 |
391 |
> |
$as_echo "$as_me: error: $2" >&2 |
392 |
|
as_fn_exit $as_status |
393 |
|
} # as_fn_error |
394 |
|
|
545 |
|
# Sed expression to map a string onto a valid variable name. |
546 |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
547 |
|
|
548 |
+ |
lt_ltdl_dir='libltdl' |
549 |
|
|
533 |
– |
|
534 |
– |
# Check that we are running under the correct shell. |
550 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
551 |
|
|
537 |
– |
case X$lt_ECHO in |
538 |
– |
X*--fallback-echo) |
539 |
– |
# Remove one level of quotation (which was required for Make). |
540 |
– |
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` |
541 |
– |
;; |
542 |
– |
esac |
543 |
– |
|
544 |
– |
ECHO=${lt_ECHO-echo} |
545 |
– |
if test "X$1" = X--no-reexec; then |
546 |
– |
# Discard the --no-reexec flag, and continue. |
547 |
– |
shift |
548 |
– |
elif test "X$1" = X--fallback-echo; then |
549 |
– |
# Avoid inline document here, it may be left over |
550 |
– |
: |
551 |
– |
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
552 |
– |
# Yippee, $ECHO works! |
553 |
– |
: |
554 |
– |
else |
555 |
– |
# Restart under the correct shell. |
556 |
– |
exec $SHELL "$0" --no-reexec ${1+"$@"} |
557 |
– |
fi |
558 |
– |
|
559 |
– |
if test "X$1" = X--fallback-echo; then |
560 |
– |
# used as fallback echo |
561 |
– |
shift |
562 |
– |
cat <<_LT_EOF |
563 |
– |
$* |
564 |
– |
_LT_EOF |
565 |
– |
exit 0 |
566 |
– |
fi |
567 |
– |
|
568 |
– |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
569 |
– |
# if CDPATH is set. |
570 |
– |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
571 |
– |
|
572 |
– |
if test -z "$lt_ECHO"; then |
573 |
– |
if test "X${echo_test_string+set}" != Xset; then |
574 |
– |
# find a string as large as possible, as long as the shell can cope with it |
575 |
– |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
576 |
– |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
577 |
– |
if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
578 |
– |
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
579 |
– |
then |
580 |
– |
break |
581 |
– |
fi |
582 |
– |
done |
583 |
– |
fi |
584 |
– |
|
585 |
– |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
586 |
– |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
587 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
588 |
– |
: |
589 |
– |
else |
590 |
– |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
591 |
– |
# backslashes. This makes it impossible to quote backslashes using |
592 |
– |
# echo "$something" | sed 's/\\/\\\\/g' |
593 |
– |
# |
594 |
– |
# So, first we look for a working echo in the user's PATH. |
595 |
– |
|
596 |
– |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
597 |
– |
for dir in $PATH /usr/ucb; do |
598 |
– |
IFS="$lt_save_ifs" |
599 |
– |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
600 |
– |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
601 |
– |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
602 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
603 |
– |
ECHO="$dir/echo" |
604 |
– |
break |
605 |
– |
fi |
606 |
– |
done |
607 |
– |
IFS="$lt_save_ifs" |
608 |
– |
|
609 |
– |
if test "X$ECHO" = Xecho; then |
610 |
– |
# We didn't find a better echo, so look for alternatives. |
611 |
– |
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
612 |
– |
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
613 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
614 |
– |
# This shell has a builtin print -r that does the trick. |
615 |
– |
ECHO='print -r' |
616 |
– |
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
617 |
– |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
618 |
– |
# If we have ksh, try running configure again with it. |
619 |
– |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
620 |
– |
export ORIGINAL_CONFIG_SHELL |
621 |
– |
CONFIG_SHELL=/bin/ksh |
622 |
– |
export CONFIG_SHELL |
623 |
– |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
624 |
– |
else |
625 |
– |
# Try using printf. |
626 |
– |
ECHO='printf %s\n' |
627 |
– |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
628 |
– |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
629 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
630 |
– |
# Cool, printf works |
631 |
– |
: |
632 |
– |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
633 |
– |
test "X$echo_testing_string" = 'X\t' && |
634 |
– |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
635 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
636 |
– |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
637 |
– |
export CONFIG_SHELL |
638 |
– |
SHELL="$CONFIG_SHELL" |
639 |
– |
export SHELL |
640 |
– |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
641 |
– |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
642 |
– |
test "X$echo_testing_string" = 'X\t' && |
643 |
– |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
644 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
645 |
– |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
646 |
– |
else |
647 |
– |
# maybe with a smaller string... |
648 |
– |
prev=: |
649 |
– |
|
650 |
– |
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
651 |
– |
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
652 |
– |
then |
653 |
– |
break |
654 |
– |
fi |
655 |
– |
prev="$cmd" |
656 |
– |
done |
657 |
– |
|
658 |
– |
if test "$prev" != 'sed 50q "$0"'; then |
659 |
– |
echo_test_string=`eval $prev` |
660 |
– |
export echo_test_string |
661 |
– |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
662 |
– |
else |
663 |
– |
# Oops. We lost completely, so just stick with echo. |
664 |
– |
ECHO=echo |
665 |
– |
fi |
666 |
– |
fi |
667 |
– |
fi |
668 |
– |
fi |
669 |
– |
fi |
670 |
– |
fi |
671 |
– |
|
672 |
– |
# Copy echo and quote the copy suitably for passing to libtool from |
673 |
– |
# the Makefile, instead of quoting the original, which is used later. |
674 |
– |
lt_ECHO=$ECHO |
675 |
– |
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
676 |
– |
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
677 |
– |
fi |
678 |
– |
|
679 |
– |
|
680 |
– |
|
681 |
– |
|
682 |
– |
lt_ltdl_dir='libltdl' |
683 |
– |
|
684 |
– |
lt_dlopen_dir="$lt_ltdl_dir" |
552 |
|
|
553 |
|
test -n "$DJDIR" || exec 7<&0 </dev/null |
554 |
|
exec 6>&1 |
555 |
|
|
556 |
|
# Name of the host. |
557 |
< |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
557 |
> |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
558 |
|
# so uname gets run too. |
559 |
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
560 |
|
|
573 |
|
# Identity of this package. |
574 |
|
PACKAGE_NAME='ircd-hybrid' |
575 |
|
PACKAGE_TARNAME='ircd-hybrid' |
576 |
< |
PACKAGE_VERSION='7.3-rc1' |
577 |
< |
PACKAGE_STRING='ircd-hybrid 7.3-rc1' |
576 |
> |
PACKAGE_VERSION='8beta1' |
577 |
> |
PACKAGE_STRING='ircd-hybrid 8beta1' |
578 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
579 |
|
PACKAGE_URL='' |
580 |
|
|
615 |
|
# include <unistd.h> |
616 |
|
#endif" |
617 |
|
|
751 |
– |
enable_option_checking=no |
618 |
|
ac_func_list= |
619 |
|
ac_header_list= |
620 |
|
ac_subst_vars='ltdl_LTLIBOBJS |
636 |
|
ENABLE_PCRE_TRUE |
637 |
|
LTDLOPEN |
638 |
|
LT_CONFIG_H |
773 |
– |
subdirs |
639 |
|
CONVENIENCE_LTDL_FALSE |
640 |
|
CONVENIENCE_LTDL_TRUE |
641 |
|
INSTALL_LTDL_FALSE |
658 |
|
LIPO |
659 |
|
NMEDIT |
660 |
|
DSYMUTIL |
661 |
< |
lt_ECHO |
661 |
> |
MANIFEST_TOOL |
662 |
|
RANLIB |
663 |
+ |
ac_ct_AR |
664 |
|
AR |
665 |
+ |
DLLTOOL |
666 |
|
OBJDUMP |
667 |
|
LN_S |
668 |
|
NM |
777 |
|
with_pic |
778 |
|
enable_fast_install |
779 |
|
with_gnu_ld |
780 |
+ |
with_sysroot |
781 |
|
enable_libtool_lock |
782 |
|
with_included_ltdl |
783 |
|
with_ltdl_include |
816 |
|
YACC |
817 |
|
YFLAGS |
818 |
|
CPP' |
819 |
< |
ac_subdirs_all='libltdl' |
819 |
> |
|
820 |
|
|
821 |
|
# Initialize some variables set by options. |
822 |
|
ac_init_help= |
878 |
|
fi |
879 |
|
|
880 |
|
case $ac_option in |
881 |
< |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
882 |
< |
*) ac_optarg=yes ;; |
881 |
> |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
882 |
> |
*=) ac_optarg= ;; |
883 |
> |
*) ac_optarg=yes ;; |
884 |
|
esac |
885 |
|
|
886 |
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
925 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
926 |
|
# Reject names that are not valid shell variable names. |
927 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
928 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
928 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
929 |
|
ac_useropt_orig=$ac_useropt |
930 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
931 |
|
case $ac_user_opts in |
951 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
952 |
|
# Reject names that are not valid shell variable names. |
953 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
954 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
954 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
955 |
|
ac_useropt_orig=$ac_useropt |
956 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
957 |
|
case $ac_user_opts in |
1155 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1156 |
|
# Reject names that are not valid shell variable names. |
1157 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1158 |
< |
as_fn_error "invalid package name: $ac_useropt" |
1158 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
1159 |
|
ac_useropt_orig=$ac_useropt |
1160 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1161 |
|
case $ac_user_opts in |
1171 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1172 |
|
# Reject names that are not valid shell variable names. |
1173 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1174 |
< |
as_fn_error "invalid package name: $ac_useropt" |
1174 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
1175 |
|
ac_useropt_orig=$ac_useropt |
1176 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1177 |
|
case $ac_user_opts in |
1201 |
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1202 |
|
x_libraries=$ac_optarg ;; |
1203 |
|
|
1204 |
< |
-*) as_fn_error "unrecognized option: \`$ac_option' |
1205 |
< |
Try \`$0 --help' for more information." |
1204 |
> |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1205 |
> |
Try \`$0 --help' for more information" |
1206 |
|
;; |
1207 |
|
|
1208 |
|
*=*) |
1210 |
|
# Reject names that are not valid shell variable names. |
1211 |
|
case $ac_envvar in #( |
1212 |
|
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
1213 |
< |
as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1213 |
> |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1214 |
|
esac |
1215 |
|
eval $ac_envvar=\$ac_optarg |
1216 |
|
export $ac_envvar ;; |
1220 |
|
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1221 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1222 |
|
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1223 |
< |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1223 |
> |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1224 |
|
;; |
1225 |
|
|
1226 |
|
esac |
1228 |
|
|
1229 |
|
if test -n "$ac_prev"; then |
1230 |
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1231 |
< |
as_fn_error "missing argument to $ac_option" |
1231 |
> |
as_fn_error $? "missing argument to $ac_option" |
1232 |
|
fi |
1233 |
|
|
1234 |
|
if test -n "$ac_unrecognized_opts"; then |
1235 |
|
case $enable_option_checking in |
1236 |
|
no) ;; |
1237 |
< |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1237 |
> |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1238 |
|
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1239 |
|
esac |
1240 |
|
fi |
1257 |
|
[\\/$]* | ?:[\\/]* ) continue;; |
1258 |
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1259 |
|
esac |
1260 |
< |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1260 |
> |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1261 |
|
done |
1262 |
|
|
1263 |
|
# There might be people who depend on the old broken behavior: `$host' |
1271 |
|
if test "x$host_alias" != x; then |
1272 |
|
if test "x$build_alias" = x; then |
1273 |
|
cross_compiling=maybe |
1274 |
< |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1275 |
< |
If a cross compiler is detected then cross compile mode will be used." >&2 |
1274 |
> |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1275 |
> |
If a cross compiler is detected then cross compile mode will be used" >&2 |
1276 |
|
elif test "x$build_alias" != "x$host_alias"; then |
1277 |
|
cross_compiling=yes |
1278 |
|
fi |
1287 |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1288 |
|
ac_ls_di=`ls -di .` && |
1289 |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1290 |
< |
as_fn_error "working directory cannot be determined" |
1290 |
> |
as_fn_error $? "working directory cannot be determined" |
1291 |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1292 |
< |
as_fn_error "pwd does not report name of working directory" |
1292 |
> |
as_fn_error $? "pwd does not report name of working directory" |
1293 |
|
|
1294 |
|
|
1295 |
|
# Find the source files, if location was not specified. |
1328 |
|
fi |
1329 |
|
if test ! -r "$srcdir/$ac_unique_file"; then |
1330 |
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1331 |
< |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1331 |
> |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1332 |
|
fi |
1333 |
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1334 |
|
ac_abs_confdir=`( |
1335 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1335 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1336 |
|
pwd)` |
1337 |
|
# When building in place, set srcdir=. |
1338 |
|
if test "$ac_abs_confdir" = "$ac_pwd"; then |
1358 |
|
# Omit some internal or obsolete options to make the list less imposing. |
1359 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
1360 |
|
cat <<_ACEOF |
1361 |
< |
\`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems. |
1361 |
> |
\`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems. |
1362 |
|
|
1363 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
1364 |
|
|
1372 |
|
--help=short display options specific to this package |
1373 |
|
--help=recursive display the short help of all the included packages |
1374 |
|
-V, --version display version information and exit |
1375 |
< |
-q, --quiet, --silent do not print \`checking...' messages |
1375 |
> |
-q, --quiet, --silent do not print \`checking ...' messages |
1376 |
|
--cache-file=FILE cache test results in FILE [disabled] |
1377 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
1378 |
|
-n, --no-create do not create output files |
1428 |
|
|
1429 |
|
if test -n "$ac_init_help"; then |
1430 |
|
case $ac_init_help in |
1431 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";; |
1431 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";; |
1432 |
|
esac |
1433 |
|
cat <<\_ACEOF |
1434 |
|
|
1472 |
|
--with-pic try to use only PIC/non-PIC objects [default=use |
1473 |
|
both] |
1474 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1475 |
+ |
--with-sysroot=DIR Search for dependent libraries within DIR |
1476 |
+ |
(or the compiler's sysroot if not specified). |
1477 |
|
--with-included-ltdl use the GNU ltdl sources included here |
1478 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
1479 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
1493 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
1494 |
|
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1495 |
|
you have headers in a nonstandard directory <include dir> |
1496 |
< |
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
1497 |
< |
the first program found out of: `bison -y', `byacc', `yacc'. |
1496 |
> |
YACC The `Yet Another Compiler Compiler' implementation to use. |
1497 |
> |
Defaults to the first program found out of: `bison -y', `byacc', |
1498 |
> |
`yacc'. |
1499 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
1500 |
|
This script will default YFLAGS to the empty string to avoid a |
1501 |
|
default value of `-d' given by some make applications. |
1567 |
|
test -n "$ac_init_help" && exit $ac_status |
1568 |
|
if $ac_init_version; then |
1569 |
|
cat <<\_ACEOF |
1570 |
< |
ircd-hybrid configure 7.3-rc1 |
1571 |
< |
generated by GNU Autoconf 2.65 |
1570 |
> |
ircd-hybrid configure 8beta1 |
1571 |
> |
generated by GNU Autoconf 2.68 |
1572 |
|
|
1573 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
1573 |
> |
Copyright (C) 2010 Free Software Foundation, Inc. |
1574 |
|
This configure script is free software; the Free Software Foundation |
1575 |
|
gives unlimited permission to copy, distribute and modify it. |
1576 |
|
_ACEOF |
1614 |
|
|
1615 |
|
ac_retval=1 |
1616 |
|
fi |
1617 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1617 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1618 |
|
as_fn_set_status $ac_retval |
1619 |
|
|
1620 |
|
} # ac_fn_c_try_compile |
1660 |
|
# interfere with the next link command; also delete a directory that is |
1661 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
1662 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1663 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1663 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1664 |
|
as_fn_set_status $ac_retval |
1665 |
|
|
1666 |
|
} # ac_fn_c_try_link |
1674 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1675 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1676 |
|
$as_echo_n "checking for $2... " >&6; } |
1677 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1677 |
> |
if eval \${$3+:} false; then : |
1678 |
|
$as_echo_n "(cached) " >&6 |
1679 |
|
else |
1680 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1692 |
|
eval ac_res=\$$3 |
1693 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1694 |
|
$as_echo "$ac_res" >&6; } |
1695 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1695 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1696 |
|
|
1697 |
|
} # ac_fn_c_check_header_compile |
1698 |
|
|
1717 |
|
mv -f conftest.er1 conftest.err |
1718 |
|
fi |
1719 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1720 |
< |
test $ac_status = 0; } >/dev/null && { |
1720 |
> |
test $ac_status = 0; } > conftest.i && { |
1721 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1722 |
|
test ! -s conftest.err |
1723 |
|
}; then : |
1728 |
|
|
1729 |
|
ac_retval=1 |
1730 |
|
fi |
1731 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1731 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1732 |
|
as_fn_set_status $ac_retval |
1733 |
|
|
1734 |
|
} # ac_fn_c_try_cpp |
1770 |
|
ac_retval=$ac_status |
1771 |
|
fi |
1772 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1773 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1773 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1774 |
|
as_fn_set_status $ac_retval |
1775 |
|
|
1776 |
|
} # ac_fn_c_try_run |
1783 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1784 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1785 |
|
$as_echo_n "checking for $2... " >&6; } |
1786 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1786 |
> |
if eval \${$3+:} false; then : |
1787 |
|
$as_echo_n "(cached) " >&6 |
1788 |
|
else |
1789 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1838 |
|
eval ac_res=\$$3 |
1839 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1840 |
|
$as_echo "$ac_res" >&6; } |
1841 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1841 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1842 |
|
|
1843 |
|
} # ac_fn_c_check_func |
1844 |
|
|
1845 |
< |
# ac_fn_c_check_decl LINENO SYMBOL VAR |
1846 |
< |
# ------------------------------------ |
1847 |
< |
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
1845 |
> |
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
1846 |
> |
# --------------------------------------------- |
1847 |
> |
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
1848 |
> |
# accordingly. |
1849 |
|
ac_fn_c_check_decl () |
1850 |
|
{ |
1851 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1852 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
1853 |
< |
$as_echo_n "checking whether $2 is declared... " >&6; } |
1854 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1852 |
> |
as_decl_name=`echo $2|sed 's/ *(.*//'` |
1853 |
> |
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
1854 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
1855 |
> |
$as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
1856 |
> |
if eval \${$3+:} false; then : |
1857 |
|
$as_echo_n "(cached) " >&6 |
1858 |
|
else |
1859 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1862 |
|
int |
1863 |
|
main () |
1864 |
|
{ |
1865 |
< |
#ifndef $2 |
1866 |
< |
(void) $2; |
1865 |
> |
#ifndef $as_decl_name |
1866 |
> |
#ifdef __cplusplus |
1867 |
> |
(void) $as_decl_use; |
1868 |
> |
#else |
1869 |
> |
(void) $as_decl_name; |
1870 |
> |
#endif |
1871 |
|
#endif |
1872 |
|
|
1873 |
|
; |
1884 |
|
eval ac_res=\$$3 |
1885 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1886 |
|
$as_echo "$ac_res" >&6; } |
1887 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1887 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1888 |
|
|
1889 |
|
} # ac_fn_c_check_decl |
1890 |
|
|
1897 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1898 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1899 |
|
$as_echo_n "checking for $2... " >&6; } |
1900 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1900 |
> |
if eval \${$3+:} false; then : |
1901 |
|
$as_echo_n "(cached) " >&6 |
1902 |
|
else |
1903 |
|
eval "$3=no" |
1938 |
|
eval ac_res=\$$3 |
1939 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1940 |
|
$as_echo "$ac_res" >&6; } |
1941 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1941 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1942 |
|
|
1943 |
|
} # ac_fn_c_check_type |
1944 |
|
|
1951 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1952 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1953 |
|
$as_echo_n "checking for $2.$3... " >&6; } |
1954 |
< |
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
1954 |
> |
if eval \${$4+:} false; then : |
1955 |
|
$as_echo_n "(cached) " >&6 |
1956 |
|
else |
1957 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1995 |
|
eval ac_res=\$$4 |
1996 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1997 |
|
$as_echo "$ac_res" >&6; } |
1998 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1998 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1999 |
|
|
2000 |
|
} # ac_fn_c_check_member |
2001 |
|
|
2007 |
|
ac_fn_c_check_header_mongrel () |
2008 |
|
{ |
2009 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2010 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2010 |
> |
if eval \${$3+:} false; then : |
2011 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2012 |
|
$as_echo_n "checking for $2... " >&6; } |
2013 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2013 |
> |
if eval \${$3+:} false; then : |
2014 |
|
$as_echo_n "(cached) " >&6 |
2015 |
|
fi |
2016 |
|
eval ac_res=\$$3 |
2046 |
|
else |
2047 |
|
ac_header_preproc=no |
2048 |
|
fi |
2049 |
< |
rm -f conftest.err conftest.$ac_ext |
2049 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
2050 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
2051 |
|
$as_echo "$ac_header_preproc" >&6; } |
2052 |
|
|
2069 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
2070 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2071 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2072 |
< |
( cat <<\_ASBOX |
2194 |
< |
## ----------------------------------- ## |
2072 |
> |
( $as_echo "## ----------------------------------- ## |
2073 |
|
## Report this to bugs@ircd-hybrid.org ## |
2074 |
< |
## ----------------------------------- ## |
2197 |
< |
_ASBOX |
2074 |
> |
## ----------------------------------- ##" |
2075 |
|
) | sed "s/^/$as_me: WARNING: /" >&2 |
2076 |
|
;; |
2077 |
|
esac |
2078 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2079 |
|
$as_echo_n "checking for $2... " >&6; } |
2080 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2080 |
> |
if eval \${$3+:} false; then : |
2081 |
|
$as_echo_n "(cached) " >&6 |
2082 |
|
else |
2083 |
|
eval "$3=\$ac_header_compiler" |
2086 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2087 |
|
$as_echo "$ac_res" >&6; } |
2088 |
|
fi |
2089 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2089 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2090 |
|
|
2091 |
|
} # ac_fn_c_check_header_mongrel |
2092 |
|
cat >config.log <<_ACEOF |
2093 |
|
This file contains any messages produced by compilers while |
2094 |
|
running configure, to aid debugging if configure makes a mistake. |
2095 |
|
|
2096 |
< |
It was created by ircd-hybrid $as_me 7.3-rc1, which was |
2097 |
< |
generated by GNU Autoconf 2.65. Invocation command line was |
2096 |
> |
It was created by ircd-hybrid $as_me 8beta1, which was |
2097 |
> |
generated by GNU Autoconf 2.68. Invocation command line was |
2098 |
|
|
2099 |
|
$ $0 $@ |
2100 |
|
|
2204 |
|
{ |
2205 |
|
echo |
2206 |
|
|
2207 |
< |
cat <<\_ASBOX |
2331 |
< |
## ---------------- ## |
2207 |
> |
$as_echo "## ---------------- ## |
2208 |
|
## Cache variables. ## |
2209 |
< |
## ---------------- ## |
2334 |
< |
_ASBOX |
2209 |
> |
## ---------------- ##" |
2210 |
|
echo |
2211 |
|
# The following way of writing the cache mishandles newlines in values, |
2212 |
|
( |
2240 |
|
) |
2241 |
|
echo |
2242 |
|
|
2243 |
< |
cat <<\_ASBOX |
2369 |
< |
## ----------------- ## |
2243 |
> |
$as_echo "## ----------------- ## |
2244 |
|
## Output variables. ## |
2245 |
< |
## ----------------- ## |
2372 |
< |
_ASBOX |
2245 |
> |
## ----------------- ##" |
2246 |
|
echo |
2247 |
|
for ac_var in $ac_subst_vars |
2248 |
|
do |
2255 |
|
echo |
2256 |
|
|
2257 |
|
if test -n "$ac_subst_files"; then |
2258 |
< |
cat <<\_ASBOX |
2386 |
< |
## ------------------- ## |
2258 |
> |
$as_echo "## ------------------- ## |
2259 |
|
## File substitutions. ## |
2260 |
< |
## ------------------- ## |
2389 |
< |
_ASBOX |
2260 |
> |
## ------------------- ##" |
2261 |
|
echo |
2262 |
|
for ac_var in $ac_subst_files |
2263 |
|
do |
2271 |
|
fi |
2272 |
|
|
2273 |
|
if test -s confdefs.h; then |
2274 |
< |
cat <<\_ASBOX |
2404 |
< |
## ----------- ## |
2274 |
> |
$as_echo "## ----------- ## |
2275 |
|
## confdefs.h. ## |
2276 |
< |
## ----------- ## |
2407 |
< |
_ASBOX |
2276 |
> |
## ----------- ##" |
2277 |
|
echo |
2278 |
|
cat confdefs.h |
2279 |
|
echo |
2328 |
|
ac_site_file1=NONE |
2329 |
|
ac_site_file2=NONE |
2330 |
|
if test -n "$CONFIG_SITE"; then |
2331 |
< |
ac_site_file1=$CONFIG_SITE |
2331 |
> |
# We do not want a PATH search for config.site. |
2332 |
> |
case $CONFIG_SITE in #(( |
2333 |
> |
-*) ac_site_file1=./$CONFIG_SITE;; |
2334 |
> |
*/*) ac_site_file1=$CONFIG_SITE;; |
2335 |
> |
*) ac_site_file1=./$CONFIG_SITE;; |
2336 |
> |
esac |
2337 |
|
elif test "x$prefix" != xNONE; then |
2338 |
|
ac_site_file1=$prefix/share/config.site |
2339 |
|
ac_site_file2=$prefix/etc/config.site |
2348 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2349 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2350 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
2351 |
< |
. "$ac_site_file" |
2351 |
> |
. "$ac_site_file" \ |
2352 |
> |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2353 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2354 |
> |
as_fn_error $? "failed to load site script $ac_site_file |
2355 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
2356 |
|
fi |
2357 |
|
done |
2358 |
|
|
2378 |
|
as_fn_append ac_func_list " usleep" |
2379 |
|
as_fn_append ac_func_list " strlcat" |
2380 |
|
as_fn_append ac_func_list " strlcpy" |
2381 |
+ |
as_fn_append ac_func_list " socketpair" |
2382 |
|
as_fn_append ac_header_list " crypt.h" |
2383 |
|
as_fn_append ac_header_list " inttypes.h" |
2384 |
|
as_fn_append ac_header_list " stdint.h" |
2446 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2447 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2448 |
|
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2449 |
< |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2449 |
> |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2450 |
|
fi |
2451 |
|
## -------------------- ## |
2452 |
|
## Main body of script. ## |
2463 |
|
|
2464 |
|
ac_aux_dir= |
2465 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2466 |
< |
for ac_t in install-sh install.sh shtool; do |
2467 |
< |
if test -f "$ac_dir/$ac_t"; then |
2468 |
< |
ac_aux_dir=$ac_dir |
2469 |
< |
ac_install_sh="$ac_aux_dir/$ac_t -c" |
2470 |
< |
break 2 |
2471 |
< |
fi |
2472 |
< |
done |
2466 |
> |
if test -f "$ac_dir/install-sh"; then |
2467 |
> |
ac_aux_dir=$ac_dir |
2468 |
> |
ac_install_sh="$ac_aux_dir/install-sh -c" |
2469 |
> |
break |
2470 |
> |
elif test -f "$ac_dir/install.sh"; then |
2471 |
> |
ac_aux_dir=$ac_dir |
2472 |
> |
ac_install_sh="$ac_aux_dir/install.sh -c" |
2473 |
> |
break |
2474 |
> |
elif test -f "$ac_dir/shtool"; then |
2475 |
> |
ac_aux_dir=$ac_dir |
2476 |
> |
ac_install_sh="$ac_aux_dir/shtool install -c" |
2477 |
> |
break |
2478 |
> |
fi |
2479 |
|
done |
2480 |
|
if test -z "$ac_aux_dir"; then |
2481 |
< |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2481 |
> |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2482 |
|
fi |
2483 |
|
|
2484 |
|
# These three variables are undocumented and unsupported, |
2507 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2508 |
|
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
2509 |
|
if test -z "$INSTALL"; then |
2510 |
< |
if test "${ac_cv_path_install+set}" = set; then : |
2510 |
> |
if ${ac_cv_path_install+:} false; then : |
2511 |
|
$as_echo_n "(cached) " >&6 |
2512 |
|
else |
2513 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2594 |
|
' |
2595 |
|
case `pwd` in |
2596 |
|
*[\\\"\#\$\&\'\`$am_lf]*) |
2597 |
< |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
2597 |
> |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
2598 |
|
esac |
2599 |
|
case $srcdir in |
2600 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2601 |
< |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2601 |
> |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2602 |
|
esac |
2603 |
|
|
2604 |
|
# Do `set' in a subshell so we don't clobber the current shell's |
2620 |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2621 |
|
# broken ls alias from the environment. This has actually |
2622 |
|
# happened. Such a system could not be considered "sane". |
2623 |
< |
as_fn_error "ls -t appears to fail. Make sure there is not a broken |
2623 |
> |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2624 |
|
alias in your environment" "$LINENO" 5 |
2625 |
|
fi |
2626 |
|
|
2630 |
|
# Ok. |
2631 |
|
: |
2632 |
|
else |
2633 |
< |
as_fn_error "newly created file is older than distributed files! |
2633 |
> |
as_fn_error $? "newly created file is older than distributed files! |
2634 |
|
Check your system clock" "$LINENO" 5 |
2635 |
|
fi |
2636 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2684 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2685 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2686 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2687 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
2687 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
2688 |
|
$as_echo_n "(cached) " >&6 |
2689 |
|
else |
2690 |
|
if test -n "$STRIP"; then |
2724 |
|
set dummy strip; ac_word=$2 |
2725 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2726 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2727 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
2727 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2728 |
|
$as_echo_n "(cached) " >&6 |
2729 |
|
else |
2730 |
|
if test -n "$ac_ct_STRIP"; then |
2777 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2778 |
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2779 |
|
if test -z "$MKDIR_P"; then |
2780 |
< |
if test "${ac_cv_path_mkdir+set}" = set; then : |
2780 |
> |
if ${ac_cv_path_mkdir+:} false; then : |
2781 |
|
$as_echo_n "(cached) " >&6 |
2782 |
|
else |
2783 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2828 |
|
set dummy $ac_prog; ac_word=$2 |
2829 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2830 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2831 |
< |
if test "${ac_cv_prog_AWK+set}" = set; then : |
2831 |
> |
if ${ac_cv_prog_AWK+:} false; then : |
2832 |
|
$as_echo_n "(cached) " >&6 |
2833 |
|
else |
2834 |
|
if test -n "$AWK"; then |
2868 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2869 |
|
set x ${MAKE-make} |
2870 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2871 |
< |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
2871 |
> |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2872 |
|
$as_echo_n "(cached) " >&6 |
2873 |
|
else |
2874 |
|
cat >conftest.make <<\_ACEOF |
2876 |
|
all: |
2877 |
|
@echo '@@@%%%=$(MAKE)=@@@%%%' |
2878 |
|
_ACEOF |
2879 |
< |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2879 |
> |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2880 |
|
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2881 |
|
*@@@%%%=?*=@@@%%%*) |
2882 |
|
eval ac_cv_prog_make_${ac_make}_set=yes;; |
2910 |
|
am__isrc=' -I$(srcdir)' |
2911 |
|
# test to see if srcdir already configured |
2912 |
|
if test -f $srcdir/config.status; then |
2913 |
< |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2913 |
> |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2914 |
|
fi |
2915 |
|
fi |
2916 |
|
|
2926 |
|
|
2927 |
|
# Define the identity of the package. |
2928 |
|
PACKAGE='ircd-hybrid' |
2929 |
< |
VERSION='7.3-rc1' |
2929 |
> |
VERSION='8beta1' |
2930 |
|
|
2931 |
|
|
2932 |
|
cat >>confdefs.h <<_ACEOF |
3066 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3067 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3068 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3069 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3069 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3070 |
|
$as_echo_n "(cached) " >&6 |
3071 |
|
else |
3072 |
|
if test -n "$CC"; then |
3106 |
|
set dummy gcc; ac_word=$2 |
3107 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3108 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3109 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3109 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3110 |
|
$as_echo_n "(cached) " >&6 |
3111 |
|
else |
3112 |
|
if test -n "$ac_ct_CC"; then |
3159 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3160 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3161 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3162 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3162 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3163 |
|
$as_echo_n "(cached) " >&6 |
3164 |
|
else |
3165 |
|
if test -n "$CC"; then |
3199 |
|
set dummy cc; ac_word=$2 |
3200 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3201 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3202 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3202 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3203 |
|
$as_echo_n "(cached) " >&6 |
3204 |
|
else |
3205 |
|
if test -n "$CC"; then |
3258 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3259 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3260 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3261 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3261 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3262 |
|
$as_echo_n "(cached) " >&6 |
3263 |
|
else |
3264 |
|
if test -n "$CC"; then |
3302 |
|
set dummy $ac_prog; ac_word=$2 |
3303 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3304 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3305 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3305 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3306 |
|
$as_echo_n "(cached) " >&6 |
3307 |
|
else |
3308 |
|
if test -n "$ac_ct_CC"; then |
3356 |
|
|
3357 |
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3358 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3359 |
< |
as_fn_error "no acceptable C compiler found in \$PATH |
3360 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3359 |
> |
as_fn_error $? "no acceptable C compiler found in \$PATH |
3360 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3361 |
|
|
3362 |
|
# Provide some information about the compiler. |
3363 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3471 |
|
|
3472 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3473 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3474 |
< |
{ as_fn_set_status 77 |
3475 |
< |
as_fn_error "C compiler cannot create executables |
3591 |
< |
See \`config.log' for more details." "$LINENO" 5; }; } |
3474 |
> |
as_fn_error 77 "C compiler cannot create executables |
3475 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3476 |
|
else |
3477 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3478 |
|
$as_echo "yes" >&6; } |
3514 |
|
else |
3515 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3516 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3517 |
< |
as_fn_error "cannot compute suffix of executables: cannot compile and link |
3518 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3517 |
> |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3518 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3519 |
|
fi |
3520 |
|
rm -f conftest conftest$ac_cv_exeext |
3521 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3572 |
|
else |
3573 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3574 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3575 |
< |
as_fn_error "cannot run C compiled programs. |
3575 |
> |
as_fn_error $? "cannot run C compiled programs. |
3576 |
|
If you meant to cross compile, use \`--host'. |
3577 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3577 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3578 |
|
fi |
3579 |
|
fi |
3580 |
|
fi |
3585 |
|
ac_clean_files=$ac_clean_files_save |
3586 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3587 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
3588 |
< |
if test "${ac_cv_objext+set}" = set; then : |
3588 |
> |
if ${ac_cv_objext+:} false; then : |
3589 |
|
$as_echo_n "(cached) " >&6 |
3590 |
|
else |
3591 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3625 |
|
|
3626 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3627 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3628 |
< |
as_fn_error "cannot compute suffix of object files: cannot compile |
3629 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3628 |
> |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
3629 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3630 |
|
fi |
3631 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3632 |
|
fi |
3636 |
|
ac_objext=$OBJEXT |
3637 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3638 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3639 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3639 |
> |
if ${ac_cv_c_compiler_gnu+:} false; then : |
3640 |
|
$as_echo_n "(cached) " >&6 |
3641 |
|
else |
3642 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3673 |
|
ac_save_CFLAGS=$CFLAGS |
3674 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3675 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
3676 |
< |
if test "${ac_cv_prog_cc_g+set}" = set; then : |
3676 |
> |
if ${ac_cv_prog_cc_g+:} false; then : |
3677 |
|
$as_echo_n "(cached) " >&6 |
3678 |
|
else |
3679 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
3751 |
|
fi |
3752 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3753 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3754 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3754 |
> |
if ${ac_cv_prog_cc_c89+:} false; then : |
3755 |
|
$as_echo_n "(cached) " >&6 |
3756 |
|
else |
3757 |
|
ac_cv_prog_cc_c89=no |
3850 |
|
|
3851 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3852 |
|
$as_echo_n "checking dependency style of $depcc... " >&6; } |
3853 |
< |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
3853 |
> |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
3854 |
|
$as_echo_n "(cached) " >&6 |
3855 |
|
else |
3856 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3975 |
|
|
3976 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
3977 |
|
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
3978 |
< |
if test "${ac_cv_prog_cc_c99+set}" = set; then : |
3978 |
> |
if ${ac_cv_prog_cc_c99+:} false; then : |
3979 |
|
$as_echo_n "(cached) " >&6 |
3980 |
|
else |
3981 |
|
ac_cv_prog_cc_c99=no |
4151 |
|
|
4152 |
|
|
4153 |
|
if test "$ac_cv_prog_cc_c99" = "no"; then : |
4154 |
< |
as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5 |
4154 |
> |
as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5 |
4155 |
|
fi |
4156 |
|
for ac_prog in 'bison -y' byacc |
4157 |
|
do |
4159 |
|
set dummy $ac_prog; ac_word=$2 |
4160 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4161 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
4162 |
< |
if test "${ac_cv_prog_YACC+set}" = set; then : |
4162 |
> |
if ${ac_cv_prog_YACC+:} false; then : |
4163 |
|
$as_echo_n "(cached) " >&6 |
4164 |
|
else |
4165 |
|
if test -n "$YACC"; then |
4203 |
|
set dummy $ac_prog; ac_word=$2 |
4204 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4205 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
4206 |
< |
if test "${ac_cv_prog_LEX+set}" = set; then : |
4206 |
> |
if ${ac_cv_prog_LEX+:} false; then : |
4207 |
|
$as_echo_n "(cached) " >&6 |
4208 |
|
else |
4209 |
|
if test -n "$LEX"; then |
4273 |
|
test $ac_status = 0; } |
4274 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
4275 |
|
$as_echo_n "checking lex output file root... " >&6; } |
4276 |
< |
if test "${ac_cv_prog_lex_root+set}" = set; then : |
4276 |
> |
if ${ac_cv_prog_lex_root+:} false; then : |
4277 |
|
$as_echo_n "(cached) " >&6 |
4278 |
|
else |
4279 |
|
|
4282 |
|
elif test -f lexyy.c; then |
4283 |
|
ac_cv_prog_lex_root=lexyy |
4284 |
|
else |
4285 |
< |
as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 |
4285 |
> |
as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
4286 |
|
fi |
4287 |
|
fi |
4288 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
4292 |
|
if test -z "${LEXLIB+set}"; then |
4293 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
4294 |
|
$as_echo_n "checking lex library... " >&6; } |
4295 |
< |
if test "${ac_cv_lib_lex+set}" = set; then : |
4295 |
> |
if ${ac_cv_lib_lex+:} false; then : |
4296 |
|
$as_echo_n "(cached) " >&6 |
4297 |
|
else |
4298 |
|
|
4322 |
|
|
4323 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
4324 |
|
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
4325 |
< |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : |
4325 |
> |
if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
4326 |
|
$as_echo_n "(cached) " >&6 |
4327 |
|
else |
4328 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
4333 |
|
LIBS="$LEXLIB $ac_save_LIBS" |
4334 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4335 |
|
/* end confdefs.h. */ |
4336 |
< |
#define YYTEXT_POINTER 1 |
4336 |
> |
|
4337 |
> |
#define YYTEXT_POINTER 1 |
4338 |
|
`cat $LEX_OUTPUT_ROOT.c` |
4339 |
|
_ACEOF |
4340 |
|
if ac_fn_c_try_link "$LINENO"; then : |
4361 |
|
|
4362 |
|
|
4363 |
|
# Initializing libtool. |
4364 |
+ |
|
4365 |
+ |
|
4366 |
+ |
|
4367 |
+ |
|
4368 |
+ |
|
4369 |
+ |
|
4370 |
+ |
|
4371 |
|
case `pwd` in |
4372 |
|
*\ * | *\ *) |
4373 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
4376 |
|
|
4377 |
|
|
4378 |
|
|
4379 |
< |
macro_version='2.2.6' |
4380 |
< |
macro_revision='1.3012' |
4379 |
> |
macro_version='2.4' |
4380 |
> |
macro_revision='1.3293' |
4381 |
|
|
4382 |
|
|
4383 |
|
|
4395 |
|
|
4396 |
|
# Make sure we can run config.sub. |
4397 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
4398 |
< |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
4398 |
> |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
4399 |
|
|
4400 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
4401 |
|
$as_echo_n "checking build system type... " >&6; } |
4402 |
< |
if test "${ac_cv_build+set}" = set; then : |
4402 |
> |
if ${ac_cv_build+:} false; then : |
4403 |
|
$as_echo_n "(cached) " >&6 |
4404 |
|
else |
4405 |
|
ac_build_alias=$build_alias |
4406 |
|
test "x$ac_build_alias" = x && |
4407 |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
4408 |
|
test "x$ac_build_alias" = x && |
4409 |
< |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
4409 |
> |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
4410 |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
4411 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
4411 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
4412 |
|
|
4413 |
|
fi |
4414 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
4415 |
|
$as_echo "$ac_cv_build" >&6; } |
4416 |
|
case $ac_cv_build in |
4417 |
|
*-*-*) ;; |
4418 |
< |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
4418 |
> |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
4419 |
|
esac |
4420 |
|
build=$ac_cv_build |
4421 |
|
ac_save_IFS=$IFS; IFS='-' |
4433 |
|
|
4434 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
4435 |
|
$as_echo_n "checking host system type... " >&6; } |
4436 |
< |
if test "${ac_cv_host+set}" = set; then : |
4436 |
> |
if ${ac_cv_host+:} false; then : |
4437 |
|
$as_echo_n "(cached) " >&6 |
4438 |
|
else |
4439 |
|
if test "x$host_alias" = x; then |
4440 |
|
ac_cv_host=$ac_cv_build |
4441 |
|
else |
4442 |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
4443 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
4443 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
4444 |
|
fi |
4445 |
|
|
4446 |
|
fi |
4448 |
|
$as_echo "$ac_cv_host" >&6; } |
4449 |
|
case $ac_cv_host in |
4450 |
|
*-*-*) ;; |
4451 |
< |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
4451 |
> |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
4452 |
|
esac |
4453 |
|
host=$ac_cv_host |
4454 |
|
ac_save_IFS=$IFS; IFS='-' |
4464 |
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
4465 |
|
|
4466 |
|
|
4467 |
+ |
# Backslashify metacharacters that are still active within |
4468 |
+ |
# double-quoted strings. |
4469 |
+ |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
4470 |
+ |
|
4471 |
+ |
# Same as above, but do not quote variable references. |
4472 |
+ |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
4473 |
+ |
|
4474 |
+ |
# Sed substitution to delay expansion of an escaped shell variable in a |
4475 |
+ |
# double_quote_subst'ed string. |
4476 |
+ |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
4477 |
+ |
|
4478 |
+ |
# Sed substitution to delay expansion of an escaped single quote. |
4479 |
+ |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
4480 |
+ |
|
4481 |
+ |
# Sed substitution to avoid accidental globbing in evaled expressions |
4482 |
+ |
no_glob_subst='s/\*/\\\*/g' |
4483 |
+ |
|
4484 |
+ |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
4485 |
+ |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
4486 |
+ |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
4487 |
+ |
|
4488 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
4489 |
+ |
$as_echo_n "checking how to print strings... " >&6; } |
4490 |
+ |
# Test print first, because it will be a builtin if present. |
4491 |
+ |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
4492 |
+ |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
4493 |
+ |
ECHO='print -r --' |
4494 |
+ |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
4495 |
+ |
ECHO='printf %s\n' |
4496 |
+ |
else |
4497 |
+ |
# Use this function as a fallback that always works. |
4498 |
+ |
func_fallback_echo () |
4499 |
+ |
{ |
4500 |
+ |
eval 'cat <<_LTECHO_EOF |
4501 |
+ |
$1 |
4502 |
+ |
_LTECHO_EOF' |
4503 |
+ |
} |
4504 |
+ |
ECHO='func_fallback_echo' |
4505 |
+ |
fi |
4506 |
+ |
|
4507 |
+ |
# func_echo_all arg... |
4508 |
+ |
# Invoke $ECHO with all args, space-separated. |
4509 |
+ |
func_echo_all () |
4510 |
+ |
{ |
4511 |
+ |
$ECHO "" |
4512 |
+ |
} |
4513 |
+ |
|
4514 |
+ |
case "$ECHO" in |
4515 |
+ |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
4516 |
+ |
$as_echo "printf" >&6; } ;; |
4517 |
+ |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
4518 |
+ |
$as_echo "print -r" >&6; } ;; |
4519 |
+ |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
4520 |
+ |
$as_echo "cat" >&6; } ;; |
4521 |
+ |
esac |
4522 |
+ |
|
4523 |
+ |
|
4524 |
+ |
|
4525 |
+ |
|
4526 |
+ |
|
4527 |
+ |
|
4528 |
+ |
|
4529 |
+ |
|
4530 |
+ |
|
4531 |
+ |
|
4532 |
+ |
|
4533 |
+ |
|
4534 |
+ |
|
4535 |
+ |
|
4536 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
4537 |
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
4538 |
< |
if test "${ac_cv_path_SED+set}" = set; then : |
4538 |
> |
if ${ac_cv_path_SED+:} false; then : |
4539 |
|
$as_echo_n "(cached) " >&6 |
4540 |
|
else |
4541 |
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
4590 |
|
done |
4591 |
|
IFS=$as_save_IFS |
4592 |
|
if test -z "$ac_cv_path_SED"; then |
4593 |
< |
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
4593 |
> |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
4594 |
|
fi |
4595 |
|
else |
4596 |
|
ac_cv_path_SED=$SED |
4617 |
|
|
4618 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4619 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4620 |
< |
if test "${ac_cv_path_GREP+set}" = set; then : |
4620 |
> |
if ${ac_cv_path_GREP+:} false; then : |
4621 |
|
$as_echo_n "(cached) " >&6 |
4622 |
|
else |
4623 |
|
if test -z "$GREP"; then |
4666 |
|
done |
4667 |
|
IFS=$as_save_IFS |
4668 |
|
if test -z "$ac_cv_path_GREP"; then |
4669 |
< |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4669 |
> |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4670 |
|
fi |
4671 |
|
else |
4672 |
|
ac_cv_path_GREP=$GREP |
4680 |
|
|
4681 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4682 |
|
$as_echo_n "checking for egrep... " >&6; } |
4683 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then : |
4683 |
> |
if ${ac_cv_path_EGREP+:} false; then : |
4684 |
|
$as_echo_n "(cached) " >&6 |
4685 |
|
else |
4686 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4732 |
|
done |
4733 |
|
IFS=$as_save_IFS |
4734 |
|
if test -z "$ac_cv_path_EGREP"; then |
4735 |
< |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4735 |
> |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4736 |
|
fi |
4737 |
|
else |
4738 |
|
ac_cv_path_EGREP=$EGREP |
4747 |
|
|
4748 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
4749 |
|
$as_echo_n "checking for fgrep... " >&6; } |
4750 |
< |
if test "${ac_cv_path_FGREP+set}" = set; then : |
4750 |
> |
if ${ac_cv_path_FGREP+:} false; then : |
4751 |
|
$as_echo_n "(cached) " >&6 |
4752 |
|
else |
4753 |
|
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
4799 |
|
done |
4800 |
|
IFS=$as_save_IFS |
4801 |
|
if test -z "$ac_cv_path_FGREP"; then |
4802 |
< |
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4802 |
> |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4803 |
|
fi |
4804 |
|
else |
4805 |
|
ac_cv_path_FGREP=$FGREP |
4878 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4879 |
|
$as_echo_n "checking for non-GNU ld... " >&6; } |
4880 |
|
fi |
4881 |
< |
if test "${lt_cv_path_LD+set}" = set; then : |
4881 |
> |
if ${lt_cv_path_LD+:} false; then : |
4882 |
|
$as_echo_n "(cached) " >&6 |
4883 |
|
else |
4884 |
|
if test -z "$LD"; then |
4915 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4916 |
|
$as_echo "no" >&6; } |
4917 |
|
fi |
4918 |
< |
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 |
4918 |
> |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
4919 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4920 |
|
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
4921 |
< |
if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
4921 |
> |
if ${lt_cv_prog_gnu_ld+:} false; then : |
4922 |
|
$as_echo_n "(cached) " >&6 |
4923 |
|
else |
4924 |
|
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
4945 |
|
|
4946 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
4947 |
|
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
4948 |
< |
if test "${lt_cv_path_NM+set}" = set; then : |
4948 |
> |
if ${lt_cv_path_NM+:} false; then : |
4949 |
|
$as_echo_n "(cached) " >&6 |
4950 |
|
else |
4951 |
|
if test -n "$NM"; then |
4998 |
|
NM="$lt_cv_path_NM" |
4999 |
|
else |
5000 |
|
# Didn't find any BSD compatible name lister, look for dumpbin. |
5001 |
< |
if test -n "$ac_tool_prefix"; then |
5002 |
< |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
5001 |
> |
if test -n "$DUMPBIN"; then : |
5002 |
> |
# Let the user override the test. |
5003 |
> |
else |
5004 |
> |
if test -n "$ac_tool_prefix"; then |
5005 |
> |
for ac_prog in dumpbin "link -dump" |
5006 |
|
do |
5007 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5008 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5009 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5010 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5011 |
< |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then : |
5011 |
> |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
5012 |
|
$as_echo_n "(cached) " >&6 |
5013 |
|
else |
5014 |
|
if test -n "$DUMPBIN"; then |
5046 |
|
fi |
5047 |
|
if test -z "$DUMPBIN"; then |
5048 |
|
ac_ct_DUMPBIN=$DUMPBIN |
5049 |
< |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
5049 |
> |
for ac_prog in dumpbin "link -dump" |
5050 |
|
do |
5051 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5052 |
|
set dummy $ac_prog; ac_word=$2 |
5053 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5054 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5055 |
< |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : |
5055 |
> |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
5056 |
|
$as_echo_n "(cached) " >&6 |
5057 |
|
else |
5058 |
|
if test -n "$ac_ct_DUMPBIN"; then |
5101 |
|
fi |
5102 |
|
fi |
5103 |
|
|
5104 |
+ |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
5105 |
+ |
*COFF*) |
5106 |
+ |
DUMPBIN="$DUMPBIN -symbols" |
5107 |
+ |
;; |
5108 |
+ |
*) |
5109 |
+ |
DUMPBIN=: |
5110 |
+ |
;; |
5111 |
+ |
esac |
5112 |
+ |
fi |
5113 |
|
|
5114 |
|
if test "$DUMPBIN" != ":"; then |
5115 |
|
NM="$DUMPBIN" |
5124 |
|
|
5125 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
5126 |
|
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
5127 |
< |
if test "${lt_cv_nm_interface+set}" = set; then : |
5127 |
> |
if ${lt_cv_nm_interface+:} false; then : |
5128 |
|
$as_echo_n "(cached) " >&6 |
5129 |
|
else |
5130 |
|
lt_cv_nm_interface="BSD nm" |
5131 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
5132 |
< |
(eval echo "\"\$as_me:5159: $ac_compile\"" >&5) |
5132 |
> |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
5133 |
|
(eval "$ac_compile" 2>conftest.err) |
5134 |
|
cat conftest.err >&5 |
5135 |
< |
(eval echo "\"\$as_me:5162: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5135 |
> |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5136 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
5137 |
|
cat conftest.err >&5 |
5138 |
< |
(eval echo "\"\$as_me:5165: output\"" >&5) |
5138 |
> |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
5139 |
|
cat conftest.out >&5 |
5140 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
5141 |
|
lt_cv_nm_interface="MS dumpbin" |
5159 |
|
# find the maximum length of command line arguments |
5160 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
5161 |
|
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
5162 |
< |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then : |
5162 |
> |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
5163 |
|
$as_echo_n "(cached) " >&6 |
5164 |
|
else |
5165 |
|
i=0 |
5192 |
|
lt_cv_sys_max_cmd_len=8192; |
5193 |
|
;; |
5194 |
|
|
5195 |
+ |
mint*) |
5196 |
+ |
# On MiNT this can take a long time and run out of memory. |
5197 |
+ |
lt_cv_sys_max_cmd_len=8192; |
5198 |
+ |
;; |
5199 |
+ |
|
5200 |
|
amigaos*) |
5201 |
|
# On AmigaOS with pdksh, this test takes hours, literally. |
5202 |
|
# So we just punt and use a minimum line length of 8192. |
5261 |
|
# If test is not a shell built-in, we'll probably end up computing a |
5262 |
|
# maximum length that is only half of the actual maximum length, but |
5263 |
|
# we can't tell. |
5264 |
< |
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
5265 |
< |
= "XX$teststring$teststring"; } >/dev/null 2>&1 && |
5264 |
> |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
5265 |
> |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
5266 |
|
test $i != 17 # 1/2 MB should be enough |
5267 |
|
do |
5268 |
|
i=`expr $i + 1` |
5304 |
|
# Try some XSI features |
5305 |
|
xsi_shell=no |
5306 |
|
( _lt_dummy="a/b/c" |
5307 |
< |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
5308 |
< |
= c,a/b,, \ |
5307 |
> |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
5308 |
> |
= c,a/b,b/c, \ |
5309 |
|
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
5310 |
|
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
5311 |
|
&& xsi_shell=yes |
5354 |
|
|
5355 |
|
|
5356 |
|
|
5357 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
5358 |
+ |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
5359 |
+ |
if ${lt_cv_to_host_file_cmd+:} false; then : |
5360 |
+ |
$as_echo_n "(cached) " >&6 |
5361 |
+ |
else |
5362 |
+ |
case $host in |
5363 |
+ |
*-*-mingw* ) |
5364 |
+ |
case $build in |
5365 |
+ |
*-*-mingw* ) # actually msys |
5366 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
5367 |
+ |
;; |
5368 |
+ |
*-*-cygwin* ) |
5369 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
5370 |
+ |
;; |
5371 |
+ |
* ) # otherwise, assume *nix |
5372 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
5373 |
+ |
;; |
5374 |
+ |
esac |
5375 |
+ |
;; |
5376 |
+ |
*-*-cygwin* ) |
5377 |
+ |
case $build in |
5378 |
+ |
*-*-mingw* ) # actually msys |
5379 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
5380 |
+ |
;; |
5381 |
+ |
*-*-cygwin* ) |
5382 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
5383 |
+ |
;; |
5384 |
+ |
* ) # otherwise, assume *nix |
5385 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
5386 |
+ |
;; |
5387 |
+ |
esac |
5388 |
+ |
;; |
5389 |
+ |
* ) # unhandled hosts (and "normal" native builds) |
5390 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
5391 |
+ |
;; |
5392 |
+ |
esac |
5393 |
+ |
|
5394 |
+ |
fi |
5395 |
+ |
|
5396 |
+ |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
5397 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
5398 |
+ |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
5399 |
+ |
|
5400 |
+ |
|
5401 |
+ |
|
5402 |
+ |
|
5403 |
+ |
|
5404 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
5405 |
+ |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
5406 |
+ |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
5407 |
+ |
$as_echo_n "(cached) " >&6 |
5408 |
+ |
else |
5409 |
+ |
#assume ordinary cross tools, or native build. |
5410 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
5411 |
+ |
case $host in |
5412 |
+ |
*-*-mingw* ) |
5413 |
+ |
case $build in |
5414 |
+ |
*-*-mingw* ) # actually msys |
5415 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
5416 |
+ |
;; |
5417 |
+ |
esac |
5418 |
+ |
;; |
5419 |
+ |
esac |
5420 |
+ |
|
5421 |
+ |
fi |
5422 |
+ |
|
5423 |
+ |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
5424 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
5425 |
+ |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
5426 |
+ |
|
5427 |
+ |
|
5428 |
+ |
|
5429 |
+ |
|
5430 |
+ |
|
5431 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
5432 |
|
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
5433 |
< |
if test "${lt_cv_ld_reload_flag+set}" = set; then : |
5433 |
> |
if ${lt_cv_ld_reload_flag+:} false; then : |
5434 |
|
$as_echo_n "(cached) " >&6 |
5435 |
|
else |
5436 |
|
lt_cv_ld_reload_flag='-r' |
5444 |
|
esac |
5445 |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5446 |
|
case $host_os in |
5447 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
5448 |
+ |
if test "$GCC" != yes; then |
5449 |
+ |
reload_cmds=false |
5450 |
+ |
fi |
5451 |
+ |
;; |
5452 |
|
darwin*) |
5453 |
|
if test "$GCC" = yes; then |
5454 |
|
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
5471 |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
5472 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5473 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5474 |
< |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : |
5474 |
> |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
5475 |
|
$as_echo_n "(cached) " >&6 |
5476 |
|
else |
5477 |
|
if test -n "$OBJDUMP"; then |
5511 |
|
set dummy objdump; ac_word=$2 |
5512 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5513 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5514 |
< |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : |
5514 |
> |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
5515 |
|
$as_echo_n "(cached) " >&6 |
5516 |
|
else |
5517 |
|
if test -n "$ac_ct_OBJDUMP"; then |
5570 |
|
|
5571 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
5572 |
|
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
5573 |
< |
if test "${lt_cv_deplibs_check_method+set}" = set; then : |
5573 |
> |
if ${lt_cv_deplibs_check_method+:} false; then : |
5574 |
|
$as_echo_n "(cached) " >&6 |
5575 |
|
else |
5576 |
|
lt_cv_file_magic_cmd='$MAGIC_CMD' |
5612 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
5613 |
|
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
5614 |
|
# unless we find 'file', for example because we are cross-compiling. |
5615 |
< |
if ( file / ) >/dev/null 2>&1; then |
5615 |
> |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
5616 |
> |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
5617 |
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5618 |
|
lt_cv_file_magic_cmd='func_win32_libid' |
5619 |
|
else |
5620 |
< |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
5620 |
> |
# Keep this pattern in sync with the one in func_win32_libid. |
5621 |
> |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
5622 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5623 |
|
fi |
5624 |
|
;; |
5625 |
|
|
5626 |
< |
cegcc) |
5626 |
> |
cegcc*) |
5627 |
|
# use the weaker test based on 'objdump'. See mingw*. |
5628 |
|
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
5629 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5653 |
|
lt_cv_deplibs_check_method=pass_all |
5654 |
|
;; |
5655 |
|
|
5656 |
+ |
haiku*) |
5657 |
+ |
lt_cv_deplibs_check_method=pass_all |
5658 |
+ |
;; |
5659 |
+ |
|
5660 |
|
hpux10.20* | hpux11*) |
5661 |
|
lt_cv_file_magic_cmd=/usr/bin/file |
5662 |
|
case $host_cpu in |
5665 |
|
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
5666 |
|
;; |
5667 |
|
hppa*64*) |
5668 |
< |
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]' |
5668 |
> |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' |
5669 |
|
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
5670 |
|
;; |
5671 |
|
*) |
5672 |
< |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
5672 |
> |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
5673 |
|
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
5674 |
|
;; |
5675 |
|
esac |
5691 |
|
;; |
5692 |
|
|
5693 |
|
# This must be Linux ELF. |
5694 |
< |
linux* | k*bsd*-gnu) |
5694 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
5695 |
|
lt_cv_deplibs_check_method=pass_all |
5696 |
|
;; |
5697 |
|
|
5772 |
|
fi |
5773 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
5774 |
|
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
5775 |
+ |
|
5776 |
+ |
file_magic_glob= |
5777 |
+ |
want_nocaseglob=no |
5778 |
+ |
if test "$build" = "$host"; then |
5779 |
+ |
case $host_os in |
5780 |
+ |
mingw* | pw32*) |
5781 |
+ |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
5782 |
+ |
want_nocaseglob=yes |
5783 |
+ |
else |
5784 |
+ |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
5785 |
+ |
fi |
5786 |
+ |
;; |
5787 |
+ |
esac |
5788 |
+ |
fi |
5789 |
+ |
|
5790 |
|
file_magic_cmd=$lt_cv_file_magic_cmd |
5791 |
|
deplibs_check_method=$lt_cv_deplibs_check_method |
5792 |
|
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
5802 |
|
|
5803 |
|
|
5804 |
|
|
5805 |
+ |
|
5806 |
+ |
|
5807 |
+ |
|
5808 |
+ |
|
5809 |
+ |
|
5810 |
+ |
|
5811 |
+ |
|
5812 |
+ |
|
5813 |
+ |
|
5814 |
+ |
|
5815 |
+ |
if test -n "$ac_tool_prefix"; then |
5816 |
+ |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
5817 |
+ |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
5818 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5819 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
5820 |
+ |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
5821 |
+ |
$as_echo_n "(cached) " >&6 |
5822 |
+ |
else |
5823 |
+ |
if test -n "$DLLTOOL"; then |
5824 |
+ |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
5825 |
+ |
else |
5826 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5827 |
+ |
for as_dir in $PATH |
5828 |
+ |
do |
5829 |
+ |
IFS=$as_save_IFS |
5830 |
+ |
test -z "$as_dir" && as_dir=. |
5831 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
5832 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5833 |
+ |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
5834 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5835 |
+ |
break 2 |
5836 |
+ |
fi |
5837 |
+ |
done |
5838 |
+ |
done |
5839 |
+ |
IFS=$as_save_IFS |
5840 |
+ |
|
5841 |
+ |
fi |
5842 |
+ |
fi |
5843 |
+ |
DLLTOOL=$ac_cv_prog_DLLTOOL |
5844 |
+ |
if test -n "$DLLTOOL"; then |
5845 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
5846 |
+ |
$as_echo "$DLLTOOL" >&6; } |
5847 |
+ |
else |
5848 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5849 |
+ |
$as_echo "no" >&6; } |
5850 |
+ |
fi |
5851 |
+ |
|
5852 |
+ |
|
5853 |
+ |
fi |
5854 |
+ |
if test -z "$ac_cv_prog_DLLTOOL"; then |
5855 |
+ |
ac_ct_DLLTOOL=$DLLTOOL |
5856 |
+ |
# Extract the first word of "dlltool", so it can be a program name with args. |
5857 |
+ |
set dummy dlltool; ac_word=$2 |
5858 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5859 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
5860 |
+ |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
5861 |
+ |
$as_echo_n "(cached) " >&6 |
5862 |
+ |
else |
5863 |
+ |
if test -n "$ac_ct_DLLTOOL"; then |
5864 |
+ |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
5865 |
+ |
else |
5866 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5867 |
+ |
for as_dir in $PATH |
5868 |
+ |
do |
5869 |
+ |
IFS=$as_save_IFS |
5870 |
+ |
test -z "$as_dir" && as_dir=. |
5871 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
5872 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5873 |
+ |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
5874 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5875 |
+ |
break 2 |
5876 |
+ |
fi |
5877 |
+ |
done |
5878 |
+ |
done |
5879 |
+ |
IFS=$as_save_IFS |
5880 |
+ |
|
5881 |
+ |
fi |
5882 |
+ |
fi |
5883 |
+ |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
5884 |
+ |
if test -n "$ac_ct_DLLTOOL"; then |
5885 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
5886 |
+ |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
5887 |
+ |
else |
5888 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5889 |
+ |
$as_echo "no" >&6; } |
5890 |
+ |
fi |
5891 |
+ |
|
5892 |
+ |
if test "x$ac_ct_DLLTOOL" = x; then |
5893 |
+ |
DLLTOOL="false" |
5894 |
+ |
else |
5895 |
+ |
case $cross_compiling:$ac_tool_warned in |
5896 |
+ |
yes:) |
5897 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5898 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5899 |
+ |
ac_tool_warned=yes ;; |
5900 |
+ |
esac |
5901 |
+ |
DLLTOOL=$ac_ct_DLLTOOL |
5902 |
+ |
fi |
5903 |
+ |
else |
5904 |
+ |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
5905 |
+ |
fi |
5906 |
+ |
|
5907 |
+ |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
5908 |
+ |
|
5909 |
+ |
|
5910 |
+ |
|
5911 |
+ |
|
5912 |
+ |
|
5913 |
+ |
|
5914 |
+ |
|
5915 |
+ |
|
5916 |
+ |
|
5917 |
+ |
|
5918 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
5919 |
+ |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
5920 |
+ |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
5921 |
+ |
$as_echo_n "(cached) " >&6 |
5922 |
+ |
else |
5923 |
+ |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
5924 |
+ |
|
5925 |
+ |
case $host_os in |
5926 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
5927 |
+ |
# two different shell functions defined in ltmain.sh |
5928 |
+ |
# decide which to use based on capabilities of $DLLTOOL |
5929 |
+ |
case `$DLLTOOL --help 2>&1` in |
5930 |
+ |
*--identify-strict*) |
5931 |
+ |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
5932 |
+ |
;; |
5933 |
+ |
*) |
5934 |
+ |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
5935 |
+ |
;; |
5936 |
+ |
esac |
5937 |
+ |
;; |
5938 |
+ |
*) |
5939 |
+ |
# fallback: assume linklib IS sharedlib |
5940 |
+ |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
5941 |
+ |
;; |
5942 |
+ |
esac |
5943 |
+ |
|
5944 |
+ |
fi |
5945 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
5946 |
+ |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
5947 |
+ |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
5948 |
+ |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
5949 |
+ |
|
5950 |
+ |
|
5951 |
+ |
|
5952 |
+ |
|
5953 |
+ |
|
5954 |
+ |
|
5955 |
+ |
|
5956 |
|
if test -n "$ac_tool_prefix"; then |
5957 |
< |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
5958 |
< |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
5957 |
> |
for ac_prog in ar |
5958 |
> |
do |
5959 |
> |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5960 |
> |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5961 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5962 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5963 |
< |
if test "${ac_cv_prog_AR+set}" = set; then : |
5963 |
> |
if ${ac_cv_prog_AR+:} false; then : |
5964 |
|
$as_echo_n "(cached) " >&6 |
5965 |
|
else |
5966 |
|
if test -n "$AR"; then |
5973 |
|
test -z "$as_dir" && as_dir=. |
5974 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5975 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5976 |
< |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
5976 |
> |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
5977 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5978 |
|
break 2 |
5979 |
|
fi |
5993 |
|
fi |
5994 |
|
|
5995 |
|
|
5996 |
+ |
test -n "$AR" && break |
5997 |
+ |
done |
5998 |
|
fi |
5999 |
< |
if test -z "$ac_cv_prog_AR"; then |
5999 |
> |
if test -z "$AR"; then |
6000 |
|
ac_ct_AR=$AR |
6001 |
< |
# Extract the first word of "ar", so it can be a program name with args. |
6002 |
< |
set dummy ar; ac_word=$2 |
6001 |
> |
for ac_prog in ar |
6002 |
> |
do |
6003 |
> |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
6004 |
> |
set dummy $ac_prog; ac_word=$2 |
6005 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6006 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6007 |
< |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : |
6007 |
> |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
6008 |
|
$as_echo_n "(cached) " >&6 |
6009 |
|
else |
6010 |
|
if test -n "$ac_ct_AR"; then |
6017 |
|
test -z "$as_dir" && as_dir=. |
6018 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6019 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6020 |
< |
ac_cv_prog_ac_ct_AR="ar" |
6020 |
> |
ac_cv_prog_ac_ct_AR="$ac_prog" |
6021 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6022 |
|
break 2 |
6023 |
|
fi |
6036 |
|
$as_echo "no" >&6; } |
6037 |
|
fi |
6038 |
|
|
6039 |
+ |
|
6040 |
+ |
test -n "$ac_ct_AR" && break |
6041 |
+ |
done |
6042 |
+ |
|
6043 |
|
if test "x$ac_ct_AR" = x; then |
6044 |
|
AR="false" |
6045 |
|
else |
6051 |
|
esac |
6052 |
|
AR=$ac_ct_AR |
6053 |
|
fi |
5815 |
– |
else |
5816 |
– |
AR="$ac_cv_prog_AR" |
6054 |
|
fi |
6055 |
|
|
6056 |
< |
test -z "$AR" && AR=ar |
6057 |
< |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
6056 |
> |
: ${AR=ar} |
6057 |
> |
: ${AR_FLAGS=cru} |
6058 |
|
|
6059 |
|
|
6060 |
|
|
6066 |
|
|
6067 |
|
|
6068 |
|
|
6069 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
6070 |
+ |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
6071 |
+ |
if ${lt_cv_ar_at_file+:} false; then : |
6072 |
+ |
$as_echo_n "(cached) " >&6 |
6073 |
+ |
else |
6074 |
+ |
lt_cv_ar_at_file=no |
6075 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6076 |
+ |
/* end confdefs.h. */ |
6077 |
+ |
|
6078 |
+ |
int |
6079 |
+ |
main () |
6080 |
+ |
{ |
6081 |
+ |
|
6082 |
+ |
; |
6083 |
+ |
return 0; |
6084 |
+ |
} |
6085 |
+ |
_ACEOF |
6086 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
6087 |
+ |
echo conftest.$ac_objext > conftest.lst |
6088 |
+ |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
6089 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6090 |
+ |
(eval $lt_ar_try) 2>&5 |
6091 |
+ |
ac_status=$? |
6092 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6093 |
+ |
test $ac_status = 0; } |
6094 |
+ |
if test "$ac_status" -eq 0; then |
6095 |
+ |
# Ensure the archiver fails upon bogus file names. |
6096 |
+ |
rm -f conftest.$ac_objext libconftest.a |
6097 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6098 |
+ |
(eval $lt_ar_try) 2>&5 |
6099 |
+ |
ac_status=$? |
6100 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6101 |
+ |
test $ac_status = 0; } |
6102 |
+ |
if test "$ac_status" -ne 0; then |
6103 |
+ |
lt_cv_ar_at_file=@ |
6104 |
+ |
fi |
6105 |
+ |
fi |
6106 |
+ |
rm -f conftest.* libconftest.a |
6107 |
+ |
|
6108 |
+ |
fi |
6109 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6110 |
+ |
|
6111 |
+ |
fi |
6112 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
6113 |
+ |
$as_echo "$lt_cv_ar_at_file" >&6; } |
6114 |
+ |
|
6115 |
+ |
if test "x$lt_cv_ar_at_file" = xno; then |
6116 |
+ |
archiver_list_spec= |
6117 |
+ |
else |
6118 |
+ |
archiver_list_spec=$lt_cv_ar_at_file |
6119 |
+ |
fi |
6120 |
+ |
|
6121 |
+ |
|
6122 |
+ |
|
6123 |
+ |
|
6124 |
+ |
|
6125 |
+ |
|
6126 |
+ |
|
6127 |
|
if test -n "$ac_tool_prefix"; then |
6128 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
6129 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
6130 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6131 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6132 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
6132 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
6133 |
|
$as_echo_n "(cached) " >&6 |
6134 |
|
else |
6135 |
|
if test -n "$STRIP"; then |
6169 |
|
set dummy strip; ac_word=$2 |
6170 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6171 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6172 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
6172 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
6173 |
|
$as_echo_n "(cached) " >&6 |
6174 |
|
else |
6175 |
|
if test -n "$ac_ct_STRIP"; then |
6228 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6229 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6230 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6231 |
< |
if test "${ac_cv_prog_RANLIB+set}" = set; then : |
6231 |
> |
if ${ac_cv_prog_RANLIB+:} false; then : |
6232 |
|
$as_echo_n "(cached) " >&6 |
6233 |
|
else |
6234 |
|
if test -n "$RANLIB"; then |
6268 |
|
set dummy ranlib; ac_word=$2 |
6269 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6270 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6271 |
< |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
6271 |
> |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
6272 |
|
$as_echo_n "(cached) " >&6 |
6273 |
|
else |
6274 |
|
if test -n "$ac_ct_RANLIB"; then |
6339 |
|
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
6340 |
|
fi |
6341 |
|
|
6342 |
+ |
case $host_os in |
6343 |
+ |
darwin*) |
6344 |
+ |
lock_old_archive_extraction=yes ;; |
6345 |
+ |
*) |
6346 |
+ |
lock_old_archive_extraction=no ;; |
6347 |
+ |
esac |
6348 |
+ |
|
6349 |
+ |
|
6350 |
+ |
|
6351 |
+ |
|
6352 |
+ |
|
6353 |
+ |
|
6354 |
|
|
6355 |
|
|
6356 |
|
|
6397 |
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
6398 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
6399 |
|
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
6400 |
< |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : |
6400 |
> |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
6401 |
|
$as_echo_n "(cached) " >&6 |
6402 |
|
else |
6403 |
|
|
6458 |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
6459 |
|
|
6460 |
|
# Transform an extracted symbol line into symbol name and symbol address |
6461 |
< |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
6462 |
< |
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'" |
6461 |
> |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
6462 |
> |
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'" |
6463 |
|
|
6464 |
|
# Handle CRLF in mingw tool chain |
6465 |
|
opt_cr= |
6495 |
|
else |
6496 |
|
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
6497 |
|
fi |
6498 |
+ |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
6499 |
|
|
6500 |
|
# Check to see that the pipe works correctly. |
6501 |
|
pipe_works=no |
6521 |
|
test $ac_status = 0; }; then |
6522 |
|
# Now try to grab the symbols. |
6523 |
|
nlist=conftest.nm |
6524 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 |
6525 |
< |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
6524 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
6525 |
> |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
6526 |
|
ac_status=$? |
6527 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6528 |
|
test $ac_status = 0; } && test -s "$nlist"; then |
6537 |
|
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
6538 |
|
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
6539 |
|
cat <<_LT_EOF > conftest.$ac_ext |
6540 |
+ |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
6541 |
+ |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
6542 |
+ |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
6543 |
+ |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
6544 |
+ |
# define LT_DLSYM_CONST |
6545 |
+ |
#elif defined(__osf__) |
6546 |
+ |
/* This system does not cope well with relocations in const data. */ |
6547 |
+ |
# define LT_DLSYM_CONST |
6548 |
+ |
#else |
6549 |
+ |
# define LT_DLSYM_CONST const |
6550 |
+ |
#endif |
6551 |
+ |
|
6552 |
|
#ifdef __cplusplus |
6553 |
|
extern "C" { |
6554 |
|
#endif |
6560 |
|
cat <<_LT_EOF >> conftest.$ac_ext |
6561 |
|
|
6562 |
|
/* The mapping between symbol names and symbols. */ |
6563 |
< |
const struct { |
6563 |
> |
LT_DLSYM_CONST struct { |
6564 |
|
const char *name; |
6565 |
|
void *address; |
6566 |
|
} |
6586 |
|
_LT_EOF |
6587 |
|
# Now try linking the two files. |
6588 |
|
mv conftest.$ac_objext conftstm.$ac_objext |
6589 |
< |
lt_save_LIBS="$LIBS" |
6590 |
< |
lt_save_CFLAGS="$CFLAGS" |
6589 |
> |
lt_globsym_save_LIBS=$LIBS |
6590 |
> |
lt_globsym_save_CFLAGS=$CFLAGS |
6591 |
|
LIBS="conftstm.$ac_objext" |
6592 |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
6593 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
6597 |
|
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
6598 |
|
pipe_works=yes |
6599 |
|
fi |
6600 |
< |
LIBS="$lt_save_LIBS" |
6601 |
< |
CFLAGS="$lt_save_CFLAGS" |
6600 |
> |
LIBS=$lt_globsym_save_LIBS |
6601 |
> |
CFLAGS=$lt_globsym_save_CFLAGS |
6602 |
|
else |
6603 |
|
echo "cannot find nm_test_func in $nlist" >&5 |
6604 |
|
fi |
6635 |
|
$as_echo "ok" >&6; } |
6636 |
|
fi |
6637 |
|
|
6638 |
+ |
# Response file support. |
6639 |
+ |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
6640 |
+ |
nm_file_list_spec='@' |
6641 |
+ |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
6642 |
+ |
nm_file_list_spec='@' |
6643 |
+ |
fi |
6644 |
+ |
|
6645 |
+ |
|
6646 |
|
|
6647 |
|
|
6648 |
|
|
6664 |
|
|
6665 |
|
|
6666 |
|
|
6667 |
+ |
|
6668 |
+ |
|
6669 |
+ |
|
6670 |
+ |
|
6671 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
6672 |
+ |
$as_echo_n "checking for sysroot... " >&6; } |
6673 |
+ |
|
6674 |
+ |
# Check whether --with-sysroot was given. |
6675 |
+ |
if test "${with_sysroot+set}" = set; then : |
6676 |
+ |
withval=$with_sysroot; |
6677 |
+ |
else |
6678 |
+ |
with_sysroot=no |
6679 |
+ |
fi |
6680 |
+ |
|
6681 |
+ |
|
6682 |
+ |
lt_sysroot= |
6683 |
+ |
case ${with_sysroot} in #( |
6684 |
+ |
yes) |
6685 |
+ |
if test "$GCC" = yes; then |
6686 |
+ |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
6687 |
+ |
fi |
6688 |
+ |
;; #( |
6689 |
+ |
/*) |
6690 |
+ |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
6691 |
+ |
;; #( |
6692 |
+ |
no|'') |
6693 |
+ |
;; #( |
6694 |
+ |
*) |
6695 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
6696 |
+ |
$as_echo "${with_sysroot}" >&6; } |
6697 |
+ |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
6698 |
+ |
;; |
6699 |
+ |
esac |
6700 |
+ |
|
6701 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
6702 |
+ |
$as_echo "${lt_sysroot:-no}" >&6; } |
6703 |
+ |
|
6704 |
+ |
|
6705 |
+ |
|
6706 |
+ |
|
6707 |
+ |
|
6708 |
|
# Check whether --enable-libtool-lock was given. |
6709 |
|
if test "${enable_libtool_lock+set}" = set; then : |
6710 |
|
enableval=$enable_libtool_lock; |
6736 |
|
;; |
6737 |
|
*-*-irix6*) |
6738 |
|
# Find out which ABI we are using. |
6739 |
< |
echo '#line 6370 "configure"' > conftest.$ac_ext |
6739 |
> |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
6740 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6741 |
|
(eval $ac_compile) 2>&5 |
6742 |
|
ac_status=$? |
6830 |
|
CFLAGS="$CFLAGS -belf" |
6831 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
6832 |
|
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
6833 |
< |
if test "${lt_cv_cc_needs_belf+set}" = set; then : |
6833 |
> |
if ${lt_cv_cc_needs_belf+:} false; then : |
6834 |
|
$as_echo_n "(cached) " >&6 |
6835 |
|
else |
6836 |
|
ac_ext=c |
6898 |
|
|
6899 |
|
need_locks="$enable_libtool_lock" |
6900 |
|
|
6901 |
+ |
if test -n "$ac_tool_prefix"; then |
6902 |
+ |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
6903 |
+ |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
6904 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6905 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
6906 |
+ |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
6907 |
+ |
$as_echo_n "(cached) " >&6 |
6908 |
+ |
else |
6909 |
+ |
if test -n "$MANIFEST_TOOL"; then |
6910 |
+ |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
6911 |
+ |
else |
6912 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6913 |
+ |
for as_dir in $PATH |
6914 |
+ |
do |
6915 |
+ |
IFS=$as_save_IFS |
6916 |
+ |
test -z "$as_dir" && as_dir=. |
6917 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
6918 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6919 |
+ |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
6920 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6921 |
+ |
break 2 |
6922 |
+ |
fi |
6923 |
+ |
done |
6924 |
+ |
done |
6925 |
+ |
IFS=$as_save_IFS |
6926 |
+ |
|
6927 |
+ |
fi |
6928 |
+ |
fi |
6929 |
+ |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
6930 |
+ |
if test -n "$MANIFEST_TOOL"; then |
6931 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
6932 |
+ |
$as_echo "$MANIFEST_TOOL" >&6; } |
6933 |
+ |
else |
6934 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6935 |
+ |
$as_echo "no" >&6; } |
6936 |
+ |
fi |
6937 |
+ |
|
6938 |
+ |
|
6939 |
+ |
fi |
6940 |
+ |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
6941 |
+ |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
6942 |
+ |
# Extract the first word of "mt", so it can be a program name with args. |
6943 |
+ |
set dummy mt; ac_word=$2 |
6944 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6945 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
6946 |
+ |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
6947 |
+ |
$as_echo_n "(cached) " >&6 |
6948 |
+ |
else |
6949 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
6950 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
6951 |
+ |
else |
6952 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6953 |
+ |
for as_dir in $PATH |
6954 |
+ |
do |
6955 |
+ |
IFS=$as_save_IFS |
6956 |
+ |
test -z "$as_dir" && as_dir=. |
6957 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
6958 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6959 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
6960 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6961 |
+ |
break 2 |
6962 |
+ |
fi |
6963 |
+ |
done |
6964 |
+ |
done |
6965 |
+ |
IFS=$as_save_IFS |
6966 |
+ |
|
6967 |
+ |
fi |
6968 |
+ |
fi |
6969 |
+ |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
6970 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
6971 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
6972 |
+ |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
6973 |
+ |
else |
6974 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6975 |
+ |
$as_echo "no" >&6; } |
6976 |
+ |
fi |
6977 |
+ |
|
6978 |
+ |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
6979 |
+ |
MANIFEST_TOOL=":" |
6980 |
+ |
else |
6981 |
+ |
case $cross_compiling:$ac_tool_warned in |
6982 |
+ |
yes:) |
6983 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6984 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6985 |
+ |
ac_tool_warned=yes ;; |
6986 |
+ |
esac |
6987 |
+ |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
6988 |
+ |
fi |
6989 |
+ |
else |
6990 |
+ |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
6991 |
+ |
fi |
6992 |
+ |
|
6993 |
+ |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
6994 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
6995 |
+ |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
6996 |
+ |
if ${lt_cv_path_mainfest_tool+:} false; then : |
6997 |
+ |
$as_echo_n "(cached) " >&6 |
6998 |
+ |
else |
6999 |
+ |
lt_cv_path_mainfest_tool=no |
7000 |
+ |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
7001 |
+ |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
7002 |
+ |
cat conftest.err >&5 |
7003 |
+ |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
7004 |
+ |
lt_cv_path_mainfest_tool=yes |
7005 |
+ |
fi |
7006 |
+ |
rm -f conftest* |
7007 |
+ |
fi |
7008 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
7009 |
+ |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
7010 |
+ |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
7011 |
+ |
MANIFEST_TOOL=: |
7012 |
+ |
fi |
7013 |
+ |
|
7014 |
+ |
|
7015 |
+ |
|
7016 |
+ |
|
7017 |
+ |
|
7018 |
|
|
7019 |
|
case $host_os in |
7020 |
|
rhapsody* | darwin*) |
7023 |
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
7024 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7025 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7026 |
< |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : |
7026 |
> |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
7027 |
|
$as_echo_n "(cached) " >&6 |
7028 |
|
else |
7029 |
|
if test -n "$DSYMUTIL"; then |
7063 |
|
set dummy dsymutil; ac_word=$2 |
7064 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7065 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7066 |
< |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : |
7066 |
> |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
7067 |
|
$as_echo_n "(cached) " >&6 |
7068 |
|
else |
7069 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
7115 |
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
7116 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7117 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7118 |
< |
if test "${ac_cv_prog_NMEDIT+set}" = set; then : |
7118 |
> |
if ${ac_cv_prog_NMEDIT+:} false; then : |
7119 |
|
$as_echo_n "(cached) " >&6 |
7120 |
|
else |
7121 |
|
if test -n "$NMEDIT"; then |
7155 |
|
set dummy nmedit; ac_word=$2 |
7156 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7157 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7158 |
< |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : |
7158 |
> |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
7159 |
|
$as_echo_n "(cached) " >&6 |
7160 |
|
else |
7161 |
|
if test -n "$ac_ct_NMEDIT"; then |
7207 |
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
7208 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7209 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7210 |
< |
if test "${ac_cv_prog_LIPO+set}" = set; then : |
7210 |
> |
if ${ac_cv_prog_LIPO+:} false; then : |
7211 |
|
$as_echo_n "(cached) " >&6 |
7212 |
|
else |
7213 |
|
if test -n "$LIPO"; then |
7247 |
|
set dummy lipo; ac_word=$2 |
7248 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7249 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7250 |
< |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : |
7250 |
> |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
7251 |
|
$as_echo_n "(cached) " >&6 |
7252 |
|
else |
7253 |
|
if test -n "$ac_ct_LIPO"; then |
7299 |
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
7300 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7301 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7302 |
< |
if test "${ac_cv_prog_OTOOL+set}" = set; then : |
7302 |
> |
if ${ac_cv_prog_OTOOL+:} false; then : |
7303 |
|
$as_echo_n "(cached) " >&6 |
7304 |
|
else |
7305 |
|
if test -n "$OTOOL"; then |
7339 |
|
set dummy otool; ac_word=$2 |
7340 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7341 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7342 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : |
7342 |
> |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
7343 |
|
$as_echo_n "(cached) " >&6 |
7344 |
|
else |
7345 |
|
if test -n "$ac_ct_OTOOL"; then |
7391 |
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
7392 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7393 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7394 |
< |
if test "${ac_cv_prog_OTOOL64+set}" = set; then : |
7394 |
> |
if ${ac_cv_prog_OTOOL64+:} false; then : |
7395 |
|
$as_echo_n "(cached) " >&6 |
7396 |
|
else |
7397 |
|
if test -n "$OTOOL64"; then |
7431 |
|
set dummy otool64; ac_word=$2 |
7432 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7433 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7434 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : |
7434 |
> |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
7435 |
|
$as_echo_n "(cached) " >&6 |
7436 |
|
else |
7437 |
|
if test -n "$ac_ct_OTOOL64"; then |
7506 |
|
|
7507 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
7508 |
|
$as_echo_n "checking for -single_module linker flag... " >&6; } |
7509 |
< |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then : |
7509 |
> |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
7510 |
|
$as_echo_n "(cached) " >&6 |
7511 |
|
else |
7512 |
|
lt_cv_apple_cc_single_mod=no |
7535 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
7536 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
7537 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
7538 |
< |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : |
7538 |
> |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
7539 |
|
$as_echo_n "(cached) " >&6 |
7540 |
|
else |
7541 |
|
lt_cv_ld_exported_symbols_list=no |
7565 |
|
fi |
7566 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
7567 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
7568 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
7569 |
+ |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
7570 |
+ |
if ${lt_cv_ld_force_load+:} false; then : |
7571 |
+ |
$as_echo_n "(cached) " >&6 |
7572 |
+ |
else |
7573 |
+ |
lt_cv_ld_force_load=no |
7574 |
+ |
cat > conftest.c << _LT_EOF |
7575 |
+ |
int forced_loaded() { return 2;} |
7576 |
+ |
_LT_EOF |
7577 |
+ |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
7578 |
+ |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
7579 |
+ |
echo "$AR cru libconftest.a conftest.o" >&5 |
7580 |
+ |
$AR cru libconftest.a conftest.o 2>&5 |
7581 |
+ |
echo "$RANLIB libconftest.a" >&5 |
7582 |
+ |
$RANLIB libconftest.a 2>&5 |
7583 |
+ |
cat > conftest.c << _LT_EOF |
7584 |
+ |
int main() { return 0;} |
7585 |
+ |
_LT_EOF |
7586 |
+ |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
7587 |
+ |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
7588 |
+ |
_lt_result=$? |
7589 |
+ |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
7590 |
+ |
lt_cv_ld_force_load=yes |
7591 |
+ |
else |
7592 |
+ |
cat conftest.err >&5 |
7593 |
+ |
fi |
7594 |
+ |
rm -f conftest.err libconftest.a conftest conftest.c |
7595 |
+ |
rm -rf conftest.dSYM |
7596 |
+ |
|
7597 |
+ |
fi |
7598 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
7599 |
+ |
$as_echo "$lt_cv_ld_force_load" >&6; } |
7600 |
|
case $host_os in |
7601 |
|
rhapsody* | darwin1.[012]) |
7602 |
|
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
7624 |
|
else |
7625 |
|
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
7626 |
|
fi |
7627 |
< |
if test "$DSYMUTIL" != ":"; then |
7627 |
> |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
7628 |
|
_lt_dsymutil='~$DSYMUTIL $lib || :' |
7629 |
|
else |
7630 |
|
_lt_dsymutil= |
7644 |
|
CPP= |
7645 |
|
fi |
7646 |
|
if test -z "$CPP"; then |
7647 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then : |
7647 |
> |
if ${ac_cv_prog_CPP+:} false; then : |
7648 |
|
$as_echo_n "(cached) " >&6 |
7649 |
|
else |
7650 |
|
# Double quotes because CPP needs to be expanded |
7674 |
|
# Broken: fails on valid input. |
7675 |
|
continue |
7676 |
|
fi |
7677 |
< |
rm -f conftest.err conftest.$ac_ext |
7677 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7678 |
|
|
7679 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
7680 |
|
# can be detected and how. |
7690 |
|
ac_preproc_ok=: |
7691 |
|
break |
7692 |
|
fi |
7693 |
< |
rm -f conftest.err conftest.$ac_ext |
7693 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7694 |
|
|
7695 |
|
done |
7696 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7697 |
< |
rm -f conftest.err conftest.$ac_ext |
7697 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
7698 |
|
if $ac_preproc_ok; then : |
7699 |
|
break |
7700 |
|
fi |
7733 |
|
# Broken: fails on valid input. |
7734 |
|
continue |
7735 |
|
fi |
7736 |
< |
rm -f conftest.err conftest.$ac_ext |
7736 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7737 |
|
|
7738 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
7739 |
|
# can be detected and how. |
7749 |
|
ac_preproc_ok=: |
7750 |
|
break |
7751 |
|
fi |
7752 |
< |
rm -f conftest.err conftest.$ac_ext |
7752 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7753 |
|
|
7754 |
|
done |
7755 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7756 |
< |
rm -f conftest.err conftest.$ac_ext |
7756 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
7757 |
|
if $ac_preproc_ok; then : |
7758 |
|
|
7759 |
|
else |
7760 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
7761 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
7762 |
< |
as_fn_error "C preprocessor \"$CPP\" fails sanity check |
7763 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
7762 |
> |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
7763 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
7764 |
|
fi |
7765 |
|
|
7766 |
|
ac_ext=c |
7772 |
|
|
7773 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7774 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
7775 |
< |
if test "${ac_cv_header_stdc+set}" = set; then : |
7775 |
> |
if ${ac_cv_header_stdc+:} false; then : |
7776 |
|
$as_echo_n "(cached) " >&6 |
7777 |
|
else |
7778 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7889 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7890 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7891 |
|
" |
7892 |
< |
eval as_val=\$$as_ac_Header |
7375 |
< |
if test "x$as_val" = x""yes; then : |
7892 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7893 |
|
cat >>confdefs.h <<_ACEOF |
7894 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7895 |
|
_ACEOF |
7903 |
|
do : |
7904 |
|
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
7905 |
|
" |
7906 |
< |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then : |
7906 |
> |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
7907 |
|
cat >>confdefs.h <<_ACEOF |
7908 |
|
#define HAVE_DLFCN_H 1 |
7909 |
|
_ACEOF |
7914 |
|
|
7915 |
|
|
7916 |
|
|
7917 |
+ |
|
7918 |
+ |
|
7919 |
|
# Set options |
7920 |
|
enable_dlopen=yes |
7921 |
|
# Check whether --enable-static was given. |
8066 |
|
|
8067 |
|
|
8068 |
|
|
8069 |
+ |
|
8070 |
|
test -z "$LN_S" && LN_S="ln -s" |
8071 |
|
|
8072 |
|
|
8088 |
|
|
8089 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
8090 |
|
$as_echo_n "checking for objdir... " >&6; } |
8091 |
< |
if test "${lt_cv_objdir+set}" = set; then : |
8091 |
> |
if ${lt_cv_objdir+:} false; then : |
8092 |
|
$as_echo_n "(cached) " >&6 |
8093 |
|
else |
8094 |
|
rm -f .libs 2>/dev/null |
8116 |
|
|
8117 |
|
|
8118 |
|
|
7599 |
– |
|
7600 |
– |
|
7601 |
– |
|
7602 |
– |
|
7603 |
– |
|
7604 |
– |
|
7605 |
– |
|
7606 |
– |
|
7607 |
– |
|
7608 |
– |
|
7609 |
– |
|
7610 |
– |
|
7611 |
– |
|
8119 |
|
case $host_os in |
8120 |
|
aix3*) |
8121 |
|
# AIX sometimes has problems with the GCC collect2 program. For some |
8128 |
|
;; |
8129 |
|
esac |
8130 |
|
|
7624 |
– |
# Sed substitution that helps us do robust quoting. It backslashifies |
7625 |
– |
# metacharacters that are still active within double-quoted strings. |
7626 |
– |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
7627 |
– |
|
7628 |
– |
# Same as above, but do not quote variable references. |
7629 |
– |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
7630 |
– |
|
7631 |
– |
# Sed substitution to delay expansion of an escaped shell variable in a |
7632 |
– |
# double_quote_subst'ed string. |
7633 |
– |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
7634 |
– |
|
7635 |
– |
# Sed substitution to delay expansion of an escaped single quote. |
7636 |
– |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
7637 |
– |
|
7638 |
– |
# Sed substitution to avoid accidental globbing in evaled expressions |
7639 |
– |
no_glob_subst='s/\*/\\\*/g' |
7640 |
– |
|
8131 |
|
# Global variables: |
8132 |
|
ofile=libtool |
8133 |
|
can_build_shared=yes |
8156 |
|
*) break;; |
8157 |
|
esac |
8158 |
|
done |
8159 |
< |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
8159 |
> |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
8160 |
|
|
8161 |
|
|
8162 |
|
# Only perform the check for file, if the check method requires it |
8166 |
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
8167 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
8168 |
|
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
8169 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
8169 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8170 |
|
$as_echo_n "(cached) " >&6 |
8171 |
|
else |
8172 |
|
case $MAGIC_CMD in |
8232 |
|
if test -n "$ac_tool_prefix"; then |
8233 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
8234 |
|
$as_echo_n "checking for file... " >&6; } |
8235 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
8235 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8236 |
|
$as_echo_n "(cached) " >&6 |
8237 |
|
else |
8238 |
|
case $MAGIC_CMD in |
8361 |
|
lt_prog_compiler_no_builtin_flag= |
8362 |
|
|
8363 |
|
if test "$GCC" = yes; then |
8364 |
< |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
8364 |
> |
case $cc_basename in |
8365 |
> |
nvcc*) |
8366 |
> |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
8367 |
> |
*) |
8368 |
> |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
8369 |
> |
esac |
8370 |
|
|
8371 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
8372 |
|
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
8373 |
< |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : |
8373 |
> |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
8374 |
|
$as_echo_n "(cached) " >&6 |
8375 |
|
else |
8376 |
|
lt_cv_prog_compiler_rtti_exceptions=no |
8386 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8387 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8388 |
|
-e 's:$: $lt_compiler_flag:'` |
8389 |
< |
(eval echo "\"\$as_me:7894: $lt_compile\"" >&5) |
8389 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8390 |
|
(eval "$lt_compile" 2>conftest.err) |
8391 |
|
ac_status=$? |
8392 |
|
cat conftest.err >&5 |
8393 |
< |
echo "$as_me:7898: \$? = $ac_status" >&5 |
8393 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8394 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
8395 |
|
# The compiler can only warn and ignore the option if not recognized |
8396 |
|
# So say no if there are warnings other than the usual output. |
8397 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
8397 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
8398 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8399 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
8400 |
|
lt_cv_prog_compiler_rtti_exceptions=yes |
8423 |
|
lt_prog_compiler_pic= |
8424 |
|
lt_prog_compiler_static= |
8425 |
|
|
7931 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
7932 |
– |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
8426 |
|
|
8427 |
|
if test "$GCC" = yes; then |
8428 |
|
lt_prog_compiler_wl='-Wl,' |
8470 |
|
lt_prog_compiler_pic='-fno-common' |
8471 |
|
;; |
8472 |
|
|
8473 |
+ |
haiku*) |
8474 |
+ |
# PIC is the default for Haiku. |
8475 |
+ |
# The "-static" flag exists, but is broken. |
8476 |
+ |
lt_prog_compiler_static= |
8477 |
+ |
;; |
8478 |
+ |
|
8479 |
|
hpux*) |
8480 |
|
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
8481 |
|
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
8518 |
|
lt_prog_compiler_pic='-fPIC' |
8519 |
|
;; |
8520 |
|
esac |
8521 |
+ |
|
8522 |
+ |
case $cc_basename in |
8523 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
8524 |
+ |
lt_prog_compiler_wl='-Xlinker ' |
8525 |
+ |
lt_prog_compiler_pic='-Xcompiler -fPIC' |
8526 |
+ |
;; |
8527 |
+ |
esac |
8528 |
|
else |
8529 |
|
# PORTME Check for flag to pass linker flags through the system compiler. |
8530 |
|
case $host_os in |
8566 |
|
lt_prog_compiler_static='-non_shared' |
8567 |
|
;; |
8568 |
|
|
8569 |
< |
linux* | k*bsd*-gnu) |
8569 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
8570 |
|
case $cc_basename in |
8571 |
|
# old Intel for x86_64 which still supported -KPIC. |
8572 |
|
ecc*) |
8587 |
|
lt_prog_compiler_pic='--shared' |
8588 |
|
lt_prog_compiler_static='--static' |
8589 |
|
;; |
8590 |
< |
pgcc* | pgf77* | pgf90* | pgf95*) |
8590 |
> |
nagfor*) |
8591 |
> |
# NAG Fortran compiler |
8592 |
> |
lt_prog_compiler_wl='-Wl,-Wl,,' |
8593 |
> |
lt_prog_compiler_pic='-PIC' |
8594 |
> |
lt_prog_compiler_static='-Bstatic' |
8595 |
> |
;; |
8596 |
> |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
8597 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
8598 |
|
# which looks to be a dead project) |
8599 |
|
lt_prog_compiler_wl='-Wl,' |
8605 |
|
# All Alpha code is PIC. |
8606 |
|
lt_prog_compiler_static='-non_shared' |
8607 |
|
;; |
8608 |
< |
xl*) |
8609 |
< |
# IBM XL C 8.0/Fortran 10.1 on PPC |
8608 |
> |
xl* | bgxl* | bgf* | mpixl*) |
8609 |
> |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
8610 |
|
lt_prog_compiler_wl='-Wl,' |
8611 |
|
lt_prog_compiler_pic='-qpic' |
8612 |
|
lt_prog_compiler_static='-qstaticlink' |
8613 |
|
;; |
8614 |
|
*) |
8615 |
|
case `$CC -V 2>&1 | sed 5q` in |
8616 |
< |
*Sun\ C*) |
8617 |
< |
# Sun C 5.9 |
8616 |
> |
*Sun\ F* | *Sun*Fortran*) |
8617 |
> |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
8618 |
|
lt_prog_compiler_pic='-KPIC' |
8619 |
|
lt_prog_compiler_static='-Bstatic' |
8620 |
< |
lt_prog_compiler_wl='-Wl,' |
8620 |
> |
lt_prog_compiler_wl='' |
8621 |
|
;; |
8622 |
< |
*Sun\ F*) |
8623 |
< |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
8622 |
> |
*Sun\ C*) |
8623 |
> |
# Sun C 5.9 |
8624 |
|
lt_prog_compiler_pic='-KPIC' |
8625 |
|
lt_prog_compiler_static='-Bstatic' |
8626 |
< |
lt_prog_compiler_wl='' |
8626 |
> |
lt_prog_compiler_wl='-Wl,' |
8627 |
|
;; |
8628 |
|
esac |
8629 |
|
;; |
8655 |
|
lt_prog_compiler_pic='-KPIC' |
8656 |
|
lt_prog_compiler_static='-Bstatic' |
8657 |
|
case $cc_basename in |
8658 |
< |
f77* | f90* | f95*) |
8658 |
> |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
8659 |
|
lt_prog_compiler_wl='-Qoption ld ';; |
8660 |
|
*) |
8661 |
|
lt_prog_compiler_wl='-Wl,';; |
8712 |
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
8713 |
|
;; |
8714 |
|
esac |
8203 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
8204 |
– |
$as_echo "$lt_prog_compiler_pic" >&6; } |
8205 |
– |
|
8206 |
– |
|
8207 |
– |
|
8208 |
– |
|
8715 |
|
|
8716 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
8717 |
+ |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
8718 |
+ |
if ${lt_cv_prog_compiler_pic+:} false; then : |
8719 |
+ |
$as_echo_n "(cached) " >&6 |
8720 |
+ |
else |
8721 |
+ |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
8722 |
+ |
fi |
8723 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
8724 |
+ |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
8725 |
+ |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
8726 |
|
|
8727 |
|
# |
8728 |
|
# Check to make sure the PIC flag actually works. |
8730 |
|
if test -n "$lt_prog_compiler_pic"; then |
8731 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
8732 |
|
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
8733 |
< |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : |
8733 |
> |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
8734 |
|
$as_echo_n "(cached) " >&6 |
8735 |
|
else |
8736 |
|
lt_cv_prog_compiler_pic_works=no |
8746 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8747 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8748 |
|
-e 's:$: $lt_compiler_flag:'` |
8749 |
< |
(eval echo "\"\$as_me:8233: $lt_compile\"" >&5) |
8749 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8750 |
|
(eval "$lt_compile" 2>conftest.err) |
8751 |
|
ac_status=$? |
8752 |
|
cat conftest.err >&5 |
8753 |
< |
echo "$as_me:8237: \$? = $ac_status" >&5 |
8753 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8754 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
8755 |
|
# The compiler can only warn and ignore the option if not recognized |
8756 |
|
# So say no if there are warnings other than the usual output. |
8757 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
8757 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
8758 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8759 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
8760 |
|
lt_cv_prog_compiler_pic_works=yes |
8783 |
|
|
8784 |
|
|
8785 |
|
|
8786 |
+ |
|
8787 |
+ |
|
8788 |
+ |
|
8789 |
+ |
|
8790 |
+ |
|
8791 |
|
# |
8792 |
|
# Check to make sure the static flag actually works. |
8793 |
|
# |
8794 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
8795 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
8796 |
|
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
8797 |
< |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then : |
8797 |
> |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
8798 |
|
$as_echo_n "(cached) " >&6 |
8799 |
|
else |
8800 |
|
lt_cv_prog_compiler_static_works=no |
8807 |
|
if test -s conftest.err; then |
8808 |
|
# Append any errors to the config.log. |
8809 |
|
cat conftest.err 1>&5 |
8810 |
< |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
8810 |
> |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
8811 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8812 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
8813 |
|
lt_cv_prog_compiler_static_works=yes |
8837 |
|
|
8838 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
8839 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
8840 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
8840 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
8841 |
|
$as_echo_n "(cached) " >&6 |
8842 |
|
else |
8843 |
|
lt_cv_prog_compiler_c_o=no |
8856 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8857 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8858 |
|
-e 's:$: $lt_compiler_flag:'` |
8859 |
< |
(eval echo "\"\$as_me:8338: $lt_compile\"" >&5) |
8859 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8860 |
|
(eval "$lt_compile" 2>out/conftest.err) |
8861 |
|
ac_status=$? |
8862 |
|
cat out/conftest.err >&5 |
8863 |
< |
echo "$as_me:8342: \$? = $ac_status" >&5 |
8863 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8864 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8865 |
|
then |
8866 |
|
# The compiler can only warn and ignore the option if not recognized |
8867 |
|
# So say no if there are warnings |
8868 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
8868 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
8869 |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8870 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
8871 |
|
lt_cv_prog_compiler_c_o=yes |
8892 |
|
|
8893 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
8894 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
8895 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
8895 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
8896 |
|
$as_echo_n "(cached) " >&6 |
8897 |
|
else |
8898 |
|
lt_cv_prog_compiler_c_o=no |
8911 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8912 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8913 |
|
-e 's:$: $lt_compiler_flag:'` |
8914 |
< |
(eval echo "\"\$as_me:8393: $lt_compile\"" >&5) |
8914 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8915 |
|
(eval "$lt_compile" 2>out/conftest.err) |
8916 |
|
ac_status=$? |
8917 |
|
cat out/conftest.err >&5 |
8918 |
< |
echo "$as_me:8397: \$? = $ac_status" >&5 |
8918 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8919 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8920 |
|
then |
8921 |
|
# The compiler can only warn and ignore the option if not recognized |
8922 |
|
# So say no if there are warnings |
8923 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
8923 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
8924 |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8925 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
8926 |
|
lt_cv_prog_compiler_c_o=yes |
9033 |
|
esac |
9034 |
|
|
9035 |
|
ld_shlibs=yes |
9036 |
+ |
|
9037 |
+ |
# On some targets, GNU ld is compatible enough with the native linker |
9038 |
+ |
# that we're better off using the native interface for both. |
9039 |
+ |
lt_use_gnu_ld_interface=no |
9040 |
|
if test "$with_gnu_ld" = yes; then |
9041 |
+ |
case $host_os in |
9042 |
+ |
aix*) |
9043 |
+ |
# The AIX port of GNU ld has always aspired to compatibility |
9044 |
+ |
# with the native linker. However, as the warning in the GNU ld |
9045 |
+ |
# block says, versions before 2.19.5* couldn't really create working |
9046 |
+ |
# shared libraries, regardless of the interface used. |
9047 |
+ |
case `$LD -v 2>&1` in |
9048 |
+ |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
9049 |
+ |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
9050 |
+ |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
9051 |
+ |
*) |
9052 |
+ |
lt_use_gnu_ld_interface=yes |
9053 |
+ |
;; |
9054 |
+ |
esac |
9055 |
+ |
;; |
9056 |
+ |
*) |
9057 |
+ |
lt_use_gnu_ld_interface=yes |
9058 |
+ |
;; |
9059 |
+ |
esac |
9060 |
+ |
fi |
9061 |
+ |
|
9062 |
+ |
if test "$lt_use_gnu_ld_interface" = yes; then |
9063 |
|
# If archive_cmds runs LD, not CC, wlarc should be empty |
9064 |
|
wlarc='${wl}' |
9065 |
|
|
9077 |
|
fi |
9078 |
|
supports_anon_versioning=no |
9079 |
|
case `$LD -v 2>&1` in |
9080 |
+ |
*GNU\ gold*) supports_anon_versioning=yes ;; |
9081 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
9082 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
9083 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
9093 |
|
ld_shlibs=no |
9094 |
|
cat <<_LT_EOF 1>&2 |
9095 |
|
|
9096 |
< |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
9096 |
> |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
9097 |
|
*** to be unable to reliably create shared libraries on AIX. |
9098 |
|
*** Therefore, libtool is disabling shared libraries support. If you |
9099 |
< |
*** really care for shared libraries, you may want to modify your PATH |
9100 |
< |
*** so that a non-GNU linker is found, and then restart. |
9099 |
> |
*** really care for shared libraries, you may want to install binutils |
9100 |
> |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
9101 |
> |
*** You will then need to restart the configuration process. |
9102 |
|
|
9103 |
|
_LT_EOF |
9104 |
|
fi |
9134 |
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
9135 |
|
# as there is no search path for DLLs. |
9136 |
|
hardcode_libdir_flag_spec='-L$libdir' |
9137 |
+ |
export_dynamic_flag_spec='${wl}--export-all-symbols' |
9138 |
|
allow_undefined_flag=unsupported |
9139 |
|
always_export_symbols=no |
9140 |
|
enable_shared_with_static_runtimes=yes |
9141 |
< |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9141 |
> |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
9142 |
> |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
9143 |
|
|
9144 |
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
9145 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9157 |
|
fi |
9158 |
|
;; |
9159 |
|
|
9160 |
+ |
haiku*) |
9161 |
+ |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9162 |
+ |
link_all_deplibs=yes |
9163 |
+ |
;; |
9164 |
+ |
|
9165 |
|
interix[3-9]*) |
9166 |
|
hardcode_direct=no |
9167 |
|
hardcode_shlibpath_var=no |
9177 |
|
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' |
9178 |
|
;; |
9179 |
|
|
9180 |
< |
gnu* | linux* | tpf* | k*bsd*-gnu) |
9180 |
> |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
9181 |
|
tmp_diet=no |
9182 |
|
if test "$host_os" = linux-dietlibc; then |
9183 |
|
case $cc_basename in |
9187 |
|
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
9188 |
|
&& test "$tmp_diet" = no |
9189 |
|
then |
9190 |
< |
tmp_addflag= |
9190 |
> |
tmp_addflag=' $pic_flag' |
9191 |
|
tmp_sharedflag='-shared' |
9192 |
|
case $cc_basename,$host_cpu in |
9193 |
|
pgcc*) # Portland Group C compiler |
9194 |
< |
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' |
9194 |
> |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
9195 |
|
tmp_addflag=' $pic_flag' |
9196 |
|
;; |
9197 |
< |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
9198 |
< |
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' |
9197 |
> |
pgf77* | pgf90* | pgf95* | pgfortran*) |
9198 |
> |
# Portland Group f77 and f90 compilers |
9199 |
> |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
9200 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
9201 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
9202 |
|
tmp_addflag=' -i_dynamic' ;; |
9207 |
|
lf95*) # Lahey Fortran 8.1 |
9208 |
|
whole_archive_flag_spec= |
9209 |
|
tmp_sharedflag='--shared' ;; |
9210 |
< |
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
9210 |
> |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
9211 |
|
tmp_sharedflag='-qmkshrobj' |
9212 |
|
tmp_addflag= ;; |
9213 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
9214 |
+ |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
9215 |
+ |
compiler_needs_object=yes |
9216 |
+ |
;; |
9217 |
|
esac |
9218 |
|
case `$CC -V 2>&1 | sed 5q` in |
9219 |
|
*Sun\ C*) # Sun C 5.9 |
9220 |
< |
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' |
9220 |
> |
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
9221 |
|
compiler_needs_object=yes |
9222 |
|
tmp_sharedflag='-G' ;; |
9223 |
|
*Sun\ F*) # Sun Fortran 8.3 |
9233 |
|
fi |
9234 |
|
|
9235 |
|
case $cc_basename in |
9236 |
< |
xlf*) |
9236 |
> |
xlf* | bgf* | bgxlf* | mpixlf*) |
9237 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
9238 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
9239 |
|
hardcode_libdir_flag_spec= |
9240 |
|
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
9241 |
< |
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
9241 |
> |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
9242 |
|
if test "x$supports_anon_versioning" = xyes; then |
9243 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9244 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
9245 |
|
echo "local: *; };" >> $output_objdir/$libname.ver~ |
9246 |
< |
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
9246 |
> |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
9247 |
|
fi |
9248 |
|
;; |
9249 |
|
esac |
9257 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
9258 |
|
wlarc= |
9259 |
|
else |
9260 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9261 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9260 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9261 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9262 |
|
fi |
9263 |
|
;; |
9264 |
|
|
9276 |
|
|
9277 |
|
_LT_EOF |
9278 |
|
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9279 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9280 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9279 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9280 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9281 |
|
else |
9282 |
|
ld_shlibs=no |
9283 |
|
fi |
9323 |
|
|
9324 |
|
*) |
9325 |
|
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9326 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9327 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9326 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9327 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9328 |
|
else |
9329 |
|
ld_shlibs=no |
9330 |
|
fi |
9364 |
|
else |
9365 |
|
# If we're using GNU nm, then we don't want the "-C" option. |
9366 |
|
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
9367 |
+ |
# Also, AIX nm treats weak defined symbols like other global |
9368 |
+ |
# defined symbols, whereas GNU nm marks them as "W". |
9369 |
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
9370 |
< |
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' |
9370 |
> |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
9371 |
|
else |
9372 |
|
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' |
9373 |
|
fi |
9429 |
|
if test "$aix_use_runtimelinking" = yes; then |
9430 |
|
shared_flag="$shared_flag "'${wl}-G' |
9431 |
|
fi |
8869 |
– |
link_all_deplibs=no |
9432 |
|
else |
9433 |
|
# not using gcc |
9434 |
|
if test "$host_cpu" = ia64; then |
9454 |
|
allow_undefined_flag='-berok' |
9455 |
|
# Determine the default libpath from the value encoded in an |
9456 |
|
# empty executable. |
9457 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9457 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
9458 |
> |
aix_libpath=$lt_cv_aix_libpath |
9459 |
> |
else |
9460 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
9461 |
> |
$as_echo_n "(cached) " >&6 |
9462 |
> |
else |
9463 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9464 |
|
/* end confdefs.h. */ |
9465 |
|
|
9466 |
|
int |
9473 |
|
_ACEOF |
9474 |
|
if ac_fn_c_try_link "$LINENO"; then : |
9475 |
|
|
9476 |
< |
lt_aix_libpath_sed=' |
9477 |
< |
/Import File Strings/,/^$/ { |
9478 |
< |
/^0/ { |
9479 |
< |
s/^0 *\(.*\)$/\1/ |
9480 |
< |
p |
9481 |
< |
} |
9482 |
< |
}' |
9483 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9484 |
< |
# Check for a 64-bit object if we didn't find anything. |
9485 |
< |
if test -z "$aix_libpath"; then |
9486 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9487 |
< |
fi |
9476 |
> |
lt_aix_libpath_sed=' |
9477 |
> |
/Import File Strings/,/^$/ { |
9478 |
> |
/^0/ { |
9479 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
9480 |
> |
p |
9481 |
> |
} |
9482 |
> |
}' |
9483 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9484 |
> |
# Check for a 64-bit object if we didn't find anything. |
9485 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9486 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9487 |
> |
fi |
9488 |
|
fi |
9489 |
|
rm -f core conftest.err conftest.$ac_objext \ |
9490 |
|
conftest$ac_exeext conftest.$ac_ext |
9491 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
9491 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9492 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
9493 |
> |
fi |
9494 |
> |
|
9495 |
> |
fi |
9496 |
> |
|
9497 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
9498 |
> |
fi |
9499 |
|
|
9500 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
9501 |
< |
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" |
9501 |
> |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
9502 |
|
else |
9503 |
|
if test "$host_cpu" = ia64; then |
9504 |
|
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
9507 |
|
else |
9508 |
|
# Determine the default libpath from the value encoded in an |
9509 |
|
# empty executable. |
9510 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9510 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
9511 |
> |
aix_libpath=$lt_cv_aix_libpath |
9512 |
> |
else |
9513 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
9514 |
> |
$as_echo_n "(cached) " >&6 |
9515 |
> |
else |
9516 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9517 |
|
/* end confdefs.h. */ |
9518 |
|
|
9519 |
|
int |
9526 |
|
_ACEOF |
9527 |
|
if ac_fn_c_try_link "$LINENO"; then : |
9528 |
|
|
9529 |
< |
lt_aix_libpath_sed=' |
9530 |
< |
/Import File Strings/,/^$/ { |
9531 |
< |
/^0/ { |
9532 |
< |
s/^0 *\(.*\)$/\1/ |
9533 |
< |
p |
9534 |
< |
} |
9535 |
< |
}' |
9536 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9537 |
< |
# Check for a 64-bit object if we didn't find anything. |
9538 |
< |
if test -z "$aix_libpath"; then |
9539 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9540 |
< |
fi |
9529 |
> |
lt_aix_libpath_sed=' |
9530 |
> |
/Import File Strings/,/^$/ { |
9531 |
> |
/^0/ { |
9532 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
9533 |
> |
p |
9534 |
> |
} |
9535 |
> |
}' |
9536 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9537 |
> |
# Check for a 64-bit object if we didn't find anything. |
9538 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9539 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9540 |
> |
fi |
9541 |
|
fi |
9542 |
|
rm -f core conftest.err conftest.$ac_objext \ |
9543 |
|
conftest$ac_exeext conftest.$ac_ext |
9544 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
9544 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9545 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
9546 |
> |
fi |
9547 |
> |
|
9548 |
> |
fi |
9549 |
> |
|
9550 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
9551 |
> |
fi |
9552 |
|
|
9553 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
9554 |
|
# Warning - without using the other run time loading flags, |
9555 |
|
# -berok will link without error, but may produce a broken library. |
9556 |
|
no_undefined_flag=' ${wl}-bernotok' |
9557 |
|
allow_undefined_flag=' ${wl}-berok' |
9558 |
< |
# Exported symbols can be pulled into shared objects from archives |
9559 |
< |
whole_archive_flag_spec='$convenience' |
9558 |
> |
if test "$with_gnu_ld" = yes; then |
9559 |
> |
# We only use this code for GNU lds that support --whole-archive. |
9560 |
> |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
9561 |
> |
else |
9562 |
> |
# Exported symbols can be pulled into shared objects from archives |
9563 |
> |
whole_archive_flag_spec='$convenience' |
9564 |
> |
fi |
9565 |
|
archive_cmds_need_lc=yes |
9566 |
|
# This is similar to how AIX traditionally builds its shared libraries. |
9567 |
|
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' |
9593 |
|
# Microsoft Visual C++. |
9594 |
|
# hardcode_libdir_flag_spec is actually meaningless, as there is |
9595 |
|
# no search path for DLLs. |
9596 |
< |
hardcode_libdir_flag_spec=' ' |
9597 |
< |
allow_undefined_flag=unsupported |
9598 |
< |
# Tell ltmain to make .lib files, not .a files. |
9599 |
< |
libext=lib |
9600 |
< |
# Tell ltmain to make .dll files, not .so files. |
9601 |
< |
shrext_cmds=".dll" |
9602 |
< |
# FIXME: Setting linknames here is a bad hack. |
9603 |
< |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
9604 |
< |
# The linker will automatically build a .lib file if we build a DLL. |
9605 |
< |
old_archive_from_new_cmds='true' |
9606 |
< |
# FIXME: Should let the user specify the lib program. |
9607 |
< |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
9608 |
< |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
9609 |
< |
enable_shared_with_static_runtimes=yes |
9596 |
> |
case $cc_basename in |
9597 |
> |
cl*) |
9598 |
> |
# Native MSVC |
9599 |
> |
hardcode_libdir_flag_spec=' ' |
9600 |
> |
allow_undefined_flag=unsupported |
9601 |
> |
always_export_symbols=yes |
9602 |
> |
file_list_spec='@' |
9603 |
> |
# Tell ltmain to make .lib files, not .a files. |
9604 |
> |
libext=lib |
9605 |
> |
# Tell ltmain to make .dll files, not .so files. |
9606 |
> |
shrext_cmds=".dll" |
9607 |
> |
# FIXME: Setting linknames here is a bad hack. |
9608 |
> |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
9609 |
> |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
9610 |
> |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
9611 |
> |
else |
9612 |
> |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
9613 |
> |
fi~ |
9614 |
> |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
9615 |
> |
linknames=' |
9616 |
> |
# The linker will not automatically build a static lib if we build a DLL. |
9617 |
> |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
9618 |
> |
enable_shared_with_static_runtimes=yes |
9619 |
> |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9620 |
> |
# Don't use ranlib |
9621 |
> |
old_postinstall_cmds='chmod 644 $oldlib' |
9622 |
> |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
9623 |
> |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
9624 |
> |
case $lt_outputfile in |
9625 |
> |
*.exe|*.EXE) ;; |
9626 |
> |
*) |
9627 |
> |
lt_outputfile="$lt_outputfile.exe" |
9628 |
> |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
9629 |
> |
;; |
9630 |
> |
esac~ |
9631 |
> |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
9632 |
> |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
9633 |
> |
$RM "$lt_outputfile.manifest"; |
9634 |
> |
fi' |
9635 |
> |
;; |
9636 |
> |
*) |
9637 |
> |
# Assume MSVC wrapper |
9638 |
> |
hardcode_libdir_flag_spec=' ' |
9639 |
> |
allow_undefined_flag=unsupported |
9640 |
> |
# Tell ltmain to make .lib files, not .a files. |
9641 |
> |
libext=lib |
9642 |
> |
# Tell ltmain to make .dll files, not .so files. |
9643 |
> |
shrext_cmds=".dll" |
9644 |
> |
# FIXME: Setting linknames here is a bad hack. |
9645 |
> |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
9646 |
> |
# The linker will automatically build a .lib file if we build a DLL. |
9647 |
> |
old_archive_from_new_cmds='true' |
9648 |
> |
# FIXME: Should let the user specify the lib program. |
9649 |
> |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
9650 |
> |
enable_shared_with_static_runtimes=yes |
9651 |
> |
;; |
9652 |
> |
esac |
9653 |
|
;; |
9654 |
|
|
9655 |
|
darwin* | rhapsody*) |
9659 |
|
hardcode_direct=no |
9660 |
|
hardcode_automatic=yes |
9661 |
|
hardcode_shlibpath_var=unsupported |
9662 |
< |
whole_archive_flag_spec='' |
9662 |
> |
if test "$lt_cv_ld_force_load" = "yes"; then |
9663 |
> |
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
9664 |
> |
else |
9665 |
> |
whole_archive_flag_spec='' |
9666 |
> |
fi |
9667 |
|
link_all_deplibs=yes |
9668 |
|
allow_undefined_flag="$_lt_dar_allow_undefined" |
9669 |
|
case $cc_basename in |
9671 |
|
*) _lt_dar_can_shared=$GCC ;; |
9672 |
|
esac |
9673 |
|
if test "$_lt_dar_can_shared" = "yes"; then |
9674 |
< |
output_verbose_link_cmd=echo |
9674 |
> |
output_verbose_link_cmd=func_echo_all |
9675 |
|
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
9676 |
|
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
9677 |
|
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}" |
9714 |
|
|
9715 |
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
9716 |
|
freebsd* | dragonfly*) |
9717 |
< |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
9717 |
> |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
9718 |
|
hardcode_libdir_flag_spec='-R$libdir' |
9719 |
|
hardcode_direct=yes |
9720 |
|
hardcode_shlibpath_var=no |
9722 |
|
|
9723 |
|
hpux9*) |
9724 |
|
if test "$GCC" = yes; then |
9725 |
< |
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' |
9725 |
> |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
9726 |
|
else |
9727 |
|
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' |
9728 |
|
fi |
9737 |
|
;; |
9738 |
|
|
9739 |
|
hpux10*) |
9740 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
9741 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9740 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
9741 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9742 |
|
else |
9743 |
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
9744 |
|
fi |
9756 |
|
;; |
9757 |
|
|
9758 |
|
hpux11*) |
9759 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
9759 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
9760 |
|
case $host_cpu in |
9761 |
|
hppa*64*) |
9762 |
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
9763 |
|
;; |
9764 |
|
ia64*) |
9765 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9765 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9766 |
|
;; |
9767 |
|
*) |
9768 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9768 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9769 |
|
;; |
9770 |
|
esac |
9771 |
|
else |
9777 |
|
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9778 |
|
;; |
9779 |
|
*) |
9780 |
< |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9780 |
> |
|
9781 |
> |
# Older versions of the 11.00 compiler do not understand -b yet |
9782 |
> |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
9783 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
9784 |
> |
$as_echo_n "checking if $CC understands -b... " >&6; } |
9785 |
> |
if ${lt_cv_prog_compiler__b+:} false; then : |
9786 |
> |
$as_echo_n "(cached) " >&6 |
9787 |
> |
else |
9788 |
> |
lt_cv_prog_compiler__b=no |
9789 |
> |
save_LDFLAGS="$LDFLAGS" |
9790 |
> |
LDFLAGS="$LDFLAGS -b" |
9791 |
> |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
9792 |
> |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
9793 |
> |
# The linker can only warn and ignore the option if not recognized |
9794 |
> |
# So say no if there are warnings |
9795 |
> |
if test -s conftest.err; then |
9796 |
> |
# Append any errors to the config.log. |
9797 |
> |
cat conftest.err 1>&5 |
9798 |
> |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
9799 |
> |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
9800 |
> |
if diff conftest.exp conftest.er2 >/dev/null; then |
9801 |
> |
lt_cv_prog_compiler__b=yes |
9802 |
> |
fi |
9803 |
> |
else |
9804 |
> |
lt_cv_prog_compiler__b=yes |
9805 |
> |
fi |
9806 |
> |
fi |
9807 |
> |
$RM -r conftest* |
9808 |
> |
LDFLAGS="$save_LDFLAGS" |
9809 |
> |
|
9810 |
> |
fi |
9811 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
9812 |
> |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
9813 |
> |
|
9814 |
> |
if test x"$lt_cv_prog_compiler__b" = xyes; then |
9815 |
> |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9816 |
> |
else |
9817 |
> |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
9818 |
> |
fi |
9819 |
> |
|
9820 |
|
;; |
9821 |
|
esac |
9822 |
|
fi |
9844 |
|
|
9845 |
|
irix5* | irix6* | nonstopux*) |
9846 |
|
if test "$GCC" = yes; then |
9847 |
< |
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' |
9847 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
9848 |
|
# Try to use the -exported_symbol ld option, if it does not |
9849 |
|
# work, assume that -exports_file does not work either and |
9850 |
|
# implicitly export all symbols. |
9851 |
< |
save_LDFLAGS="$LDFLAGS" |
9852 |
< |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
9853 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9851 |
> |
# This should be the same for all languages, so no per-tag cache variable. |
9852 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
9853 |
> |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
9854 |
> |
if ${lt_cv_irix_exported_symbol+:} false; then : |
9855 |
> |
$as_echo_n "(cached) " >&6 |
9856 |
> |
else |
9857 |
> |
save_LDFLAGS="$LDFLAGS" |
9858 |
> |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
9859 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9860 |
|
/* end confdefs.h. */ |
9861 |
< |
int foo(void) {} |
9861 |
> |
int foo (void) { return 0; } |
9862 |
|
_ACEOF |
9863 |
|
if ac_fn_c_try_link "$LINENO"; then : |
9864 |
< |
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' |
9865 |
< |
|
9864 |
> |
lt_cv_irix_exported_symbol=yes |
9865 |
> |
else |
9866 |
> |
lt_cv_irix_exported_symbol=no |
9867 |
|
fi |
9868 |
|
rm -f core conftest.err conftest.$ac_objext \ |
9869 |
|
conftest$ac_exeext conftest.$ac_ext |
9870 |
< |
LDFLAGS="$save_LDFLAGS" |
9870 |
> |
LDFLAGS="$save_LDFLAGS" |
9871 |
> |
fi |
9872 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
9873 |
> |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
9874 |
> |
if test "$lt_cv_irix_exported_symbol" = yes; then |
9875 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
9876 |
> |
fi |
9877 |
|
else |
9878 |
< |
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' |
9879 |
< |
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' |
9878 |
> |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
9879 |
> |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
9880 |
|
fi |
9881 |
|
archive_cmds_need_lc='no' |
9882 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9938 |
|
hardcode_libdir_flag_spec='-L$libdir' |
9939 |
|
hardcode_minus_L=yes |
9940 |
|
allow_undefined_flag=unsupported |
9941 |
< |
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' |
9941 |
> |
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' |
9942 |
|
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
9943 |
|
;; |
9944 |
|
|
9945 |
|
osf3*) |
9946 |
|
if test "$GCC" = yes; then |
9947 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
9948 |
< |
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' |
9948 |
> |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
9949 |
|
else |
9950 |
|
allow_undefined_flag=' -expect_unresolved \*' |
9951 |
< |
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' |
9951 |
> |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
9952 |
|
fi |
9953 |
|
archive_cmds_need_lc='no' |
9954 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9958 |
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
9959 |
|
if test "$GCC" = yes; then |
9960 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
9961 |
< |
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' |
9961 |
> |
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
9962 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9963 |
|
else |
9964 |
|
allow_undefined_flag=' -expect_unresolved \*' |
9965 |
< |
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' |
9965 |
> |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
9966 |
|
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~ |
9967 |
< |
$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' |
9967 |
> |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
9968 |
|
|
9969 |
|
# Both c and cxx compiler support -rpath directly |
9970 |
|
hardcode_libdir_flag_spec='-rpath $libdir' |
9977 |
|
no_undefined_flag=' -z defs' |
9978 |
|
if test "$GCC" = yes; then |
9979 |
|
wlarc='${wl}' |
9980 |
< |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
9980 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
9981 |
|
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
9982 |
< |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
9982 |
> |
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
9983 |
|
else |
9984 |
|
case `$CC -V 2>&1` in |
9985 |
|
*"Compilers 5.0"*) |
10167 |
|
# to ld, don't add -lc before -lgcc. |
10168 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
10169 |
|
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
10170 |
< |
$RM conftest* |
10171 |
< |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10170 |
> |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
10171 |
> |
$as_echo_n "(cached) " >&6 |
10172 |
> |
else |
10173 |
> |
$RM conftest* |
10174 |
> |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10175 |
|
|
10176 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10176 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10177 |
|
(eval $ac_compile) 2>&5 |
10178 |
|
ac_status=$? |
10179 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10180 |
|
test $ac_status = 0; } 2>conftest.err; then |
10181 |
< |
soname=conftest |
10182 |
< |
lib=conftest |
10183 |
< |
libobjs=conftest.$ac_objext |
10184 |
< |
deplibs= |
10185 |
< |
wl=$lt_prog_compiler_wl |
10186 |
< |
pic_flag=$lt_prog_compiler_pic |
10187 |
< |
compiler_flags=-v |
10188 |
< |
linker_flags=-v |
10189 |
< |
verstring= |
10190 |
< |
output_objdir=. |
10191 |
< |
libname=conftest |
10192 |
< |
lt_save_allow_undefined_flag=$allow_undefined_flag |
10193 |
< |
allow_undefined_flag= |
10194 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
10181 |
> |
soname=conftest |
10182 |
> |
lib=conftest |
10183 |
> |
libobjs=conftest.$ac_objext |
10184 |
> |
deplibs= |
10185 |
> |
wl=$lt_prog_compiler_wl |
10186 |
> |
pic_flag=$lt_prog_compiler_pic |
10187 |
> |
compiler_flags=-v |
10188 |
> |
linker_flags=-v |
10189 |
> |
verstring= |
10190 |
> |
output_objdir=. |
10191 |
> |
libname=conftest |
10192 |
> |
lt_save_allow_undefined_flag=$allow_undefined_flag |
10193 |
> |
allow_undefined_flag= |
10194 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
10195 |
|
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
10196 |
|
ac_status=$? |
10197 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10198 |
|
test $ac_status = 0; } |
10199 |
< |
then |
10200 |
< |
archive_cmds_need_lc=no |
10201 |
< |
else |
10202 |
< |
archive_cmds_need_lc=yes |
10203 |
< |
fi |
10204 |
< |
allow_undefined_flag=$lt_save_allow_undefined_flag |
10205 |
< |
else |
10206 |
< |
cat conftest.err 1>&5 |
10207 |
< |
fi |
10208 |
< |
$RM conftest* |
10209 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 |
10210 |
< |
$as_echo "$archive_cmds_need_lc" >&6; } |
10199 |
> |
then |
10200 |
> |
lt_cv_archive_cmds_need_lc=no |
10201 |
> |
else |
10202 |
> |
lt_cv_archive_cmds_need_lc=yes |
10203 |
> |
fi |
10204 |
> |
allow_undefined_flag=$lt_save_allow_undefined_flag |
10205 |
> |
else |
10206 |
> |
cat conftest.err 1>&5 |
10207 |
> |
fi |
10208 |
> |
$RM conftest* |
10209 |
> |
|
10210 |
> |
fi |
10211 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
10212 |
> |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
10213 |
> |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
10214 |
|
;; |
10215 |
|
esac |
10216 |
|
fi |
10381 |
|
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
10382 |
|
*) lt_awk_arg="/^libraries:/" ;; |
10383 |
|
esac |
10384 |
< |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
10385 |
< |
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
10384 |
> |
case $host_os in |
10385 |
> |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
10386 |
> |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
10387 |
> |
esac |
10388 |
> |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
10389 |
> |
case $lt_search_path_spec in |
10390 |
> |
*\;*) |
10391 |
|
# if the path contains ";" then we assume it to be the separator |
10392 |
|
# otherwise default to the standard path separator (i.e. ":") - it is |
10393 |
|
# assumed that no part of a normal pathname contains ";" but that should |
10394 |
|
# okay in the real world where ";" in dirpaths is itself problematic. |
10395 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
10396 |
< |
else |
10397 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10398 |
< |
fi |
10395 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
10396 |
> |
;; |
10397 |
> |
*) |
10398 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
10399 |
> |
;; |
10400 |
> |
esac |
10401 |
|
# Ok, now we have the path, separated by spaces, we can step through it |
10402 |
|
# and add multilib dir if necessary. |
10403 |
|
lt_tmp_lt_search_path_spec= |
10410 |
|
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
10411 |
|
fi |
10412 |
|
done |
10413 |
< |
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
10413 |
> |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
10414 |
|
BEGIN {RS=" "; FS="/|\n";} { |
10415 |
|
lt_foo=""; |
10416 |
|
lt_count=0; |
10430 |
|
if (lt_foo != "") { lt_freq[lt_foo]++; } |
10431 |
|
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
10432 |
|
}'` |
10433 |
< |
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
10433 |
> |
# AWK program above erroneously prepends '/' to C:/dos/paths |
10434 |
> |
# for these hosts. |
10435 |
> |
case $host_os in |
10436 |
> |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
10437 |
> |
$SED 's,/\([A-Za-z]:\),\1,g'` ;; |
10438 |
> |
esac |
10439 |
> |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
10440 |
|
else |
10441 |
|
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
10442 |
|
fi |
10524 |
|
m68k) |
10525 |
|
library_names_spec='$libname.ixlibrary $libname.a' |
10526 |
|
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
10527 |
< |
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' |
10527 |
> |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
10528 |
|
;; |
10529 |
|
esac |
10530 |
|
;; |
10555 |
|
need_version=no |
10556 |
|
need_lib_prefix=no |
10557 |
|
|
10558 |
< |
case $GCC,$host_os in |
10559 |
< |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
10558 |
> |
case $GCC,$cc_basename in |
10559 |
> |
yes,*) |
10560 |
> |
# gcc |
10561 |
|
library_names_spec='$libname.dll.a' |
10562 |
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
10563 |
|
postinstall_cmds='base_file=`basename \${file}`~ |
10578 |
|
cygwin*) |
10579 |
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
10580 |
|
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10581 |
< |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
10581 |
> |
|
10582 |
> |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
10583 |
|
;; |
10584 |
|
mingw* | cegcc*) |
10585 |
|
# MinGW DLLs use traditional 'lib' prefix |
10586 |
|
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
9874 |
– |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
9875 |
– |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
9876 |
– |
# It is most probably a Windows format PATH printed by |
9877 |
– |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
9878 |
– |
# path with ; separators, and with drive letters. We can handle the |
9879 |
– |
# drive letters (cygwin fileutils understands them), so leave them, |
9880 |
– |
# especially as we might pass files found there to a mingw objdump, |
9881 |
– |
# which wouldn't understand a cygwinified path. Ahh. |
9882 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
9883 |
– |
else |
9884 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
9885 |
– |
fi |
10587 |
|
;; |
10588 |
|
pw32*) |
10589 |
|
# pw32 DLLs use 'pw' prefix rather than 'lib' |
10590 |
|
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10591 |
|
;; |
10592 |
|
esac |
10593 |
+ |
dynamic_linker='Win32 ld.exe' |
10594 |
+ |
;; |
10595 |
+ |
|
10596 |
+ |
*,cl*) |
10597 |
+ |
# Native MSVC |
10598 |
+ |
libname_spec='$name' |
10599 |
+ |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10600 |
+ |
library_names_spec='${libname}.dll.lib' |
10601 |
+ |
|
10602 |
+ |
case $build_os in |
10603 |
+ |
mingw*) |
10604 |
+ |
sys_lib_search_path_spec= |
10605 |
+ |
lt_save_ifs=$IFS |
10606 |
+ |
IFS=';' |
10607 |
+ |
for lt_path in $LIB |
10608 |
+ |
do |
10609 |
+ |
IFS=$lt_save_ifs |
10610 |
+ |
# Let DOS variable expansion print the short 8.3 style file name. |
10611 |
+ |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
10612 |
+ |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
10613 |
+ |
done |
10614 |
+ |
IFS=$lt_save_ifs |
10615 |
+ |
# Convert to MSYS style. |
10616 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
10617 |
+ |
;; |
10618 |
+ |
cygwin*) |
10619 |
+ |
# Convert to unix form, then to dos form, then back to unix form |
10620 |
+ |
# but this time dos style (no spaces!) so that the unix form looks |
10621 |
+ |
# like /cygdrive/c/PROGRA~1:/cygdr... |
10622 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
10623 |
+ |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
10624 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10625 |
+ |
;; |
10626 |
+ |
*) |
10627 |
+ |
sys_lib_search_path_spec="$LIB" |
10628 |
+ |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
10629 |
+ |
# It is most probably a Windows format PATH. |
10630 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
10631 |
+ |
else |
10632 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10633 |
+ |
fi |
10634 |
+ |
# FIXME: find the short name or the path components, as spaces are |
10635 |
+ |
# common. (e.g. "Program Files" -> "PROGRA~1") |
10636 |
+ |
;; |
10637 |
+ |
esac |
10638 |
+ |
|
10639 |
+ |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
10640 |
+ |
postinstall_cmds='base_file=`basename \${file}`~ |
10641 |
+ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
10642 |
+ |
dldir=$destdir/`dirname \$dlpath`~ |
10643 |
+ |
test -d \$dldir || mkdir -p \$dldir~ |
10644 |
+ |
$install_prog $dir/$dlname \$dldir/$dlname' |
10645 |
+ |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
10646 |
+ |
dlpath=$dir/\$dldll~ |
10647 |
+ |
$RM \$dlpath' |
10648 |
+ |
shlibpath_overrides_runpath=yes |
10649 |
+ |
dynamic_linker='Win32 link.exe' |
10650 |
|
;; |
10651 |
|
|
10652 |
|
*) |
10653 |
+ |
# Assume MSVC wrapper |
10654 |
|
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
10655 |
+ |
dynamic_linker='Win32 ld.exe' |
10656 |
|
;; |
10657 |
|
esac |
9898 |
– |
dynamic_linker='Win32 ld.exe' |
10658 |
|
# FIXME: first we should search . and the directory the executable is in |
10659 |
|
shlibpath_var=PATH |
10660 |
|
;; |
10741 |
|
hardcode_into_libs=yes |
10742 |
|
;; |
10743 |
|
|
10744 |
+ |
haiku*) |
10745 |
+ |
version_type=linux |
10746 |
+ |
need_lib_prefix=no |
10747 |
+ |
need_version=no |
10748 |
+ |
dynamic_linker="$host_os runtime_loader" |
10749 |
+ |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
10750 |
+ |
soname_spec='${libname}${release}${shared_ext}$major' |
10751 |
+ |
shlibpath_var=LIBRARY_PATH |
10752 |
+ |
shlibpath_overrides_runpath=yes |
10753 |
+ |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
10754 |
+ |
hardcode_into_libs=yes |
10755 |
+ |
;; |
10756 |
+ |
|
10757 |
|
hpux9* | hpux10* | hpux11*) |
10758 |
|
# Give a soname corresponding to the major version so that dld.sl refuses to |
10759 |
|
# link against other versions. |
10796 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
10797 |
|
;; |
10798 |
|
esac |
10799 |
< |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
10799 |
> |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
10800 |
|
postinstall_cmds='chmod 555 $lib' |
10801 |
+ |
# or fails outright, so override atomically: |
10802 |
+ |
install_override_mode=555 |
10803 |
|
;; |
10804 |
|
|
10805 |
|
interix[3-9]*) |
10857 |
|
;; |
10858 |
|
|
10859 |
|
# This must be Linux ELF. |
10860 |
< |
linux* | k*bsd*-gnu) |
10860 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
10861 |
|
version_type=linux |
10862 |
|
need_lib_prefix=no |
10863 |
|
need_version=no |
10866 |
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
10867 |
|
shlibpath_var=LD_LIBRARY_PATH |
10868 |
|
shlibpath_overrides_runpath=no |
10869 |
+ |
|
10870 |
|
# Some binutils ld are patched to set DT_RUNPATH |
10871 |
< |
save_LDFLAGS=$LDFLAGS |
10872 |
< |
save_libdir=$libdir |
10873 |
< |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
10874 |
< |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
10875 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10871 |
> |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
10872 |
> |
$as_echo_n "(cached) " >&6 |
10873 |
> |
else |
10874 |
> |
lt_cv_shlibpath_overrides_runpath=no |
10875 |
> |
save_LDFLAGS=$LDFLAGS |
10876 |
> |
save_libdir=$libdir |
10877 |
> |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
10878 |
> |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
10879 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10880 |
|
/* end confdefs.h. */ |
10881 |
|
|
10882 |
|
int |
10889 |
|
_ACEOF |
10890 |
|
if ac_fn_c_try_link "$LINENO"; then : |
10891 |
|
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
10892 |
< |
shlibpath_overrides_runpath=yes |
10892 |
> |
lt_cv_shlibpath_overrides_runpath=yes |
10893 |
|
fi |
10894 |
|
fi |
10895 |
|
rm -f core conftest.err conftest.$ac_objext \ |
10896 |
|
conftest$ac_exeext conftest.$ac_ext |
10897 |
< |
LDFLAGS=$save_LDFLAGS |
10898 |
< |
libdir=$save_libdir |
10897 |
> |
LDFLAGS=$save_LDFLAGS |
10898 |
> |
libdir=$save_libdir |
10899 |
> |
|
10900 |
> |
fi |
10901 |
> |
|
10902 |
> |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
10903 |
|
|
10904 |
|
# This implies no fast_install, which is unacceptable. |
10905 |
|
# Some rework will be needed to allow for fast_install |
10906 |
|
# before this can be enabled. |
10907 |
|
hardcode_into_libs=yes |
10908 |
|
|
10126 |
– |
# find out which ABI we are using |
10127 |
– |
libsuff= |
10128 |
– |
case "$host_cpu" in |
10129 |
– |
x86_64*|s390x*|powerpc64*) |
10130 |
– |
echo '#line 10130 "configure"' > conftest.$ac_ext |
10131 |
– |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10132 |
– |
(eval $ac_compile) 2>&5 |
10133 |
– |
ac_status=$? |
10134 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10135 |
– |
test $ac_status = 0; }; then |
10136 |
– |
case `/usr/bin/file conftest.$ac_objext` in |
10137 |
– |
*64-bit*) |
10138 |
– |
libsuff=64 |
10139 |
– |
;; |
10140 |
– |
esac |
10141 |
– |
fi |
10142 |
– |
rm -rf conftest* |
10143 |
– |
;; |
10144 |
– |
esac |
10145 |
– |
|
10146 |
– |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
10147 |
– |
|
10909 |
|
# Append ld.so.conf contents to the search path |
10910 |
|
if test -f /etc/ld.so.conf; then |
10911 |
< |
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' ' '` |
10912 |
< |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
10911 |
> |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
10912 |
> |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
10913 |
|
fi |
10914 |
|
|
10915 |
|
# We used to test for /lib/ld.so.1 and disable shared libraries on |
11211 |
|
|
11212 |
|
|
11213 |
|
|
11214 |
+ |
|
11215 |
+ |
|
11216 |
+ |
|
11217 |
+ |
|
11218 |
+ |
|
11219 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
11220 |
|
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
11221 |
|
hardcode_action= |
11288 |
|
# if libdl is installed we need to link against it |
11289 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11290 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
11291 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
11291 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
11292 |
|
$as_echo_n "(cached) " >&6 |
11293 |
|
else |
11294 |
|
ac_check_lib_save_LIBS=$LIBS |
11322 |
|
fi |
11323 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11324 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11325 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
11325 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11326 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11327 |
|
else |
11328 |
|
|
11336 |
|
|
11337 |
|
*) |
11338 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
11339 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
11339 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
11340 |
|
lt_cv_dlopen="shl_load" |
11341 |
|
else |
11342 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
11343 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
11344 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
11344 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
11345 |
|
$as_echo_n "(cached) " >&6 |
11346 |
|
else |
11347 |
|
ac_check_lib_save_LIBS=$LIBS |
11375 |
|
fi |
11376 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
11377 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
11378 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
11378 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
11379 |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
11380 |
|
else |
11381 |
|
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
11382 |
< |
if test "x$ac_cv_func_dlopen" = x""yes; then : |
11382 |
> |
if test "x$ac_cv_func_dlopen" = xyes; then : |
11383 |
|
lt_cv_dlopen="dlopen" |
11384 |
|
else |
11385 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11386 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
11387 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
11387 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
11388 |
|
$as_echo_n "(cached) " >&6 |
11389 |
|
else |
11390 |
|
ac_check_lib_save_LIBS=$LIBS |
11418 |
|
fi |
11419 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11420 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11421 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
11421 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11422 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11423 |
|
else |
11424 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
11425 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
11426 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
11426 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
11427 |
|
$as_echo_n "(cached) " >&6 |
11428 |
|
else |
11429 |
|
ac_check_lib_save_LIBS=$LIBS |
11457 |
|
fi |
11458 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
11459 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
11460 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
11460 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
11461 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
11462 |
|
else |
11463 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
11464 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
11465 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
11465 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
11466 |
|
$as_echo_n "(cached) " >&6 |
11467 |
|
else |
11468 |
|
ac_check_lib_save_LIBS=$LIBS |
11496 |
|
fi |
11497 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
11498 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
11499 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
11499 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
11500 |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
11501 |
|
fi |
11502 |
|
|
11537 |
|
|
11538 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
11539 |
|
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
11540 |
< |
if test "${lt_cv_dlopen_self+set}" = set; then : |
11540 |
> |
if ${lt_cv_dlopen_self+:} false; then : |
11541 |
|
$as_echo_n "(cached) " >&6 |
11542 |
|
else |
11543 |
|
if test "$cross_compiling" = yes; then : |
11546 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11547 |
|
lt_status=$lt_dlunknown |
11548 |
|
cat > conftest.$ac_ext <<_LT_EOF |
11549 |
< |
#line 10783 "configure" |
11549 |
> |
#line $LINENO "configure" |
11550 |
|
#include "confdefs.h" |
11551 |
|
|
11552 |
|
#if HAVE_DLFCN_H |
11587 |
|
# endif |
11588 |
|
#endif |
11589 |
|
|
11590 |
< |
void fnord() { int i=42;} |
11590 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11591 |
> |
correspondingly for the symbols needed. */ |
11592 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11593 |
> |
int fnord () __attribute__((visibility("default"))); |
11594 |
> |
#endif |
11595 |
> |
|
11596 |
> |
int fnord () { return 42; } |
11597 |
|
int main () |
11598 |
|
{ |
11599 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
11602 |
|
if (self) |
11603 |
|
{ |
11604 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
11605 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11605 |
> |
else |
11606 |
> |
{ |
11607 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11608 |
> |
else puts (dlerror ()); |
11609 |
> |
} |
11610 |
|
/* dlclose (self); */ |
11611 |
|
} |
11612 |
|
else |
11643 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
11644 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
11645 |
|
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
11646 |
< |
if test "${lt_cv_dlopen_self_static+set}" = set; then : |
11646 |
> |
if ${lt_cv_dlopen_self_static+:} false; then : |
11647 |
|
$as_echo_n "(cached) " >&6 |
11648 |
|
else |
11649 |
|
if test "$cross_compiling" = yes; then : |
11652 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11653 |
|
lt_status=$lt_dlunknown |
11654 |
|
cat > conftest.$ac_ext <<_LT_EOF |
11655 |
< |
#line 10879 "configure" |
11655 |
> |
#line $LINENO "configure" |
11656 |
|
#include "confdefs.h" |
11657 |
|
|
11658 |
|
#if HAVE_DLFCN_H |
11693 |
|
# endif |
11694 |
|
#endif |
11695 |
|
|
11696 |
< |
void fnord() { int i=42;} |
11696 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11697 |
> |
correspondingly for the symbols needed. */ |
11698 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11699 |
> |
int fnord () __attribute__((visibility("default"))); |
11700 |
> |
#endif |
11701 |
> |
|
11702 |
> |
int fnord () { return 42; } |
11703 |
|
int main () |
11704 |
|
{ |
11705 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
11708 |
|
if (self) |
11709 |
|
{ |
11710 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
11711 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11711 |
> |
else |
11712 |
> |
{ |
11713 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11714 |
> |
else puts (dlerror ()); |
11715 |
> |
} |
11716 |
|
/* dlclose (self); */ |
11717 |
|
} |
11718 |
|
else |
11891 |
|
|
11892 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5 |
11893 |
|
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; } |
11894 |
< |
if test "${libltdl_cv_shlibext+set}" = set; then : |
11894 |
> |
if ${libltdl_cv_shlibext+:} false; then : |
11895 |
|
$as_echo_n "(cached) " >&6 |
11896 |
|
else |
11897 |
|
|
11911 |
|
|
11912 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
11913 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
11914 |
< |
if test "${lt_cv_module_path_var+set}" = set; then : |
11914 |
> |
if ${lt_cv_module_path_var+:} false; then : |
11915 |
|
$as_echo_n "(cached) " >&6 |
11916 |
|
else |
11917 |
|
lt_cv_module_path_var="$shlibpath_var" |
11928 |
|
|
11929 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 |
11930 |
|
$as_echo_n "checking for the default library search path... " >&6; } |
11931 |
< |
if test "${lt_cv_sys_dlsearch_path+set}" = set; then : |
11931 |
> |
if ${lt_cv_sys_dlsearch_path+:} false; then : |
11932 |
|
$as_echo_n "(cached) " >&6 |
11933 |
|
else |
11934 |
|
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec" |
11965 |
|
LIBADD_DLOPEN= |
11966 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
11967 |
|
$as_echo_n "checking for library containing dlopen... " >&6; } |
11968 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
11968 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
11969 |
|
$as_echo_n "(cached) " >&6 |
11970 |
|
else |
11971 |
|
ac_func_search_save_LIBS=$LIBS |
11999 |
|
fi |
12000 |
|
rm -f core conftest.err conftest.$ac_objext \ |
12001 |
|
conftest$ac_exeext |
12002 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
12002 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
12003 |
|
break |
12004 |
|
fi |
12005 |
|
done |
12006 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
12006 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
12007 |
|
|
12008 |
|
else |
12009 |
|
ac_cv_search_dlopen=no |
12048 |
|
else |
12049 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
12050 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
12051 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
12051 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
12052 |
|
$as_echo_n "(cached) " >&6 |
12053 |
|
else |
12054 |
|
ac_check_lib_save_LIBS=$LIBS |
12082 |
|
fi |
12083 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
12084 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
12085 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
12085 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
12086 |
|
|
12087 |
|
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
12088 |
|
|
12102 |
|
for ac_func in dlerror |
12103 |
|
do : |
12104 |
|
ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror" |
12105 |
< |
if test "x$ac_cv_func_dlerror" = x""yes; then : |
12105 |
> |
if test "x$ac_cv_func_dlerror" = xyes; then : |
12106 |
|
cat >>confdefs.h <<_ACEOF |
12107 |
|
#define HAVE_DLERROR 1 |
12108 |
|
_ACEOF |
12116 |
|
|
12117 |
|
LIBADD_SHL_LOAD= |
12118 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
12119 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
12119 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
12120 |
|
|
12121 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
12122 |
|
|
12124 |
|
else |
12125 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
12126 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
12127 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
12127 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
12128 |
|
$as_echo_n "(cached) " >&6 |
12129 |
|
else |
12130 |
|
ac_check_lib_save_LIBS=$LIBS |
12158 |
|
fi |
12159 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
12160 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
12161 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
12161 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
12162 |
|
|
12163 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
12164 |
|
|
12174 |
|
darwin[1567].*) |
12175 |
|
# We only want this for pre-Mac OS X 10.4. |
12176 |
|
ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup" |
12177 |
< |
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then : |
12177 |
> |
if test "x$ac_cv_func__dyld_func_lookup" = xyes; then : |
12178 |
|
|
12179 |
|
$as_echo "#define HAVE_DYLD 1" >>confdefs.h |
12180 |
|
|
12188 |
|
cygwin* | mingw* | os2* | pw32*) |
12189 |
|
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
12190 |
|
" |
12191 |
< |
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then : |
12191 |
> |
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then : |
12192 |
|
ac_have_decl=1 |
12193 |
|
else |
12194 |
|
ac_have_decl=0 |
12204 |
|
|
12205 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
12206 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
12207 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
12207 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
12208 |
|
$as_echo_n "(cached) " >&6 |
12209 |
|
else |
12210 |
|
ac_check_lib_save_LIBS=$LIBS |
12238 |
|
fi |
12239 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
12240 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
12241 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
12241 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
12242 |
|
|
12243 |
|
$as_echo "#define HAVE_DLD 1" >>confdefs.h |
12244 |
|
|
12272 |
|
|
12273 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 |
12274 |
|
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; } |
12275 |
< |
if test "${lt_cv_sys_symbol_underscore+set}" = set; then : |
12275 |
> |
if ${lt_cv_sys_symbol_underscore+:} false; then : |
12276 |
|
$as_echo_n "(cached) " >&6 |
12277 |
|
else |
12278 |
|
lt_cv_sys_symbol_underscore=no |
12322 |
|
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then |
12323 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
12324 |
|
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } |
12325 |
< |
if test "${libltdl_cv_need_uscore+set}" = set; then : |
12325 |
> |
if ${libltdl_cv_need_uscore+:} false; then : |
12326 |
|
$as_echo_n "(cached) " >&6 |
12327 |
|
else |
12328 |
|
libltdl_cv_need_uscore=unknown |
12334 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12335 |
|
lt_status=$lt_dlunknown |
12336 |
|
cat > conftest.$ac_ext <<_LT_EOF |
12337 |
< |
#line 11551 "configure" |
12337 |
> |
#line $LINENO "configure" |
12338 |
|
#include "confdefs.h" |
12339 |
|
|
12340 |
|
#if HAVE_DLFCN_H |
12375 |
|
# endif |
12376 |
|
#endif |
12377 |
|
|
12378 |
< |
void fnord() { int i=42;} |
12378 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
12379 |
> |
correspondingly for the symbols needed. */ |
12380 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
12381 |
> |
int fnord () __attribute__((visibility("default"))); |
12382 |
> |
#endif |
12383 |
> |
|
12384 |
> |
int fnord () { return 42; } |
12385 |
|
int main () |
12386 |
|
{ |
12387 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
12390 |
|
if (self) |
12391 |
|
{ |
12392 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
12393 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
12393 |
> |
else |
12394 |
> |
{ |
12395 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
12396 |
> |
else puts (dlerror ()); |
12397 |
> |
} |
12398 |
|
/* dlclose (self); */ |
12399 |
|
} |
12400 |
|
else |
12438 |
|
|
12439 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 |
12440 |
|
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; } |
12441 |
< |
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then : |
12441 |
> |
if ${lt_cv_sys_dlopen_deplibs+:} false; then : |
12442 |
|
$as_echo_n "(cached) " >&6 |
12443 |
|
else |
12444 |
|
# PORTME does your system automatically load deplibs for dlopen? |
12470 |
|
freebsd* | dragonfly*) |
12471 |
|
lt_cv_sys_dlopen_deplibs=yes |
12472 |
|
;; |
12473 |
< |
gnu* | linux* | k*bsd*-gnu) |
12473 |
> |
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
12474 |
|
# GNU and its variants, using gnu ld.so (Glibc) |
12475 |
|
lt_cv_sys_dlopen_deplibs=yes |
12476 |
|
;; |
12544 |
|
do : |
12545 |
|
ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default |
12546 |
|
" |
12547 |
< |
if test "x$ac_cv_header_argz_h" = x""yes; then : |
12547 |
> |
if test "x$ac_cv_header_argz_h" = xyes; then : |
12548 |
|
cat >>confdefs.h <<_ACEOF |
12549 |
|
#define HAVE_ARGZ_H 1 |
12550 |
|
_ACEOF |
12558 |
|
# include <argz.h> |
12559 |
|
#endif |
12560 |
|
" |
12561 |
< |
if test "x$ac_cv_type_error_t" = x""yes; then : |
12561 |
> |
if test "x$ac_cv_type_error_t" = xyes; then : |
12562 |
|
|
12563 |
|
cat >>confdefs.h <<_ACEOF |
12564 |
|
#define HAVE_ERROR_T 1 |
12581 |
|
do : |
12582 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12583 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12584 |
< |
eval as_val=\$$as_ac_var |
11789 |
< |
if test "x$as_val" = x""yes; then : |
12584 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12585 |
|
cat >>confdefs.h <<_ACEOF |
12586 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12587 |
|
_ACEOF |
12598 |
|
if test -z "$ARGZ_H"; then : |
12599 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
12600 |
|
$as_echo_n "checking if argz actually works... " >&6; } |
12601 |
< |
if test "${lt_cv_sys_argz_works+set}" = set; then : |
12601 |
> |
if ${lt_cv_sys_argz_works+:} false; then : |
12602 |
|
$as_echo_n "(cached) " >&6 |
12603 |
|
else |
12604 |
|
case $host_os in #( |
12629 |
|
fi |
12630 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 |
12631 |
|
$as_echo "$lt_cv_sys_argz_works" >&6; } |
12632 |
< |
if test $lt_cv_sys_argz_works = yes; then : |
12632 |
> |
if test "$lt_cv_sys_argz_works" = yes; then : |
12633 |
|
|
12634 |
|
$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
12635 |
|
|
12646 |
|
|
12647 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
12648 |
|
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } |
12649 |
< |
if test "${libltdl_cv_preloaded_symbols+set}" = set; then : |
12649 |
> |
if ${libltdl_cv_preloaded_symbols+:} false; then : |
12650 |
|
$as_echo_n "(cached) " >&6 |
12651 |
|
else |
12652 |
|
if test -n "$lt_cv_sys_global_symbol_pipe"; then |
12664 |
|
|
12665 |
|
fi |
12666 |
|
|
11872 |
– |
|
11873 |
– |
|
12667 |
|
# Set options |
12668 |
|
|
12669 |
|
|
12676 |
|
|
12677 |
|
|
12678 |
|
|
11886 |
– |
|
12679 |
|
# Check whether --with-included_ltdl was given. |
12680 |
|
if test "${with_included_ltdl+set}" = set; then : |
12681 |
|
withval=$with_included_ltdl; |
12688 |
|
ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default |
12689 |
|
|
12690 |
|
" |
12691 |
< |
if test "x$ac_cv_header_ltdl_h" = x""yes; then : |
12691 |
> |
if test "x$ac_cv_header_ltdl_h" = xyes; then : |
12692 |
|
ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default |
12693 |
|
#include <ltdl.h> |
12694 |
|
" |
12695 |
< |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then : |
12695 |
> |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then : |
12696 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 |
12697 |
|
$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; } |
12698 |
< |
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then : |
12698 |
> |
if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then : |
12699 |
|
$as_echo_n "(cached) " >&6 |
12700 |
|
else |
12701 |
|
ac_check_lib_save_LIBS=$LIBS |
12729 |
|
fi |
12730 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
12731 |
|
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } |
12732 |
< |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then : |
12732 |
> |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then : |
12733 |
|
with_included_ltdl=no |
12734 |
|
else |
12735 |
|
with_included_ltdl=yes |
12749 |
|
|
12750 |
|
|
12751 |
|
|
11960 |
– |
|
11961 |
– |
|
11962 |
– |
|
11963 |
– |
|
11964 |
– |
|
12752 |
|
# Check whether --with-ltdl_include was given. |
12753 |
|
if test "${with_ltdl_include+set}" = set; then : |
12754 |
|
withval=$with_ltdl_include; |
12758 |
|
if test -n "$with_ltdl_include"; then |
12759 |
|
if test -f "$with_ltdl_include/ltdl.h"; then : |
12760 |
|
else |
12761 |
< |
as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
12761 |
> |
as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
12762 |
|
fi |
12763 |
|
else |
12764 |
|
with_ltdl_include=no |
12774 |
|
if test -n "$with_ltdl_lib"; then |
12775 |
|
if test -f "$with_ltdl_lib/libltdl.la"; then : |
12776 |
|
else |
12777 |
< |
as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
12777 |
> |
as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
12778 |
|
fi |
12779 |
|
else |
12780 |
|
with_ltdl_lib=no |
12783 |
|
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in |
12784 |
|
,yes,no,no,) |
12785 |
|
case $enable_ltdl_convenience in |
12786 |
< |
no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;; |
12786 |
> |
no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;; |
12787 |
|
"") enable_ltdl_convenience=yes |
12788 |
|
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
12789 |
|
esac |
12811 |
|
LTDLINCL= |
12812 |
|
;; |
12813 |
|
,no*,no,*) |
12814 |
< |
as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
12814 |
> |
as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
12815 |
|
;; |
12816 |
|
*) with_included_ltdl=no |
12817 |
|
LIBLTDL="-L$with_ltdl_lib -lltdl" |
12862 |
|
|
12863 |
|
|
12864 |
|
|
12078 |
– |
subdirs="$subdirs libltdl" |
12079 |
– |
|
12080 |
– |
|
12865 |
|
|
12866 |
|
|
12867 |
|
|
12878 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12879 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
12880 |
|
" |
12881 |
< |
eval as_val=\$$as_ac_Header |
12098 |
< |
if test "x$as_val" = x""yes; then : |
12881 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
12882 |
|
cat >>confdefs.h <<_ACEOF |
12883 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12884 |
|
_ACEOF |
12892 |
|
do : |
12893 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12894 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12895 |
< |
eval as_val=\$$as_ac_var |
12113 |
< |
if test "x$as_val" = x""yes; then : |
12895 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12896 |
|
cat >>confdefs.h <<_ACEOF |
12897 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12898 |
|
_ACEOF |
12909 |
|
do : |
12910 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12911 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12912 |
< |
eval as_val=\$$as_ac_var |
12131 |
< |
if test "x$as_val" = x""yes; then : |
12912 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12913 |
|
cat >>confdefs.h <<_ACEOF |
12914 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12915 |
|
_ACEOF |
12929 |
|
_ACEOF |
12930 |
|
|
12931 |
|
|
12932 |
+ |
name= |
12933 |
+ |
eval "lt_libprefix=\"$libname_spec\"" |
12934 |
+ |
|
12935 |
+ |
cat >>confdefs.h <<_ACEOF |
12936 |
+ |
#define LT_LIBPREFIX "$lt_libprefix" |
12937 |
+ |
_ACEOF |
12938 |
+ |
|
12939 |
+ |
|
12940 |
|
name=ltdl |
12941 |
< |
LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""` |
12941 |
> |
eval "LTDLOPEN=\"$libname_spec\"" |
12942 |
|
|
12943 |
|
|
12944 |
|
|
12950 |
|
# Only expand once: |
12951 |
|
|
12952 |
|
|
12953 |
+ |
LIBTOOL="$LIBTOOL --silent" |
12954 |
|
|
12955 |
|
# Checks for libraries. |
12956 |
|
|
12957 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
12958 |
|
$as_echo_n "checking for library containing socket... " >&6; } |
12959 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
12959 |
> |
if ${ac_cv_search_socket+:} false; then : |
12960 |
|
$as_echo_n "(cached) " >&6 |
12961 |
|
else |
12962 |
|
ac_func_search_save_LIBS=$LIBS |
12990 |
|
fi |
12991 |
|
rm -f core conftest.err conftest.$ac_objext \ |
12992 |
|
conftest$ac_exeext |
12993 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
12993 |
> |
if ${ac_cv_search_socket+:} false; then : |
12994 |
|
break |
12995 |
|
fi |
12996 |
|
done |
12997 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
12997 |
> |
if ${ac_cv_search_socket+:} false; then : |
12998 |
|
|
12999 |
|
else |
13000 |
|
ac_cv_search_socket=no |
13009 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13010 |
|
|
13011 |
|
else |
13012 |
< |
as_fn_error "socket library not found" "$LINENO" 5 |
13012 |
> |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13013 |
> |
fi |
13014 |
> |
|
13015 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
13016 |
> |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
13017 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13018 |
> |
$as_echo_n "(cached) " >&6 |
13019 |
> |
else |
13020 |
> |
ac_func_search_save_LIBS=$LIBS |
13021 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13022 |
> |
/* end confdefs.h. */ |
13023 |
> |
|
13024 |
> |
/* Override any GCC internal prototype to avoid an error. |
13025 |
> |
Use char because int might match the return type of a GCC |
13026 |
> |
builtin and then its argument prototype would still apply. */ |
13027 |
> |
#ifdef __cplusplus |
13028 |
> |
extern "C" |
13029 |
> |
#endif |
13030 |
> |
char inet_ntoa (); |
13031 |
> |
int |
13032 |
> |
main () |
13033 |
> |
{ |
13034 |
> |
return inet_ntoa (); |
13035 |
> |
; |
13036 |
> |
return 0; |
13037 |
> |
} |
13038 |
> |
_ACEOF |
13039 |
> |
for ac_lib in '' nsl; do |
13040 |
> |
if test -z "$ac_lib"; then |
13041 |
> |
ac_res="none required" |
13042 |
> |
else |
13043 |
> |
ac_res=-l$ac_lib |
13044 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13045 |
> |
fi |
13046 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13047 |
> |
ac_cv_search_inet_ntoa=$ac_res |
13048 |
> |
fi |
13049 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13050 |
> |
conftest$ac_exeext |
13051 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13052 |
> |
break |
13053 |
> |
fi |
13054 |
> |
done |
13055 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13056 |
> |
|
13057 |
> |
else |
13058 |
> |
ac_cv_search_inet_ntoa=no |
13059 |
> |
fi |
13060 |
> |
rm conftest.$ac_ext |
13061 |
> |
LIBS=$ac_func_search_save_LIBS |
13062 |
> |
fi |
13063 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
13064 |
> |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
13065 |
> |
ac_res=$ac_cv_search_inet_ntoa |
13066 |
> |
if test "$ac_res" != no; then : |
13067 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13068 |
> |
|
13069 |
> |
fi |
13070 |
> |
|
13071 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
13072 |
> |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
13073 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
13074 |
> |
$as_echo_n "(cached) " >&6 |
13075 |
> |
else |
13076 |
> |
ac_func_search_save_LIBS=$LIBS |
13077 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13078 |
> |
/* end confdefs.h. */ |
13079 |
> |
|
13080 |
> |
/* Override any GCC internal prototype to avoid an error. |
13081 |
> |
Use char because int might match the return type of a GCC |
13082 |
> |
builtin and then its argument prototype would still apply. */ |
13083 |
> |
#ifdef __cplusplus |
13084 |
> |
extern "C" |
13085 |
> |
#endif |
13086 |
> |
char inet_aton (); |
13087 |
> |
int |
13088 |
> |
main () |
13089 |
> |
{ |
13090 |
> |
return inet_aton (); |
13091 |
> |
; |
13092 |
> |
return 0; |
13093 |
> |
} |
13094 |
> |
_ACEOF |
13095 |
> |
for ac_lib in '' resolv; do |
13096 |
> |
if test -z "$ac_lib"; then |
13097 |
> |
ac_res="none required" |
13098 |
> |
else |
13099 |
> |
ac_res=-l$ac_lib |
13100 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13101 |
> |
fi |
13102 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13103 |
> |
ac_cv_search_inet_aton=$ac_res |
13104 |
> |
fi |
13105 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13106 |
> |
conftest$ac_exeext |
13107 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
13108 |
> |
break |
13109 |
> |
fi |
13110 |
> |
done |
13111 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
13112 |
> |
|
13113 |
> |
else |
13114 |
> |
ac_cv_search_inet_aton=no |
13115 |
> |
fi |
13116 |
> |
rm conftest.$ac_ext |
13117 |
> |
LIBS=$ac_func_search_save_LIBS |
13118 |
> |
fi |
13119 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
13120 |
> |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
13121 |
> |
ac_res=$ac_cv_search_inet_aton |
13122 |
> |
if test "$ac_res" != no; then : |
13123 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13124 |
> |
|
13125 |
|
fi |
13126 |
|
|
13127 |
|
for ac_func in inet_aton inet_ntop inet_pton |
13128 |
|
do : |
13129 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13130 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13131 |
< |
eval as_val=\$$as_ac_var |
12230 |
< |
if test "x$as_val" = x""yes; then : |
13131 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13132 |
|
cat >>confdefs.h <<_ACEOF |
13133 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13134 |
|
_ACEOF |
13141 |
|
#include <netdb.h> |
13142 |
|
|
13143 |
|
" |
13144 |
< |
if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then : |
13144 |
> |
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : |
13145 |
|
|
13146 |
|
cat >>confdefs.h <<_ACEOF |
13147 |
|
#define HAVE_STRUCT_SOCKADDR_IN 1 |
13154 |
|
#include <netdb.h> |
13155 |
|
|
13156 |
|
" |
13157 |
< |
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : |
13157 |
> |
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
13158 |
|
|
13159 |
|
cat >>confdefs.h <<_ACEOF |
13160 |
|
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
13167 |
|
#include <netdb.h> |
13168 |
|
|
13169 |
|
" |
13170 |
< |
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : |
13170 |
> |
if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
13171 |
|
|
13172 |
|
cat >>confdefs.h <<_ACEOF |
13173 |
|
#define HAVE_STRUCT_ADDRINFO 1 |
13179 |
|
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
13180 |
|
<sys/socket.h> |
13181 |
|
" |
13182 |
< |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then : |
13182 |
> |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
13183 |
|
|
13184 |
|
cat >>confdefs.h <<_ACEOF |
13185 |
|
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
13190 |
|
|
13191 |
|
|
13192 |
|
|
13193 |
< |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default" |
13194 |
< |
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : |
13195 |
< |
|
12295 |
< |
cat >>confdefs.h <<_ACEOF |
12296 |
< |
#define HAVE_STRUCT_SOCKADDR_IN6 1 |
12297 |
< |
_ACEOF |
12298 |
< |
|
12299 |
< |
|
12300 |
< |
else |
13193 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
13194 |
> |
" |
13195 |
> |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
13196 |
|
|
13197 |
|
$as_echo "#define IPV6 1" >>confdefs.h |
13198 |
|
|
13203 |
|
# Checks for typedefs, structures, and compiler characteristics. |
13204 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
13205 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
13206 |
< |
if test "${ac_cv_c_bigendian+set}" = set; then : |
13206 |
> |
if ${ac_cv_c_bigendian+:} false; then : |
13207 |
|
$as_echo_n "(cached) " >&6 |
13208 |
|
else |
13209 |
|
ac_cv_c_bigendian=unknown |
13421 |
|
|
13422 |
|
;; #( |
13423 |
|
*) |
13424 |
< |
as_fn_error "unknown endianness |
13424 |
> |
as_fn_error $? "unknown endianness |
13425 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
13426 |
|
esac |
13427 |
|
|
13434 |
|
do : |
13435 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13436 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13437 |
< |
eval as_val=\$$as_ac_var |
12543 |
< |
if test "x$as_val" = x""yes; then : |
13437 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13438 |
|
cat >>confdefs.h <<_ACEOF |
13439 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13440 |
|
_ACEOF |
13454 |
|
|
13455 |
|
|
13456 |
|
|
13457 |
+ |
|
13458 |
+ |
|
13459 |
|
# Checks for header files. |
13460 |
|
|
13461 |
|
|
13465 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13466 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
13467 |
|
" |
13468 |
< |
eval as_val=\$$as_ac_Header |
12573 |
< |
if test "x$as_val" = x""yes; then : |
13468 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
13469 |
|
cat >>confdefs.h <<_ACEOF |
13470 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13471 |
|
_ACEOF |
13522 |
|
|
13523 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
13524 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
13525 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13525 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13526 |
|
$as_echo_n "(cached) " >&6 |
13527 |
|
else |
13528 |
|
ac_func_search_save_LIBS=$LIBS |
13556 |
|
fi |
13557 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13558 |
|
conftest$ac_exeext |
13559 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13559 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13560 |
|
break |
13561 |
|
fi |
13562 |
|
done |
13563 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13563 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13564 |
|
|
13565 |
|
else |
13566 |
|
ac_cv_search_crypt=no |
13596 |
|
if test "$zlib" = "yes"; then : |
13597 |
|
|
13598 |
|
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
13599 |
< |
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
13599 |
> |
if test "x$ac_cv_header_zlib_h" = xyes; then : |
13600 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
13601 |
|
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
13602 |
< |
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then : |
13602 |
> |
if ${ac_cv_lib_z_zlibVersion+:} false; then : |
13603 |
|
$as_echo_n "(cached) " >&6 |
13604 |
|
else |
13605 |
|
ac_check_lib_save_LIBS=$LIBS |
13633 |
|
fi |
13634 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
13635 |
|
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
13636 |
< |
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then : |
13636 |
> |
if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : |
13637 |
|
|
13638 |
|
LIBS="-lz $LIBS" |
13639 |
|
|
13671 |
|
if test "$libpcre" = "yes"; then : |
13672 |
|
|
13673 |
|
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
13674 |
< |
if test "x$ac_cv_header_pcre_h" = x""yes; then : |
13674 |
> |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
13675 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
13676 |
|
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
13677 |
< |
if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then : |
13677 |
> |
if ${ac_cv_lib_pcre_pcre_study+:} false; then : |
13678 |
|
$as_echo_n "(cached) " >&6 |
13679 |
|
else |
13680 |
|
ac_check_lib_save_LIBS=$LIBS |
13708 |
|
fi |
13709 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
13710 |
|
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
13711 |
< |
if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then : |
13711 |
> |
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then : |
13712 |
|
|
13713 |
|
LIBS="-lpcre $LIBS" |
13714 |
|
|
13803 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13804 |
|
/* end confdefs.h. */ |
13805 |
|
|
13806 |
+ |
|
13807 |
|
#include <openssl/opensslv.h> |
13808 |
|
#include <stdlib.h> |
13809 |
|
int |
13810 |
|
main () |
13811 |
|
{ |
13812 |
< |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
13812 |
> |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
13813 |
|
; |
13814 |
|
return 0; |
13815 |
|
} |
13830 |
|
|
13831 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
13832 |
|
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
13833 |
< |
if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then : |
13833 |
> |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
13834 |
|
$as_echo_n "(cached) " >&6 |
13835 |
|
else |
13836 |
|
ac_check_lib_save_LIBS=$LIBS |
13864 |
|
fi |
13865 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
13866 |
|
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
13867 |
< |
if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then : |
13867 |
> |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
13868 |
|
cat >>confdefs.h <<_ACEOF |
13869 |
|
#define HAVE_LIBCRYPTO 1 |
13870 |
|
_ACEOF |
13883 |
|
do : |
13884 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13885 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13886 |
< |
eval as_val=\$$as_ac_var |
12991 |
< |
if test "x$as_val" = x""yes; then : |
13886 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13887 |
|
cat >>confdefs.h <<_ACEOF |
13888 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13889 |
|
_ACEOF |
14105 |
|
if test "$cross_compiling" = yes; then : |
14106 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
14107 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
14108 |
< |
as_fn_error "cannot run test program while cross compiling |
14109 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
14108 |
> |
as_fn_error $? "cannot run test program while cross compiling |
14109 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
14110 |
|
else |
14111 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14112 |
|
/* end confdefs.h. */ |
14139 |
|
#endif |
14140 |
|
_syscall1(int, epoll_create, int, size) |
14141 |
|
#endif |
13247 |
– |
main() { return epoll_create(256) == -1 ? 1 : 0; } |
14142 |
|
|
14143 |
+ |
int |
14144 |
+ |
main () |
14145 |
+ |
{ |
14146 |
+ |
return epoll_create(256) == -1 ? 1 : 0 |
14147 |
+ |
; |
14148 |
+ |
return 0; |
14149 |
+ |
} |
14150 |
|
_ACEOF |
14151 |
|
if ac_fn_c_try_run "$LINENO"; then : |
14152 |
|
is_epoll_mechanism_available="yes" |
14216 |
|
if test "$cross_compiling" = yes; then : |
14217 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
14218 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
14219 |
< |
as_fn_error "cannot run test program while cross compiling |
14220 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
14219 |
> |
as_fn_error $? "cannot run test program while cross compiling |
14220 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
14221 |
|
else |
14222 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14223 |
|
/* end confdefs.h. */ |
14224 |
|
|
14225 |
+ |
#define _GNU_SOURCE |
14226 |
|
#include <fcntl.h> |
14227 |
< |
#ifdef F_SETSIG |
13326 |
< |
main () { return 0; } /* F_SETSIG defined */ |
13327 |
< |
#else |
13328 |
< |
main () { return 1; } /* F_SETSIG not defined */ |
13329 |
< |
#endif |
14227 |
> |
static unsigned int have_f_setsig = 0; |
14228 |
|
|
14229 |
|
int |
14230 |
|
main () |
14231 |
|
{ |
14232 |
|
|
14233 |
+ |
#ifdef F_SETSIG |
14234 |
+ |
have_f_setsig = 1; |
14235 |
+ |
#endif |
14236 |
+ |
return have_f_setsig == 0; |
14237 |
+ |
|
14238 |
|
; |
14239 |
|
return 0; |
14240 |
|
} |
14368 |
|
if test "$optimal_iopoll_mechanism" = "none" ; then |
14369 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
14370 |
|
$as_echo "none" >&6; } |
14371 |
< |
as_fn_error "no iopoll mechanism found!" "$LINENO" 5 |
14371 |
> |
as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5 |
14372 |
|
else |
14373 |
|
selected_iopoll_mechanism=$optimal_iopoll_mechanism |
14374 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
14383 |
|
else |
14384 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
14385 |
|
$as_echo "none" >&6; } |
14386 |
< |
as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
14386 |
> |
as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
14387 |
|
fi |
14388 |
|
fi |
14389 |
|
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
14451 |
|
|
14452 |
|
$as_echo "#define EFNET 1" >>confdefs.h |
14453 |
|
|
13551 |
– |
|
13552 |
– |
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
13553 |
– |
|
14454 |
|
else |
14455 |
|
use_efnet="no" |
14456 |
|
fi |
14513 |
|
do : |
14514 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14515 |
|
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
14516 |
< |
eval as_val=\$$as_ac_Header |
13617 |
< |
if test "x$as_val" = x""yes; then : |
14516 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
14517 |
|
cat >>confdefs.h <<_ACEOF |
14518 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14519 |
|
_ACEOF |
14539 |
|
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
14540 |
|
;; |
14541 |
|
yes) : ;; |
14542 |
< |
*) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
14542 |
> |
*) as_fn_error $? "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
14543 |
|
esac |
14544 |
|
done |
14545 |
|
|
14634 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
14635 |
|
|
14636 |
|
|
14637 |
< |
ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
14637 |
> |
ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile" |
14638 |
|
|
14639 |
|
|
14640 |
|
cat >confcache <<\_ACEOF |
14701 |
|
:end' >>confcache |
14702 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
14703 |
|
if test -w "$cache_file"; then |
14704 |
< |
test "x$cache_file" != "x/dev/null" && |
14704 |
> |
if test "x$cache_file" != "x/dev/null"; then |
14705 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
14706 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
14707 |
< |
cat confcache >$cache_file |
14707 |
> |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
14708 |
> |
cat confcache >"$cache_file" |
14709 |
> |
else |
14710 |
> |
case $cache_file in #( |
14711 |
> |
*/* | ?:*) |
14712 |
> |
mv -f confcache "$cache_file"$$ && |
14713 |
> |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
14714 |
> |
*) |
14715 |
> |
mv -f confcache "$cache_file" ;; |
14716 |
> |
esac |
14717 |
> |
fi |
14718 |
> |
fi |
14719 |
|
else |
14720 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
14721 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
14731 |
|
|
14732 |
|
ac_libobjs= |
14733 |
|
ac_ltlibobjs= |
14734 |
+ |
U= |
14735 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
14736 |
|
# 1. Remove the extension, and $U if already installed. |
14737 |
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
14755 |
|
fi |
14756 |
|
|
14757 |
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
14758 |
< |
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. |
14758 |
> |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
14759 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14760 |
|
fi |
14761 |
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
14762 |
< |
as_fn_error "conditional \"AMDEP\" was never defined. |
14762 |
> |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
14763 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14764 |
|
fi |
14765 |
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
14766 |
< |
as_fn_error "conditional \"am__fastdepCC\" was never defined. |
14766 |
> |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
14767 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14768 |
|
fi |
14769 |
|
if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then |
14770 |
< |
as_fn_error "conditional \"INSTALL_LTDL\" was never defined. |
14770 |
> |
as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined. |
14771 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14772 |
|
fi |
14773 |
|
if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then |
14774 |
< |
as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined. |
14774 |
> |
as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined. |
14775 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14776 |
|
fi |
14777 |
|
LT_CONFIG_H=config.h |
14793 |
|
|
14794 |
|
|
14795 |
|
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
14796 |
< |
as_fn_error "conditional \"ENABLE_PCRE\" was never defined. |
14796 |
> |
as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined. |
14797 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14798 |
|
fi |
14799 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
14800 |
< |
as_fn_error "conditional \"ENABLE_SSL\" was never defined. |
14800 |
> |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
14801 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14802 |
|
fi |
14803 |
|
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
14804 |
< |
as_fn_error "conditional \"EFNET\" was never defined. |
14804 |
> |
as_fn_error $? "conditional \"EFNET\" was never defined. |
14805 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14806 |
|
fi |
14807 |
|
|
14808 |
< |
: ${CONFIG_STATUS=./config.status} |
14808 |
> |
: "${CONFIG_STATUS=./config.status}" |
14809 |
|
ac_write_fail=0 |
14810 |
|
ac_clean_files_save=$ac_clean_files |
14811 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
14906 |
|
IFS=" "" $as_nl" |
14907 |
|
|
14908 |
|
# Find who we are. Look in the path if we contain no directory separator. |
14909 |
+ |
as_myself= |
14910 |
|
case $0 in #(( |
14911 |
|
*[\\/]* ) as_myself=$0 ;; |
14912 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
14952 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
14953 |
|
|
14954 |
|
|
14955 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
14956 |
< |
# --------------------------------- |
14955 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
14956 |
> |
# ---------------------------------------- |
14957 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
14958 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
14959 |
< |
# script with status $?, using 1 if that was 0. |
14959 |
> |
# script with STATUS, using 1 if that was 0. |
14960 |
|
as_fn_error () |
14961 |
|
{ |
14962 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
14963 |
< |
if test "$3"; then |
14964 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14965 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
14962 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
14963 |
> |
if test "$4"; then |
14964 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14965 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
14966 |
|
fi |
14967 |
< |
$as_echo "$as_me: error: $1" >&2 |
14967 |
> |
$as_echo "$as_me: error: $2" >&2 |
14968 |
|
as_fn_exit $as_status |
14969 |
|
} # as_fn_error |
14970 |
|
|
15160 |
|
test -d "$as_dir" && break |
15161 |
|
done |
15162 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
15163 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
15163 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
15164 |
|
|
15165 |
|
|
15166 |
|
} # as_fn_mkdir_p |
15213 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
15214 |
|
# values after options handling. |
15215 |
|
ac_log=" |
15216 |
< |
This file was extended by ircd-hybrid $as_me 7.3-rc1, which was |
15217 |
< |
generated by GNU Autoconf 2.65. Invocation command line was |
15216 |
> |
This file was extended by ircd-hybrid $as_me 8beta1, which was |
15217 |
> |
generated by GNU Autoconf 2.68. Invocation command line was |
15218 |
|
|
15219 |
|
CONFIG_FILES = $CONFIG_FILES |
15220 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
15279 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15280 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15281 |
|
ac_cs_version="\\ |
15282 |
< |
ircd-hybrid config.status 7.3-rc1 |
15283 |
< |
configured by $0, generated by GNU Autoconf 2.65, |
15282 |
> |
ircd-hybrid config.status 8beta1 |
15283 |
> |
configured by $0, generated by GNU Autoconf 2.68, |
15284 |
|
with options \\"\$ac_cs_config\\" |
15285 |
|
|
15286 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
15286 |
> |
Copyright (C) 2010 Free Software Foundation, Inc. |
15287 |
|
This config.status script is free software; the Free Software Foundation |
15288 |
|
gives unlimited permission to copy, distribute and modify it." |
15289 |
|
|
15301 |
|
while test $# != 0 |
15302 |
|
do |
15303 |
|
case $1 in |
15304 |
< |
--*=*) |
15304 |
> |
--*=?*) |
15305 |
|
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
15306 |
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
15307 |
|
ac_shift=: |
15308 |
|
;; |
15309 |
+ |
--*=) |
15310 |
+ |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
15311 |
+ |
ac_optarg= |
15312 |
+ |
ac_shift=: |
15313 |
+ |
;; |
15314 |
|
*) |
15315 |
|
ac_option=$1 |
15316 |
|
ac_optarg=$2 |
15332 |
|
$ac_shift |
15333 |
|
case $ac_optarg in |
15334 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
15335 |
+ |
'') as_fn_error $? "missing file argument" ;; |
15336 |
|
esac |
15337 |
|
as_fn_append CONFIG_FILES " '$ac_optarg'" |
15338 |
|
ac_need_defaults=false;; |
15345 |
|
ac_need_defaults=false;; |
15346 |
|
--he | --h) |
15347 |
|
# Conflict between --help and --header |
15348 |
< |
as_fn_error "ambiguous option: \`$1' |
15348 |
> |
as_fn_error $? "ambiguous option: \`$1' |
15349 |
|
Try \`$0 --help' for more information.";; |
15350 |
|
--help | --hel | -h ) |
15351 |
|
$as_echo "$ac_cs_usage"; exit ;; |
15354 |
|
ac_cs_silent=: ;; |
15355 |
|
|
15356 |
|
# This is an error. |
15357 |
< |
-*) as_fn_error "unrecognized option: \`$1' |
15357 |
> |
-*) as_fn_error $? "unrecognized option: \`$1' |
15358 |
|
Try \`$0 --help' for more information." ;; |
15359 |
|
|
15360 |
|
*) as_fn_append ac_config_targets " $1" |
15408 |
|
sed_quote_subst='$sed_quote_subst' |
15409 |
|
double_quote_subst='$double_quote_subst' |
15410 |
|
delay_variable_subst='$delay_variable_subst' |
15411 |
< |
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
15412 |
< |
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
15413 |
< |
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
15414 |
< |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
15415 |
< |
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
15416 |
< |
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
15417 |
< |
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
15418 |
< |
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' |
15419 |
< |
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' |
15420 |
< |
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' |
15421 |
< |
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' |
15422 |
< |
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' |
15423 |
< |
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' |
15424 |
< |
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' |
15425 |
< |
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' |
15426 |
< |
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' |
15427 |
< |
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' |
15428 |
< |
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' |
15429 |
< |
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' |
15430 |
< |
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' |
15431 |
< |
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' |
15432 |
< |
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' |
15433 |
< |
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' |
15434 |
< |
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' |
15435 |
< |
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' |
15436 |
< |
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' |
15437 |
< |
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15438 |
< |
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15439 |
< |
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' |
15440 |
< |
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' |
15441 |
< |
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' |
15442 |
< |
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' |
15443 |
< |
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
15444 |
< |
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' |
15445 |
< |
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' |
15446 |
< |
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15447 |
< |
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15448 |
< |
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15449 |
< |
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' |
15450 |
< |
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
15451 |
< |
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' |
15452 |
< |
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' |
15453 |
< |
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' |
15454 |
< |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' |
15455 |
< |
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"`' |
15456 |
< |
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"`' |
15457 |
< |
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' |
15458 |
< |
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' |
15459 |
< |
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' |
15460 |
< |
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' |
15461 |
< |
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15462 |
< |
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' |
15463 |
< |
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' |
15464 |
< |
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' |
15465 |
< |
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' |
15466 |
< |
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' |
15467 |
< |
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' |
15468 |
< |
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' |
15469 |
< |
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' |
15470 |
< |
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' |
15471 |
< |
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' |
15472 |
< |
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' |
15473 |
< |
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15474 |
< |
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15475 |
< |
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' |
15476 |
< |
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' |
15477 |
< |
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15478 |
< |
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15479 |
< |
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' |
15480 |
< |
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15481 |
< |
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15482 |
< |
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15483 |
< |
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15484 |
< |
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15485 |
< |
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15486 |
< |
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' |
15487 |
< |
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15488 |
< |
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15489 |
< |
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15490 |
< |
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' |
15491 |
< |
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' |
15492 |
< |
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' |
15493 |
< |
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' |
15494 |
< |
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' |
15495 |
< |
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
15496 |
< |
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' |
15497 |
< |
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' |
15498 |
< |
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' |
15499 |
< |
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' |
15500 |
< |
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' |
15501 |
< |
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15502 |
< |
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
15503 |
< |
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
15504 |
< |
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15505 |
< |
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15506 |
< |
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' |
15507 |
< |
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
15508 |
< |
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' |
15509 |
< |
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' |
15510 |
< |
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
15511 |
< |
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
15512 |
< |
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' |
15513 |
< |
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15514 |
< |
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15515 |
< |
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15516 |
< |
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15517 |
< |
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15518 |
< |
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15519 |
< |
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' |
15520 |
< |
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' |
15521 |
< |
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15522 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15523 |
< |
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' |
15524 |
< |
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' |
15525 |
< |
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' |
15526 |
< |
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' |
15527 |
< |
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' |
15528 |
< |
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' |
15411 |
> |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
15412 |
> |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
15413 |
> |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
15414 |
> |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
15415 |
> |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
15416 |
> |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
15417 |
> |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
15418 |
> |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
15419 |
> |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
15420 |
> |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
15421 |
> |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
15422 |
> |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
15423 |
> |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
15424 |
> |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
15425 |
> |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
15426 |
> |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
15427 |
> |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
15428 |
> |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
15429 |
> |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
15430 |
> |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
15431 |
> |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
15432 |
> |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
15433 |
> |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
15434 |
> |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
15435 |
> |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
15436 |
> |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
15437 |
> |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
15438 |
> |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
15439 |
> |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
15440 |
> |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
15441 |
> |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
15442 |
> |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
15443 |
> |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
15444 |
> |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
15445 |
> |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
15446 |
> |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
15447 |
> |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
15448 |
> |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
15449 |
> |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
15450 |
> |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
15451 |
> |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
15452 |
> |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
15453 |
> |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
15454 |
> |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
15455 |
> |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
15456 |
> |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
15457 |
> |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
15458 |
> |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
15459 |
> |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
15460 |
> |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
15461 |
> |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
15462 |
> |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
15463 |
> |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
15464 |
> |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
15465 |
> |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
15466 |
> |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' |
15467 |
> |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
15468 |
> |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
15469 |
> |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
15470 |
> |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
15471 |
> |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
15472 |
> |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
15473 |
> |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
15474 |
> |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
15475 |
> |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
15476 |
> |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
15477 |
> |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
15478 |
> |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
15479 |
> |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
15480 |
> |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
15481 |
> |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
15482 |
> |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
15483 |
> |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
15484 |
> |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
15485 |
> |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
15486 |
> |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
15487 |
> |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
15488 |
> |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
15489 |
> |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
15490 |
> |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
15491 |
> |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
15492 |
> |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
15493 |
> |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
15494 |
> |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
15495 |
> |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
15496 |
> |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
15497 |
> |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
15498 |
> |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
15499 |
> |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
15500 |
> |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
15501 |
> |
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' |
15502 |
> |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
15503 |
> |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
15504 |
> |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
15505 |
> |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
15506 |
> |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
15507 |
> |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
15508 |
> |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
15509 |
> |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
15510 |
> |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
15511 |
> |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
15512 |
> |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
15513 |
> |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
15514 |
> |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
15515 |
> |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
15516 |
> |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
15517 |
> |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
15518 |
> |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
15519 |
> |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
15520 |
> |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
15521 |
> |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
15522 |
> |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
15523 |
> |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
15524 |
> |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
15525 |
> |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
15526 |
> |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
15527 |
> |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
15528 |
> |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
15529 |
> |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
15530 |
> |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
15531 |
> |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
15532 |
> |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
15533 |
> |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
15534 |
> |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
15535 |
> |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
15536 |
> |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
15537 |
> |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
15538 |
> |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
15539 |
> |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
15540 |
> |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
15541 |
|
|
15542 |
|
LTCC='$LTCC' |
15543 |
|
LTCFLAGS='$LTCFLAGS' |
15544 |
|
compiler='$compiler_DEFAULT' |
15545 |
|
|
15546 |
+ |
# A function that is used when there is no print builtin or printf. |
15547 |
+ |
func_fallback_echo () |
15548 |
+ |
{ |
15549 |
+ |
eval 'cat <<_LTECHO_EOF |
15550 |
+ |
\$1 |
15551 |
+ |
_LTECHO_EOF' |
15552 |
+ |
} |
15553 |
+ |
|
15554 |
|
# Quote evaled strings. |
15555 |
< |
for var in SED \ |
15555 |
> |
for var in SHELL \ |
15556 |
> |
ECHO \ |
15557 |
> |
SED \ |
15558 |
|
GREP \ |
15559 |
|
EGREP \ |
15560 |
|
FGREP \ |
15567 |
|
OBJDUMP \ |
15568 |
|
deplibs_check_method \ |
15569 |
|
file_magic_cmd \ |
15570 |
+ |
file_magic_glob \ |
15571 |
+ |
want_nocaseglob \ |
15572 |
+ |
DLLTOOL \ |
15573 |
+ |
sharedlib_from_linklib_cmd \ |
15574 |
|
AR \ |
15575 |
|
AR_FLAGS \ |
15576 |
+ |
archiver_list_spec \ |
15577 |
|
STRIP \ |
15578 |
|
RANLIB \ |
15579 |
|
CC \ |
15583 |
|
lt_cv_sys_global_symbol_to_cdecl \ |
15584 |
|
lt_cv_sys_global_symbol_to_c_name_address \ |
15585 |
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
15586 |
< |
SHELL \ |
14642 |
< |
ECHO \ |
15586 |
> |
nm_file_list_spec \ |
15587 |
|
lt_prog_compiler_no_builtin_flag \ |
14644 |
– |
lt_prog_compiler_wl \ |
15588 |
|
lt_prog_compiler_pic \ |
15589 |
+ |
lt_prog_compiler_wl \ |
15590 |
|
lt_prog_compiler_static \ |
15591 |
|
lt_cv_prog_compiler_c_o \ |
15592 |
|
need_locks \ |
15593 |
+ |
MANIFEST_TOOL \ |
15594 |
|
DSYMUTIL \ |
15595 |
|
NMEDIT \ |
15596 |
|
LIPO \ |
15606 |
|
hardcode_libdir_flag_spec \ |
15607 |
|
hardcode_libdir_flag_spec_ld \ |
15608 |
|
hardcode_libdir_separator \ |
14664 |
– |
fix_srcfile_path \ |
15609 |
|
exclude_expsyms \ |
15610 |
|
include_expsyms \ |
15611 |
|
file_list_spec \ |
15613 |
|
libname_spec \ |
15614 |
|
library_names_spec \ |
15615 |
|
soname_spec \ |
15616 |
+ |
install_override_mode \ |
15617 |
|
finish_eval \ |
15618 |
|
old_striplib \ |
15619 |
|
striplib; do |
15620 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
15620 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
15621 |
|
*[\\\\\\\`\\"\\\$]*) |
15622 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
15622 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
15623 |
|
;; |
15624 |
|
*) |
15625 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
15641 |
|
module_expsym_cmds \ |
15642 |
|
export_symbols_cmds \ |
15643 |
|
prelink_cmds \ |
15644 |
+ |
postlink_cmds \ |
15645 |
|
postinstall_cmds \ |
15646 |
|
postuninstall_cmds \ |
15647 |
|
finish_cmds \ |
15648 |
|
sys_lib_search_path_spec \ |
15649 |
|
sys_lib_dlsearch_path_spec; do |
15650 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
15650 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
15651 |
|
*[\\\\\\\`\\"\\\$]*) |
15652 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
15652 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
15653 |
|
;; |
15654 |
|
*) |
15655 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
15657 |
|
esac |
15658 |
|
done |
15659 |
|
|
14714 |
– |
# Fix-up fallback echo if it was mangled by the above quoting rules. |
14715 |
– |
case \$lt_ECHO in |
14716 |
– |
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` |
14717 |
– |
;; |
14718 |
– |
esac |
14719 |
– |
|
15660 |
|
ac_aux_dir='$ac_aux_dir' |
15661 |
|
xsi_shell='$xsi_shell' |
15662 |
|
lt_shell_append='$lt_shell_append' |
15690 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
15691 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
15692 |
|
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
14753 |
– |
"etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;; |
14754 |
– |
"etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;; |
14755 |
– |
"etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;; |
15693 |
|
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
15694 |
|
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
15695 |
|
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
15696 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
15697 |
+ |
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
15698 |
|
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
15699 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
15700 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
15704 |
|
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
15705 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
15706 |
|
|
15707 |
< |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15707 |
> |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15708 |
|
esac |
15709 |
|
done |
15710 |
|
|
15727 |
|
# after its creation but before its name has been assigned to `$tmp'. |
15728 |
|
$debug || |
15729 |
|
{ |
15730 |
< |
tmp= |
15730 |
> |
tmp= ac_tmp= |
15731 |
|
trap 'exit_status=$? |
15732 |
< |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
15732 |
> |
: "${ac_tmp:=$tmp}" |
15733 |
> |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
15734 |
|
' 0 |
15735 |
|
trap 'as_fn_exit 1' 1 2 13 15 |
15736 |
|
} |
15738 |
|
|
15739 |
|
{ |
15740 |
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
15741 |
< |
test -n "$tmp" && test -d "$tmp" |
15741 |
> |
test -d "$tmp" |
15742 |
|
} || |
15743 |
|
{ |
15744 |
|
tmp=./conf$$-$RANDOM |
15745 |
|
(umask 077 && mkdir "$tmp") |
15746 |
< |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
15746 |
> |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
15747 |
> |
ac_tmp=$tmp |
15748 |
|
|
15749 |
|
# Set up the scripts for CONFIG_FILES section. |
15750 |
|
# No need to generate them if there are no CONFIG_FILES. |
15761 |
|
fi |
15762 |
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
15763 |
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
15764 |
< |
ac_cs_awk_cr='\r' |
15764 |
> |
ac_cs_awk_cr='\\r' |
15765 |
|
else |
15766 |
|
ac_cs_awk_cr=$ac_cr |
15767 |
|
fi |
15768 |
|
|
15769 |
< |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
15769 |
> |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
15770 |
|
_ACEOF |
15771 |
|
|
15772 |
|
|
15775 |
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
15776 |
|
echo "_ACEOF" |
15777 |
|
} >conf$$subs.sh || |
15778 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15779 |
< |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
15778 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15779 |
> |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
15780 |
|
ac_delim='%!_!# ' |
15781 |
|
for ac_last_try in false false false false false :; do |
15782 |
|
. ./conf$$subs.sh || |
15783 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15783 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15784 |
|
|
15785 |
|
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
15786 |
|
if test $ac_delim_n = $ac_delim_num; then |
15787 |
|
break |
15788 |
|
elif $ac_last_try; then |
15789 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15789 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15790 |
|
else |
15791 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15792 |
|
fi |
15794 |
|
rm -f conf$$subs.sh |
15795 |
|
|
15796 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15797 |
< |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
15797 |
> |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
15798 |
|
_ACEOF |
15799 |
|
sed -n ' |
15800 |
|
h |
15842 |
|
rm -f conf$$subs.awk |
15843 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15844 |
|
_ACAWK |
15845 |
< |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
15845 |
> |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
15846 |
|
for (key in S) S_is_set[key] = 1 |
15847 |
|
FS = "" |
15848 |
|
|
15874 |
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15875 |
|
else |
15876 |
|
cat |
15877 |
< |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
15878 |
< |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5 |
15877 |
> |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
15878 |
> |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
15879 |
|
_ACEOF |
15880 |
|
|
15881 |
< |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
15882 |
< |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
15881 |
> |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
15882 |
> |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
15883 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
15884 |
|
# (actually we leave an empty line to preserve line numbers). |
15885 |
|
if test "x$srcdir" = x.; then |
15886 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
15887 |
< |
s/:*\$(srcdir):*/:/ |
15888 |
< |
s/:*\${srcdir}:*/:/ |
15889 |
< |
s/:*@srcdir@:*/:/ |
15890 |
< |
s/^\([^=]*=[ ]*\):*/\1/ |
15886 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
15887 |
> |
h |
15888 |
> |
s/// |
15889 |
> |
s/^/:/ |
15890 |
> |
s/[ ]*$/:/ |
15891 |
> |
s/:\$(srcdir):/:/g |
15892 |
> |
s/:\${srcdir}:/:/g |
15893 |
> |
s/:@srcdir@:/:/g |
15894 |
> |
s/^:*// |
15895 |
|
s/:*$// |
15896 |
+ |
x |
15897 |
+ |
s/\(=[ ]*\).*/\1/ |
15898 |
+ |
G |
15899 |
+ |
s/\n// |
15900 |
|
s/^[^=]*=[ ]*$// |
15901 |
|
}' |
15902 |
|
fi |
15908 |
|
# No need to generate them if there are no CONFIG_HEADERS. |
15909 |
|
# This happens for instance with `./config.status Makefile'. |
15910 |
|
if test -n "$CONFIG_HEADERS"; then |
15911 |
< |
cat >"$tmp/defines.awk" <<\_ACAWK || |
15911 |
> |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
15912 |
|
BEGIN { |
15913 |
|
_ACEOF |
15914 |
|
|
15920 |
|
# handling of long lines. |
15921 |
|
ac_delim='%!_!# ' |
15922 |
|
for ac_last_try in false false :; do |
15923 |
< |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
15924 |
< |
if test -z "$ac_t"; then |
15923 |
> |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
15924 |
> |
if test -z "$ac_tt"; then |
15925 |
|
break |
15926 |
|
elif $ac_last_try; then |
15927 |
< |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15927 |
> |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15928 |
|
else |
15929 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15930 |
|
fi |
16009 |
|
_ACAWK |
16010 |
|
_ACEOF |
16011 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16012 |
< |
as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
16012 |
> |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
16013 |
|
fi # test -n "$CONFIG_HEADERS" |
16014 |
|
|
16015 |
|
|
16022 |
|
esac |
16023 |
|
case $ac_mode$ac_tag in |
16024 |
|
:[FHL]*:*);; |
16025 |
< |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
16025 |
> |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
16026 |
|
:[FH]-) ac_tag=-:-;; |
16027 |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
16028 |
|
esac |
16041 |
|
for ac_f |
16042 |
|
do |
16043 |
|
case $ac_f in |
16044 |
< |
-) ac_f="$tmp/stdin";; |
16044 |
> |
-) ac_f="$ac_tmp/stdin";; |
16045 |
|
*) # Look for the file first in the build tree, then in the source tree |
16046 |
|
# (if the path is not absolute). The absolute path cannot be DOS-style, |
16047 |
|
# because $ac_f cannot contain `:'. |
16050 |
|
[\\/$]*) false;; |
16051 |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
16052 |
|
esac || |
16053 |
< |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
16053 |
> |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
16054 |
|
esac |
16055 |
|
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
16056 |
|
as_fn_append ac_file_inputs " '$ac_f'" |
16076 |
|
esac |
16077 |
|
|
16078 |
|
case $ac_tag in |
16079 |
< |
*:-:* | *:-) cat >"$tmp/stdin" \ |
16080 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
16079 |
> |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
16080 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
16081 |
|
esac |
16082 |
|
;; |
16083 |
|
esac |
16213 |
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
16214 |
|
$ac_datarootdir_hack |
16215 |
|
" |
16216 |
< |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
16217 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16216 |
> |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
16217 |
> |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16218 |
|
|
16219 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
16220 |
< |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
16221 |
< |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
16220 |
> |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
16221 |
> |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
16222 |
> |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
16223 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16224 |
< |
which seems to be undefined. Please make sure it is defined." >&5 |
16224 |
> |
which seems to be undefined. Please make sure it is defined" >&5 |
16225 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16226 |
< |
which seems to be undefined. Please make sure it is defined." >&2;} |
16226 |
> |
which seems to be undefined. Please make sure it is defined" >&2;} |
16227 |
|
|
16228 |
< |
rm -f "$tmp/stdin" |
16228 |
> |
rm -f "$ac_tmp/stdin" |
16229 |
|
case $ac_file in |
16230 |
< |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
16231 |
< |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
16230 |
> |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
16231 |
> |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
16232 |
|
esac \ |
16233 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16233 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16234 |
|
;; |
16235 |
|
:H) |
16236 |
|
# |
16239 |
|
if test x"$ac_file" != x-; then |
16240 |
|
{ |
16241 |
|
$as_echo "/* $configure_input */" \ |
16242 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
16243 |
< |
} >"$tmp/config.h" \ |
16244 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16245 |
< |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
16242 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
16243 |
> |
} >"$ac_tmp/config.h" \ |
16244 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16245 |
> |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
16246 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
16247 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
16248 |
|
else |
16249 |
|
rm -f "$ac_file" |
16250 |
< |
mv "$tmp/config.h" "$ac_file" \ |
16251 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16250 |
> |
mv "$ac_tmp/config.h" "$ac_file" \ |
16251 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16252 |
|
fi |
16253 |
|
else |
16254 |
|
$as_echo "/* $configure_input */" \ |
16255 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
16256 |
< |
|| as_fn_error "could not create -" "$LINENO" 5 |
16255 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
16256 |
> |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
16257 |
|
fi |
16258 |
|
# Compute "$ac_file"'s index in $config_headers. |
16259 |
|
_am_arg="$ac_file" |
16414 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
16415 |
|
# |
16416 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
16417 |
< |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
16417 |
> |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
16418 |
> |
# Inc. |
16419 |
|
# Written by Gordon Matzigkeit, 1996 |
16420 |
|
# |
16421 |
|
# This file is part of GNU Libtool. |
16463 |
|
# Whether or not to optimize for fast installation. |
16464 |
|
fast_install=$enable_fast_install |
16465 |
|
|
16466 |
+ |
# Shell to use when invoking shell scripts. |
16467 |
+ |
SHELL=$lt_SHELL |
16468 |
+ |
|
16469 |
+ |
# An echo program that protects backslashes. |
16470 |
+ |
ECHO=$lt_ECHO |
16471 |
+ |
|
16472 |
|
# The host system. |
16473 |
|
host_alias=$host_alias |
16474 |
|
host=$host |
16518 |
|
# turn newlines into spaces. |
16519 |
|
NL2SP=$lt_lt_NL2SP |
16520 |
|
|
16521 |
< |
# How to create reloadable object files. |
16522 |
< |
reload_flag=$lt_reload_flag |
16523 |
< |
reload_cmds=$lt_reload_cmds |
16521 |
> |
# convert \$build file names to \$host format. |
16522 |
> |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
16523 |
> |
|
16524 |
> |
# convert \$build files to toolchain format. |
16525 |
> |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
16526 |
|
|
16527 |
|
# An object symbol dumper. |
16528 |
|
OBJDUMP=$lt_OBJDUMP |
16530 |
|
# Method to check whether dependent libraries are shared objects. |
16531 |
|
deplibs_check_method=$lt_deplibs_check_method |
16532 |
|
|
16533 |
< |
# Command to use when deplibs_check_method == "file_magic". |
16533 |
> |
# Command to use when deplibs_check_method = "file_magic". |
16534 |
|
file_magic_cmd=$lt_file_magic_cmd |
16535 |
|
|
16536 |
+ |
# How to find potential files when deplibs_check_method = "file_magic". |
16537 |
+ |
file_magic_glob=$lt_file_magic_glob |
16538 |
+ |
|
16539 |
+ |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
16540 |
+ |
want_nocaseglob=$lt_want_nocaseglob |
16541 |
+ |
|
16542 |
+ |
# DLL creation program. |
16543 |
+ |
DLLTOOL=$lt_DLLTOOL |
16544 |
+ |
|
16545 |
+ |
# Command to associate shared and link libraries. |
16546 |
+ |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
16547 |
+ |
|
16548 |
|
# The archiver. |
16549 |
|
AR=$lt_AR |
16550 |
+ |
|
16551 |
+ |
# Flags to create an archive. |
16552 |
|
AR_FLAGS=$lt_AR_FLAGS |
16553 |
|
|
16554 |
+ |
# How to feed a file listing to the archiver. |
16555 |
+ |
archiver_list_spec=$lt_archiver_list_spec |
16556 |
+ |
|
16557 |
|
# A symbol stripping program. |
16558 |
|
STRIP=$lt_STRIP |
16559 |
|
|
16562 |
|
old_postinstall_cmds=$lt_old_postinstall_cmds |
16563 |
|
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
16564 |
|
|
16565 |
+ |
# Whether to use a lock for old archive extraction. |
16566 |
+ |
lock_old_archive_extraction=$lock_old_archive_extraction |
16567 |
+ |
|
16568 |
|
# A C compiler. |
16569 |
|
LTCC=$lt_CC |
16570 |
|
|
16583 |
|
# Transform the output of nm in a C name address pair when lib prefix is needed. |
16584 |
|
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
16585 |
|
|
16586 |
< |
# The name of the directory that contains temporary libtool files. |
16587 |
< |
objdir=$objdir |
16586 |
> |
# Specify filename containing input files for \$NM. |
16587 |
> |
nm_file_list_spec=$lt_nm_file_list_spec |
16588 |
|
|
16589 |
< |
# Shell to use when invoking shell scripts. |
16590 |
< |
SHELL=$lt_SHELL |
16589 |
> |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
16590 |
> |
lt_sysroot=$lt_sysroot |
16591 |
|
|
16592 |
< |
# An echo program that does not interpret backslashes. |
16593 |
< |
ECHO=$lt_ECHO |
16592 |
> |
# The name of the directory that contains temporary libtool files. |
16593 |
> |
objdir=$objdir |
16594 |
|
|
16595 |
|
# Used to examine libraries when file_magic_cmd begins with "file". |
16596 |
|
MAGIC_CMD=$MAGIC_CMD |
16598 |
|
# Must we lock files when doing compilation? |
16599 |
|
need_locks=$lt_need_locks |
16600 |
|
|
16601 |
+ |
# Manifest tool. |
16602 |
+ |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
16603 |
+ |
|
16604 |
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
16605 |
|
DSYMUTIL=$lt_DSYMUTIL |
16606 |
|
|
16657 |
|
# The coded name of the library, if different from the real name. |
16658 |
|
soname_spec=$lt_soname_spec |
16659 |
|
|
16660 |
+ |
# Permission mode override for installation of shared libraries. |
16661 |
+ |
install_override_mode=$lt_install_override_mode |
16662 |
+ |
|
16663 |
|
# Command to use after installation of a shared archive. |
16664 |
|
postinstall_cmds=$lt_postinstall_cmds |
16665 |
|
|
16699 |
|
# The linker used to build libraries. |
16700 |
|
LD=$lt_LD |
16701 |
|
|
16702 |
+ |
# How to create reloadable object files. |
16703 |
+ |
reload_flag=$lt_reload_flag |
16704 |
+ |
reload_cmds=$lt_reload_cmds |
16705 |
+ |
|
16706 |
|
# Commands used to build an old-style archive. |
16707 |
|
old_archive_cmds=$lt_old_archive_cmds |
16708 |
|
|
16715 |
|
# Compiler flag to turn off builtin functions. |
16716 |
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
16717 |
|
|
15730 |
– |
# How to pass a linker flag through the compiler. |
15731 |
– |
wl=$lt_lt_prog_compiler_wl |
15732 |
– |
|
16718 |
|
# Additional compiler flags for building library objects. |
16719 |
|
pic_flag=$lt_lt_prog_compiler_pic |
16720 |
|
|
16721 |
+ |
# How to pass a linker flag through the compiler. |
16722 |
+ |
wl=$lt_lt_prog_compiler_wl |
16723 |
+ |
|
16724 |
|
# Compiler flag to prevent dynamic linking. |
16725 |
|
link_static_flag=$lt_lt_prog_compiler_static |
16726 |
|
|
16807 |
|
# Whether libtool must link a program against all its dependency libraries. |
16808 |
|
link_all_deplibs=$link_all_deplibs |
16809 |
|
|
15822 |
– |
# Fix the shell variable \$srcfile for the compiler. |
15823 |
– |
fix_srcfile_path=$lt_fix_srcfile_path |
15824 |
– |
|
16810 |
|
# Set to "yes" if exported symbols are required. |
16811 |
|
always_export_symbols=$always_export_symbols |
16812 |
|
|
16822 |
|
# Commands necessary for linking programs (against libraries) with templates. |
16823 |
|
prelink_cmds=$lt_prelink_cmds |
16824 |
|
|
16825 |
+ |
# Commands necessary for finishing linking programs. |
16826 |
+ |
postlink_cmds=$lt_postlink_cmds |
16827 |
+ |
|
16828 |
|
# Specify filename containing input files. |
16829 |
|
file_list_spec=$lt_file_list_spec |
16830 |
|
|
16857 |
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
16858 |
|
# text mode, it properly converts lines to CR/LF. This bash problem |
16859 |
|
# is reportedly fixed, but why not run on old versions too? |
16860 |
< |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
16861 |
< |
|| (rm -f "$cfgfile"; exit 1) |
15874 |
< |
|
15875 |
< |
case $xsi_shell in |
15876 |
< |
yes) |
15877 |
< |
cat << \_LT_EOF >> "$cfgfile" |
15878 |
< |
|
15879 |
< |
# func_dirname file append nondir_replacement |
15880 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
15881 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
15882 |
< |
func_dirname () |
15883 |
< |
{ |
15884 |
< |
case ${1} in |
15885 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
15886 |
< |
* ) func_dirname_result="${3}" ;; |
15887 |
< |
esac |
15888 |
< |
} |
15889 |
< |
|
15890 |
< |
# func_basename file |
15891 |
< |
func_basename () |
15892 |
< |
{ |
15893 |
< |
func_basename_result="${1##*/}" |
15894 |
< |
} |
15895 |
< |
|
15896 |
< |
# func_dirname_and_basename file append nondir_replacement |
15897 |
< |
# perform func_basename and func_dirname in a single function |
15898 |
< |
# call: |
15899 |
< |
# dirname: Compute the dirname of FILE. If nonempty, |
15900 |
< |
# add APPEND to the result, otherwise set result |
15901 |
< |
# to NONDIR_REPLACEMENT. |
15902 |
< |
# value returned in "$func_dirname_result" |
15903 |
< |
# basename: Compute filename of FILE. |
15904 |
< |
# value retuned in "$func_basename_result" |
15905 |
< |
# Implementation must be kept synchronized with func_dirname |
15906 |
< |
# and func_basename. For efficiency, we do not delegate to |
15907 |
< |
# those functions but instead duplicate the functionality here. |
15908 |
< |
func_dirname_and_basename () |
15909 |
< |
{ |
15910 |
< |
case ${1} in |
15911 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
15912 |
< |
* ) func_dirname_result="${3}" ;; |
15913 |
< |
esac |
15914 |
< |
func_basename_result="${1##*/}" |
15915 |
< |
} |
15916 |
< |
|
15917 |
< |
# func_stripname prefix suffix name |
15918 |
< |
# strip PREFIX and SUFFIX off of NAME. |
15919 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
15920 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
15921 |
< |
# dot (in which case that matches only a dot). |
15922 |
< |
func_stripname () |
15923 |
< |
{ |
15924 |
< |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
15925 |
< |
# positional parameters, so assign one to ordinary parameter first. |
15926 |
< |
func_stripname_result=${3} |
15927 |
< |
func_stripname_result=${func_stripname_result#"${1}"} |
15928 |
< |
func_stripname_result=${func_stripname_result%"${2}"} |
15929 |
< |
} |
15930 |
< |
|
15931 |
< |
# func_opt_split |
15932 |
< |
func_opt_split () |
15933 |
< |
{ |
15934 |
< |
func_opt_split_opt=${1%%=*} |
15935 |
< |
func_opt_split_arg=${1#*=} |
15936 |
< |
} |
15937 |
< |
|
15938 |
< |
# func_lo2o object |
15939 |
< |
func_lo2o () |
15940 |
< |
{ |
15941 |
< |
case ${1} in |
15942 |
< |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
15943 |
< |
*) func_lo2o_result=${1} ;; |
15944 |
< |
esac |
15945 |
< |
} |
15946 |
< |
|
15947 |
< |
# func_xform libobj-or-source |
15948 |
< |
func_xform () |
15949 |
< |
{ |
15950 |
< |
func_xform_result=${1%.*}.lo |
15951 |
< |
} |
15952 |
< |
|
15953 |
< |
# func_arith arithmetic-term... |
15954 |
< |
func_arith () |
15955 |
< |
{ |
15956 |
< |
func_arith_result=$(( $* )) |
15957 |
< |
} |
15958 |
< |
|
15959 |
< |
# func_len string |
15960 |
< |
# STRING may not start with a hyphen. |
15961 |
< |
func_len () |
15962 |
< |
{ |
15963 |
< |
func_len_result=${#1} |
15964 |
< |
} |
15965 |
< |
|
15966 |
< |
_LT_EOF |
15967 |
< |
;; |
15968 |
< |
*) # Bourne compatible functions. |
15969 |
< |
cat << \_LT_EOF >> "$cfgfile" |
15970 |
< |
|
15971 |
< |
# func_dirname file append nondir_replacement |
15972 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
15973 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
15974 |
< |
func_dirname () |
15975 |
< |
{ |
15976 |
< |
# Extract subdirectory from the argument. |
15977 |
< |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
15978 |
< |
if test "X$func_dirname_result" = "X${1}"; then |
15979 |
< |
func_dirname_result="${3}" |
15980 |
< |
else |
15981 |
< |
func_dirname_result="$func_dirname_result${2}" |
15982 |
< |
fi |
15983 |
< |
} |
15984 |
< |
|
15985 |
< |
# func_basename file |
15986 |
< |
func_basename () |
15987 |
< |
{ |
15988 |
< |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
15989 |
< |
} |
15990 |
< |
|
15991 |
< |
|
15992 |
< |
# func_stripname prefix suffix name |
15993 |
< |
# strip PREFIX and SUFFIX off of NAME. |
15994 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
15995 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
15996 |
< |
# dot (in which case that matches only a dot). |
15997 |
< |
# func_strip_suffix prefix name |
15998 |
< |
func_stripname () |
15999 |
< |
{ |
16000 |
< |
case ${2} in |
16001 |
< |
.*) func_stripname_result=`$ECHO "X${3}" \ |
16002 |
< |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; |
16003 |
< |
*) func_stripname_result=`$ECHO "X${3}" \ |
16004 |
< |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; |
16005 |
< |
esac |
16006 |
< |
} |
16007 |
< |
|
16008 |
< |
# sed scripts: |
16009 |
< |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
16010 |
< |
my_sed_long_arg='1s/^-[^=]*=//' |
16011 |
< |
|
16012 |
< |
# func_opt_split |
16013 |
< |
func_opt_split () |
16014 |
< |
{ |
16015 |
< |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` |
16016 |
< |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` |
16017 |
< |
} |
16018 |
< |
|
16019 |
< |
# func_lo2o object |
16020 |
< |
func_lo2o () |
16021 |
< |
{ |
16022 |
< |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
16023 |
< |
} |
16024 |
< |
|
16025 |
< |
# func_xform libobj-or-source |
16026 |
< |
func_xform () |
16027 |
< |
{ |
16028 |
< |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` |
16029 |
< |
} |
16030 |
< |
|
16031 |
< |
# func_arith arithmetic-term... |
16032 |
< |
func_arith () |
16033 |
< |
{ |
16034 |
< |
func_arith_result=`expr "$@"` |
16035 |
< |
} |
16036 |
< |
|
16037 |
< |
# func_len string |
16038 |
< |
# STRING may not start with a hyphen. |
16039 |
< |
func_len () |
16040 |
< |
{ |
16041 |
< |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
16042 |
< |
} |
16043 |
< |
|
16044 |
< |
_LT_EOF |
16045 |
< |
esac |
16046 |
< |
|
16047 |
< |
case $lt_shell_append in |
16048 |
< |
yes) |
16049 |
< |
cat << \_LT_EOF >> "$cfgfile" |
16050 |
< |
|
16051 |
< |
# func_append var value |
16052 |
< |
# Append VALUE to the end of shell variable VAR. |
16053 |
< |
func_append () |
16054 |
< |
{ |
16055 |
< |
eval "$1+=\$2" |
16056 |
< |
} |
16057 |
< |
_LT_EOF |
16058 |
< |
;; |
16059 |
< |
*) |
16060 |
< |
cat << \_LT_EOF >> "$cfgfile" |
16061 |
< |
|
16062 |
< |
# func_append var value |
16063 |
< |
# Append VALUE to the end of shell variable VAR. |
16064 |
< |
func_append () |
16065 |
< |
{ |
16066 |
< |
eval "$1=\$$1\$2" |
16067 |
< |
} |
16068 |
< |
|
16069 |
< |
_LT_EOF |
16070 |
< |
;; |
16071 |
< |
esac |
16860 |
> |
sed '$q' "$ltmain" >> "$cfgfile" \ |
16861 |
> |
|| (rm -f "$cfgfile"; exit 1) |
16862 |
|
|
16863 |
+ |
if test x"$xsi_shell" = xyes; then |
16864 |
+ |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
16865 |
+ |
func_dirname ()\ |
16866 |
+ |
{\ |
16867 |
+ |
\ case ${1} in\ |
16868 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
16869 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
16870 |
+ |
\ esac\ |
16871 |
+ |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
16872 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16873 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16874 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16875 |
+ |
|
16876 |
+ |
|
16877 |
+ |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
16878 |
+ |
func_basename ()\ |
16879 |
+ |
{\ |
16880 |
+ |
\ func_basename_result="${1##*/}"\ |
16881 |
+ |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
16882 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16883 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16884 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16885 |
+ |
|
16886 |
+ |
|
16887 |
+ |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
16888 |
+ |
func_dirname_and_basename ()\ |
16889 |
+ |
{\ |
16890 |
+ |
\ case ${1} in\ |
16891 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
16892 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
16893 |
+ |
\ esac\ |
16894 |
+ |
\ func_basename_result="${1##*/}"\ |
16895 |
+ |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
16896 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16897 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16898 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16899 |
+ |
|
16900 |
+ |
|
16901 |
+ |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
16902 |
+ |
func_stripname ()\ |
16903 |
+ |
{\ |
16904 |
+ |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
16905 |
+ |
\ # positional parameters, so assign one to ordinary parameter first.\ |
16906 |
+ |
\ func_stripname_result=${3}\ |
16907 |
+ |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
16908 |
+ |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
16909 |
+ |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
16910 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16911 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16912 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16913 |
+ |
|
16914 |
+ |
|
16915 |
+ |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
16916 |
+ |
func_split_long_opt ()\ |
16917 |
+ |
{\ |
16918 |
+ |
\ func_split_long_opt_name=${1%%=*}\ |
16919 |
+ |
\ func_split_long_opt_arg=${1#*=}\ |
16920 |
+ |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
16921 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16922 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16923 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16924 |
+ |
|
16925 |
+ |
|
16926 |
+ |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
16927 |
+ |
func_split_short_opt ()\ |
16928 |
+ |
{\ |
16929 |
+ |
\ func_split_short_opt_arg=${1#??}\ |
16930 |
+ |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
16931 |
+ |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
16932 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16933 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16934 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16935 |
+ |
|
16936 |
+ |
|
16937 |
+ |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
16938 |
+ |
func_lo2o ()\ |
16939 |
+ |
{\ |
16940 |
+ |
\ case ${1} in\ |
16941 |
+ |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
16942 |
+ |
\ *) func_lo2o_result=${1} ;;\ |
16943 |
+ |
\ esac\ |
16944 |
+ |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
16945 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16946 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16947 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16948 |
+ |
|
16949 |
+ |
|
16950 |
+ |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
16951 |
+ |
func_xform ()\ |
16952 |
+ |
{\ |
16953 |
+ |
func_xform_result=${1%.*}.lo\ |
16954 |
+ |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
16955 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16956 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16957 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16958 |
+ |
|
16959 |
+ |
|
16960 |
+ |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
16961 |
+ |
func_arith ()\ |
16962 |
+ |
{\ |
16963 |
+ |
func_arith_result=$(( $* ))\ |
16964 |
+ |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
16965 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16966 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16967 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16968 |
+ |
|
16969 |
+ |
|
16970 |
+ |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
16971 |
+ |
func_len ()\ |
16972 |
+ |
{\ |
16973 |
+ |
func_len_result=${#1}\ |
16974 |
+ |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
16975 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16976 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16977 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16978 |
+ |
|
16979 |
+ |
fi |
16980 |
+ |
|
16981 |
+ |
if test x"$lt_shell_append" = xyes; then |
16982 |
+ |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
16983 |
+ |
func_append ()\ |
16984 |
+ |
{\ |
16985 |
+ |
eval "${1}+=\\${2}"\ |
16986 |
+ |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
16987 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16988 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16989 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16990 |
+ |
|
16991 |
+ |
|
16992 |
+ |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
16993 |
+ |
func_append_quoted ()\ |
16994 |
+ |
{\ |
16995 |
+ |
\ func_quote_for_eval "${2}"\ |
16996 |
+ |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
16997 |
+ |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
16998 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16999 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17000 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17001 |
+ |
|
17002 |
+ |
|
17003 |
+ |
# Save a `func_append' function call where possible by direct use of '+=' |
17004 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
17005 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17006 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17007 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17008 |
+ |
else |
17009 |
+ |
# Save a `func_append' function call even when '+=' is not available |
17010 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
17011 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
17012 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
17013 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
17014 |
+ |
fi |
17015 |
+ |
|
17016 |
+ |
if test x"$_lt_function_replace_fail" = x":"; then |
17017 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
17018 |
+ |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
17019 |
+ |
fi |
17020 |
|
|
16074 |
– |
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
16075 |
– |
|| (rm -f "$cfgfile"; exit 1) |
17021 |
|
|
17022 |
< |
mv -f "$cfgfile" "$ofile" || |
17022 |
> |
mv -f "$cfgfile" "$ofile" || |
17023 |
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
17024 |
|
chmod +x "$ofile" |
17025 |
|
|
17034 |
|
ac_clean_files=$ac_clean_files_save |
17035 |
|
|
17036 |
|
test $ac_write_fail = 0 || |
17037 |
< |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
17037 |
> |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
17038 |
|
|
17039 |
|
|
17040 |
|
# configure is writing to config.log, and then calls config.status. |
17055 |
|
exec 5>>config.log |
17056 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
17057 |
|
# would make configure fail if this is the last instruction. |
17058 |
< |
$ac_cs_success || as_fn_exit $? |
16114 |
< |
fi |
16115 |
< |
|
16116 |
< |
# |
16117 |
< |
# CONFIG_SUBDIRS section. |
16118 |
< |
# |
16119 |
< |
if test "$no_recursion" != yes; then |
16120 |
< |
|
16121 |
< |
# Remove --cache-file, --srcdir, and --disable-option-checking arguments |
16122 |
< |
# so they do not pile up. |
16123 |
< |
ac_sub_configure_args= |
16124 |
< |
ac_prev= |
16125 |
< |
eval "set x $ac_configure_args" |
16126 |
< |
shift |
16127 |
< |
for ac_arg |
16128 |
< |
do |
16129 |
< |
if test -n "$ac_prev"; then |
16130 |
< |
ac_prev= |
16131 |
< |
continue |
16132 |
< |
fi |
16133 |
< |
case $ac_arg in |
16134 |
< |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
16135 |
< |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
16136 |
< |
ac_prev=cache_file ;; |
16137 |
< |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
16138 |
< |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
16139 |
< |
| --c=*) |
16140 |
< |
;; |
16141 |
< |
--config-cache | -C) |
16142 |
< |
;; |
16143 |
< |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
16144 |
< |
ac_prev=srcdir ;; |
16145 |
< |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
16146 |
< |
;; |
16147 |
< |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
16148 |
< |
ac_prev=prefix ;; |
16149 |
< |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
16150 |
< |
;; |
16151 |
< |
--disable-option-checking) |
16152 |
< |
;; |
16153 |
< |
*) |
16154 |
< |
case $ac_arg in |
16155 |
< |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
16156 |
< |
esac |
16157 |
< |
as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
16158 |
< |
esac |
16159 |
< |
done |
16160 |
< |
|
16161 |
< |
# Always prepend --prefix to ensure using the same prefix |
16162 |
< |
# in subdir configurations. |
16163 |
< |
ac_arg="--prefix=$prefix" |
16164 |
< |
case $ac_arg in |
16165 |
< |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
16166 |
< |
esac |
16167 |
< |
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
16168 |
< |
|
16169 |
< |
# Pass --silent |
16170 |
< |
if test "$silent" = yes; then |
16171 |
< |
ac_sub_configure_args="--silent $ac_sub_configure_args" |
16172 |
< |
fi |
16173 |
< |
|
16174 |
< |
# Always prepend --disable-option-checking to silence warnings, since |
16175 |
< |
# different subdirs can have different --enable and --with options. |
16176 |
< |
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
16177 |
< |
|
16178 |
< |
ac_popdir=`pwd` |
16179 |
< |
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
16180 |
< |
|
16181 |
< |
# Do not complain, so a configure script can configure whichever |
16182 |
< |
# parts of a large source tree are present. |
16183 |
< |
test -d "$srcdir/$ac_dir" || continue |
16184 |
< |
|
16185 |
< |
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
16186 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
16187 |
< |
$as_echo "$ac_msg" >&6 |
16188 |
< |
as_dir="$ac_dir"; as_fn_mkdir_p |
16189 |
< |
ac_builddir=. |
16190 |
< |
|
16191 |
< |
case "$ac_dir" in |
16192 |
< |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
16193 |
< |
*) |
16194 |
< |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
16195 |
< |
# A ".." for each directory in $ac_dir_suffix. |
16196 |
< |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
16197 |
< |
case $ac_top_builddir_sub in |
16198 |
< |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
16199 |
< |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
16200 |
< |
esac ;; |
16201 |
< |
esac |
16202 |
< |
ac_abs_top_builddir=$ac_pwd |
16203 |
< |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
16204 |
< |
# for backward compatibility: |
16205 |
< |
ac_top_builddir=$ac_top_build_prefix |
16206 |
< |
|
16207 |
< |
case $srcdir in |
16208 |
< |
.) # We are building in place. |
16209 |
< |
ac_srcdir=. |
16210 |
< |
ac_top_srcdir=$ac_top_builddir_sub |
16211 |
< |
ac_abs_top_srcdir=$ac_pwd ;; |
16212 |
< |
[\\/]* | ?:[\\/]* ) # Absolute name. |
16213 |
< |
ac_srcdir=$srcdir$ac_dir_suffix; |
16214 |
< |
ac_top_srcdir=$srcdir |
16215 |
< |
ac_abs_top_srcdir=$srcdir ;; |
16216 |
< |
*) # Relative name. |
16217 |
< |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
16218 |
< |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
16219 |
< |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
16220 |
< |
esac |
16221 |
< |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
16222 |
< |
|
16223 |
< |
|
16224 |
< |
cd "$ac_dir" |
16225 |
< |
|
16226 |
< |
# Check for guested configure; otherwise get Cygnus style configure. |
16227 |
< |
if test -f "$ac_srcdir/configure.gnu"; then |
16228 |
< |
ac_sub_configure=$ac_srcdir/configure.gnu |
16229 |
< |
elif test -f "$ac_srcdir/configure"; then |
16230 |
< |
ac_sub_configure=$ac_srcdir/configure |
16231 |
< |
elif test -f "$ac_srcdir/configure.in"; then |
16232 |
< |
# This should be Cygnus configure. |
16233 |
< |
ac_sub_configure=$ac_aux_dir/configure |
16234 |
< |
else |
16235 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 |
16236 |
< |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
16237 |
< |
ac_sub_configure= |
16238 |
< |
fi |
16239 |
< |
|
16240 |
< |
# The recursion is here. |
16241 |
< |
if test -n "$ac_sub_configure"; then |
16242 |
< |
# Make the cache file name correct relative to the subdirectory. |
16243 |
< |
case $cache_file in |
16244 |
< |
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
16245 |
< |
*) # Relative name. |
16246 |
< |
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
16247 |
< |
esac |
16248 |
< |
|
16249 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
16250 |
< |
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
16251 |
< |
# The eval makes quoting arguments work. |
16252 |
< |
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
16253 |
< |
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
16254 |
< |
as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
16255 |
< |
fi |
16256 |
< |
|
16257 |
< |
cd "$ac_popdir" |
16258 |
< |
done |
17058 |
> |
$ac_cs_success || as_fn_exit 1 |
17059 |
|
fi |
17060 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
17061 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |