1 |
|
#! /bin/sh |
2 |
< |
# From configure.ac Id: configure.ac 982 2009-08-13 22:15:08Z michael . |
2 |
> |
# From configure.ac Id: configure.ac 1292 2012-02-12 20:36:27Z michael . |
3 |
|
# Guess values for system-dependent variables and create Makefiles. |
4 |
< |
# Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4. |
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 |
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 |
15 |
|
# gives unlimited permission to copy, distribute and modify it. |
16 |
|
## -------------------- ## |
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 : |
247 |
|
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
248 |
|
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
249 |
|
else |
250 |
< |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
251 |
< |
$0: including any error possibly output before this |
252 |
< |
$0: message. Then install a modern shell, or manually run |
253 |
< |
$0: the script under such a shell if you do have one." |
250 |
> |
$as_echo "$0: Please tell bug-autoconf@gnu.org and |
251 |
> |
$0: bugs@ircd-hybrid.org about your system, including any |
252 |
> |
$0: error possibly output before this message. Then install |
253 |
> |
$0: a modern shell, or manually run the script under such a |
254 |
> |
$0: shell if you do have one." |
255 |
|
fi |
256 |
|
exit 1 |
257 |
|
fi |
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 |
|
|
528 |
– |
|
529 |
– |
# Check that we are running under the correct shell. |
550 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
551 |
|
|
532 |
– |
case X$lt_ECHO in |
533 |
– |
X*--fallback-echo) |
534 |
– |
# Remove one level of quotation (which was required for Make). |
535 |
– |
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` |
536 |
– |
;; |
537 |
– |
esac |
538 |
– |
|
539 |
– |
ECHO=${lt_ECHO-echo} |
540 |
– |
if test "X$1" = X--no-reexec; then |
541 |
– |
# Discard the --no-reexec flag, and continue. |
542 |
– |
shift |
543 |
– |
elif test "X$1" = X--fallback-echo; then |
544 |
– |
# Avoid inline document here, it may be left over |
545 |
– |
: |
546 |
– |
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
547 |
– |
# Yippee, $ECHO works! |
548 |
– |
: |
549 |
– |
else |
550 |
– |
# Restart under the correct shell. |
551 |
– |
exec $SHELL "$0" --no-reexec ${1+"$@"} |
552 |
– |
fi |
553 |
– |
|
554 |
– |
if test "X$1" = X--fallback-echo; then |
555 |
– |
# used as fallback echo |
556 |
– |
shift |
557 |
– |
cat <<_LT_EOF |
558 |
– |
$* |
559 |
– |
_LT_EOF |
560 |
– |
exit 0 |
561 |
– |
fi |
562 |
– |
|
563 |
– |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
564 |
– |
# if CDPATH is set. |
565 |
– |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
566 |
– |
|
567 |
– |
if test -z "$lt_ECHO"; then |
568 |
– |
if test "X${echo_test_string+set}" != Xset; then |
569 |
– |
# find a string as large as possible, as long as the shell can cope with it |
570 |
– |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
571 |
– |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
572 |
– |
if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
573 |
– |
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
574 |
– |
then |
575 |
– |
break |
576 |
– |
fi |
577 |
– |
done |
578 |
– |
fi |
579 |
– |
|
580 |
– |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
581 |
– |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
582 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
583 |
– |
: |
584 |
– |
else |
585 |
– |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
586 |
– |
# backslashes. This makes it impossible to quote backslashes using |
587 |
– |
# echo "$something" | sed 's/\\/\\\\/g' |
588 |
– |
# |
589 |
– |
# So, first we look for a working echo in the user's PATH. |
590 |
– |
|
591 |
– |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
592 |
– |
for dir in $PATH /usr/ucb; do |
593 |
– |
IFS="$lt_save_ifs" |
594 |
– |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
595 |
– |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
596 |
– |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
597 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
598 |
– |
ECHO="$dir/echo" |
599 |
– |
break |
600 |
– |
fi |
601 |
– |
done |
602 |
– |
IFS="$lt_save_ifs" |
603 |
– |
|
604 |
– |
if test "X$ECHO" = Xecho; then |
605 |
– |
# We didn't find a better echo, so look for alternatives. |
606 |
– |
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
607 |
– |
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
608 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
609 |
– |
# This shell has a builtin print -r that does the trick. |
610 |
– |
ECHO='print -r' |
611 |
– |
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
612 |
– |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
613 |
– |
# If we have ksh, try running configure again with it. |
614 |
– |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
615 |
– |
export ORIGINAL_CONFIG_SHELL |
616 |
– |
CONFIG_SHELL=/bin/ksh |
617 |
– |
export CONFIG_SHELL |
618 |
– |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
619 |
– |
else |
620 |
– |
# Try using printf. |
621 |
– |
ECHO='printf %s\n' |
622 |
– |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
623 |
– |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
624 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
625 |
– |
# Cool, printf works |
626 |
– |
: |
627 |
– |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
628 |
– |
test "X$echo_testing_string" = 'X\t' && |
629 |
– |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
630 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
631 |
– |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
632 |
– |
export CONFIG_SHELL |
633 |
– |
SHELL="$CONFIG_SHELL" |
634 |
– |
export SHELL |
635 |
– |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
636 |
– |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
637 |
– |
test "X$echo_testing_string" = 'X\t' && |
638 |
– |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
639 |
– |
test "X$echo_testing_string" = "X$echo_test_string"; then |
640 |
– |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
641 |
– |
else |
642 |
– |
# maybe with a smaller string... |
643 |
– |
prev=: |
644 |
– |
|
645 |
– |
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
646 |
– |
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
647 |
– |
then |
648 |
– |
break |
649 |
– |
fi |
650 |
– |
prev="$cmd" |
651 |
– |
done |
652 |
– |
|
653 |
– |
if test "$prev" != 'sed 50q "$0"'; then |
654 |
– |
echo_test_string=`eval $prev` |
655 |
– |
export echo_test_string |
656 |
– |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
657 |
– |
else |
658 |
– |
# Oops. We lost completely, so just stick with echo. |
659 |
– |
ECHO=echo |
660 |
– |
fi |
661 |
– |
fi |
662 |
– |
fi |
663 |
– |
fi |
664 |
– |
fi |
665 |
– |
fi |
666 |
– |
|
667 |
– |
# Copy echo and quote the copy suitably for passing to libtool from |
668 |
– |
# the Makefile, instead of quoting the original, which is used later. |
669 |
– |
lt_ECHO=$ECHO |
670 |
– |
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
671 |
– |
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
672 |
– |
fi |
673 |
– |
|
674 |
– |
|
675 |
– |
|
676 |
– |
|
677 |
– |
lt_ltdl_dir='libltdl' |
678 |
– |
|
679 |
– |
lt_dlopen_dir="$lt_ltdl_dir" |
552 |
|
|
553 |
< |
exec 7<&0 </dev/null 6>&1 |
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.2.4' |
577 |
< |
PACKAGE_STRING='ircd-hybrid 7.2.4' |
578 |
< |
PACKAGE_BUGREPORT='' |
576 |
> |
PACKAGE_VERSION='8beta1' |
577 |
> |
PACKAGE_STRING='ircd-hybrid 8beta1' |
578 |
> |
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
579 |
|
PACKAGE_URL='' |
580 |
|
|
581 |
|
ac_unique_file="src/ircd.c" |
615 |
|
# include <unistd.h> |
616 |
|
#endif" |
617 |
|
|
745 |
– |
enable_option_checking=no |
618 |
|
ac_func_list= |
619 |
|
ac_header_list= |
620 |
|
ac_subst_vars='ltdl_LTLIBOBJS |
632 |
|
EFNET_TRUE |
633 |
|
ENABLE_SSL_FALSE |
634 |
|
ENABLE_SSL_TRUE |
635 |
+ |
ENABLE_PCRE_FALSE |
636 |
+ |
ENABLE_PCRE_TRUE |
637 |
|
LTDLOPEN |
638 |
|
LT_CONFIG_H |
765 |
– |
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 |
690 |
|
am__fastdepCC_FALSE |
691 |
|
am__fastdepCC_TRUE |
692 |
|
CCDEPMODE |
693 |
+ |
am__nodep |
694 |
|
AMDEPBACKSLASH |
695 |
|
AMDEP_FALSE |
696 |
|
AMDEP_TRUE |
778 |
|
with_pic |
779 |
|
enable_fast_install |
780 |
|
with_gnu_ld |
781 |
+ |
with_sysroot |
782 |
|
enable_libtool_lock |
783 |
|
with_included_ltdl |
784 |
|
with_ltdl_include |
785 |
|
with_ltdl_lib |
786 |
|
enable_ltdl_install |
787 |
< |
with_zlib_path |
788 |
< |
enable_zlib |
787 |
> |
with_libpcre_path |
788 |
> |
enable_libpcre |
789 |
|
enable_openssl |
790 |
|
enable_assert |
791 |
|
enable_small_net |
797 |
|
enable_select |
798 |
|
with_nicklen |
799 |
|
with_topiclen |
923 |
– |
with_syslog_facility |
800 |
|
enable_efnet |
801 |
|
enable_halfops |
802 |
|
enable_debugging |
803 |
|
enable_warnings |
928 |
– |
enable_syslog |
804 |
|
' |
805 |
|
ac_precious_vars='build_alias |
806 |
|
host_alias |
813 |
|
YACC |
814 |
|
YFLAGS |
815 |
|
CPP' |
816 |
< |
ac_subdirs_all='libltdl' |
816 |
> |
|
817 |
|
|
818 |
|
# Initialize some variables set by options. |
819 |
|
ac_init_help= |
875 |
|
fi |
876 |
|
|
877 |
|
case $ac_option in |
878 |
< |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
879 |
< |
*) ac_optarg=yes ;; |
878 |
> |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
879 |
> |
*=) ac_optarg= ;; |
880 |
> |
*) ac_optarg=yes ;; |
881 |
|
esac |
882 |
|
|
883 |
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
922 |
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
923 |
|
# Reject names that are not valid shell variable names. |
924 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
925 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
925 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
926 |
|
ac_useropt_orig=$ac_useropt |
927 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
928 |
|
case $ac_user_opts in |
948 |
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
949 |
|
# Reject names that are not valid shell variable names. |
950 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
951 |
< |
as_fn_error "invalid feature name: $ac_useropt" |
951 |
> |
as_fn_error $? "invalid feature name: $ac_useropt" |
952 |
|
ac_useropt_orig=$ac_useropt |
953 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
954 |
|
case $ac_user_opts in |
1152 |
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1153 |
|
# Reject names that are not valid shell variable names. |
1154 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1155 |
< |
as_fn_error "invalid package name: $ac_useropt" |
1155 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
1156 |
|
ac_useropt_orig=$ac_useropt |
1157 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1158 |
|
case $ac_user_opts in |
1168 |
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1169 |
|
# Reject names that are not valid shell variable names. |
1170 |
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1171 |
< |
as_fn_error "invalid package name: $ac_useropt" |
1171 |
> |
as_fn_error $? "invalid package name: $ac_useropt" |
1172 |
|
ac_useropt_orig=$ac_useropt |
1173 |
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1174 |
|
case $ac_user_opts in |
1198 |
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1199 |
|
x_libraries=$ac_optarg ;; |
1200 |
|
|
1201 |
< |
-*) as_fn_error "unrecognized option: \`$ac_option' |
1202 |
< |
Try \`$0 --help' for more information." |
1201 |
> |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1202 |
> |
Try \`$0 --help' for more information" |
1203 |
|
;; |
1204 |
|
|
1205 |
|
*=*) |
1207 |
|
# Reject names that are not valid shell variable names. |
1208 |
|
case $ac_envvar in #( |
1209 |
|
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
1210 |
< |
as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1210 |
> |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1211 |
|
esac |
1212 |
|
eval $ac_envvar=\$ac_optarg |
1213 |
|
export $ac_envvar ;; |
1217 |
|
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1218 |
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1219 |
|
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1220 |
< |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1220 |
> |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1221 |
|
;; |
1222 |
|
|
1223 |
|
esac |
1225 |
|
|
1226 |
|
if test -n "$ac_prev"; then |
1227 |
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1228 |
< |
as_fn_error "missing argument to $ac_option" |
1228 |
> |
as_fn_error $? "missing argument to $ac_option" |
1229 |
|
fi |
1230 |
|
|
1231 |
|
if test -n "$ac_unrecognized_opts"; then |
1232 |
|
case $enable_option_checking in |
1233 |
|
no) ;; |
1234 |
< |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1234 |
> |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1235 |
|
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1236 |
|
esac |
1237 |
|
fi |
1254 |
|
[\\/$]* | ?:[\\/]* ) continue;; |
1255 |
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1256 |
|
esac |
1257 |
< |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1257 |
> |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1258 |
|
done |
1259 |
|
|
1260 |
|
# There might be people who depend on the old broken behavior: `$host' |
1268 |
|
if test "x$host_alias" != x; then |
1269 |
|
if test "x$build_alias" = x; then |
1270 |
|
cross_compiling=maybe |
1271 |
< |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1272 |
< |
If a cross compiler is detected then cross compile mode will be used." >&2 |
1271 |
> |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1272 |
> |
If a cross compiler is detected then cross compile mode will be used" >&2 |
1273 |
|
elif test "x$build_alias" != "x$host_alias"; then |
1274 |
|
cross_compiling=yes |
1275 |
|
fi |
1284 |
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1285 |
|
ac_ls_di=`ls -di .` && |
1286 |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1287 |
< |
as_fn_error "working directory cannot be determined" |
1287 |
> |
as_fn_error $? "working directory cannot be determined" |
1288 |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1289 |
< |
as_fn_error "pwd does not report name of working directory" |
1289 |
> |
as_fn_error $? "pwd does not report name of working directory" |
1290 |
|
|
1291 |
|
|
1292 |
|
# Find the source files, if location was not specified. |
1325 |
|
fi |
1326 |
|
if test ! -r "$srcdir/$ac_unique_file"; then |
1327 |
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1328 |
< |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1328 |
> |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1329 |
|
fi |
1330 |
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1331 |
|
ac_abs_confdir=`( |
1332 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1332 |
> |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1333 |
|
pwd)` |
1334 |
|
# When building in place, set srcdir=. |
1335 |
|
if test "$ac_abs_confdir" = "$ac_pwd"; then |
1355 |
|
# Omit some internal or obsolete options to make the list less imposing. |
1356 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
1357 |
|
cat <<_ACEOF |
1358 |
< |
\`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems. |
1358 |
> |
\`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems. |
1359 |
|
|
1360 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
1361 |
|
|
1369 |
|
--help=short display options specific to this package |
1370 |
|
--help=recursive display the short help of all the included packages |
1371 |
|
-V, --version display version information and exit |
1372 |
< |
-q, --quiet, --silent do not print \`checking...' messages |
1372 |
> |
-q, --quiet, --silent do not print \`checking ...' messages |
1373 |
|
--cache-file=FILE cache test results in FILE [disabled] |
1374 |
|
-C, --config-cache alias for \`--cache-file=config.cache' |
1375 |
|
-n, --no-create do not create output files |
1425 |
|
|
1426 |
|
if test -n "$ac_init_help"; then |
1427 |
|
case $ac_init_help in |
1428 |
< |
short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";; |
1428 |
> |
short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";; |
1429 |
|
esac |
1430 |
|
cat <<\_ACEOF |
1431 |
|
|
1443 |
|
optimize for fast installation [default=yes] |
1444 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
1445 |
|
--enable-ltdl-install install libltdl |
1446 |
< |
--disable-zlib Disable ziplinks support |
1446 |
> |
--disable-libpcre Disable PCRE support |
1447 |
|
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
1448 |
|
--disable-openssl Disable OpenSSL support. |
1449 |
|
--enable-assert Enable assert() statements |
1458 |
|
--enable-halfops Enable halfops support. |
1459 |
|
--enable-debugging Enable debugging. |
1460 |
|
--enable-warnings Enable compiler warnings. |
1585 |
– |
--enable-syslog="EVENTS" |
1586 |
– |
Enable syslog for events: users oper (space |
1587 |
– |
separated in quotes; default: disabled). |
1461 |
|
|
1462 |
|
Optional Packages: |
1463 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1464 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1465 |
< |
--with-pic try to use only PIC/non-PIC objects [default=use |
1465 |
> |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1466 |
|
both] |
1467 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1468 |
+ |
--with-sysroot=DIR Search for dependent libraries within DIR |
1469 |
+ |
(or the compiler's sysroot if not specified). |
1470 |
|
--with-included-ltdl use the GNU ltdl sources included here |
1471 |
|
--with-ltdl-include=DIR use the ltdl headers installed in DIR |
1472 |
|
--with-ltdl-lib=DIR use the libltdl.la installed in DIR |
1473 |
< |
--with-zlib-path=DIR Path to libz.so for ziplinks support. |
1473 |
> |
--with-libpcre-path=DIR Path to libpcre.so for PCRE support. |
1474 |
|
--with-nicklen=<value> Set nickname length (default 9). |
1475 |
|
--with-topiclen=<value> Set topic length (default 160). |
1601 |
– |
--with-syslog-facility=LOG |
1602 |
– |
Define the syslog facility to use (default: |
1603 |
– |
LOG_LOCAL4) |
1476 |
|
|
1477 |
|
Some influential environment variables: |
1478 |
|
CC C compiler command |
1480 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1481 |
|
nonstandard directory <lib dir> |
1482 |
|
LIBS libraries to pass to the linker, e.g. -l<library> |
1483 |
< |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1483 |
> |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1484 |
|
you have headers in a nonstandard directory <include dir> |
1485 |
< |
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
1486 |
< |
the first program found out of: `bison -y', `byacc', `yacc'. |
1485 |
> |
YACC The `Yet Another Compiler Compiler' implementation to use. |
1486 |
> |
Defaults to the first program found out of: `bison -y', `byacc', |
1487 |
> |
`yacc'. |
1488 |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
1489 |
|
This script will default YFLAGS to the empty string to avoid a |
1490 |
|
default value of `-d' given by some make applications. |
1493 |
|
Use these variables to override the choices made by `configure' or to help |
1494 |
|
it to find libraries and programs with nonstandard names/locations. |
1495 |
|
|
1496 |
< |
Report bugs to the package provider. |
1496 |
> |
Report bugs to <bugs@ircd-hybrid.org>. |
1497 |
|
_ACEOF |
1498 |
|
ac_status=$? |
1499 |
|
fi |
1556 |
|
test -n "$ac_init_help" && exit $ac_status |
1557 |
|
if $ac_init_version; then |
1558 |
|
cat <<\_ACEOF |
1559 |
< |
ircd-hybrid configure 7.2.4 |
1560 |
< |
generated by GNU Autoconf 2.64 |
1559 |
> |
ircd-hybrid configure 8beta1 |
1560 |
> |
generated by GNU Autoconf 2.68 |
1561 |
|
|
1562 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
1562 |
> |
Copyright (C) 2010 Free Software Foundation, Inc. |
1563 |
|
This configure script is free software; the Free Software Foundation |
1564 |
|
gives unlimited permission to copy, distribute and modify it. |
1565 |
|
_ACEOF |
1603 |
|
|
1604 |
|
ac_retval=1 |
1605 |
|
fi |
1606 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1607 |
< |
return $ac_retval |
1606 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1607 |
> |
as_fn_set_status $ac_retval |
1608 |
|
|
1609 |
|
} # ac_fn_c_try_compile |
1610 |
|
|
1649 |
|
# interfere with the next link command; also delete a directory that is |
1650 |
|
# left behind by Apple's compiler. We do this before executing the actions. |
1651 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1652 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1653 |
< |
return $ac_retval |
1652 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1653 |
> |
as_fn_set_status $ac_retval |
1654 |
|
|
1655 |
|
} # ac_fn_c_try_link |
1656 |
|
|
1663 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1664 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1665 |
|
$as_echo_n "checking for $2... " >&6; } |
1666 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1666 |
> |
if eval \${$3+:} false; then : |
1667 |
|
$as_echo_n "(cached) " >&6 |
1668 |
|
else |
1669 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1681 |
|
eval ac_res=\$$3 |
1682 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1683 |
|
$as_echo "$ac_res" >&6; } |
1684 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1684 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1685 |
|
|
1686 |
|
} # ac_fn_c_check_header_compile |
1687 |
|
|
1706 |
|
mv -f conftest.er1 conftest.err |
1707 |
|
fi |
1708 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1709 |
< |
test $ac_status = 0; } >/dev/null && { |
1709 |
> |
test $ac_status = 0; } > conftest.i && { |
1710 |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1711 |
|
test ! -s conftest.err |
1712 |
|
}; then : |
1717 |
|
|
1718 |
|
ac_retval=1 |
1719 |
|
fi |
1720 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1721 |
< |
return $ac_retval |
1720 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1721 |
> |
as_fn_set_status $ac_retval |
1722 |
|
|
1723 |
|
} # ac_fn_c_try_cpp |
1724 |
|
|
1759 |
|
ac_retval=$ac_status |
1760 |
|
fi |
1761 |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1762 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1763 |
< |
return $ac_retval |
1762 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1763 |
> |
as_fn_set_status $ac_retval |
1764 |
|
|
1765 |
|
} # ac_fn_c_try_run |
1766 |
|
|
1772 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1773 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1774 |
|
$as_echo_n "checking for $2... " >&6; } |
1775 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1775 |
> |
if eval \${$3+:} false; then : |
1776 |
|
$as_echo_n "(cached) " >&6 |
1777 |
|
else |
1778 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1827 |
|
eval ac_res=\$$3 |
1828 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1829 |
|
$as_echo "$ac_res" >&6; } |
1830 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1830 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1831 |
|
|
1832 |
|
} # ac_fn_c_check_func |
1833 |
|
|
1834 |
< |
# ac_fn_c_check_decl LINENO SYMBOL VAR |
1835 |
< |
# ------------------------------------ |
1836 |
< |
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
1834 |
> |
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
1835 |
> |
# --------------------------------------------- |
1836 |
> |
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
1837 |
> |
# accordingly. |
1838 |
|
ac_fn_c_check_decl () |
1839 |
|
{ |
1840 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1841 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
1842 |
< |
$as_echo_n "checking whether $2 is declared... " >&6; } |
1843 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1841 |
> |
as_decl_name=`echo $2|sed 's/ *(.*//'` |
1842 |
> |
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
1843 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
1844 |
> |
$as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
1845 |
> |
if eval \${$3+:} false; then : |
1846 |
|
$as_echo_n "(cached) " >&6 |
1847 |
|
else |
1848 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1851 |
|
int |
1852 |
|
main () |
1853 |
|
{ |
1854 |
< |
#ifndef $2 |
1855 |
< |
(void) $2; |
1854 |
> |
#ifndef $as_decl_name |
1855 |
> |
#ifdef __cplusplus |
1856 |
> |
(void) $as_decl_use; |
1857 |
> |
#else |
1858 |
> |
(void) $as_decl_name; |
1859 |
> |
#endif |
1860 |
|
#endif |
1861 |
|
|
1862 |
|
; |
1873 |
|
eval ac_res=\$$3 |
1874 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1875 |
|
$as_echo "$ac_res" >&6; } |
1876 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1876 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1877 |
|
|
1878 |
|
} # ac_fn_c_check_decl |
1879 |
|
|
1886 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1887 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1888 |
|
$as_echo_n "checking for $2... " >&6; } |
1889 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1889 |
> |
if eval \${$3+:} false; then : |
1890 |
|
$as_echo_n "(cached) " >&6 |
1891 |
|
else |
1892 |
|
eval "$3=no" |
1927 |
|
eval ac_res=\$$3 |
1928 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1929 |
|
$as_echo "$ac_res" >&6; } |
1930 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1930 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1931 |
|
|
1932 |
|
} # ac_fn_c_check_type |
1933 |
|
|
1940 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1941 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1942 |
|
$as_echo_n "checking for $2.$3... " >&6; } |
1943 |
< |
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
1943 |
> |
if eval \${$4+:} false; then : |
1944 |
|
$as_echo_n "(cached) " >&6 |
1945 |
|
else |
1946 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1984 |
|
eval ac_res=\$$4 |
1985 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1986 |
|
$as_echo "$ac_res" >&6; } |
1987 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1987 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1988 |
|
|
1989 |
|
} # ac_fn_c_check_member |
1990 |
|
|
2111 |
– |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
2112 |
– |
# -------------------------------------------- |
2113 |
– |
# Tries to find the compile-time value of EXPR in a program that includes |
2114 |
– |
# INCLUDES, setting VAR accordingly. Returns whether the value could be |
2115 |
– |
# computed |
2116 |
– |
ac_fn_c_compute_int () |
2117 |
– |
{ |
2118 |
– |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2119 |
– |
if test "$cross_compiling" = yes; then |
2120 |
– |
# Depending upon the size, compute the lo and hi bounds. |
2121 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2122 |
– |
/* end confdefs.h. */ |
2123 |
– |
$4 |
2124 |
– |
int |
2125 |
– |
main () |
2126 |
– |
{ |
2127 |
– |
static int test_array [1 - 2 * !(($2) >= 0)]; |
2128 |
– |
test_array [0] = 0 |
2129 |
– |
|
2130 |
– |
; |
2131 |
– |
return 0; |
2132 |
– |
} |
2133 |
– |
_ACEOF |
2134 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2135 |
– |
ac_lo=0 ac_mid=0 |
2136 |
– |
while :; do |
2137 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2138 |
– |
/* end confdefs.h. */ |
2139 |
– |
$4 |
2140 |
– |
int |
2141 |
– |
main () |
2142 |
– |
{ |
2143 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2144 |
– |
test_array [0] = 0 |
2145 |
– |
|
2146 |
– |
; |
2147 |
– |
return 0; |
2148 |
– |
} |
2149 |
– |
_ACEOF |
2150 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2151 |
– |
ac_hi=$ac_mid; break |
2152 |
– |
else |
2153 |
– |
as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
2154 |
– |
if test $ac_lo -le $ac_mid; then |
2155 |
– |
ac_lo= ac_hi= |
2156 |
– |
break |
2157 |
– |
fi |
2158 |
– |
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
2159 |
– |
fi |
2160 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2161 |
– |
done |
2162 |
– |
else |
2163 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2164 |
– |
/* end confdefs.h. */ |
2165 |
– |
$4 |
2166 |
– |
int |
2167 |
– |
main () |
2168 |
– |
{ |
2169 |
– |
static int test_array [1 - 2 * !(($2) < 0)]; |
2170 |
– |
test_array [0] = 0 |
2171 |
– |
|
2172 |
– |
; |
2173 |
– |
return 0; |
2174 |
– |
} |
2175 |
– |
_ACEOF |
2176 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2177 |
– |
ac_hi=-1 ac_mid=-1 |
2178 |
– |
while :; do |
2179 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2180 |
– |
/* end confdefs.h. */ |
2181 |
– |
$4 |
2182 |
– |
int |
2183 |
– |
main () |
2184 |
– |
{ |
2185 |
– |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
2186 |
– |
test_array [0] = 0 |
2187 |
– |
|
2188 |
– |
; |
2189 |
– |
return 0; |
2190 |
– |
} |
2191 |
– |
_ACEOF |
2192 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2193 |
– |
ac_lo=$ac_mid; break |
2194 |
– |
else |
2195 |
– |
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
2196 |
– |
if test $ac_mid -le $ac_hi; then |
2197 |
– |
ac_lo= ac_hi= |
2198 |
– |
break |
2199 |
– |
fi |
2200 |
– |
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
2201 |
– |
fi |
2202 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2203 |
– |
done |
2204 |
– |
else |
2205 |
– |
ac_lo= ac_hi= |
2206 |
– |
fi |
2207 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2208 |
– |
fi |
2209 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2210 |
– |
# Binary search between lo and hi bounds. |
2211 |
– |
while test "x$ac_lo" != "x$ac_hi"; do |
2212 |
– |
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
2213 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2214 |
– |
/* end confdefs.h. */ |
2215 |
– |
$4 |
2216 |
– |
int |
2217 |
– |
main () |
2218 |
– |
{ |
2219 |
– |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2220 |
– |
test_array [0] = 0 |
2221 |
– |
|
2222 |
– |
; |
2223 |
– |
return 0; |
2224 |
– |
} |
2225 |
– |
_ACEOF |
2226 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
2227 |
– |
ac_hi=$ac_mid |
2228 |
– |
else |
2229 |
– |
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
2230 |
– |
fi |
2231 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2232 |
– |
done |
2233 |
– |
case $ac_lo in #(( |
2234 |
– |
?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
2235 |
– |
'') ac_retval=1 ;; |
2236 |
– |
esac |
2237 |
– |
else |
2238 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2239 |
– |
/* end confdefs.h. */ |
2240 |
– |
$4 |
2241 |
– |
static long int longval () { return $2; } |
2242 |
– |
static unsigned long int ulongval () { return $2; } |
2243 |
– |
#include <stdio.h> |
2244 |
– |
#include <stdlib.h> |
2245 |
– |
int |
2246 |
– |
main () |
2247 |
– |
{ |
2248 |
– |
|
2249 |
– |
FILE *f = fopen ("conftest.val", "w"); |
2250 |
– |
if (! f) |
2251 |
– |
return 1; |
2252 |
– |
if (($2) < 0) |
2253 |
– |
{ |
2254 |
– |
long int i = longval (); |
2255 |
– |
if (i != ($2)) |
2256 |
– |
return 1; |
2257 |
– |
fprintf (f, "%ld", i); |
2258 |
– |
} |
2259 |
– |
else |
2260 |
– |
{ |
2261 |
– |
unsigned long int i = ulongval (); |
2262 |
– |
if (i != ($2)) |
2263 |
– |
return 1; |
2264 |
– |
fprintf (f, "%lu", i); |
2265 |
– |
} |
2266 |
– |
/* Do not output a trailing newline, as this causes \r\n confusion |
2267 |
– |
on some platforms. */ |
2268 |
– |
return ferror (f) || fclose (f) != 0; |
2269 |
– |
|
2270 |
– |
; |
2271 |
– |
return 0; |
2272 |
– |
} |
2273 |
– |
_ACEOF |
2274 |
– |
if ac_fn_c_try_run "$LINENO"; then : |
2275 |
– |
echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
2276 |
– |
else |
2277 |
– |
ac_retval=1 |
2278 |
– |
fi |
2279 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2280 |
– |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
2281 |
– |
rm -f conftest.val |
2282 |
– |
|
2283 |
– |
fi |
2284 |
– |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2285 |
– |
return $ac_retval |
2286 |
– |
|
2287 |
– |
} # ac_fn_c_compute_int |
2288 |
– |
|
1991 |
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1992 |
|
# ------------------------------------------------------- |
1993 |
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
1996 |
|
ac_fn_c_check_header_mongrel () |
1997 |
|
{ |
1998 |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1999 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1999 |
> |
if eval \${$3+:} false; then : |
2000 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2001 |
|
$as_echo_n "checking for $2... " >&6; } |
2002 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2002 |
> |
if eval \${$3+:} false; then : |
2003 |
|
$as_echo_n "(cached) " >&6 |
2004 |
|
fi |
2005 |
|
eval ac_res=\$$3 |
2035 |
|
else |
2036 |
|
ac_header_preproc=no |
2037 |
|
fi |
2038 |
< |
rm -f conftest.err conftest.$ac_ext |
2038 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
2039 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
2040 |
|
$as_echo "$ac_header_preproc" >&6; } |
2041 |
|
|
2058 |
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
2059 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2060 |
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2061 |
+ |
( $as_echo "## ----------------------------------- ## |
2062 |
+ |
## Report this to bugs@ircd-hybrid.org ## |
2063 |
+ |
## ----------------------------------- ##" |
2064 |
+ |
) | sed "s/^/$as_me: WARNING: /" >&2 |
2065 |
|
;; |
2066 |
|
esac |
2067 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2068 |
|
$as_echo_n "checking for $2... " >&6; } |
2069 |
< |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2069 |
> |
if eval \${$3+:} false; then : |
2070 |
|
$as_echo_n "(cached) " >&6 |
2071 |
|
else |
2072 |
|
eval "$3=\$ac_header_compiler" |
2075 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2076 |
|
$as_echo "$ac_res" >&6; } |
2077 |
|
fi |
2078 |
< |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2078 |
> |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2079 |
|
|
2080 |
|
} # ac_fn_c_check_header_mongrel |
2081 |
|
cat >config.log <<_ACEOF |
2082 |
|
This file contains any messages produced by compilers while |
2083 |
|
running configure, to aid debugging if configure makes a mistake. |
2084 |
|
|
2085 |
< |
It was created by ircd-hybrid $as_me 7.2.4, which was |
2086 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
2085 |
> |
It was created by ircd-hybrid $as_me 8beta1, which was |
2086 |
> |
generated by GNU Autoconf 2.68. Invocation command line was |
2087 |
|
|
2088 |
|
$ $0 $@ |
2089 |
|
|
2193 |
|
{ |
2194 |
|
echo |
2195 |
|
|
2196 |
< |
cat <<\_ASBOX |
2491 |
< |
## ---------------- ## |
2196 |
> |
$as_echo "## ---------------- ## |
2197 |
|
## Cache variables. ## |
2198 |
< |
## ---------------- ## |
2494 |
< |
_ASBOX |
2198 |
> |
## ---------------- ##" |
2199 |
|
echo |
2200 |
|
# The following way of writing the cache mishandles newlines in values, |
2201 |
|
( |
2229 |
|
) |
2230 |
|
echo |
2231 |
|
|
2232 |
< |
cat <<\_ASBOX |
2529 |
< |
## ----------------- ## |
2232 |
> |
$as_echo "## ----------------- ## |
2233 |
|
## Output variables. ## |
2234 |
< |
## ----------------- ## |
2532 |
< |
_ASBOX |
2234 |
> |
## ----------------- ##" |
2235 |
|
echo |
2236 |
|
for ac_var in $ac_subst_vars |
2237 |
|
do |
2244 |
|
echo |
2245 |
|
|
2246 |
|
if test -n "$ac_subst_files"; then |
2247 |
< |
cat <<\_ASBOX |
2546 |
< |
## ------------------- ## |
2247 |
> |
$as_echo "## ------------------- ## |
2248 |
|
## File substitutions. ## |
2249 |
< |
## ------------------- ## |
2549 |
< |
_ASBOX |
2249 |
> |
## ------------------- ##" |
2250 |
|
echo |
2251 |
|
for ac_var in $ac_subst_files |
2252 |
|
do |
2260 |
|
fi |
2261 |
|
|
2262 |
|
if test -s confdefs.h; then |
2263 |
< |
cat <<\_ASBOX |
2564 |
< |
## ----------- ## |
2263 |
> |
$as_echo "## ----------- ## |
2264 |
|
## confdefs.h. ## |
2265 |
< |
## ----------- ## |
2567 |
< |
_ASBOX |
2265 |
> |
## ----------- ##" |
2266 |
|
echo |
2267 |
|
cat confdefs.h |
2268 |
|
echo |
2317 |
|
ac_site_file1=NONE |
2318 |
|
ac_site_file2=NONE |
2319 |
|
if test -n "$CONFIG_SITE"; then |
2320 |
< |
ac_site_file1=$CONFIG_SITE |
2320 |
> |
# We do not want a PATH search for config.site. |
2321 |
> |
case $CONFIG_SITE in #(( |
2322 |
> |
-*) ac_site_file1=./$CONFIG_SITE;; |
2323 |
> |
*/*) ac_site_file1=$CONFIG_SITE;; |
2324 |
> |
*) ac_site_file1=./$CONFIG_SITE;; |
2325 |
> |
esac |
2326 |
|
elif test "x$prefix" != xNONE; then |
2327 |
|
ac_site_file1=$prefix/share/config.site |
2328 |
|
ac_site_file2=$prefix/etc/config.site |
2333 |
|
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2334 |
|
do |
2335 |
|
test "x$ac_site_file" = xNONE && continue |
2336 |
< |
if test -r "$ac_site_file"; then |
2336 |
> |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2337 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2338 |
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2339 |
|
sed 's/^/| /' "$ac_site_file" >&5 |
2340 |
< |
. "$ac_site_file" |
2340 |
> |
. "$ac_site_file" \ |
2341 |
> |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2342 |
> |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2343 |
> |
as_fn_error $? "failed to load site script $ac_site_file |
2344 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
2345 |
|
fi |
2346 |
|
done |
2347 |
|
|
2348 |
|
if test -r "$cache_file"; then |
2349 |
< |
# Some versions of bash will fail to source /dev/null (special |
2350 |
< |
# files actually), so we avoid doing that. |
2351 |
< |
if test -f "$cache_file"; then |
2349 |
> |
# Some versions of bash will fail to source /dev/null (special files |
2350 |
> |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2351 |
> |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2352 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2353 |
|
$as_echo "$as_me: loading cache $cache_file" >&6;} |
2354 |
|
case $cache_file in |
2362 |
|
>$cache_file |
2363 |
|
fi |
2364 |
|
|
2658 |
– |
as_fn_append ac_func_list " snprintf" |
2659 |
– |
as_fn_append ac_func_list " vsnprintf" |
2365 |
|
as_fn_append ac_func_list " mmap" |
2366 |
|
as_fn_append ac_func_list " strtok_r" |
2367 |
|
as_fn_append ac_func_list " usleep" |
2368 |
|
as_fn_append ac_func_list " strlcat" |
2369 |
|
as_fn_append ac_func_list " strlcpy" |
2370 |
+ |
as_fn_append ac_func_list " socketpair" |
2371 |
|
as_fn_append ac_header_list " crypt.h" |
2372 |
|
as_fn_append ac_header_list " inttypes.h" |
2373 |
|
as_fn_append ac_header_list " stdint.h" |
2375 |
|
as_fn_append ac_header_list " sys/param.h" |
2376 |
|
as_fn_append ac_header_list " errno.h" |
2377 |
|
as_fn_append ac_header_list " sys/syslog.h" |
2672 |
– |
as_fn_append ac_header_list " stddef.h" |
2673 |
– |
as_fn_append ac_header_list " libgen.h" |
2378 |
|
as_fn_append ac_header_list " types.h" |
2379 |
|
as_fn_append ac_header_list " socket.h" |
2380 |
|
as_fn_append ac_header_list " sys/wait.h" |
2435 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2436 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2437 |
|
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2438 |
< |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2438 |
> |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2439 |
|
fi |
2440 |
|
## -------------------- ## |
2441 |
|
## Main body of script. ## |
2452 |
|
|
2453 |
|
ac_aux_dir= |
2454 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2455 |
< |
for ac_t in install-sh install.sh shtool; do |
2456 |
< |
if test -f "$ac_dir/$ac_t"; then |
2457 |
< |
ac_aux_dir=$ac_dir |
2458 |
< |
ac_install_sh="$ac_aux_dir/$ac_t -c" |
2459 |
< |
break 2 |
2460 |
< |
fi |
2461 |
< |
done |
2455 |
> |
if test -f "$ac_dir/install-sh"; then |
2456 |
> |
ac_aux_dir=$ac_dir |
2457 |
> |
ac_install_sh="$ac_aux_dir/install-sh -c" |
2458 |
> |
break |
2459 |
> |
elif test -f "$ac_dir/install.sh"; then |
2460 |
> |
ac_aux_dir=$ac_dir |
2461 |
> |
ac_install_sh="$ac_aux_dir/install.sh -c" |
2462 |
> |
break |
2463 |
> |
elif test -f "$ac_dir/shtool"; then |
2464 |
> |
ac_aux_dir=$ac_dir |
2465 |
> |
ac_install_sh="$ac_aux_dir/shtool install -c" |
2466 |
> |
break |
2467 |
> |
fi |
2468 |
|
done |
2469 |
|
if test -z "$ac_aux_dir"; then |
2470 |
< |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2470 |
> |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2471 |
|
fi |
2472 |
|
|
2473 |
|
# These three variables are undocumented and unsupported, |
2496 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2497 |
|
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
2498 |
|
if test -z "$INSTALL"; then |
2499 |
< |
if test "${ac_cv_path_install+set}" = set; then : |
2499 |
> |
if ${ac_cv_path_install+:} false; then : |
2500 |
|
$as_echo_n "(cached) " >&6 |
2501 |
|
else |
2502 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2583 |
|
' |
2584 |
|
case `pwd` in |
2585 |
|
*[\\\"\#\$\&\'\`$am_lf]*) |
2586 |
< |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; |
2586 |
> |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
2587 |
|
esac |
2588 |
|
case $srcdir in |
2589 |
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2590 |
< |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2590 |
> |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2591 |
|
esac |
2592 |
|
|
2593 |
|
# Do `set' in a subshell so we don't clobber the current shell's |
2609 |
|
# if, for instance, CONFIG_SHELL is bash and it inherits a |
2610 |
|
# broken ls alias from the environment. This has actually |
2611 |
|
# happened. Such a system could not be considered "sane". |
2612 |
< |
as_fn_error "ls -t appears to fail. Make sure there is not a broken |
2612 |
> |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2613 |
|
alias in your environment" "$LINENO" 5 |
2614 |
|
fi |
2615 |
|
|
2619 |
|
# Ok. |
2620 |
|
: |
2621 |
|
else |
2622 |
< |
as_fn_error "newly created file is older than distributed files! |
2622 |
> |
as_fn_error $? "newly created file is older than distributed files! |
2623 |
|
Check your system clock" "$LINENO" 5 |
2624 |
|
fi |
2625 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2673 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2674 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2675 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2676 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
2676 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
2677 |
|
$as_echo_n "(cached) " >&6 |
2678 |
|
else |
2679 |
|
if test -n "$STRIP"; then |
2713 |
|
set dummy strip; ac_word=$2 |
2714 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2715 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2716 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
2716 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2717 |
|
$as_echo_n "(cached) " >&6 |
2718 |
|
else |
2719 |
|
if test -n "$ac_ct_STRIP"; then |
2766 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2767 |
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2768 |
|
if test -z "$MKDIR_P"; then |
2769 |
< |
if test "${ac_cv_path_mkdir+set}" = set; then : |
2769 |
> |
if ${ac_cv_path_mkdir+:} false; then : |
2770 |
|
$as_echo_n "(cached) " >&6 |
2771 |
|
else |
2772 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2791 |
|
|
2792 |
|
fi |
2793 |
|
|
2794 |
+ |
test -d ./--version && rmdir ./--version |
2795 |
|
if test "${ac_cv_path_mkdir+set}" = set; then |
2796 |
|
MKDIR_P="$ac_cv_path_mkdir -p" |
2797 |
|
else |
2799 |
|
# value for MKDIR_P within a source directory, because that will |
2800 |
|
# break other packages using the cache if that directory is |
2801 |
|
# removed, or if the value is a relative name. |
3091 |
– |
test -d ./--version && rmdir ./--version |
2802 |
|
MKDIR_P="$ac_install_sh -d" |
2803 |
|
fi |
2804 |
|
fi |
2817 |
|
set dummy $ac_prog; ac_word=$2 |
2818 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2819 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
2820 |
< |
if test "${ac_cv_prog_AWK+set}" = set; then : |
2820 |
> |
if ${ac_cv_prog_AWK+:} false; then : |
2821 |
|
$as_echo_n "(cached) " >&6 |
2822 |
|
else |
2823 |
|
if test -n "$AWK"; then |
2857 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2858 |
|
set x ${MAKE-make} |
2859 |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2860 |
< |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
2860 |
> |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2861 |
|
$as_echo_n "(cached) " >&6 |
2862 |
|
else |
2863 |
|
cat >conftest.make <<\_ACEOF |
2865 |
|
all: |
2866 |
|
@echo '@@@%%%=$(MAKE)=@@@%%%' |
2867 |
|
_ACEOF |
2868 |
< |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2868 |
> |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2869 |
|
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2870 |
|
*@@@%%%=?*=@@@%%%*) |
2871 |
|
eval ac_cv_prog_make_${ac_make}_set=yes;; |
2899 |
|
am__isrc=' -I$(srcdir)' |
2900 |
|
# test to see if srcdir already configured |
2901 |
|
if test -f $srcdir/config.status; then |
2902 |
< |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2902 |
> |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2903 |
|
fi |
2904 |
|
fi |
2905 |
|
|
2915 |
|
|
2916 |
|
# Define the identity of the package. |
2917 |
|
PACKAGE='ircd-hybrid' |
2918 |
< |
VERSION='7.2.4' |
2918 |
> |
VERSION='8beta1' |
2919 |
|
|
2920 |
|
|
2921 |
|
cat >>confdefs.h <<_ACEOF |
2945 |
|
|
2946 |
|
# We need awk for the "check" target. The system "awk" is bad on |
2947 |
|
# some platforms. |
2948 |
< |
# Always define AMTAR for backward compatibility. |
2949 |
< |
|
2950 |
< |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
2948 |
> |
# Always define AMTAR for backward compatibility. Yes, it's still used |
2949 |
> |
# in the wild :-( We should find a proper way to deprecate it ... |
2950 |
> |
AMTAR='$${TAR-tar}' |
2951 |
|
|
2952 |
< |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
2952 |
> |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
2953 |
|
|
2954 |
|
|
2955 |
|
|
2982 |
|
|
2983 |
|
|
2984 |
|
|
3275 |
– |
|
2985 |
|
# Checks for programs. |
2986 |
+ |
DEPDIR="${am__leading_dot}deps" |
2987 |
+ |
|
2988 |
+ |
ac_config_commands="$ac_config_commands depfiles" |
2989 |
+ |
|
2990 |
+ |
|
2991 |
+ |
am_make=${MAKE-make} |
2992 |
+ |
cat > confinc << 'END' |
2993 |
+ |
am__doit: |
2994 |
+ |
@echo this is the am__doit target |
2995 |
+ |
.PHONY: am__doit |
2996 |
+ |
END |
2997 |
+ |
# If we don't find an include directive, just comment out the code. |
2998 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
2999 |
+ |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
3000 |
+ |
am__include="#" |
3001 |
+ |
am__quote= |
3002 |
+ |
_am_result=none |
3003 |
+ |
# First try GNU make style include. |
3004 |
+ |
echo "include confinc" > confmf |
3005 |
+ |
# Ignore all kinds of additional output from `make'. |
3006 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3007 |
+ |
*the\ am__doit\ target*) |
3008 |
+ |
am__include=include |
3009 |
+ |
am__quote= |
3010 |
+ |
_am_result=GNU |
3011 |
+ |
;; |
3012 |
+ |
esac |
3013 |
+ |
# Now try BSD make style include. |
3014 |
+ |
if test "$am__include" = "#"; then |
3015 |
+ |
echo '.include "confinc"' > confmf |
3016 |
+ |
case `$am_make -s -f confmf 2> /dev/null` in #( |
3017 |
+ |
*the\ am__doit\ target*) |
3018 |
+ |
am__include=.include |
3019 |
+ |
am__quote="\"" |
3020 |
+ |
_am_result=BSD |
3021 |
+ |
;; |
3022 |
+ |
esac |
3023 |
+ |
fi |
3024 |
+ |
|
3025 |
+ |
|
3026 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3027 |
+ |
$as_echo "$_am_result" >&6; } |
3028 |
+ |
rm -f confinc confmf |
3029 |
+ |
|
3030 |
+ |
# Check whether --enable-dependency-tracking was given. |
3031 |
+ |
if test "${enable_dependency_tracking+set}" = set; then : |
3032 |
+ |
enableval=$enable_dependency_tracking; |
3033 |
+ |
fi |
3034 |
+ |
|
3035 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
3036 |
+ |
am_depcomp="$ac_aux_dir/depcomp" |
3037 |
+ |
AMDEPBACKSLASH='\' |
3038 |
+ |
am__nodep='_no' |
3039 |
+ |
fi |
3040 |
+ |
if test "x$enable_dependency_tracking" != xno; then |
3041 |
+ |
AMDEP_TRUE= |
3042 |
+ |
AMDEP_FALSE='#' |
3043 |
+ |
else |
3044 |
+ |
AMDEP_TRUE='#' |
3045 |
+ |
AMDEP_FALSE= |
3046 |
+ |
fi |
3047 |
+ |
|
3048 |
+ |
|
3049 |
|
ac_ext=c |
3050 |
|
ac_cpp='$CPP $CPPFLAGS' |
3051 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3056 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3057 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3058 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3059 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3059 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3060 |
|
$as_echo_n "(cached) " >&6 |
3061 |
|
else |
3062 |
|
if test -n "$CC"; then |
3096 |
|
set dummy gcc; ac_word=$2 |
3097 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3098 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3099 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3099 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3100 |
|
$as_echo_n "(cached) " >&6 |
3101 |
|
else |
3102 |
|
if test -n "$ac_ct_CC"; then |
3149 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3150 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3151 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3152 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3152 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3153 |
|
$as_echo_n "(cached) " >&6 |
3154 |
|
else |
3155 |
|
if test -n "$CC"; then |
3189 |
|
set dummy cc; ac_word=$2 |
3190 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3191 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3192 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3192 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3193 |
|
$as_echo_n "(cached) " >&6 |
3194 |
|
else |
3195 |
|
if test -n "$CC"; then |
3248 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3249 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3250 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3251 |
< |
if test "${ac_cv_prog_CC+set}" = set; then : |
3251 |
> |
if ${ac_cv_prog_CC+:} false; then : |
3252 |
|
$as_echo_n "(cached) " >&6 |
3253 |
|
else |
3254 |
|
if test -n "$CC"; then |
3292 |
|
set dummy $ac_prog; ac_word=$2 |
3293 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3294 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
3295 |
< |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3295 |
> |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3296 |
|
$as_echo_n "(cached) " >&6 |
3297 |
|
else |
3298 |
|
if test -n "$ac_ct_CC"; then |
3346 |
|
|
3347 |
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3348 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3349 |
< |
as_fn_error "no acceptable C compiler found in \$PATH |
3350 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3349 |
> |
as_fn_error $? "no acceptable C compiler found in \$PATH |
3350 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3351 |
|
|
3352 |
|
# Provide some information about the compiler. |
3353 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3368 |
|
... rest of stderr output deleted ... |
3369 |
|
10q' conftest.err >conftest.er1 |
3370 |
|
cat conftest.er1 >&5 |
3599 |
– |
rm -f conftest.er1 conftest.err |
3371 |
|
fi |
3372 |
+ |
rm -f conftest.er1 conftest.err |
3373 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3374 |
|
test $ac_status = 0; } |
3375 |
|
done |
3376 |
|
|
3377 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3378 |
|
/* end confdefs.h. */ |
3379 |
< |
#include <stdio.h> |
3379 |
> |
|
3380 |
|
int |
3381 |
|
main () |
3382 |
|
{ |
3611 |
– |
FILE *f = fopen ("conftest.out", "w"); |
3612 |
– |
return ferror (f) || fclose (f) != 0; |
3383 |
|
|
3384 |
|
; |
3385 |
|
return 0; |
3386 |
|
} |
3387 |
|
_ACEOF |
3388 |
|
ac_clean_files_save=$ac_clean_files |
3389 |
< |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" |
3389 |
> |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3390 |
|
# Try to create an executable without -o first, disregard a.out. |
3391 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
3392 |
|
# of exeext. |
3393 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3394 |
< |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
3393 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3394 |
> |
$as_echo_n "checking whether the C compiler works... " >&6; } |
3395 |
|
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3396 |
|
|
3397 |
|
# The possible output files: |
3453 |
|
else |
3454 |
|
ac_file='' |
3455 |
|
fi |
3686 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3687 |
– |
$as_echo "$ac_file" >&6; } |
3456 |
|
if test -z "$ac_file"; then : |
3457 |
< |
$as_echo "$as_me: failed program was:" >&5 |
3457 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3458 |
> |
$as_echo "no" >&6; } |
3459 |
> |
$as_echo "$as_me: failed program was:" >&5 |
3460 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
3461 |
|
|
3462 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3463 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3464 |
< |
{ as_fn_set_status 77 |
3465 |
< |
as_fn_error "C compiler cannot create executables |
3466 |
< |
See \`config.log' for more details." "$LINENO" 5; }; } |
3464 |
> |
as_fn_error 77 "C compiler cannot create executables |
3465 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3466 |
> |
else |
3467 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3468 |
> |
$as_echo "yes" >&6; } |
3469 |
|
fi |
3470 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3471 |
+ |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
3472 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3473 |
+ |
$as_echo "$ac_file" >&6; } |
3474 |
|
ac_exeext=$ac_cv_exeext |
3475 |
|
|
3476 |
< |
# Check that the compiler produces executables we can run. If not, either |
3701 |
< |
# the compiler is broken, or we cross compile. |
3702 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3703 |
< |
$as_echo_n "checking whether the C compiler works... " >&6; } |
3704 |
< |
# If not cross compiling, check that we can run a simple program. |
3705 |
< |
if test "$cross_compiling" != yes; then |
3706 |
< |
if { ac_try='./$ac_file' |
3707 |
< |
{ { case "(($ac_try" in |
3708 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3709 |
< |
*) ac_try_echo=$ac_try;; |
3710 |
< |
esac |
3711 |
< |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3712 |
< |
$as_echo "$ac_try_echo"; } >&5 |
3713 |
< |
(eval "$ac_try") 2>&5 |
3714 |
< |
ac_status=$? |
3715 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3716 |
< |
test $ac_status = 0; }; }; then |
3717 |
< |
cross_compiling=no |
3718 |
< |
else |
3719 |
< |
if test "$cross_compiling" = maybe; then |
3720 |
< |
cross_compiling=yes |
3721 |
< |
else |
3722 |
< |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3723 |
< |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3724 |
< |
as_fn_error "cannot run C compiled programs. |
3725 |
< |
If you meant to cross compile, use \`--host'. |
3726 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3727 |
< |
fi |
3728 |
< |
fi |
3729 |
< |
fi |
3730 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3731 |
< |
$as_echo "yes" >&6; } |
3732 |
< |
|
3733 |
< |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
3476 |
> |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3477 |
|
ac_clean_files=$ac_clean_files_save |
3735 |
– |
# Check that the compiler produces executables we can run. If not, either |
3736 |
– |
# the compiler is broken, or we cross compile. |
3737 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3738 |
– |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
3739 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3740 |
– |
$as_echo "$cross_compiling" >&6; } |
3741 |
– |
|
3478 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3479 |
|
$as_echo_n "checking for suffix of executables... " >&6; } |
3480 |
|
if { { ac_try="$ac_link" |
3504 |
|
else |
3505 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3506 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3507 |
< |
as_fn_error "cannot compute suffix of executables: cannot compile and link |
3508 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3507 |
> |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3508 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3509 |
|
fi |
3510 |
< |
rm -f conftest$ac_cv_exeext |
3510 |
> |
rm -f conftest conftest$ac_cv_exeext |
3511 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3512 |
|
$as_echo "$ac_cv_exeext" >&6; } |
3513 |
|
|
3514 |
|
rm -f conftest.$ac_ext |
3515 |
|
EXEEXT=$ac_cv_exeext |
3516 |
|
ac_exeext=$EXEEXT |
3517 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3518 |
+ |
/* end confdefs.h. */ |
3519 |
+ |
#include <stdio.h> |
3520 |
+ |
int |
3521 |
+ |
main () |
3522 |
+ |
{ |
3523 |
+ |
FILE *f = fopen ("conftest.out", "w"); |
3524 |
+ |
return ferror (f) || fclose (f) != 0; |
3525 |
+ |
|
3526 |
+ |
; |
3527 |
+ |
return 0; |
3528 |
+ |
} |
3529 |
+ |
_ACEOF |
3530 |
+ |
ac_clean_files="$ac_clean_files conftest.out" |
3531 |
+ |
# Check that the compiler produces executables we can run. If not, either |
3532 |
+ |
# the compiler is broken, or we cross compile. |
3533 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3534 |
+ |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
3535 |
+ |
if test "$cross_compiling" != yes; then |
3536 |
+ |
{ { ac_try="$ac_link" |
3537 |
+ |
case "(($ac_try" in |
3538 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3539 |
+ |
*) ac_try_echo=$ac_try;; |
3540 |
+ |
esac |
3541 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3542 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
3543 |
+ |
(eval "$ac_link") 2>&5 |
3544 |
+ |
ac_status=$? |
3545 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3546 |
+ |
test $ac_status = 0; } |
3547 |
+ |
if { ac_try='./conftest$ac_cv_exeext' |
3548 |
+ |
{ { case "(($ac_try" in |
3549 |
+ |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3550 |
+ |
*) ac_try_echo=$ac_try;; |
3551 |
+ |
esac |
3552 |
+ |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3553 |
+ |
$as_echo "$ac_try_echo"; } >&5 |
3554 |
+ |
(eval "$ac_try") 2>&5 |
3555 |
+ |
ac_status=$? |
3556 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3557 |
+ |
test $ac_status = 0; }; }; then |
3558 |
+ |
cross_compiling=no |
3559 |
+ |
else |
3560 |
+ |
if test "$cross_compiling" = maybe; then |
3561 |
+ |
cross_compiling=yes |
3562 |
+ |
else |
3563 |
+ |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3564 |
+ |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3565 |
+ |
as_fn_error $? "cannot run C compiled programs. |
3566 |
+ |
If you meant to cross compile, use \`--host'. |
3567 |
+ |
See \`config.log' for more details" "$LINENO" 5; } |
3568 |
+ |
fi |
3569 |
+ |
fi |
3570 |
+ |
fi |
3571 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3572 |
+ |
$as_echo "$cross_compiling" >&6; } |
3573 |
+ |
|
3574 |
+ |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3575 |
+ |
ac_clean_files=$ac_clean_files_save |
3576 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3577 |
|
$as_echo_n "checking for suffix of object files... " >&6; } |
3578 |
< |
if test "${ac_cv_objext+set}" = set; then : |
3578 |
> |
if ${ac_cv_objext+:} false; then : |
3579 |
|
$as_echo_n "(cached) " >&6 |
3580 |
|
else |
3581 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3615 |
|
|
3616 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3617 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3618 |
< |
as_fn_error "cannot compute suffix of object files: cannot compile |
3619 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
3618 |
> |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
3619 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
3620 |
|
fi |
3621 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3622 |
|
fi |
3626 |
|
ac_objext=$OBJEXT |
3627 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3628 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3629 |
< |
if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
3629 |
> |
if ${ac_cv_c_compiler_gnu+:} false; then : |
3630 |
|
$as_echo_n "(cached) " >&6 |
3631 |
|
else |
3632 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3663 |
|
ac_save_CFLAGS=$CFLAGS |
3664 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3665 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
3666 |
< |
if test "${ac_cv_prog_cc_g+set}" = set; then : |
3666 |
> |
if ${ac_cv_prog_cc_g+:} false; then : |
3667 |
|
$as_echo_n "(cached) " >&6 |
3668 |
|
else |
3669 |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
3741 |
|
fi |
3742 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3743 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3744 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then : |
3744 |
> |
if ${ac_cv_prog_cc_c89+:} false; then : |
3745 |
|
$as_echo_n "(cached) " >&6 |
3746 |
|
else |
3747 |
|
ac_cv_prog_cc_c89=no |
3835 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3836 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3837 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4043 |
– |
DEPDIR="${am__leading_dot}deps" |
4044 |
– |
|
4045 |
– |
ac_config_commands="$ac_config_commands depfiles" |
4046 |
– |
|
4047 |
– |
|
4048 |
– |
am_make=${MAKE-make} |
4049 |
– |
cat > confinc << 'END' |
4050 |
– |
am__doit: |
4051 |
– |
@echo this is the am__doit target |
4052 |
– |
.PHONY: am__doit |
4053 |
– |
END |
4054 |
– |
# If we don't find an include directive, just comment out the code. |
4055 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
4056 |
– |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
4057 |
– |
am__include="#" |
4058 |
– |
am__quote= |
4059 |
– |
_am_result=none |
4060 |
– |
# First try GNU make style include. |
4061 |
– |
echo "include confinc" > confmf |
4062 |
– |
# Ignore all kinds of additional output from `make'. |
4063 |
– |
case `$am_make -s -f confmf 2> /dev/null` in #( |
4064 |
– |
*the\ am__doit\ target*) |
4065 |
– |
am__include=include |
4066 |
– |
am__quote= |
4067 |
– |
_am_result=GNU |
4068 |
– |
;; |
4069 |
– |
esac |
4070 |
– |
# Now try BSD make style include. |
4071 |
– |
if test "$am__include" = "#"; then |
4072 |
– |
echo '.include "confinc"' > confmf |
4073 |
– |
case `$am_make -s -f confmf 2> /dev/null` in #( |
4074 |
– |
*the\ am__doit\ target*) |
4075 |
– |
am__include=.include |
4076 |
– |
am__quote="\"" |
4077 |
– |
_am_result=BSD |
4078 |
– |
;; |
4079 |
– |
esac |
4080 |
– |
fi |
4081 |
– |
|
4082 |
– |
|
4083 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
4084 |
– |
$as_echo "$_am_result" >&6; } |
4085 |
– |
rm -f confinc confmf |
4086 |
– |
|
4087 |
– |
# Check whether --enable-dependency-tracking was given. |
4088 |
– |
if test "${enable_dependency_tracking+set}" = set; then : |
4089 |
– |
enableval=$enable_dependency_tracking; |
4090 |
– |
fi |
4091 |
– |
|
4092 |
– |
if test "x$enable_dependency_tracking" != xno; then |
4093 |
– |
am_depcomp="$ac_aux_dir/depcomp" |
4094 |
– |
AMDEPBACKSLASH='\' |
4095 |
– |
fi |
4096 |
– |
if test "x$enable_dependency_tracking" != xno; then |
4097 |
– |
AMDEP_TRUE= |
4098 |
– |
AMDEP_FALSE='#' |
4099 |
– |
else |
4100 |
– |
AMDEP_TRUE='#' |
4101 |
– |
AMDEP_FALSE= |
4102 |
– |
fi |
4103 |
– |
|
4104 |
– |
|
3838 |
|
|
3839 |
|
depcc="$CC" am_compiler_list= |
3840 |
|
|
3841 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3842 |
|
$as_echo_n "checking dependency style of $depcc... " >&6; } |
3843 |
< |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
3843 |
> |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
3844 |
|
$as_echo_n "(cached) " >&6 |
3845 |
|
else |
3846 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3849 |
|
# instance it was reported that on HP-UX the gcc test will end up |
3850 |
|
# making a dummy file named `D' -- because `-MD' means `put the output |
3851 |
|
# in D'. |
3852 |
+ |
rm -rf conftest.dir |
3853 |
|
mkdir conftest.dir |
3854 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
3855 |
|
# using a relative directory. |
3909 |
|
break |
3910 |
|
fi |
3911 |
|
;; |
3912 |
< |
msvisualcpp | msvcmsys) |
3912 |
> |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
3913 |
|
# This compiler won't grok `-c -o', but also, the minuso test has |
3914 |
|
# not run yet. These depmodes are late enough in the game, and |
3915 |
|
# so weak that their functioning should not be impacted. |
3964 |
|
fi |
3965 |
|
|
3966 |
|
|
3967 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
3968 |
+ |
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
3969 |
+ |
if ${ac_cv_prog_cc_c99+:} false; then : |
3970 |
+ |
$as_echo_n "(cached) " >&6 |
3971 |
+ |
else |
3972 |
+ |
ac_cv_prog_cc_c99=no |
3973 |
+ |
ac_save_CC=$CC |
3974 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3975 |
+ |
/* end confdefs.h. */ |
3976 |
+ |
#include <stdarg.h> |
3977 |
+ |
#include <stdbool.h> |
3978 |
+ |
#include <stdlib.h> |
3979 |
+ |
#include <wchar.h> |
3980 |
+ |
#include <stdio.h> |
3981 |
+ |
|
3982 |
+ |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
3983 |
+ |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
3984 |
+ |
#define showlist(...) puts (#__VA_ARGS__) |
3985 |
+ |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
3986 |
+ |
static void |
3987 |
+ |
test_varargs_macros (void) |
3988 |
+ |
{ |
3989 |
+ |
int x = 1234; |
3990 |
+ |
int y = 5678; |
3991 |
+ |
debug ("Flag"); |
3992 |
+ |
debug ("X = %d\n", x); |
3993 |
+ |
showlist (The first, second, and third items.); |
3994 |
+ |
report (x>y, "x is %d but y is %d", x, y); |
3995 |
+ |
} |
3996 |
+ |
|
3997 |
+ |
// Check long long types. |
3998 |
+ |
#define BIG64 18446744073709551615ull |
3999 |
+ |
#define BIG32 4294967295ul |
4000 |
+ |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
4001 |
+ |
#if !BIG_OK |
4002 |
+ |
your preprocessor is broken; |
4003 |
+ |
#endif |
4004 |
+ |
#if BIG_OK |
4005 |
+ |
#else |
4006 |
+ |
your preprocessor is broken; |
4007 |
+ |
#endif |
4008 |
+ |
static long long int bignum = -9223372036854775807LL; |
4009 |
+ |
static unsigned long long int ubignum = BIG64; |
4010 |
+ |
|
4011 |
+ |
struct incomplete_array |
4012 |
+ |
{ |
4013 |
+ |
int datasize; |
4014 |
+ |
double data[]; |
4015 |
+ |
}; |
4016 |
+ |
|
4017 |
+ |
struct named_init { |
4018 |
+ |
int number; |
4019 |
+ |
const wchar_t *name; |
4020 |
+ |
double average; |
4021 |
+ |
}; |
4022 |
+ |
|
4023 |
+ |
typedef const char *ccp; |
4024 |
+ |
|
4025 |
+ |
static inline int |
4026 |
+ |
test_restrict (ccp restrict text) |
4027 |
+ |
{ |
4028 |
+ |
// See if C++-style comments work. |
4029 |
+ |
// Iterate through items via the restricted pointer. |
4030 |
+ |
// Also check for declarations in for loops. |
4031 |
+ |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
4032 |
+ |
continue; |
4033 |
+ |
return 0; |
4034 |
+ |
} |
4035 |
+ |
|
4036 |
+ |
// Check varargs and va_copy. |
4037 |
+ |
static void |
4038 |
+ |
test_varargs (const char *format, ...) |
4039 |
+ |
{ |
4040 |
+ |
va_list args; |
4041 |
+ |
va_start (args, format); |
4042 |
+ |
va_list args_copy; |
4043 |
+ |
va_copy (args_copy, args); |
4044 |
+ |
|
4045 |
+ |
const char *str; |
4046 |
+ |
int number; |
4047 |
+ |
float fnumber; |
4048 |
+ |
|
4049 |
+ |
while (*format) |
4050 |
+ |
{ |
4051 |
+ |
switch (*format++) |
4052 |
+ |
{ |
4053 |
+ |
case 's': // string |
4054 |
+ |
str = va_arg (args_copy, const char *); |
4055 |
+ |
break; |
4056 |
+ |
case 'd': // int |
4057 |
+ |
number = va_arg (args_copy, int); |
4058 |
+ |
break; |
4059 |
+ |
case 'f': // float |
4060 |
+ |
fnumber = va_arg (args_copy, double); |
4061 |
+ |
break; |
4062 |
+ |
default: |
4063 |
+ |
break; |
4064 |
+ |
} |
4065 |
+ |
} |
4066 |
+ |
va_end (args_copy); |
4067 |
+ |
va_end (args); |
4068 |
+ |
} |
4069 |
+ |
|
4070 |
+ |
int |
4071 |
+ |
main () |
4072 |
+ |
{ |
4073 |
+ |
|
4074 |
+ |
// Check bool. |
4075 |
+ |
_Bool success = false; |
4076 |
+ |
|
4077 |
+ |
// Check restrict. |
4078 |
+ |
if (test_restrict ("String literal") == 0) |
4079 |
+ |
success = true; |
4080 |
+ |
char *restrict newvar = "Another string"; |
4081 |
+ |
|
4082 |
+ |
// Check varargs. |
4083 |
+ |
test_varargs ("s, d' f .", "string", 65, 34.234); |
4084 |
+ |
test_varargs_macros (); |
4085 |
+ |
|
4086 |
+ |
// Check flexible array members. |
4087 |
+ |
struct incomplete_array *ia = |
4088 |
+ |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
4089 |
+ |
ia->datasize = 10; |
4090 |
+ |
for (int i = 0; i < ia->datasize; ++i) |
4091 |
+ |
ia->data[i] = i * 1.234; |
4092 |
+ |
|
4093 |
+ |
// Check named initializers. |
4094 |
+ |
struct named_init ni = { |
4095 |
+ |
.number = 34, |
4096 |
+ |
.name = L"Test wide string", |
4097 |
+ |
.average = 543.34343, |
4098 |
+ |
}; |
4099 |
+ |
|
4100 |
+ |
ni.number = 58; |
4101 |
+ |
|
4102 |
+ |
int dynamic_array[ni.number]; |
4103 |
+ |
dynamic_array[ni.number - 1] = 543; |
4104 |
+ |
|
4105 |
+ |
// work around unused variable warnings |
4106 |
+ |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
4107 |
+ |
|| dynamic_array[ni.number - 1] != 543); |
4108 |
+ |
|
4109 |
+ |
; |
4110 |
+ |
return 0; |
4111 |
+ |
} |
4112 |
+ |
_ACEOF |
4113 |
+ |
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
4114 |
+ |
do |
4115 |
+ |
CC="$ac_save_CC $ac_arg" |
4116 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
4117 |
+ |
ac_cv_prog_cc_c99=$ac_arg |
4118 |
+ |
fi |
4119 |
+ |
rm -f core conftest.err conftest.$ac_objext |
4120 |
+ |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
4121 |
+ |
done |
4122 |
+ |
rm -f conftest.$ac_ext |
4123 |
+ |
CC=$ac_save_CC |
4124 |
+ |
|
4125 |
+ |
fi |
4126 |
+ |
# AC_CACHE_VAL |
4127 |
+ |
case "x$ac_cv_prog_cc_c99" in |
4128 |
+ |
x) |
4129 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
4130 |
+ |
$as_echo "none needed" >&6; } ;; |
4131 |
+ |
xno) |
4132 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4133 |
+ |
$as_echo "unsupported" >&6; } ;; |
4134 |
+ |
*) |
4135 |
+ |
CC="$CC $ac_cv_prog_cc_c99" |
4136 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
4137 |
+ |
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
4138 |
+ |
esac |
4139 |
+ |
if test "x$ac_cv_prog_cc_c99" != xno; then : |
4140 |
+ |
|
4141 |
+ |
fi |
4142 |
+ |
|
4143 |
+ |
|
4144 |
+ |
if test "$ac_cv_prog_cc_c99" = "no"; then : |
4145 |
+ |
as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5 |
4146 |
+ |
fi |
4147 |
|
for ac_prog in 'bison -y' byacc |
4148 |
|
do |
4149 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4150 |
|
set dummy $ac_prog; ac_word=$2 |
4151 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4152 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
4153 |
< |
if test "${ac_cv_prog_YACC+set}" = set; then : |
4153 |
> |
if ${ac_cv_prog_YACC+:} false; then : |
4154 |
|
$as_echo_n "(cached) " >&6 |
4155 |
|
else |
4156 |
|
if test -n "$YACC"; then |
4194 |
|
set dummy $ac_prog; ac_word=$2 |
4195 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4196 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
4197 |
< |
if test "${ac_cv_prog_LEX+set}" = set; then : |
4197 |
> |
if ${ac_cv_prog_LEX+:} false; then : |
4198 |
|
$as_echo_n "(cached) " >&6 |
4199 |
|
else |
4200 |
|
if test -n "$LEX"; then |
4264 |
|
test $ac_status = 0; } |
4265 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
4266 |
|
$as_echo_n "checking lex output file root... " >&6; } |
4267 |
< |
if test "${ac_cv_prog_lex_root+set}" = set; then : |
4267 |
> |
if ${ac_cv_prog_lex_root+:} false; then : |
4268 |
|
$as_echo_n "(cached) " >&6 |
4269 |
|
else |
4270 |
|
|
4273 |
|
elif test -f lexyy.c; then |
4274 |
|
ac_cv_prog_lex_root=lexyy |
4275 |
|
else |
4276 |
< |
as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5 |
4276 |
> |
as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
4277 |
|
fi |
4278 |
|
fi |
4279 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
4283 |
|
if test -z "${LEXLIB+set}"; then |
4284 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
4285 |
|
$as_echo_n "checking lex library... " >&6; } |
4286 |
< |
if test "${ac_cv_lib_lex+set}" = set; then : |
4286 |
> |
if ${ac_cv_lib_lex+:} false; then : |
4287 |
|
$as_echo_n "(cached) " >&6 |
4288 |
|
else |
4289 |
|
|
4313 |
|
|
4314 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
4315 |
|
$as_echo_n "checking whether yytext is a pointer... " >&6; } |
4316 |
< |
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then : |
4316 |
> |
if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
4317 |
|
$as_echo_n "(cached) " >&6 |
4318 |
|
else |
4319 |
|
# POSIX says lex can declare yytext either as a pointer or an array; the |
4324 |
|
LIBS="$LEXLIB $ac_save_LIBS" |
4325 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4326 |
|
/* end confdefs.h. */ |
4327 |
< |
#define YYTEXT_POINTER 1 |
4327 |
> |
|
4328 |
> |
#define YYTEXT_POINTER 1 |
4329 |
|
`cat $LEX_OUTPUT_ROOT.c` |
4330 |
|
_ACEOF |
4331 |
|
if ac_fn_c_try_link "$LINENO"; then : |
4351 |
|
fi |
4352 |
|
|
4353 |
|
|
4354 |
+ |
# Initializing libtool. |
4355 |
+ |
|
4356 |
+ |
|
4357 |
+ |
|
4358 |
+ |
|
4359 |
+ |
|
4360 |
+ |
|
4361 |
|
|
4440 |
– |
#ltdl stuff |
4362 |
|
case `pwd` in |
4363 |
|
*\ * | *\ *) |
4364 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
4367 |
|
|
4368 |
|
|
4369 |
|
|
4370 |
< |
macro_version='2.2.6' |
4371 |
< |
macro_revision='1.3012' |
4370 |
> |
macro_version='2.4.2' |
4371 |
> |
macro_revision='1.3337' |
4372 |
|
|
4373 |
|
|
4374 |
|
|
4386 |
|
|
4387 |
|
# Make sure we can run config.sub. |
4388 |
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
4389 |
< |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
4389 |
> |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
4390 |
|
|
4391 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
4392 |
|
$as_echo_n "checking build system type... " >&6; } |
4393 |
< |
if test "${ac_cv_build+set}" = set; then : |
4393 |
> |
if ${ac_cv_build+:} false; then : |
4394 |
|
$as_echo_n "(cached) " >&6 |
4395 |
|
else |
4396 |
|
ac_build_alias=$build_alias |
4397 |
|
test "x$ac_build_alias" = x && |
4398 |
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
4399 |
|
test "x$ac_build_alias" = x && |
4400 |
< |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
4400 |
> |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
4401 |
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
4402 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
4402 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
4403 |
|
|
4404 |
|
fi |
4405 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
4406 |
|
$as_echo "$ac_cv_build" >&6; } |
4407 |
|
case $ac_cv_build in |
4408 |
|
*-*-*) ;; |
4409 |
< |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
4409 |
> |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
4410 |
|
esac |
4411 |
|
build=$ac_cv_build |
4412 |
|
ac_save_IFS=$IFS; IFS='-' |
4424 |
|
|
4425 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
4426 |
|
$as_echo_n "checking host system type... " >&6; } |
4427 |
< |
if test "${ac_cv_host+set}" = set; then : |
4427 |
> |
if ${ac_cv_host+:} false; then : |
4428 |
|
$as_echo_n "(cached) " >&6 |
4429 |
|
else |
4430 |
|
if test "x$host_alias" = x; then |
4431 |
|
ac_cv_host=$ac_cv_build |
4432 |
|
else |
4433 |
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
4434 |
< |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
4434 |
> |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
4435 |
|
fi |
4436 |
|
|
4437 |
|
fi |
4439 |
|
$as_echo "$ac_cv_host" >&6; } |
4440 |
|
case $ac_cv_host in |
4441 |
|
*-*-*) ;; |
4442 |
< |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
4442 |
> |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
4443 |
|
esac |
4444 |
|
host=$ac_cv_host |
4445 |
|
ac_save_IFS=$IFS; IFS='-' |
4455 |
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
4456 |
|
|
4457 |
|
|
4458 |
+ |
# Backslashify metacharacters that are still active within |
4459 |
+ |
# double-quoted strings. |
4460 |
+ |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
4461 |
+ |
|
4462 |
+ |
# Same as above, but do not quote variable references. |
4463 |
+ |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
4464 |
+ |
|
4465 |
+ |
# Sed substitution to delay expansion of an escaped shell variable in a |
4466 |
+ |
# double_quote_subst'ed string. |
4467 |
+ |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
4468 |
+ |
|
4469 |
+ |
# Sed substitution to delay expansion of an escaped single quote. |
4470 |
+ |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
4471 |
+ |
|
4472 |
+ |
# Sed substitution to avoid accidental globbing in evaled expressions |
4473 |
+ |
no_glob_subst='s/\*/\\\*/g' |
4474 |
+ |
|
4475 |
+ |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
4476 |
+ |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
4477 |
+ |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
4478 |
+ |
|
4479 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
4480 |
+ |
$as_echo_n "checking how to print strings... " >&6; } |
4481 |
+ |
# Test print first, because it will be a builtin if present. |
4482 |
+ |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
4483 |
+ |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
4484 |
+ |
ECHO='print -r --' |
4485 |
+ |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
4486 |
+ |
ECHO='printf %s\n' |
4487 |
+ |
else |
4488 |
+ |
# Use this function as a fallback that always works. |
4489 |
+ |
func_fallback_echo () |
4490 |
+ |
{ |
4491 |
+ |
eval 'cat <<_LTECHO_EOF |
4492 |
+ |
$1 |
4493 |
+ |
_LTECHO_EOF' |
4494 |
+ |
} |
4495 |
+ |
ECHO='func_fallback_echo' |
4496 |
+ |
fi |
4497 |
+ |
|
4498 |
+ |
# func_echo_all arg... |
4499 |
+ |
# Invoke $ECHO with all args, space-separated. |
4500 |
+ |
func_echo_all () |
4501 |
+ |
{ |
4502 |
+ |
$ECHO "" |
4503 |
+ |
} |
4504 |
+ |
|
4505 |
+ |
case "$ECHO" in |
4506 |
+ |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
4507 |
+ |
$as_echo "printf" >&6; } ;; |
4508 |
+ |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
4509 |
+ |
$as_echo "print -r" >&6; } ;; |
4510 |
+ |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
4511 |
+ |
$as_echo "cat" >&6; } ;; |
4512 |
+ |
esac |
4513 |
+ |
|
4514 |
+ |
|
4515 |
+ |
|
4516 |
+ |
|
4517 |
+ |
|
4518 |
+ |
|
4519 |
+ |
|
4520 |
+ |
|
4521 |
+ |
|
4522 |
+ |
|
4523 |
+ |
|
4524 |
+ |
|
4525 |
+ |
|
4526 |
+ |
|
4527 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
4528 |
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
4529 |
< |
if test "${ac_cv_path_SED+set}" = set; then : |
4529 |
> |
if ${ac_cv_path_SED+:} false; then : |
4530 |
|
$as_echo_n "(cached) " >&6 |
4531 |
|
else |
4532 |
|
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
4581 |
|
done |
4582 |
|
IFS=$as_save_IFS |
4583 |
|
if test -z "$ac_cv_path_SED"; then |
4584 |
< |
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
4584 |
> |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
4585 |
|
fi |
4586 |
|
else |
4587 |
|
ac_cv_path_SED=$SED |
4608 |
|
|
4609 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4610 |
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4611 |
< |
if test "${ac_cv_path_GREP+set}" = set; then : |
4611 |
> |
if ${ac_cv_path_GREP+:} false; then : |
4612 |
|
$as_echo_n "(cached) " >&6 |
4613 |
|
else |
4614 |
|
if test -z "$GREP"; then |
4657 |
|
done |
4658 |
|
IFS=$as_save_IFS |
4659 |
|
if test -z "$ac_cv_path_GREP"; then |
4660 |
< |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4660 |
> |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4661 |
|
fi |
4662 |
|
else |
4663 |
|
ac_cv_path_GREP=$GREP |
4671 |
|
|
4672 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4673 |
|
$as_echo_n "checking for egrep... " >&6; } |
4674 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then : |
4674 |
> |
if ${ac_cv_path_EGREP+:} false; then : |
4675 |
|
$as_echo_n "(cached) " >&6 |
4676 |
|
else |
4677 |
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4723 |
|
done |
4724 |
|
IFS=$as_save_IFS |
4725 |
|
if test -z "$ac_cv_path_EGREP"; then |
4726 |
< |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4726 |
> |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4727 |
|
fi |
4728 |
|
else |
4729 |
|
ac_cv_path_EGREP=$EGREP |
4738 |
|
|
4739 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
4740 |
|
$as_echo_n "checking for fgrep... " >&6; } |
4741 |
< |
if test "${ac_cv_path_FGREP+set}" = set; then : |
4741 |
> |
if ${ac_cv_path_FGREP+:} false; then : |
4742 |
|
$as_echo_n "(cached) " >&6 |
4743 |
|
else |
4744 |
|
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
4790 |
|
done |
4791 |
|
IFS=$as_save_IFS |
4792 |
|
if test -z "$ac_cv_path_FGREP"; then |
4793 |
< |
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4793 |
> |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4794 |
|
fi |
4795 |
|
else |
4796 |
|
ac_cv_path_FGREP=$FGREP |
4869 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4870 |
|
$as_echo_n "checking for non-GNU ld... " >&6; } |
4871 |
|
fi |
4872 |
< |
if test "${lt_cv_path_LD+set}" = set; then : |
4872 |
> |
if ${lt_cv_path_LD+:} false; then : |
4873 |
|
$as_echo_n "(cached) " >&6 |
4874 |
|
else |
4875 |
|
if test -z "$LD"; then |
4906 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4907 |
|
$as_echo "no" >&6; } |
4908 |
|
fi |
4909 |
< |
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 |
4909 |
> |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
4910 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4911 |
|
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
4912 |
< |
if test "${lt_cv_prog_gnu_ld+set}" = set; then : |
4912 |
> |
if ${lt_cv_prog_gnu_ld+:} false; then : |
4913 |
|
$as_echo_n "(cached) " >&6 |
4914 |
|
else |
4915 |
|
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
4936 |
|
|
4937 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
4938 |
|
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
4939 |
< |
if test "${lt_cv_path_NM+set}" = set; then : |
4939 |
> |
if ${lt_cv_path_NM+:} false; then : |
4940 |
|
$as_echo_n "(cached) " >&6 |
4941 |
|
else |
4942 |
|
if test -n "$NM"; then |
4989 |
|
NM="$lt_cv_path_NM" |
4990 |
|
else |
4991 |
|
# Didn't find any BSD compatible name lister, look for dumpbin. |
4992 |
< |
if test -n "$ac_tool_prefix"; then |
4993 |
< |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
4992 |
> |
if test -n "$DUMPBIN"; then : |
4993 |
> |
# Let the user override the test. |
4994 |
> |
else |
4995 |
> |
if test -n "$ac_tool_prefix"; then |
4996 |
> |
for ac_prog in dumpbin "link -dump" |
4997 |
|
do |
4998 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4999 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5000 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5001 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5002 |
< |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then : |
5002 |
> |
if ${ac_cv_prog_DUMPBIN+:} false; then : |
5003 |
|
$as_echo_n "(cached) " >&6 |
5004 |
|
else |
5005 |
|
if test -n "$DUMPBIN"; then |
5037 |
|
fi |
5038 |
|
if test -z "$DUMPBIN"; then |
5039 |
|
ac_ct_DUMPBIN=$DUMPBIN |
5040 |
< |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
5040 |
> |
for ac_prog in dumpbin "link -dump" |
5041 |
|
do |
5042 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
5043 |
|
set dummy $ac_prog; ac_word=$2 |
5044 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5045 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5046 |
< |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : |
5046 |
> |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
5047 |
|
$as_echo_n "(cached) " >&6 |
5048 |
|
else |
5049 |
|
if test -n "$ac_ct_DUMPBIN"; then |
5092 |
|
fi |
5093 |
|
fi |
5094 |
|
|
5095 |
+ |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
5096 |
+ |
*COFF*) |
5097 |
+ |
DUMPBIN="$DUMPBIN -symbols" |
5098 |
+ |
;; |
5099 |
+ |
*) |
5100 |
+ |
DUMPBIN=: |
5101 |
+ |
;; |
5102 |
+ |
esac |
5103 |
+ |
fi |
5104 |
|
|
5105 |
|
if test "$DUMPBIN" != ":"; then |
5106 |
|
NM="$DUMPBIN" |
5115 |
|
|
5116 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
5117 |
|
$as_echo_n "checking the name lister ($NM) interface... " >&6; } |
5118 |
< |
if test "${lt_cv_nm_interface+set}" = set; then : |
5118 |
> |
if ${lt_cv_nm_interface+:} false; then : |
5119 |
|
$as_echo_n "(cached) " >&6 |
5120 |
|
else |
5121 |
|
lt_cv_nm_interface="BSD nm" |
5122 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
5123 |
< |
(eval echo "\"\$as_me:5121: $ac_compile\"" >&5) |
5123 |
> |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
5124 |
|
(eval "$ac_compile" 2>conftest.err) |
5125 |
|
cat conftest.err >&5 |
5126 |
< |
(eval echo "\"\$as_me:5124: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5126 |
> |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
5127 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
5128 |
|
cat conftest.err >&5 |
5129 |
< |
(eval echo "\"\$as_me:5127: output\"" >&5) |
5129 |
> |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
5130 |
|
cat conftest.out >&5 |
5131 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
5132 |
|
lt_cv_nm_interface="MS dumpbin" |
5150 |
|
# find the maximum length of command line arguments |
5151 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
5152 |
|
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
5153 |
< |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then : |
5153 |
> |
if ${lt_cv_sys_max_cmd_len+:} false; then : |
5154 |
|
$as_echo_n "(cached) " >&6 |
5155 |
|
else |
5156 |
|
i=0 |
5183 |
|
lt_cv_sys_max_cmd_len=8192; |
5184 |
|
;; |
5185 |
|
|
5186 |
+ |
mint*) |
5187 |
+ |
# On MiNT this can take a long time and run out of memory. |
5188 |
+ |
lt_cv_sys_max_cmd_len=8192; |
5189 |
+ |
;; |
5190 |
+ |
|
5191 |
|
amigaos*) |
5192 |
|
# On AmigaOS with pdksh, this test takes hours, literally. |
5193 |
|
# So we just punt and use a minimum line length of 8192. |
5213 |
|
lt_cv_sys_max_cmd_len=196608 |
5214 |
|
;; |
5215 |
|
|
5216 |
+ |
os2*) |
5217 |
+ |
# The test takes a long time on OS/2. |
5218 |
+ |
lt_cv_sys_max_cmd_len=8192 |
5219 |
+ |
;; |
5220 |
+ |
|
5221 |
|
osf*) |
5222 |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
5223 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
5257 |
|
# If test is not a shell built-in, we'll probably end up computing a |
5258 |
|
# maximum length that is only half of the actual maximum length, but |
5259 |
|
# we can't tell. |
5260 |
< |
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
5261 |
< |
= "XX$teststring$teststring"; } >/dev/null 2>&1 && |
5260 |
> |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
5261 |
> |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
5262 |
|
test $i != 17 # 1/2 MB should be enough |
5263 |
|
do |
5264 |
|
i=`expr $i + 1` |
5300 |
|
# Try some XSI features |
5301 |
|
xsi_shell=no |
5302 |
|
( _lt_dummy="a/b/c" |
5303 |
< |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
5304 |
< |
= c,a/b,, \ |
5303 |
> |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
5304 |
> |
= c,a/b,b/c, \ |
5305 |
|
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
5306 |
|
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
5307 |
|
&& xsi_shell=yes |
5350 |
|
|
5351 |
|
|
5352 |
|
|
5353 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
5354 |
+ |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
5355 |
+ |
if ${lt_cv_to_host_file_cmd+:} false; then : |
5356 |
+ |
$as_echo_n "(cached) " >&6 |
5357 |
+ |
else |
5358 |
+ |
case $host in |
5359 |
+ |
*-*-mingw* ) |
5360 |
+ |
case $build in |
5361 |
+ |
*-*-mingw* ) # actually msys |
5362 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
5363 |
+ |
;; |
5364 |
+ |
*-*-cygwin* ) |
5365 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
5366 |
+ |
;; |
5367 |
+ |
* ) # otherwise, assume *nix |
5368 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
5369 |
+ |
;; |
5370 |
+ |
esac |
5371 |
+ |
;; |
5372 |
+ |
*-*-cygwin* ) |
5373 |
+ |
case $build in |
5374 |
+ |
*-*-mingw* ) # actually msys |
5375 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
5376 |
+ |
;; |
5377 |
+ |
*-*-cygwin* ) |
5378 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
5379 |
+ |
;; |
5380 |
+ |
* ) # otherwise, assume *nix |
5381 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
5382 |
+ |
;; |
5383 |
+ |
esac |
5384 |
+ |
;; |
5385 |
+ |
* ) # unhandled hosts (and "normal" native builds) |
5386 |
+ |
lt_cv_to_host_file_cmd=func_convert_file_noop |
5387 |
+ |
;; |
5388 |
+ |
esac |
5389 |
+ |
|
5390 |
+ |
fi |
5391 |
+ |
|
5392 |
+ |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
5393 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
5394 |
+ |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
5395 |
+ |
|
5396 |
+ |
|
5397 |
+ |
|
5398 |
+ |
|
5399 |
+ |
|
5400 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
5401 |
+ |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
5402 |
+ |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
5403 |
+ |
$as_echo_n "(cached) " >&6 |
5404 |
+ |
else |
5405 |
+ |
#assume ordinary cross tools, or native build. |
5406 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
5407 |
+ |
case $host in |
5408 |
+ |
*-*-mingw* ) |
5409 |
+ |
case $build in |
5410 |
+ |
*-*-mingw* ) # actually msys |
5411 |
+ |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
5412 |
+ |
;; |
5413 |
+ |
esac |
5414 |
+ |
;; |
5415 |
+ |
esac |
5416 |
+ |
|
5417 |
+ |
fi |
5418 |
+ |
|
5419 |
+ |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
5420 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
5421 |
+ |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
5422 |
+ |
|
5423 |
+ |
|
5424 |
+ |
|
5425 |
+ |
|
5426 |
+ |
|
5427 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
5428 |
|
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
5429 |
< |
if test "${lt_cv_ld_reload_flag+set}" = set; then : |
5429 |
> |
if ${lt_cv_ld_reload_flag+:} false; then : |
5430 |
|
$as_echo_n "(cached) " >&6 |
5431 |
|
else |
5432 |
|
lt_cv_ld_reload_flag='-r' |
5440 |
|
esac |
5441 |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
5442 |
|
case $host_os in |
5443 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
5444 |
+ |
if test "$GCC" != yes; then |
5445 |
+ |
reload_cmds=false |
5446 |
+ |
fi |
5447 |
+ |
;; |
5448 |
|
darwin*) |
5449 |
|
if test "$GCC" = yes; then |
5450 |
|
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
5467 |
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
5468 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5469 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5470 |
< |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then : |
5470 |
> |
if ${ac_cv_prog_OBJDUMP+:} false; then : |
5471 |
|
$as_echo_n "(cached) " >&6 |
5472 |
|
else |
5473 |
|
if test -n "$OBJDUMP"; then |
5507 |
|
set dummy objdump; ac_word=$2 |
5508 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5509 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5510 |
< |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : |
5510 |
> |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
5511 |
|
$as_echo_n "(cached) " >&6 |
5512 |
|
else |
5513 |
|
if test -n "$ac_ct_OBJDUMP"; then |
5566 |
|
|
5567 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
5568 |
|
$as_echo_n "checking how to recognize dependent libraries... " >&6; } |
5569 |
< |
if test "${lt_cv_deplibs_check_method+set}" = set; then : |
5569 |
> |
if ${lt_cv_deplibs_check_method+:} false; then : |
5570 |
|
$as_echo_n "(cached) " >&6 |
5571 |
|
else |
5572 |
|
lt_cv_file_magic_cmd='$MAGIC_CMD' |
5608 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
5609 |
|
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
5610 |
|
# unless we find 'file', for example because we are cross-compiling. |
5611 |
< |
if ( file / ) >/dev/null 2>&1; then |
5611 |
> |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
5612 |
> |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
5613 |
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
5614 |
|
lt_cv_file_magic_cmd='func_win32_libid' |
5615 |
|
else |
5616 |
< |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
5616 |
> |
# Keep this pattern in sync with the one in func_win32_libid. |
5617 |
> |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
5618 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5619 |
|
fi |
5620 |
|
;; |
5621 |
|
|
5622 |
< |
cegcc) |
5622 |
> |
cegcc*) |
5623 |
|
# use the weaker test based on 'objdump'. See mingw*. |
5624 |
|
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
5625 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
5649 |
|
lt_cv_deplibs_check_method=pass_all |
5650 |
|
;; |
5651 |
|
|
5652 |
+ |
haiku*) |
5653 |
+ |
lt_cv_deplibs_check_method=pass_all |
5654 |
+ |
;; |
5655 |
+ |
|
5656 |
|
hpux10.20* | hpux11*) |
5657 |
|
lt_cv_file_magic_cmd=/usr/bin/file |
5658 |
|
case $host_cpu in |
5661 |
|
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
5662 |
|
;; |
5663 |
|
hppa*64*) |
5664 |
< |
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]' |
5664 |
> |
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]' |
5665 |
|
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
5666 |
|
;; |
5667 |
|
*) |
5668 |
< |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
5668 |
> |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
5669 |
|
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
5670 |
|
;; |
5671 |
|
esac |
5686 |
|
lt_cv_deplibs_check_method=pass_all |
5687 |
|
;; |
5688 |
|
|
5689 |
< |
# This must be Linux ELF. |
5690 |
< |
linux* | k*bsd*-gnu) |
5689 |
> |
# This must be glibc/ELF. |
5690 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
5691 |
|
lt_cv_deplibs_check_method=pass_all |
5692 |
|
;; |
5693 |
|
|
5768 |
|
fi |
5769 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
5770 |
|
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
5771 |
+ |
|
5772 |
+ |
file_magic_glob= |
5773 |
+ |
want_nocaseglob=no |
5774 |
+ |
if test "$build" = "$host"; then |
5775 |
+ |
case $host_os in |
5776 |
+ |
mingw* | pw32*) |
5777 |
+ |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
5778 |
+ |
want_nocaseglob=yes |
5779 |
+ |
else |
5780 |
+ |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
5781 |
+ |
fi |
5782 |
+ |
;; |
5783 |
+ |
esac |
5784 |
+ |
fi |
5785 |
+ |
|
5786 |
|
file_magic_cmd=$lt_cv_file_magic_cmd |
5787 |
|
deplibs_check_method=$lt_cv_deplibs_check_method |
5788 |
|
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
5798 |
|
|
5799 |
|
|
5800 |
|
|
5801 |
+ |
|
5802 |
+ |
|
5803 |
+ |
|
5804 |
+ |
|
5805 |
+ |
|
5806 |
+ |
|
5807 |
+ |
|
5808 |
+ |
|
5809 |
+ |
|
5810 |
+ |
|
5811 |
+ |
if test -n "$ac_tool_prefix"; then |
5812 |
+ |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
5813 |
+ |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
5814 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5815 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
5816 |
+ |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
5817 |
+ |
$as_echo_n "(cached) " >&6 |
5818 |
+ |
else |
5819 |
+ |
if test -n "$DLLTOOL"; then |
5820 |
+ |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
5821 |
+ |
else |
5822 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5823 |
+ |
for as_dir in $PATH |
5824 |
+ |
do |
5825 |
+ |
IFS=$as_save_IFS |
5826 |
+ |
test -z "$as_dir" && as_dir=. |
5827 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
5828 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5829 |
+ |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
5830 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5831 |
+ |
break 2 |
5832 |
+ |
fi |
5833 |
+ |
done |
5834 |
+ |
done |
5835 |
+ |
IFS=$as_save_IFS |
5836 |
+ |
|
5837 |
+ |
fi |
5838 |
+ |
fi |
5839 |
+ |
DLLTOOL=$ac_cv_prog_DLLTOOL |
5840 |
+ |
if test -n "$DLLTOOL"; then |
5841 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
5842 |
+ |
$as_echo "$DLLTOOL" >&6; } |
5843 |
+ |
else |
5844 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5845 |
+ |
$as_echo "no" >&6; } |
5846 |
+ |
fi |
5847 |
+ |
|
5848 |
+ |
|
5849 |
+ |
fi |
5850 |
+ |
if test -z "$ac_cv_prog_DLLTOOL"; then |
5851 |
+ |
ac_ct_DLLTOOL=$DLLTOOL |
5852 |
+ |
# Extract the first word of "dlltool", so it can be a program name with args. |
5853 |
+ |
set dummy dlltool; ac_word=$2 |
5854 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5855 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
5856 |
+ |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
5857 |
+ |
$as_echo_n "(cached) " >&6 |
5858 |
+ |
else |
5859 |
+ |
if test -n "$ac_ct_DLLTOOL"; then |
5860 |
+ |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
5861 |
+ |
else |
5862 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5863 |
+ |
for as_dir in $PATH |
5864 |
+ |
do |
5865 |
+ |
IFS=$as_save_IFS |
5866 |
+ |
test -z "$as_dir" && as_dir=. |
5867 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
5868 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5869 |
+ |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
5870 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5871 |
+ |
break 2 |
5872 |
+ |
fi |
5873 |
+ |
done |
5874 |
+ |
done |
5875 |
+ |
IFS=$as_save_IFS |
5876 |
+ |
|
5877 |
+ |
fi |
5878 |
+ |
fi |
5879 |
+ |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
5880 |
+ |
if test -n "$ac_ct_DLLTOOL"; then |
5881 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
5882 |
+ |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
5883 |
+ |
else |
5884 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5885 |
+ |
$as_echo "no" >&6; } |
5886 |
+ |
fi |
5887 |
+ |
|
5888 |
+ |
if test "x$ac_ct_DLLTOOL" = x; then |
5889 |
+ |
DLLTOOL="false" |
5890 |
+ |
else |
5891 |
+ |
case $cross_compiling:$ac_tool_warned in |
5892 |
+ |
yes:) |
5893 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5894 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5895 |
+ |
ac_tool_warned=yes ;; |
5896 |
+ |
esac |
5897 |
+ |
DLLTOOL=$ac_ct_DLLTOOL |
5898 |
+ |
fi |
5899 |
+ |
else |
5900 |
+ |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
5901 |
+ |
fi |
5902 |
+ |
|
5903 |
+ |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
5904 |
+ |
|
5905 |
+ |
|
5906 |
+ |
|
5907 |
+ |
|
5908 |
+ |
|
5909 |
+ |
|
5910 |
+ |
|
5911 |
+ |
|
5912 |
+ |
|
5913 |
+ |
|
5914 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
5915 |
+ |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
5916 |
+ |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
5917 |
+ |
$as_echo_n "(cached) " >&6 |
5918 |
+ |
else |
5919 |
+ |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
5920 |
+ |
|
5921 |
+ |
case $host_os in |
5922 |
+ |
cygwin* | mingw* | pw32* | cegcc*) |
5923 |
+ |
# two different shell functions defined in ltmain.sh |
5924 |
+ |
# decide which to use based on capabilities of $DLLTOOL |
5925 |
+ |
case `$DLLTOOL --help 2>&1` in |
5926 |
+ |
*--identify-strict*) |
5927 |
+ |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
5928 |
+ |
;; |
5929 |
+ |
*) |
5930 |
+ |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
5931 |
+ |
;; |
5932 |
+ |
esac |
5933 |
+ |
;; |
5934 |
+ |
*) |
5935 |
+ |
# fallback: assume linklib IS sharedlib |
5936 |
+ |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
5937 |
+ |
;; |
5938 |
+ |
esac |
5939 |
+ |
|
5940 |
+ |
fi |
5941 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
5942 |
+ |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
5943 |
+ |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
5944 |
+ |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
5945 |
+ |
|
5946 |
+ |
|
5947 |
+ |
|
5948 |
+ |
|
5949 |
+ |
|
5950 |
+ |
|
5951 |
+ |
|
5952 |
|
if test -n "$ac_tool_prefix"; then |
5953 |
< |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
5954 |
< |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
5953 |
> |
for ac_prog in ar |
5954 |
> |
do |
5955 |
> |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5956 |
> |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5957 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5958 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
5959 |
< |
if test "${ac_cv_prog_AR+set}" = set; then : |
5959 |
> |
if ${ac_cv_prog_AR+:} false; then : |
5960 |
|
$as_echo_n "(cached) " >&6 |
5961 |
|
else |
5962 |
|
if test -n "$AR"; then |
5969 |
|
test -z "$as_dir" && as_dir=. |
5970 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
5971 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5972 |
< |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
5972 |
> |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
5973 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5974 |
|
break 2 |
5975 |
|
fi |
5989 |
|
fi |
5990 |
|
|
5991 |
|
|
5992 |
+ |
test -n "$AR" && break |
5993 |
+ |
done |
5994 |
|
fi |
5995 |
< |
if test -z "$ac_cv_prog_AR"; then |
5995 |
> |
if test -z "$AR"; then |
5996 |
|
ac_ct_AR=$AR |
5997 |
< |
# Extract the first word of "ar", so it can be a program name with args. |
5998 |
< |
set dummy ar; ac_word=$2 |
5997 |
> |
for ac_prog in ar |
5998 |
> |
do |
5999 |
> |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
6000 |
> |
set dummy $ac_prog; ac_word=$2 |
6001 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6002 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6003 |
< |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : |
6003 |
> |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
6004 |
|
$as_echo_n "(cached) " >&6 |
6005 |
|
else |
6006 |
|
if test -n "$ac_ct_AR"; then |
6013 |
|
test -z "$as_dir" && as_dir=. |
6014 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
6015 |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6016 |
< |
ac_cv_prog_ac_ct_AR="ar" |
6016 |
> |
ac_cv_prog_ac_ct_AR="$ac_prog" |
6017 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6018 |
|
break 2 |
6019 |
|
fi |
6032 |
|
$as_echo "no" >&6; } |
6033 |
|
fi |
6034 |
|
|
6035 |
+ |
|
6036 |
+ |
test -n "$ac_ct_AR" && break |
6037 |
+ |
done |
6038 |
+ |
|
6039 |
|
if test "x$ac_ct_AR" = x; then |
6040 |
|
AR="false" |
6041 |
|
else |
6047 |
|
esac |
6048 |
|
AR=$ac_ct_AR |
6049 |
|
fi |
5777 |
– |
else |
5778 |
– |
AR="$ac_cv_prog_AR" |
6050 |
|
fi |
6051 |
|
|
6052 |
< |
test -z "$AR" && AR=ar |
6053 |
< |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
6052 |
> |
: ${AR=ar} |
6053 |
> |
: ${AR_FLAGS=cru} |
6054 |
> |
|
6055 |
|
|
6056 |
|
|
6057 |
|
|
6062 |
|
|
6063 |
|
|
6064 |
|
|
6065 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
6066 |
+ |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
6067 |
+ |
if ${lt_cv_ar_at_file+:} false; then : |
6068 |
+ |
$as_echo_n "(cached) " >&6 |
6069 |
+ |
else |
6070 |
+ |
lt_cv_ar_at_file=no |
6071 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6072 |
+ |
/* end confdefs.h. */ |
6073 |
+ |
|
6074 |
+ |
int |
6075 |
+ |
main () |
6076 |
+ |
{ |
6077 |
+ |
|
6078 |
+ |
; |
6079 |
+ |
return 0; |
6080 |
+ |
} |
6081 |
+ |
_ACEOF |
6082 |
+ |
if ac_fn_c_try_compile "$LINENO"; then : |
6083 |
+ |
echo conftest.$ac_objext > conftest.lst |
6084 |
+ |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
6085 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6086 |
+ |
(eval $lt_ar_try) 2>&5 |
6087 |
+ |
ac_status=$? |
6088 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6089 |
+ |
test $ac_status = 0; } |
6090 |
+ |
if test "$ac_status" -eq 0; then |
6091 |
+ |
# Ensure the archiver fails upon bogus file names. |
6092 |
+ |
rm -f conftest.$ac_objext libconftest.a |
6093 |
+ |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
6094 |
+ |
(eval $lt_ar_try) 2>&5 |
6095 |
+ |
ac_status=$? |
6096 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6097 |
+ |
test $ac_status = 0; } |
6098 |
+ |
if test "$ac_status" -ne 0; then |
6099 |
+ |
lt_cv_ar_at_file=@ |
6100 |
+ |
fi |
6101 |
+ |
fi |
6102 |
+ |
rm -f conftest.* libconftest.a |
6103 |
+ |
|
6104 |
+ |
fi |
6105 |
+ |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6106 |
+ |
|
6107 |
+ |
fi |
6108 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
6109 |
+ |
$as_echo "$lt_cv_ar_at_file" >&6; } |
6110 |
+ |
|
6111 |
+ |
if test "x$lt_cv_ar_at_file" = xno; then |
6112 |
+ |
archiver_list_spec= |
6113 |
+ |
else |
6114 |
+ |
archiver_list_spec=$lt_cv_ar_at_file |
6115 |
+ |
fi |
6116 |
+ |
|
6117 |
+ |
|
6118 |
+ |
|
6119 |
+ |
|
6120 |
+ |
|
6121 |
+ |
|
6122 |
|
|
6123 |
|
if test -n "$ac_tool_prefix"; then |
6124 |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
6125 |
|
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
6126 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6127 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6128 |
< |
if test "${ac_cv_prog_STRIP+set}" = set; then : |
6128 |
> |
if ${ac_cv_prog_STRIP+:} false; then : |
6129 |
|
$as_echo_n "(cached) " >&6 |
6130 |
|
else |
6131 |
|
if test -n "$STRIP"; then |
6165 |
|
set dummy strip; ac_word=$2 |
6166 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6167 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6168 |
< |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
6168 |
> |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
6169 |
|
$as_echo_n "(cached) " >&6 |
6170 |
|
else |
6171 |
|
if test -n "$ac_ct_STRIP"; then |
6224 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6225 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6226 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6227 |
< |
if test "${ac_cv_prog_RANLIB+set}" = set; then : |
6227 |
> |
if ${ac_cv_prog_RANLIB+:} false; then : |
6228 |
|
$as_echo_n "(cached) " >&6 |
6229 |
|
else |
6230 |
|
if test -n "$RANLIB"; then |
6264 |
|
set dummy ranlib; ac_word=$2 |
6265 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6266 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
6267 |
< |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : |
6267 |
> |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
6268 |
|
$as_echo_n "(cached) " >&6 |
6269 |
|
else |
6270 |
|
if test -n "$ac_ct_RANLIB"; then |
6326 |
|
if test -n "$RANLIB"; then |
6327 |
|
case $host_os in |
6328 |
|
openbsd*) |
6329 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
6329 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
6330 |
|
;; |
6331 |
|
*) |
6332 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
6332 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
6333 |
|
;; |
6334 |
|
esac |
6335 |
< |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
6335 |
> |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
6336 |
|
fi |
6337 |
|
|
6338 |
+ |
case $host_os in |
6339 |
+ |
darwin*) |
6340 |
+ |
lock_old_archive_extraction=yes ;; |
6341 |
+ |
*) |
6342 |
+ |
lock_old_archive_extraction=no ;; |
6343 |
+ |
esac |
6344 |
+ |
|
6345 |
+ |
|
6346 |
+ |
|
6347 |
+ |
|
6348 |
+ |
|
6349 |
+ |
|
6350 |
|
|
6351 |
|
|
6352 |
|
|
6393 |
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
6394 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
6395 |
|
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
6396 |
< |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : |
6396 |
> |
if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
6397 |
|
$as_echo_n "(cached) " >&6 |
6398 |
|
else |
6399 |
|
|
6454 |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
6455 |
|
|
6456 |
|
# Transform an extracted symbol line into symbol name and symbol address |
6457 |
< |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
6458 |
< |
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'" |
6457 |
> |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
6458 |
> |
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'" |
6459 |
|
|
6460 |
|
# Handle CRLF in mingw tool chain |
6461 |
|
opt_cr= |
6479 |
|
# which start with @ or ?. |
6480 |
|
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
6481 |
|
" {last_section=section; section=\$ 3};"\ |
6482 |
+ |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
6483 |
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
6484 |
|
" \$ 0!~/External *\|/{next};"\ |
6485 |
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
6492 |
|
else |
6493 |
|
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
6494 |
|
fi |
6495 |
+ |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
6496 |
|
|
6497 |
|
# Check to see that the pipe works correctly. |
6498 |
|
pipe_works=no |
6518 |
|
test $ac_status = 0; }; then |
6519 |
|
# Now try to grab the symbols. |
6520 |
|
nlist=conftest.nm |
6521 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 |
6522 |
< |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
6521 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
6522 |
> |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
6523 |
|
ac_status=$? |
6524 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6525 |
|
test $ac_status = 0; } && test -s "$nlist"; then |
6534 |
|
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
6535 |
|
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
6536 |
|
cat <<_LT_EOF > conftest.$ac_ext |
6537 |
+ |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
6538 |
+ |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
6539 |
+ |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
6540 |
+ |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
6541 |
+ |
# define LT_DLSYM_CONST |
6542 |
+ |
#elif defined(__osf__) |
6543 |
+ |
/* This system does not cope well with relocations in const data. */ |
6544 |
+ |
# define LT_DLSYM_CONST |
6545 |
+ |
#else |
6546 |
+ |
# define LT_DLSYM_CONST const |
6547 |
+ |
#endif |
6548 |
+ |
|
6549 |
|
#ifdef __cplusplus |
6550 |
|
extern "C" { |
6551 |
|
#endif |
6557 |
|
cat <<_LT_EOF >> conftest.$ac_ext |
6558 |
|
|
6559 |
|
/* The mapping between symbol names and symbols. */ |
6560 |
< |
const struct { |
6560 |
> |
LT_DLSYM_CONST struct { |
6561 |
|
const char *name; |
6562 |
|
void *address; |
6563 |
|
} |
6583 |
|
_LT_EOF |
6584 |
|
# Now try linking the two files. |
6585 |
|
mv conftest.$ac_objext conftstm.$ac_objext |
6586 |
< |
lt_save_LIBS="$LIBS" |
6587 |
< |
lt_save_CFLAGS="$CFLAGS" |
6586 |
> |
lt_globsym_save_LIBS=$LIBS |
6587 |
> |
lt_globsym_save_CFLAGS=$CFLAGS |
6588 |
|
LIBS="conftstm.$ac_objext" |
6589 |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
6590 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
6594 |
|
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
6595 |
|
pipe_works=yes |
6596 |
|
fi |
6597 |
< |
LIBS="$lt_save_LIBS" |
6598 |
< |
CFLAGS="$lt_save_CFLAGS" |
6597 |
> |
LIBS=$lt_globsym_save_LIBS |
6598 |
> |
CFLAGS=$lt_globsym_save_CFLAGS |
6599 |
|
else |
6600 |
|
echo "cannot find nm_test_func in $nlist" >&5 |
6601 |
|
fi |
6632 |
|
$as_echo "ok" >&6; } |
6633 |
|
fi |
6634 |
|
|
6635 |
+ |
# Response file support. |
6636 |
+ |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
6637 |
+ |
nm_file_list_spec='@' |
6638 |
+ |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
6639 |
+ |
nm_file_list_spec='@' |
6640 |
+ |
fi |
6641 |
+ |
|
6642 |
+ |
|
6643 |
+ |
|
6644 |
+ |
|
6645 |
+ |
|
6646 |
+ |
|
6647 |
+ |
|
6648 |
+ |
|
6649 |
|
|
6650 |
|
|
6651 |
|
|
6665 |
|
|
6666 |
|
|
6667 |
|
|
6668 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
6669 |
+ |
$as_echo_n "checking for sysroot... " >&6; } |
6670 |
+ |
|
6671 |
+ |
# Check whether --with-sysroot was given. |
6672 |
+ |
if test "${with_sysroot+set}" = set; then : |
6673 |
+ |
withval=$with_sysroot; |
6674 |
+ |
else |
6675 |
+ |
with_sysroot=no |
6676 |
+ |
fi |
6677 |
+ |
|
6678 |
+ |
|
6679 |
+ |
lt_sysroot= |
6680 |
+ |
case ${with_sysroot} in #( |
6681 |
+ |
yes) |
6682 |
+ |
if test "$GCC" = yes; then |
6683 |
+ |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
6684 |
+ |
fi |
6685 |
+ |
;; #( |
6686 |
+ |
/*) |
6687 |
+ |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
6688 |
+ |
;; #( |
6689 |
+ |
no|'') |
6690 |
+ |
;; #( |
6691 |
+ |
*) |
6692 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
6693 |
+ |
$as_echo "${with_sysroot}" >&6; } |
6694 |
+ |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
6695 |
+ |
;; |
6696 |
+ |
esac |
6697 |
+ |
|
6698 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
6699 |
+ |
$as_echo "${lt_sysroot:-no}" >&6; } |
6700 |
+ |
|
6701 |
+ |
|
6702 |
+ |
|
6703 |
|
|
6704 |
|
|
6705 |
|
# Check whether --enable-libtool-lock was given. |
6733 |
|
;; |
6734 |
|
*-*-irix6*) |
6735 |
|
# Find out which ABI we are using. |
6736 |
< |
echo '#line 6332 "configure"' > conftest.$ac_ext |
6736 |
> |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
6737 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6738 |
|
(eval $ac_compile) 2>&5 |
6739 |
|
ac_status=$? |
6827 |
|
CFLAGS="$CFLAGS -belf" |
6828 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
6829 |
|
$as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
6830 |
< |
if test "${lt_cv_cc_needs_belf+set}" = set; then : |
6830 |
> |
if ${lt_cv_cc_needs_belf+:} false; then : |
6831 |
|
$as_echo_n "(cached) " >&6 |
6832 |
|
else |
6833 |
|
ac_ext=c |
6868 |
|
CFLAGS="$SAVE_CFLAGS" |
6869 |
|
fi |
6870 |
|
;; |
6871 |
< |
sparc*-*solaris*) |
6871 |
> |
*-*solaris*) |
6872 |
|
# Find out which ABI we are using. |
6873 |
|
echo 'int i;' > conftest.$ac_ext |
6874 |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6879 |
|
case `/usr/bin/file conftest.o` in |
6880 |
|
*64-bit*) |
6881 |
|
case $lt_cv_prog_gnu_ld in |
6882 |
< |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
6882 |
> |
yes*) |
6883 |
> |
case $host in |
6884 |
> |
i?86-*-solaris*) |
6885 |
> |
LD="${LD-ld} -m elf_x86_64" |
6886 |
> |
;; |
6887 |
> |
sparc*-*-solaris*) |
6888 |
> |
LD="${LD-ld} -m elf64_sparc" |
6889 |
> |
;; |
6890 |
> |
esac |
6891 |
> |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
6892 |
> |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
6893 |
> |
LD="${LD-ld}_sol2" |
6894 |
> |
fi |
6895 |
> |
;; |
6896 |
|
*) |
6897 |
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
6898 |
|
LD="${LD-ld} -64" |
6908 |
|
|
6909 |
|
need_locks="$enable_libtool_lock" |
6910 |
|
|
6911 |
+ |
if test -n "$ac_tool_prefix"; then |
6912 |
+ |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
6913 |
+ |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
6914 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6915 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
6916 |
+ |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
6917 |
+ |
$as_echo_n "(cached) " >&6 |
6918 |
+ |
else |
6919 |
+ |
if test -n "$MANIFEST_TOOL"; then |
6920 |
+ |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
6921 |
+ |
else |
6922 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6923 |
+ |
for as_dir in $PATH |
6924 |
+ |
do |
6925 |
+ |
IFS=$as_save_IFS |
6926 |
+ |
test -z "$as_dir" && as_dir=. |
6927 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
6928 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6929 |
+ |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
6930 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6931 |
+ |
break 2 |
6932 |
+ |
fi |
6933 |
+ |
done |
6934 |
+ |
done |
6935 |
+ |
IFS=$as_save_IFS |
6936 |
+ |
|
6937 |
+ |
fi |
6938 |
+ |
fi |
6939 |
+ |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
6940 |
+ |
if test -n "$MANIFEST_TOOL"; then |
6941 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
6942 |
+ |
$as_echo "$MANIFEST_TOOL" >&6; } |
6943 |
+ |
else |
6944 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6945 |
+ |
$as_echo "no" >&6; } |
6946 |
+ |
fi |
6947 |
+ |
|
6948 |
+ |
|
6949 |
+ |
fi |
6950 |
+ |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
6951 |
+ |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
6952 |
+ |
# Extract the first word of "mt", so it can be a program name with args. |
6953 |
+ |
set dummy mt; ac_word=$2 |
6954 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6955 |
+ |
$as_echo_n "checking for $ac_word... " >&6; } |
6956 |
+ |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
6957 |
+ |
$as_echo_n "(cached) " >&6 |
6958 |
+ |
else |
6959 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
6960 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
6961 |
+ |
else |
6962 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6963 |
+ |
for as_dir in $PATH |
6964 |
+ |
do |
6965 |
+ |
IFS=$as_save_IFS |
6966 |
+ |
test -z "$as_dir" && as_dir=. |
6967 |
+ |
for ac_exec_ext in '' $ac_executable_extensions; do |
6968 |
+ |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6969 |
+ |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
6970 |
+ |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6971 |
+ |
break 2 |
6972 |
+ |
fi |
6973 |
+ |
done |
6974 |
+ |
done |
6975 |
+ |
IFS=$as_save_IFS |
6976 |
+ |
|
6977 |
+ |
fi |
6978 |
+ |
fi |
6979 |
+ |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
6980 |
+ |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
6981 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
6982 |
+ |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
6983 |
+ |
else |
6984 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6985 |
+ |
$as_echo "no" >&6; } |
6986 |
+ |
fi |
6987 |
+ |
|
6988 |
+ |
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
6989 |
+ |
MANIFEST_TOOL=":" |
6990 |
+ |
else |
6991 |
+ |
case $cross_compiling:$ac_tool_warned in |
6992 |
+ |
yes:) |
6993 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6994 |
+ |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6995 |
+ |
ac_tool_warned=yes ;; |
6996 |
+ |
esac |
6997 |
+ |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
6998 |
+ |
fi |
6999 |
+ |
else |
7000 |
+ |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
7001 |
+ |
fi |
7002 |
+ |
|
7003 |
+ |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
7004 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
7005 |
+ |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
7006 |
+ |
if ${lt_cv_path_mainfest_tool+:} false; then : |
7007 |
+ |
$as_echo_n "(cached) " >&6 |
7008 |
+ |
else |
7009 |
+ |
lt_cv_path_mainfest_tool=no |
7010 |
+ |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
7011 |
+ |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
7012 |
+ |
cat conftest.err >&5 |
7013 |
+ |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
7014 |
+ |
lt_cv_path_mainfest_tool=yes |
7015 |
+ |
fi |
7016 |
+ |
rm -f conftest* |
7017 |
+ |
fi |
7018 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
7019 |
+ |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
7020 |
+ |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
7021 |
+ |
MANIFEST_TOOL=: |
7022 |
+ |
fi |
7023 |
+ |
|
7024 |
+ |
|
7025 |
+ |
|
7026 |
+ |
|
7027 |
+ |
|
7028 |
|
|
7029 |
|
case $host_os in |
7030 |
|
rhapsody* | darwin*) |
7033 |
|
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
7034 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7035 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7036 |
< |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : |
7036 |
> |
if ${ac_cv_prog_DSYMUTIL+:} false; then : |
7037 |
|
$as_echo_n "(cached) " >&6 |
7038 |
|
else |
7039 |
|
if test -n "$DSYMUTIL"; then |
7073 |
|
set dummy dsymutil; ac_word=$2 |
7074 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7075 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7076 |
< |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : |
7076 |
> |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
7077 |
|
$as_echo_n "(cached) " >&6 |
7078 |
|
else |
7079 |
|
if test -n "$ac_ct_DSYMUTIL"; then |
7125 |
|
set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
7126 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7127 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7128 |
< |
if test "${ac_cv_prog_NMEDIT+set}" = set; then : |
7128 |
> |
if ${ac_cv_prog_NMEDIT+:} false; then : |
7129 |
|
$as_echo_n "(cached) " >&6 |
7130 |
|
else |
7131 |
|
if test -n "$NMEDIT"; then |
7165 |
|
set dummy nmedit; ac_word=$2 |
7166 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7167 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7168 |
< |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : |
7168 |
> |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
7169 |
|
$as_echo_n "(cached) " >&6 |
7170 |
|
else |
7171 |
|
if test -n "$ac_ct_NMEDIT"; then |
7217 |
|
set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
7218 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7219 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7220 |
< |
if test "${ac_cv_prog_LIPO+set}" = set; then : |
7220 |
> |
if ${ac_cv_prog_LIPO+:} false; then : |
7221 |
|
$as_echo_n "(cached) " >&6 |
7222 |
|
else |
7223 |
|
if test -n "$LIPO"; then |
7257 |
|
set dummy lipo; ac_word=$2 |
7258 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7259 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7260 |
< |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : |
7260 |
> |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
7261 |
|
$as_echo_n "(cached) " >&6 |
7262 |
|
else |
7263 |
|
if test -n "$ac_ct_LIPO"; then |
7309 |
|
set dummy ${ac_tool_prefix}otool; ac_word=$2 |
7310 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7311 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7312 |
< |
if test "${ac_cv_prog_OTOOL+set}" = set; then : |
7312 |
> |
if ${ac_cv_prog_OTOOL+:} false; then : |
7313 |
|
$as_echo_n "(cached) " >&6 |
7314 |
|
else |
7315 |
|
if test -n "$OTOOL"; then |
7349 |
|
set dummy otool; ac_word=$2 |
7350 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7351 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7352 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : |
7352 |
> |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
7353 |
|
$as_echo_n "(cached) " >&6 |
7354 |
|
else |
7355 |
|
if test -n "$ac_ct_OTOOL"; then |
7401 |
|
set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
7402 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7403 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7404 |
< |
if test "${ac_cv_prog_OTOOL64+set}" = set; then : |
7404 |
> |
if ${ac_cv_prog_OTOOL64+:} false; then : |
7405 |
|
$as_echo_n "(cached) " >&6 |
7406 |
|
else |
7407 |
|
if test -n "$OTOOL64"; then |
7441 |
|
set dummy otool64; ac_word=$2 |
7442 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7443 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
7444 |
< |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : |
7444 |
> |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
7445 |
|
$as_echo_n "(cached) " >&6 |
7446 |
|
else |
7447 |
|
if test -n "$ac_ct_OTOOL64"; then |
7516 |
|
|
7517 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
7518 |
|
$as_echo_n "checking for -single_module linker flag... " >&6; } |
7519 |
< |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then : |
7519 |
> |
if ${lt_cv_apple_cc_single_mod+:} false; then : |
7520 |
|
$as_echo_n "(cached) " >&6 |
7521 |
|
else |
7522 |
|
lt_cv_apple_cc_single_mod=no |
7532 |
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
7533 |
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
7534 |
|
_lt_result=$? |
7535 |
< |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
7535 |
> |
# If there is a non-empty error log, and "single_module" |
7536 |
> |
# appears in it, assume the flag caused a linker warning |
7537 |
> |
if test -s conftest.err && $GREP single_module conftest.err; then |
7538 |
> |
cat conftest.err >&5 |
7539 |
> |
# Otherwise, if the output was created with a 0 exit code from |
7540 |
> |
# the compiler, it worked. |
7541 |
> |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
7542 |
|
lt_cv_apple_cc_single_mod=yes |
7543 |
|
else |
7544 |
|
cat conftest.err >&5 |
7549 |
|
fi |
7550 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
7551 |
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
7552 |
+ |
|
7553 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
7554 |
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
7555 |
< |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : |
7555 |
> |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
7556 |
|
$as_echo_n "(cached) " >&6 |
7557 |
|
else |
7558 |
|
lt_cv_ld_exported_symbols_list=no |
7582 |
|
fi |
7583 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
7584 |
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
7585 |
+ |
|
7586 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
7587 |
+ |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
7588 |
+ |
if ${lt_cv_ld_force_load+:} false; then : |
7589 |
+ |
$as_echo_n "(cached) " >&6 |
7590 |
+ |
else |
7591 |
+ |
lt_cv_ld_force_load=no |
7592 |
+ |
cat > conftest.c << _LT_EOF |
7593 |
+ |
int forced_loaded() { return 2;} |
7594 |
+ |
_LT_EOF |
7595 |
+ |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
7596 |
+ |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
7597 |
+ |
echo "$AR cru libconftest.a conftest.o" >&5 |
7598 |
+ |
$AR cru libconftest.a conftest.o 2>&5 |
7599 |
+ |
echo "$RANLIB libconftest.a" >&5 |
7600 |
+ |
$RANLIB libconftest.a 2>&5 |
7601 |
+ |
cat > conftest.c << _LT_EOF |
7602 |
+ |
int main() { return 0;} |
7603 |
+ |
_LT_EOF |
7604 |
+ |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
7605 |
+ |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
7606 |
+ |
_lt_result=$? |
7607 |
+ |
if test -s conftest.err && $GREP force_load conftest.err; then |
7608 |
+ |
cat conftest.err >&5 |
7609 |
+ |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
7610 |
+ |
lt_cv_ld_force_load=yes |
7611 |
+ |
else |
7612 |
+ |
cat conftest.err >&5 |
7613 |
+ |
fi |
7614 |
+ |
rm -f conftest.err libconftest.a conftest conftest.c |
7615 |
+ |
rm -rf conftest.dSYM |
7616 |
+ |
|
7617 |
+ |
fi |
7618 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
7619 |
+ |
$as_echo "$lt_cv_ld_force_load" >&6; } |
7620 |
|
case $host_os in |
7621 |
|
rhapsody* | darwin1.[012]) |
7622 |
|
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
7644 |
|
else |
7645 |
|
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
7646 |
|
fi |
7647 |
< |
if test "$DSYMUTIL" != ":"; then |
7647 |
> |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
7648 |
|
_lt_dsymutil='~$DSYMUTIL $lib || :' |
7649 |
|
else |
7650 |
|
_lt_dsymutil= |
7664 |
|
CPP= |
7665 |
|
fi |
7666 |
|
if test -z "$CPP"; then |
7667 |
< |
if test "${ac_cv_prog_CPP+set}" = set; then : |
7667 |
> |
if ${ac_cv_prog_CPP+:} false; then : |
7668 |
|
$as_echo_n "(cached) " >&6 |
7669 |
|
else |
7670 |
|
# Double quotes because CPP needs to be expanded |
7694 |
|
# Broken: fails on valid input. |
7695 |
|
continue |
7696 |
|
fi |
7697 |
< |
rm -f conftest.err conftest.$ac_ext |
7697 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7698 |
|
|
7699 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
7700 |
|
# can be detected and how. |
7710 |
|
ac_preproc_ok=: |
7711 |
|
break |
7712 |
|
fi |
7713 |
< |
rm -f conftest.err conftest.$ac_ext |
7713 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7714 |
|
|
7715 |
|
done |
7716 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7717 |
< |
rm -f conftest.err conftest.$ac_ext |
7717 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
7718 |
|
if $ac_preproc_ok; then : |
7719 |
|
break |
7720 |
|
fi |
7753 |
|
# Broken: fails on valid input. |
7754 |
|
continue |
7755 |
|
fi |
7756 |
< |
rm -f conftest.err conftest.$ac_ext |
7756 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7757 |
|
|
7758 |
|
# OK, works on sane cases. Now check whether nonexistent headers |
7759 |
|
# can be detected and how. |
7769 |
|
ac_preproc_ok=: |
7770 |
|
break |
7771 |
|
fi |
7772 |
< |
rm -f conftest.err conftest.$ac_ext |
7772 |
> |
rm -f conftest.err conftest.i conftest.$ac_ext |
7773 |
|
|
7774 |
|
done |
7775 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
7776 |
< |
rm -f conftest.err conftest.$ac_ext |
7776 |
> |
rm -f conftest.i conftest.err conftest.$ac_ext |
7777 |
|
if $ac_preproc_ok; then : |
7778 |
|
|
7779 |
|
else |
7780 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
7781 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
7782 |
< |
as_fn_error "C preprocessor \"$CPP\" fails sanity check |
7783 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
7782 |
> |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
7783 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
7784 |
|
fi |
7785 |
|
|
7786 |
|
ac_ext=c |
7792 |
|
|
7793 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
7794 |
|
$as_echo_n "checking for ANSI C header files... " >&6; } |
7795 |
< |
if test "${ac_cv_header_stdc+set}" = set; then : |
7795 |
> |
if ${ac_cv_header_stdc+:} false; then : |
7796 |
|
$as_echo_n "(cached) " >&6 |
7797 |
|
else |
7798 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7909 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7910 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7911 |
|
" |
7912 |
< |
eval as_val=\$$as_ac_Header |
7337 |
< |
if test "x$as_val" = x""yes; then : |
7912 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7913 |
|
cat >>confdefs.h <<_ACEOF |
7914 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7915 |
|
_ACEOF |
7923 |
|
do : |
7924 |
|
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
7925 |
|
" |
7926 |
< |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then : |
7926 |
> |
if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
7927 |
|
cat >>confdefs.h <<_ACEOF |
7928 |
|
#define HAVE_DLFCN_H 1 |
7929 |
|
_ACEOF |
7934 |
|
|
7935 |
|
|
7936 |
|
|
7937 |
+ |
|
7938 |
+ |
|
7939 |
|
# Set options |
7940 |
|
enable_dlopen=yes |
7941 |
|
# Check whether --enable-static was given. |
8009 |
|
|
8010 |
|
# Check whether --with-pic was given. |
8011 |
|
if test "${with_pic+set}" = set; then : |
8012 |
< |
withval=$with_pic; pic_mode="$withval" |
8012 |
> |
withval=$with_pic; lt_p=${PACKAGE-default} |
8013 |
> |
case $withval in |
8014 |
> |
yes|no) pic_mode=$withval ;; |
8015 |
> |
*) |
8016 |
> |
pic_mode=default |
8017 |
> |
# Look at the argument we got. We use all the common list separators. |
8018 |
> |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
8019 |
> |
for lt_pkg in $withval; do |
8020 |
> |
IFS="$lt_save_ifs" |
8021 |
> |
if test "X$lt_pkg" = "X$lt_p"; then |
8022 |
> |
pic_mode=yes |
8023 |
> |
fi |
8024 |
> |
done |
8025 |
> |
IFS="$lt_save_ifs" |
8026 |
> |
;; |
8027 |
> |
esac |
8028 |
|
else |
8029 |
|
pic_mode=default |
8030 |
|
fi |
8101 |
|
|
8102 |
|
|
8103 |
|
|
8104 |
+ |
|
8105 |
+ |
|
8106 |
+ |
|
8107 |
+ |
|
8108 |
+ |
|
8109 |
|
test -z "$LN_S" && LN_S="ln -s" |
8110 |
|
|
8111 |
|
|
8127 |
|
|
8128 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
8129 |
|
$as_echo_n "checking for objdir... " >&6; } |
8130 |
< |
if test "${lt_cv_objdir+set}" = set; then : |
8130 |
> |
if ${lt_cv_objdir+:} false; then : |
8131 |
|
$as_echo_n "(cached) " >&6 |
8132 |
|
else |
8133 |
|
rm -f .libs 2>/dev/null |
8155 |
|
|
8156 |
|
|
8157 |
|
|
7561 |
– |
|
7562 |
– |
|
7563 |
– |
|
7564 |
– |
|
7565 |
– |
|
7566 |
– |
|
7567 |
– |
|
7568 |
– |
|
7569 |
– |
|
7570 |
– |
|
7571 |
– |
|
7572 |
– |
|
7573 |
– |
|
8158 |
|
case $host_os in |
8159 |
|
aix3*) |
8160 |
|
# AIX sometimes has problems with the GCC collect2 program. For some |
8167 |
|
;; |
8168 |
|
esac |
8169 |
|
|
7586 |
– |
# Sed substitution that helps us do robust quoting. It backslashifies |
7587 |
– |
# metacharacters that are still active within double-quoted strings. |
7588 |
– |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
7589 |
– |
|
7590 |
– |
# Same as above, but do not quote variable references. |
7591 |
– |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
7592 |
– |
|
7593 |
– |
# Sed substitution to delay expansion of an escaped shell variable in a |
7594 |
– |
# double_quote_subst'ed string. |
7595 |
– |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
7596 |
– |
|
7597 |
– |
# Sed substitution to delay expansion of an escaped single quote. |
7598 |
– |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
7599 |
– |
|
7600 |
– |
# Sed substitution to avoid accidental globbing in evaled expressions |
7601 |
– |
no_glob_subst='s/\*/\\\*/g' |
7602 |
– |
|
8170 |
|
# Global variables: |
8171 |
|
ofile=libtool |
8172 |
|
can_build_shared=yes |
8195 |
|
*) break;; |
8196 |
|
esac |
8197 |
|
done |
8198 |
< |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
8198 |
> |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
8199 |
|
|
8200 |
|
|
8201 |
|
# Only perform the check for file, if the check method requires it |
8205 |
|
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
8206 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
8207 |
|
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
8208 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
8208 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8209 |
|
$as_echo_n "(cached) " >&6 |
8210 |
|
else |
8211 |
|
case $MAGIC_CMD in |
8271 |
|
if test -n "$ac_tool_prefix"; then |
8272 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
8273 |
|
$as_echo_n "checking for file... " >&6; } |
8274 |
< |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : |
8274 |
> |
if ${lt_cv_path_MAGIC_CMD+:} false; then : |
8275 |
|
$as_echo_n "(cached) " >&6 |
8276 |
|
else |
8277 |
|
case $MAGIC_CMD in |
8400 |
|
lt_prog_compiler_no_builtin_flag= |
8401 |
|
|
8402 |
|
if test "$GCC" = yes; then |
8403 |
< |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
8403 |
> |
case $cc_basename in |
8404 |
> |
nvcc*) |
8405 |
> |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
8406 |
> |
*) |
8407 |
> |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
8408 |
> |
esac |
8409 |
|
|
8410 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
8411 |
|
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
8412 |
< |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : |
8412 |
> |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
8413 |
|
$as_echo_n "(cached) " >&6 |
8414 |
|
else |
8415 |
|
lt_cv_prog_compiler_rtti_exceptions=no |
8425 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8426 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8427 |
|
-e 's:$: $lt_compiler_flag:'` |
8428 |
< |
(eval echo "\"\$as_me:7856: $lt_compile\"" >&5) |
8428 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8429 |
|
(eval "$lt_compile" 2>conftest.err) |
8430 |
|
ac_status=$? |
8431 |
|
cat conftest.err >&5 |
8432 |
< |
echo "$as_me:7860: \$? = $ac_status" >&5 |
8432 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8433 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
8434 |
|
# The compiler can only warn and ignore the option if not recognized |
8435 |
|
# So say no if there are warnings other than the usual output. |
8436 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
8436 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
8437 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8438 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
8439 |
|
lt_cv_prog_compiler_rtti_exceptions=yes |
8462 |
|
lt_prog_compiler_pic= |
8463 |
|
lt_prog_compiler_static= |
8464 |
|
|
7893 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
7894 |
– |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
8465 |
|
|
8466 |
|
if test "$GCC" = yes; then |
8467 |
|
lt_prog_compiler_wl='-Wl,' |
8509 |
|
lt_prog_compiler_pic='-fno-common' |
8510 |
|
;; |
8511 |
|
|
8512 |
+ |
haiku*) |
8513 |
+ |
# PIC is the default for Haiku. |
8514 |
+ |
# The "-static" flag exists, but is broken. |
8515 |
+ |
lt_prog_compiler_static= |
8516 |
+ |
;; |
8517 |
+ |
|
8518 |
|
hpux*) |
8519 |
|
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
8520 |
|
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
8557 |
|
lt_prog_compiler_pic='-fPIC' |
8558 |
|
;; |
8559 |
|
esac |
8560 |
+ |
|
8561 |
+ |
case $cc_basename in |
8562 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
8563 |
+ |
lt_prog_compiler_wl='-Xlinker ' |
8564 |
+ |
if test -n "$lt_prog_compiler_pic"; then |
8565 |
+ |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
8566 |
+ |
fi |
8567 |
+ |
;; |
8568 |
+ |
esac |
8569 |
|
else |
8570 |
|
# PORTME Check for flag to pass linker flags through the system compiler. |
8571 |
|
case $host_os in |
8607 |
|
lt_prog_compiler_static='-non_shared' |
8608 |
|
;; |
8609 |
|
|
8610 |
< |
linux* | k*bsd*-gnu) |
8610 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
8611 |
|
case $cc_basename in |
8612 |
|
# old Intel for x86_64 which still supported -KPIC. |
8613 |
|
ecc*) |
8628 |
|
lt_prog_compiler_pic='--shared' |
8629 |
|
lt_prog_compiler_static='--static' |
8630 |
|
;; |
8631 |
< |
pgcc* | pgf77* | pgf90* | pgf95*) |
8631 |
> |
nagfor*) |
8632 |
> |
# NAG Fortran compiler |
8633 |
> |
lt_prog_compiler_wl='-Wl,-Wl,,' |
8634 |
> |
lt_prog_compiler_pic='-PIC' |
8635 |
> |
lt_prog_compiler_static='-Bstatic' |
8636 |
> |
;; |
8637 |
> |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
8638 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
8639 |
|
# which looks to be a dead project) |
8640 |
|
lt_prog_compiler_wl='-Wl,' |
8646 |
|
# All Alpha code is PIC. |
8647 |
|
lt_prog_compiler_static='-non_shared' |
8648 |
|
;; |
8649 |
< |
xl*) |
8650 |
< |
# IBM XL C 8.0/Fortran 10.1 on PPC |
8649 |
> |
xl* | bgxl* | bgf* | mpixl*) |
8650 |
> |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
8651 |
|
lt_prog_compiler_wl='-Wl,' |
8652 |
|
lt_prog_compiler_pic='-qpic' |
8653 |
|
lt_prog_compiler_static='-qstaticlink' |
8654 |
|
;; |
8655 |
|
*) |
8656 |
|
case `$CC -V 2>&1 | sed 5q` in |
8657 |
+ |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
8658 |
+ |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
8659 |
+ |
lt_prog_compiler_pic='-KPIC' |
8660 |
+ |
lt_prog_compiler_static='-Bstatic' |
8661 |
+ |
lt_prog_compiler_wl='' |
8662 |
+ |
;; |
8663 |
+ |
*Sun\ F* | *Sun*Fortran*) |
8664 |
+ |
lt_prog_compiler_pic='-KPIC' |
8665 |
+ |
lt_prog_compiler_static='-Bstatic' |
8666 |
+ |
lt_prog_compiler_wl='-Qoption ld ' |
8667 |
+ |
;; |
8668 |
|
*Sun\ C*) |
8669 |
|
# Sun C 5.9 |
8670 |
|
lt_prog_compiler_pic='-KPIC' |
8671 |
|
lt_prog_compiler_static='-Bstatic' |
8672 |
|
lt_prog_compiler_wl='-Wl,' |
8673 |
|
;; |
8674 |
< |
*Sun\ F*) |
8675 |
< |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
8676 |
< |
lt_prog_compiler_pic='-KPIC' |
8674 |
> |
*Intel*\ [CF]*Compiler*) |
8675 |
> |
lt_prog_compiler_wl='-Wl,' |
8676 |
> |
lt_prog_compiler_pic='-fPIC' |
8677 |
> |
lt_prog_compiler_static='-static' |
8678 |
> |
;; |
8679 |
> |
*Portland\ Group*) |
8680 |
> |
lt_prog_compiler_wl='-Wl,' |
8681 |
> |
lt_prog_compiler_pic='-fpic' |
8682 |
|
lt_prog_compiler_static='-Bstatic' |
8076 |
– |
lt_prog_compiler_wl='' |
8683 |
|
;; |
8684 |
|
esac |
8685 |
|
;; |
8711 |
|
lt_prog_compiler_pic='-KPIC' |
8712 |
|
lt_prog_compiler_static='-Bstatic' |
8713 |
|
case $cc_basename in |
8714 |
< |
f77* | f90* | f95*) |
8714 |
> |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
8715 |
|
lt_prog_compiler_wl='-Qoption ld ';; |
8716 |
|
*) |
8717 |
|
lt_prog_compiler_wl='-Wl,';; |
8768 |
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
8769 |
|
;; |
8770 |
|
esac |
8165 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
8166 |
– |
$as_echo "$lt_prog_compiler_pic" >&6; } |
8167 |
– |
|
8168 |
– |
|
8169 |
– |
|
8170 |
– |
|
8771 |
|
|
8772 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
8773 |
+ |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
8774 |
+ |
if ${lt_cv_prog_compiler_pic+:} false; then : |
8775 |
+ |
$as_echo_n "(cached) " >&6 |
8776 |
+ |
else |
8777 |
+ |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
8778 |
+ |
fi |
8779 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
8780 |
+ |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
8781 |
+ |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
8782 |
|
|
8783 |
|
# |
8784 |
|
# Check to make sure the PIC flag actually works. |
8786 |
|
if test -n "$lt_prog_compiler_pic"; then |
8787 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
8788 |
|
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
8789 |
< |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : |
8789 |
> |
if ${lt_cv_prog_compiler_pic_works+:} false; then : |
8790 |
|
$as_echo_n "(cached) " >&6 |
8791 |
|
else |
8792 |
|
lt_cv_prog_compiler_pic_works=no |
8802 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8803 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8804 |
|
-e 's:$: $lt_compiler_flag:'` |
8805 |
< |
(eval echo "\"\$as_me:8195: $lt_compile\"" >&5) |
8805 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8806 |
|
(eval "$lt_compile" 2>conftest.err) |
8807 |
|
ac_status=$? |
8808 |
|
cat conftest.err >&5 |
8809 |
< |
echo "$as_me:8199: \$? = $ac_status" >&5 |
8809 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8810 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
8811 |
|
# The compiler can only warn and ignore the option if not recognized |
8812 |
|
# So say no if there are warnings other than the usual output. |
8813 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
8813 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
8814 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8815 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
8816 |
|
lt_cv_prog_compiler_pic_works=yes |
8839 |
|
|
8840 |
|
|
8841 |
|
|
8842 |
+ |
|
8843 |
+ |
|
8844 |
+ |
|
8845 |
+ |
|
8846 |
+ |
|
8847 |
|
# |
8848 |
|
# Check to make sure the static flag actually works. |
8849 |
|
# |
8850 |
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
8851 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
8852 |
|
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
8853 |
< |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then : |
8853 |
> |
if ${lt_cv_prog_compiler_static_works+:} false; then : |
8854 |
|
$as_echo_n "(cached) " >&6 |
8855 |
|
else |
8856 |
|
lt_cv_prog_compiler_static_works=no |
8863 |
|
if test -s conftest.err; then |
8864 |
|
# Append any errors to the config.log. |
8865 |
|
cat conftest.err 1>&5 |
8866 |
< |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
8866 |
> |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
8867 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
8868 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
8869 |
|
lt_cv_prog_compiler_static_works=yes |
8893 |
|
|
8894 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
8895 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
8896 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
8896 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
8897 |
|
$as_echo_n "(cached) " >&6 |
8898 |
|
else |
8899 |
|
lt_cv_prog_compiler_c_o=no |
8912 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8913 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8914 |
|
-e 's:$: $lt_compiler_flag:'` |
8915 |
< |
(eval echo "\"\$as_me:8300: $lt_compile\"" >&5) |
8915 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8916 |
|
(eval "$lt_compile" 2>out/conftest.err) |
8917 |
|
ac_status=$? |
8918 |
|
cat out/conftest.err >&5 |
8919 |
< |
echo "$as_me:8304: \$? = $ac_status" >&5 |
8919 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8920 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8921 |
|
then |
8922 |
|
# The compiler can only warn and ignore the option if not recognized |
8923 |
|
# So say no if there are warnings |
8924 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
8924 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
8925 |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8926 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
8927 |
|
lt_cv_prog_compiler_c_o=yes |
8948 |
|
|
8949 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
8950 |
|
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
8951 |
< |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then : |
8951 |
> |
if ${lt_cv_prog_compiler_c_o+:} false; then : |
8952 |
|
$as_echo_n "(cached) " >&6 |
8953 |
|
else |
8954 |
|
lt_cv_prog_compiler_c_o=no |
8967 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8968 |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8969 |
|
-e 's:$: $lt_compiler_flag:'` |
8970 |
< |
(eval echo "\"\$as_me:8355: $lt_compile\"" >&5) |
8970 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
8971 |
|
(eval "$lt_compile" 2>out/conftest.err) |
8972 |
|
ac_status=$? |
8973 |
|
cat out/conftest.err >&5 |
8974 |
< |
echo "$as_me:8359: \$? = $ac_status" >&5 |
8974 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8975 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8976 |
|
then |
8977 |
|
# The compiler can only warn and ignore the option if not recognized |
8978 |
|
# So say no if there are warnings |
8979 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
8979 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
8980 |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
8981 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
8982 |
|
lt_cv_prog_compiler_c_o=yes |
9042 |
|
hardcode_direct=no |
9043 |
|
hardcode_direct_absolute=no |
9044 |
|
hardcode_libdir_flag_spec= |
8430 |
– |
hardcode_libdir_flag_spec_ld= |
9045 |
|
hardcode_libdir_separator= |
9046 |
|
hardcode_minus_L=no |
9047 |
|
hardcode_shlibpath_var=unsupported |
9088 |
|
esac |
9089 |
|
|
9090 |
|
ld_shlibs=yes |
9091 |
+ |
|
9092 |
+ |
# On some targets, GNU ld is compatible enough with the native linker |
9093 |
+ |
# that we're better off using the native interface for both. |
9094 |
+ |
lt_use_gnu_ld_interface=no |
9095 |
|
if test "$with_gnu_ld" = yes; then |
9096 |
+ |
case $host_os in |
9097 |
+ |
aix*) |
9098 |
+ |
# The AIX port of GNU ld has always aspired to compatibility |
9099 |
+ |
# with the native linker. However, as the warning in the GNU ld |
9100 |
+ |
# block says, versions before 2.19.5* couldn't really create working |
9101 |
+ |
# shared libraries, regardless of the interface used. |
9102 |
+ |
case `$LD -v 2>&1` in |
9103 |
+ |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
9104 |
+ |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
9105 |
+ |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
9106 |
+ |
*) |
9107 |
+ |
lt_use_gnu_ld_interface=yes |
9108 |
+ |
;; |
9109 |
+ |
esac |
9110 |
+ |
;; |
9111 |
+ |
*) |
9112 |
+ |
lt_use_gnu_ld_interface=yes |
9113 |
+ |
;; |
9114 |
+ |
esac |
9115 |
+ |
fi |
9116 |
+ |
|
9117 |
+ |
if test "$lt_use_gnu_ld_interface" = yes; then |
9118 |
|
# If archive_cmds runs LD, not CC, wlarc should be empty |
9119 |
|
wlarc='${wl}' |
9120 |
|
|
9132 |
|
fi |
9133 |
|
supports_anon_versioning=no |
9134 |
|
case `$LD -v 2>&1` in |
9135 |
+ |
*GNU\ gold*) supports_anon_versioning=yes ;; |
9136 |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
9137 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
9138 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
9148 |
|
ld_shlibs=no |
9149 |
|
cat <<_LT_EOF 1>&2 |
9150 |
|
|
9151 |
< |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
9151 |
> |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
9152 |
|
*** to be unable to reliably create shared libraries on AIX. |
9153 |
|
*** Therefore, libtool is disabling shared libraries support. If you |
9154 |
< |
*** really care for shared libraries, you may want to modify your PATH |
9155 |
< |
*** so that a non-GNU linker is found, and then restart. |
9154 |
> |
*** really care for shared libraries, you may want to install binutils |
9155 |
> |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
9156 |
> |
*** You will then need to restart the configuration process. |
9157 |
|
|
9158 |
|
_LT_EOF |
9159 |
|
fi |
9189 |
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
9190 |
|
# as there is no search path for DLLs. |
9191 |
|
hardcode_libdir_flag_spec='-L$libdir' |
9192 |
+ |
export_dynamic_flag_spec='${wl}--export-all-symbols' |
9193 |
|
allow_undefined_flag=unsupported |
9194 |
|
always_export_symbols=no |
9195 |
|
enable_shared_with_static_runtimes=yes |
9196 |
< |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9196 |
> |
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' |
9197 |
> |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
9198 |
|
|
9199 |
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
9200 |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
9212 |
|
fi |
9213 |
|
;; |
9214 |
|
|
9215 |
+ |
haiku*) |
9216 |
+ |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9217 |
+ |
link_all_deplibs=yes |
9218 |
+ |
;; |
9219 |
+ |
|
9220 |
|
interix[3-9]*) |
9221 |
|
hardcode_direct=no |
9222 |
|
hardcode_shlibpath_var=no |
9232 |
|
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' |
9233 |
|
;; |
9234 |
|
|
9235 |
< |
gnu* | linux* | tpf* | k*bsd*-gnu) |
9235 |
> |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
9236 |
|
tmp_diet=no |
9237 |
|
if test "$host_os" = linux-dietlibc; then |
9238 |
|
case $cc_basename in |
9242 |
|
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
9243 |
|
&& test "$tmp_diet" = no |
9244 |
|
then |
9245 |
< |
tmp_addflag= |
9245 |
> |
tmp_addflag=' $pic_flag' |
9246 |
|
tmp_sharedflag='-shared' |
9247 |
|
case $cc_basename,$host_cpu in |
9248 |
|
pgcc*) # Portland Group C compiler |
9249 |
< |
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' |
9249 |
> |
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' |
9250 |
|
tmp_addflag=' $pic_flag' |
9251 |
|
;; |
9252 |
< |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
9253 |
< |
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' |
9252 |
> |
pgf77* | pgf90* | pgf95* | pgfortran*) |
9253 |
> |
# Portland Group f77 and f90 compilers |
9254 |
> |
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' |
9255 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
9256 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
9257 |
|
tmp_addflag=' -i_dynamic' ;; |
9262 |
|
lf95*) # Lahey Fortran 8.1 |
9263 |
|
whole_archive_flag_spec= |
9264 |
|
tmp_sharedflag='--shared' ;; |
9265 |
< |
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
9265 |
> |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
9266 |
|
tmp_sharedflag='-qmkshrobj' |
9267 |
|
tmp_addflag= ;; |
9268 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
9269 |
+ |
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' |
9270 |
+ |
compiler_needs_object=yes |
9271 |
+ |
;; |
9272 |
|
esac |
9273 |
|
case `$CC -V 2>&1 | sed 5q` in |
9274 |
|
*Sun\ C*) # Sun C 5.9 |
9275 |
< |
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' |
9275 |
> |
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' |
9276 |
|
compiler_needs_object=yes |
9277 |
|
tmp_sharedflag='-G' ;; |
9278 |
|
*Sun\ F*) # Sun Fortran 8.3 |
9288 |
|
fi |
9289 |
|
|
9290 |
|
case $cc_basename in |
9291 |
< |
xlf*) |
9291 |
> |
xlf* | bgf* | bgxlf* | mpixlf*) |
9292 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
9293 |
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
9294 |
< |
hardcode_libdir_flag_spec= |
9295 |
< |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
8642 |
< |
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
9294 |
> |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9295 |
> |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
9296 |
|
if test "x$supports_anon_versioning" = xyes; then |
9297 |
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
9298 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
9299 |
|
echo "local: *; };" >> $output_objdir/$libname.ver~ |
9300 |
< |
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
9300 |
> |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
9301 |
|
fi |
9302 |
|
;; |
9303 |
|
esac |
9311 |
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
9312 |
|
wlarc= |
9313 |
|
else |
9314 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9315 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9314 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9315 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9316 |
|
fi |
9317 |
|
;; |
9318 |
|
|
9330 |
|
|
9331 |
|
_LT_EOF |
9332 |
|
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9333 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9334 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9333 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9334 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9335 |
|
else |
9336 |
|
ld_shlibs=no |
9337 |
|
fi |
9377 |
|
|
9378 |
|
*) |
9379 |
|
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
9380 |
< |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9381 |
< |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9380 |
> |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
9381 |
> |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
9382 |
|
else |
9383 |
|
ld_shlibs=no |
9384 |
|
fi |
9418 |
|
else |
9419 |
|
# If we're using GNU nm, then we don't want the "-C" option. |
9420 |
|
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
9421 |
+ |
# Also, AIX nm treats weak defined symbols like other global |
9422 |
+ |
# defined symbols, whereas GNU nm marks them as "W". |
9423 |
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
9424 |
< |
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' |
9424 |
> |
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' |
9425 |
|
else |
9426 |
|
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' |
9427 |
|
fi |
9483 |
|
if test "$aix_use_runtimelinking" = yes; then |
9484 |
|
shared_flag="$shared_flag "'${wl}-G' |
9485 |
|
fi |
8831 |
– |
link_all_deplibs=no |
9486 |
|
else |
9487 |
|
# not using gcc |
9488 |
|
if test "$host_cpu" = ia64; then |
9508 |
|
allow_undefined_flag='-berok' |
9509 |
|
# Determine the default libpath from the value encoded in an |
9510 |
|
# empty executable. |
9511 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9511 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
9512 |
> |
aix_libpath=$lt_cv_aix_libpath |
9513 |
> |
else |
9514 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
9515 |
> |
$as_echo_n "(cached) " >&6 |
9516 |
> |
else |
9517 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9518 |
|
/* end confdefs.h. */ |
9519 |
|
|
9520 |
|
int |
9527 |
|
_ACEOF |
9528 |
|
if ac_fn_c_try_link "$LINENO"; then : |
9529 |
|
|
9530 |
< |
lt_aix_libpath_sed=' |
9531 |
< |
/Import File Strings/,/^$/ { |
9532 |
< |
/^0/ { |
9533 |
< |
s/^0 *\(.*\)$/\1/ |
9534 |
< |
p |
9535 |
< |
} |
9536 |
< |
}' |
9537 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9538 |
< |
# Check for a 64-bit object if we didn't find anything. |
9539 |
< |
if test -z "$aix_libpath"; then |
9540 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9541 |
< |
fi |
9530 |
> |
lt_aix_libpath_sed=' |
9531 |
> |
/Import File Strings/,/^$/ { |
9532 |
> |
/^0/ { |
9533 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
9534 |
> |
p |
9535 |
> |
} |
9536 |
> |
}' |
9537 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9538 |
> |
# Check for a 64-bit object if we didn't find anything. |
9539 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9540 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9541 |
> |
fi |
9542 |
|
fi |
9543 |
|
rm -f core conftest.err conftest.$ac_objext \ |
9544 |
|
conftest$ac_exeext conftest.$ac_ext |
9545 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
9545 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9546 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
9547 |
> |
fi |
9548 |
> |
|
9549 |
> |
fi |
9550 |
> |
|
9551 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
9552 |
> |
fi |
9553 |
|
|
9554 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
9555 |
< |
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" |
9555 |
> |
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" |
9556 |
|
else |
9557 |
|
if test "$host_cpu" = ia64; then |
9558 |
|
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
9561 |
|
else |
9562 |
|
# Determine the default libpath from the value encoded in an |
9563 |
|
# empty executable. |
9564 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9564 |
> |
if test "${lt_cv_aix_libpath+set}" = set; then |
9565 |
> |
aix_libpath=$lt_cv_aix_libpath |
9566 |
> |
else |
9567 |
> |
if ${lt_cv_aix_libpath_+:} false; then : |
9568 |
> |
$as_echo_n "(cached) " >&6 |
9569 |
> |
else |
9570 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9571 |
|
/* end confdefs.h. */ |
9572 |
|
|
9573 |
|
int |
9580 |
|
_ACEOF |
9581 |
|
if ac_fn_c_try_link "$LINENO"; then : |
9582 |
|
|
9583 |
< |
lt_aix_libpath_sed=' |
9584 |
< |
/Import File Strings/,/^$/ { |
9585 |
< |
/^0/ { |
9586 |
< |
s/^0 *\(.*\)$/\1/ |
9587 |
< |
p |
9588 |
< |
} |
9589 |
< |
}' |
9590 |
< |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9591 |
< |
# Check for a 64-bit object if we didn't find anything. |
9592 |
< |
if test -z "$aix_libpath"; then |
9593 |
< |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9594 |
< |
fi |
9583 |
> |
lt_aix_libpath_sed=' |
9584 |
> |
/Import File Strings/,/^$/ { |
9585 |
> |
/^0/ { |
9586 |
> |
s/^0 *\([^ ]*\) *$/\1/ |
9587 |
> |
p |
9588 |
> |
} |
9589 |
> |
}' |
9590 |
> |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9591 |
> |
# Check for a 64-bit object if we didn't find anything. |
9592 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9593 |
> |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
9594 |
> |
fi |
9595 |
|
fi |
9596 |
|
rm -f core conftest.err conftest.$ac_objext \ |
9597 |
|
conftest$ac_exeext conftest.$ac_ext |
9598 |
< |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
9598 |
> |
if test -z "$lt_cv_aix_libpath_"; then |
9599 |
> |
lt_cv_aix_libpath_="/usr/lib:/lib" |
9600 |
> |
fi |
9601 |
> |
|
9602 |
> |
fi |
9603 |
> |
|
9604 |
> |
aix_libpath=$lt_cv_aix_libpath_ |
9605 |
> |
fi |
9606 |
|
|
9607 |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
9608 |
|
# Warning - without using the other run time loading flags, |
9609 |
|
# -berok will link without error, but may produce a broken library. |
9610 |
|
no_undefined_flag=' ${wl}-bernotok' |
9611 |
|
allow_undefined_flag=' ${wl}-berok' |
9612 |
< |
# Exported symbols can be pulled into shared objects from archives |
9613 |
< |
whole_archive_flag_spec='$convenience' |
9612 |
> |
if test "$with_gnu_ld" = yes; then |
9613 |
> |
# We only use this code for GNU lds that support --whole-archive. |
9614 |
> |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
9615 |
> |
else |
9616 |
> |
# Exported symbols can be pulled into shared objects from archives |
9617 |
> |
whole_archive_flag_spec='$convenience' |
9618 |
> |
fi |
9619 |
|
archive_cmds_need_lc=yes |
9620 |
|
# This is similar to how AIX traditionally builds its shared libraries. |
9621 |
|
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' |
9647 |
|
# Microsoft Visual C++. |
9648 |
|
# hardcode_libdir_flag_spec is actually meaningless, as there is |
9649 |
|
# no search path for DLLs. |
9650 |
< |
hardcode_libdir_flag_spec=' ' |
9651 |
< |
allow_undefined_flag=unsupported |
9652 |
< |
# Tell ltmain to make .lib files, not .a files. |
9653 |
< |
libext=lib |
9654 |
< |
# Tell ltmain to make .dll files, not .so files. |
9655 |
< |
shrext_cmds=".dll" |
9656 |
< |
# FIXME: Setting linknames here is a bad hack. |
9657 |
< |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
9658 |
< |
# The linker will automatically build a .lib file if we build a DLL. |
9659 |
< |
old_archive_from_new_cmds='true' |
9660 |
< |
# FIXME: Should let the user specify the lib program. |
9661 |
< |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
9662 |
< |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
9663 |
< |
enable_shared_with_static_runtimes=yes |
9650 |
> |
case $cc_basename in |
9651 |
> |
cl*) |
9652 |
> |
# Native MSVC |
9653 |
> |
hardcode_libdir_flag_spec=' ' |
9654 |
> |
allow_undefined_flag=unsupported |
9655 |
> |
always_export_symbols=yes |
9656 |
> |
file_list_spec='@' |
9657 |
> |
# Tell ltmain to make .lib files, not .a files. |
9658 |
> |
libext=lib |
9659 |
> |
# Tell ltmain to make .dll files, not .so files. |
9660 |
> |
shrext_cmds=".dll" |
9661 |
> |
# FIXME: Setting linknames here is a bad hack. |
9662 |
> |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
9663 |
> |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
9664 |
> |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
9665 |
> |
else |
9666 |
> |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
9667 |
> |
fi~ |
9668 |
> |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
9669 |
> |
linknames=' |
9670 |
> |
# The linker will not automatically build a static lib if we build a DLL. |
9671 |
> |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
9672 |
> |
enable_shared_with_static_runtimes=yes |
9673 |
> |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
9674 |
> |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
9675 |
> |
# Don't use ranlib |
9676 |
> |
old_postinstall_cmds='chmod 644 $oldlib' |
9677 |
> |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
9678 |
> |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
9679 |
> |
case $lt_outputfile in |
9680 |
> |
*.exe|*.EXE) ;; |
9681 |
> |
*) |
9682 |
> |
lt_outputfile="$lt_outputfile.exe" |
9683 |
> |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
9684 |
> |
;; |
9685 |
> |
esac~ |
9686 |
> |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
9687 |
> |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
9688 |
> |
$RM "$lt_outputfile.manifest"; |
9689 |
> |
fi' |
9690 |
> |
;; |
9691 |
> |
*) |
9692 |
> |
# Assume MSVC wrapper |
9693 |
> |
hardcode_libdir_flag_spec=' ' |
9694 |
> |
allow_undefined_flag=unsupported |
9695 |
> |
# Tell ltmain to make .lib files, not .a files. |
9696 |
> |
libext=lib |
9697 |
> |
# Tell ltmain to make .dll files, not .so files. |
9698 |
> |
shrext_cmds=".dll" |
9699 |
> |
# FIXME: Setting linknames here is a bad hack. |
9700 |
> |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
9701 |
> |
# The linker will automatically build a .lib file if we build a DLL. |
9702 |
> |
old_archive_from_new_cmds='true' |
9703 |
> |
# FIXME: Should let the user specify the lib program. |
9704 |
> |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
9705 |
> |
enable_shared_with_static_runtimes=yes |
9706 |
> |
;; |
9707 |
> |
esac |
9708 |
|
;; |
9709 |
|
|
9710 |
|
darwin* | rhapsody*) |
9714 |
|
hardcode_direct=no |
9715 |
|
hardcode_automatic=yes |
9716 |
|
hardcode_shlibpath_var=unsupported |
9717 |
< |
whole_archive_flag_spec='' |
9717 |
> |
if test "$lt_cv_ld_force_load" = "yes"; then |
9718 |
> |
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\"`' |
9719 |
> |
|
9720 |
> |
else |
9721 |
> |
whole_archive_flag_spec='' |
9722 |
> |
fi |
9723 |
|
link_all_deplibs=yes |
9724 |
|
allow_undefined_flag="$_lt_dar_allow_undefined" |
9725 |
|
case $cc_basename in |
9727 |
|
*) _lt_dar_can_shared=$GCC ;; |
9728 |
|
esac |
9729 |
|
if test "$_lt_dar_can_shared" = "yes"; then |
9730 |
< |
output_verbose_link_cmd=echo |
9730 |
> |
output_verbose_link_cmd=func_echo_all |
9731 |
|
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
9732 |
|
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
9733 |
|
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}" |
9745 |
|
hardcode_shlibpath_var=no |
9746 |
|
;; |
9747 |
|
|
9014 |
– |
freebsd1*) |
9015 |
– |
ld_shlibs=no |
9016 |
– |
;; |
9017 |
– |
|
9748 |
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
9749 |
|
# support. Future versions do this automatically, but an explicit c++rt0.o |
9750 |
|
# does not break anything, and helps significantly (at the cost of a little |
9757 |
|
;; |
9758 |
|
|
9759 |
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
9760 |
< |
freebsd2*) |
9760 |
> |
freebsd2.*) |
9761 |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
9762 |
|
hardcode_direct=yes |
9763 |
|
hardcode_minus_L=yes |
9766 |
|
|
9767 |
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
9768 |
|
freebsd* | dragonfly*) |
9769 |
< |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
9769 |
> |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
9770 |
|
hardcode_libdir_flag_spec='-R$libdir' |
9771 |
|
hardcode_direct=yes |
9772 |
|
hardcode_shlibpath_var=no |
9774 |
|
|
9775 |
|
hpux9*) |
9776 |
|
if test "$GCC" = yes; then |
9777 |
< |
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' |
9777 |
> |
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' |
9778 |
|
else |
9779 |
|
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' |
9780 |
|
fi |
9789 |
|
;; |
9790 |
|
|
9791 |
|
hpux10*) |
9792 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
9793 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9792 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
9793 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9794 |
|
else |
9795 |
|
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
9796 |
|
fi |
9797 |
|
if test "$with_gnu_ld" = no; then |
9798 |
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
9069 |
– |
hardcode_libdir_flag_spec_ld='+b $libdir' |
9799 |
|
hardcode_libdir_separator=: |
9800 |
|
hardcode_direct=yes |
9801 |
|
hardcode_direct_absolute=yes |
9807 |
|
;; |
9808 |
|
|
9809 |
|
hpux11*) |
9810 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
9810 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
9811 |
|
case $host_cpu in |
9812 |
|
hppa*64*) |
9813 |
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
9814 |
|
;; |
9815 |
|
ia64*) |
9816 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9816 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9817 |
|
;; |
9818 |
|
*) |
9819 |
< |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9819 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9820 |
|
;; |
9821 |
|
esac |
9822 |
|
else |
9828 |
|
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
9829 |
|
;; |
9830 |
|
*) |
9831 |
< |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9831 |
> |
|
9832 |
> |
# Older versions of the 11.00 compiler do not understand -b yet |
9833 |
> |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
9834 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
9835 |
> |
$as_echo_n "checking if $CC understands -b... " >&6; } |
9836 |
> |
if ${lt_cv_prog_compiler__b+:} false; then : |
9837 |
> |
$as_echo_n "(cached) " >&6 |
9838 |
> |
else |
9839 |
> |
lt_cv_prog_compiler__b=no |
9840 |
> |
save_LDFLAGS="$LDFLAGS" |
9841 |
> |
LDFLAGS="$LDFLAGS -b" |
9842 |
> |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
9843 |
> |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
9844 |
> |
# The linker can only warn and ignore the option if not recognized |
9845 |
> |
# So say no if there are warnings |
9846 |
> |
if test -s conftest.err; then |
9847 |
> |
# Append any errors to the config.log. |
9848 |
> |
cat conftest.err 1>&5 |
9849 |
> |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
9850 |
> |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
9851 |
> |
if diff conftest.exp conftest.er2 >/dev/null; then |
9852 |
> |
lt_cv_prog_compiler__b=yes |
9853 |
> |
fi |
9854 |
> |
else |
9855 |
> |
lt_cv_prog_compiler__b=yes |
9856 |
> |
fi |
9857 |
> |
fi |
9858 |
> |
$RM -r conftest* |
9859 |
> |
LDFLAGS="$save_LDFLAGS" |
9860 |
> |
|
9861 |
> |
fi |
9862 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
9863 |
> |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
9864 |
> |
|
9865 |
> |
if test x"$lt_cv_prog_compiler__b" = xyes; then |
9866 |
> |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
9867 |
> |
else |
9868 |
> |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
9869 |
> |
fi |
9870 |
> |
|
9871 |
|
;; |
9872 |
|
esac |
9873 |
|
fi |
9895 |
|
|
9896 |
|
irix5* | irix6* | nonstopux*) |
9897 |
|
if test "$GCC" = yes; then |
9898 |
< |
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' |
9898 |
> |
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' |
9899 |
|
# Try to use the -exported_symbol ld option, if it does not |
9900 |
|
# work, assume that -exports_file does not work either and |
9901 |
|
# implicitly export all symbols. |
9902 |
< |
save_LDFLAGS="$LDFLAGS" |
9903 |
< |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
9904 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9902 |
> |
# This should be the same for all languages, so no per-tag cache variable. |
9903 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
9904 |
> |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
9905 |
> |
if ${lt_cv_irix_exported_symbol+:} false; then : |
9906 |
> |
$as_echo_n "(cached) " >&6 |
9907 |
> |
else |
9908 |
> |
save_LDFLAGS="$LDFLAGS" |
9909 |
> |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
9910 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9911 |
|
/* end confdefs.h. */ |
9912 |
< |
int foo(void) {} |
9912 |
> |
int foo (void) { return 0; } |
9913 |
|
_ACEOF |
9914 |
|
if ac_fn_c_try_link "$LINENO"; then : |
9915 |
< |
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' |
9916 |
< |
|
9915 |
> |
lt_cv_irix_exported_symbol=yes |
9916 |
> |
else |
9917 |
> |
lt_cv_irix_exported_symbol=no |
9918 |
|
fi |
9919 |
|
rm -f core conftest.err conftest.$ac_objext \ |
9920 |
|
conftest$ac_exeext conftest.$ac_ext |
9921 |
< |
LDFLAGS="$save_LDFLAGS" |
9921 |
> |
LDFLAGS="$save_LDFLAGS" |
9922 |
> |
fi |
9923 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
9924 |
> |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
9925 |
> |
if test "$lt_cv_irix_exported_symbol" = yes; then |
9926 |
> |
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' |
9927 |
> |
fi |
9928 |
|
else |
9929 |
< |
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' |
9930 |
< |
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' |
9929 |
> |
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' |
9930 |
> |
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' |
9931 |
|
fi |
9932 |
|
archive_cmds_need_lc='no' |
9933 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
9989 |
|
hardcode_libdir_flag_spec='-L$libdir' |
9990 |
|
hardcode_minus_L=yes |
9991 |
|
allow_undefined_flag=unsupported |
9992 |
< |
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' |
9992 |
> |
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' |
9993 |
|
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
9994 |
|
;; |
9995 |
|
|
9996 |
|
osf3*) |
9997 |
|
if test "$GCC" = yes; then |
9998 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
9999 |
< |
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' |
9999 |
> |
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' |
10000 |
|
else |
10001 |
|
allow_undefined_flag=' -expect_unresolved \*' |
10002 |
< |
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' |
10002 |
> |
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' |
10003 |
|
fi |
10004 |
|
archive_cmds_need_lc='no' |
10005 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10009 |
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
10010 |
|
if test "$GCC" = yes; then |
10011 |
|
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
10012 |
< |
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' |
10012 |
> |
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' |
10013 |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10014 |
|
else |
10015 |
|
allow_undefined_flag=' -expect_unresolved \*' |
10016 |
< |
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' |
10016 |
> |
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' |
10017 |
|
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~ |
10018 |
< |
$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' |
10018 |
> |
$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' |
10019 |
|
|
10020 |
|
# Both c and cxx compiler support -rpath directly |
10021 |
|
hardcode_libdir_flag_spec='-rpath $libdir' |
10028 |
|
no_undefined_flag=' -z defs' |
10029 |
|
if test "$GCC" = yes; then |
10030 |
|
wlarc='${wl}' |
10031 |
< |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
10031 |
> |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
10032 |
|
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
10033 |
< |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
10033 |
> |
$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' |
10034 |
|
else |
10035 |
|
case `$CC -V 2>&1` in |
10036 |
|
*"Compilers 5.0"*) |
10218 |
|
# to ld, don't add -lc before -lgcc. |
10219 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
10220 |
|
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
10221 |
< |
$RM conftest* |
10222 |
< |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10221 |
> |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
10222 |
> |
$as_echo_n "(cached) " >&6 |
10223 |
> |
else |
10224 |
> |
$RM conftest* |
10225 |
> |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10226 |
|
|
10227 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10227 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10228 |
|
(eval $ac_compile) 2>&5 |
10229 |
|
ac_status=$? |
10230 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10231 |
|
test $ac_status = 0; } 2>conftest.err; then |
10232 |
< |
soname=conftest |
10233 |
< |
lib=conftest |
10234 |
< |
libobjs=conftest.$ac_objext |
10235 |
< |
deplibs= |
10236 |
< |
wl=$lt_prog_compiler_wl |
10237 |
< |
pic_flag=$lt_prog_compiler_pic |
10238 |
< |
compiler_flags=-v |
10239 |
< |
linker_flags=-v |
10240 |
< |
verstring= |
10241 |
< |
output_objdir=. |
10242 |
< |
libname=conftest |
10243 |
< |
lt_save_allow_undefined_flag=$allow_undefined_flag |
10244 |
< |
allow_undefined_flag= |
10245 |
< |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
10232 |
> |
soname=conftest |
10233 |
> |
lib=conftest |
10234 |
> |
libobjs=conftest.$ac_objext |
10235 |
> |
deplibs= |
10236 |
> |
wl=$lt_prog_compiler_wl |
10237 |
> |
pic_flag=$lt_prog_compiler_pic |
10238 |
> |
compiler_flags=-v |
10239 |
> |
linker_flags=-v |
10240 |
> |
verstring= |
10241 |
> |
output_objdir=. |
10242 |
> |
libname=conftest |
10243 |
> |
lt_save_allow_undefined_flag=$allow_undefined_flag |
10244 |
> |
allow_undefined_flag= |
10245 |
> |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
10246 |
|
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
10247 |
|
ac_status=$? |
10248 |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10249 |
|
test $ac_status = 0; } |
10250 |
< |
then |
10251 |
< |
archive_cmds_need_lc=no |
10252 |
< |
else |
10253 |
< |
archive_cmds_need_lc=yes |
10254 |
< |
fi |
10255 |
< |
allow_undefined_flag=$lt_save_allow_undefined_flag |
10256 |
< |
else |
10257 |
< |
cat conftest.err 1>&5 |
10258 |
< |
fi |
10259 |
< |
$RM conftest* |
10260 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 |
10261 |
< |
$as_echo "$archive_cmds_need_lc" >&6; } |
10250 |
> |
then |
10251 |
> |
lt_cv_archive_cmds_need_lc=no |
10252 |
> |
else |
10253 |
> |
lt_cv_archive_cmds_need_lc=yes |
10254 |
> |
fi |
10255 |
> |
allow_undefined_flag=$lt_save_allow_undefined_flag |
10256 |
> |
else |
10257 |
> |
cat conftest.err 1>&5 |
10258 |
> |
fi |
10259 |
> |
$RM conftest* |
10260 |
> |
|
10261 |
> |
fi |
10262 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
10263 |
> |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
10264 |
> |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
10265 |
|
;; |
10266 |
|
esac |
10267 |
|
fi |
10419 |
|
|
10420 |
|
|
10421 |
|
|
9635 |
– |
|
9636 |
– |
|
9637 |
– |
|
9638 |
– |
|
9639 |
– |
|
10422 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
10423 |
|
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
10424 |
|
|
10427 |
|
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
10428 |
|
*) lt_awk_arg="/^libraries:/" ;; |
10429 |
|
esac |
10430 |
< |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
10431 |
< |
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
10430 |
> |
case $host_os in |
10431 |
> |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
10432 |
> |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
10433 |
> |
esac |
10434 |
> |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
10435 |
> |
case $lt_search_path_spec in |
10436 |
> |
*\;*) |
10437 |
|
# if the path contains ";" then we assume it to be the separator |
10438 |
|
# otherwise default to the standard path separator (i.e. ":") - it is |
10439 |
|
# assumed that no part of a normal pathname contains ";" but that should |
10440 |
|
# okay in the real world where ";" in dirpaths is itself problematic. |
10441 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
10442 |
< |
else |
10443 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10444 |
< |
fi |
10441 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
10442 |
> |
;; |
10443 |
> |
*) |
10444 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
10445 |
> |
;; |
10446 |
> |
esac |
10447 |
|
# Ok, now we have the path, separated by spaces, we can step through it |
10448 |
|
# and add multilib dir if necessary. |
10449 |
|
lt_tmp_lt_search_path_spec= |
10456 |
|
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
10457 |
|
fi |
10458 |
|
done |
10459 |
< |
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
10459 |
> |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
10460 |
|
BEGIN {RS=" "; FS="/|\n";} { |
10461 |
|
lt_foo=""; |
10462 |
|
lt_count=0; |
10476 |
|
if (lt_foo != "") { lt_freq[lt_foo]++; } |
10477 |
|
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
10478 |
|
}'` |
10479 |
< |
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
10479 |
> |
# AWK program above erroneously prepends '/' to C:/dos/paths |
10480 |
> |
# for these hosts. |
10481 |
> |
case $host_os in |
10482 |
> |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
10483 |
> |
$SED 's,/\([A-Za-z]:\),\1,g'` ;; |
10484 |
> |
esac |
10485 |
> |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
10486 |
|
else |
10487 |
|
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
10488 |
|
fi |
10508 |
|
|
10509 |
|
case $host_os in |
10510 |
|
aix3*) |
10511 |
< |
version_type=linux |
10511 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10512 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
10513 |
|
shlibpath_var=LIBPATH |
10514 |
|
|
10517 |
|
;; |
10518 |
|
|
10519 |
|
aix[4-9]*) |
10520 |
< |
version_type=linux |
10520 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10521 |
|
need_lib_prefix=no |
10522 |
|
need_version=no |
10523 |
|
hardcode_into_libs=yes |
10570 |
|
m68k) |
10571 |
|
library_names_spec='$libname.ixlibrary $libname.a' |
10572 |
|
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
10573 |
< |
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' |
10573 |
> |
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' |
10574 |
|
;; |
10575 |
|
esac |
10576 |
|
;; |
10582 |
|
;; |
10583 |
|
|
10584 |
|
bsdi[45]*) |
10585 |
< |
version_type=linux |
10585 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10586 |
|
need_version=no |
10587 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10588 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
10601 |
|
need_version=no |
10602 |
|
need_lib_prefix=no |
10603 |
|
|
10604 |
< |
case $GCC,$host_os in |
10605 |
< |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
10604 |
> |
case $GCC,$cc_basename in |
10605 |
> |
yes,*) |
10606 |
> |
# gcc |
10607 |
|
library_names_spec='$libname.dll.a' |
10608 |
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
10609 |
|
postinstall_cmds='base_file=`basename \${file}`~ |
10624 |
|
cygwin*) |
10625 |
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
10626 |
|
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10627 |
< |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
10627 |
> |
|
10628 |
> |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
10629 |
|
;; |
10630 |
|
mingw* | cegcc*) |
10631 |
|
# MinGW DLLs use traditional 'lib' prefix |
10632 |
|
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
9836 |
– |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
9837 |
– |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
9838 |
– |
# It is most probably a Windows format PATH printed by |
9839 |
– |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
9840 |
– |
# path with ; separators, and with drive letters. We can handle the |
9841 |
– |
# drive letters (cygwin fileutils understands them), so leave them, |
9842 |
– |
# especially as we might pass files found there to a mingw objdump, |
9843 |
– |
# which wouldn't understand a cygwinified path. Ahh. |
9844 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
9845 |
– |
else |
9846 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
9847 |
– |
fi |
10633 |
|
;; |
10634 |
|
pw32*) |
10635 |
|
# pw32 DLLs use 'pw' prefix rather than 'lib' |
10636 |
|
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10637 |
|
;; |
10638 |
|
esac |
10639 |
+ |
dynamic_linker='Win32 ld.exe' |
10640 |
+ |
;; |
10641 |
+ |
|
10642 |
+ |
*,cl*) |
10643 |
+ |
# Native MSVC |
10644 |
+ |
libname_spec='$name' |
10645 |
+ |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
10646 |
+ |
library_names_spec='${libname}.dll.lib' |
10647 |
+ |
|
10648 |
+ |
case $build_os in |
10649 |
+ |
mingw*) |
10650 |
+ |
sys_lib_search_path_spec= |
10651 |
+ |
lt_save_ifs=$IFS |
10652 |
+ |
IFS=';' |
10653 |
+ |
for lt_path in $LIB |
10654 |
+ |
do |
10655 |
+ |
IFS=$lt_save_ifs |
10656 |
+ |
# Let DOS variable expansion print the short 8.3 style file name. |
10657 |
+ |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
10658 |
+ |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
10659 |
+ |
done |
10660 |
+ |
IFS=$lt_save_ifs |
10661 |
+ |
# Convert to MSYS style. |
10662 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
10663 |
+ |
;; |
10664 |
+ |
cygwin*) |
10665 |
+ |
# Convert to unix form, then to dos form, then back to unix form |
10666 |
+ |
# but this time dos style (no spaces!) so that the unix form looks |
10667 |
+ |
# like /cygdrive/c/PROGRA~1:/cygdr... |
10668 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
10669 |
+ |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
10670 |
+ |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10671 |
+ |
;; |
10672 |
+ |
*) |
10673 |
+ |
sys_lib_search_path_spec="$LIB" |
10674 |
+ |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
10675 |
+ |
# It is most probably a Windows format PATH. |
10676 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
10677 |
+ |
else |
10678 |
+ |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
10679 |
+ |
fi |
10680 |
+ |
# FIXME: find the short name or the path components, as spaces are |
10681 |
+ |
# common. (e.g. "Program Files" -> "PROGRA~1") |
10682 |
+ |
;; |
10683 |
+ |
esac |
10684 |
+ |
|
10685 |
+ |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
10686 |
+ |
postinstall_cmds='base_file=`basename \${file}`~ |
10687 |
+ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
10688 |
+ |
dldir=$destdir/`dirname \$dlpath`~ |
10689 |
+ |
test -d \$dldir || mkdir -p \$dldir~ |
10690 |
+ |
$install_prog $dir/$dlname \$dldir/$dlname' |
10691 |
+ |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
10692 |
+ |
dlpath=$dir/\$dldll~ |
10693 |
+ |
$RM \$dlpath' |
10694 |
+ |
shlibpath_overrides_runpath=yes |
10695 |
+ |
dynamic_linker='Win32 link.exe' |
10696 |
|
;; |
10697 |
|
|
10698 |
|
*) |
10699 |
+ |
# Assume MSVC wrapper |
10700 |
|
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
10701 |
+ |
dynamic_linker='Win32 ld.exe' |
10702 |
|
;; |
10703 |
|
esac |
9860 |
– |
dynamic_linker='Win32 ld.exe' |
10704 |
|
# FIXME: first we should search . and the directory the executable is in |
10705 |
|
shlibpath_var=PATH |
10706 |
|
;; |
10721 |
|
;; |
10722 |
|
|
10723 |
|
dgux*) |
10724 |
< |
version_type=linux |
10724 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10725 |
|
need_lib_prefix=no |
10726 |
|
need_version=no |
10727 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
10729 |
|
shlibpath_var=LD_LIBRARY_PATH |
10730 |
|
;; |
10731 |
|
|
9889 |
– |
freebsd1*) |
9890 |
– |
dynamic_linker=no |
9891 |
– |
;; |
9892 |
– |
|
10732 |
|
freebsd* | dragonfly*) |
10733 |
|
# DragonFly does not have aout. When/if they implement a new |
10734 |
|
# versioning mechanism, adjust this. |
10736 |
|
objformat=`/usr/bin/objformat` |
10737 |
|
else |
10738 |
|
case $host_os in |
10739 |
< |
freebsd[123]*) objformat=aout ;; |
10739 |
> |
freebsd[23].*) objformat=aout ;; |
10740 |
|
*) objformat=elf ;; |
10741 |
|
esac |
10742 |
|
fi |
10754 |
|
esac |
10755 |
|
shlibpath_var=LD_LIBRARY_PATH |
10756 |
|
case $host_os in |
10757 |
< |
freebsd2*) |
10757 |
> |
freebsd2.*) |
10758 |
|
shlibpath_overrides_runpath=yes |
10759 |
|
;; |
10760 |
|
freebsd3.[01]* | freebsdelf3.[01]*) |
10774 |
|
;; |
10775 |
|
|
10776 |
|
gnu*) |
10777 |
< |
version_type=linux |
10777 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10778 |
|
need_lib_prefix=no |
10779 |
|
need_version=no |
10780 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
10781 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
10782 |
|
shlibpath_var=LD_LIBRARY_PATH |
10783 |
+ |
shlibpath_overrides_runpath=no |
10784 |
+ |
hardcode_into_libs=yes |
10785 |
+ |
;; |
10786 |
+ |
|
10787 |
+ |
haiku*) |
10788 |
+ |
version_type=linux # correct to gnu/linux during the next big refactor |
10789 |
+ |
need_lib_prefix=no |
10790 |
+ |
need_version=no |
10791 |
+ |
dynamic_linker="$host_os runtime_loader" |
10792 |
+ |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
10793 |
+ |
soname_spec='${libname}${release}${shared_ext}$major' |
10794 |
+ |
shlibpath_var=LIBRARY_PATH |
10795 |
+ |
shlibpath_overrides_runpath=yes |
10796 |
+ |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
10797 |
|
hardcode_into_libs=yes |
10798 |
|
;; |
10799 |
|
|
10839 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
10840 |
|
;; |
10841 |
|
esac |
10842 |
< |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
10842 |
> |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
10843 |
|
postinstall_cmds='chmod 555 $lib' |
10844 |
+ |
# or fails outright, so override atomically: |
10845 |
+ |
install_override_mode=555 |
10846 |
|
;; |
10847 |
|
|
10848 |
|
interix[3-9]*) |
10849 |
< |
version_type=linux |
10849 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10850 |
|
need_lib_prefix=no |
10851 |
|
need_version=no |
10852 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
10862 |
|
nonstopux*) version_type=nonstopux ;; |
10863 |
|
*) |
10864 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
10865 |
< |
version_type=linux |
10865 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10866 |
|
else |
10867 |
|
version_type=irix |
10868 |
|
fi ;; |
10899 |
|
dynamic_linker=no |
10900 |
|
;; |
10901 |
|
|
10902 |
< |
# This must be Linux ELF. |
10903 |
< |
linux* | k*bsd*-gnu) |
10904 |
< |
version_type=linux |
10902 |
> |
# This must be glibc/ELF. |
10903 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
10904 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10905 |
|
need_lib_prefix=no |
10906 |
|
need_version=no |
10907 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10909 |
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
10910 |
|
shlibpath_var=LD_LIBRARY_PATH |
10911 |
|
shlibpath_overrides_runpath=no |
10912 |
+ |
|
10913 |
|
# Some binutils ld are patched to set DT_RUNPATH |
10914 |
< |
save_LDFLAGS=$LDFLAGS |
10915 |
< |
save_libdir=$libdir |
10916 |
< |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
10917 |
< |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
10918 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10914 |
> |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
10915 |
> |
$as_echo_n "(cached) " >&6 |
10916 |
> |
else |
10917 |
> |
lt_cv_shlibpath_overrides_runpath=no |
10918 |
> |
save_LDFLAGS=$LDFLAGS |
10919 |
> |
save_libdir=$libdir |
10920 |
> |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
10921 |
> |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
10922 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10923 |
|
/* end confdefs.h. */ |
10924 |
|
|
10925 |
|
int |
10932 |
|
_ACEOF |
10933 |
|
if ac_fn_c_try_link "$LINENO"; then : |
10934 |
|
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
10935 |
< |
shlibpath_overrides_runpath=yes |
10935 |
> |
lt_cv_shlibpath_overrides_runpath=yes |
10936 |
|
fi |
10937 |
|
fi |
10938 |
|
rm -f core conftest.err conftest.$ac_objext \ |
10939 |
|
conftest$ac_exeext conftest.$ac_ext |
10940 |
< |
LDFLAGS=$save_LDFLAGS |
10941 |
< |
libdir=$save_libdir |
10940 |
> |
LDFLAGS=$save_LDFLAGS |
10941 |
> |
libdir=$save_libdir |
10942 |
> |
|
10943 |
> |
fi |
10944 |
> |
|
10945 |
> |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
10946 |
|
|
10947 |
|
# This implies no fast_install, which is unacceptable. |
10948 |
|
# Some rework will be needed to allow for fast_install |
10949 |
|
# before this can be enabled. |
10950 |
|
hardcode_into_libs=yes |
10951 |
|
|
10088 |
– |
# find out which ABI we are using |
10089 |
– |
libsuff= |
10090 |
– |
case "$host_cpu" in |
10091 |
– |
x86_64*|s390x*|powerpc64*) |
10092 |
– |
echo '#line 10092 "configure"' > conftest.$ac_ext |
10093 |
– |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10094 |
– |
(eval $ac_compile) 2>&5 |
10095 |
– |
ac_status=$? |
10096 |
– |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10097 |
– |
test $ac_status = 0; }; then |
10098 |
– |
case `/usr/bin/file conftest.$ac_objext` in |
10099 |
– |
*64-bit*) |
10100 |
– |
libsuff=64 |
10101 |
– |
;; |
10102 |
– |
esac |
10103 |
– |
fi |
10104 |
– |
rm -rf conftest* |
10105 |
– |
;; |
10106 |
– |
esac |
10107 |
– |
|
10108 |
– |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" |
10109 |
– |
|
10952 |
|
# Append ld.so.conf contents to the search path |
10953 |
|
if test -f /etc/ld.so.conf; then |
10954 |
< |
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' ' '` |
10955 |
< |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
10954 |
> |
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' ' '` |
10955 |
> |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
10956 |
|
fi |
10957 |
|
|
10958 |
|
# We used to test for /lib/ld.so.1 and disable shared libraries on |
10983 |
|
;; |
10984 |
|
|
10985 |
|
newsos6) |
10986 |
< |
version_type=linux |
10986 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
10987 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
10988 |
|
shlibpath_var=LD_LIBRARY_PATH |
10989 |
|
shlibpath_overrides_runpath=yes |
11052 |
|
;; |
11053 |
|
|
11054 |
|
solaris*) |
11055 |
< |
version_type=linux |
11055 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11056 |
|
need_lib_prefix=no |
11057 |
|
need_version=no |
11058 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11077 |
|
;; |
11078 |
|
|
11079 |
|
sysv4 | sysv4.3*) |
11080 |
< |
version_type=linux |
11080 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11081 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11082 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
11083 |
|
shlibpath_var=LD_LIBRARY_PATH |
11101 |
|
|
11102 |
|
sysv4*MP*) |
11103 |
|
if test -d /usr/nec ;then |
11104 |
< |
version_type=linux |
11104 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11105 |
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
11106 |
|
soname_spec='$libname${shared_ext}.$major' |
11107 |
|
shlibpath_var=LD_LIBRARY_PATH |
11132 |
|
|
11133 |
|
tpf*) |
11134 |
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
11135 |
< |
version_type=linux |
11135 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11136 |
|
need_lib_prefix=no |
11137 |
|
need_version=no |
11138 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11142 |
|
;; |
11143 |
|
|
11144 |
|
uts4*) |
11145 |
< |
version_type=linux |
11145 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
11146 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
11147 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
11148 |
|
shlibpath_var=LD_LIBRARY_PATH |
11254 |
|
|
11255 |
|
|
11256 |
|
|
11257 |
+ |
|
11258 |
+ |
|
11259 |
+ |
|
11260 |
+ |
|
11261 |
+ |
|
11262 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
11263 |
|
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
11264 |
|
hardcode_action= |
11331 |
|
# if libdl is installed we need to link against it |
11332 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11333 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
11334 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
11334 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
11335 |
|
$as_echo_n "(cached) " >&6 |
11336 |
|
else |
11337 |
|
ac_check_lib_save_LIBS=$LIBS |
11365 |
|
fi |
11366 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11367 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11368 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
11368 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11369 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11370 |
|
else |
11371 |
|
|
11379 |
|
|
11380 |
|
*) |
11381 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
11382 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
11382 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
11383 |
|
lt_cv_dlopen="shl_load" |
11384 |
|
else |
11385 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
11386 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
11387 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
11387 |
> |
if ${ac_cv_lib_dld_shl_load+:} 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_dld_shl_load" >&5 |
11420 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
11421 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
11421 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
11422 |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
11423 |
|
else |
11424 |
|
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
11425 |
< |
if test "x$ac_cv_func_dlopen" = x""yes; then : |
11425 |
> |
if test "x$ac_cv_func_dlopen" = xyes; then : |
11426 |
|
lt_cv_dlopen="dlopen" |
11427 |
|
else |
11428 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
11429 |
|
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
11430 |
< |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then : |
11430 |
> |
if ${ac_cv_lib_dl_dlopen+:} false; then : |
11431 |
|
$as_echo_n "(cached) " >&6 |
11432 |
|
else |
11433 |
|
ac_check_lib_save_LIBS=$LIBS |
11461 |
|
fi |
11462 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
11463 |
|
$as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
11464 |
< |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : |
11464 |
> |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
11465 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
11466 |
|
else |
11467 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
11468 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
11469 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
11469 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
11470 |
|
$as_echo_n "(cached) " >&6 |
11471 |
|
else |
11472 |
|
ac_check_lib_save_LIBS=$LIBS |
11500 |
|
fi |
11501 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
11502 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
11503 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
11503 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
11504 |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
11505 |
|
else |
11506 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
11507 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
11508 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
11508 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
11509 |
|
$as_echo_n "(cached) " >&6 |
11510 |
|
else |
11511 |
|
ac_check_lib_save_LIBS=$LIBS |
11539 |
|
fi |
11540 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
11541 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
11542 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
11542 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
11543 |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
11544 |
|
fi |
11545 |
|
|
11580 |
|
|
11581 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
11582 |
|
$as_echo_n "checking whether a program can dlopen itself... " >&6; } |
11583 |
< |
if test "${lt_cv_dlopen_self+set}" = set; then : |
11583 |
> |
if ${lt_cv_dlopen_self+:} false; then : |
11584 |
|
$as_echo_n "(cached) " >&6 |
11585 |
|
else |
11586 |
|
if test "$cross_compiling" = yes; then : |
11589 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11590 |
|
lt_status=$lt_dlunknown |
11591 |
|
cat > conftest.$ac_ext <<_LT_EOF |
11592 |
< |
#line 10745 "configure" |
11592 |
> |
#line $LINENO "configure" |
11593 |
|
#include "confdefs.h" |
11594 |
|
|
11595 |
|
#if HAVE_DLFCN_H |
11630 |
|
# endif |
11631 |
|
#endif |
11632 |
|
|
11633 |
< |
void fnord() { int i=42;} |
11633 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11634 |
> |
correspondingly for the symbols needed. */ |
11635 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11636 |
> |
int fnord () __attribute__((visibility("default"))); |
11637 |
> |
#endif |
11638 |
> |
|
11639 |
> |
int fnord () { return 42; } |
11640 |
|
int main () |
11641 |
|
{ |
11642 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
11645 |
|
if (self) |
11646 |
|
{ |
11647 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
11648 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11648 |
> |
else |
11649 |
> |
{ |
11650 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11651 |
> |
else puts (dlerror ()); |
11652 |
> |
} |
11653 |
|
/* dlclose (self); */ |
11654 |
|
} |
11655 |
|
else |
11686 |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
11687 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
11688 |
|
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
11689 |
< |
if test "${lt_cv_dlopen_self_static+set}" = set; then : |
11689 |
> |
if ${lt_cv_dlopen_self_static+:} false; then : |
11690 |
|
$as_echo_n "(cached) " >&6 |
11691 |
|
else |
11692 |
|
if test "$cross_compiling" = yes; then : |
11695 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11696 |
|
lt_status=$lt_dlunknown |
11697 |
|
cat > conftest.$ac_ext <<_LT_EOF |
11698 |
< |
#line 10841 "configure" |
11698 |
> |
#line $LINENO "configure" |
11699 |
|
#include "confdefs.h" |
11700 |
|
|
11701 |
|
#if HAVE_DLFCN_H |
11736 |
|
# endif |
11737 |
|
#endif |
11738 |
|
|
11739 |
< |
void fnord() { int i=42;} |
11739 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
11740 |
> |
correspondingly for the symbols needed. */ |
11741 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
11742 |
> |
int fnord () __attribute__((visibility("default"))); |
11743 |
> |
#endif |
11744 |
> |
|
11745 |
> |
int fnord () { return 42; } |
11746 |
|
int main () |
11747 |
|
{ |
11748 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
11751 |
|
if (self) |
11752 |
|
{ |
11753 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
11754 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11754 |
> |
else |
11755 |
> |
{ |
11756 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
11757 |
> |
else puts (dlerror ()); |
11758 |
> |
} |
11759 |
|
/* dlclose (self); */ |
11760 |
|
} |
11761 |
|
else |
11924 |
|
|
11925 |
|
|
11926 |
|
|
11927 |
+ |
|
11928 |
+ |
|
11929 |
|
ac_config_commands="$ac_config_commands libtool" |
11930 |
|
|
11931 |
|
|
11936 |
|
|
11937 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5 |
11938 |
|
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; } |
11939 |
< |
if test "${libltdl_cv_shlibext+set}" = set; then : |
11939 |
> |
if ${libltdl_cv_shlibext+:} false; then : |
11940 |
|
$as_echo_n "(cached) " >&6 |
11941 |
|
else |
11942 |
|
|
11943 |
|
module=yes |
11944 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
11945 |
+ |
module=no |
11946 |
+ |
eval libltdl_cv_shrext=$shrext_cmds |
11947 |
|
|
11948 |
|
fi |
11949 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5 |
11955 |
|
_ACEOF |
11956 |
|
|
11957 |
|
fi |
11958 |
+ |
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then |
11959 |
+ |
|
11960 |
+ |
cat >>confdefs.h <<_ACEOF |
11961 |
+ |
#define LT_SHARED_EXT "$libltdl_cv_shrext" |
11962 |
+ |
_ACEOF |
11963 |
+ |
|
11964 |
+ |
fi |
11965 |
|
|
11966 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5 |
11967 |
|
$as_echo_n "checking which variable specifies run-time module search path... " >&6; } |
11968 |
< |
if test "${lt_cv_module_path_var+set}" = set; then : |
11968 |
> |
if ${lt_cv_module_path_var+:} false; then : |
11969 |
|
$as_echo_n "(cached) " >&6 |
11970 |
|
else |
11971 |
|
lt_cv_module_path_var="$shlibpath_var" |
11982 |
|
|
11983 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5 |
11984 |
|
$as_echo_n "checking for the default library search path... " >&6; } |
11985 |
< |
if test "${lt_cv_sys_dlsearch_path+set}" = set; then : |
11985 |
> |
if ${lt_cv_sys_dlsearch_path+:} false; then : |
11986 |
|
$as_echo_n "(cached) " >&6 |
11987 |
|
else |
11988 |
|
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec" |
12019 |
|
LIBADD_DLOPEN= |
12020 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
12021 |
|
$as_echo_n "checking for library containing dlopen... " >&6; } |
12022 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
12022 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
12023 |
|
$as_echo_n "(cached) " >&6 |
12024 |
|
else |
12025 |
|
ac_func_search_save_LIBS=$LIBS |
12053 |
|
fi |
12054 |
|
rm -f core conftest.err conftest.$ac_objext \ |
12055 |
|
conftest$ac_exeext |
12056 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
12056 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
12057 |
|
break |
12058 |
|
fi |
12059 |
|
done |
12060 |
< |
if test "${ac_cv_search_dlopen+set}" = set; then : |
12060 |
> |
if ${ac_cv_search_dlopen+:} false; then : |
12061 |
|
|
12062 |
|
else |
12063 |
|
ac_cv_search_dlopen=no |
12102 |
|
else |
12103 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
12104 |
|
$as_echo_n "checking for dlopen in -lsvld... " >&6; } |
12105 |
< |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then : |
12105 |
> |
if ${ac_cv_lib_svld_dlopen+:} false; then : |
12106 |
|
$as_echo_n "(cached) " >&6 |
12107 |
|
else |
12108 |
|
ac_check_lib_save_LIBS=$LIBS |
12136 |
|
fi |
12137 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
12138 |
|
$as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
12139 |
< |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : |
12139 |
> |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
12140 |
|
|
12141 |
|
$as_echo "#define HAVE_LIBDL 1" >>confdefs.h |
12142 |
|
|
12156 |
|
for ac_func in dlerror |
12157 |
|
do : |
12158 |
|
ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror" |
12159 |
< |
if test "x$ac_cv_func_dlerror" = x""yes; then : |
12159 |
> |
if test "x$ac_cv_func_dlerror" = xyes; then : |
12160 |
|
cat >>confdefs.h <<_ACEOF |
12161 |
|
#define HAVE_DLERROR 1 |
12162 |
|
_ACEOF |
12170 |
|
|
12171 |
|
LIBADD_SHL_LOAD= |
12172 |
|
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
12173 |
< |
if test "x$ac_cv_func_shl_load" = x""yes; then : |
12173 |
> |
if test "x$ac_cv_func_shl_load" = xyes; then : |
12174 |
|
|
12175 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
12176 |
|
|
12178 |
|
else |
12179 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
12180 |
|
$as_echo_n "checking for shl_load in -ldld... " >&6; } |
12181 |
< |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then : |
12181 |
> |
if ${ac_cv_lib_dld_shl_load+:} false; then : |
12182 |
|
$as_echo_n "(cached) " >&6 |
12183 |
|
else |
12184 |
|
ac_check_lib_save_LIBS=$LIBS |
12212 |
|
fi |
12213 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
12214 |
|
$as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
12215 |
< |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : |
12215 |
> |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
12216 |
|
|
12217 |
|
$as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h |
12218 |
|
|
12228 |
|
darwin[1567].*) |
12229 |
|
# We only want this for pre-Mac OS X 10.4. |
12230 |
|
ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup" |
12231 |
< |
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then : |
12231 |
> |
if test "x$ac_cv_func__dyld_func_lookup" = xyes; then : |
12232 |
|
|
12233 |
|
$as_echo "#define HAVE_DYLD 1" >>confdefs.h |
12234 |
|
|
12242 |
|
cygwin* | mingw* | os2* | pw32*) |
12243 |
|
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h> |
12244 |
|
" |
12245 |
< |
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then : |
12245 |
> |
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then : |
12246 |
|
ac_have_decl=1 |
12247 |
|
else |
12248 |
|
ac_have_decl=0 |
12258 |
|
|
12259 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
12260 |
|
$as_echo_n "checking for dld_link in -ldld... " >&6; } |
12261 |
< |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then : |
12261 |
> |
if ${ac_cv_lib_dld_dld_link+:} false; then : |
12262 |
|
$as_echo_n "(cached) " >&6 |
12263 |
|
else |
12264 |
|
ac_check_lib_save_LIBS=$LIBS |
12292 |
|
fi |
12293 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
12294 |
|
$as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
12295 |
< |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : |
12295 |
> |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
12296 |
|
|
12297 |
|
$as_echo "#define HAVE_DLD 1" >>confdefs.h |
12298 |
|
|
12326 |
|
|
12327 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5 |
12328 |
|
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; } |
12329 |
< |
if test "${lt_cv_sys_symbol_underscore+set}" = set; then : |
12329 |
> |
if ${lt_cv_sys_symbol_underscore+:} false; then : |
12330 |
|
$as_echo_n "(cached) " >&6 |
12331 |
|
else |
12332 |
|
lt_cv_sys_symbol_underscore=no |
12376 |
|
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then |
12377 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5 |
12378 |
|
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; } |
12379 |
< |
if test "${libltdl_cv_need_uscore+set}" = set; then : |
12379 |
> |
if ${libltdl_cv_need_uscore+:} false; then : |
12380 |
|
$as_echo_n "(cached) " >&6 |
12381 |
|
else |
12382 |
|
libltdl_cv_need_uscore=unknown |
12388 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12389 |
|
lt_status=$lt_dlunknown |
12390 |
|
cat > conftest.$ac_ext <<_LT_EOF |
12391 |
< |
#line 11513 "configure" |
12391 |
> |
#line $LINENO "configure" |
12392 |
|
#include "confdefs.h" |
12393 |
|
|
12394 |
|
#if HAVE_DLFCN_H |
12429 |
|
# endif |
12430 |
|
#endif |
12431 |
|
|
12432 |
< |
void fnord() { int i=42;} |
12432 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
12433 |
> |
correspondingly for the symbols needed. */ |
12434 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
12435 |
> |
int fnord () __attribute__((visibility("default"))); |
12436 |
> |
#endif |
12437 |
> |
|
12438 |
> |
int fnord () { return 42; } |
12439 |
|
int main () |
12440 |
|
{ |
12441 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
12444 |
|
if (self) |
12445 |
|
{ |
12446 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
12447 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
12447 |
> |
else |
12448 |
> |
{ |
12449 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
12450 |
> |
else puts (dlerror ()); |
12451 |
> |
} |
12452 |
|
/* dlclose (self); */ |
12453 |
|
} |
12454 |
|
else |
12492 |
|
|
12493 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5 |
12494 |
|
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; } |
12495 |
< |
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then : |
12495 |
> |
if ${lt_cv_sys_dlopen_deplibs+:} false; then : |
12496 |
|
$as_echo_n "(cached) " >&6 |
12497 |
|
else |
12498 |
|
# PORTME does your system automatically load deplibs for dlopen? |
12524 |
|
freebsd* | dragonfly*) |
12525 |
|
lt_cv_sys_dlopen_deplibs=yes |
12526 |
|
;; |
12527 |
< |
gnu* | linux* | k*bsd*-gnu) |
12527 |
> |
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
12528 |
|
# GNU and its variants, using gnu ld.so (Glibc) |
12529 |
|
lt_cv_sys_dlopen_deplibs=yes |
12530 |
|
;; |
12598 |
|
do : |
12599 |
|
ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default |
12600 |
|
" |
12601 |
< |
if test "x$ac_cv_header_argz_h" = x""yes; then : |
12601 |
> |
if test "x$ac_cv_header_argz_h" = xyes; then : |
12602 |
|
cat >>confdefs.h <<_ACEOF |
12603 |
|
#define HAVE_ARGZ_H 1 |
12604 |
|
_ACEOF |
12612 |
|
# include <argz.h> |
12613 |
|
#endif |
12614 |
|
" |
12615 |
< |
if test "x$ac_cv_type_error_t" = x""yes; then : |
12615 |
> |
if test "x$ac_cv_type_error_t" = xyes; then : |
12616 |
|
|
12617 |
|
cat >>confdefs.h <<_ACEOF |
12618 |
|
#define HAVE_ERROR_T 1 |
12635 |
|
do : |
12636 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12637 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12638 |
< |
eval as_val=\$$as_ac_var |
11751 |
< |
if test "x$as_val" = x""yes; then : |
12638 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12639 |
|
cat >>confdefs.h <<_ACEOF |
12640 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12641 |
|
_ACEOF |
12652 |
|
if test -z "$ARGZ_H"; then : |
12653 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5 |
12654 |
|
$as_echo_n "checking if argz actually works... " >&6; } |
12655 |
< |
if test "${lt_cv_sys_argz_works+set}" = set; then : |
12655 |
> |
if ${lt_cv_sys_argz_works+:} false; then : |
12656 |
|
$as_echo_n "(cached) " >&6 |
12657 |
|
else |
12658 |
|
case $host_os in #( |
12683 |
|
fi |
12684 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5 |
12685 |
|
$as_echo "$lt_cv_sys_argz_works" >&6; } |
12686 |
< |
if test $lt_cv_sys_argz_works = yes; then : |
12686 |
> |
if test "$lt_cv_sys_argz_works" = yes; then : |
12687 |
|
|
12688 |
|
$as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h |
12689 |
|
|
12700 |
|
|
12701 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5 |
12702 |
|
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; } |
12703 |
< |
if test "${libltdl_cv_preloaded_symbols+set}" = set; then : |
12703 |
> |
if ${libltdl_cv_preloaded_symbols+:} false; then : |
12704 |
|
$as_echo_n "(cached) " >&6 |
12705 |
|
else |
12706 |
|
if test -n "$lt_cv_sys_global_symbol_pipe"; then |
12718 |
|
|
12719 |
|
fi |
12720 |
|
|
11834 |
– |
|
11835 |
– |
|
12721 |
|
# Set options |
12722 |
|
|
12723 |
|
|
12730 |
|
|
12731 |
|
|
12732 |
|
|
11848 |
– |
|
12733 |
|
# Check whether --with-included_ltdl was given. |
12734 |
|
if test "${with_included_ltdl+set}" = set; then : |
12735 |
|
withval=$with_included_ltdl; |
12742 |
|
ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default |
12743 |
|
|
12744 |
|
" |
12745 |
< |
if test "x$ac_cv_header_ltdl_h" = x""yes; then : |
12745 |
> |
if test "x$ac_cv_header_ltdl_h" = xyes; then : |
12746 |
|
ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default |
12747 |
|
#include <ltdl.h> |
12748 |
|
" |
12749 |
< |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = x""yes; then : |
12749 |
> |
if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then : |
12750 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5 |
12751 |
|
$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; } |
12752 |
< |
if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then : |
12752 |
> |
if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then : |
12753 |
|
$as_echo_n "(cached) " >&6 |
12754 |
|
else |
12755 |
|
ac_check_lib_save_LIBS=$LIBS |
12783 |
|
fi |
12784 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5 |
12785 |
|
$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; } |
12786 |
< |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = x""yes; then : |
12786 |
> |
if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then : |
12787 |
|
with_included_ltdl=no |
12788 |
|
else |
12789 |
|
with_included_ltdl=yes |
12803 |
|
|
12804 |
|
|
12805 |
|
|
11922 |
– |
|
11923 |
– |
|
11924 |
– |
|
11925 |
– |
|
11926 |
– |
|
12806 |
|
# Check whether --with-ltdl_include was given. |
12807 |
|
if test "${with_ltdl_include+set}" = set; then : |
12808 |
|
withval=$with_ltdl_include; |
12812 |
|
if test -n "$with_ltdl_include"; then |
12813 |
|
if test -f "$with_ltdl_include/ltdl.h"; then : |
12814 |
|
else |
12815 |
< |
as_fn_error "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
12815 |
> |
as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5 |
12816 |
|
fi |
12817 |
|
else |
12818 |
|
with_ltdl_include=no |
12828 |
|
if test -n "$with_ltdl_lib"; then |
12829 |
|
if test -f "$with_ltdl_lib/libltdl.la"; then : |
12830 |
|
else |
12831 |
< |
as_fn_error "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
12831 |
> |
as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5 |
12832 |
|
fi |
12833 |
|
else |
12834 |
|
with_ltdl_lib=no |
12837 |
|
case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in |
12838 |
|
,yes,no,no,) |
12839 |
|
case $enable_ltdl_convenience in |
12840 |
< |
no) as_fn_error "this package needs a convenience libltdl" "$LINENO" 5 ;; |
12840 |
> |
no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;; |
12841 |
|
"") enable_ltdl_convenience=yes |
12842 |
|
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
12843 |
|
esac |
12865 |
|
LTDLINCL= |
12866 |
|
;; |
12867 |
|
,no*,no,*) |
12868 |
< |
as_fn_error "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
12868 |
> |
as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5 |
12869 |
|
;; |
12870 |
|
*) with_included_ltdl=no |
12871 |
|
LIBLTDL="-L$with_ltdl_lib -lltdl" |
12916 |
|
|
12917 |
|
|
12918 |
|
|
12040 |
– |
subdirs="$subdirs libltdl" |
12041 |
– |
|
12042 |
– |
|
12919 |
|
|
12920 |
|
|
12921 |
|
|
12932 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12933 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
12934 |
|
" |
12935 |
< |
eval as_val=\$$as_ac_Header |
12060 |
< |
if test "x$as_val" = x""yes; then : |
12935 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
12936 |
|
cat >>confdefs.h <<_ACEOF |
12937 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12938 |
|
_ACEOF |
12946 |
|
do : |
12947 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12948 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12949 |
< |
eval as_val=\$$as_ac_var |
12075 |
< |
if test "x$as_val" = x""yes; then : |
12949 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12950 |
|
cat >>confdefs.h <<_ACEOF |
12951 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12952 |
|
_ACEOF |
12963 |
|
do : |
12964 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12965 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12966 |
< |
eval as_val=\$$as_ac_var |
12093 |
< |
if test "x$as_val" = x""yes; then : |
12966 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12967 |
|
cat >>confdefs.h <<_ACEOF |
12968 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12969 |
|
_ACEOF |
12983 |
|
_ACEOF |
12984 |
|
|
12985 |
|
|
12986 |
+ |
name= |
12987 |
+ |
eval "lt_libprefix=\"$libname_spec\"" |
12988 |
+ |
|
12989 |
+ |
cat >>confdefs.h <<_ACEOF |
12990 |
+ |
#define LT_LIBPREFIX "$lt_libprefix" |
12991 |
+ |
_ACEOF |
12992 |
+ |
|
12993 |
+ |
|
12994 |
|
name=ltdl |
12995 |
< |
LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""` |
12995 |
> |
eval "LTDLOPEN=\"$libname_spec\"" |
12996 |
|
|
12997 |
|
|
12998 |
|
|
13006 |
|
|
13007 |
|
LIBTOOL="$LIBTOOL --silent" |
13008 |
|
|
12128 |
– |
|
13009 |
|
# Checks for libraries. |
13010 |
|
|
13011 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
13012 |
|
$as_echo_n "checking for library containing socket... " >&6; } |
13013 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
13013 |
> |
if ${ac_cv_search_socket+:} false; then : |
13014 |
|
$as_echo_n "(cached) " >&6 |
13015 |
|
else |
13016 |
|
ac_func_search_save_LIBS=$LIBS |
13044 |
|
fi |
13045 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13046 |
|
conftest$ac_exeext |
13047 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
13047 |
> |
if ${ac_cv_search_socket+:} false; then : |
13048 |
|
break |
13049 |
|
fi |
13050 |
|
done |
13051 |
< |
if test "${ac_cv_search_socket+set}" = set; then : |
13051 |
> |
if ${ac_cv_search_socket+:} false; then : |
13052 |
|
|
13053 |
|
else |
13054 |
|
ac_cv_search_socket=no |
13063 |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13064 |
|
|
13065 |
|
else |
13066 |
< |
as_fn_error "socket library not found" "$LINENO" 5 |
13066 |
> |
as_fn_error $? "socket library not found" "$LINENO" 5 |
13067 |
> |
fi |
13068 |
> |
|
13069 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5 |
13070 |
> |
$as_echo_n "checking for library containing inet_ntoa... " >&6; } |
13071 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13072 |
> |
$as_echo_n "(cached) " >&6 |
13073 |
> |
else |
13074 |
> |
ac_func_search_save_LIBS=$LIBS |
13075 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13076 |
> |
/* end confdefs.h. */ |
13077 |
> |
|
13078 |
> |
/* Override any GCC internal prototype to avoid an error. |
13079 |
> |
Use char because int might match the return type of a GCC |
13080 |
> |
builtin and then its argument prototype would still apply. */ |
13081 |
> |
#ifdef __cplusplus |
13082 |
> |
extern "C" |
13083 |
> |
#endif |
13084 |
> |
char inet_ntoa (); |
13085 |
> |
int |
13086 |
> |
main () |
13087 |
> |
{ |
13088 |
> |
return inet_ntoa (); |
13089 |
> |
; |
13090 |
> |
return 0; |
13091 |
> |
} |
13092 |
> |
_ACEOF |
13093 |
> |
for ac_lib in '' nsl; do |
13094 |
> |
if test -z "$ac_lib"; then |
13095 |
> |
ac_res="none required" |
13096 |
> |
else |
13097 |
> |
ac_res=-l$ac_lib |
13098 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13099 |
> |
fi |
13100 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13101 |
> |
ac_cv_search_inet_ntoa=$ac_res |
13102 |
> |
fi |
13103 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13104 |
> |
conftest$ac_exeext |
13105 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13106 |
> |
break |
13107 |
> |
fi |
13108 |
> |
done |
13109 |
> |
if ${ac_cv_search_inet_ntoa+:} false; then : |
13110 |
> |
|
13111 |
> |
else |
13112 |
> |
ac_cv_search_inet_ntoa=no |
13113 |
> |
fi |
13114 |
> |
rm conftest.$ac_ext |
13115 |
> |
LIBS=$ac_func_search_save_LIBS |
13116 |
> |
fi |
13117 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5 |
13118 |
> |
$as_echo "$ac_cv_search_inet_ntoa" >&6; } |
13119 |
> |
ac_res=$ac_cv_search_inet_ntoa |
13120 |
> |
if test "$ac_res" != no; then : |
13121 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13122 |
> |
|
13123 |
> |
fi |
13124 |
> |
|
13125 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5 |
13126 |
> |
$as_echo_n "checking for library containing inet_aton... " >&6; } |
13127 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
13128 |
> |
$as_echo_n "(cached) " >&6 |
13129 |
> |
else |
13130 |
> |
ac_func_search_save_LIBS=$LIBS |
13131 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13132 |
> |
/* end confdefs.h. */ |
13133 |
> |
|
13134 |
> |
/* Override any GCC internal prototype to avoid an error. |
13135 |
> |
Use char because int might match the return type of a GCC |
13136 |
> |
builtin and then its argument prototype would still apply. */ |
13137 |
> |
#ifdef __cplusplus |
13138 |
> |
extern "C" |
13139 |
> |
#endif |
13140 |
> |
char inet_aton (); |
13141 |
> |
int |
13142 |
> |
main () |
13143 |
> |
{ |
13144 |
> |
return inet_aton (); |
13145 |
> |
; |
13146 |
> |
return 0; |
13147 |
> |
} |
13148 |
> |
_ACEOF |
13149 |
> |
for ac_lib in '' resolv; do |
13150 |
> |
if test -z "$ac_lib"; then |
13151 |
> |
ac_res="none required" |
13152 |
> |
else |
13153 |
> |
ac_res=-l$ac_lib |
13154 |
> |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13155 |
> |
fi |
13156 |
> |
if ac_fn_c_try_link "$LINENO"; then : |
13157 |
> |
ac_cv_search_inet_aton=$ac_res |
13158 |
> |
fi |
13159 |
> |
rm -f core conftest.err conftest.$ac_objext \ |
13160 |
> |
conftest$ac_exeext |
13161 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
13162 |
> |
break |
13163 |
> |
fi |
13164 |
> |
done |
13165 |
> |
if ${ac_cv_search_inet_aton+:} false; then : |
13166 |
> |
|
13167 |
> |
else |
13168 |
> |
ac_cv_search_inet_aton=no |
13169 |
> |
fi |
13170 |
> |
rm conftest.$ac_ext |
13171 |
> |
LIBS=$ac_func_search_save_LIBS |
13172 |
> |
fi |
13173 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5 |
13174 |
> |
$as_echo "$ac_cv_search_inet_aton" >&6; } |
13175 |
> |
ac_res=$ac_cv_search_inet_aton |
13176 |
> |
if test "$ac_res" != no; then : |
13177 |
> |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13178 |
> |
|
13179 |
|
fi |
13180 |
|
|
13181 |
|
for ac_func in inet_aton inet_ntop inet_pton |
13182 |
|
do : |
13183 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13184 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13185 |
< |
eval as_val=\$$as_ac_var |
12194 |
< |
if test "x$as_val" = x""yes; then : |
13185 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13186 |
|
cat >>confdefs.h <<_ACEOF |
13187 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13188 |
|
_ACEOF |
13195 |
|
#include <netdb.h> |
13196 |
|
|
13197 |
|
" |
13198 |
< |
if test "x$ac_cv_type_struct_sockaddr_in" = x""yes; then : |
13198 |
> |
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : |
13199 |
|
|
13200 |
|
cat >>confdefs.h <<_ACEOF |
13201 |
|
#define HAVE_STRUCT_SOCKADDR_IN 1 |
13208 |
|
#include <netdb.h> |
13209 |
|
|
13210 |
|
" |
13211 |
< |
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : |
13211 |
> |
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : |
13212 |
|
|
13213 |
|
cat >>confdefs.h <<_ACEOF |
13214 |
|
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
13221 |
|
#include <netdb.h> |
13222 |
|
|
13223 |
|
" |
13224 |
< |
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : |
13224 |
> |
if test "x$ac_cv_type_struct_addrinfo" = xyes; then : |
13225 |
|
|
13226 |
|
cat >>confdefs.h <<_ACEOF |
13227 |
|
#define HAVE_STRUCT_ADDRINFO 1 |
13233 |
|
ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h> |
13234 |
|
<sys/socket.h> |
13235 |
|
" |
13236 |
< |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then : |
13236 |
> |
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then : |
13237 |
|
|
13238 |
|
cat >>confdefs.h <<_ACEOF |
13239 |
|
#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 |
13244 |
|
|
13245 |
|
|
13246 |
|
|
13247 |
< |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "$ac_includes_default" |
13248 |
< |
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : |
13249 |
< |
|
12259 |
< |
cat >>confdefs.h <<_ACEOF |
12260 |
< |
#define HAVE_STRUCT_SOCKADDR_IN6 1 |
12261 |
< |
_ACEOF |
12262 |
< |
|
12263 |
< |
|
12264 |
< |
else |
13247 |
> |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h> |
13248 |
> |
" |
13249 |
> |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
13250 |
|
|
13251 |
|
$as_echo "#define IPV6 1" >>confdefs.h |
13252 |
|
|
13254 |
|
|
13255 |
|
|
13256 |
|
|
12272 |
– |
|
13257 |
|
# Checks for typedefs, structures, and compiler characteristics. |
12274 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
12275 |
– |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
12276 |
– |
if test "${ac_cv_c_const+set}" = set; then : |
12277 |
– |
$as_echo_n "(cached) " >&6 |
12278 |
– |
else |
12279 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12280 |
– |
/* end confdefs.h. */ |
12281 |
– |
|
12282 |
– |
int |
12283 |
– |
main () |
12284 |
– |
{ |
12285 |
– |
/* FIXME: Include the comments suggested by Paul. */ |
12286 |
– |
#ifndef __cplusplus |
12287 |
– |
/* Ultrix mips cc rejects this. */ |
12288 |
– |
typedef int charset[2]; |
12289 |
– |
const charset cs; |
12290 |
– |
/* SunOS 4.1.1 cc rejects this. */ |
12291 |
– |
char const *const *pcpcc; |
12292 |
– |
char **ppc; |
12293 |
– |
/* NEC SVR4.0.2 mips cc rejects this. */ |
12294 |
– |
struct point {int x, y;}; |
12295 |
– |
static struct point const zero = {0,0}; |
12296 |
– |
/* AIX XL C 1.02.0.0 rejects this. |
12297 |
– |
It does not let you subtract one const X* pointer from another in |
12298 |
– |
an arm of an if-expression whose if-part is not a constant |
12299 |
– |
expression */ |
12300 |
– |
const char *g = "string"; |
12301 |
– |
pcpcc = &g + (g ? g-g : 0); |
12302 |
– |
/* HPUX 7.0 cc rejects these. */ |
12303 |
– |
++pcpcc; |
12304 |
– |
ppc = (char**) pcpcc; |
12305 |
– |
pcpcc = (char const *const *) ppc; |
12306 |
– |
{ /* SCO 3.2v4 cc rejects this. */ |
12307 |
– |
char *t; |
12308 |
– |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
12309 |
– |
|
12310 |
– |
*t++ = 0; |
12311 |
– |
if (s) return 0; |
12312 |
– |
} |
12313 |
– |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
12314 |
– |
int x[] = {25, 17}; |
12315 |
– |
const int *foo = &x[0]; |
12316 |
– |
++foo; |
12317 |
– |
} |
12318 |
– |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
12319 |
– |
typedef const int *iptr; |
12320 |
– |
iptr p = 0; |
12321 |
– |
++p; |
12322 |
– |
} |
12323 |
– |
{ /* AIX XL C 1.02.0.0 rejects this saying |
12324 |
– |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
12325 |
– |
struct s { int j; const int *ap[3]; }; |
12326 |
– |
struct s *b; b->j = 5; |
12327 |
– |
} |
12328 |
– |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
12329 |
– |
const int foo = 10; |
12330 |
– |
if (!foo) return 0; |
12331 |
– |
} |
12332 |
– |
return !cs[0] && !zero.x; |
12333 |
– |
#endif |
12334 |
– |
|
12335 |
– |
; |
12336 |
– |
return 0; |
12337 |
– |
} |
12338 |
– |
_ACEOF |
12339 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
12340 |
– |
ac_cv_c_const=yes |
12341 |
– |
else |
12342 |
– |
ac_cv_c_const=no |
12343 |
– |
fi |
12344 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12345 |
– |
fi |
12346 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
12347 |
– |
$as_echo "$ac_cv_c_const" >&6; } |
12348 |
– |
if test $ac_cv_c_const = no; then |
12349 |
– |
|
12350 |
– |
$as_echo "#define const /**/" >>confdefs.h |
12351 |
– |
|
12352 |
– |
fi |
12353 |
– |
|
12354 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
12355 |
– |
$as_echo_n "checking for inline... " >&6; } |
12356 |
– |
if test "${ac_cv_c_inline+set}" = set; then : |
12357 |
– |
$as_echo_n "(cached) " >&6 |
12358 |
– |
else |
12359 |
– |
ac_cv_c_inline=no |
12360 |
– |
for ac_kw in inline __inline__ __inline; do |
12361 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12362 |
– |
/* end confdefs.h. */ |
12363 |
– |
#ifndef __cplusplus |
12364 |
– |
typedef int foo_t; |
12365 |
– |
static $ac_kw foo_t static_foo () {return 0; } |
12366 |
– |
$ac_kw foo_t foo () {return 0; } |
12367 |
– |
#endif |
12368 |
– |
|
12369 |
– |
_ACEOF |
12370 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
12371 |
– |
ac_cv_c_inline=$ac_kw |
12372 |
– |
fi |
12373 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12374 |
– |
test "$ac_cv_c_inline" != no && break |
12375 |
– |
done |
12376 |
– |
|
12377 |
– |
fi |
12378 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
12379 |
– |
$as_echo "$ac_cv_c_inline" >&6; } |
12380 |
– |
|
12381 |
– |
case $ac_cv_c_inline in |
12382 |
– |
inline | yes) ;; |
12383 |
– |
*) |
12384 |
– |
case $ac_cv_c_inline in |
12385 |
– |
no) ac_val=;; |
12386 |
– |
*) ac_val=$ac_cv_c_inline;; |
12387 |
– |
esac |
12388 |
– |
cat >>confdefs.h <<_ACEOF |
12389 |
– |
#ifndef __cplusplus |
12390 |
– |
#define inline $ac_val |
12391 |
– |
#endif |
12392 |
– |
_ACEOF |
12393 |
– |
;; |
12394 |
– |
esac |
12395 |
– |
|
13258 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
13259 |
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
13260 |
< |
if test "${ac_cv_c_bigendian+set}" = set; then : |
13260 |
> |
if ${ac_cv_c_bigendian+:} false; then : |
13261 |
|
$as_echo_n "(cached) " >&6 |
13262 |
|
else |
13263 |
|
ac_cv_c_bigendian=unknown |
13475 |
|
|
13476 |
|
;; #( |
13477 |
|
*) |
13478 |
< |
as_fn_error "unknown endianness |
13478 |
> |
as_fn_error $? "unknown endianness |
13479 |
|
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
13480 |
|
esac |
13481 |
|
|
13482 |
|
|
12621 |
– |
# The cast to long int works around a bug in the HP C Compiler |
12622 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
12623 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
12624 |
– |
# This bug is HP SR number 8606223364. |
12625 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5 |
12626 |
– |
$as_echo_n "checking size of int64_t... " >&6; } |
12627 |
– |
if test "${ac_cv_sizeof_int64_t+set}" = set; then : |
12628 |
– |
$as_echo_n "(cached) " >&6 |
12629 |
– |
else |
12630 |
– |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then : |
12631 |
– |
|
12632 |
– |
else |
12633 |
– |
if test "$ac_cv_type_int64_t" = yes; then |
12634 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12635 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12636 |
– |
{ as_fn_set_status 77 |
12637 |
– |
as_fn_error "cannot compute sizeof (int64_t) |
12638 |
– |
See \`config.log' for more details." "$LINENO" 5; }; } |
12639 |
– |
else |
12640 |
– |
ac_cv_sizeof_int64_t=0 |
12641 |
– |
fi |
12642 |
– |
fi |
12643 |
– |
|
12644 |
– |
fi |
12645 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5 |
12646 |
– |
$as_echo "$ac_cv_sizeof_int64_t" >&6; } |
12647 |
– |
|
12648 |
– |
|
12649 |
– |
|
12650 |
– |
cat >>confdefs.h <<_ACEOF |
12651 |
– |
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t |
12652 |
– |
_ACEOF |
12653 |
– |
|
12654 |
– |
|
12655 |
– |
# The cast to long int works around a bug in the HP C Compiler |
12656 |
– |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
12657 |
– |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
12658 |
– |
# This bug is HP SR number 8606223364. |
12659 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 |
12660 |
– |
$as_echo_n "checking size of long long... " >&6; } |
12661 |
– |
if test "${ac_cv_sizeof_long_long+set}" = set; then : |
12662 |
– |
$as_echo_n "(cached) " >&6 |
12663 |
– |
else |
12664 |
– |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : |
12665 |
– |
|
12666 |
– |
else |
12667 |
– |
if test "$ac_cv_type_long_long" = yes; then |
12668 |
– |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12669 |
– |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12670 |
– |
{ as_fn_set_status 77 |
12671 |
– |
as_fn_error "cannot compute sizeof (long long) |
12672 |
– |
See \`config.log' for more details." "$LINENO" 5; }; } |
12673 |
– |
else |
12674 |
– |
ac_cv_sizeof_long_long=0 |
12675 |
– |
fi |
12676 |
– |
fi |
12677 |
– |
|
12678 |
– |
fi |
12679 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 |
12680 |
– |
$as_echo "$ac_cv_sizeof_long_long" >&6; } |
12681 |
– |
|
12682 |
– |
|
12683 |
– |
|
12684 |
– |
cat >>confdefs.h <<_ACEOF |
12685 |
– |
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
12686 |
– |
_ACEOF |
12687 |
– |
|
12688 |
– |
|
12689 |
– |
|
12690 |
– |
if test "$ac_cv_sizeof_int64_t" = 8; then |
12691 |
– |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
12692 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
12693 |
– |
|
12694 |
– |
fi |
12695 |
– |
|
12696 |
– |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
12697 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
12698 |
– |
|
12699 |
– |
fi |
12700 |
– |
|
12701 |
– |
elif test "$ac_cv_sizeof_long_long" = 8; then |
12702 |
– |
ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" |
12703 |
– |
if test "x$ac_cv_type_uint64_t" = x""yes; then : |
12704 |
– |
|
12705 |
– |
else |
12706 |
– |
|
12707 |
– |
cat >>confdefs.h <<_ACEOF |
12708 |
– |
#define uint64_t unsigned long long |
12709 |
– |
_ACEOF |
12710 |
– |
|
12711 |
– |
fi |
12712 |
– |
|
12713 |
– |
ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" |
12714 |
– |
if test "x$ac_cv_type_int64_t" = x""yes; then : |
12715 |
– |
|
12716 |
– |
else |
12717 |
– |
|
12718 |
– |
cat >>confdefs.h <<_ACEOF |
12719 |
– |
#define int64_t long long |
12720 |
– |
_ACEOF |
12721 |
– |
|
12722 |
– |
fi |
12723 |
– |
|
12724 |
– |
else |
12725 |
– |
as_fn_error "Your system doesn't appear to have 64 bit integers. Aborting." "$LINENO" 5 |
12726 |
– |
fi |
12727 |
– |
|
12728 |
– |
|
13483 |
|
# Checks for library functions. |
13484 |
|
|
13485 |
|
|
13488 |
|
do : |
13489 |
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13490 |
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13491 |
< |
eval as_val=\$$as_ac_var |
12738 |
< |
if test "x$as_val" = x""yes; then : |
13491 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13492 |
|
cat >>confdefs.h <<_ACEOF |
13493 |
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13494 |
|
_ACEOF |
13510 |
|
|
13511 |
|
|
13512 |
|
|
12760 |
– |
|
12761 |
– |
|
13513 |
|
# Checks for header files. |
13514 |
|
|
13515 |
|
|
13519 |
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13520 |
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
13521 |
|
" |
13522 |
< |
eval as_val=\$$as_ac_Header |
12772 |
< |
if test "x$as_val" = x""yes; then : |
13522 |
> |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
13523 |
|
cat >>confdefs.h <<_ACEOF |
13524 |
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13525 |
|
_ACEOF |
13554 |
|
|
13555 |
|
|
13556 |
|
|
13557 |
< |
|
12808 |
< |
|
12809 |
< |
|
12810 |
< |
|
13557 |
> |
# check for /dev/null so we can use it to hold evil fd's |
13558 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5 |
13559 |
|
$as_echo_n "checking for /dev/null... " >&6; } |
13560 |
< |
if test -c /dev/null ; then |
13560 |
> |
if test -c /dev/null; then : |
13561 |
> |
|
13562 |
|
|
13563 |
|
$as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h |
13564 |
|
|
13566 |
|
$as_echo "yes" >&6; } |
13567 |
|
else |
13568 |
|
|
13569 |
+ |
|
13570 |
|
$as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h |
13571 |
|
|
13572 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5 |
13576 |
|
|
13577 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 |
13578 |
|
$as_echo_n "checking for library containing crypt... " >&6; } |
13579 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13579 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13580 |
|
$as_echo_n "(cached) " >&6 |
13581 |
|
else |
13582 |
|
ac_func_search_save_LIBS=$LIBS |
13610 |
|
fi |
13611 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13612 |
|
conftest$ac_exeext |
13613 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13613 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13614 |
|
break |
13615 |
|
fi |
13616 |
|
done |
13617 |
< |
if test "${ac_cv_search_crypt+set}" = set; then : |
13617 |
> |
if ${ac_cv_search_crypt+:} false; then : |
13618 |
|
|
13619 |
|
else |
13620 |
|
ac_cv_search_crypt=no |
13633 |
|
|
13634 |
|
|
13635 |
|
|
13636 |
< |
# Check whether --with-zlib-path was given. |
13637 |
< |
if test "${with_zlib_path+set}" = set; then : |
13638 |
< |
withval=$with_zlib_path; LDFLAGS="-L$withval $LDFLAGS" |
13636 |
> |
# Check whether --with-libpcre-path was given. |
13637 |
> |
if test "${with_libpcre_path+set}" = set; then : |
13638 |
> |
withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS" |
13639 |
|
fi |
13640 |
|
|
13641 |
|
|
13642 |
< |
# Check whether --enable-zlib was given. |
13643 |
< |
if test "${enable_zlib+set}" = set; then : |
13644 |
< |
enableval=$enable_zlib; zlib=$enableval |
13642 |
> |
# Check whether --enable-libpcre was given. |
13643 |
> |
if test "${enable_libpcre+set}" = set; then : |
13644 |
> |
enableval=$enable_libpcre; libpcre=$enableval |
13645 |
|
else |
13646 |
< |
zlib=yes |
13646 |
> |
libpcre=yes |
13647 |
|
fi |
13648 |
|
|
13649 |
|
|
13650 |
< |
if test "$zlib" = yes; then |
13651 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
13652 |
< |
if test "x$ac_cv_header_zlib_h" = x""yes; then : |
13653 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 |
13654 |
< |
$as_echo_n "checking for zlibVersion in -lz... " >&6; } |
13655 |
< |
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then : |
13650 |
> |
if test "$libpcre" = "yes"; then : |
13651 |
> |
|
13652 |
> |
ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default" |
13653 |
> |
if test "x$ac_cv_header_pcre_h" = xyes; then : |
13654 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5 |
13655 |
> |
$as_echo_n "checking for pcre_study in -lpcre... " >&6; } |
13656 |
> |
if ${ac_cv_lib_pcre_pcre_study+:} false; then : |
13657 |
|
$as_echo_n "(cached) " >&6 |
13658 |
|
else |
13659 |
|
ac_check_lib_save_LIBS=$LIBS |
13660 |
< |
LIBS="-lz $LIBS" |
13660 |
> |
LIBS="-lpcre $LIBS" |
13661 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13662 |
|
/* end confdefs.h. */ |
13663 |
|
|
13667 |
|
#ifdef __cplusplus |
13668 |
|
extern "C" |
13669 |
|
#endif |
13670 |
< |
char zlibVersion (); |
13670 |
> |
char pcre_study (); |
13671 |
|
int |
13672 |
|
main () |
13673 |
|
{ |
13674 |
< |
return zlibVersion (); |
13674 |
> |
return pcre_study (); |
13675 |
|
; |
13676 |
|
return 0; |
13677 |
|
} |
13678 |
|
_ACEOF |
13679 |
|
if ac_fn_c_try_link "$LINENO"; then : |
13680 |
< |
ac_cv_lib_z_zlibVersion=yes |
13680 |
> |
ac_cv_lib_pcre_pcre_study=yes |
13681 |
|
else |
13682 |
< |
ac_cv_lib_z_zlibVersion=no |
13682 |
> |
ac_cv_lib_pcre_pcre_study=no |
13683 |
|
fi |
13684 |
|
rm -f core conftest.err conftest.$ac_objext \ |
13685 |
|
conftest$ac_exeext conftest.$ac_ext |
13686 |
|
LIBS=$ac_check_lib_save_LIBS |
13687 |
|
fi |
13688 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 |
13689 |
< |
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } |
13690 |
< |
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then : |
13688 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5 |
13689 |
> |
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; } |
13690 |
> |
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then : |
13691 |
|
|
13692 |
< |
LIBS="-lz $LIBS" |
13692 |
> |
LIBS="-lpcre $LIBS" |
13693 |
|
|
13694 |
< |
$as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
13694 |
> |
$as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h |
13695 |
|
|
13696 |
|
|
13697 |
|
else |
13698 |
< |
zlib=no |
13698 |
> |
libpcre=no |
13699 |
|
fi |
13700 |
|
|
13701 |
|
|
13702 |
|
else |
13703 |
< |
zlib=no |
13703 |
> |
libpcre=no |
13704 |
|
fi |
13705 |
|
|
13706 |
|
|
13707 |
+ |
|
13708 |
+ |
fi |
13709 |
+ |
if test "$libpcre" = yes; then |
13710 |
+ |
ENABLE_PCRE_TRUE= |
13711 |
+ |
ENABLE_PCRE_FALSE='#' |
13712 |
+ |
else |
13713 |
+ |
ENABLE_PCRE_TRUE='#' |
13714 |
+ |
ENABLE_PCRE_FALSE= |
13715 |
|
fi |
13716 |
|
|
13717 |
|
|
13718 |
+ |
|
13719 |
|
# Check whether --enable-openssl was given. |
13720 |
|
if test "${enable_openssl+set}" = set; then : |
13721 |
|
enableval=$enable_openssl; cf_enable_openssl=$enableval |
13763 |
|
$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h |
13764 |
|
|
13765 |
|
else |
13766 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
13767 |
< |
$as_echo "not found. Please check your path." >&6; } |
13766 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
13767 |
> |
$as_echo "not found. Please check your path." >&6; } |
13768 |
|
cf_enable_openssl="no" |
13769 |
|
fi |
13770 |
|
unset cf_openssl_basedir |
13772 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
13773 |
|
$as_echo "disabled" >&6; } |
13774 |
|
fi |
13775 |
+ |
|
13776 |
+ |
if test "$cf_enable_openssl" != "no"; then : |
13777 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5 |
13778 |
+ |
$as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; } |
13779 |
+ |
if test "$cross_compiling" = yes; then : |
13780 |
+ |
cf_openssl_version_ok=no |
13781 |
+ |
else |
13782 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13783 |
+ |
/* end confdefs.h. */ |
13784 |
+ |
|
13785 |
+ |
|
13786 |
+ |
#include <openssl/opensslv.h> |
13787 |
+ |
#include <stdlib.h> |
13788 |
+ |
int |
13789 |
+ |
main () |
13790 |
+ |
{ |
13791 |
+ |
exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000)); |
13792 |
+ |
; |
13793 |
+ |
return 0; |
13794 |
+ |
} |
13795 |
+ |
_ACEOF |
13796 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
13797 |
+ |
cf_openssl_version_ok=yes |
13798 |
+ |
else |
13799 |
+ |
cf_openssl_version_ok=no |
13800 |
+ |
fi |
13801 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13802 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
13803 |
+ |
fi |
13804 |
+ |
|
13805 |
+ |
|
13806 |
+ |
if test "$cf_openssl_version_ok" = "yes"; then : |
13807 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
13808 |
+ |
$as_echo "found" >&6; } |
13809 |
+ |
|
13810 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
13811 |
+ |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
13812 |
+ |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
13813 |
+ |
$as_echo_n "(cached) " >&6 |
13814 |
+ |
else |
13815 |
+ |
ac_check_lib_save_LIBS=$LIBS |
13816 |
+ |
LIBS="-lcrypto $LIBS" |
13817 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13818 |
+ |
/* end confdefs.h. */ |
13819 |
+ |
|
13820 |
+ |
/* Override any GCC internal prototype to avoid an error. |
13821 |
+ |
Use char because int might match the return type of a GCC |
13822 |
+ |
builtin and then its argument prototype would still apply. */ |
13823 |
+ |
#ifdef __cplusplus |
13824 |
+ |
extern "C" |
13825 |
+ |
#endif |
13826 |
+ |
char RSA_free (); |
13827 |
+ |
int |
13828 |
+ |
main () |
13829 |
+ |
{ |
13830 |
+ |
return RSA_free (); |
13831 |
+ |
; |
13832 |
+ |
return 0; |
13833 |
+ |
} |
13834 |
+ |
_ACEOF |
13835 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
13836 |
+ |
ac_cv_lib_crypto_RSA_free=yes |
13837 |
+ |
else |
13838 |
+ |
ac_cv_lib_crypto_RSA_free=no |
13839 |
+ |
fi |
13840 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
13841 |
+ |
conftest$ac_exeext conftest.$ac_ext |
13842 |
+ |
LIBS=$ac_check_lib_save_LIBS |
13843 |
+ |
fi |
13844 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
13845 |
+ |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
13846 |
+ |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
13847 |
+ |
cat >>confdefs.h <<_ACEOF |
13848 |
+ |
#define HAVE_LIBCRYPTO 1 |
13849 |
+ |
_ACEOF |
13850 |
+ |
|
13851 |
+ |
LIBS="-lcrypto $LIBS" |
13852 |
+ |
|
13853 |
+ |
fi |
13854 |
+ |
|
13855 |
+ |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
13856 |
+ |
for ac_func in EVP_bf_cfb \ |
13857 |
+ |
EVP_cast5_cfb \ |
13858 |
+ |
EVP_idea_cfb \ |
13859 |
+ |
EVP_rc5_32_12_16_cfb \ |
13860 |
+ |
EVP_des_ede3_cfb \ |
13861 |
+ |
EVP_des_cfb |
13862 |
+ |
do : |
13863 |
+ |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13864 |
+ |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13865 |
+ |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13866 |
+ |
cat >>confdefs.h <<_ACEOF |
13867 |
+ |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13868 |
+ |
_ACEOF |
13869 |
+ |
|
13870 |
+ |
fi |
13871 |
+ |
done |
13872 |
+ |
|
13873 |
+ |
fi |
13874 |
+ |
|
13875 |
+ |
else |
13876 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
13877 |
+ |
$as_echo "no - OpenSSL support disabled" >&6; } |
13878 |
+ |
cf_enable_openssl="no" |
13879 |
+ |
fi |
13880 |
+ |
fi |
13881 |
+ |
|
13882 |
|
if test "$cf_enable_openssl" = yes; then |
13883 |
|
ENABLE_SSL_TRUE= |
13884 |
|
ENABLE_SSL_FALSE='#' |
13896 |
|
assert=no |
13897 |
|
fi |
13898 |
|
|
13899 |
< |
if test "$assert" = no; then |
13899 |
> |
|
13900 |
> |
if test "$assert" = "no"; then : |
13901 |
|
|
13902 |
|
$as_echo "#define NDEBUG 1" >>confdefs.h |
13903 |
|
|
13912 |
|
fi |
13913 |
|
|
13914 |
|
|
13915 |
< |
if test "$small_net" = yes; then |
13915 |
> |
if test "$small_net" = "yes"; then : |
13916 |
> |
|
13917 |
|
|
13918 |
|
$as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h |
13919 |
|
|
13938 |
|
|
13939 |
|
$as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h |
13940 |
|
|
13941 |
+ |
|
13942 |
+ |
$as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h |
13943 |
+ |
|
13944 |
+ |
|
13945 |
+ |
$as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h |
13946 |
+ |
|
13947 |
|
else |
13948 |
|
|
13949 |
+ |
|
13950 |
+ |
|
13951 |
|
$as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h |
13952 |
|
|
13953 |
|
|
13971 |
|
|
13972 |
|
$as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h |
13973 |
|
|
13974 |
+ |
|
13975 |
+ |
$as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h |
13976 |
+ |
|
13977 |
+ |
|
13978 |
+ |
$as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h |
13979 |
+ |
|
13980 |
|
fi |
13981 |
|
|
13982 |
|
|
14084 |
|
if test "$cross_compiling" = yes; then : |
14085 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
14086 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
14087 |
< |
as_fn_error "cannot run test program while cross compiling |
14088 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
14087 |
> |
as_fn_error $? "cannot run test program while cross compiling |
14088 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
14089 |
|
else |
14090 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14091 |
|
/* end confdefs.h. */ |
14118 |
|
#endif |
14119 |
|
_syscall1(int, epoll_create, int, size) |
14120 |
|
#endif |
13239 |
– |
main() { return epoll_create(256) == -1 ? 1 : 0; } |
14121 |
|
|
14122 |
+ |
int |
14123 |
+ |
main () |
14124 |
+ |
{ |
14125 |
+ |
return epoll_create(256) == -1 ? 1 : 0 |
14126 |
+ |
; |
14127 |
+ |
return 0; |
14128 |
+ |
} |
14129 |
|
_ACEOF |
14130 |
|
if ac_fn_c_try_run "$LINENO"; then : |
14131 |
|
is_epoll_mechanism_available="yes" |
14195 |
|
if test "$cross_compiling" = yes; then : |
14196 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
14197 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
14198 |
< |
as_fn_error "cannot run test program while cross compiling |
14199 |
< |
See \`config.log' for more details." "$LINENO" 5; } |
14198 |
> |
as_fn_error $? "cannot run test program while cross compiling |
14199 |
> |
See \`config.log' for more details" "$LINENO" 5; } |
14200 |
|
else |
14201 |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14202 |
|
/* end confdefs.h. */ |
14203 |
|
|
14204 |
+ |
#define _GNU_SOURCE |
14205 |
|
#include <fcntl.h> |
14206 |
< |
#ifdef F_SETSIG |
13318 |
< |
main () { return 0; } /* F_SETSIG defined */ |
13319 |
< |
#else |
13320 |
< |
main () { return 1; } /* F_SETSIG not defined */ |
13321 |
< |
#endif |
14206 |
> |
static unsigned int have_f_setsig = 0; |
14207 |
|
|
14208 |
|
int |
14209 |
|
main () |
14210 |
|
{ |
14211 |
|
|
14212 |
+ |
#ifdef F_SETSIG |
14213 |
+ |
have_f_setsig = 1; |
14214 |
+ |
#endif |
14215 |
+ |
return have_f_setsig == 0; |
14216 |
+ |
|
14217 |
|
; |
14218 |
|
return 0; |
14219 |
|
} |
14347 |
|
if test "$optimal_iopoll_mechanism" = "none" ; then |
14348 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
14349 |
|
$as_echo "none" >&6; } |
14350 |
< |
as_fn_error "no iopoll mechanism found!" "$LINENO" 5 |
14350 |
> |
as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5 |
14351 |
|
else |
14352 |
|
selected_iopoll_mechanism=$optimal_iopoll_mechanism |
14353 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5 |
14362 |
|
else |
14363 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
14364 |
|
$as_echo "none" >&6; } |
14365 |
< |
as_fn_error "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
14365 |
> |
as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5 |
14366 |
|
fi |
14367 |
|
fi |
14368 |
|
eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}" |
14398 |
|
|
14399 |
|
|
14400 |
|
cat >>confdefs.h <<_ACEOF |
14401 |
< |
#define TOPICLEN ($topiclen+1) |
13512 |
< |
_ACEOF |
13513 |
< |
|
13514 |
< |
|
13515 |
< |
|
13516 |
< |
|
13517 |
< |
# Check whether --with-syslog-facility was given. |
13518 |
< |
if test "${with_syslog_facility+set}" = set; then : |
13519 |
< |
withval=$with_syslog_facility; syslog_facility="$withval" |
13520 |
< |
else |
13521 |
< |
syslog_facility="LOG_LOCAL4" |
13522 |
< |
fi |
13523 |
< |
|
13524 |
< |
|
13525 |
< |
cat >>confdefs.h <<_ACEOF |
13526 |
< |
#define LOG_FACILITY $syslog_facility |
14401 |
> |
#define TOPICLEN ($topiclen) |
14402 |
|
_ACEOF |
14403 |
|
|
14404 |
|
|
14415 |
|
|
14416 |
|
$as_echo "#define EFNET 1" >>confdefs.h |
14417 |
|
|
13543 |
– |
|
13544 |
– |
$as_echo "#define TS5_ONLY 1" >>confdefs.h |
13545 |
– |
|
14418 |
|
else |
13547 |
– |
|
13548 |
– |
$as_echo "#define INVARIANTS 1" >>confdefs.h |
13549 |
– |
|
14419 |
|
use_efnet="no" |
14420 |
|
fi |
14421 |
|
if test "$use_efnet" = "yes"; then |
14453 |
|
|
14454 |
|
$as_echo "#define DEBUG 1" >>confdefs.h |
14455 |
|
|
14456 |
< |
CFLAGS="$CFLAGS -Wall -Werror -g -O0" |
14456 |
> |
CFLAGS="-Wall -g -O0" |
14457 |
|
else |
14458 |
|
|
14459 |
|
$as_echo "#define NDEBUG 1" >>confdefs.h |
14469 |
|
fi |
14470 |
|
|
14471 |
|
if test "$warnings" = "yes" ; then |
14472 |
< |
CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef" |
13604 |
< |
fi |
13605 |
< |
|
13606 |
< |
|
13607 |
< |
for ac_header in syslog.h sys/syslog.h |
13608 |
< |
do : |
13609 |
< |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13610 |
< |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
13611 |
< |
eval as_val=\$$as_ac_Header |
13612 |
< |
if test "x$as_val" = x""yes; then : |
13613 |
< |
cat >>confdefs.h <<_ACEOF |
13614 |
< |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13615 |
< |
_ACEOF |
13616 |
< |
|
13617 |
< |
fi |
13618 |
< |
|
13619 |
< |
done |
13620 |
< |
|
13621 |
< |
# Check whether --enable-syslog was given. |
13622 |
< |
if test "${enable_syslog+set}" = set; then : |
13623 |
< |
enableval=$enable_syslog; syslog="$enableval" |
13624 |
< |
else |
13625 |
< |
syslog="no" |
13626 |
< |
fi |
13627 |
< |
|
13628 |
< |
if test "$enableval" != "no" ; then |
13629 |
< |
for option in $enableval ; do |
13630 |
< |
case "$option" in |
13631 |
< |
users) |
13632 |
< |
$as_echo "#define SYSLOG_USERS 1" >>confdefs.h |
13633 |
< |
;; |
13634 |
< |
oper) |
13635 |
< |
$as_echo "#define SYSLOG_OPER 1" >>confdefs.h |
13636 |
< |
;; |
13637 |
< |
yes) : ;; |
13638 |
< |
*) as_fn_error "invalid value for --enable-syslog: $option" "$LINENO" 5 ;; |
13639 |
< |
esac |
13640 |
< |
done |
13641 |
< |
|
13642 |
< |
$as_echo "#define USE_SYSLOG 1" >>confdefs.h |
13643 |
< |
|
14472 |
> |
CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef" |
14473 |
|
fi |
14474 |
|
|
14475 |
|
|
14559 |
|
test "$exec_prefix_NONE" && exec_prefix=NONE |
14560 |
|
|
14561 |
|
|
14562 |
< |
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 lib/Makefile lib/pcre/Makefile tools/Makefile" |
14562 |
> |
ac_config_files="$ac_config_files Makefile etc/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" |
14563 |
|
|
14564 |
|
|
14565 |
|
cat >confcache <<\_ACEOF |
14626 |
|
:end' >>confcache |
14627 |
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
14628 |
|
if test -w "$cache_file"; then |
14629 |
< |
test "x$cache_file" != "x/dev/null" && |
14629 |
> |
if test "x$cache_file" != "x/dev/null"; then |
14630 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
14631 |
|
$as_echo "$as_me: updating cache $cache_file" >&6;} |
14632 |
< |
cat confcache >$cache_file |
14632 |
> |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
14633 |
> |
cat confcache >"$cache_file" |
14634 |
> |
else |
14635 |
> |
case $cache_file in #( |
14636 |
> |
*/* | ?:*) |
14637 |
> |
mv -f confcache "$cache_file"$$ && |
14638 |
> |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
14639 |
> |
*) |
14640 |
> |
mv -f confcache "$cache_file" ;; |
14641 |
> |
esac |
14642 |
> |
fi |
14643 |
> |
fi |
14644 |
|
else |
14645 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
14646 |
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
14656 |
|
|
14657 |
|
ac_libobjs= |
14658 |
|
ac_ltlibobjs= |
14659 |
+ |
U= |
14660 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
14661 |
|
# 1. Remove the extension, and $U if already installed. |
14662 |
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
14680 |
|
fi |
14681 |
|
|
14682 |
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
14683 |
< |
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. |
14683 |
> |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
14684 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14685 |
|
fi |
14686 |
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
14687 |
< |
as_fn_error "conditional \"AMDEP\" was never defined. |
14687 |
> |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
14688 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14689 |
|
fi |
14690 |
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
14691 |
< |
as_fn_error "conditional \"am__fastdepCC\" was never defined. |
14691 |
> |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
14692 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14693 |
|
fi |
14694 |
|
if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then |
14695 |
< |
as_fn_error "conditional \"INSTALL_LTDL\" was never defined. |
14695 |
> |
as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined. |
14696 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14697 |
|
fi |
14698 |
|
if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then |
14699 |
< |
as_fn_error "conditional \"CONVENIENCE_LTDL\" was never defined. |
14699 |
> |
as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined. |
14700 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14701 |
|
fi |
14702 |
|
LT_CONFIG_H=config.h |
14717 |
|
|
14718 |
|
|
14719 |
|
|
14720 |
+ |
if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then |
14721 |
+ |
as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined. |
14722 |
+ |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14723 |
+ |
fi |
14724 |
|
if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then |
14725 |
< |
as_fn_error "conditional \"ENABLE_SSL\" was never defined. |
14725 |
> |
as_fn_error $? "conditional \"ENABLE_SSL\" was never defined. |
14726 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14727 |
|
fi |
14728 |
|
if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then |
14729 |
< |
as_fn_error "conditional \"EFNET\" was never defined. |
14729 |
> |
as_fn_error $? "conditional \"EFNET\" was never defined. |
14730 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14731 |
|
fi |
14732 |
|
|
14733 |
< |
: ${CONFIG_STATUS=./config.status} |
14733 |
> |
: "${CONFIG_STATUS=./config.status}" |
14734 |
|
ac_write_fail=0 |
14735 |
|
ac_clean_files_save=$ac_clean_files |
14736 |
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
14831 |
|
IFS=" "" $as_nl" |
14832 |
|
|
14833 |
|
# Find who we are. Look in the path if we contain no directory separator. |
14834 |
+ |
as_myself= |
14835 |
|
case $0 in #(( |
14836 |
|
*[\\/]* ) as_myself=$0 ;; |
14837 |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
14877 |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
14878 |
|
|
14879 |
|
|
14880 |
< |
# as_fn_error ERROR [LINENO LOG_FD] |
14881 |
< |
# --------------------------------- |
14880 |
> |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
14881 |
> |
# ---------------------------------------- |
14882 |
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
14883 |
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
14884 |
< |
# script with status $?, using 1 if that was 0. |
14884 |
> |
# script with STATUS, using 1 if that was 0. |
14885 |
|
as_fn_error () |
14886 |
|
{ |
14887 |
< |
as_status=$?; test $as_status -eq 0 && as_status=1 |
14888 |
< |
if test "$3"; then |
14889 |
< |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14890 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
14887 |
> |
as_status=$1; test $as_status -eq 0 && as_status=1 |
14888 |
> |
if test "$4"; then |
14889 |
> |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14890 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
14891 |
|
fi |
14892 |
< |
$as_echo "$as_me: error: $1" >&2 |
14892 |
> |
$as_echo "$as_me: error: $2" >&2 |
14893 |
|
as_fn_exit $as_status |
14894 |
|
} # as_fn_error |
14895 |
|
|
15085 |
|
test -d "$as_dir" && break |
15086 |
|
done |
15087 |
|
test -z "$as_dirs" || eval "mkdir $as_dirs" |
15088 |
< |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
15088 |
> |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
15089 |
|
|
15090 |
|
|
15091 |
|
} # as_fn_mkdir_p |
15138 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
15139 |
|
# values after options handling. |
15140 |
|
ac_log=" |
15141 |
< |
This file was extended by ircd-hybrid $as_me 7.2.4, which was |
15142 |
< |
generated by GNU Autoconf 2.64. Invocation command line was |
15141 |
> |
This file was extended by ircd-hybrid $as_me 8beta1, which was |
15142 |
> |
generated by GNU Autoconf 2.68. Invocation command line was |
15143 |
|
|
15144 |
|
CONFIG_FILES = $CONFIG_FILES |
15145 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
15179 |
|
|
15180 |
|
-h, --help print this help, then exit |
15181 |
|
-V, --version print version number and configuration settings, then exit |
15182 |
+ |
--config print configuration, then exit |
15183 |
|
-q, --quiet, --silent |
15184 |
|
do not print progress messages |
15185 |
|
-d, --debug don't remove temporary files |
15198 |
|
Configuration commands: |
15199 |
|
$config_commands |
15200 |
|
|
15201 |
< |
Report bugs to the package provider." |
15201 |
> |
Report bugs to <bugs@ircd-hybrid.org>." |
15202 |
|
|
15203 |
|
_ACEOF |
15204 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15205 |
+ |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15206 |
|
ac_cs_version="\\ |
15207 |
< |
ircd-hybrid config.status 7.2.4 |
15208 |
< |
configured by $0, generated by GNU Autoconf 2.64, |
15209 |
< |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
15207 |
> |
ircd-hybrid config.status 8beta1 |
15208 |
> |
configured by $0, generated by GNU Autoconf 2.68, |
15209 |
> |
with options \\"\$ac_cs_config\\" |
15210 |
|
|
15211 |
< |
Copyright (C) 2009 Free Software Foundation, Inc. |
15211 |
> |
Copyright (C) 2010 Free Software Foundation, Inc. |
15212 |
|
This config.status script is free software; the Free Software Foundation |
15213 |
|
gives unlimited permission to copy, distribute and modify it." |
15214 |
|
|
15226 |
|
while test $# != 0 |
15227 |
|
do |
15228 |
|
case $1 in |
15229 |
< |
--*=*) |
15229 |
> |
--*=?*) |
15230 |
|
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
15231 |
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
15232 |
|
ac_shift=: |
15233 |
|
;; |
15234 |
+ |
--*=) |
15235 |
+ |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
15236 |
+ |
ac_optarg= |
15237 |
+ |
ac_shift=: |
15238 |
+ |
;; |
15239 |
|
*) |
15240 |
|
ac_option=$1 |
15241 |
|
ac_optarg=$2 |
15249 |
|
ac_cs_recheck=: ;; |
15250 |
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
15251 |
|
$as_echo "$ac_cs_version"; exit ;; |
15252 |
+ |
--config | --confi | --conf | --con | --co | --c ) |
15253 |
+ |
$as_echo "$ac_cs_config"; exit ;; |
15254 |
|
--debug | --debu | --deb | --de | --d | -d ) |
15255 |
|
debug=: ;; |
15256 |
|
--file | --fil | --fi | --f ) |
15257 |
|
$ac_shift |
15258 |
|
case $ac_optarg in |
15259 |
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
15260 |
+ |
'') as_fn_error $? "missing file argument" ;; |
15261 |
|
esac |
15262 |
|
as_fn_append CONFIG_FILES " '$ac_optarg'" |
15263 |
|
ac_need_defaults=false;; |
15270 |
|
ac_need_defaults=false;; |
15271 |
|
--he | --h) |
15272 |
|
# Conflict between --help and --header |
15273 |
< |
as_fn_error "ambiguous option: \`$1' |
15273 |
> |
as_fn_error $? "ambiguous option: \`$1' |
15274 |
|
Try \`$0 --help' for more information.";; |
15275 |
|
--help | --hel | -h ) |
15276 |
|
$as_echo "$ac_cs_usage"; exit ;; |
15279 |
|
ac_cs_silent=: ;; |
15280 |
|
|
15281 |
|
# This is an error. |
15282 |
< |
-*) as_fn_error "unrecognized option: \`$1' |
15282 |
> |
-*) as_fn_error $? "unrecognized option: \`$1' |
15283 |
|
Try \`$0 --help' for more information." ;; |
15284 |
|
|
15285 |
|
*) as_fn_append ac_config_targets " $1" |
15333 |
|
sed_quote_subst='$sed_quote_subst' |
15334 |
|
double_quote_subst='$double_quote_subst' |
15335 |
|
delay_variable_subst='$delay_variable_subst' |
15336 |
< |
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
15337 |
< |
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
15338 |
< |
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
15339 |
< |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
15340 |
< |
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
15341 |
< |
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
15342 |
< |
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
15343 |
< |
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' |
15344 |
< |
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' |
15345 |
< |
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' |
15346 |
< |
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' |
15347 |
< |
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' |
15348 |
< |
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' |
15349 |
< |
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' |
15350 |
< |
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' |
15351 |
< |
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' |
15352 |
< |
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' |
15353 |
< |
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' |
15354 |
< |
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' |
15355 |
< |
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' |
15356 |
< |
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' |
15357 |
< |
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' |
15358 |
< |
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' |
15359 |
< |
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' |
15360 |
< |
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' |
15361 |
< |
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' |
15362 |
< |
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15363 |
< |
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15364 |
< |
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' |
15365 |
< |
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' |
15366 |
< |
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' |
15367 |
< |
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' |
15368 |
< |
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
15369 |
< |
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' |
15370 |
< |
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' |
15371 |
< |
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15372 |
< |
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15373 |
< |
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15374 |
< |
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' |
15375 |
< |
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
15376 |
< |
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' |
15377 |
< |
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' |
15378 |
< |
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' |
15379 |
< |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' |
15380 |
< |
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"`' |
15381 |
< |
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"`' |
15382 |
< |
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' |
15383 |
< |
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' |
15384 |
< |
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' |
15385 |
< |
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' |
15386 |
< |
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15387 |
< |
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' |
15388 |
< |
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' |
15389 |
< |
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' |
15390 |
< |
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' |
15391 |
< |
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' |
15392 |
< |
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' |
15393 |
< |
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' |
15394 |
< |
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' |
15395 |
< |
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' |
15396 |
< |
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' |
15397 |
< |
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' |
15398 |
< |
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15399 |
< |
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15400 |
< |
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' |
15401 |
< |
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' |
15402 |
< |
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15403 |
< |
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15404 |
< |
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' |
15405 |
< |
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15406 |
< |
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15407 |
< |
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15408 |
< |
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15409 |
< |
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15410 |
< |
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15411 |
< |
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' |
15412 |
< |
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15413 |
< |
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
15414 |
< |
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15415 |
< |
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' |
15416 |
< |
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' |
15417 |
< |
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' |
15418 |
< |
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' |
15419 |
< |
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' |
15420 |
< |
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
15421 |
< |
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' |
15422 |
< |
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' |
15423 |
< |
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' |
15424 |
< |
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' |
15425 |
< |
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' |
15426 |
< |
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15427 |
< |
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
15428 |
< |
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
15429 |
< |
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15430 |
< |
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15431 |
< |
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' |
15432 |
< |
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
15433 |
< |
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' |
15434 |
< |
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' |
15435 |
< |
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
15436 |
< |
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
15437 |
< |
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' |
15438 |
< |
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15439 |
< |
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15440 |
< |
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15441 |
< |
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15442 |
< |
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15443 |
< |
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
15444 |
< |
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' |
15445 |
< |
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' |
15446 |
< |
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15447 |
< |
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
15448 |
< |
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' |
15449 |
< |
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' |
15450 |
< |
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' |
15451 |
< |
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' |
15452 |
< |
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' |
15453 |
< |
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' |
15336 |
> |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
15337 |
> |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
15338 |
> |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
15339 |
> |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
15340 |
> |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
15341 |
> |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
15342 |
> |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
15343 |
> |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
15344 |
> |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
15345 |
> |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
15346 |
> |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
15347 |
> |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
15348 |
> |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
15349 |
> |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
15350 |
> |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
15351 |
> |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
15352 |
> |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
15353 |
> |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
15354 |
> |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
15355 |
> |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
15356 |
> |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
15357 |
> |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
15358 |
> |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
15359 |
> |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
15360 |
> |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
15361 |
> |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
15362 |
> |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
15363 |
> |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
15364 |
> |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
15365 |
> |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
15366 |
> |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
15367 |
> |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
15368 |
> |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
15369 |
> |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
15370 |
> |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
15371 |
> |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
15372 |
> |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
15373 |
> |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
15374 |
> |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
15375 |
> |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
15376 |
> |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
15377 |
> |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
15378 |
> |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
15379 |
> |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
15380 |
> |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
15381 |
> |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
15382 |
> |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
15383 |
> |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
15384 |
> |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
15385 |
> |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
15386 |
> |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
15387 |
> |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
15388 |
> |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
15389 |
> |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
15390 |
> |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
15391 |
> |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
15392 |
> |
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"`' |
15393 |
> |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
15394 |
> |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
15395 |
> |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
15396 |
> |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
15397 |
> |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
15398 |
> |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
15399 |
> |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
15400 |
> |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
15401 |
> |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
15402 |
> |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
15403 |
> |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
15404 |
> |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
15405 |
> |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
15406 |
> |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
15407 |
> |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
15408 |
> |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
15409 |
> |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
15410 |
> |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
15411 |
> |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
15412 |
> |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
15413 |
> |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
15414 |
> |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
15415 |
> |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
15416 |
> |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
15417 |
> |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
15418 |
> |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
15419 |
> |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
15420 |
> |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
15421 |
> |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
15422 |
> |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
15423 |
> |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
15424 |
> |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
15425 |
> |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
15426 |
> |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
15427 |
> |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
15428 |
> |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
15429 |
> |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
15430 |
> |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
15431 |
> |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
15432 |
> |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
15433 |
> |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
15434 |
> |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
15435 |
> |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
15436 |
> |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
15437 |
> |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
15438 |
> |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
15439 |
> |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
15440 |
> |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
15441 |
> |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
15442 |
> |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
15443 |
> |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
15444 |
> |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
15445 |
> |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
15446 |
> |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
15447 |
> |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
15448 |
> |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
15449 |
> |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
15450 |
> |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
15451 |
> |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
15452 |
> |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
15453 |
> |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
15454 |
> |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
15455 |
> |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
15456 |
> |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
15457 |
> |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
15458 |
> |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
15459 |
> |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
15460 |
> |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
15461 |
> |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
15462 |
> |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
15463 |
> |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
15464 |
> |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
15465 |
> |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
15466 |
|
|
15467 |
|
LTCC='$LTCC' |
15468 |
|
LTCFLAGS='$LTCFLAGS' |
15469 |
|
compiler='$compiler_DEFAULT' |
15470 |
|
|
15471 |
+ |
# A function that is used when there is no print builtin or printf. |
15472 |
+ |
func_fallback_echo () |
15473 |
+ |
{ |
15474 |
+ |
eval 'cat <<_LTECHO_EOF |
15475 |
+ |
\$1 |
15476 |
+ |
_LTECHO_EOF' |
15477 |
+ |
} |
15478 |
+ |
|
15479 |
|
# Quote evaled strings. |
15480 |
< |
for var in SED \ |
15480 |
> |
for var in SHELL \ |
15481 |
> |
ECHO \ |
15482 |
> |
PATH_SEPARATOR \ |
15483 |
> |
SED \ |
15484 |
|
GREP \ |
15485 |
|
EGREP \ |
15486 |
|
FGREP \ |
15493 |
|
OBJDUMP \ |
15494 |
|
deplibs_check_method \ |
15495 |
|
file_magic_cmd \ |
15496 |
+ |
file_magic_glob \ |
15497 |
+ |
want_nocaseglob \ |
15498 |
+ |
DLLTOOL \ |
15499 |
+ |
sharedlib_from_linklib_cmd \ |
15500 |
|
AR \ |
15501 |
|
AR_FLAGS \ |
15502 |
+ |
archiver_list_spec \ |
15503 |
|
STRIP \ |
15504 |
|
RANLIB \ |
15505 |
|
CC \ |
15509 |
|
lt_cv_sys_global_symbol_to_cdecl \ |
15510 |
|
lt_cv_sys_global_symbol_to_c_name_address \ |
15511 |
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
15512 |
< |
SHELL \ |
14629 |
< |
ECHO \ |
15512 |
> |
nm_file_list_spec \ |
15513 |
|
lt_prog_compiler_no_builtin_flag \ |
14631 |
– |
lt_prog_compiler_wl \ |
15514 |
|
lt_prog_compiler_pic \ |
15515 |
+ |
lt_prog_compiler_wl \ |
15516 |
|
lt_prog_compiler_static \ |
15517 |
|
lt_cv_prog_compiler_c_o \ |
15518 |
|
need_locks \ |
15519 |
+ |
MANIFEST_TOOL \ |
15520 |
|
DSYMUTIL \ |
15521 |
|
NMEDIT \ |
15522 |
|
LIPO \ |
15530 |
|
allow_undefined_flag \ |
15531 |
|
no_undefined_flag \ |
15532 |
|
hardcode_libdir_flag_spec \ |
14649 |
– |
hardcode_libdir_flag_spec_ld \ |
15533 |
|
hardcode_libdir_separator \ |
14651 |
– |
fix_srcfile_path \ |
15534 |
|
exclude_expsyms \ |
15535 |
|
include_expsyms \ |
15536 |
|
file_list_spec \ |
15538 |
|
libname_spec \ |
15539 |
|
library_names_spec \ |
15540 |
|
soname_spec \ |
15541 |
+ |
install_override_mode \ |
15542 |
|
finish_eval \ |
15543 |
|
old_striplib \ |
15544 |
|
striplib; do |
15545 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
15545 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
15546 |
|
*[\\\\\\\`\\"\\\$]*) |
15547 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
15547 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
15548 |
|
;; |
15549 |
|
*) |
15550 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
15566 |
|
module_expsym_cmds \ |
15567 |
|
export_symbols_cmds \ |
15568 |
|
prelink_cmds \ |
15569 |
+ |
postlink_cmds \ |
15570 |
|
postinstall_cmds \ |
15571 |
|
postuninstall_cmds \ |
15572 |
|
finish_cmds \ |
15573 |
|
sys_lib_search_path_spec \ |
15574 |
|
sys_lib_dlsearch_path_spec; do |
15575 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
15575 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
15576 |
|
*[\\\\\\\`\\"\\\$]*) |
15577 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
15577 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
15578 |
|
;; |
15579 |
|
*) |
15580 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
15582 |
|
esac |
15583 |
|
done |
15584 |
|
|
14701 |
– |
# Fix-up fallback echo if it was mangled by the above quoting rules. |
14702 |
– |
case \$lt_ECHO in |
14703 |
– |
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` |
14704 |
– |
;; |
14705 |
– |
esac |
14706 |
– |
|
15585 |
|
ac_aux_dir='$ac_aux_dir' |
15586 |
|
xsi_shell='$xsi_shell' |
15587 |
|
lt_shell_append='$lt_shell_append' |
15615 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
15616 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
15617 |
|
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
14740 |
– |
"etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;; |
14741 |
– |
"etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;; |
14742 |
– |
"etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;; |
14743 |
– |
"servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;; |
15618 |
|
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;; |
15619 |
|
"contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;; |
15620 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
15621 |
+ |
"libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;; |
15622 |
|
"messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;; |
15623 |
|
"modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; |
15624 |
|
"modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;; |
15626 |
|
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;; |
15627 |
|
"help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;; |
15628 |
|
"help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;; |
14754 |
– |
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
14755 |
– |
"lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;; |
15629 |
|
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; |
15630 |
|
|
15631 |
< |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15631 |
> |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15632 |
|
esac |
15633 |
|
done |
15634 |
|
|
15651 |
|
# after its creation but before its name has been assigned to `$tmp'. |
15652 |
|
$debug || |
15653 |
|
{ |
15654 |
< |
tmp= |
15654 |
> |
tmp= ac_tmp= |
15655 |
|
trap 'exit_status=$? |
15656 |
< |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
15656 |
> |
: "${ac_tmp:=$tmp}" |
15657 |
> |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
15658 |
|
' 0 |
15659 |
|
trap 'as_fn_exit 1' 1 2 13 15 |
15660 |
|
} |
15662 |
|
|
15663 |
|
{ |
15664 |
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
15665 |
< |
test -n "$tmp" && test -d "$tmp" |
15665 |
> |
test -d "$tmp" |
15666 |
|
} || |
15667 |
|
{ |
15668 |
|
tmp=./conf$$-$RANDOM |
15669 |
|
(umask 077 && mkdir "$tmp") |
15670 |
< |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
15670 |
> |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
15671 |
> |
ac_tmp=$tmp |
15672 |
|
|
15673 |
|
# Set up the scripts for CONFIG_FILES section. |
15674 |
|
# No need to generate them if there are no CONFIG_FILES. |
15685 |
|
fi |
15686 |
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
15687 |
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
15688 |
< |
ac_cs_awk_cr='\r' |
15688 |
> |
ac_cs_awk_cr='\\r' |
15689 |
|
else |
15690 |
|
ac_cs_awk_cr=$ac_cr |
15691 |
|
fi |
15692 |
|
|
15693 |
< |
echo 'BEGIN {' >"$tmp/subs1.awk" && |
15693 |
> |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
15694 |
|
_ACEOF |
15695 |
|
|
15696 |
|
|
15699 |
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
15700 |
|
echo "_ACEOF" |
15701 |
|
} >conf$$subs.sh || |
15702 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15703 |
< |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
15702 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15703 |
> |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
15704 |
|
ac_delim='%!_!# ' |
15705 |
|
for ac_last_try in false false false false false :; do |
15706 |
|
. ./conf$$subs.sh || |
15707 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15707 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15708 |
|
|
15709 |
|
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
15710 |
|
if test $ac_delim_n = $ac_delim_num; then |
15711 |
|
break |
15712 |
|
elif $ac_last_try; then |
15713 |
< |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15713 |
> |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15714 |
|
else |
15715 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15716 |
|
fi |
15718 |
|
rm -f conf$$subs.sh |
15719 |
|
|
15720 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15721 |
< |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
15721 |
> |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
15722 |
|
_ACEOF |
15723 |
|
sed -n ' |
15724 |
|
h |
15732 |
|
t delim |
15733 |
|
:nl |
15734 |
|
h |
15735 |
< |
s/\(.\{148\}\).*/\1/ |
15735 |
> |
s/\(.\{148\}\)..*/\1/ |
15736 |
|
t more1 |
15737 |
|
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
15738 |
|
p |
15746 |
|
t nl |
15747 |
|
:delim |
15748 |
|
h |
15749 |
< |
s/\(.\{148\}\).*/\1/ |
15749 |
> |
s/\(.\{148\}\)..*/\1/ |
15750 |
|
t more2 |
15751 |
|
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
15752 |
|
p |
15766 |
|
rm -f conf$$subs.awk |
15767 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15768 |
|
_ACAWK |
15769 |
< |
cat >>"\$tmp/subs1.awk" <<_ACAWK && |
15769 |
> |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
15770 |
|
for (key in S) S_is_set[key] = 1 |
15771 |
|
FS = "" |
15772 |
|
|
15798 |
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15799 |
|
else |
15800 |
|
cat |
15801 |
< |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
15802 |
< |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5 |
15801 |
> |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
15802 |
> |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
15803 |
|
_ACEOF |
15804 |
|
|
15805 |
< |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
15806 |
< |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
15805 |
> |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
15806 |
> |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
15807 |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
15808 |
|
# (actually we leave an empty line to preserve line numbers). |
15809 |
|
if test "x$srcdir" = x.; then |
15810 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
15811 |
< |
s/:*\$(srcdir):*/:/ |
15812 |
< |
s/:*\${srcdir}:*/:/ |
15813 |
< |
s/:*@srcdir@:*/:/ |
15814 |
< |
s/^\([^=]*=[ ]*\):*/\1/ |
15810 |
> |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
15811 |
> |
h |
15812 |
> |
s/// |
15813 |
> |
s/^/:/ |
15814 |
> |
s/[ ]*$/:/ |
15815 |
> |
s/:\$(srcdir):/:/g |
15816 |
> |
s/:\${srcdir}:/:/g |
15817 |
> |
s/:@srcdir@:/:/g |
15818 |
> |
s/^:*// |
15819 |
|
s/:*$// |
15820 |
+ |
x |
15821 |
+ |
s/\(=[ ]*\).*/\1/ |
15822 |
+ |
G |
15823 |
+ |
s/\n// |
15824 |
|
s/^[^=]*=[ ]*$// |
15825 |
|
}' |
15826 |
|
fi |
15832 |
|
# No need to generate them if there are no CONFIG_HEADERS. |
15833 |
|
# This happens for instance with `./config.status Makefile'. |
15834 |
|
if test -n "$CONFIG_HEADERS"; then |
15835 |
< |
cat >"$tmp/defines.awk" <<\_ACAWK || |
15835 |
> |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
15836 |
|
BEGIN { |
15837 |
|
_ACEOF |
15838 |
|
|
15844 |
|
# handling of long lines. |
15845 |
|
ac_delim='%!_!# ' |
15846 |
|
for ac_last_try in false false :; do |
15847 |
< |
ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
15848 |
< |
if test -z "$ac_t"; then |
15847 |
> |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
15848 |
> |
if test -z "$ac_tt"; then |
15849 |
|
break |
15850 |
|
elif $ac_last_try; then |
15851 |
< |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15851 |
> |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15852 |
|
else |
15853 |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15854 |
|
fi |
15933 |
|
_ACAWK |
15934 |
|
_ACEOF |
15935 |
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15936 |
< |
as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
15936 |
> |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
15937 |
|
fi # test -n "$CONFIG_HEADERS" |
15938 |
|
|
15939 |
|
|
15946 |
|
esac |
15947 |
|
case $ac_mode$ac_tag in |
15948 |
|
:[FHL]*:*);; |
15949 |
< |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
15949 |
> |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
15950 |
|
:[FH]-) ac_tag=-:-;; |
15951 |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
15952 |
|
esac |
15965 |
|
for ac_f |
15966 |
|
do |
15967 |
|
case $ac_f in |
15968 |
< |
-) ac_f="$tmp/stdin";; |
15968 |
> |
-) ac_f="$ac_tmp/stdin";; |
15969 |
|
*) # Look for the file first in the build tree, then in the source tree |
15970 |
|
# (if the path is not absolute). The absolute path cannot be DOS-style, |
15971 |
|
# because $ac_f cannot contain `:'. |
15974 |
|
[\\/$]*) false;; |
15975 |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
15976 |
|
esac || |
15977 |
< |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
15977 |
> |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
15978 |
|
esac |
15979 |
|
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
15980 |
|
as_fn_append ac_file_inputs " '$ac_f'" |
16000 |
|
esac |
16001 |
|
|
16002 |
|
case $ac_tag in |
16003 |
< |
*:-:* | *:-) cat >"$tmp/stdin" \ |
16004 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
16003 |
> |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
16004 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
16005 |
|
esac |
16006 |
|
;; |
16007 |
|
esac |
16137 |
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
16138 |
|
$ac_datarootdir_hack |
16139 |
|
" |
16140 |
< |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
16141 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16140 |
> |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
16141 |
> |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16142 |
|
|
16143 |
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
16144 |
< |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
16145 |
< |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
16144 |
> |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
16145 |
> |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
16146 |
> |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
16147 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16148 |
< |
which seems to be undefined. Please make sure it is defined." >&5 |
16148 |
> |
which seems to be undefined. Please make sure it is defined" >&5 |
16149 |
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
16150 |
< |
which seems to be undefined. Please make sure it is defined." >&2;} |
16150 |
> |
which seems to be undefined. Please make sure it is defined" >&2;} |
16151 |
|
|
16152 |
< |
rm -f "$tmp/stdin" |
16152 |
> |
rm -f "$ac_tmp/stdin" |
16153 |
|
case $ac_file in |
16154 |
< |
-) cat "$tmp/out" && rm -f "$tmp/out";; |
16155 |
< |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
16154 |
> |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
16155 |
> |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
16156 |
|
esac \ |
16157 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16157 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16158 |
|
;; |
16159 |
|
:H) |
16160 |
|
# |
16163 |
|
if test x"$ac_file" != x-; then |
16164 |
|
{ |
16165 |
|
$as_echo "/* $configure_input */" \ |
16166 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
16167 |
< |
} >"$tmp/config.h" \ |
16168 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16169 |
< |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
16166 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
16167 |
> |
} >"$ac_tmp/config.h" \ |
16168 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16169 |
> |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
16170 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
16171 |
|
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
16172 |
|
else |
16173 |
|
rm -f "$ac_file" |
16174 |
< |
mv "$tmp/config.h" "$ac_file" \ |
16175 |
< |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 |
16174 |
> |
mv "$ac_tmp/config.h" "$ac_file" \ |
16175 |
> |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
16176 |
|
fi |
16177 |
|
else |
16178 |
|
$as_echo "/* $configure_input */" \ |
16179 |
< |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
16180 |
< |
|| as_fn_error "could not create -" "$LINENO" 5 |
16179 |
> |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
16180 |
> |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
16181 |
|
fi |
16182 |
|
# Compute "$ac_file"'s index in $config_headers. |
16183 |
|
_am_arg="$ac_file" |
16338 |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
16339 |
|
# |
16340 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
16341 |
< |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
16341 |
> |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
16342 |
> |
# Foundation, Inc. |
16343 |
|
# Written by Gordon Matzigkeit, 1996 |
16344 |
|
# |
16345 |
|
# This file is part of GNU Libtool. |
16387 |
|
# Whether or not to optimize for fast installation. |
16388 |
|
fast_install=$enable_fast_install |
16389 |
|
|
16390 |
+ |
# Shell to use when invoking shell scripts. |
16391 |
+ |
SHELL=$lt_SHELL |
16392 |
+ |
|
16393 |
+ |
# An echo program that protects backslashes. |
16394 |
+ |
ECHO=$lt_ECHO |
16395 |
+ |
|
16396 |
+ |
# The PATH separator for the build system. |
16397 |
+ |
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
16398 |
+ |
|
16399 |
|
# The host system. |
16400 |
|
host_alias=$host_alias |
16401 |
|
host=$host |
16445 |
|
# turn newlines into spaces. |
16446 |
|
NL2SP=$lt_lt_NL2SP |
16447 |
|
|
16448 |
< |
# How to create reloadable object files. |
16449 |
< |
reload_flag=$lt_reload_flag |
16450 |
< |
reload_cmds=$lt_reload_cmds |
16448 |
> |
# convert \$build file names to \$host format. |
16449 |
> |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
16450 |
> |
|
16451 |
> |
# convert \$build files to toolchain format. |
16452 |
> |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
16453 |
|
|
16454 |
|
# An object symbol dumper. |
16455 |
|
OBJDUMP=$lt_OBJDUMP |
16457 |
|
# Method to check whether dependent libraries are shared objects. |
16458 |
|
deplibs_check_method=$lt_deplibs_check_method |
16459 |
|
|
16460 |
< |
# Command to use when deplibs_check_method == "file_magic". |
16460 |
> |
# Command to use when deplibs_check_method = "file_magic". |
16461 |
|
file_magic_cmd=$lt_file_magic_cmd |
16462 |
|
|
16463 |
+ |
# How to find potential files when deplibs_check_method = "file_magic". |
16464 |
+ |
file_magic_glob=$lt_file_magic_glob |
16465 |
+ |
|
16466 |
+ |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
16467 |
+ |
want_nocaseglob=$lt_want_nocaseglob |
16468 |
+ |
|
16469 |
+ |
# DLL creation program. |
16470 |
+ |
DLLTOOL=$lt_DLLTOOL |
16471 |
+ |
|
16472 |
+ |
# Command to associate shared and link libraries. |
16473 |
+ |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
16474 |
+ |
|
16475 |
|
# The archiver. |
16476 |
|
AR=$lt_AR |
16477 |
+ |
|
16478 |
+ |
# Flags to create an archive. |
16479 |
|
AR_FLAGS=$lt_AR_FLAGS |
16480 |
|
|
16481 |
+ |
# How to feed a file listing to the archiver. |
16482 |
+ |
archiver_list_spec=$lt_archiver_list_spec |
16483 |
+ |
|
16484 |
|
# A symbol stripping program. |
16485 |
|
STRIP=$lt_STRIP |
16486 |
|
|
16489 |
|
old_postinstall_cmds=$lt_old_postinstall_cmds |
16490 |
|
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
16491 |
|
|
16492 |
+ |
# Whether to use a lock for old archive extraction. |
16493 |
+ |
lock_old_archive_extraction=$lock_old_archive_extraction |
16494 |
+ |
|
16495 |
|
# A C compiler. |
16496 |
|
LTCC=$lt_CC |
16497 |
|
|
16510 |
|
# Transform the output of nm in a C name address pair when lib prefix is needed. |
16511 |
|
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
16512 |
|
|
16513 |
< |
# The name of the directory that contains temporary libtool files. |
16514 |
< |
objdir=$objdir |
16513 |
> |
# Specify filename containing input files for \$NM. |
16514 |
> |
nm_file_list_spec=$lt_nm_file_list_spec |
16515 |
|
|
16516 |
< |
# Shell to use when invoking shell scripts. |
16517 |
< |
SHELL=$lt_SHELL |
16516 |
> |
# The root where to search for dependent libraries,and in which our libraries should be installed. |
16517 |
> |
lt_sysroot=$lt_sysroot |
16518 |
|
|
16519 |
< |
# An echo program that does not interpret backslashes. |
16520 |
< |
ECHO=$lt_ECHO |
16519 |
> |
# The name of the directory that contains temporary libtool files. |
16520 |
> |
objdir=$objdir |
16521 |
|
|
16522 |
|
# Used to examine libraries when file_magic_cmd begins with "file". |
16523 |
|
MAGIC_CMD=$MAGIC_CMD |
16525 |
|
# Must we lock files when doing compilation? |
16526 |
|
need_locks=$lt_need_locks |
16527 |
|
|
16528 |
+ |
# Manifest tool. |
16529 |
+ |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
16530 |
+ |
|
16531 |
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
16532 |
|
DSYMUTIL=$lt_DSYMUTIL |
16533 |
|
|
16584 |
|
# The coded name of the library, if different from the real name. |
16585 |
|
soname_spec=$lt_soname_spec |
16586 |
|
|
16587 |
+ |
# Permission mode override for installation of shared libraries. |
16588 |
+ |
install_override_mode=$lt_install_override_mode |
16589 |
+ |
|
16590 |
|
# Command to use after installation of a shared archive. |
16591 |
|
postinstall_cmds=$lt_postinstall_cmds |
16592 |
|
|
16626 |
|
# The linker used to build libraries. |
16627 |
|
LD=$lt_LD |
16628 |
|
|
16629 |
+ |
# How to create reloadable object files. |
16630 |
+ |
reload_flag=$lt_reload_flag |
16631 |
+ |
reload_cmds=$lt_reload_cmds |
16632 |
+ |
|
16633 |
|
# Commands used to build an old-style archive. |
16634 |
|
old_archive_cmds=$lt_old_archive_cmds |
16635 |
|
|
16642 |
|
# Compiler flag to turn off builtin functions. |
16643 |
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
16644 |
|
|
15719 |
– |
# How to pass a linker flag through the compiler. |
15720 |
– |
wl=$lt_lt_prog_compiler_wl |
15721 |
– |
|
16645 |
|
# Additional compiler flags for building library objects. |
16646 |
|
pic_flag=$lt_lt_prog_compiler_pic |
16647 |
|
|
16648 |
+ |
# How to pass a linker flag through the compiler. |
16649 |
+ |
wl=$lt_lt_prog_compiler_wl |
16650 |
+ |
|
16651 |
|
# Compiler flag to prevent dynamic linking. |
16652 |
|
link_static_flag=$lt_lt_prog_compiler_static |
16653 |
|
|
16697 |
|
# This must work even if \$libdir does not exist |
16698 |
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
16699 |
|
|
15774 |
– |
# If ld is used when linking, flag to hardcode \$libdir into a binary |
15775 |
– |
# during linking. This must work even if \$libdir does not exist. |
15776 |
– |
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
15777 |
– |
|
16700 |
|
# Whether we need a single "-rpath" flag with a separated argument. |
16701 |
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
16702 |
|
|
16730 |
|
# Whether libtool must link a program against all its dependency libraries. |
16731 |
|
link_all_deplibs=$link_all_deplibs |
16732 |
|
|
15811 |
– |
# Fix the shell variable \$srcfile for the compiler. |
15812 |
– |
fix_srcfile_path=$lt_fix_srcfile_path |
15813 |
– |
|
16733 |
|
# Set to "yes" if exported symbols are required. |
16734 |
|
always_export_symbols=$always_export_symbols |
16735 |
|
|
16745 |
|
# Commands necessary for linking programs (against libraries) with templates. |
16746 |
|
prelink_cmds=$lt_prelink_cmds |
16747 |
|
|
16748 |
+ |
# Commands necessary for finishing linking programs. |
16749 |
+ |
postlink_cmds=$lt_postlink_cmds |
16750 |
+ |
|
16751 |
|
# Specify filename containing input files. |
16752 |
|
file_list_spec=$lt_file_list_spec |
16753 |
|
|
16780 |
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
16781 |
|
# text mode, it properly converts lines to CR/LF. This bash problem |
16782 |
|
# is reportedly fixed, but why not run on old versions too? |
16783 |
< |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
16784 |
< |
|| (rm -f "$cfgfile"; exit 1) |
15863 |
< |
|
15864 |
< |
case $xsi_shell in |
15865 |
< |
yes) |
15866 |
< |
cat << \_LT_EOF >> "$cfgfile" |
15867 |
< |
|
15868 |
< |
# func_dirname file append nondir_replacement |
15869 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
15870 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
15871 |
< |
func_dirname () |
15872 |
< |
{ |
15873 |
< |
case ${1} in |
15874 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
15875 |
< |
* ) func_dirname_result="${3}" ;; |
15876 |
< |
esac |
15877 |
< |
} |
15878 |
< |
|
15879 |
< |
# func_basename file |
15880 |
< |
func_basename () |
15881 |
< |
{ |
15882 |
< |
func_basename_result="${1##*/}" |
15883 |
< |
} |
15884 |
< |
|
15885 |
< |
# func_dirname_and_basename file append nondir_replacement |
15886 |
< |
# perform func_basename and func_dirname in a single function |
15887 |
< |
# call: |
15888 |
< |
# dirname: Compute the dirname of FILE. If nonempty, |
15889 |
< |
# add APPEND to the result, otherwise set result |
15890 |
< |
# to NONDIR_REPLACEMENT. |
15891 |
< |
# value returned in "$func_dirname_result" |
15892 |
< |
# basename: Compute filename of FILE. |
15893 |
< |
# value retuned in "$func_basename_result" |
15894 |
< |
# Implementation must be kept synchronized with func_dirname |
15895 |
< |
# and func_basename. For efficiency, we do not delegate to |
15896 |
< |
# those functions but instead duplicate the functionality here. |
15897 |
< |
func_dirname_and_basename () |
15898 |
< |
{ |
15899 |
< |
case ${1} in |
15900 |
< |
*/*) func_dirname_result="${1%/*}${2}" ;; |
15901 |
< |
* ) func_dirname_result="${3}" ;; |
15902 |
< |
esac |
15903 |
< |
func_basename_result="${1##*/}" |
15904 |
< |
} |
15905 |
< |
|
15906 |
< |
# func_stripname prefix suffix name |
15907 |
< |
# strip PREFIX and SUFFIX off of NAME. |
15908 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
15909 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
15910 |
< |
# dot (in which case that matches only a dot). |
15911 |
< |
func_stripname () |
15912 |
< |
{ |
15913 |
< |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
15914 |
< |
# positional parameters, so assign one to ordinary parameter first. |
15915 |
< |
func_stripname_result=${3} |
15916 |
< |
func_stripname_result=${func_stripname_result#"${1}"} |
15917 |
< |
func_stripname_result=${func_stripname_result%"${2}"} |
15918 |
< |
} |
15919 |
< |
|
15920 |
< |
# func_opt_split |
15921 |
< |
func_opt_split () |
15922 |
< |
{ |
15923 |
< |
func_opt_split_opt=${1%%=*} |
15924 |
< |
func_opt_split_arg=${1#*=} |
15925 |
< |
} |
15926 |
< |
|
15927 |
< |
# func_lo2o object |
15928 |
< |
func_lo2o () |
15929 |
< |
{ |
15930 |
< |
case ${1} in |
15931 |
< |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
15932 |
< |
*) func_lo2o_result=${1} ;; |
15933 |
< |
esac |
15934 |
< |
} |
15935 |
< |
|
15936 |
< |
# func_xform libobj-or-source |
15937 |
< |
func_xform () |
15938 |
< |
{ |
15939 |
< |
func_xform_result=${1%.*}.lo |
15940 |
< |
} |
15941 |
< |
|
15942 |
< |
# func_arith arithmetic-term... |
15943 |
< |
func_arith () |
15944 |
< |
{ |
15945 |
< |
func_arith_result=$(( $* )) |
15946 |
< |
} |
15947 |
< |
|
15948 |
< |
# func_len string |
15949 |
< |
# STRING may not start with a hyphen. |
15950 |
< |
func_len () |
15951 |
< |
{ |
15952 |
< |
func_len_result=${#1} |
15953 |
< |
} |
15954 |
< |
|
15955 |
< |
_LT_EOF |
15956 |
< |
;; |
15957 |
< |
*) # Bourne compatible functions. |
15958 |
< |
cat << \_LT_EOF >> "$cfgfile" |
15959 |
< |
|
15960 |
< |
# func_dirname file append nondir_replacement |
15961 |
< |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
15962 |
< |
# otherwise set result to NONDIR_REPLACEMENT. |
15963 |
< |
func_dirname () |
15964 |
< |
{ |
15965 |
< |
# Extract subdirectory from the argument. |
15966 |
< |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
15967 |
< |
if test "X$func_dirname_result" = "X${1}"; then |
15968 |
< |
func_dirname_result="${3}" |
15969 |
< |
else |
15970 |
< |
func_dirname_result="$func_dirname_result${2}" |
15971 |
< |
fi |
15972 |
< |
} |
15973 |
< |
|
15974 |
< |
# func_basename file |
15975 |
< |
func_basename () |
15976 |
< |
{ |
15977 |
< |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
15978 |
< |
} |
15979 |
< |
|
15980 |
< |
|
15981 |
< |
# func_stripname prefix suffix name |
15982 |
< |
# strip PREFIX and SUFFIX off of NAME. |
15983 |
< |
# PREFIX and SUFFIX must not contain globbing or regex special |
15984 |
< |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
15985 |
< |
# dot (in which case that matches only a dot). |
15986 |
< |
# func_strip_suffix prefix name |
15987 |
< |
func_stripname () |
15988 |
< |
{ |
15989 |
< |
case ${2} in |
15990 |
< |
.*) func_stripname_result=`$ECHO "X${3}" \ |
15991 |
< |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; |
15992 |
< |
*) func_stripname_result=`$ECHO "X${3}" \ |
15993 |
< |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; |
15994 |
< |
esac |
15995 |
< |
} |
15996 |
< |
|
15997 |
< |
# sed scripts: |
15998 |
< |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
15999 |
< |
my_sed_long_arg='1s/^-[^=]*=//' |
16000 |
< |
|
16001 |
< |
# func_opt_split |
16002 |
< |
func_opt_split () |
16003 |
< |
{ |
16004 |
< |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` |
16005 |
< |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` |
16006 |
< |
} |
16007 |
< |
|
16008 |
< |
# func_lo2o object |
16009 |
< |
func_lo2o () |
16010 |
< |
{ |
16011 |
< |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
16012 |
< |
} |
16013 |
< |
|
16014 |
< |
# func_xform libobj-or-source |
16015 |
< |
func_xform () |
16016 |
< |
{ |
16017 |
< |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` |
16018 |
< |
} |
16019 |
< |
|
16020 |
< |
# func_arith arithmetic-term... |
16021 |
< |
func_arith () |
16022 |
< |
{ |
16023 |
< |
func_arith_result=`expr "$@"` |
16024 |
< |
} |
16025 |
< |
|
16026 |
< |
# func_len string |
16027 |
< |
# STRING may not start with a hyphen. |
16028 |
< |
func_len () |
16029 |
< |
{ |
16030 |
< |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
16031 |
< |
} |
16032 |
< |
|
16033 |
< |
_LT_EOF |
16034 |
< |
esac |
16035 |
< |
|
16036 |
< |
case $lt_shell_append in |
16037 |
< |
yes) |
16038 |
< |
cat << \_LT_EOF >> "$cfgfile" |
16039 |
< |
|
16040 |
< |
# func_append var value |
16041 |
< |
# Append VALUE to the end of shell variable VAR. |
16042 |
< |
func_append () |
16043 |
< |
{ |
16044 |
< |
eval "$1+=\$2" |
16045 |
< |
} |
16046 |
< |
_LT_EOF |
16047 |
< |
;; |
16048 |
< |
*) |
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=\$$1\$2" |
16056 |
< |
} |
16057 |
< |
|
16058 |
< |
_LT_EOF |
16059 |
< |
;; |
16060 |
< |
esac |
16783 |
> |
sed '$q' "$ltmain" >> "$cfgfile" \ |
16784 |
> |
|| (rm -f "$cfgfile"; exit 1) |
16785 |
|
|
16786 |
+ |
if test x"$xsi_shell" = xyes; then |
16787 |
+ |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
16788 |
+ |
func_dirname ()\ |
16789 |
+ |
{\ |
16790 |
+ |
\ case ${1} in\ |
16791 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
16792 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
16793 |
+ |
\ esac\ |
16794 |
+ |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
16795 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16796 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16797 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16798 |
+ |
|
16799 |
+ |
|
16800 |
+ |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
16801 |
+ |
func_basename ()\ |
16802 |
+ |
{\ |
16803 |
+ |
\ func_basename_result="${1##*/}"\ |
16804 |
+ |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
16805 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16806 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16807 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16808 |
+ |
|
16809 |
+ |
|
16810 |
+ |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
16811 |
+ |
func_dirname_and_basename ()\ |
16812 |
+ |
{\ |
16813 |
+ |
\ case ${1} in\ |
16814 |
+ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
16815 |
+ |
\ * ) func_dirname_result="${3}" ;;\ |
16816 |
+ |
\ esac\ |
16817 |
+ |
\ func_basename_result="${1##*/}"\ |
16818 |
+ |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
16819 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16820 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16821 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16822 |
+ |
|
16823 |
+ |
|
16824 |
+ |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
16825 |
+ |
func_stripname ()\ |
16826 |
+ |
{\ |
16827 |
+ |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
16828 |
+ |
\ # positional parameters, so assign one to ordinary parameter first.\ |
16829 |
+ |
\ func_stripname_result=${3}\ |
16830 |
+ |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
16831 |
+ |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
16832 |
+ |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
16833 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16834 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16835 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16836 |
+ |
|
16837 |
+ |
|
16838 |
+ |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
16839 |
+ |
func_split_long_opt ()\ |
16840 |
+ |
{\ |
16841 |
+ |
\ func_split_long_opt_name=${1%%=*}\ |
16842 |
+ |
\ func_split_long_opt_arg=${1#*=}\ |
16843 |
+ |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
16844 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16845 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16846 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16847 |
+ |
|
16848 |
+ |
|
16849 |
+ |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
16850 |
+ |
func_split_short_opt ()\ |
16851 |
+ |
{\ |
16852 |
+ |
\ func_split_short_opt_arg=${1#??}\ |
16853 |
+ |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
16854 |
+ |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
16855 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16856 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16857 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16858 |
+ |
|
16859 |
+ |
|
16860 |
+ |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
16861 |
+ |
func_lo2o ()\ |
16862 |
+ |
{\ |
16863 |
+ |
\ case ${1} in\ |
16864 |
+ |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
16865 |
+ |
\ *) func_lo2o_result=${1} ;;\ |
16866 |
+ |
\ esac\ |
16867 |
+ |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
16868 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16869 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16870 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16871 |
+ |
|
16872 |
+ |
|
16873 |
+ |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
16874 |
+ |
func_xform ()\ |
16875 |
+ |
{\ |
16876 |
+ |
func_xform_result=${1%.*}.lo\ |
16877 |
+ |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
16878 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16879 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16880 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16881 |
+ |
|
16882 |
+ |
|
16883 |
+ |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
16884 |
+ |
func_arith ()\ |
16885 |
+ |
{\ |
16886 |
+ |
func_arith_result=$(( $* ))\ |
16887 |
+ |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
16888 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16889 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16890 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16891 |
+ |
|
16892 |
+ |
|
16893 |
+ |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
16894 |
+ |
func_len ()\ |
16895 |
+ |
{\ |
16896 |
+ |
func_len_result=${#1}\ |
16897 |
+ |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
16898 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16899 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16900 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16901 |
+ |
|
16902 |
+ |
fi |
16903 |
+ |
|
16904 |
+ |
if test x"$lt_shell_append" = xyes; then |
16905 |
+ |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
16906 |
+ |
func_append ()\ |
16907 |
+ |
{\ |
16908 |
+ |
eval "${1}+=\\${2}"\ |
16909 |
+ |
} # Extended-shell func_append 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_append_quoted ()$/,/^} # func_append_quoted /c\ |
16916 |
+ |
func_append_quoted ()\ |
16917 |
+ |
{\ |
16918 |
+ |
\ func_quote_for_eval "${2}"\ |
16919 |
+ |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
16920 |
+ |
} # Extended-shell func_append_quoted 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 |
+ |
# Save a `func_append' function call where possible by direct use of '+=' |
16927 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
16928 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16929 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16930 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16931 |
+ |
else |
16932 |
+ |
# Save a `func_append' function call even when '+=' is not available |
16933 |
+ |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
16934 |
+ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
16935 |
+ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
16936 |
+ |
test 0 -eq $? || _lt_function_replace_fail=: |
16937 |
+ |
fi |
16938 |
+ |
|
16939 |
+ |
if test x"$_lt_function_replace_fail" = x":"; then |
16940 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
16941 |
+ |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
16942 |
+ |
fi |
16943 |
|
|
16063 |
– |
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
16064 |
– |
|| (rm -f "$cfgfile"; exit 1) |
16944 |
|
|
16945 |
< |
mv -f "$cfgfile" "$ofile" || |
16945 |
> |
mv -f "$cfgfile" "$ofile" || |
16946 |
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
16947 |
|
chmod +x "$ofile" |
16948 |
|
|
16957 |
|
ac_clean_files=$ac_clean_files_save |
16958 |
|
|
16959 |
|
test $ac_write_fail = 0 || |
16960 |
< |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
16960 |
> |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
16961 |
|
|
16962 |
|
|
16963 |
|
# configure is writing to config.log, and then calls config.status. |
16978 |
|
exec 5>>config.log |
16979 |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
16980 |
|
# would make configure fail if this is the last instruction. |
16981 |
< |
$ac_cs_success || as_fn_exit $? |
16103 |
< |
fi |
16104 |
< |
|
16105 |
< |
# |
16106 |
< |
# CONFIG_SUBDIRS section. |
16107 |
< |
# |
16108 |
< |
if test "$no_recursion" != yes; then |
16109 |
< |
|
16110 |
< |
# Remove --cache-file, --srcdir, and --disable-option-checking arguments |
16111 |
< |
# so they do not pile up. |
16112 |
< |
ac_sub_configure_args= |
16113 |
< |
ac_prev= |
16114 |
< |
eval "set x $ac_configure_args" |
16115 |
< |
shift |
16116 |
< |
for ac_arg |
16117 |
< |
do |
16118 |
< |
if test -n "$ac_prev"; then |
16119 |
< |
ac_prev= |
16120 |
< |
continue |
16121 |
< |
fi |
16122 |
< |
case $ac_arg in |
16123 |
< |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
16124 |
< |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
16125 |
< |
ac_prev=cache_file ;; |
16126 |
< |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
16127 |
< |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
16128 |
< |
| --c=*) |
16129 |
< |
;; |
16130 |
< |
--config-cache | -C) |
16131 |
< |
;; |
16132 |
< |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
16133 |
< |
ac_prev=srcdir ;; |
16134 |
< |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
16135 |
< |
;; |
16136 |
< |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
16137 |
< |
ac_prev=prefix ;; |
16138 |
< |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
16139 |
< |
;; |
16140 |
< |
--disable-option-checking) |
16141 |
< |
;; |
16142 |
< |
*) |
16143 |
< |
case $ac_arg in |
16144 |
< |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
16145 |
< |
esac |
16146 |
< |
as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
16147 |
< |
esac |
16148 |
< |
done |
16149 |
< |
|
16150 |
< |
# Always prepend --prefix to ensure using the same prefix |
16151 |
< |
# in subdir configurations. |
16152 |
< |
ac_arg="--prefix=$prefix" |
16153 |
< |
case $ac_arg in |
16154 |
< |
*\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
16155 |
< |
esac |
16156 |
< |
ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
16157 |
< |
|
16158 |
< |
# Pass --silent |
16159 |
< |
if test "$silent" = yes; then |
16160 |
< |
ac_sub_configure_args="--silent $ac_sub_configure_args" |
16161 |
< |
fi |
16162 |
< |
|
16163 |
< |
# Always prepend --disable-option-checking to silence warnings, since |
16164 |
< |
# different subdirs can have different --enable and --with options. |
16165 |
< |
ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
16166 |
< |
|
16167 |
< |
ac_popdir=`pwd` |
16168 |
< |
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
16169 |
< |
|
16170 |
< |
# Do not complain, so a configure script can configure whichever |
16171 |
< |
# parts of a large source tree are present. |
16172 |
< |
test -d "$srcdir/$ac_dir" || continue |
16173 |
< |
|
16174 |
< |
ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
16175 |
< |
$as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
16176 |
< |
$as_echo "$ac_msg" >&6 |
16177 |
< |
as_dir="$ac_dir"; as_fn_mkdir_p |
16178 |
< |
ac_builddir=. |
16179 |
< |
|
16180 |
< |
case "$ac_dir" in |
16181 |
< |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
16182 |
< |
*) |
16183 |
< |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
16184 |
< |
# A ".." for each directory in $ac_dir_suffix. |
16185 |
< |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
16186 |
< |
case $ac_top_builddir_sub in |
16187 |
< |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
16188 |
< |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
16189 |
< |
esac ;; |
16190 |
< |
esac |
16191 |
< |
ac_abs_top_builddir=$ac_pwd |
16192 |
< |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
16193 |
< |
# for backward compatibility: |
16194 |
< |
ac_top_builddir=$ac_top_build_prefix |
16195 |
< |
|
16196 |
< |
case $srcdir in |
16197 |
< |
.) # We are building in place. |
16198 |
< |
ac_srcdir=. |
16199 |
< |
ac_top_srcdir=$ac_top_builddir_sub |
16200 |
< |
ac_abs_top_srcdir=$ac_pwd ;; |
16201 |
< |
[\\/]* | ?:[\\/]* ) # Absolute name. |
16202 |
< |
ac_srcdir=$srcdir$ac_dir_suffix; |
16203 |
< |
ac_top_srcdir=$srcdir |
16204 |
< |
ac_abs_top_srcdir=$srcdir ;; |
16205 |
< |
*) # Relative name. |
16206 |
< |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
16207 |
< |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
16208 |
< |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
16209 |
< |
esac |
16210 |
< |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
16211 |
< |
|
16212 |
< |
|
16213 |
< |
cd "$ac_dir" |
16214 |
< |
|
16215 |
< |
# Check for guested configure; otherwise get Cygnus style configure. |
16216 |
< |
if test -f "$ac_srcdir/configure.gnu"; then |
16217 |
< |
ac_sub_configure=$ac_srcdir/configure.gnu |
16218 |
< |
elif test -f "$ac_srcdir/configure"; then |
16219 |
< |
ac_sub_configure=$ac_srcdir/configure |
16220 |
< |
elif test -f "$ac_srcdir/configure.in"; then |
16221 |
< |
# This should be Cygnus configure. |
16222 |
< |
ac_sub_configure=$ac_aux_dir/configure |
16223 |
< |
else |
16224 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 |
16225 |
< |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
16226 |
< |
ac_sub_configure= |
16227 |
< |
fi |
16228 |
< |
|
16229 |
< |
# The recursion is here. |
16230 |
< |
if test -n "$ac_sub_configure"; then |
16231 |
< |
# Make the cache file name correct relative to the subdirectory. |
16232 |
< |
case $cache_file in |
16233 |
< |
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
16234 |
< |
*) # Relative name. |
16235 |
< |
ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
16236 |
< |
esac |
16237 |
< |
|
16238 |
< |
{ $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 |
16239 |
< |
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
16240 |
< |
# The eval makes quoting arguments work. |
16241 |
< |
eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
16242 |
< |
--cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
16243 |
< |
as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
16244 |
< |
fi |
16245 |
< |
|
16246 |
< |
cd "$ac_popdir" |
16247 |
< |
done |
16981 |
> |
$ac_cs_success || as_fn_exit 1 |
16982 |
|
fi |
16983 |
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
16984 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |